-
Notifications
You must be signed in to change notification settings - Fork 2
/
Constants.php
46 lines (36 loc) · 1.45 KB
/
Constants.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
/**
* TikTokShop Constants
*
* @author AfterShip <[email protected]>
* @copyright 2023 AfterShip
* @license MIT http://opensource.org/licenses/MIT
* @link https://aftership.com
*/
namespace AfterShip\TikTokShop;
/**
* All Constants use for this plugin.
*
* @license MIT http://opensource.org/licenses/MIT
* @link https://aftership.com
*/
class Constants
{
public const INTEGRATION_APPS = ['feed'];
public const HEADER_INVENTORY_BEHAVIOUR = 'as-inventory-behaviour';
public const HEADER_INVENTORY_BEHAVIOUR_VALUE_INCREMENT = 'increment';
public const WEBHOOK_MESSAGE_QUEUE_TOPIC = 'aftership.webhook.events';
public const WEBHOOK_EVENT_UPDATE = 'update';
public const WEBHOOK_EVENT_DELETE = 'delete';
public const WEBHOOK_RESOURCE_ORDERS = 'orders';
public const WEBHOOK_RESOURCE_PRODUCTS = 'products';
public const WEBHOOK_RESOURCE_CREDITMEMOS = 'creditmemos';
public const AFTERSHIP_TIKTOK_SHOP_VERSION = '1.0.19';
public const WEBHOOK_CONFIG_SCOPE_PATH = 'aftership/webhooks/webhooks';
public const WEBHOOK_TOPIC_ORDERS_UPDATE = 'orders/update';
public const WEBHOOK_TOPIC_ORDERS_DELETE = 'orders/delete';
public const WEBHOOK_TOPIC_PRODUCTS_UPDATE = 'products/update';
public const WEBHOOK_TOPIC_PRODUCTS_DELETE = 'products/delete';
public const WEBHOOK_TOPIC_VARIANTS_DELETE = 'variants/delete';
public const WEBHOOK_TOPIC_CREDITMEMOS_UPDATE = 'creditmemos/update';
}