@gofynd/fdk-client-javascript 1.0.2 → 1.0.4
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/README.md +31 -2
- package/index.d.ts +4 -4
- package/index.js +9 -10
- package/package.json +14 -14
- package/sdk/APIClient.d.ts +11 -0
- package/sdk/APIClient.js +35 -0
- package/sdk/Client.d.ts +6 -0
- package/sdk/Client.js +17 -0
- package/sdk/Config.d.ts +9 -0
- package/sdk/Config.js +17 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
- package/sdk/application/Cart/CartApplicationClient.js +595 -594
- package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
- package/sdk/application/Cart/CartApplicationModel.js +490 -885
- 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 +1079 -1078
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
- package/sdk/application/Catalog/CatalogApplicationModel.js +683 -1249
- 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 +43 -42
- 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 +32 -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 +350 -349
- 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 +216 -215
- package/sdk/application/Content/ContentApplicationModel.d.ts +76 -76
- package/sdk/application/Content/ContentApplicationModel.js +468 -884
- 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 +65 -64
- 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 +109 -108
- 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 +31 -22
- package/sdk/application/Logistic/LogisticApplicationClient.js +115 -49
- 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 -9
- package/sdk/application/Order/OrderApplicationClient.d.ts +85 -85
- package/sdk/application/Order/OrderApplicationClient.js +247 -246
- package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
- package/sdk/application/Order/OrderApplicationModel.js +361 -656
- 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 +781 -780
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
- package/sdk/application/Payment/PaymentApplicationModel.js +570 -1038
- 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 +646 -645
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +64 -63
- package/sdk/application/PosCart/PosCartApplicationModel.js +476 -870
- 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 +122 -121
- 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 +94 -93
- 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 +38 -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 +619 -618
- 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 +18 -7
- package/sdk/constructUrl.d.ts +5 -0
- package/sdk/constructUrl.js +13 -0
- package/sdk/index.d.ts +3 -0
- package/sdk/index.js +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +51 -51
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +182 -180
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +21 -21
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
- package/sdk/platform/Analytics/AnalyticsPlatformValidator.js +1 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +10 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +44 -43
- 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 +7 -6
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +60 -60
- package/sdk/platform/Billing/BillingPlatformClient.js +184 -183
- 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 +26 -25
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +192 -165
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +686 -510
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +14 -11
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +77 -61
- package/sdk/platform/Cart/CartPlatformModel.d.ts +84 -83
- package/sdk/platform/Cart/CartPlatformModel.js +676 -1206
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +632 -632
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1558 -1556
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +175 -175
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +688 -688
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1556 -1559
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +291 -291
- package/sdk/platform/Catalog/CatalogPlatformModel.js +2133 -3910
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -66
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +229 -228
- package/sdk/platform/Common/CommonPlatformClient.d.ts +12 -12
- package/sdk/platform/Common/CommonPlatformClient.js +40 -51
- 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 +7 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +326 -326
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +945 -943
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +88 -88
- package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -3
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
- package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +1 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +55 -55
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +217 -216
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +27 -27
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +279 -542
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +25 -24
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +163 -153
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +617 -552
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +70 -64
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +125 -125
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +348 -347
- 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 +39 -38
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +524 -534
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1287 -1346
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +49 -50
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +153 -159
- package/sdk/platform/Content/ContentPlatformModel.d.ts +78 -78
- package/sdk/platform/Content/ContentPlatformModel.js +485 -907
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +65 -65
- package/sdk/platform/Discount/DiscountPlatformClient.js +219 -218
- 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 +30 -29
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +25 -25
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +83 -61
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +9 -9
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +53 -53
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +147 -125
- 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 +12 -11
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +63 -63
- package/sdk/platform/Inventory/InventoryPlatformClient.js +231 -230
- 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 +29 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +73 -73
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +203 -201
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +29 -29
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +80 -80
- package/sdk/platform/Lead/LeadPlatformClient.js +215 -214
- 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 +25 -24
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +68 -66
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +7 -7
- package/sdk/platform/Order/OrderPlatformClient.d.ts +357 -357
- package/sdk/platform/Order/OrderPlatformClient.js +1046 -1033
- package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -196
- package/sdk/platform/Order/OrderPlatformModel.js +1575 -2861
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
- package/sdk/platform/Order/OrderPlatformValidator.js +161 -160
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +3 -1
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
- package/sdk/platform/Partner/PartnerPlatformModel.js +10 -26
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +58 -58
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +178 -178
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +24 -24
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +42 -42
- package/sdk/platform/Payment/PaymentPlatformClient.js +156 -155
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
- package/sdk/platform/Payment/PaymentPlatformModel.js +222 -410
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Payment/PaymentPlatformValidator.js +22 -21
- package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10325
- package/sdk/platform/PlatformApplicationClient.js +1584 -13899
- package/sdk/platform/PlatformClient.d.ts +7972 -7888
- package/sdk/platform/PlatformClient.js +8678 -10107
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +85 -85
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +299 -280
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +35 -35
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
- package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.js +62 -60
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +7 -7
- package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
- package/sdk/platform/Share/SharePlatformModel.js +60 -118
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +132 -132
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +314 -312
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +45 -45
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
- package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +136 -69
- package/sdk/platform/User/UserPlatformApplicationClient.js +507 -166
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +62 -24
- package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
- package/sdk/platform/User/UserPlatformModel.js +440 -689
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +31 -31
- package/sdk/platform/Webhook/WebhookPlatformClient.js +91 -90
- 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 +15 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
- package/sdk/public/Configuration/ConfigurationPublicClient.js +40 -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 +115 -113
- 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 +2 -0
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
- package/.github/workflows/on_create_release.yml +0 -23
- package/.github/workflows/on_merge_main.yml +0 -38
- package/.github/workflows/on_pull_request.yml +0 -35
- package/.prettierrc +0 -5
- package/documentation/application/CART.md +0 -7339
- package/documentation/application/CATALOG.md +0 -9597
- package/documentation/application/COMMON.md +0 -452
- package/documentation/application/COMMUNICATION.md +0 -467
- package/documentation/application/CONFIGURATION.md +0 -2906
- package/documentation/application/CONTENT.md +0 -3351
- package/documentation/application/FILESTORAGE.md +0 -578
- package/documentation/application/LEAD.md +0 -1895
- package/documentation/application/LOGISTIC.md +0 -765
- package/documentation/application/ORDER.md +0 -3432
- package/documentation/application/PAYMENT.md +0 -5221
- package/documentation/application/POSCART.md +0 -7938
- package/documentation/application/README.md +0 -21
- package/documentation/application/REWARDS.md +0 -708
- package/documentation/application/SHARE.md +0 -733
- package/documentation/application/THEME.md +0 -5800
- package/documentation/application/USER.md +0 -4335
- package/documentation/platform/ANALYTICS.md +0 -1154
- package/documentation/platform/AUDITTRAIL.md +0 -576
- package/documentation/platform/BILLING.md +0 -2400
- package/documentation/platform/CART.md +0 -5559
- package/documentation/platform/CATALOG.md +0 -23261
- package/documentation/platform/COMMON.md +0 -452
- package/documentation/platform/COMMUNICATION.md +0 -5718
- package/documentation/platform/COMPANYPROFILE.md +0 -2031
- package/documentation/platform/CONFIGURATION.md +0 -7339
- package/documentation/platform/CONTENT.md +0 -9098
- package/documentation/platform/DISCOUNT.md +0 -863
- package/documentation/platform/FILESTORAGE.md +0 -1081
- package/documentation/platform/INVENTORY.md +0 -1779
- package/documentation/platform/LEAD.md +0 -4740
- package/documentation/platform/ORDER.md +0 -8486
- package/documentation/platform/PARTNER.md +0 -220
- package/documentation/platform/PAYMENT.md +0 -3448
- package/documentation/platform/README.md +0 -27
- package/documentation/platform/REWARDS.md +0 -1083
- package/documentation/platform/SHARE.md +0 -606
- package/documentation/platform/THEME.md +0 -35729
- package/documentation/platform/USER.md +0 -2319
- package/documentation/platform/WEBHOOK.md +0 -591
- package/documentation/public/CONFIGURATION.md +0 -452
- package/documentation/public/INVENTORY.md +0 -690
- package/documentation/public/WEBHOOK.md +0 -352
- package/jest.config.d.ts +0 -4
- package/jest.config.js +0 -6
- package/tests/application/catalog.spec.js +0 -47
- package/tests/common/action-url.spec.js +0 -35
- package/tests/common/schema/action-url.json +0 -178
- package/tests/common/schema/url-action.json +0 -683
- package/tests/common/url-action.spec.js +0 -48
- package/tests/helpers/cookie.helper.js +0 -31
- package/tests/helpers/oauth.helper.js +0 -43
- package/tests/platform/catalog.spec.js +0 -49
- package/tests/public/location.spec.js +0 -39
|
@@ -4,210 +4,156 @@ 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
|
-
|
|
26
|
-
* @param {
|
|
27
|
-
* @param {
|
|
28
|
-
* @
|
|
29
|
-
* @param {string} [arg.orderingChannel] -
|
|
30
|
-
* @param {string} [arg.companyAffiliateTag] -
|
|
31
|
-
* @returns {Promise<ShipmentInternalPlatformViewResponse>} - Success response
|
|
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
|
|
32
29
|
* @summary:
|
|
33
30
|
* @description:
|
|
34
31
|
*/
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
statusOverrideLane?: boolean;
|
|
39
|
-
searchType?: string;
|
|
40
|
-
searchValue?: string;
|
|
41
|
-
searchId?: string;
|
|
42
|
-
fromDate?: string;
|
|
43
|
-
toDate?: string;
|
|
44
|
-
dpIds?: string;
|
|
45
|
-
orderingCompanyId?: string;
|
|
46
|
-
stores?: string;
|
|
47
|
-
salesChannel?: string;
|
|
48
|
-
requestByExt?: string;
|
|
49
|
-
pageNo?: number;
|
|
50
|
-
pageSize?: number;
|
|
51
|
-
isPrioritySort?: boolean;
|
|
52
|
-
fetchActiveShipment?: boolean;
|
|
53
|
-
excludeLockedShipments?: boolean;
|
|
54
|
-
paymentMethods?: string;
|
|
55
|
-
channelShipmentId?: string;
|
|
56
|
-
channelOrderId?: string;
|
|
57
|
-
customMeta?: string;
|
|
58
|
-
orderingChannel?: string;
|
|
59
|
-
companyAffiliateTag?: string;
|
|
60
|
-
}): Promise<ShipmentInternalPlatformViewResponse>;
|
|
32
|
+
checkOrderStatus({ body }?: {
|
|
33
|
+
body: OrderStatus;
|
|
34
|
+
}): Promise<OrderStatusResult>;
|
|
61
35
|
/**
|
|
62
36
|
* @param {Object} arg - Arg object.
|
|
63
|
-
* @param {string}
|
|
64
|
-
* @param {string}
|
|
65
|
-
* @param {string}
|
|
66
|
-
* @param {string} [arg.
|
|
67
|
-
* @
|
|
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
|
|
68
43
|
* @summary:
|
|
69
44
|
* @description:
|
|
70
45
|
*/
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
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>;
|
|
77
53
|
/**
|
|
78
54
|
* @param {Object} arg - Arg object.
|
|
79
|
-
* @param {
|
|
80
|
-
* @returns {Promise<
|
|
55
|
+
* @param {CreateChannelConfigData} arg.body
|
|
56
|
+
* @returns {Promise<CreateChannelConfigResponse>} - Success response
|
|
81
57
|
* @summary:
|
|
82
|
-
* @description:
|
|
58
|
+
* @description: createChannelConfig
|
|
83
59
|
*/
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}): Promise<
|
|
60
|
+
createChannelConfig({ body }?: {
|
|
61
|
+
body: CreateChannelConfigData;
|
|
62
|
+
}): Promise<CreateChannelConfigResponse>;
|
|
87
63
|
/**
|
|
88
64
|
* @param {Object} arg - Arg object.
|
|
89
|
-
* @param {
|
|
90
|
-
* @
|
|
91
|
-
* @param {string} [arg.fromDate] -
|
|
92
|
-
* @param {string} [arg.toDate] -
|
|
93
|
-
* @param {string} [arg.dpIds] -
|
|
94
|
-
* @param {string} [arg.stores] -
|
|
95
|
-
* @param {string} [arg.salesChannel] -
|
|
96
|
-
* @param {string} [arg.paymentMode] -
|
|
97
|
-
* @param {string} [arg.bagStatus] -
|
|
98
|
-
* @returns {Promise<LaneConfigResponse>} - Success response
|
|
65
|
+
* @param {CreateOrderAPI} arg.body
|
|
66
|
+
* @returns {Promise<CreateOrderResponse>} - Success response
|
|
99
67
|
* @summary:
|
|
100
68
|
* @description:
|
|
101
69
|
*/
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
fromDate?: string;
|
|
106
|
-
toDate?: string;
|
|
107
|
-
dpIds?: string;
|
|
108
|
-
stores?: string;
|
|
109
|
-
salesChannel?: string;
|
|
110
|
-
paymentMode?: string;
|
|
111
|
-
bagStatus?: string;
|
|
112
|
-
}): Promise<LaneConfigResponse>;
|
|
70
|
+
createOrder({ body }?: {
|
|
71
|
+
body: CreateOrderAPI;
|
|
72
|
+
}): Promise<CreateOrderResponse>;
|
|
113
73
|
/**
|
|
114
74
|
* @param {Object} arg - Arg object.
|
|
115
|
-
* @param {string} [arg.lane] -
|
|
116
|
-
* @param {string} [arg.searchType] -
|
|
117
|
-
* @param {string} [arg.bagStatus] -
|
|
118
|
-
* @param {string} [arg.timeToDispatch] -
|
|
119
|
-
* @param {string} [arg.paymentMethods] -
|
|
120
|
-
* @param {string} [arg.tags] -
|
|
121
|
-
* @param {string} [arg.searchValue] -
|
|
122
75
|
* @param {string} [arg.fromDate] -
|
|
123
76
|
* @param {string} [arg.toDate] -
|
|
124
|
-
* @
|
|
125
|
-
* @param {string} [arg.stores] -
|
|
126
|
-
* @param {string} [arg.salesChannel] -
|
|
127
|
-
* @param {number} [arg.pageNo] -
|
|
128
|
-
* @param {number} [arg.pageSize] -
|
|
129
|
-
* @param {boolean} [arg.isPrioritySort] -
|
|
130
|
-
* @param {string} [arg.customMeta] -
|
|
131
|
-
* @returns {Promise<OrderListingResponse>} - Success response
|
|
77
|
+
* @returns {Promise<Success>} - Success response
|
|
132
78
|
* @summary:
|
|
133
79
|
* @description:
|
|
134
80
|
*/
|
|
135
|
-
|
|
136
|
-
lane?: string;
|
|
137
|
-
searchType?: string;
|
|
138
|
-
bagStatus?: string;
|
|
139
|
-
timeToDispatch?: string;
|
|
140
|
-
paymentMethods?: string;
|
|
141
|
-
tags?: string;
|
|
142
|
-
searchValue?: string;
|
|
81
|
+
createShipmentReport({ fromDate, toDate }?: {
|
|
143
82
|
fromDate?: string;
|
|
144
83
|
toDate?: string;
|
|
145
|
-
|
|
146
|
-
stores?: string;
|
|
147
|
-
salesChannel?: string;
|
|
148
|
-
pageNo?: number;
|
|
149
|
-
pageSize?: number;
|
|
150
|
-
isPrioritySort?: boolean;
|
|
151
|
-
customMeta?: string;
|
|
152
|
-
}): Promise<OrderListingResponse>;
|
|
84
|
+
}): Promise<Success>;
|
|
153
85
|
/**
|
|
154
86
|
* @param {Object} arg - Arg object.
|
|
155
|
-
* @param {
|
|
156
|
-
* @
|
|
157
|
-
* @returns {Promise<MetricCountResponse>} - Success response
|
|
87
|
+
* @param {DispatchManifest} arg.body
|
|
88
|
+
* @returns {Promise<SuccessResponse>} - Success response
|
|
158
89
|
* @summary:
|
|
159
90
|
* @description:
|
|
160
91
|
*/
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
}): Promise<MetricCountResponse>;
|
|
92
|
+
dispatchManifest({ body }?: {
|
|
93
|
+
body: DispatchManifest;
|
|
94
|
+
}): Promise<SuccessResponse>;
|
|
165
95
|
/**
|
|
166
96
|
* @param {Object} arg - Arg object.
|
|
167
|
-
* @param {string} arg.
|
|
168
|
-
* @
|
|
169
|
-
* @returns {Promise<FiltersResponse>} - Success response
|
|
97
|
+
* @param {string} [arg.date] -
|
|
98
|
+
* @returns {Promise<AnnouncementsResponse>} - Success response
|
|
170
99
|
* @summary:
|
|
171
100
|
* @description:
|
|
172
101
|
*/
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
}): Promise<FiltersResponse>;
|
|
102
|
+
getAnnouncements({ date }?: {
|
|
103
|
+
date?: string;
|
|
104
|
+
}): Promise<AnnouncementsResponse>;
|
|
177
105
|
/**
|
|
178
106
|
* @param {Object} arg - Arg object.
|
|
179
|
-
* @param {string} [arg.
|
|
180
|
-
* @param {string} [arg.
|
|
181
|
-
* @
|
|
107
|
+
* @param {string} [arg.bagId] -
|
|
108
|
+
* @param {string} [arg.channelBagId] -
|
|
109
|
+
* @param {string} [arg.channelId] -
|
|
110
|
+
* @returns {Promise<BagDetailsPlatformResponse>} - Success response
|
|
182
111
|
* @summary:
|
|
183
112
|
* @description:
|
|
184
113
|
*/
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
114
|
+
getBagById({ bagId, channelBagId, channelId }?: {
|
|
115
|
+
bagId?: string;
|
|
116
|
+
channelBagId?: string;
|
|
117
|
+
channelId?: string;
|
|
118
|
+
}): Promise<BagDetailsPlatformResponse>;
|
|
189
119
|
/**
|
|
190
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] -
|
|
191
128
|
* @param {number} [arg.pageNo] -
|
|
192
129
|
* @param {number} [arg.pageSize] -
|
|
193
|
-
* @returns {Promise<
|
|
130
|
+
* @returns {Promise<GetBagsPlatformResponse>} - Success response
|
|
194
131
|
* @summary:
|
|
195
132
|
* @description:
|
|
196
133
|
*/
|
|
197
|
-
|
|
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;
|
|
198
142
|
pageNo?: number;
|
|
199
143
|
pageSize?: number;
|
|
200
|
-
}): Promise<
|
|
144
|
+
}): Promise<GetBagsPlatformResponse>;
|
|
201
145
|
/**
|
|
202
146
|
* @param {Object} arg - Arg object.
|
|
203
|
-
* @param {
|
|
204
|
-
* @
|
|
147
|
+
* @param {string} arg.batchId -
|
|
148
|
+
* @param {string} [arg.reportType] -
|
|
149
|
+
* @returns {Promise<FileResponse>} - Success response
|
|
205
150
|
* @summary:
|
|
206
151
|
* @description:
|
|
207
152
|
*/
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
153
|
+
getBulkActionFailedReport({ batchId, reportType }?: {
|
|
154
|
+
batchId: string;
|
|
155
|
+
reportType?: string;
|
|
156
|
+
}): Promise<FileResponse>;
|
|
211
157
|
/**
|
|
212
158
|
* @param {Object} arg - Arg object.
|
|
213
159
|
* @param {string} arg.batchId -
|
|
@@ -246,11 +192,11 @@ declare class Order {
|
|
|
246
192
|
* @param {number} [arg.pageSize] -
|
|
247
193
|
* @param {string} [arg.customerId] -
|
|
248
194
|
* @param {boolean} [arg.isPrioritySort] -
|
|
249
|
-
* @returns {Promise<
|
|
195
|
+
* @returns {Promise<BulkListingResponse>} - Success response
|
|
250
196
|
* @summary:
|
|
251
197
|
* @description:
|
|
252
198
|
*/
|
|
253
|
-
|
|
199
|
+
getBulkList({ lane, searchType, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, customerId, isPrioritySort, }?: {
|
|
254
200
|
lane?: string;
|
|
255
201
|
searchType?: string;
|
|
256
202
|
searchId?: string;
|
|
@@ -265,7 +211,7 @@ declare class Order {
|
|
|
265
211
|
pageSize?: number;
|
|
266
212
|
customerId?: string;
|
|
267
213
|
isPrioritySort?: boolean;
|
|
268
|
-
}): Promise<
|
|
214
|
+
}): Promise<BulkListingResponse>;
|
|
269
215
|
/**
|
|
270
216
|
* @param {Object} arg - Arg object.
|
|
271
217
|
* @param {string} [arg.lane] -
|
|
@@ -282,11 +228,11 @@ declare class Order {
|
|
|
282
228
|
* @param {number} [arg.pageSize] -
|
|
283
229
|
* @param {string} [arg.customerId] -
|
|
284
230
|
* @param {boolean} [arg.isPrioritySort] -
|
|
285
|
-
* @returns {Promise<
|
|
231
|
+
* @returns {Promise<FileResponse>} - Success response
|
|
286
232
|
* @summary:
|
|
287
233
|
* @description:
|
|
288
234
|
*/
|
|
289
|
-
|
|
235
|
+
getBulkShipmentExcelFile({ lane, searchType, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, customerId, isPrioritySort, }?: {
|
|
290
236
|
lane?: string;
|
|
291
237
|
searchType?: string;
|
|
292
238
|
searchId?: string;
|
|
@@ -301,245 +247,294 @@ declare class Order {
|
|
|
301
247
|
pageSize?: number;
|
|
302
248
|
customerId?: string;
|
|
303
249
|
isPrioritySort?: boolean;
|
|
304
|
-
}): Promise<
|
|
250
|
+
}): Promise<FileResponse>;
|
|
305
251
|
/**
|
|
306
252
|
* @param {Object} arg - Arg object.
|
|
307
|
-
* @
|
|
308
|
-
* @param {string} [arg.reportType] -
|
|
309
|
-
* @returns {Promise<FileResponse>} - Success response
|
|
253
|
+
* @returns {Promise<CreateChannelConfigData>} - Success response
|
|
310
254
|
* @summary:
|
|
311
|
-
* @description:
|
|
312
|
-
*/
|
|
313
|
-
getBulkActionFailedReport({ batchId, reportType }?: {
|
|
314
|
-
batchId: string;
|
|
315
|
-
reportType?: string;
|
|
316
|
-
}): Promise<FileResponse>;
|
|
317
|
-
/**
|
|
318
|
-
* @param {Object} arg - Arg object.
|
|
319
|
-
* @param {string} arg.shipmentId - ID of the shipment. An order may contain
|
|
320
|
-
* multiple items and may get divided into one or more shipment, each
|
|
321
|
-
* having its own ID.
|
|
322
|
-
* @param {string} arg.bagId - ID of the bag. An order may contain multiple
|
|
323
|
-
* items and may get divided into one or more shipment, each having its own ID.
|
|
324
|
-
* @param {string} arg.state - State for which reasons are required.
|
|
325
|
-
* @returns {Promise<PlatformShipmentReasonsResponse>} - Success response
|
|
326
|
-
* @summary: Get reasons behind full or partial cancellation of a shipment
|
|
327
|
-
* @description: Use this API to retrieve the issues that led to the cancellation of bags within a shipment.
|
|
255
|
+
* @description: getChannelConfig
|
|
328
256
|
*/
|
|
329
|
-
|
|
330
|
-
shipmentId: string;
|
|
331
|
-
bagId: string;
|
|
332
|
-
state: string;
|
|
333
|
-
}): Promise<PlatformShipmentReasonsResponse>;
|
|
257
|
+
getChannelConfig({}?: any): Promise<CreateChannelConfigData>;
|
|
334
258
|
/**
|
|
335
259
|
* @param {Object} arg - Arg object.
|
|
336
|
-
* @param {
|
|
337
|
-
* @
|
|
338
|
-
* @
|
|
339
|
-
* @
|
|
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:
|
|
340
272
|
*/
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
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>;
|
|
344
284
|
/**
|
|
345
285
|
* @param {Object} arg - Arg object.
|
|
346
|
-
* @param {string} arg.
|
|
347
|
-
* @
|
|
348
|
-
* @
|
|
349
|
-
* @
|
|
286
|
+
* @param {string} [arg.fromDate] -
|
|
287
|
+
* @param {string} [arg.toDate] -
|
|
288
|
+
* @returns {Promise<MetricCountResponse>} - Success response
|
|
289
|
+
* @summary:
|
|
290
|
+
* @description:
|
|
350
291
|
*/
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
292
|
+
getMetricCount({ fromDate, toDate }?: {
|
|
293
|
+
fromDate?: string;
|
|
294
|
+
toDate?: string;
|
|
295
|
+
}): Promise<MetricCountResponse>;
|
|
354
296
|
/**
|
|
355
297
|
* @param {Object} arg - Arg object.
|
|
356
|
-
* @param {string}
|
|
357
|
-
* @
|
|
358
|
-
* @param {string} [arg.channelId] -
|
|
359
|
-
* @returns {Promise<BagDetailsPlatformResponse>} - Success response
|
|
298
|
+
* @param {string} arg.orderId -
|
|
299
|
+
* @returns {Promise<ShipmentDetailsResponse>} - Success response
|
|
360
300
|
* @summary:
|
|
361
301
|
* @description:
|
|
362
302
|
*/
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
channelId?: string;
|
|
367
|
-
}): Promise<BagDetailsPlatformResponse>;
|
|
303
|
+
getOrderById({ orderId }?: {
|
|
304
|
+
orderId: string;
|
|
305
|
+
}): Promise<ShipmentDetailsResponse>;
|
|
368
306
|
/**
|
|
369
307
|
* @param {Object} arg - Arg object.
|
|
370
|
-
* @param {string} [arg.
|
|
371
|
-
* @param {string} [arg.
|
|
372
|
-
* @param {string} [arg.
|
|
373
|
-
* @param {string} [arg.
|
|
374
|
-
* @param {string} [arg.
|
|
375
|
-
* @param {string} [arg.
|
|
376
|
-
* @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] -
|
|
377
320
|
* @param {number} [arg.pageNo] -
|
|
378
321
|
* @param {number} [arg.pageSize] -
|
|
379
|
-
* @
|
|
322
|
+
* @param {boolean} [arg.isPrioritySort] -
|
|
323
|
+
* @param {string} [arg.customMeta] -
|
|
324
|
+
* @returns {Promise<OrderListingResponse>} - Success response
|
|
380
325
|
* @summary:
|
|
381
326
|
* @description:
|
|
382
327
|
*/
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
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;
|
|
391
341
|
pageNo?: number;
|
|
392
342
|
pageSize?: number;
|
|
393
|
-
|
|
343
|
+
isPrioritySort?: boolean;
|
|
344
|
+
customMeta?: string;
|
|
345
|
+
}): Promise<OrderListingResponse>;
|
|
394
346
|
/**
|
|
395
347
|
* @param {Object} arg - Arg object.
|
|
396
|
-
* @param {
|
|
397
|
-
* @
|
|
348
|
+
* @param {number} [arg.pageNo] -
|
|
349
|
+
* @param {number} [arg.pageSize] -
|
|
350
|
+
* @returns {Promise<OmsReports>} - Success response
|
|
398
351
|
* @summary:
|
|
399
|
-
* @description:
|
|
352
|
+
* @description:
|
|
400
353
|
*/
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
354
|
+
getReportsShipmentListing({ pageNo, pageSize }?: {
|
|
355
|
+
pageNo?: number;
|
|
356
|
+
pageSize?: number;
|
|
357
|
+
}): Promise<OmsReports>;
|
|
404
358
|
/**
|
|
405
359
|
* @param {Object} arg - Arg object.
|
|
406
|
-
* @
|
|
407
|
-
* @returns {Promise<StoreReassignResponse>} - Success response
|
|
360
|
+
* @returns {Promise<GetActionsResponse>} - Success response
|
|
408
361
|
* @summary:
|
|
409
|
-
* @description:
|
|
362
|
+
* @description:
|
|
410
363
|
*/
|
|
411
|
-
|
|
412
|
-
body: StoreReassign;
|
|
413
|
-
}): Promise<StoreReassignResponse>;
|
|
364
|
+
getRoleBasedActions({}?: any): Promise<GetActionsResponse>;
|
|
414
365
|
/**
|
|
415
366
|
* @param {Object} arg - Arg object.
|
|
416
|
-
* @param {
|
|
417
|
-
* @
|
|
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
|
|
418
372
|
* @summary:
|
|
419
|
-
* @description:
|
|
373
|
+
* @description:
|
|
420
374
|
*/
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
375
|
+
getShipmentById({ channelShipmentId, shipmentId, orderingCompanyId, requestByExt, }?: {
|
|
376
|
+
channelShipmentId?: string;
|
|
377
|
+
shipmentId?: string;
|
|
378
|
+
orderingCompanyId?: string;
|
|
379
|
+
requestByExt?: string;
|
|
380
|
+
}): Promise<ShipmentInfoResponse>;
|
|
424
381
|
/**
|
|
425
382
|
* @param {Object} arg - Arg object.
|
|
426
|
-
* @param {
|
|
427
|
-
* @
|
|
383
|
+
* @param {number} [arg.shipmentId] -
|
|
384
|
+
* @param {number} [arg.bagId] -
|
|
385
|
+
* @returns {Promise<ShipmentHistoryResponse>} - Success response
|
|
428
386
|
* @summary:
|
|
429
387
|
* @description:
|
|
430
388
|
*/
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
389
|
+
getShipmentHistory({ shipmentId, bagId }?: {
|
|
390
|
+
shipmentId?: number;
|
|
391
|
+
bagId?: number;
|
|
392
|
+
}): Promise<ShipmentHistoryResponse>;
|
|
434
393
|
/**
|
|
435
394
|
* @param {Object} arg - Arg object.
|
|
436
|
-
* @param {string} arg.shipmentId -
|
|
437
|
-
*
|
|
438
|
-
*
|
|
439
|
-
* @param {string}
|
|
440
|
-
*
|
|
441
|
-
* @param {string}
|
|
442
|
-
* @
|
|
443
|
-
* @
|
|
444
|
-
* @
|
|
445
|
-
* @param {string} [arg.city] -
|
|
446
|
-
* @param {string} [arg.state] -
|
|
447
|
-
* @param {string} [arg.country] -
|
|
448
|
-
* @returns {Promise<BaseResponse>} - Success response
|
|
449
|
-
* @summary:
|
|
450
|
-
* @description:
|
|
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.
|
|
451
404
|
*/
|
|
452
|
-
|
|
405
|
+
getShipmentReasons({ shipmentId, bagId, state }?: {
|
|
453
406
|
shipmentId: string;
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
pincode?: string;
|
|
458
|
-
phone?: string;
|
|
459
|
-
email?: string;
|
|
460
|
-
landmark?: string;
|
|
461
|
-
addressCategory: string;
|
|
462
|
-
city?: string;
|
|
463
|
-
state?: string;
|
|
464
|
-
country?: string;
|
|
465
|
-
}): Promise<BaseResponse>;
|
|
407
|
+
bagId: string;
|
|
408
|
+
state: string;
|
|
409
|
+
}): Promise<PlatformShipmentReasonsResponse>;
|
|
466
410
|
/**
|
|
467
411
|
* @param {Object} arg - Arg object.
|
|
468
|
-
* @param {string} arg.
|
|
469
|
-
* @param {string} arg.
|
|
470
|
-
* @param {
|
|
471
|
-
* @param {string} [arg.
|
|
472
|
-
* @param {string} [arg.
|
|
473
|
-
* @
|
|
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
|
|
474
437
|
* @summary:
|
|
475
438
|
* @description:
|
|
476
439
|
*/
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
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>;
|
|
484
466
|
/**
|
|
485
467
|
* @param {Object} arg - Arg object.
|
|
486
|
-
* @param {
|
|
487
|
-
* @
|
|
468
|
+
* @param {string} arg.view -
|
|
469
|
+
* @param {string} [arg.groupEntity] -
|
|
470
|
+
* @returns {Promise<FiltersResponse>} - Success response
|
|
488
471
|
* @summary:
|
|
489
|
-
* @description:
|
|
472
|
+
* @description:
|
|
490
473
|
*/
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
474
|
+
getfilters({ view, groupEntity }?: {
|
|
475
|
+
view: string;
|
|
476
|
+
groupEntity?: string;
|
|
477
|
+
}): Promise<FiltersResponse>;
|
|
494
478
|
/**
|
|
495
479
|
* @param {Object} arg - Arg object.
|
|
496
|
-
* @param {
|
|
497
|
-
* @returns {Promise<
|
|
480
|
+
* @param {InvalidateShipmentCachePayload} arg.body
|
|
481
|
+
* @returns {Promise<InvalidateShipmentCacheResponse>} - Success response
|
|
498
482
|
* @summary:
|
|
499
|
-
* @description:
|
|
483
|
+
* @description: Invalidate shipment Cache
|
|
500
484
|
*/
|
|
501
|
-
|
|
502
|
-
body:
|
|
503
|
-
}): Promise<
|
|
485
|
+
invalidateShipmentCache({ body }?: {
|
|
486
|
+
body: InvalidateShipmentCachePayload;
|
|
487
|
+
}): Promise<InvalidateShipmentCacheResponse>;
|
|
504
488
|
/**
|
|
505
489
|
* @param {Object} arg - Arg object.
|
|
506
|
-
* @param {
|
|
507
|
-
* @returns {Promise<
|
|
490
|
+
* @param {PlatformOrderUpdate} arg.body
|
|
491
|
+
* @returns {Promise<ResponseDetail>} - Success response
|
|
508
492
|
* @summary:
|
|
509
493
|
* @description:
|
|
510
494
|
*/
|
|
511
|
-
|
|
512
|
-
body:
|
|
513
|
-
}): Promise<
|
|
495
|
+
orderUpdate({ body }?: {
|
|
496
|
+
body: PlatformOrderUpdate;
|
|
497
|
+
}): Promise<ResponseDetail>;
|
|
514
498
|
/**
|
|
515
499
|
* @param {Object} arg - Arg object.
|
|
516
|
-
* @
|
|
500
|
+
* @param {ManualAssignDPToShipment} arg.body
|
|
501
|
+
* @returns {Promise<ManualAssignDPToShipmentResponse>} - Success response
|
|
517
502
|
* @summary:
|
|
518
503
|
* @description:
|
|
519
504
|
*/
|
|
520
|
-
|
|
505
|
+
platformManualAssignDPToShipment({ body }?: {
|
|
506
|
+
body: ManualAssignDPToShipment;
|
|
507
|
+
}): Promise<ManualAssignDPToShipmentResponse>;
|
|
521
508
|
/**
|
|
522
509
|
* @param {Object} arg - Arg object.
|
|
523
|
-
* @param {
|
|
524
|
-
* @param {number} [arg.bagId] -
|
|
510
|
+
* @param {PostShipmentHistory} arg.body
|
|
525
511
|
* @returns {Promise<ShipmentHistoryResponse>} - Success response
|
|
526
512
|
* @summary:
|
|
527
513
|
* @description:
|
|
528
514
|
*/
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
bagId?: number;
|
|
515
|
+
postShipmentHistory({ body }?: {
|
|
516
|
+
body: PostShipmentHistory;
|
|
532
517
|
}): Promise<ShipmentHistoryResponse>;
|
|
533
518
|
/**
|
|
534
519
|
* @param {Object} arg - Arg object.
|
|
535
|
-
* @param {
|
|
536
|
-
* @returns {Promise<
|
|
520
|
+
* @param {CreateOrderPayload} arg.body
|
|
521
|
+
* @returns {Promise<CreateOrderResponse>} - Success response
|
|
537
522
|
* @summary:
|
|
538
523
|
* @description:
|
|
539
524
|
*/
|
|
540
|
-
|
|
541
|
-
body:
|
|
542
|
-
}): Promise<
|
|
525
|
+
processManifest({ body }?: {
|
|
526
|
+
body: CreateOrderPayload;
|
|
527
|
+
}): Promise<CreateOrderResponse>;
|
|
528
|
+
/**
|
|
529
|
+
* @param {Object} arg - Arg object.
|
|
530
|
+
* @param {StoreReassign} arg.body
|
|
531
|
+
* @returns {Promise<StoreReassignResponse>} - Success response
|
|
532
|
+
* @summary:
|
|
533
|
+
* @description: Reassign Location
|
|
534
|
+
*/
|
|
535
|
+
reassignLocation({ body }?: {
|
|
536
|
+
body: StoreReassign;
|
|
537
|
+
}): Promise<StoreReassignResponse>;
|
|
543
538
|
/**
|
|
544
539
|
* @param {Object} arg - Arg object.
|
|
545
540
|
* @param {SendSmsPayload} arg.body
|
|
@@ -552,51 +547,73 @@ declare class Order {
|
|
|
552
547
|
}): Promise<OrderStatusResult>;
|
|
553
548
|
/**
|
|
554
549
|
* @param {Object} arg - Arg object.
|
|
555
|
-
* @
|
|
556
|
-
* @returns {Promise<ManualAssignDPToShipmentResponse>} - Success response
|
|
550
|
+
* @returns {Promise<OrderStatusResult>} - Success response
|
|
557
551
|
* @summary:
|
|
558
552
|
* @description:
|
|
559
553
|
*/
|
|
560
|
-
|
|
561
|
-
body: ManualAssignDPToShipment;
|
|
562
|
-
}): Promise<ManualAssignDPToShipmentResponse>;
|
|
554
|
+
sendSmsNinjaPlatform({}?: any): Promise<OrderStatusResult>;
|
|
563
555
|
/**
|
|
564
556
|
* @param {Object} arg - Arg object.
|
|
565
|
-
* @param {
|
|
566
|
-
* @
|
|
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
|
|
567
570
|
* @summary:
|
|
568
571
|
* @description:
|
|
569
572
|
*/
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
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>;
|
|
573
587
|
/**
|
|
574
588
|
* @param {Object} arg - Arg object.
|
|
575
|
-
* @param {
|
|
589
|
+
* @param {CreateOrderPayload} arg.body
|
|
576
590
|
* @returns {Promise<CreateOrderResponse>} - Success response
|
|
577
591
|
* @summary:
|
|
578
592
|
* @description:
|
|
579
593
|
*/
|
|
580
|
-
|
|
581
|
-
body:
|
|
594
|
+
updatePackagingDimensions({ body }?: {
|
|
595
|
+
body: CreateOrderPayload;
|
|
582
596
|
}): Promise<CreateOrderResponse>;
|
|
583
597
|
/**
|
|
584
598
|
* @param {Object} arg - Arg object.
|
|
585
|
-
* @
|
|
599
|
+
* @param {UpdateShipmentLockPayload} arg.body
|
|
600
|
+
* @returns {Promise<UpdateShipmentLockResponse>} - Success response
|
|
586
601
|
* @summary:
|
|
587
|
-
* @description:
|
|
602
|
+
* @description: update shipment lock
|
|
588
603
|
*/
|
|
589
|
-
|
|
604
|
+
updateShipmentLock({ body }?: {
|
|
605
|
+
body: UpdateShipmentLockPayload;
|
|
606
|
+
}): Promise<UpdateShipmentLockResponse>;
|
|
590
607
|
/**
|
|
591
608
|
* @param {Object} arg - Arg object.
|
|
592
|
-
* @param {
|
|
593
|
-
* @returns {Promise<
|
|
609
|
+
* @param {UpdateShipmentStatusRequest} arg.body
|
|
610
|
+
* @returns {Promise<UpdateShipmentStatusResponseBody>} - Success response
|
|
594
611
|
* @summary:
|
|
595
|
-
* @description:
|
|
612
|
+
* @description: Update shipment status
|
|
596
613
|
*/
|
|
597
|
-
|
|
598
|
-
body:
|
|
599
|
-
}): Promise<
|
|
614
|
+
updateShipmentStatus({ body }?: {
|
|
615
|
+
body: UpdateShipmentStatusRequest;
|
|
616
|
+
}): Promise<UpdateShipmentStatusResponseBody>;
|
|
600
617
|
/**
|
|
601
618
|
* @param {Object} arg - Arg object.
|
|
602
619
|
* @param {UploadConsent} arg.body
|
|
@@ -609,29 +626,12 @@ declare class Order {
|
|
|
609
626
|
}): Promise<SuccessResponse>;
|
|
610
627
|
/**
|
|
611
628
|
* @param {Object} arg - Arg object.
|
|
612
|
-
* @param {
|
|
613
|
-
* @returns {Promise<
|
|
614
|
-
* @summary:
|
|
615
|
-
* @description:
|
|
616
|
-
*/
|
|
617
|
-
orderUpdate({ body }?: {
|
|
618
|
-
body: PlatformOrderUpdate;
|
|
619
|
-
}): Promise<ResponseDetail>;
|
|
620
|
-
/**
|
|
621
|
-
* @param {Object} arg - Arg object.
|
|
622
|
-
* @param {OrderStatus} arg.body
|
|
623
|
-
* @returns {Promise<OrderStatusResult>} - Success response
|
|
624
|
-
* @summary:
|
|
625
|
-
* @description:
|
|
626
|
-
*/
|
|
627
|
-
checkOrderStatus({ body }?: {
|
|
628
|
-
body: OrderStatus;
|
|
629
|
-
}): Promise<OrderStatusResult>;
|
|
630
|
-
/**
|
|
631
|
-
* @param {Object} arg - Arg object.
|
|
632
|
-
* @returns {Promise<OrderStatusResult>} - Success response
|
|
629
|
+
* @param {JioCodeUpsertPayload} arg.body
|
|
630
|
+
* @returns {Promise<JioCodeUpsertResponse>} - Success response
|
|
633
631
|
* @summary:
|
|
634
632
|
* @description:
|
|
635
633
|
*/
|
|
636
|
-
|
|
634
|
+
upsertJioCode({ body }?: {
|
|
635
|
+
body: JioCodeUpsertPayload;
|
|
636
|
+
}): Promise<JioCodeUpsertResponse>;
|
|
637
637
|
}
|