@gofynd/fdk-client-javascript 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/documentation/application/CART.md +5934 -4502
- package/documentation/application/CATALOG.md +6338 -7245
- package/documentation/application/COMMON.md +95 -222
- package/documentation/application/COMMUNICATION.md +106 -186
- package/documentation/application/CONFIGURATION.md +903 -1597
- package/documentation/application/CONTENT.md +562 -1270
- package/documentation/application/FILESTORAGE.md +84 -220
- package/documentation/application/LEAD.md +314 -660
- package/documentation/application/LOGISTIC.md +229 -305
- package/documentation/application/ORDER.md +642 -1137
- package/documentation/application/PAYMENT.md +2285 -3031
- package/documentation/application/POSCART.md +6079 -4642
- package/documentation/application/REWARDS.md +94 -248
- package/documentation/application/SHARE.md +152 -250
- package/documentation/application/THEME.md +952 -1235
- package/documentation/application/USER.md +1228 -1765
- package/documentation/platform/ANALYTICS.md +207 -349
- package/documentation/platform/AUDITTRAIL.md +121 -204
- package/documentation/platform/BILLING.md +865 -1376
- package/documentation/platform/CART.md +2814 -3662
- package/documentation/platform/CATALOG.md +15266 -17619
- package/documentation/platform/COMMON.md +95 -222
- package/documentation/platform/COMMUNICATION.md +1632 -2380
- package/documentation/platform/COMPANYPROFILE.md +572 -957
- package/documentation/platform/CONFIGURATION.md +3050 -4073
- package/documentation/platform/CONTENT.md +3509 -4121
- package/documentation/platform/DISCOUNT.md +140 -236
- package/documentation/platform/FILESTORAGE.md +187 -323
- package/documentation/platform/INVENTORY.md +268 -911
- package/documentation/platform/LEAD.md +2195 -2541
- package/documentation/platform/ORDER.md +3750 -5636
- package/documentation/platform/PARTNER.md +9 -36
- package/documentation/platform/PAYMENT.md +903 -1213
- package/documentation/platform/REWARDS.md +183 -347
- package/documentation/platform/SHARE.md +120 -213
- package/documentation/platform/THEME.md +12956 -13239
- package/documentation/platform/USER.md +975 -1120
- package/documentation/platform/WEBHOOK.md +78 -184
- package/documentation/public/CONFIGURATION.md +95 -222
- package/documentation/public/INVENTORY.md +100 -282
- package/documentation/public/WEBHOOK.md +27 -133
- package/package.json +1 -1
- package/sdk/application/ApplicationConfig.js +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
- package/sdk/application/Cart/CartApplicationClient.js +1058 -547
- package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
- package/sdk/application/Cart/CartApplicationModel.js +489 -886
- package/sdk/application/Cart/CartApplicationValidator.d.ts +17 -17
- package/sdk/application/Cart/CartApplicationValidator.js +98 -98
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +358 -358
- package/sdk/application/Catalog/CatalogApplicationClient.js +1545 -949
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
- package/sdk/application/Catalog/CatalogApplicationModel.js +692 -1258
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +19 -19
- package/sdk/application/Catalog/CatalogApplicationValidator.js +110 -110
- package/sdk/application/Common/CommonApplicationClient.d.ts +13 -13
- package/sdk/application/Common/CommonApplicationClient.js +76 -36
- package/sdk/application/Common/CommonApplicationModel.d.ts +12 -12
- package/sdk/application/Common/CommonApplicationModel.js +83 -160
- package/sdk/application/Common/CommonApplicationValidator.d.ts +1 -1
- package/sdk/application/Common/CommonApplicationValidator.js +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +11 -11
- package/sdk/application/Communication/CommunicationApplicationClient.js +92 -31
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationModel.js +38 -83
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Communication/CommunicationApplicationValidator.js +4 -4
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +116 -116
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +638 -312
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +85 -85
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +480 -851
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +8 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +33 -33
- package/sdk/application/Content/ContentApplicationClient.d.ts +67 -67
- package/sdk/application/Content/ContentApplicationClient.js +581 -213
- package/sdk/application/Content/ContentApplicationModel.d.ts +76 -75
- package/sdk/application/Content/ContentApplicationModel.js +468 -875
- package/sdk/application/Content/ContentApplicationValidator.d.ts +5 -5
- package/sdk/application/Content/ContentApplicationValidator.js +24 -24
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +25 -25
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +121 -59
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +13 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +86 -169
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +7 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +24 -24
- package/sdk/application/Lead/LeadApplicationClient.js +230 -96
- package/sdk/application/Lead/LeadApplicationModel.d.ts +35 -35
- package/sdk/application/Lead/LeadApplicationModel.js +267 -474
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationValidator.js +11 -11
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +30 -19
- package/sdk/application/Logistic/LogisticApplicationClient.js +196 -47
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +17 -14
- package/sdk/application/Logistic/LogisticApplicationModel.js +133 -201
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +3 -2
- package/sdk/application/Logistic/LogisticApplicationValidator.js +14 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +86 -86
- package/sdk/application/Order/OrderApplicationClient.js +448 -215
- package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
- package/sdk/application/Order/OrderApplicationModel.js +357 -661
- package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -7
- package/sdk/application/Order/OrderApplicationValidator.js +28 -28
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +318 -318
- package/sdk/application/Payment/PaymentApplicationClient.js +1525 -750
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
- package/sdk/application/Payment/PaymentApplicationModel.js +565 -1033
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +28 -28
- package/sdk/application/Payment/PaymentApplicationValidator.js +107 -107
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +254 -254
- package/sdk/application/PosCart/PosCartApplicationClient.js +1137 -606
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +61 -60
- package/sdk/application/PosCart/PosCartApplicationModel.js +477 -873
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +18 -18
- package/sdk/application/PosCart/PosCartApplicationValidator.js +103 -103
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +27 -27
- package/sdk/application/Rewards/RewardsApplicationClient.js +253 -113
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationModel.js +96 -191
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +3 -3
- package/sdk/application/Rewards/RewardsApplicationValidator.js +12 -12
- package/sdk/application/Share/ShareApplicationClient.d.ts +37 -37
- package/sdk/application/Share/ShareApplicationClient.js +221 -96
- package/sdk/application/Share/ShareApplicationModel.d.ts +8 -8
- package/sdk/application/Share/ShareApplicationModel.js +63 -123
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -4
- package/sdk/application/Share/ShareApplicationValidator.js +12 -12
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +115 -37
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +34 -34
- package/sdk/application/Theme/ThemeApplicationModel.js +190 -336
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -4
- package/sdk/application/User/UserApplicationClient.d.ts +280 -280
- package/sdk/application/User/UserApplicationClient.js +1201 -543
- package/sdk/application/User/UserApplicationModel.d.ts +79 -72
- package/sdk/application/User/UserApplicationModel.js +440 -689
- package/sdk/application/User/UserApplicationValidator.d.ts +24 -24
- package/sdk/application/User/UserApplicationValidator.js +89 -89
- package/sdk/common/AxiosHelper.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +55 -47
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +308 -151
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +20 -20
- package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +8 -4
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +103 -16
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +16 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +131 -44
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +10 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +50 -89
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +6 -6
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +68 -56
- package/sdk/platform/Billing/BillingPlatformClient.js +416 -171
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +40 -40
- package/sdk/platform/Billing/BillingPlatformModel.js +342 -668
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +8 -8
- package/sdk/platform/Billing/BillingPlatformValidator.js +25 -25
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +176 -159
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +837 -500
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -11
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +63 -63
- package/sdk/platform/Cart/CartPlatformModel.d.ts +86 -85
- package/sdk/platform/Cart/CartPlatformModel.js +677 -1211
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +582 -529
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2642 -1533
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +175 -175
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +708 -590
- package/sdk/platform/Catalog/CatalogPlatformClient.js +3103 -1362
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +293 -284
- package/sdk/platform/Catalog/CatalogPlatformModel.js +2149 -3660
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -64
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +235 -216
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -12
- package/sdk/platform/Common/CommonPlatformClient.js +80 -37
- package/sdk/platform/Common/CommonPlatformModel.d.ts +12 -12
- package/sdk/platform/Common/CommonPlatformModel.js +83 -160
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +1 -1
- package/sdk/platform/Common/CommonPlatformValidator.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +333 -293
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1687 -855
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +87 -87
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +28 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
- package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +70 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +463 -182
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -28
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +294 -557
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +24 -24
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +175 -137
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1168 -521
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +69 -63
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +137 -119
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +691 -316
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +148 -146
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +854 -1508
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +38 -38
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +542 -461
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +2600 -1160
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +50 -49
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +159 -152
- package/sdk/platform/Content/ContentPlatformModel.d.ts +79 -75
- package/sdk/platform/Content/ContentPlatformModel.js +486 -867
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +72 -61
- package/sdk/platform/Discount/DiscountPlatformClient.js +424 -198
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +7 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +60 -121
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +6 -6
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -29
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +26 -22
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +145 -59
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +58 -52
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +240 -114
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -13
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +86 -169
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +3 -3
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -11
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +76 -63
- package/sdk/platform/Inventory/InventoryPlatformClient.js +461 -197
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +30 -30
- package/sdk/platform/Inventory/InventoryPlatformModel.js +497 -964
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +7 -7
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +28 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +84 -71
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +441 -182
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +28 -28
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +86 -75
- package/sdk/platform/Lead/LeadPlatformClient.js +434 -212
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +35 -35
- package/sdk/platform/Lead/LeadPlatformModel.js +267 -474
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +6 -6
- package/sdk/platform/Lead/LeadPlatformValidator.js +24 -24
- package/sdk/platform/OAuthClient.js +8 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +14 -11
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +113 -49
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -6
- package/sdk/platform/Order/OrderPlatformClient.d.ts +367 -315
- package/sdk/platform/Order/OrderPlatformClient.js +1775 -893
- package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -192
- package/sdk/platform/Order/OrderPlatformModel.js +1591 -2822
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
- package/sdk/platform/Order/OrderPlatformValidator.js +160 -155
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +52 -8
- package/sdk/platform/Partner/PartnerPlatformModel.js +6 -22
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +65 -54
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +395 -164
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +23 -23
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +55 -45
- package/sdk/platform/Payment/PaymentPlatformClient.js +362 -147
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
- package/sdk/platform/Payment/PaymentPlatformModel.js +220 -408
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Payment/PaymentPlatformValidator.js +21 -21
- package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10153
- package/sdk/platform/PlatformApplicationClient.js +1584 -13691
- package/sdk/platform/PlatformClient.d.ts +7918 -7666
- package/sdk/platform/PlatformClient.js +8701 -9926
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +91 -78
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +507 -253
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +34 -34
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
- package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -12
- package/sdk/platform/Share/SharePlatformApplicationClient.js +130 -52
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -6
- package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
- package/sdk/platform/Share/SharePlatformModel.js +60 -118
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +148 -124
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +770 -295
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +44 -44
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
- package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +146 -67
- package/sdk/platform/User/UserPlatformApplicationClient.js +742 -155
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +61 -23
- package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
- package/sdk/platform/User/UserPlatformModel.js +440 -689
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +35 -29
- package/sdk/platform/Webhook/WebhookPlatformClient.js +218 -91
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +7 -7
- package/sdk/platform/Webhook/WebhookPlatformModel.js +68 -136
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +3 -3
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +14 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
- package/sdk/public/Configuration/ConfigurationPublicClient.js +81 -38
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +12 -12
- package/sdk/public/Configuration/ConfigurationPublicModel.js +85 -162
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +6 -6
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +34 -34
- package/sdk/public/Inventory/InventoryPublicClient.js +228 -105
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +10 -10
- package/sdk/public/Inventory/InventoryPublicModel.js +119 -245
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +3 -3
- package/sdk/public/Inventory/InventoryPublicValidator.js +15 -15
- package/sdk/public/Webhook/WebhookPublicClient.js +51 -10
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
- package/tests/application/catalog.spec.js +7 -0
|
@@ -4,210 +4,178 @@ declare class Order {
|
|
|
4
4
|
config: any;
|
|
5
5
|
/**
|
|
6
6
|
* @param {Object} arg - Arg object.
|
|
7
|
-
* @param {string}
|
|
8
|
-
* @
|
|
9
|
-
* @
|
|
10
|
-
* @
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
* @param {
|
|
17
|
-
* @param {
|
|
18
|
-
* @
|
|
19
|
-
* @
|
|
20
|
-
* @
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
7
|
+
* @param {string} arg.batchId -
|
|
8
|
+
* @returns {Promise<BulkActionDetailsResponse>} - Success response
|
|
9
|
+
* @summary: Returns failed, processing and successfully processed shipments.
|
|
10
|
+
* @description: Returns failed, processing and successfully processed shipments along with their counts and failed reasons.
|
|
11
|
+
*/
|
|
12
|
+
bulkActionDetails({ batchId }?: {
|
|
13
|
+
batchId: string;
|
|
14
|
+
}): Promise<BulkActionDetailsResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* @param {Object} arg - Arg object.
|
|
17
|
+
* @param {BulkActionPayload} arg.body
|
|
18
|
+
* @returns {Promise<BulkActionResponse>} - Success response
|
|
19
|
+
* @summary: emits uuid to kafka topic.
|
|
20
|
+
* @description: Use this API to start processing Xlsx file.
|
|
21
|
+
*/
|
|
22
|
+
bulkActionProcessXlsxFile({ body }?: {
|
|
23
|
+
body: BulkActionPayload;
|
|
24
|
+
}): Promise<BulkActionResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* @param {Object} arg - Arg object.
|
|
27
|
+
* @param {OrderStatus} arg.body
|
|
28
|
+
* @returns {Promise<OrderStatusResult>} - Success response
|
|
26
29
|
* @summary:
|
|
27
30
|
* @description:
|
|
28
31
|
*/
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
searchValue?: string;
|
|
33
|
-
searchId?: string;
|
|
34
|
-
fromDate?: string;
|
|
35
|
-
toDate?: string;
|
|
36
|
-
dpIds?: string;
|
|
37
|
-
orderingCompanyId?: string;
|
|
38
|
-
stores?: string;
|
|
39
|
-
salesChannel?: string;
|
|
40
|
-
requestByExt?: string;
|
|
41
|
-
pageNo?: number;
|
|
42
|
-
pageSize?: number;
|
|
43
|
-
isPrioritySort?: boolean;
|
|
44
|
-
excludeLockedShipments?: boolean;
|
|
45
|
-
paymentMethods?: string;
|
|
46
|
-
channelShipmentId?: string;
|
|
47
|
-
channelOrderId?: string;
|
|
48
|
-
customMeta?: string;
|
|
49
|
-
}): Promise<any>;
|
|
32
|
+
checkOrderStatus({ body }?: {
|
|
33
|
+
body: OrderStatus;
|
|
34
|
+
}): Promise<OrderStatusResult>;
|
|
50
35
|
/**
|
|
51
36
|
* @param {Object} arg - Arg object.
|
|
52
|
-
* @param {string}
|
|
53
|
-
* @param {string}
|
|
54
|
-
* @param {string}
|
|
55
|
-
* @param {string} [arg.
|
|
37
|
+
* @param {string} arg.caller -
|
|
38
|
+
* @param {string} arg.receiver -
|
|
39
|
+
* @param {string} arg.bagId -
|
|
40
|
+
* @param {string} [arg.callingTo] -
|
|
41
|
+
* @param {string} [arg.callerId] -
|
|
42
|
+
* @returns {Promise<Click2CallResponse>} - Success response
|
|
56
43
|
* @summary:
|
|
57
44
|
* @description:
|
|
58
45
|
*/
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
46
|
+
click2Call({ caller, receiver, bagId, callingTo, callerId }?: {
|
|
47
|
+
caller: string;
|
|
48
|
+
receiver: string;
|
|
49
|
+
bagId: string;
|
|
50
|
+
callingTo?: string;
|
|
51
|
+
callerId?: string;
|
|
52
|
+
}): Promise<Click2CallResponse>;
|
|
65
53
|
/**
|
|
66
54
|
* @param {Object} arg - Arg object.
|
|
67
|
-
* @param {
|
|
55
|
+
* @param {CreateChannelConfigData} arg.body
|
|
56
|
+
* @returns {Promise<CreateChannelConfigResponse>} - Success response
|
|
68
57
|
* @summary:
|
|
69
|
-
* @description:
|
|
58
|
+
* @description: createChannelConfig
|
|
70
59
|
*/
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}): Promise<
|
|
60
|
+
createChannelConfig({ body }?: {
|
|
61
|
+
body: CreateChannelConfigData;
|
|
62
|
+
}): Promise<CreateChannelConfigResponse>;
|
|
74
63
|
/**
|
|
75
64
|
* @param {Object} arg - Arg object.
|
|
76
|
-
* @param {
|
|
77
|
-
* @
|
|
78
|
-
* @param {string} [arg.fromDate] -
|
|
79
|
-
* @param {string} [arg.toDate] -
|
|
80
|
-
* @param {string} [arg.dpIds] -
|
|
81
|
-
* @param {string} [arg.stores] -
|
|
82
|
-
* @param {string} [arg.salesChannel] -
|
|
83
|
-
* @param {string} [arg.paymentMode] -
|
|
84
|
-
* @param {string} [arg.bagStatus] -
|
|
65
|
+
* @param {CreateOrderAPI} arg.body
|
|
66
|
+
* @returns {Promise<CreateOrderResponse>} - Success response
|
|
85
67
|
* @summary:
|
|
86
68
|
* @description:
|
|
87
69
|
*/
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
fromDate?: string;
|
|
92
|
-
toDate?: string;
|
|
93
|
-
dpIds?: string;
|
|
94
|
-
stores?: string;
|
|
95
|
-
salesChannel?: string;
|
|
96
|
-
paymentMode?: string;
|
|
97
|
-
bagStatus?: string;
|
|
98
|
-
}): Promise<any>;
|
|
70
|
+
createOrder({ body }?: {
|
|
71
|
+
body: CreateOrderAPI;
|
|
72
|
+
}): Promise<CreateOrderResponse>;
|
|
99
73
|
/**
|
|
100
74
|
* @param {Object} arg - Arg object.
|
|
101
|
-
* @param {string} [arg.lane] -
|
|
102
|
-
* @param {string} [arg.searchType] -
|
|
103
|
-
* @param {string} [arg.bagStatus] -
|
|
104
|
-
* @param {string} [arg.timeToDispatch] -
|
|
105
|
-
* @param {string} [arg.paymentMethods] -
|
|
106
|
-
* @param {string} [arg.tags] -
|
|
107
|
-
* @param {string} [arg.searchValue] -
|
|
108
75
|
* @param {string} [arg.fromDate] -
|
|
109
76
|
* @param {string} [arg.toDate] -
|
|
110
|
-
* @
|
|
111
|
-
* @param {string} [arg.stores] -
|
|
112
|
-
* @param {string} [arg.salesChannel] -
|
|
113
|
-
* @param {number} [arg.pageNo] -
|
|
114
|
-
* @param {number} [arg.pageSize] -
|
|
115
|
-
* @param {boolean} [arg.isPrioritySort] -
|
|
116
|
-
* @param {string} [arg.customMeta] -
|
|
77
|
+
* @returns {Promise<Success>} - Success response
|
|
117
78
|
* @summary:
|
|
118
79
|
* @description:
|
|
119
80
|
*/
|
|
120
|
-
|
|
121
|
-
lane?: string;
|
|
122
|
-
searchType?: string;
|
|
123
|
-
bagStatus?: string;
|
|
124
|
-
timeToDispatch?: string;
|
|
125
|
-
paymentMethods?: string;
|
|
126
|
-
tags?: string;
|
|
127
|
-
searchValue?: string;
|
|
81
|
+
createShipmentReport({ fromDate, toDate }?: {
|
|
128
82
|
fromDate?: string;
|
|
129
83
|
toDate?: string;
|
|
130
|
-
|
|
131
|
-
stores?: string;
|
|
132
|
-
salesChannel?: string;
|
|
133
|
-
pageNo?: number;
|
|
134
|
-
pageSize?: number;
|
|
135
|
-
isPrioritySort?: boolean;
|
|
136
|
-
customMeta?: string;
|
|
137
|
-
}): Promise<any>;
|
|
84
|
+
}): Promise<Success>;
|
|
138
85
|
/**
|
|
139
86
|
* @param {Object} arg - Arg object.
|
|
140
|
-
* @param {
|
|
141
|
-
* @
|
|
87
|
+
* @param {DispatchManifest} arg.body
|
|
88
|
+
* @returns {Promise<SuccessResponse>} - Success response
|
|
142
89
|
* @summary:
|
|
143
90
|
* @description:
|
|
144
91
|
*/
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}): Promise<any>;
|
|
92
|
+
dispatchManifest({ body }?: {
|
|
93
|
+
body: DispatchManifest;
|
|
94
|
+
}): Promise<SuccessResponse>;
|
|
149
95
|
/**
|
|
150
96
|
* @param {Object} arg - Arg object.
|
|
151
|
-
* @param {string} arg.
|
|
152
|
-
* @
|
|
97
|
+
* @param {string} [arg.date] -
|
|
98
|
+
* @returns {Promise<AnnouncementsResponse>} - Success response
|
|
153
99
|
* @summary:
|
|
154
100
|
* @description:
|
|
155
101
|
*/
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}): Promise<any>;
|
|
102
|
+
getAnnouncements({ date }?: {
|
|
103
|
+
date?: string;
|
|
104
|
+
}): Promise<AnnouncementsResponse>;
|
|
160
105
|
/**
|
|
161
106
|
* @param {Object} arg - Arg object.
|
|
162
|
-
* @param {string} [arg.
|
|
163
|
-
* @param {string} [arg.
|
|
107
|
+
* @param {string} [arg.bagId] -
|
|
108
|
+
* @param {string} [arg.channelBagId] -
|
|
109
|
+
* @param {string} [arg.channelId] -
|
|
110
|
+
* @returns {Promise<BagDetailsPlatformResponse>} - Success response
|
|
164
111
|
* @summary:
|
|
165
112
|
* @description:
|
|
166
113
|
*/
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
114
|
+
getBagById({ bagId, channelBagId, channelId }?: {
|
|
115
|
+
bagId?: string;
|
|
116
|
+
channelBagId?: string;
|
|
117
|
+
channelId?: string;
|
|
118
|
+
}): Promise<BagDetailsPlatformResponse>;
|
|
171
119
|
/**
|
|
172
120
|
* @param {Object} arg - Arg object.
|
|
121
|
+
* @param {string} [arg.bagIds] -
|
|
122
|
+
* @param {string} [arg.shipmentIds] -
|
|
123
|
+
* @param {string} [arg.orderIds] -
|
|
124
|
+
* @param {string} [arg.channelBagIds] -
|
|
125
|
+
* @param {string} [arg.channelShipmentIds] -
|
|
126
|
+
* @param {string} [arg.channelOrderIds] -
|
|
127
|
+
* @param {string} [arg.channelId] -
|
|
173
128
|
* @param {number} [arg.pageNo] -
|
|
174
129
|
* @param {number} [arg.pageSize] -
|
|
130
|
+
* @returns {Promise<GetBagsPlatformResponse>} - Success response
|
|
175
131
|
* @summary:
|
|
176
132
|
* @description:
|
|
177
133
|
*/
|
|
178
|
-
|
|
134
|
+
getBags({ bagIds, shipmentIds, orderIds, channelBagIds, channelShipmentIds, channelOrderIds, channelId, pageNo, pageSize, }?: {
|
|
135
|
+
bagIds?: string;
|
|
136
|
+
shipmentIds?: string;
|
|
137
|
+
orderIds?: string;
|
|
138
|
+
channelBagIds?: string;
|
|
139
|
+
channelShipmentIds?: string;
|
|
140
|
+
channelOrderIds?: string;
|
|
141
|
+
channelId?: string;
|
|
179
142
|
pageNo?: number;
|
|
180
143
|
pageSize?: number;
|
|
181
|
-
}): Promise<
|
|
144
|
+
}): Promise<GetBagsPlatformResponse>;
|
|
182
145
|
/**
|
|
183
146
|
* @param {Object} arg - Arg object.
|
|
184
|
-
* @param {
|
|
147
|
+
* @param {string} arg.batchId -
|
|
148
|
+
* @param {string} [arg.reportType] -
|
|
149
|
+
* @returns {Promise<FileResponse>} - Success response
|
|
185
150
|
* @summary:
|
|
186
151
|
* @description:
|
|
187
152
|
*/
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
153
|
+
getBulkActionFailedReport({ batchId, reportType }?: {
|
|
154
|
+
batchId: string;
|
|
155
|
+
reportType?: string;
|
|
156
|
+
}): Promise<FileResponse>;
|
|
191
157
|
/**
|
|
192
158
|
* @param {Object} arg - Arg object.
|
|
193
159
|
* @param {string} arg.batchId -
|
|
194
160
|
* @param {string} arg.docType -
|
|
161
|
+
* @returns {Promise<BulkInvoicingResponse>} - Success response
|
|
195
162
|
* @summary:
|
|
196
163
|
* @description:
|
|
197
164
|
*/
|
|
198
165
|
getBulkInvoice({ batchId, docType }?: {
|
|
199
166
|
batchId: string;
|
|
200
167
|
docType: string;
|
|
201
|
-
}): Promise<
|
|
168
|
+
}): Promise<BulkInvoicingResponse>;
|
|
202
169
|
/**
|
|
203
170
|
* @param {Object} arg - Arg object.
|
|
204
171
|
* @param {string} arg.batchId -
|
|
172
|
+
* @returns {Promise<BulkInvoiceLabelResponse>} - Success response
|
|
205
173
|
* @summary:
|
|
206
174
|
* @description:
|
|
207
175
|
*/
|
|
208
176
|
getBulkInvoiceLabel({ batchId }?: {
|
|
209
177
|
batchId: string;
|
|
210
|
-
}): Promise<
|
|
178
|
+
}): Promise<BulkInvoiceLabelResponse>;
|
|
211
179
|
/**
|
|
212
180
|
* @param {Object} arg - Arg object.
|
|
213
181
|
* @param {string} [arg.lane] -
|
|
@@ -224,10 +192,11 @@ declare class Order {
|
|
|
224
192
|
* @param {number} [arg.pageSize] -
|
|
225
193
|
* @param {string} [arg.customerId] -
|
|
226
194
|
* @param {boolean} [arg.isPrioritySort] -
|
|
195
|
+
* @returns {Promise<BulkListingResponse>} - Success response
|
|
227
196
|
* @summary:
|
|
228
197
|
* @description:
|
|
229
198
|
*/
|
|
230
|
-
|
|
199
|
+
getBulkList({ lane, searchType, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, customerId, isPrioritySort, }?: {
|
|
231
200
|
lane?: string;
|
|
232
201
|
searchType?: string;
|
|
233
202
|
searchId?: string;
|
|
@@ -242,7 +211,7 @@ declare class Order {
|
|
|
242
211
|
pageSize?: number;
|
|
243
212
|
customerId?: string;
|
|
244
213
|
isPrioritySort?: boolean;
|
|
245
|
-
}): Promise<
|
|
214
|
+
}): Promise<BulkListingResponse>;
|
|
246
215
|
/**
|
|
247
216
|
* @param {Object} arg - Arg object.
|
|
248
217
|
* @param {string} [arg.lane] -
|
|
@@ -259,10 +228,11 @@ declare class Order {
|
|
|
259
228
|
* @param {number} [arg.pageSize] -
|
|
260
229
|
* @param {string} [arg.customerId] -
|
|
261
230
|
* @param {boolean} [arg.isPrioritySort] -
|
|
231
|
+
* @returns {Promise<FileResponse>} - Success response
|
|
262
232
|
* @summary:
|
|
263
233
|
* @description:
|
|
264
234
|
*/
|
|
265
|
-
|
|
235
|
+
getBulkShipmentExcelFile({ lane, searchType, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, customerId, isPrioritySort, }?: {
|
|
266
236
|
lane?: string;
|
|
267
237
|
searchType?: string;
|
|
268
238
|
searchId?: string;
|
|
@@ -277,309 +247,391 @@ declare class Order {
|
|
|
277
247
|
pageSize?: number;
|
|
278
248
|
customerId?: string;
|
|
279
249
|
isPrioritySort?: boolean;
|
|
280
|
-
}): Promise<
|
|
250
|
+
}): Promise<FileResponse>;
|
|
281
251
|
/**
|
|
282
252
|
* @param {Object} arg - Arg object.
|
|
283
|
-
* @
|
|
284
|
-
* @param {string} [arg.reportType] -
|
|
253
|
+
* @returns {Promise<CreateChannelConfigData>} - Success response
|
|
285
254
|
* @summary:
|
|
286
|
-
* @description:
|
|
255
|
+
* @description: getChannelConfig
|
|
287
256
|
*/
|
|
288
|
-
|
|
289
|
-
batchId: string;
|
|
290
|
-
reportType?: string;
|
|
291
|
-
}): Promise<any>;
|
|
257
|
+
getChannelConfig({}?: any): Promise<CreateChannelConfigData>;
|
|
292
258
|
/**
|
|
293
259
|
* @param {Object} arg - Arg object.
|
|
294
|
-
* @param {string} arg.
|
|
295
|
-
*
|
|
296
|
-
*
|
|
297
|
-
* @param {string} arg.
|
|
298
|
-
*
|
|
299
|
-
* @param {string} arg.
|
|
300
|
-
* @
|
|
301
|
-
* @
|
|
260
|
+
* @param {string} [arg.superLane] -
|
|
261
|
+
* @param {string} [arg.groupEntity] -
|
|
262
|
+
* @param {string} [arg.fromDate] -
|
|
263
|
+
* @param {string} [arg.toDate] -
|
|
264
|
+
* @param {string} [arg.dpIds] -
|
|
265
|
+
* @param {string} [arg.stores] -
|
|
266
|
+
* @param {string} [arg.salesChannel] -
|
|
267
|
+
* @param {string} [arg.paymentMode] -
|
|
268
|
+
* @param {string} [arg.bagStatus] -
|
|
269
|
+
* @returns {Promise<LaneConfigResponse>} - Success response
|
|
270
|
+
* @summary:
|
|
271
|
+
* @description:
|
|
302
272
|
*/
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
273
|
+
getLaneConfig({ superLane, groupEntity, fromDate, toDate, dpIds, stores, salesChannel, paymentMode, bagStatus, }?: {
|
|
274
|
+
superLane?: string;
|
|
275
|
+
groupEntity?: string;
|
|
276
|
+
fromDate?: string;
|
|
277
|
+
toDate?: string;
|
|
278
|
+
dpIds?: string;
|
|
279
|
+
stores?: string;
|
|
280
|
+
salesChannel?: string;
|
|
281
|
+
paymentMode?: string;
|
|
282
|
+
bagStatus?: string;
|
|
283
|
+
}): Promise<LaneConfigResponse>;
|
|
308
284
|
/**
|
|
309
285
|
* @param {Object} arg - Arg object.
|
|
310
|
-
* @param {
|
|
311
|
-
* @
|
|
312
|
-
* @
|
|
286
|
+
* @param {string} [arg.fromDate] -
|
|
287
|
+
* @param {string} [arg.toDate] -
|
|
288
|
+
* @returns {Promise<MetricCountResponse>} - Success response
|
|
289
|
+
* @summary:
|
|
290
|
+
* @description:
|
|
313
291
|
*/
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
292
|
+
getMetricCount({ fromDate, toDate }?: {
|
|
293
|
+
fromDate?: string;
|
|
294
|
+
toDate?: string;
|
|
295
|
+
}): Promise<MetricCountResponse>;
|
|
317
296
|
/**
|
|
318
297
|
* @param {Object} arg - Arg object.
|
|
319
|
-
* @param {string} arg.
|
|
320
|
-
* @
|
|
321
|
-
* @
|
|
298
|
+
* @param {string} arg.orderId -
|
|
299
|
+
* @returns {Promise<ShipmentDetailsResponse>} - Success response
|
|
300
|
+
* @summary:
|
|
301
|
+
* @description:
|
|
322
302
|
*/
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
}): Promise<
|
|
303
|
+
getOrderById({ orderId }?: {
|
|
304
|
+
orderId: string;
|
|
305
|
+
}): Promise<ShipmentDetailsResponse>;
|
|
326
306
|
/**
|
|
327
307
|
* @param {Object} arg - Arg object.
|
|
328
|
-
* @param {string} [arg.
|
|
329
|
-
* @param {string} [arg.
|
|
330
|
-
* @param {string} [arg.
|
|
308
|
+
* @param {string} [arg.lane] -
|
|
309
|
+
* @param {string} [arg.searchType] -
|
|
310
|
+
* @param {string} [arg.bagStatus] -
|
|
311
|
+
* @param {string} [arg.timeToDispatch] -
|
|
312
|
+
* @param {string} [arg.paymentMethods] -
|
|
313
|
+
* @param {string} [arg.tags] -
|
|
314
|
+
* @param {string} [arg.searchValue] -
|
|
315
|
+
* @param {string} [arg.fromDate] -
|
|
316
|
+
* @param {string} [arg.toDate] -
|
|
317
|
+
* @param {string} [arg.dpIds] -
|
|
318
|
+
* @param {string} [arg.stores] -
|
|
319
|
+
* @param {string} [arg.salesChannel] -
|
|
320
|
+
* @param {number} [arg.pageNo] -
|
|
321
|
+
* @param {number} [arg.pageSize] -
|
|
322
|
+
* @param {boolean} [arg.isPrioritySort] -
|
|
323
|
+
* @param {string} [arg.customMeta] -
|
|
324
|
+
* @returns {Promise<OrderListingResponse>} - Success response
|
|
331
325
|
* @summary:
|
|
332
326
|
* @description:
|
|
333
327
|
*/
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
328
|
+
getOrders({ lane, searchType, bagStatus, timeToDispatch, paymentMethods, tags, searchValue, fromDate, toDate, dpIds, stores, salesChannel, pageNo, pageSize, isPrioritySort, customMeta, }?: {
|
|
329
|
+
lane?: string;
|
|
330
|
+
searchType?: string;
|
|
331
|
+
bagStatus?: string;
|
|
332
|
+
timeToDispatch?: string;
|
|
333
|
+
paymentMethods?: string;
|
|
334
|
+
tags?: string;
|
|
335
|
+
searchValue?: string;
|
|
336
|
+
fromDate?: string;
|
|
337
|
+
toDate?: string;
|
|
338
|
+
dpIds?: string;
|
|
339
|
+
stores?: string;
|
|
340
|
+
salesChannel?: string;
|
|
341
|
+
pageNo?: number;
|
|
342
|
+
pageSize?: number;
|
|
343
|
+
isPrioritySort?: boolean;
|
|
344
|
+
customMeta?: string;
|
|
345
|
+
}): Promise<OrderListingResponse>;
|
|
339
346
|
/**
|
|
340
347
|
* @param {Object} arg - Arg object.
|
|
341
|
-
* @param {string} [arg.bagIds] -
|
|
342
|
-
* @param {string} [arg.shipmentIds] -
|
|
343
|
-
* @param {string} [arg.orderIds] -
|
|
344
|
-
* @param {string} [arg.channelBagIds] -
|
|
345
|
-
* @param {string} [arg.channelShipmentIds] -
|
|
346
|
-
* @param {string} [arg.channelOrderIds] -
|
|
347
|
-
* @param {string} [arg.channelId] -
|
|
348
348
|
* @param {number} [arg.pageNo] -
|
|
349
349
|
* @param {number} [arg.pageSize] -
|
|
350
|
+
* @returns {Promise<OmsReports>} - Success response
|
|
350
351
|
* @summary:
|
|
351
352
|
* @description:
|
|
352
353
|
*/
|
|
353
|
-
|
|
354
|
-
bagIds?: string;
|
|
355
|
-
shipmentIds?: string;
|
|
356
|
-
orderIds?: string;
|
|
357
|
-
channelBagIds?: string;
|
|
358
|
-
channelShipmentIds?: string;
|
|
359
|
-
channelOrderIds?: string;
|
|
360
|
-
channelId?: string;
|
|
354
|
+
getReportsShipmentListing({ pageNo, pageSize }?: {
|
|
361
355
|
pageNo?: number;
|
|
362
356
|
pageSize?: number;
|
|
363
|
-
}): Promise<
|
|
357
|
+
}): Promise<OmsReports>;
|
|
364
358
|
/**
|
|
365
359
|
* @param {Object} arg - Arg object.
|
|
366
|
-
* @
|
|
360
|
+
* @returns {Promise<GetActionsResponse>} - Success response
|
|
367
361
|
* @summary:
|
|
368
|
-
* @description:
|
|
362
|
+
* @description:
|
|
369
363
|
*/
|
|
370
|
-
|
|
371
|
-
body: InvalidateShipmentCachePayload;
|
|
372
|
-
}): Promise<any>;
|
|
364
|
+
getRoleBasedActions({}?: any): Promise<GetActionsResponse>;
|
|
373
365
|
/**
|
|
374
366
|
* @param {Object} arg - Arg object.
|
|
375
|
-
* @param {
|
|
367
|
+
* @param {string} [arg.channelShipmentId] -
|
|
368
|
+
* @param {string} [arg.shipmentId] -
|
|
369
|
+
* @param {string} [arg.orderingCompanyId] -
|
|
370
|
+
* @param {string} [arg.requestByExt] -
|
|
371
|
+
* @returns {Promise<ShipmentInfoResponse>} - Success response
|
|
376
372
|
* @summary:
|
|
377
|
-
* @description:
|
|
373
|
+
* @description:
|
|
378
374
|
*/
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
375
|
+
getShipmentById({ channelShipmentId, shipmentId, orderingCompanyId, requestByExt, }?: {
|
|
376
|
+
channelShipmentId?: string;
|
|
377
|
+
shipmentId?: string;
|
|
378
|
+
orderingCompanyId?: string;
|
|
379
|
+
requestByExt?: string;
|
|
380
|
+
}): Promise<ShipmentInfoResponse>;
|
|
382
381
|
/**
|
|
383
382
|
* @param {Object} arg - Arg object.
|
|
384
|
-
* @param {
|
|
383
|
+
* @param {number} [arg.shipmentId] -
|
|
384
|
+
* @param {number} [arg.bagId] -
|
|
385
|
+
* @returns {Promise<ShipmentHistoryResponse>} - Success response
|
|
385
386
|
* @summary:
|
|
386
|
-
* @description:
|
|
387
|
+
* @description:
|
|
387
388
|
*/
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
389
|
+
getShipmentHistory({ shipmentId, bagId }?: {
|
|
390
|
+
shipmentId?: number;
|
|
391
|
+
bagId?: number;
|
|
392
|
+
}): Promise<ShipmentHistoryResponse>;
|
|
391
393
|
/**
|
|
392
394
|
* @param {Object} arg - Arg object.
|
|
393
|
-
* @param {string}
|
|
394
|
-
*
|
|
395
|
-
*
|
|
395
|
+
* @param {string} arg.shipmentId - ID of the shipment. An order may contain
|
|
396
|
+
* multiple items and may get divided into one or more shipment, each
|
|
397
|
+
* having its own ID.
|
|
398
|
+
* @param {string} arg.bagId - ID of the bag. An order may contain multiple
|
|
399
|
+
* items and may get divided into one or more shipment, each having its own ID.
|
|
400
|
+
* @param {string} arg.state - State for which reasons are required.
|
|
401
|
+
* @returns {Promise<PlatformShipmentReasonsResponse>} - Success response
|
|
402
|
+
* @summary: Get reasons behind full or partial cancellation of a shipment
|
|
403
|
+
* @description: Use this API to retrieve the issues that led to the cancellation of bags within a shipment.
|
|
396
404
|
*/
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
405
|
+
getShipmentReasons({ shipmentId, bagId, state }?: {
|
|
406
|
+
shipmentId: string;
|
|
407
|
+
bagId: string;
|
|
408
|
+
state: string;
|
|
409
|
+
}): Promise<PlatformShipmentReasonsResponse>;
|
|
400
410
|
/**
|
|
401
411
|
* @param {Object} arg - Arg object.
|
|
402
|
-
* @param {string} arg.
|
|
403
|
-
* @param {string} [arg.
|
|
404
|
-
* @param {
|
|
405
|
-
* @param {string} [arg.
|
|
406
|
-
* @param {string} [arg.
|
|
407
|
-
* @param {string} [arg.
|
|
408
|
-
* @param {string} [arg.
|
|
409
|
-
* @param {string} [arg.
|
|
410
|
-
* @param {string} arg.
|
|
411
|
-
* @param {string} [arg.
|
|
412
|
-
* @param {string} [arg.
|
|
413
|
-
* @param {string} [arg.
|
|
412
|
+
* @param {string} [arg.lane] -
|
|
413
|
+
* @param {string} [arg.bagStatus] -
|
|
414
|
+
* @param {boolean} [arg.statusOverrideLane] -
|
|
415
|
+
* @param {string} [arg.searchType] -
|
|
416
|
+
* @param {string} [arg.searchValue] -
|
|
417
|
+
* @param {string} [arg.searchId] -
|
|
418
|
+
* @param {string} [arg.fromDate] -
|
|
419
|
+
* @param {string} [arg.toDate] -
|
|
420
|
+
* @param {string} [arg.dpIds] -
|
|
421
|
+
* @param {string} [arg.orderingCompanyId] -
|
|
422
|
+
* @param {string} [arg.stores] -
|
|
423
|
+
* @param {string} [arg.salesChannel] -
|
|
424
|
+
* @param {string} [arg.requestByExt] -
|
|
425
|
+
* @param {number} [arg.pageNo] -
|
|
426
|
+
* @param {number} [arg.pageSize] -
|
|
427
|
+
* @param {boolean} [arg.isPrioritySort] -
|
|
428
|
+
* @param {boolean} [arg.fetchActiveShipment] -
|
|
429
|
+
* @param {boolean} [arg.excludeLockedShipments] -
|
|
430
|
+
* @param {string} [arg.paymentMethods] -
|
|
431
|
+
* @param {string} [arg.channelShipmentId] -
|
|
432
|
+
* @param {string} [arg.channelOrderId] -
|
|
433
|
+
* @param {string} [arg.customMeta] -
|
|
434
|
+
* @param {string} [arg.orderingChannel] -
|
|
435
|
+
* @param {string} [arg.companyAffiliateTag] -
|
|
436
|
+
* @returns {Promise<ShipmentInternalPlatformViewResponse>} - Success response
|
|
414
437
|
* @summary:
|
|
415
438
|
* @description:
|
|
416
439
|
*/
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
440
|
+
getShipments({ lane, bagStatus, statusOverrideLane, searchType, searchValue, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, isPrioritySort, fetchActiveShipment, excludeLockedShipments, paymentMethods, channelShipmentId, channelOrderId, customMeta, orderingChannel, companyAffiliateTag, }?: {
|
|
441
|
+
lane?: string;
|
|
442
|
+
bagStatus?: string;
|
|
443
|
+
statusOverrideLane?: boolean;
|
|
444
|
+
searchType?: string;
|
|
445
|
+
searchValue?: string;
|
|
446
|
+
searchId?: string;
|
|
447
|
+
fromDate?: string;
|
|
448
|
+
toDate?: string;
|
|
449
|
+
dpIds?: string;
|
|
450
|
+
orderingCompanyId?: string;
|
|
451
|
+
stores?: string;
|
|
452
|
+
salesChannel?: string;
|
|
453
|
+
requestByExt?: string;
|
|
454
|
+
pageNo?: number;
|
|
455
|
+
pageSize?: number;
|
|
456
|
+
isPrioritySort?: boolean;
|
|
457
|
+
fetchActiveShipment?: boolean;
|
|
458
|
+
excludeLockedShipments?: boolean;
|
|
459
|
+
paymentMethods?: string;
|
|
460
|
+
channelShipmentId?: string;
|
|
461
|
+
channelOrderId?: string;
|
|
462
|
+
customMeta?: string;
|
|
463
|
+
orderingChannel?: string;
|
|
464
|
+
companyAffiliateTag?: string;
|
|
465
|
+
}): Promise<ShipmentInternalPlatformViewResponse>;
|
|
431
466
|
/**
|
|
432
467
|
* @param {Object} arg - Arg object.
|
|
433
|
-
* @param {string} arg.
|
|
434
|
-
* @param {string} arg.
|
|
435
|
-
* @
|
|
436
|
-
* @param {string} [arg.callingTo] -
|
|
437
|
-
* @param {string} [arg.callerId] -
|
|
468
|
+
* @param {string} arg.view -
|
|
469
|
+
* @param {string} [arg.groupEntity] -
|
|
470
|
+
* @returns {Promise<FiltersResponse>} - Success response
|
|
438
471
|
* @summary:
|
|
439
472
|
* @description:
|
|
440
473
|
*/
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
callingTo?: string;
|
|
446
|
-
callerId?: string;
|
|
447
|
-
}): Promise<any>;
|
|
474
|
+
getfilters({ view, groupEntity }?: {
|
|
475
|
+
view: string;
|
|
476
|
+
groupEntity?: string;
|
|
477
|
+
}): Promise<FiltersResponse>;
|
|
448
478
|
/**
|
|
449
479
|
* @param {Object} arg - Arg object.
|
|
450
|
-
* @param {
|
|
480
|
+
* @param {InvalidateShipmentCachePayload} arg.body
|
|
481
|
+
* @returns {Promise<InvalidateShipmentCacheResponse>} - Success response
|
|
451
482
|
* @summary:
|
|
452
|
-
* @description:
|
|
483
|
+
* @description: Invalidate shipment Cache
|
|
453
484
|
*/
|
|
454
|
-
|
|
455
|
-
body:
|
|
456
|
-
}): Promise<
|
|
485
|
+
invalidateShipmentCache({ body }?: {
|
|
486
|
+
body: InvalidateShipmentCachePayload;
|
|
487
|
+
}): Promise<InvalidateShipmentCacheResponse>;
|
|
457
488
|
/**
|
|
458
489
|
* @param {Object} arg - Arg object.
|
|
459
|
-
* @param {
|
|
490
|
+
* @param {PlatformOrderUpdate} arg.body
|
|
491
|
+
* @returns {Promise<ResponseDetail>} - Success response
|
|
460
492
|
* @summary:
|
|
461
493
|
* @description:
|
|
462
494
|
*/
|
|
463
|
-
|
|
464
|
-
body:
|
|
465
|
-
}): Promise<
|
|
495
|
+
orderUpdate({ body }?: {
|
|
496
|
+
body: PlatformOrderUpdate;
|
|
497
|
+
}): Promise<ResponseDetail>;
|
|
466
498
|
/**
|
|
467
499
|
* @param {Object} arg - Arg object.
|
|
468
|
-
* @param {
|
|
500
|
+
* @param {ManualAssignDPToShipment} arg.body
|
|
501
|
+
* @returns {Promise<ManualAssignDPToShipmentResponse>} - Success response
|
|
469
502
|
* @summary:
|
|
470
503
|
* @description:
|
|
471
504
|
*/
|
|
472
|
-
|
|
473
|
-
body:
|
|
474
|
-
}): Promise<
|
|
505
|
+
platformManualAssignDPToShipment({ body }?: {
|
|
506
|
+
body: ManualAssignDPToShipment;
|
|
507
|
+
}): Promise<ManualAssignDPToShipmentResponse>;
|
|
475
508
|
/**
|
|
476
509
|
* @param {Object} arg - Arg object.
|
|
510
|
+
* @param {PostShipmentHistory} arg.body
|
|
511
|
+
* @returns {Promise<ShipmentHistoryResponse>} - Success response
|
|
477
512
|
* @summary:
|
|
478
513
|
* @description:
|
|
479
514
|
*/
|
|
480
|
-
|
|
515
|
+
postShipmentHistory({ body }?: {
|
|
516
|
+
body: PostShipmentHistory;
|
|
517
|
+
}): Promise<ShipmentHistoryResponse>;
|
|
481
518
|
/**
|
|
482
519
|
* @param {Object} arg - Arg object.
|
|
483
|
-
* @param {
|
|
484
|
-
* @
|
|
520
|
+
* @param {CreateOrderPayload} arg.body
|
|
521
|
+
* @returns {Promise<CreateOrderResponse>} - Success response
|
|
485
522
|
* @summary:
|
|
486
523
|
* @description:
|
|
487
524
|
*/
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
}): Promise<any>;
|
|
525
|
+
processManifest({ body }?: {
|
|
526
|
+
body: CreateOrderPayload;
|
|
527
|
+
}): Promise<CreateOrderResponse>;
|
|
492
528
|
/**
|
|
493
529
|
* @param {Object} arg - Arg object.
|
|
494
|
-
* @param {
|
|
530
|
+
* @param {StoreReassign} arg.body
|
|
531
|
+
* @returns {Promise<StoreReassignResponse>} - Success response
|
|
495
532
|
* @summary:
|
|
496
|
-
* @description:
|
|
533
|
+
* @description: Reassign Location
|
|
497
534
|
*/
|
|
498
|
-
|
|
499
|
-
body:
|
|
500
|
-
}): Promise<
|
|
535
|
+
reassignLocation({ body }?: {
|
|
536
|
+
body: StoreReassign;
|
|
537
|
+
}): Promise<StoreReassignResponse>;
|
|
501
538
|
/**
|
|
502
539
|
* @param {Object} arg - Arg object.
|
|
503
540
|
* @param {SendSmsPayload} arg.body
|
|
541
|
+
* @returns {Promise<OrderStatusResult>} - Success response
|
|
504
542
|
* @summary:
|
|
505
543
|
* @description:
|
|
506
544
|
*/
|
|
507
545
|
sendSmsNinja({ body }?: {
|
|
508
546
|
body: SendSmsPayload;
|
|
509
|
-
}): Promise<
|
|
547
|
+
}): Promise<OrderStatusResult>;
|
|
510
548
|
/**
|
|
511
549
|
* @param {Object} arg - Arg object.
|
|
512
|
-
* @
|
|
550
|
+
* @returns {Promise<OrderStatusResult>} - Success response
|
|
513
551
|
* @summary:
|
|
514
552
|
* @description:
|
|
515
553
|
*/
|
|
516
|
-
|
|
517
|
-
body: ManualAssignDPToShipment;
|
|
518
|
-
}): Promise<any>;
|
|
554
|
+
sendSmsNinjaPlatform({}?: any): Promise<OrderStatusResult>;
|
|
519
555
|
/**
|
|
520
556
|
* @param {Object} arg - Arg object.
|
|
521
|
-
* @param {
|
|
557
|
+
* @param {string} arg.shipmentId -
|
|
558
|
+
* @param {string} [arg.name] -
|
|
559
|
+
* @param {string} [arg.address] -
|
|
560
|
+
* @param {string} [arg.addressType] -
|
|
561
|
+
* @param {string} [arg.pincode] -
|
|
562
|
+
* @param {string} [arg.phone] -
|
|
563
|
+
* @param {string} [arg.email] -
|
|
564
|
+
* @param {string} [arg.landmark] -
|
|
565
|
+
* @param {string} arg.addressCategory -
|
|
566
|
+
* @param {string} [arg.city] -
|
|
567
|
+
* @param {string} [arg.state] -
|
|
568
|
+
* @param {string} [arg.country] -
|
|
569
|
+
* @returns {Promise<BaseResponse>} - Success response
|
|
522
570
|
* @summary:
|
|
523
571
|
* @description:
|
|
524
572
|
*/
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
573
|
+
updateAddress({ shipmentId, addressCategory, name, address, addressType, pincode, phone, email, landmark, city, state, country, }?: {
|
|
574
|
+
shipmentId: string;
|
|
575
|
+
name?: string;
|
|
576
|
+
address?: string;
|
|
577
|
+
addressType?: string;
|
|
578
|
+
pincode?: string;
|
|
579
|
+
phone?: string;
|
|
580
|
+
email?: string;
|
|
581
|
+
landmark?: string;
|
|
582
|
+
addressCategory: string;
|
|
583
|
+
city?: string;
|
|
584
|
+
state?: string;
|
|
585
|
+
country?: string;
|
|
586
|
+
}): Promise<BaseResponse>;
|
|
528
587
|
/**
|
|
529
588
|
* @param {Object} arg - Arg object.
|
|
530
|
-
* @param {
|
|
589
|
+
* @param {CreateOrderPayload} arg.body
|
|
590
|
+
* @returns {Promise<CreateOrderResponse>} - Success response
|
|
531
591
|
* @summary:
|
|
532
592
|
* @description:
|
|
533
593
|
*/
|
|
534
|
-
|
|
535
|
-
body:
|
|
536
|
-
}): Promise<
|
|
594
|
+
updatePackagingDimensions({ body }?: {
|
|
595
|
+
body: CreateOrderPayload;
|
|
596
|
+
}): Promise<CreateOrderResponse>;
|
|
537
597
|
/**
|
|
538
598
|
* @param {Object} arg - Arg object.
|
|
599
|
+
* @param {UpdateShipmentLockPayload} arg.body
|
|
600
|
+
* @returns {Promise<UpdateShipmentLockResponse>} - Success response
|
|
539
601
|
* @summary:
|
|
540
|
-
* @description:
|
|
602
|
+
* @description: update shipment lock
|
|
541
603
|
*/
|
|
542
|
-
|
|
604
|
+
updateShipmentLock({ body }?: {
|
|
605
|
+
body: UpdateShipmentLockPayload;
|
|
606
|
+
}): Promise<UpdateShipmentLockResponse>;
|
|
543
607
|
/**
|
|
544
608
|
* @param {Object} arg - Arg object.
|
|
545
|
-
* @param {
|
|
609
|
+
* @param {UpdateShipmentStatusRequest} arg.body
|
|
610
|
+
* @returns {Promise<UpdateShipmentStatusResponseBody>} - Success response
|
|
546
611
|
* @summary:
|
|
547
|
-
* @description:
|
|
612
|
+
* @description: Update shipment status
|
|
548
613
|
*/
|
|
549
|
-
|
|
550
|
-
body:
|
|
551
|
-
}): Promise<
|
|
614
|
+
updateShipmentStatus({ body }?: {
|
|
615
|
+
body: UpdateShipmentStatusRequest;
|
|
616
|
+
}): Promise<UpdateShipmentStatusResponseBody>;
|
|
552
617
|
/**
|
|
553
618
|
* @param {Object} arg - Arg object.
|
|
554
619
|
* @param {UploadConsent} arg.body
|
|
620
|
+
* @returns {Promise<SuccessResponse>} - Success response
|
|
555
621
|
* @summary:
|
|
556
622
|
* @description:
|
|
557
623
|
*/
|
|
558
624
|
uploadConsent({ body }?: {
|
|
559
625
|
body: UploadConsent;
|
|
560
|
-
}): Promise<
|
|
561
|
-
/**
|
|
562
|
-
* @param {Object} arg - Arg object.
|
|
563
|
-
* @param {PlatformOrderUpdate} arg.body
|
|
564
|
-
* @summary:
|
|
565
|
-
* @description:
|
|
566
|
-
*/
|
|
567
|
-
orderUpdate({ body }?: {
|
|
568
|
-
body: PlatformOrderUpdate;
|
|
569
|
-
}): Promise<any>;
|
|
570
|
-
/**
|
|
571
|
-
* @param {Object} arg - Arg object.
|
|
572
|
-
* @param {OrderStatus} arg.body
|
|
573
|
-
* @summary:
|
|
574
|
-
* @description:
|
|
575
|
-
*/
|
|
576
|
-
checkOrderStatus({ body }?: {
|
|
577
|
-
body: OrderStatus;
|
|
578
|
-
}): Promise<any>;
|
|
626
|
+
}): Promise<SuccessResponse>;
|
|
579
627
|
/**
|
|
580
628
|
* @param {Object} arg - Arg object.
|
|
629
|
+
* @param {JioCodeUpsertPayload} arg.body
|
|
630
|
+
* @returns {Promise<JioCodeUpsertResponse>} - Success response
|
|
581
631
|
* @summary:
|
|
582
632
|
* @description:
|
|
583
633
|
*/
|
|
584
|
-
|
|
634
|
+
upsertJioCode({ body }?: {
|
|
635
|
+
body: JioCodeUpsertPayload;
|
|
636
|
+
}): Promise<JioCodeUpsertResponse>;
|
|
585
637
|
}
|