@gofynd/fdk-client-javascript 3.0.0-beta.1 → 3.0.0
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 +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +93 -113
- package/sdk/application/Cart/CartApplicationClient.js +157 -530
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
- package/sdk/application/Catalog/CatalogApplicationClient.js +214 -447
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -19
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -43
- package/sdk/application/Communication/CommunicationApplicationClient.js +4 -214
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +41 -54
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +39 -192
- package/sdk/application/Content/ContentApplicationClient.d.ts +65 -55
- package/sdk/application/Content/ContentApplicationClient.js +211 -341
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -33
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +6 -6
- package/sdk/application/Lead/LeadApplicationClient.js +24 -55
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +32 -87
- package/sdk/application/Logistic/LogisticApplicationClient.js +126 -383
- package/sdk/application/Order/OrderApplicationClient.d.ts +31 -51
- package/sdk/application/Order/OrderApplicationClient.js +89 -293
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +108 -218
- package/sdk/application/Payment/PaymentApplicationClient.js +100 -1081
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationClient.js +13 -66
- package/sdk/application/Share/ShareApplicationClient.d.ts +11 -11
- package/sdk/application/Share/ShareApplicationClient.js +35 -89
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +5 -25
- package/sdk/application/Theme/ThemeApplicationClient.js +24 -150
- package/sdk/application/User/UserApplicationClient.d.ts +23 -13
- package/sdk/application/User/UserApplicationClient.js +49 -407
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -11
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +10 -7
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +18 -62
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +40 -372
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +99 -33
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +84 -25
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +7 -38
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +52 -98
- package/sdk/partner/Lead/LeadPartnerModel.js +76 -100
- package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +172 -41
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1222 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1921 -297
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +973 -258
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +148 -16
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +21 -63
- package/sdk/partner/Theme/ThemePartnerClient.js +67 -392
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +72 -104
- package/sdk/partner/Theme/ThemePartnerModel.js +75 -101
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -5
- package/sdk/partner/Theme/ThemePartnerValidator.js +12 -42
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +673 -189
- package/sdk/partner/Webhook/WebhookPartnerModel.js +270 -159
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +3 -3
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -406
- package/sdk/platform/Billing/BillingPlatformClient.js +76 -3214
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +459 -3798
- package/sdk/platform/Billing/BillingPlatformModel.js +338 -2573
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +24 -465
- package/sdk/platform/Billing/BillingPlatformValidator.js +14 -490
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +205 -284
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +554 -672
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +132 -108
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4865 -3148
- package/sdk/platform/Cart/CartPlatformModel.js +2071 -2854
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +419 -1015
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6444
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +226 -1117
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +127 -919
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +574 -372
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1315 -1238
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9334 -7634
- package/sdk/platform/Catalog/CatalogPlatformModel.js +6980 -9652
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +239 -294
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +186 -246
- package/sdk/platform/Common/CommonPlatformClient.d.ts +6 -5
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +19 -25
- package/sdk/platform/Common/CommonPlatformModel.js +11 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +236 -376
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +579 -868
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +139 -170
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +126 -145
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -56
- package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -307
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +314 -422
- package/sdk/platform/Communication/CommunicationPlatformModel.js +382 -538
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +3 -62
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +2 -48
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +72 -68
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -84
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +270 -241
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +248 -226
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -20
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +118 -333
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +409 -1470
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +55 -158
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +41 -163
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +65 -142
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +103 -568
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +565 -1282
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +369 -1034
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +34 -80
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +24 -79
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +302 -246
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1297 -776
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +330 -218
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +325 -208
- package/sdk/platform/Content/ContentPlatformClient.d.ts +279 -118
- package/sdk/platform/Content/ContentPlatformClient.js +1617 -492
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2374 -877
- package/sdk/platform/Content/ContentPlatformModel.js +1304 -930
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +272 -134
- package/sdk/platform/Content/ContentPlatformValidator.js +295 -118
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +53 -43
- package/sdk/platform/Discount/DiscountPlatformClient.js +53 -43
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +383 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +117 -108
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -163
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1078
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -141
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -177
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +30 -1123
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +24 -1135
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +24 -4
- package/sdk/platform/Lead/LeadPlatformClient.js +160 -4
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +60 -140
- package/sdk/platform/Lead/LeadPlatformModel.js +81 -162
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +29 -3
- package/sdk/platform/Lead/LeadPlatformValidator.js +28 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +19 -98
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +27 -662
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +91 -118
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -127
- package/sdk/platform/Order/OrderPlatformClient.d.ts +421 -418
- package/sdk/platform/Order/OrderPlatformClient.js +1194 -1350
- package/sdk/platform/Order/OrderPlatformModel.d.ts +9145 -4107
- package/sdk/platform/Order/OrderPlatformModel.js +4257 -3197
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +641 -442
- package/sdk/platform/Order/OrderPlatformValidator.js +341 -311
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +67 -19
- package/sdk/platform/Partner/PartnerPlatformModel.js +26 -17
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +135 -382
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +934 -2452
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -306
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -305
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +56 -66
- package/sdk/platform/Payment/PaymentPlatformClient.js +124 -269
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1327 -3529
- package/sdk/platform/Payment/PaymentPlatformModel.js +1397 -3693
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +35 -64
- package/sdk/platform/Payment/PaymentPlatformValidator.js +34 -60
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +12 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +64 -136
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +111 -513
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -103
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -99
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +162 -127
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +775 -435
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6250 -3861
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3178 -3798
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +295 -199
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -133
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -4
- package/sdk/platform/Share/SharePlatformApplicationClient.js +86 -8
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +23 -6
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +16 -3
- package/sdk/platform/Share/SharePlatformModel.d.ts +53 -4
- package/sdk/platform/Share/SharePlatformModel.js +45 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +4 -26
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +10 -157
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +10 -21
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +6 -23
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -18
- package/sdk/platform/Theme/ThemePlatformClient.js +8 -85
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +17 -425
- package/sdk/platform/Theme/ThemePlatformModel.js +23 -329
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +3 -7
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -9
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +81 -18
- package/sdk/platform/User/UserPlatformApplicationClient.js +491 -27
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +126 -10
- package/sdk/platform/User/UserPlatformApplicationValidator.js +92 -7
- package/sdk/platform/User/UserPlatformModel.d.ts +317 -218
- package/sdk/platform/User/UserPlatformModel.js +253 -210
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +813 -426
- package/sdk/platform/Webhook/WebhookPlatformModel.js +446 -395
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
- package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
- package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
- package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +4 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -113
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +46 -114
- package/sdk/public/Configuration/ConfigurationPublicModel.js +32 -117
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -11
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +0 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +36 -25
- package/sdk/public/Content/ContentPublicClient.js +254 -280
- package/sdk/public/Content/ContentPublicModel.d.ts +151 -38
- package/sdk/public/Content/ContentPublicModel.js +98 -44
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -17
- package/sdk/public/Content/ContentPublicValidator.js +26 -19
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +6 -11
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/PublicClient.d.ts +2 -2
- package/sdk/public/PublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +9 -48
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +215 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +66 -61
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -1
- package/sdk/public/index.js +1 -1
- package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +0 -66
- package/sdk/partner/Authorization/AuthorizationPartnerClient.js +0 -431
- package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +0 -231
- package/sdk/partner/Authorization/AuthorizationPartnerModel.js +0 -152
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +0 -8
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +0 -39
- package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +0 -26
- package/sdk/partner/Catalog/CatalogPartnerClient.js +0 -173
- package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +0 -238
- package/sdk/partner/Catalog/CatalogPartnerModel.js +0 -248
- package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +0 -5
- package/sdk/partner/Catalog/CatalogPartnerValidator.js +0 -19
- package/sdk/partner/Payment/PaymentPartnerClient.d.ts +0 -116
- package/sdk/partner/Payment/PaymentPartnerClient.js +0 -857
- package/sdk/partner/Payment/PaymentPartnerModel.d.ts +0 -388
- package/sdk/partner/Payment/PaymentPartnerModel.js +0 -442
- package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +0 -14
- package/sdk/partner/Payment/PaymentPartnerValidator.js +0 -74
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2895
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2150
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -56
- package/sdk/public/Billing/BillingPublicClient.js +0 -397
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -919
- package/sdk/public/Billing/BillingPublicModel.js +0 -560
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -43
- package/sdk/public/Billing/BillingPublicValidator.js +0 -50
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export = OrderPlatformValidator;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
4
|
-
* @property {OrderPlatformModel.
|
|
3
|
+
* @typedef AddStateManagerConfigParam
|
|
4
|
+
* @property {OrderPlatformModel.TransitionConfigPayload} body
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* @typedef AttachOrderUserParam
|
|
@@ -9,37 +9,35 @@ export = OrderPlatformValidator;
|
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* @typedef BulkListingParam
|
|
12
|
-
* @property {number} pageSize -
|
|
13
|
-
* @property {number} pageNo -
|
|
14
|
-
* @property {string}
|
|
15
|
-
*
|
|
16
|
-
* @property {string}
|
|
17
|
-
*
|
|
18
|
-
* @property {string} [
|
|
12
|
+
* @property {number} pageSize - The number of records to return per page in the response.
|
|
13
|
+
* @property {number} pageNo - The page number to fetch from the paginated results.
|
|
14
|
+
* @property {string} startDate - The start date for filtering the jobs,
|
|
15
|
+
* expressed in UTC format
|
|
16
|
+
* @property {string} endDate - The end date for filtering the jobs, expressed
|
|
17
|
+
* in UTC format
|
|
18
|
+
* @property {string} [status] - The status of the jobs to filter the results.
|
|
19
|
+
* @property {string} [bulkActionType] - Pecifies the type of job action being requested.
|
|
20
|
+
* @property {string} [searchKey] - A key or keyword used to search for specific jobs.
|
|
19
21
|
*/
|
|
20
22
|
/**
|
|
21
23
|
* @typedef BulkStateTransistionParam
|
|
22
|
-
* @property {OrderPlatformModel.
|
|
24
|
+
* @property {OrderPlatformModel.BulkStateTransistionRequestSchema} body
|
|
23
25
|
*/
|
|
24
26
|
/**
|
|
25
27
|
* @typedef CheckOrderStatusParam
|
|
26
28
|
* @property {OrderPlatformModel.OrderStatus} body
|
|
27
29
|
*/
|
|
28
30
|
/**
|
|
29
|
-
* @typedef
|
|
30
|
-
* @property {
|
|
31
|
-
* @property {string} receiver - Receiver Number
|
|
32
|
-
* @property {string} bagId - Bag Id for the query
|
|
33
|
-
* @property {string} [callerId] - Caller Id
|
|
34
|
-
* @property {string} [method] - Provider Method to Call
|
|
31
|
+
* @typedef CreateChannelConfigParam
|
|
32
|
+
* @property {OrderPlatformModel.CreateChannelConfigData} body
|
|
35
33
|
*/
|
|
36
34
|
/**
|
|
37
35
|
* @typedef CreateOrderParam
|
|
38
36
|
* @property {OrderPlatformModel.CreateOrderAPI} body
|
|
39
37
|
*/
|
|
40
38
|
/**
|
|
41
|
-
* @typedef
|
|
42
|
-
* @property {
|
|
39
|
+
* @typedef DispatchManifestsParam
|
|
40
|
+
* @property {OrderPlatformModel.DispatchManifest} body
|
|
43
41
|
*/
|
|
44
42
|
/**
|
|
45
43
|
* @typedef DownloadBulkActionTemplateParam
|
|
@@ -47,7 +45,7 @@ export = OrderPlatformValidator;
|
|
|
47
45
|
*/
|
|
48
46
|
/**
|
|
49
47
|
* @typedef DownloadLanesReportParam
|
|
50
|
-
* @property {OrderPlatformModel.
|
|
48
|
+
* @property {OrderPlatformModel.BulkReportsDownloadRequestSchema} body
|
|
51
49
|
*/
|
|
52
50
|
/**
|
|
53
51
|
* @typedef EInvoiceRetryParam
|
|
@@ -58,33 +56,46 @@ export = OrderPlatformValidator;
|
|
|
58
56
|
* @property {string} logId - Log Error ID
|
|
59
57
|
*/
|
|
60
58
|
/**
|
|
61
|
-
* @typedef
|
|
62
|
-
* @property {
|
|
59
|
+
* @typedef FailedOrderLogsParam
|
|
60
|
+
* @property {string} [applicationId] - Application ID
|
|
61
|
+
* @property {number} [pageNo] - Page Number
|
|
62
|
+
* @property {number} [pageSize] - Page Size
|
|
63
|
+
* @property {string} [searchType] - Search type for filter
|
|
64
|
+
* @property {string} [searchValue] - Search value for filter
|
|
63
65
|
*/
|
|
64
66
|
/**
|
|
65
67
|
* @typedef FetchRefundModeConfigParam
|
|
66
68
|
* @property {OrderPlatformModel.RefundModeConfigRequestPayload} body
|
|
67
69
|
*/
|
|
70
|
+
/**
|
|
71
|
+
* @typedef GenerateInvoiceIDParam
|
|
72
|
+
* @property {string} invoiceType - Mention the type of invoice id to generate
|
|
73
|
+
* @property {OrderPlatformModel.GenerateInvoiceIDRequestSchema} body
|
|
74
|
+
*/
|
|
68
75
|
/**
|
|
69
76
|
* @typedef GeneratePOSReceiptByOrderIdParam
|
|
70
77
|
* @property {string} orderId
|
|
71
78
|
* @property {string} [shipmentId]
|
|
72
79
|
* @property {string} [documentType]
|
|
73
80
|
*/
|
|
81
|
+
/**
|
|
82
|
+
* @typedef GenerateProcessManifestParam
|
|
83
|
+
* @property {OrderPlatformModel.ProcessManifestRequestSchema} body
|
|
84
|
+
*/
|
|
74
85
|
/**
|
|
75
86
|
* @typedef GetAllowedStateTransitionParam
|
|
76
|
-
* @property {string} orderingChannel -
|
|
77
|
-
* @property {string} status -
|
|
87
|
+
* @property {string} orderingChannel - The channel through which orders are placed.
|
|
88
|
+
* @property {string} status - The status key indicates the current status for
|
|
89
|
+
* which the API will provide a list of possible next state transitions.
|
|
78
90
|
*/
|
|
79
91
|
/** @typedef GetAllowedTemplatesForBulkParam */
|
|
80
92
|
/**
|
|
81
93
|
* @typedef GetAnnouncementsParam
|
|
82
|
-
* @property {string} [date] - Date On which the announcement is Active
|
|
83
|
-
* should in ISO Datetime format IST Time)
|
|
94
|
+
* @property {string} [date] - Date On which the announcement is Active.
|
|
84
95
|
*/
|
|
85
96
|
/**
|
|
86
97
|
* @typedef GetBagByIdParam
|
|
87
|
-
* @property {string} [bagId] -
|
|
98
|
+
* @property {string} [bagId] - Unique identifier of a bag
|
|
88
99
|
* @property {string} [channelBagId] - Id of application bag
|
|
89
100
|
* @property {string} [channelId] - Id of application
|
|
90
101
|
*/
|
|
@@ -105,8 +116,8 @@ export = OrderPlatformValidator;
|
|
|
105
116
|
* @typedef GetBulkShipmentExcelFileParam
|
|
106
117
|
* @property {string} [salesChannels] - Comma separated values of sales channel ids
|
|
107
118
|
* @property {string} [dpIds] - Comma separated values of delivery partner ids
|
|
108
|
-
* @property {string} [startDate] - UTC
|
|
109
|
-
* @property {string} [endDate] - UTC
|
|
119
|
+
* @property {string} [startDate] - Date time in UTC timezone as per ISO format.
|
|
120
|
+
* @property {string} [endDate] - Date time in UTC timezone as per ISO format.
|
|
110
121
|
* @property {string} [stores] - Comma separated values of store ids
|
|
111
122
|
* @property {string} [tags] - Comma separated values of tags
|
|
112
123
|
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
@@ -116,30 +127,20 @@ export = OrderPlatformValidator;
|
|
|
116
127
|
* @property {number} [pageNo]
|
|
117
128
|
* @property {number} [pageSize]
|
|
118
129
|
*/
|
|
119
|
-
/**
|
|
120
|
-
* @typedef GetFailedOrderLogsParam
|
|
121
|
-
* @property {number} [pageNo] - Page Number
|
|
122
|
-
* @property {number} [pageSize] - Page Size
|
|
123
|
-
* @property {string} [searchType] - Search type for filter
|
|
124
|
-
* @property {string} [searchValue] - Search value for filter
|
|
125
|
-
*/
|
|
130
|
+
/** @typedef GetChannelConfigParam */
|
|
126
131
|
/**
|
|
127
132
|
* @typedef GetFileByStatusParam
|
|
128
|
-
* @property {string} batchId
|
|
129
|
-
* @property {string} status
|
|
133
|
+
* @property {string} batchId - Batch Id to identify the bulk operation request.
|
|
134
|
+
* @property {string} status - The status of the jobs to filter the results.
|
|
130
135
|
* @property {string} fileType
|
|
131
|
-
* @property {string} [reportType]
|
|
132
|
-
*/
|
|
133
|
-
/**
|
|
134
|
-
* @typedef GetGlobalFiltersParam
|
|
135
|
-
* @property {string} showIn - Name of view to get filters for
|
|
136
|
+
* @property {string} [reportType] - The type of report to be downloaded.
|
|
136
137
|
*/
|
|
137
138
|
/**
|
|
138
139
|
* @typedef GetLaneConfigParam
|
|
139
140
|
* @property {string} [superLane] - Name of lane for which data is to be fetched
|
|
140
141
|
* @property {string} [groupEntity] - Name of group entity
|
|
141
142
|
* @property {string} [fromDate] - Start Date in DD-MM-YYYY format
|
|
142
|
-
* @property {string} [toDate]
|
|
143
|
+
* @property {string} [toDate] - End Date in DD-MM-YYYY format
|
|
143
144
|
* @property {string} [startDate] - UTC Start Date in ISO format
|
|
144
145
|
* @property {string} [endDate] - UTC End Date in ISO format
|
|
145
146
|
* @property {string} [dpIds] - Comma separated values of delivery partner ids
|
|
@@ -147,115 +148,144 @@ export = OrderPlatformValidator;
|
|
|
147
148
|
* @property {string} [salesChannels]
|
|
148
149
|
* @property {string} [paymentMode] - Comma separated values of payment modes
|
|
149
150
|
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
150
|
-
* @property {string} [searchType]
|
|
151
|
+
* @property {string} [searchType] - Search_type refers to the field that will
|
|
152
|
+
* be used as the target for the search operation
|
|
151
153
|
* @property {string} [searchValue]
|
|
152
154
|
* @property {string} [tags]
|
|
153
|
-
* @property {number} [timeToDispatch]
|
|
155
|
+
* @property {number} [timeToDispatch] - Time_to_dispatch refers to estimated SLA time.
|
|
154
156
|
* @property {string} [paymentMethods]
|
|
155
157
|
* @property {boolean} [myOrders]
|
|
156
158
|
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
157
159
|
* company order
|
|
158
|
-
* @property {string} [orderType]
|
|
160
|
+
* @property {string} [orderType] - Defines the specific journey a shipment will
|
|
161
|
+
* follow based on the application's operational needs and customer
|
|
162
|
+
* preferences. This field categorizes orders into distinct types, each
|
|
163
|
+
* associated with a unique processing flow. For example:
|
|
164
|
+
*
|
|
165
|
+
* - "HomeDelivery": The order goes through all the steps needed for delivery,
|
|
166
|
+
* from being packed to arriving at the customer’s address.
|
|
167
|
+
* - "PickAtStore": The order is prepared for pickup at the store, skipping
|
|
168
|
+
* shipping steps to make it ready faster for the customer to collect in person.
|
|
169
|
+
* - "Digital": This order type likely refers to orders that involve digital goods
|
|
170
|
+
* or services, such as software, digital subscriptions, e-books, online
|
|
171
|
+
* courses, or any other item that can be delivered electronically.
|
|
172
|
+
*/
|
|
173
|
+
/**
|
|
174
|
+
* @typedef GetManifestDetailsParam
|
|
175
|
+
* @property {string} manifestId - The unique identifier assigned to the manifest.
|
|
176
|
+
* @property {string} [dpIds] - Filter shipments with the specific Courier
|
|
177
|
+
* partner Ids which is a combination of courier partner extension and scheme Ids.
|
|
178
|
+
* @property {string} [endDate] - End date for the shipment search range in manifest.
|
|
179
|
+
* @property {string} [startDate] - Start date for the shipment search range in manifest.
|
|
180
|
+
* @property {number} [pageNo] - Page number for pagination.
|
|
181
|
+
* @property {number} [pageSize] - Number of records per page for pagination.
|
|
182
|
+
*/
|
|
183
|
+
/**
|
|
184
|
+
* @typedef GetManifestShipmentsParam
|
|
185
|
+
* @property {string} dpIds - Filter shipments with the specific Courier partner
|
|
186
|
+
* Ids which is a combination of courier partner extension and scheme Ids.
|
|
187
|
+
* @property {number} stores - Filter results based on specific store IDs.
|
|
188
|
+
* @property {string} toDate - End date for the shipment search range.
|
|
189
|
+
* @property {string} fromDate - Start date for the shipment search range.
|
|
190
|
+
* @property {string} [dpName] - Filter results based on specific courier partner name.
|
|
191
|
+
* @property {string} [salesChannels] - Filter results based on comma-separated
|
|
192
|
+
* list of sales channels.
|
|
193
|
+
* @property {string} [searchType] - Filter results based on search type.
|
|
194
|
+
* @property {string} [searchValue] - Filter results based on the search value.
|
|
195
|
+
* @property {number} [pageNo] - Page number for pagination.
|
|
196
|
+
* @property {number} [pageSize] - Number of records per page for pagination.
|
|
159
197
|
*/
|
|
160
198
|
/**
|
|
161
199
|
* @typedef GetManifestfiltersParam
|
|
162
200
|
* @property {string} view - Name of View
|
|
163
201
|
*/
|
|
202
|
+
/**
|
|
203
|
+
* @typedef GetManifestsParam
|
|
204
|
+
* @property {string} [status] - Filter for the status of manifests.
|
|
205
|
+
* @property {string} [startDate] - The starting date for filtering manifests in
|
|
206
|
+
* ISO format
|
|
207
|
+
* @property {string} [endDate] - The end date for filtering manifests in ISO format
|
|
208
|
+
* @property {string} [searchType] - Specifies the type of search to perform.
|
|
209
|
+
* @property {number} [storeId] - Filter to fetch manifests for a specific store
|
|
210
|
+
* by its ID.
|
|
211
|
+
* @property {string} [searchValue] - The value to search for based on the
|
|
212
|
+
* selected search type.
|
|
213
|
+
* @property {string} [dpIds] - A comma-separated list of courier partner IDs
|
|
214
|
+
* (DP IDs) to filter the manifests.
|
|
215
|
+
* @property {number} [pageNo] - The number of the page to fetch data.
|
|
216
|
+
* @property {number} [pageSize] - The number of records to return per page for
|
|
217
|
+
* pagination.
|
|
218
|
+
*/
|
|
164
219
|
/**
|
|
165
220
|
* @typedef GetOrderByIdParam
|
|
166
|
-
* @property {string} orderId
|
|
221
|
+
* @property {string} orderId
|
|
167
222
|
* @property {boolean} [myOrders]
|
|
168
223
|
* @property {boolean} [allowInactive] - Flag to allow inactive shipments
|
|
169
224
|
*/
|
|
170
225
|
/**
|
|
171
226
|
* @typedef GetOrdersParam
|
|
172
227
|
* @property {string} [lane] - Lane refers to a section where orders are
|
|
173
|
-
* assigned, indicating its grouping
|
|
228
|
+
* assigned, indicating its grouping.
|
|
174
229
|
* @property {string} [searchType] - Search_type refers to the field that will
|
|
175
|
-
* be used as the target for the search operation
|
|
176
|
-
* @property {string} [bagStatus] - Bag_status refers to
|
|
177
|
-
*
|
|
178
|
-
* @property {number} [timeToDispatch] - Time_to_dispatch refers to
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
* @property {string} [tags] - Tags
|
|
230
|
+
* be used as the target for the search operation.
|
|
231
|
+
* @property {string} [bagStatus] - Bag_status refers to status of the entity.
|
|
232
|
+
* Filters orders based on the status.
|
|
233
|
+
* @property {number} [timeToDispatch] - Time_to_dispatch refers to estimated SLA time.
|
|
234
|
+
* @property {string} [paymentMethods] - Comma separated values of payment
|
|
235
|
+
* methods that were used to place order.
|
|
236
|
+
* @property {string} [tags] - Tags refers to additional descriptive labels
|
|
182
237
|
* associated with the order
|
|
183
238
|
* @property {string} [searchValue] - Search_value is matched against the field
|
|
184
239
|
* specified by the search_type
|
|
185
|
-
* @property {string} [fromDate]
|
|
186
|
-
* @property {string} [toDate]
|
|
187
|
-
* @property {string} [startDate]
|
|
188
|
-
* @property {string} [endDate]
|
|
240
|
+
* @property {string} [fromDate] - Date time in UTC timezone as per ISO format.
|
|
241
|
+
* @property {string} [toDate] - Date time in UTC timezone as per ISO format.
|
|
242
|
+
* @property {string} [startDate] - Date time in UTC timezone as per ISO format.
|
|
243
|
+
* @property {string} [endDate] - Date time in UTC timezone as per ISO format.
|
|
189
244
|
* @property {string} [dpIds] - Delivery Partner IDs to which shipments are assigned.
|
|
190
|
-
* @property {string} [stores]
|
|
191
|
-
*
|
|
192
|
-
* @property {
|
|
193
|
-
*
|
|
245
|
+
* @property {string} [stores] - A comma-separated list of store IDs used to
|
|
246
|
+
* filter results to only those related to specific stores.
|
|
247
|
+
* @property {string} [salesChannels] - A comma-separated list of sales channel
|
|
248
|
+
* IDs to filter results based on the sales channels involved.
|
|
249
|
+
* @property {number} [pageNo] - Specifies the page number for paginated results.
|
|
250
|
+
* @property {number} [pageSize] - Determines the number of results returned per page.
|
|
194
251
|
* @property {boolean} [isPrioritySort]
|
|
195
|
-
* @property {
|
|
252
|
+
* @property {string} [customMeta]
|
|
196
253
|
* @property {boolean} [myOrders]
|
|
197
254
|
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
198
255
|
* company order
|
|
199
|
-
* @property {string} [customerId]
|
|
256
|
+
* @property {string} [customerId] - The unique identifier for the customer
|
|
257
|
+
* associated with the query, useful for filtering results to a specific customer.
|
|
200
258
|
* @property {string} [orderType]
|
|
201
|
-
* @property {
|
|
202
|
-
*
|
|
203
|
-
* operational statuses.
|
|
204
|
-
* @property {string} [financialStatus] - Statuses relating to finance related
|
|
205
|
-
* operations in the order processing journey. Comma separated values of
|
|
206
|
-
* financial statuses.
|
|
207
|
-
* @property {string} [logisticsStatus] - Statuses relating to delivery and
|
|
208
|
-
* pickup related operations in the order processing journey. Comma separated
|
|
209
|
-
* values of logistics statuses.
|
|
210
|
-
* @property {string} [parentViewSlug] - Parent view is used for grouping of
|
|
211
|
-
* child views. Slug of parent view.
|
|
212
|
-
* @property {string} [childViewSlug] - Child view is user configured view,
|
|
213
|
-
* which has filters added by the user on which shipments/orders are fetched.
|
|
214
|
-
* Slug of child view.
|
|
259
|
+
* @property {boolean} [allowInactive] - Flag indicating whether inactive
|
|
260
|
+
* shipments are allowed
|
|
215
261
|
* @property {string} [groupEntity] - Defines the grouping criterion for
|
|
216
262
|
* retrieving shipments or orders. It specifies whether the results should be
|
|
217
263
|
* organized based on shipment groups or order groups. For example, using
|
|
218
264
|
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
219
265
|
* may not be recognized, leading to errors or default behavior.
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
*
|
|
223
|
-
* @property {string}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
* @typedef GetRefundOptionsParam
|
|
228
|
-
* @property {string} shipmentId - ID of the shipment. An order may contain
|
|
229
|
-
* multiple items and may get divided into one or more shipment, each having
|
|
230
|
-
* its own ID.
|
|
231
|
-
* @property {string} [bagIds] - It is the bag_id of the bags with comma separated.
|
|
232
|
-
* @property {string} [state] - It is the desired state at which refund amount
|
|
233
|
-
* needs to be calculated.
|
|
234
|
-
* @property {string} [optinAppId] - It is affiliate id of the order in case of
|
|
235
|
-
* cross selling.
|
|
236
|
-
* @property {number} [optinCompanyId] - It is company id of the order in case
|
|
237
|
-
* of cross selling.
|
|
238
|
-
* @property {string} [status] - It specifies the desired status to which the
|
|
239
|
-
* shipment should be updated. It represents the next step in the shipment's
|
|
240
|
-
* lifecycle, such as being cancelled by the customer or moved to another
|
|
241
|
-
* status in the shipping process.
|
|
242
|
-
*/
|
|
243
|
-
/**
|
|
244
|
-
* @typedef GetRefundStateConfigurationParam
|
|
245
|
-
* @property {string} appId
|
|
266
|
+
* @property {boolean} [enforceDateFilter] - Applies a date filter for listing
|
|
267
|
+
* orders. This is useful when fetching data for a specific date range while
|
|
268
|
+
* performing searches.
|
|
269
|
+
* @property {string} [fulfillmentType] - Define the Fulfillment Type for
|
|
270
|
+
* Listing Orders, This is use when we want to get list of shipments or orders
|
|
271
|
+
* by cross store or cross company or fulfilling Store (by default), this is
|
|
272
|
+
* also depends on the login user accessType and store access
|
|
246
273
|
*/
|
|
247
274
|
/** @typedef GetRoleBasedActionsParam */
|
|
248
275
|
/**
|
|
249
276
|
* @typedef GetShipmentByIdParam
|
|
250
|
-
* @property {string} [channelShipmentId] -
|
|
251
|
-
*
|
|
277
|
+
* @property {string} [channelShipmentId] - The shipment ID used in the
|
|
278
|
+
* application, which can be used to reference specific shipments.
|
|
279
|
+
* @property {string} [shipmentId] - The unique identifier for a shipment.
|
|
252
280
|
* @property {boolean} [fetchActiveShipment] - Flag to fetch active or
|
|
253
281
|
* deactivated shipments
|
|
282
|
+
* @property {boolean} [allowInactive] - Flag indicating whether inactive
|
|
283
|
+
* shipments are allowed
|
|
254
284
|
*/
|
|
255
285
|
/**
|
|
256
286
|
* @typedef GetShipmentHistoryParam
|
|
257
|
-
* @property {string} [shipmentId] -
|
|
258
|
-
* @property {number} [bagId] -
|
|
287
|
+
* @property {string} [shipmentId] - Identifier for the shipment
|
|
288
|
+
* @property {number} [bagId] - Identifier for a bag or product.
|
|
259
289
|
*/
|
|
260
290
|
/**
|
|
261
291
|
* @typedef GetShipmentReasonsParam
|
|
@@ -269,68 +299,92 @@ export = OrderPlatformValidator;
|
|
|
269
299
|
/**
|
|
270
300
|
* @typedef GetShipmentsParam
|
|
271
301
|
* @property {string} [lane] - Name of lane for which data is to be fetched
|
|
272
|
-
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
302
|
+
* @property {string} [bagStatus] - Comma separated values of bag statuses.
|
|
303
|
+
* @property {string} [statusAssigned] - Used to filter shipments based on
|
|
304
|
+
* status present in shipment_status_history. For more information on these
|
|
305
|
+
* statuses, refer to the Fynd Partners documentation.
|
|
273
306
|
* @property {boolean} [statusOverrideLane] - Use this flag to fetch by
|
|
274
|
-
* bag_status and override lane
|
|
275
|
-
* @property {number} [timeToDispatch]
|
|
276
|
-
* @property {string} [searchType] -
|
|
277
|
-
*
|
|
307
|
+
* bag_status and override lane.
|
|
308
|
+
* @property {number} [timeToDispatch] - Indicates the time to dispatch.
|
|
309
|
+
* @property {string} [searchType] - Specifies the key used to determine the
|
|
310
|
+
* type of search being performed.
|
|
311
|
+
* @property {string} [searchValue] - The value corresponding to the search
|
|
312
|
+
* type, such as a specific shipment ID or order ID.
|
|
278
313
|
* @property {string} [fromDate] - Start Date in DD-MM-YYYY format
|
|
279
314
|
* @property {string} [toDate] - End Date in DD-MM-YYYY format
|
|
280
|
-
* @property {string} [startDate] - UTC
|
|
281
|
-
*
|
|
282
|
-
* @property {string} [
|
|
283
|
-
*
|
|
284
|
-
* @property {string} [
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
*
|
|
288
|
-
*
|
|
289
|
-
* @property {
|
|
290
|
-
*
|
|
291
|
-
*
|
|
292
|
-
*
|
|
293
|
-
* @property {string} [
|
|
294
|
-
*
|
|
295
|
-
* @property {string} [
|
|
296
|
-
*
|
|
297
|
-
* @property {string} [
|
|
298
|
-
*
|
|
299
|
-
* @property {
|
|
300
|
-
*
|
|
301
|
-
* @property {
|
|
302
|
-
*
|
|
303
|
-
* @property {
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
* @property {string} [
|
|
308
|
-
*
|
|
309
|
-
*
|
|
310
|
-
* @property {string} [
|
|
311
|
-
*
|
|
312
|
-
*
|
|
313
|
-
* @property {string} [
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
* @property {string} [
|
|
315
|
+
* @property {string} [startDate] - The UTC start date in ISO format
|
|
316
|
+
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
|
|
317
|
+
* @property {string} [endDate] - The UTC end date in ISO format
|
|
318
|
+
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
|
|
319
|
+
* @property {string} [statusAssignedStartDate] - Specifies the starting UTC
|
|
320
|
+
* date and time (in ISO format, YYYY-MM-DDTHH:MM:SSZ) to define the lower
|
|
321
|
+
* boundary for filtering shipments based on the `created_at` timestamp of
|
|
322
|
+
* statuses in the shipment's status history. It allows filtering statuses
|
|
323
|
+
* that were created within a specific time range.
|
|
324
|
+
* @property {string} [statusAssignedEndDate] - Specifies the ending UTC date
|
|
325
|
+
* and time (in ISO format, YYYY-MM-DDTHH:MM:SSZ) to define the upper boundary
|
|
326
|
+
* for filtering shipments based on the `created_at` timestamp of statuses in
|
|
327
|
+
* the shipment's status history.
|
|
328
|
+
* @property {string} [dpIds] - A comma-separated list of delivery partner IDs
|
|
329
|
+
* to filter results by specific delivery partners.
|
|
330
|
+
* @property {string} [stores] - A comma-separated list of store IDs used to
|
|
331
|
+
* filter results to only those related to specific stores.
|
|
332
|
+
* @property {string} [salesChannels] - A comma-separated list of sales channel
|
|
333
|
+
* IDs to filter results based on the sales channels involved.
|
|
334
|
+
* @property {number} [pageNo] - Specifies the page number for paginated results.
|
|
335
|
+
* @property {number} [pageSize] - Determines the number of results returned per page.
|
|
336
|
+
* @property {boolean} [fetchActiveShipment] - A boolean flag that indicates
|
|
337
|
+
* whether to include only active shipments in the results.
|
|
338
|
+
* @property {boolean} [allowInactive] - A flag indicating whether to allow the
|
|
339
|
+
* inclusion of inactive shipments in the results.
|
|
340
|
+
* @property {boolean} [excludeLockedShipments] - A flag to specify whether to
|
|
341
|
+
* exclude shipments that are locked from the results.
|
|
342
|
+
* @property {string} [paymentMethods] - A comma-separated list of payment methods.
|
|
343
|
+
* @property {string} [channelShipmentId] - The shipment ID used in the
|
|
344
|
+
* application, which can be used to reference specific shipments.
|
|
345
|
+
* @property {string} [channelOrderId] - The order ID used in the application.
|
|
346
|
+
* @property {string} [customMeta] - Custom metadata associated with the query,
|
|
347
|
+
* allowing for additional filtering or information to be passed.
|
|
348
|
+
* @property {string} [orderingChannel] - The channel through which the order was placed.
|
|
349
|
+
* @property {string} [companyAffiliateTag] - A tag used to identify the
|
|
350
|
+
* company's affiliation for filtering or reporting purposes.
|
|
351
|
+
* @property {boolean} [myOrders] - A boolean flag indicating whether the query
|
|
352
|
+
* should return only the user's orders.
|
|
353
|
+
* @property {string} [platformUserId] - The unique identifier of the user on
|
|
354
|
+
* the platform, useful for filtering orders related to a specific user.
|
|
355
|
+
* @property {string} [sortType] - Determines the sorting order of the results
|
|
356
|
+
* based on specific criteria.
|
|
357
|
+
* @property {boolean} [showCrossCompanyData] - A flag indicating whether to
|
|
358
|
+
* include data from both cross-company and non-cross-company orders in the results.
|
|
359
|
+
* @property {string} [tags] - A comma-separated list of tags associated with
|
|
360
|
+
* the orders to filter results based on specific characteristics.
|
|
361
|
+
* @property {string} [customerId] - The unique identifier for the customer
|
|
362
|
+
* associated with the query, useful for filtering results to a specific customer.
|
|
363
|
+
* @property {string} [orderType] - The type of order being queried.
|
|
319
364
|
* @property {string} [groupEntity] - Defines the grouping criterion for
|
|
320
365
|
* retrieving shipments or orders. It specifies whether the results should be
|
|
321
366
|
* organized based on shipment groups or order groups. For example, using
|
|
322
367
|
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
323
368
|
* may not be recognized, leading to errors or default behavior.
|
|
369
|
+
* @property {boolean} [enforceDateFilter] - Applies a date filter for listing
|
|
370
|
+
* shipments. This is useful when fetching data for a specific date range
|
|
371
|
+
* while performing searches.
|
|
372
|
+
* @property {string} [fulfillmentType] - Define the Fulfillment Type for
|
|
373
|
+
* Listing Orders, This is use when we want to get list of shipments or orders
|
|
374
|
+
* by cross store or cross company or fulfilling Store (by default), this is
|
|
375
|
+
* also depends on the login user accessType and store access
|
|
376
|
+
*/
|
|
377
|
+
/**
|
|
378
|
+
* @typedef GetStateManagerConfigParam
|
|
379
|
+
* @property {string} [appId] - The unique identifier of the application.
|
|
380
|
+
* @property {string} [orderingChannel] - The channel through which orders are placed.
|
|
381
|
+
* @property {string} [entity] - The entity for which the configuration is applied.
|
|
324
382
|
*/
|
|
325
383
|
/** @typedef GetStateTransitionMapParam */
|
|
326
384
|
/**
|
|
327
385
|
* @typedef GetTemplateParam
|
|
328
386
|
* @property {string} templateName
|
|
329
387
|
*/
|
|
330
|
-
/**
|
|
331
|
-
* @typedef GetUserViewsParam
|
|
332
|
-
* @property {string} showIn - Name of view to get filters for.
|
|
333
|
-
*/
|
|
334
388
|
/**
|
|
335
389
|
* @typedef GetfiltersParam
|
|
336
390
|
* @property {string} view - Name of view
|
|
@@ -342,22 +396,13 @@ export = OrderPlatformValidator;
|
|
|
342
396
|
*/
|
|
343
397
|
/**
|
|
344
398
|
* @typedef JobDetailsParam
|
|
345
|
-
* @property {string} batchId
|
|
399
|
+
* @property {string} batchId - A unique identifier for the batch associated
|
|
400
|
+
* with this bulk action.
|
|
346
401
|
*/
|
|
347
402
|
/**
|
|
348
403
|
* @typedef OrderUpdateParam
|
|
349
404
|
* @property {OrderPlatformModel.PlatformOrderUpdate} body
|
|
350
405
|
*/
|
|
351
|
-
/**
|
|
352
|
-
* @typedef PostRefundConfigurationParam
|
|
353
|
-
* @property {string} appId
|
|
354
|
-
* @property {OrderPlatformModel.RefundStateConfigurationManualSchema} body
|
|
355
|
-
*/
|
|
356
|
-
/**
|
|
357
|
-
* @typedef PostRefundStateConfigurationParam
|
|
358
|
-
* @property {string} appId
|
|
359
|
-
* @property {OrderPlatformModel.PostRefundStateConfiguration} body
|
|
360
|
-
*/
|
|
361
406
|
/**
|
|
362
407
|
* @typedef PostShipmentHistoryParam
|
|
363
408
|
* @property {OrderPlatformModel.PostShipmentHistory} body
|
|
@@ -376,23 +421,23 @@ export = OrderPlatformValidator;
|
|
|
376
421
|
*/
|
|
377
422
|
/**
|
|
378
423
|
* @typedef TrackShipmentParam
|
|
379
|
-
* @property {string} [shipmentId] -
|
|
424
|
+
* @property {string} [shipmentId] - Unique identifier of a shipment on the platform.
|
|
380
425
|
* @property {string} [awb] - AWB number
|
|
381
|
-
* @property {number} [pageNo] - Page number
|
|
382
|
-
* @property {number} [pageSize] -
|
|
426
|
+
* @property {number} [pageNo] - Page number for pagination.
|
|
427
|
+
* @property {number} [pageSize] - Number of records per page for pagination.
|
|
383
428
|
*/
|
|
384
429
|
/**
|
|
385
|
-
* @typedef
|
|
386
|
-
* @property {string}
|
|
387
|
-
* @property {OrderPlatformModel.
|
|
430
|
+
* @typedef UpdateAddressParam
|
|
431
|
+
* @property {string} shipmentId - Unique shipment no. that is auto-generated
|
|
432
|
+
* @property {OrderPlatformModel.UpdateAddressRequestBody} body
|
|
388
433
|
*/
|
|
389
434
|
/**
|
|
390
435
|
* @typedef UpdatePackagingDimensionsParam
|
|
391
436
|
* @property {OrderPlatformModel.UpdatePackagingDimensionsPayload} body
|
|
392
437
|
*/
|
|
393
438
|
/**
|
|
394
|
-
* @typedef
|
|
395
|
-
* @property {OrderPlatformModel.
|
|
439
|
+
* @typedef UpdatePaymentInfoParam
|
|
440
|
+
* @property {OrderPlatformModel.UpdateShipmentPaymentMode} body
|
|
396
441
|
*/
|
|
397
442
|
/**
|
|
398
443
|
* @typedef UpdateShipmentLockParam
|
|
@@ -400,27 +445,23 @@ export = OrderPlatformValidator;
|
|
|
400
445
|
*/
|
|
401
446
|
/**
|
|
402
447
|
* @typedef UpdateShipmentStatusParam
|
|
403
|
-
* @property {OrderPlatformModel.
|
|
448
|
+
* @property {OrderPlatformModel.UpdateShipmentStatusRequestSchema} body
|
|
404
449
|
*/
|
|
405
450
|
/**
|
|
406
451
|
* @typedef UpdateShipmentTrackingParam
|
|
407
452
|
* @property {OrderPlatformModel.CourierPartnerTrackingDetails} body
|
|
408
453
|
*/
|
|
409
454
|
/**
|
|
410
|
-
* @typedef
|
|
411
|
-
* @property {OrderPlatformModel.
|
|
412
|
-
*/
|
|
413
|
-
/**
|
|
414
|
-
* @typedef UpdateUserViewsParam
|
|
415
|
-
* @property {OrderPlatformModel.UserViewsResponse} body
|
|
455
|
+
* @typedef UploadConsentsParam
|
|
456
|
+
* @property {OrderPlatformModel.UploadManifestConsent} body
|
|
416
457
|
*/
|
|
417
458
|
/**
|
|
418
459
|
* @typedef VerifyMobileOTPParam
|
|
419
460
|
* @property {OrderPlatformModel.VerifyMobileOTP} body
|
|
420
461
|
*/
|
|
421
462
|
declare class OrderPlatformValidator {
|
|
422
|
-
/** @returns {
|
|
423
|
-
static
|
|
463
|
+
/** @returns {AddStateManagerConfigParam} */
|
|
464
|
+
static addStateManagerConfig(): AddStateManagerConfigParam;
|
|
424
465
|
/** @returns {AttachOrderUserParam} */
|
|
425
466
|
static attachOrderUser(): AttachOrderUserParam;
|
|
426
467
|
/** @returns {BulkListingParam} */
|
|
@@ -429,12 +470,12 @@ declare class OrderPlatformValidator {
|
|
|
429
470
|
static bulkStateTransistion(): BulkStateTransistionParam;
|
|
430
471
|
/** @returns {CheckOrderStatusParam} */
|
|
431
472
|
static checkOrderStatus(): CheckOrderStatusParam;
|
|
432
|
-
/** @returns {
|
|
433
|
-
static
|
|
473
|
+
/** @returns {CreateChannelConfigParam} */
|
|
474
|
+
static createChannelConfig(): CreateChannelConfigParam;
|
|
434
475
|
/** @returns {CreateOrderParam} */
|
|
435
476
|
static createOrder(): CreateOrderParam;
|
|
436
|
-
/** @returns {
|
|
437
|
-
static
|
|
477
|
+
/** @returns {DispatchManifestsParam} */
|
|
478
|
+
static dispatchManifests(): DispatchManifestsParam;
|
|
438
479
|
/** @returns {DownloadBulkActionTemplateParam} */
|
|
439
480
|
static downloadBulkActionTemplate(): DownloadBulkActionTemplateParam;
|
|
440
481
|
/** @returns {DownloadLanesReportParam} */
|
|
@@ -443,12 +484,16 @@ declare class OrderPlatformValidator {
|
|
|
443
484
|
static eInvoiceRetry(): EInvoiceRetryParam;
|
|
444
485
|
/** @returns {FailedOrderLogDetailsParam} */
|
|
445
486
|
static failedOrderLogDetails(): FailedOrderLogDetailsParam;
|
|
446
|
-
/** @returns {
|
|
447
|
-
static
|
|
487
|
+
/** @returns {FailedOrderLogsParam} */
|
|
488
|
+
static failedOrderLogs(): FailedOrderLogsParam;
|
|
448
489
|
/** @returns {FetchRefundModeConfigParam} */
|
|
449
490
|
static fetchRefundModeConfig(): FetchRefundModeConfigParam;
|
|
491
|
+
/** @returns {GenerateInvoiceIDParam} */
|
|
492
|
+
static generateInvoiceID(): GenerateInvoiceIDParam;
|
|
450
493
|
/** @returns {GeneratePOSReceiptByOrderIdParam} */
|
|
451
494
|
static generatePOSReceiptByOrderId(): GeneratePOSReceiptByOrderIdParam;
|
|
495
|
+
/** @returns {GenerateProcessManifestParam} */
|
|
496
|
+
static generateProcessManifest(): GenerateProcessManifestParam;
|
|
452
497
|
/** @returns {GetAllowedStateTransitionParam} */
|
|
453
498
|
static getAllowedStateTransition(): GetAllowedStateTransitionParam;
|
|
454
499
|
/** @returns {GetAllowedTemplatesForBulkParam} */
|
|
@@ -463,28 +508,24 @@ declare class OrderPlatformValidator {
|
|
|
463
508
|
static getBulkActionTemplate(): any;
|
|
464
509
|
/** @returns {GetBulkShipmentExcelFileParam} */
|
|
465
510
|
static getBulkShipmentExcelFile(): GetBulkShipmentExcelFileParam;
|
|
466
|
-
/** @returns {
|
|
467
|
-
static
|
|
511
|
+
/** @returns {GetChannelConfigParam} */
|
|
512
|
+
static getChannelConfig(): any;
|
|
468
513
|
/** @returns {GetFileByStatusParam} */
|
|
469
514
|
static getFileByStatus(): GetFileByStatusParam;
|
|
470
|
-
/** @returns {GetGlobalFiltersParam} */
|
|
471
|
-
static getGlobalFilters(): GetGlobalFiltersParam;
|
|
472
515
|
/** @returns {GetLaneConfigParam} */
|
|
473
516
|
static getLaneConfig(): GetLaneConfigParam;
|
|
517
|
+
/** @returns {GetManifestDetailsParam} */
|
|
518
|
+
static getManifestDetails(): GetManifestDetailsParam;
|
|
519
|
+
/** @returns {GetManifestShipmentsParam} */
|
|
520
|
+
static getManifestShipments(): GetManifestShipmentsParam;
|
|
474
521
|
/** @returns {GetManifestfiltersParam} */
|
|
475
522
|
static getManifestfilters(): GetManifestfiltersParam;
|
|
523
|
+
/** @returns {GetManifestsParam} */
|
|
524
|
+
static getManifests(): GetManifestsParam;
|
|
476
525
|
/** @returns {GetOrderByIdParam} */
|
|
477
526
|
static getOrderById(): GetOrderByIdParam;
|
|
478
527
|
/** @returns {GetOrdersParam} */
|
|
479
528
|
static getOrders(): GetOrdersParam;
|
|
480
|
-
/** @returns {GetRefundConfigurationParam} */
|
|
481
|
-
static getRefundConfiguration(): GetRefundConfigurationParam;
|
|
482
|
-
/** @returns {GetRefundEnableStateListParam} */
|
|
483
|
-
static getRefundEnableStateList(): any;
|
|
484
|
-
/** @returns {GetRefundOptionsParam} */
|
|
485
|
-
static getRefundOptions(): GetRefundOptionsParam;
|
|
486
|
-
/** @returns {GetRefundStateConfigurationParam} */
|
|
487
|
-
static getRefundStateConfiguration(): GetRefundStateConfigurationParam;
|
|
488
529
|
/** @returns {GetRoleBasedActionsParam} */
|
|
489
530
|
static getRoleBasedActions(): any;
|
|
490
531
|
/** @returns {GetShipmentByIdParam} */
|
|
@@ -495,12 +536,12 @@ declare class OrderPlatformValidator {
|
|
|
495
536
|
static getShipmentReasons(): GetShipmentReasonsParam;
|
|
496
537
|
/** @returns {GetShipmentsParam} */
|
|
497
538
|
static getShipments(): GetShipmentsParam;
|
|
539
|
+
/** @returns {GetStateManagerConfigParam} */
|
|
540
|
+
static getStateManagerConfig(): GetStateManagerConfigParam;
|
|
498
541
|
/** @returns {GetStateTransitionMapParam} */
|
|
499
542
|
static getStateTransitionMap(): any;
|
|
500
543
|
/** @returns {GetTemplateParam} */
|
|
501
544
|
static getTemplate(): GetTemplateParam;
|
|
502
|
-
/** @returns {GetUserViewsParam} */
|
|
503
|
-
static getUserViews(): GetUserViewsParam;
|
|
504
545
|
/** @returns {GetfiltersParam} */
|
|
505
546
|
static getfilters(): GetfiltersParam;
|
|
506
547
|
/** @returns {InvalidateShipmentCacheParam} */
|
|
@@ -509,10 +550,6 @@ declare class OrderPlatformValidator {
|
|
|
509
550
|
static jobDetails(): JobDetailsParam;
|
|
510
551
|
/** @returns {OrderUpdateParam} */
|
|
511
552
|
static orderUpdate(): OrderUpdateParam;
|
|
512
|
-
/** @returns {PostRefundConfigurationParam} */
|
|
513
|
-
static postRefundConfiguration(): PostRefundConfigurationParam;
|
|
514
|
-
/** @returns {PostRefundStateConfigurationParam} */
|
|
515
|
-
static postRefundStateConfiguration(): PostRefundStateConfigurationParam;
|
|
516
553
|
/** @returns {PostShipmentHistoryParam} */
|
|
517
554
|
static postShipmentHistory(): PostShipmentHistoryParam;
|
|
518
555
|
/** @returns {ReassignLocationParam} */
|
|
@@ -523,100 +560,78 @@ declare class OrderPlatformValidator {
|
|
|
523
560
|
static sendUserMobileOTP(): SendUserMobileOTPParam;
|
|
524
561
|
/** @returns {TrackShipmentParam} */
|
|
525
562
|
static trackShipment(): TrackShipmentParam;
|
|
526
|
-
/** @returns {
|
|
527
|
-
static
|
|
563
|
+
/** @returns {UpdateAddressParam} */
|
|
564
|
+
static updateAddress(): UpdateAddressParam;
|
|
528
565
|
/** @returns {UpdatePackagingDimensionsParam} */
|
|
529
566
|
static updatePackagingDimensions(): UpdatePackagingDimensionsParam;
|
|
530
|
-
/** @returns {
|
|
531
|
-
static
|
|
567
|
+
/** @returns {UpdatePaymentInfoParam} */
|
|
568
|
+
static updatePaymentInfo(): UpdatePaymentInfoParam;
|
|
532
569
|
/** @returns {UpdateShipmentLockParam} */
|
|
533
570
|
static updateShipmentLock(): UpdateShipmentLockParam;
|
|
534
571
|
/** @returns {UpdateShipmentStatusParam} */
|
|
535
572
|
static updateShipmentStatus(): UpdateShipmentStatusParam;
|
|
536
573
|
/** @returns {UpdateShipmentTrackingParam} */
|
|
537
574
|
static updateShipmentTracking(): UpdateShipmentTrackingParam;
|
|
538
|
-
/** @returns {
|
|
539
|
-
static
|
|
540
|
-
/** @returns {UpdateUserViewsParam} */
|
|
541
|
-
static updateUserViews(): UpdateUserViewsParam;
|
|
575
|
+
/** @returns {UploadConsentsParam} */
|
|
576
|
+
static uploadConsents(): UploadConsentsParam;
|
|
542
577
|
/** @returns {VerifyMobileOTPParam} */
|
|
543
578
|
static verifyMobileOTP(): VerifyMobileOTPParam;
|
|
544
579
|
}
|
|
545
580
|
declare namespace OrderPlatformValidator {
|
|
546
|
-
export {
|
|
581
|
+
export { AddStateManagerConfigParam, AttachOrderUserParam, BulkListingParam, BulkStateTransistionParam, CheckOrderStatusParam, CreateChannelConfigParam, CreateOrderParam, DispatchManifestsParam, DownloadBulkActionTemplateParam, DownloadLanesReportParam, EInvoiceRetryParam, FailedOrderLogDetailsParam, FailedOrderLogsParam, FetchRefundModeConfigParam, GenerateInvoiceIDParam, GeneratePOSReceiptByOrderIdParam, GenerateProcessManifestParam, GetAllowedStateTransitionParam, GetAllowedTemplatesForBulkParam, GetAnnouncementsParam, GetBagByIdParam, GetBagsParam, GetBulkActionTemplateParam, GetBulkShipmentExcelFileParam, GetChannelConfigParam, GetFileByStatusParam, GetLaneConfigParam, GetManifestDetailsParam, GetManifestShipmentsParam, GetManifestfiltersParam, GetManifestsParam, GetOrderByIdParam, GetOrdersParam, GetRoleBasedActionsParam, GetShipmentByIdParam, GetShipmentHistoryParam, GetShipmentReasonsParam, GetShipmentsParam, GetStateManagerConfigParam, GetStateTransitionMapParam, GetTemplateParam, GetfiltersParam, InvalidateShipmentCacheParam, JobDetailsParam, OrderUpdateParam, PostShipmentHistoryParam, ReassignLocationParam, SendSmsNinjaParam, SendUserMobileOTPParam, TrackShipmentParam, UpdateAddressParam, UpdatePackagingDimensionsParam, UpdatePaymentInfoParam, UpdateShipmentLockParam, UpdateShipmentStatusParam, UpdateShipmentTrackingParam, UploadConsentsParam, VerifyMobileOTPParam };
|
|
547
582
|
}
|
|
548
|
-
type
|
|
549
|
-
body: OrderPlatformModel.
|
|
583
|
+
type AddStateManagerConfigParam = {
|
|
584
|
+
body: OrderPlatformModel.TransitionConfigPayload;
|
|
550
585
|
};
|
|
551
586
|
type AttachOrderUserParam = {
|
|
552
587
|
body: OrderPlatformModel.AttachOrderUser;
|
|
553
588
|
};
|
|
554
589
|
type BulkListingParam = {
|
|
555
590
|
/**
|
|
556
|
-
* -
|
|
591
|
+
* - The number of records to return per page in the response.
|
|
557
592
|
*/
|
|
558
593
|
pageSize: number;
|
|
559
594
|
/**
|
|
560
|
-
* -
|
|
595
|
+
* - The page number to fetch from the paginated results.
|
|
561
596
|
*/
|
|
562
597
|
pageNo: number;
|
|
563
598
|
/**
|
|
564
|
-
* -
|
|
599
|
+
* - The start date for filtering the jobs,
|
|
600
|
+
* expressed in UTC format
|
|
565
601
|
*/
|
|
566
|
-
startDate
|
|
602
|
+
startDate: string;
|
|
567
603
|
/**
|
|
568
|
-
* -
|
|
604
|
+
* - The end date for filtering the jobs, expressed
|
|
605
|
+
* in UTC format
|
|
569
606
|
*/
|
|
570
|
-
endDate
|
|
607
|
+
endDate: string;
|
|
571
608
|
/**
|
|
572
|
-
* -
|
|
609
|
+
* - The status of the jobs to filter the results.
|
|
573
610
|
*/
|
|
574
611
|
status?: string;
|
|
575
612
|
/**
|
|
576
|
-
* -
|
|
613
|
+
* - Pecifies the type of job action being requested.
|
|
577
614
|
*/
|
|
578
615
|
bulkActionType?: string;
|
|
579
616
|
/**
|
|
580
|
-
* -
|
|
617
|
+
* - A key or keyword used to search for specific jobs.
|
|
581
618
|
*/
|
|
582
619
|
searchKey?: string;
|
|
583
620
|
};
|
|
584
621
|
type BulkStateTransistionParam = {
|
|
585
|
-
body: OrderPlatformModel.
|
|
622
|
+
body: OrderPlatformModel.BulkStateTransistionRequestSchema;
|
|
586
623
|
};
|
|
587
624
|
type CheckOrderStatusParam = {
|
|
588
625
|
body: OrderPlatformModel.OrderStatus;
|
|
589
626
|
};
|
|
590
|
-
type
|
|
591
|
-
|
|
592
|
-
* - Call Number
|
|
593
|
-
*/
|
|
594
|
-
caller: string;
|
|
595
|
-
/**
|
|
596
|
-
* - Receiver Number
|
|
597
|
-
*/
|
|
598
|
-
receiver: string;
|
|
599
|
-
/**
|
|
600
|
-
* - Bag Id for the query
|
|
601
|
-
*/
|
|
602
|
-
bagId: string;
|
|
603
|
-
/**
|
|
604
|
-
* - Caller Id
|
|
605
|
-
*/
|
|
606
|
-
callerId?: string;
|
|
607
|
-
/**
|
|
608
|
-
* - Provider Method to Call
|
|
609
|
-
*/
|
|
610
|
-
method?: string;
|
|
627
|
+
type CreateChannelConfigParam = {
|
|
628
|
+
body: OrderPlatformModel.CreateChannelConfigData;
|
|
611
629
|
};
|
|
612
630
|
type CreateOrderParam = {
|
|
613
631
|
body: OrderPlatformModel.CreateOrderAPI;
|
|
614
632
|
};
|
|
615
|
-
type
|
|
616
|
-
|
|
617
|
-
* - Comma separated values of view ids
|
|
618
|
-
*/
|
|
619
|
-
viewId: string;
|
|
633
|
+
type DispatchManifestsParam = {
|
|
634
|
+
body: OrderPlatformModel.DispatchManifest;
|
|
620
635
|
};
|
|
621
636
|
type DownloadBulkActionTemplateParam = {
|
|
622
637
|
/**
|
|
@@ -625,7 +640,7 @@ type DownloadBulkActionTemplateParam = {
|
|
|
625
640
|
templateSlug?: string;
|
|
626
641
|
};
|
|
627
642
|
type DownloadLanesReportParam = {
|
|
628
|
-
body: OrderPlatformModel.
|
|
643
|
+
body: OrderPlatformModel.BulkReportsDownloadRequestSchema;
|
|
629
644
|
};
|
|
630
645
|
type EInvoiceRetryParam = {
|
|
631
646
|
body: OrderPlatformModel.EInvoiceRetry;
|
|
@@ -636,37 +651,66 @@ type FailedOrderLogDetailsParam = {
|
|
|
636
651
|
*/
|
|
637
652
|
logId: string;
|
|
638
653
|
};
|
|
639
|
-
type
|
|
640
|
-
|
|
654
|
+
type FailedOrderLogsParam = {
|
|
655
|
+
/**
|
|
656
|
+
* - Application ID
|
|
657
|
+
*/
|
|
658
|
+
applicationId?: string;
|
|
659
|
+
/**
|
|
660
|
+
* - Page Number
|
|
661
|
+
*/
|
|
662
|
+
pageNo?: number;
|
|
663
|
+
/**
|
|
664
|
+
* - Page Size
|
|
665
|
+
*/
|
|
666
|
+
pageSize?: number;
|
|
667
|
+
/**
|
|
668
|
+
* - Search type for filter
|
|
669
|
+
*/
|
|
670
|
+
searchType?: string;
|
|
671
|
+
/**
|
|
672
|
+
* - Search value for filter
|
|
673
|
+
*/
|
|
674
|
+
searchValue?: string;
|
|
641
675
|
};
|
|
642
676
|
type FetchRefundModeConfigParam = {
|
|
643
677
|
body: OrderPlatformModel.RefundModeConfigRequestPayload;
|
|
644
678
|
};
|
|
679
|
+
type GenerateInvoiceIDParam = {
|
|
680
|
+
/**
|
|
681
|
+
* - Mention the type of invoice id to generate
|
|
682
|
+
*/
|
|
683
|
+
invoiceType: string;
|
|
684
|
+
body: OrderPlatformModel.GenerateInvoiceIDRequestSchema;
|
|
685
|
+
};
|
|
645
686
|
type GeneratePOSReceiptByOrderIdParam = {
|
|
646
687
|
orderId: string;
|
|
647
688
|
shipmentId?: string;
|
|
648
689
|
documentType?: string;
|
|
649
690
|
};
|
|
691
|
+
type GenerateProcessManifestParam = {
|
|
692
|
+
body: OrderPlatformModel.ProcessManifestRequestSchema;
|
|
693
|
+
};
|
|
650
694
|
type GetAllowedStateTransitionParam = {
|
|
651
695
|
/**
|
|
652
|
-
* -
|
|
696
|
+
* - The channel through which orders are placed.
|
|
653
697
|
*/
|
|
654
698
|
orderingChannel: string;
|
|
655
699
|
/**
|
|
656
|
-
* -
|
|
700
|
+
* - The status key indicates the current status for
|
|
701
|
+
* which the API will provide a list of possible next state transitions.
|
|
657
702
|
*/
|
|
658
703
|
status: string;
|
|
659
704
|
};
|
|
660
705
|
type GetAnnouncementsParam = {
|
|
661
706
|
/**
|
|
662
|
-
* - Date On which the announcement is Active
|
|
663
|
-
* should in ISO Datetime format IST Time)
|
|
707
|
+
* - Date On which the announcement is Active.
|
|
664
708
|
*/
|
|
665
709
|
date?: string;
|
|
666
710
|
};
|
|
667
711
|
type GetBagByIdParam = {
|
|
668
712
|
/**
|
|
669
|
-
* -
|
|
713
|
+
* - Unique identifier of a bag
|
|
670
714
|
*/
|
|
671
715
|
bagId?: string;
|
|
672
716
|
/**
|
|
@@ -726,11 +770,11 @@ type GetBulkShipmentExcelFileParam = {
|
|
|
726
770
|
*/
|
|
727
771
|
dpIds?: string;
|
|
728
772
|
/**
|
|
729
|
-
* - UTC
|
|
773
|
+
* - Date time in UTC timezone as per ISO format.
|
|
730
774
|
*/
|
|
731
775
|
startDate?: string;
|
|
732
776
|
/**
|
|
733
|
-
* - UTC
|
|
777
|
+
* - Date time in UTC timezone as per ISO format.
|
|
734
778
|
*/
|
|
735
779
|
endDate?: string;
|
|
736
780
|
/**
|
|
@@ -760,35 +804,20 @@ type GetBulkShipmentExcelFileParam = {
|
|
|
760
804
|
pageNo?: number;
|
|
761
805
|
pageSize?: number;
|
|
762
806
|
};
|
|
763
|
-
type
|
|
764
|
-
/**
|
|
765
|
-
* - Page Number
|
|
766
|
-
*/
|
|
767
|
-
pageNo?: number;
|
|
768
|
-
/**
|
|
769
|
-
* - Page Size
|
|
770
|
-
*/
|
|
771
|
-
pageSize?: number;
|
|
807
|
+
type GetFileByStatusParam = {
|
|
772
808
|
/**
|
|
773
|
-
* -
|
|
809
|
+
* - Batch Id to identify the bulk operation request.
|
|
774
810
|
*/
|
|
775
|
-
|
|
811
|
+
batchId: string;
|
|
776
812
|
/**
|
|
777
|
-
* -
|
|
813
|
+
* - The status of the jobs to filter the results.
|
|
778
814
|
*/
|
|
779
|
-
searchValue?: string;
|
|
780
|
-
};
|
|
781
|
-
type GetFileByStatusParam = {
|
|
782
|
-
batchId: string;
|
|
783
815
|
status: string;
|
|
784
816
|
fileType: string;
|
|
785
|
-
reportType?: string;
|
|
786
|
-
};
|
|
787
|
-
type GetGlobalFiltersParam = {
|
|
788
817
|
/**
|
|
789
|
-
* -
|
|
818
|
+
* - The type of report to be downloaded.
|
|
790
819
|
*/
|
|
791
|
-
|
|
820
|
+
reportType?: string;
|
|
792
821
|
};
|
|
793
822
|
type GetLaneConfigParam = {
|
|
794
823
|
/**
|
|
@@ -803,6 +832,9 @@ type GetLaneConfigParam = {
|
|
|
803
832
|
* - Start Date in DD-MM-YYYY format
|
|
804
833
|
*/
|
|
805
834
|
fromDate?: string;
|
|
835
|
+
/**
|
|
836
|
+
* - End Date in DD-MM-YYYY format
|
|
837
|
+
*/
|
|
806
838
|
toDate?: string;
|
|
807
839
|
/**
|
|
808
840
|
* - UTC Start Date in ISO format
|
|
@@ -829,9 +861,16 @@ type GetLaneConfigParam = {
|
|
|
829
861
|
* - Comma separated values of bag statuses
|
|
830
862
|
*/
|
|
831
863
|
bagStatus?: string;
|
|
864
|
+
/**
|
|
865
|
+
* - Search_type refers to the field that will
|
|
866
|
+
* be used as the target for the search operation
|
|
867
|
+
*/
|
|
832
868
|
searchType?: string;
|
|
833
869
|
searchValue?: string;
|
|
834
870
|
tags?: string;
|
|
871
|
+
/**
|
|
872
|
+
* - Time_to_dispatch refers to estimated SLA time.
|
|
873
|
+
*/
|
|
835
874
|
timeToDispatch?: number;
|
|
836
875
|
paymentMethods?: string;
|
|
837
876
|
myOrders?: boolean;
|
|
@@ -840,18 +879,143 @@ type GetLaneConfigParam = {
|
|
|
840
879
|
* company order
|
|
841
880
|
*/
|
|
842
881
|
showCrossCompanyData?: boolean;
|
|
882
|
+
/**
|
|
883
|
+
* - Defines the specific journey a shipment will
|
|
884
|
+
* follow based on the application's operational needs and customer
|
|
885
|
+
* preferences. This field categorizes orders into distinct types, each
|
|
886
|
+
* associated with a unique processing flow. For example:
|
|
887
|
+
*
|
|
888
|
+
* - "HomeDelivery": The order goes through all the steps needed for delivery,
|
|
889
|
+
* from being packed to arriving at the customer’s address.
|
|
890
|
+
* - "PickAtStore": The order is prepared for pickup at the store, skipping
|
|
891
|
+
* shipping steps to make it ready faster for the customer to collect in person.
|
|
892
|
+
* - "Digital": This order type likely refers to orders that involve digital goods
|
|
893
|
+
* or services, such as software, digital subscriptions, e-books, online
|
|
894
|
+
* courses, or any other item that can be delivered electronically.
|
|
895
|
+
*/
|
|
843
896
|
orderType?: string;
|
|
844
897
|
};
|
|
898
|
+
type GetManifestDetailsParam = {
|
|
899
|
+
/**
|
|
900
|
+
* - The unique identifier assigned to the manifest.
|
|
901
|
+
*/
|
|
902
|
+
manifestId: string;
|
|
903
|
+
/**
|
|
904
|
+
* - Filter shipments with the specific Courier
|
|
905
|
+
* partner Ids which is a combination of courier partner extension and scheme Ids.
|
|
906
|
+
*/
|
|
907
|
+
dpIds?: string;
|
|
908
|
+
/**
|
|
909
|
+
* - End date for the shipment search range in manifest.
|
|
910
|
+
*/
|
|
911
|
+
endDate?: string;
|
|
912
|
+
/**
|
|
913
|
+
* - Start date for the shipment search range in manifest.
|
|
914
|
+
*/
|
|
915
|
+
startDate?: string;
|
|
916
|
+
/**
|
|
917
|
+
* - Page number for pagination.
|
|
918
|
+
*/
|
|
919
|
+
pageNo?: number;
|
|
920
|
+
/**
|
|
921
|
+
* - Number of records per page for pagination.
|
|
922
|
+
*/
|
|
923
|
+
pageSize?: number;
|
|
924
|
+
};
|
|
925
|
+
type GetManifestShipmentsParam = {
|
|
926
|
+
/**
|
|
927
|
+
* - Filter shipments with the specific Courier partner
|
|
928
|
+
* Ids which is a combination of courier partner extension and scheme Ids.
|
|
929
|
+
*/
|
|
930
|
+
dpIds: string;
|
|
931
|
+
/**
|
|
932
|
+
* - Filter results based on specific store IDs.
|
|
933
|
+
*/
|
|
934
|
+
stores: number;
|
|
935
|
+
/**
|
|
936
|
+
* - End date for the shipment search range.
|
|
937
|
+
*/
|
|
938
|
+
toDate: string;
|
|
939
|
+
/**
|
|
940
|
+
* - Start date for the shipment search range.
|
|
941
|
+
*/
|
|
942
|
+
fromDate: string;
|
|
943
|
+
/**
|
|
944
|
+
* - Filter results based on specific courier partner name.
|
|
945
|
+
*/
|
|
946
|
+
dpName?: string;
|
|
947
|
+
/**
|
|
948
|
+
* - Filter results based on comma-separated
|
|
949
|
+
* list of sales channels.
|
|
950
|
+
*/
|
|
951
|
+
salesChannels?: string;
|
|
952
|
+
/**
|
|
953
|
+
* - Filter results based on search type.
|
|
954
|
+
*/
|
|
955
|
+
searchType?: string;
|
|
956
|
+
/**
|
|
957
|
+
* - Filter results based on the search value.
|
|
958
|
+
*/
|
|
959
|
+
searchValue?: string;
|
|
960
|
+
/**
|
|
961
|
+
* - Page number for pagination.
|
|
962
|
+
*/
|
|
963
|
+
pageNo?: number;
|
|
964
|
+
/**
|
|
965
|
+
* - Number of records per page for pagination.
|
|
966
|
+
*/
|
|
967
|
+
pageSize?: number;
|
|
968
|
+
};
|
|
845
969
|
type GetManifestfiltersParam = {
|
|
846
970
|
/**
|
|
847
971
|
* - Name of View
|
|
848
972
|
*/
|
|
849
973
|
view: string;
|
|
850
974
|
};
|
|
851
|
-
type
|
|
975
|
+
type GetManifestsParam = {
|
|
976
|
+
/**
|
|
977
|
+
* - Filter for the status of manifests.
|
|
978
|
+
*/
|
|
979
|
+
status?: string;
|
|
980
|
+
/**
|
|
981
|
+
* - The starting date for filtering manifests in
|
|
982
|
+
* ISO format
|
|
983
|
+
*/
|
|
984
|
+
startDate?: string;
|
|
985
|
+
/**
|
|
986
|
+
* - The end date for filtering manifests in ISO format
|
|
987
|
+
*/
|
|
988
|
+
endDate?: string;
|
|
989
|
+
/**
|
|
990
|
+
* - Specifies the type of search to perform.
|
|
991
|
+
*/
|
|
992
|
+
searchType?: string;
|
|
993
|
+
/**
|
|
994
|
+
* - Filter to fetch manifests for a specific store
|
|
995
|
+
* by its ID.
|
|
996
|
+
*/
|
|
997
|
+
storeId?: number;
|
|
998
|
+
/**
|
|
999
|
+
* - The value to search for based on the
|
|
1000
|
+
* selected search type.
|
|
1001
|
+
*/
|
|
1002
|
+
searchValue?: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* - A comma-separated list of courier partner IDs
|
|
1005
|
+
* (DP IDs) to filter the manifests.
|
|
1006
|
+
*/
|
|
1007
|
+
dpIds?: string;
|
|
1008
|
+
/**
|
|
1009
|
+
* - The number of the page to fetch data.
|
|
1010
|
+
*/
|
|
1011
|
+
pageNo?: number;
|
|
852
1012
|
/**
|
|
853
|
-
* -
|
|
1013
|
+
* - The number of records to return per page for
|
|
1014
|
+
* pagination.
|
|
854
1015
|
*/
|
|
1016
|
+
pageSize?: number;
|
|
1017
|
+
};
|
|
1018
|
+
type GetOrderByIdParam = {
|
|
855
1019
|
orderId: string;
|
|
856
1020
|
myOrders?: boolean;
|
|
857
1021
|
/**
|
|
@@ -862,27 +1026,30 @@ type GetOrderByIdParam = {
|
|
|
862
1026
|
type GetOrdersParam = {
|
|
863
1027
|
/**
|
|
864
1028
|
* - Lane refers to a section where orders are
|
|
865
|
-
* assigned, indicating its grouping
|
|
1029
|
+
* assigned, indicating its grouping.
|
|
866
1030
|
*/
|
|
867
1031
|
lane?: string;
|
|
868
1032
|
/**
|
|
869
1033
|
* - Search_type refers to the field that will
|
|
870
|
-
* be used as the target for the search operation
|
|
1034
|
+
* be used as the target for the search operation.
|
|
871
1035
|
*/
|
|
872
1036
|
searchType?: string;
|
|
873
1037
|
/**
|
|
874
|
-
* - Bag_status refers to
|
|
875
|
-
*
|
|
1038
|
+
* - Bag_status refers to status of the entity.
|
|
1039
|
+
* Filters orders based on the status.
|
|
876
1040
|
*/
|
|
877
1041
|
bagStatus?: string;
|
|
878
1042
|
/**
|
|
879
|
-
* - Time_to_dispatch refers to
|
|
880
|
-
* estimated SLA time.
|
|
1043
|
+
* - Time_to_dispatch refers to estimated SLA time.
|
|
881
1044
|
*/
|
|
882
1045
|
timeToDispatch?: number;
|
|
1046
|
+
/**
|
|
1047
|
+
* - Comma separated values of payment
|
|
1048
|
+
* methods that were used to place order.
|
|
1049
|
+
*/
|
|
883
1050
|
paymentMethods?: string;
|
|
884
1051
|
/**
|
|
885
|
-
* - Tags
|
|
1052
|
+
* - Tags refers to additional descriptive labels
|
|
886
1053
|
* associated with the order
|
|
887
1054
|
*/
|
|
888
1055
|
tags?: string;
|
|
@@ -891,57 +1058,63 @@ type GetOrdersParam = {
|
|
|
891
1058
|
* specified by the search_type
|
|
892
1059
|
*/
|
|
893
1060
|
searchValue?: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* - Date time in UTC timezone as per ISO format.
|
|
1063
|
+
*/
|
|
894
1064
|
fromDate?: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* - Date time in UTC timezone as per ISO format.
|
|
1067
|
+
*/
|
|
895
1068
|
toDate?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* - Date time in UTC timezone as per ISO format.
|
|
1071
|
+
*/
|
|
896
1072
|
startDate?: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* - Date time in UTC timezone as per ISO format.
|
|
1075
|
+
*/
|
|
897
1076
|
endDate?: string;
|
|
898
1077
|
/**
|
|
899
1078
|
* - Delivery Partner IDs to which shipments are assigned.
|
|
900
1079
|
*/
|
|
901
1080
|
dpIds?: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* - A comma-separated list of store IDs used to
|
|
1083
|
+
* filter results to only those related to specific stores.
|
|
1084
|
+
*/
|
|
902
1085
|
stores?: string;
|
|
1086
|
+
/**
|
|
1087
|
+
* - A comma-separated list of sales channel
|
|
1088
|
+
* IDs to filter results based on the sales channels involved.
|
|
1089
|
+
*/
|
|
903
1090
|
salesChannels?: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* - Specifies the page number for paginated results.
|
|
1093
|
+
*/
|
|
904
1094
|
pageNo?: number;
|
|
1095
|
+
/**
|
|
1096
|
+
* - Determines the number of results returned per page.
|
|
1097
|
+
*/
|
|
905
1098
|
pageSize?: number;
|
|
906
1099
|
isPrioritySort?: boolean;
|
|
907
|
-
customMeta?:
|
|
1100
|
+
customMeta?: string;
|
|
908
1101
|
myOrders?: boolean;
|
|
909
1102
|
/**
|
|
910
1103
|
* - Flag to view cross & non-cross
|
|
911
1104
|
* company order
|
|
912
1105
|
*/
|
|
913
1106
|
showCrossCompanyData?: boolean;
|
|
914
|
-
customerId?: string;
|
|
915
|
-
orderType?: string;
|
|
916
1107
|
/**
|
|
917
|
-
* -
|
|
918
|
-
*
|
|
919
|
-
* operational statuses.
|
|
1108
|
+
* - The unique identifier for the customer
|
|
1109
|
+
* associated with the query, useful for filtering results to a specific customer.
|
|
920
1110
|
*/
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
* - Statuses relating to finance related
|
|
924
|
-
* operations in the order processing journey. Comma separated values of
|
|
925
|
-
* financial statuses.
|
|
926
|
-
*/
|
|
927
|
-
financialStatus?: string;
|
|
928
|
-
/**
|
|
929
|
-
* - Statuses relating to delivery and
|
|
930
|
-
* pickup related operations in the order processing journey. Comma separated
|
|
931
|
-
* values of logistics statuses.
|
|
932
|
-
*/
|
|
933
|
-
logisticsStatus?: string;
|
|
934
|
-
/**
|
|
935
|
-
* - Parent view is used for grouping of
|
|
936
|
-
* child views. Slug of parent view.
|
|
937
|
-
*/
|
|
938
|
-
parentViewSlug?: string;
|
|
1111
|
+
customerId?: string;
|
|
1112
|
+
orderType?: string;
|
|
939
1113
|
/**
|
|
940
|
-
* -
|
|
941
|
-
*
|
|
942
|
-
* Slug of child view.
|
|
1114
|
+
* - Flag indicating whether inactive
|
|
1115
|
+
* shipments are allowed
|
|
943
1116
|
*/
|
|
944
|
-
|
|
1117
|
+
allowInactive?: boolean;
|
|
945
1118
|
/**
|
|
946
1119
|
* - Defines the grouping criterion for
|
|
947
1120
|
* retrieving shipments or orders. It specifies whether the results should be
|
|
@@ -950,54 +1123,28 @@ type GetOrdersParam = {
|
|
|
950
1123
|
* may not be recognized, leading to errors or default behavior.
|
|
951
1124
|
*/
|
|
952
1125
|
groupEntity?: string;
|
|
953
|
-
};
|
|
954
|
-
type GetRefundConfigurationParam = {
|
|
955
|
-
appId: string;
|
|
956
|
-
};
|
|
957
|
-
type GetRefundOptionsParam = {
|
|
958
|
-
/**
|
|
959
|
-
* - ID of the shipment. An order may contain
|
|
960
|
-
* multiple items and may get divided into one or more shipment, each having
|
|
961
|
-
* its own ID.
|
|
962
|
-
*/
|
|
963
|
-
shipmentId: string;
|
|
964
|
-
/**
|
|
965
|
-
* - It is the bag_id of the bags with comma separated.
|
|
966
|
-
*/
|
|
967
|
-
bagIds?: string;
|
|
968
1126
|
/**
|
|
969
|
-
* -
|
|
970
|
-
*
|
|
1127
|
+
* - Applies a date filter for listing
|
|
1128
|
+
* orders. This is useful when fetching data for a specific date range while
|
|
1129
|
+
* performing searches.
|
|
971
1130
|
*/
|
|
972
|
-
|
|
1131
|
+
enforceDateFilter?: boolean;
|
|
973
1132
|
/**
|
|
974
|
-
* -
|
|
975
|
-
*
|
|
1133
|
+
* - Define the Fulfillment Type for
|
|
1134
|
+
* Listing Orders, This is use when we want to get list of shipments or orders
|
|
1135
|
+
* by cross store or cross company or fulfilling Store (by default), this is
|
|
1136
|
+
* also depends on the login user accessType and store access
|
|
976
1137
|
*/
|
|
977
|
-
|
|
978
|
-
/**
|
|
979
|
-
* - It is company id of the order in case
|
|
980
|
-
* of cross selling.
|
|
981
|
-
*/
|
|
982
|
-
optinCompanyId?: number;
|
|
983
|
-
/**
|
|
984
|
-
* - It specifies the desired status to which the
|
|
985
|
-
* shipment should be updated. It represents the next step in the shipment's
|
|
986
|
-
* lifecycle, such as being cancelled by the customer or moved to another
|
|
987
|
-
* status in the shipping process.
|
|
988
|
-
*/
|
|
989
|
-
status?: string;
|
|
990
|
-
};
|
|
991
|
-
type GetRefundStateConfigurationParam = {
|
|
992
|
-
appId: string;
|
|
1138
|
+
fulfillmentType?: string;
|
|
993
1139
|
};
|
|
994
1140
|
type GetShipmentByIdParam = {
|
|
995
1141
|
/**
|
|
996
|
-
* -
|
|
1142
|
+
* - The shipment ID used in the
|
|
1143
|
+
* application, which can be used to reference specific shipments.
|
|
997
1144
|
*/
|
|
998
1145
|
channelShipmentId?: string;
|
|
999
1146
|
/**
|
|
1000
|
-
* -
|
|
1147
|
+
* - The unique identifier for a shipment.
|
|
1001
1148
|
*/
|
|
1002
1149
|
shipmentId?: string;
|
|
1003
1150
|
/**
|
|
@@ -1005,14 +1152,19 @@ type GetShipmentByIdParam = {
|
|
|
1005
1152
|
* deactivated shipments
|
|
1006
1153
|
*/
|
|
1007
1154
|
fetchActiveShipment?: boolean;
|
|
1155
|
+
/**
|
|
1156
|
+
* - Flag indicating whether inactive
|
|
1157
|
+
* shipments are allowed
|
|
1158
|
+
*/
|
|
1159
|
+
allowInactive?: boolean;
|
|
1008
1160
|
};
|
|
1009
1161
|
type GetShipmentHistoryParam = {
|
|
1010
1162
|
/**
|
|
1011
|
-
* -
|
|
1163
|
+
* - Identifier for the shipment
|
|
1012
1164
|
*/
|
|
1013
1165
|
shipmentId?: string;
|
|
1014
1166
|
/**
|
|
1015
|
-
* -
|
|
1167
|
+
* - Identifier for a bag or product.
|
|
1016
1168
|
*/
|
|
1017
1169
|
bagId?: number;
|
|
1018
1170
|
};
|
|
@@ -1039,21 +1191,32 @@ type GetShipmentsParam = {
|
|
|
1039
1191
|
*/
|
|
1040
1192
|
lane?: string;
|
|
1041
1193
|
/**
|
|
1042
|
-
* - Comma separated values of bag statuses
|
|
1194
|
+
* - Comma separated values of bag statuses.
|
|
1043
1195
|
*/
|
|
1044
1196
|
bagStatus?: string;
|
|
1197
|
+
/**
|
|
1198
|
+
* - Used to filter shipments based on
|
|
1199
|
+
* status present in shipment_status_history. For more information on these
|
|
1200
|
+
* statuses, refer to the Fynd Partners documentation.
|
|
1201
|
+
*/
|
|
1202
|
+
statusAssigned?: string;
|
|
1045
1203
|
/**
|
|
1046
1204
|
* - Use this flag to fetch by
|
|
1047
|
-
* bag_status and override lane
|
|
1205
|
+
* bag_status and override lane.
|
|
1048
1206
|
*/
|
|
1049
1207
|
statusOverrideLane?: boolean;
|
|
1208
|
+
/**
|
|
1209
|
+
* - Indicates the time to dispatch.
|
|
1210
|
+
*/
|
|
1050
1211
|
timeToDispatch?: number;
|
|
1051
1212
|
/**
|
|
1052
|
-
* -
|
|
1213
|
+
* - Specifies the key used to determine the
|
|
1214
|
+
* type of search being performed.
|
|
1053
1215
|
*/
|
|
1054
1216
|
searchType?: string;
|
|
1055
1217
|
/**
|
|
1056
|
-
* -
|
|
1218
|
+
* - The value corresponding to the search
|
|
1219
|
+
* type, such as a specific shipment ID or order ID.
|
|
1057
1220
|
*/
|
|
1058
1221
|
searchValue?: string;
|
|
1059
1222
|
/**
|
|
@@ -1065,128 +1228,168 @@ type GetShipmentsParam = {
|
|
|
1065
1228
|
*/
|
|
1066
1229
|
toDate?: string;
|
|
1067
1230
|
/**
|
|
1068
|
-
* - UTC
|
|
1231
|
+
* - The UTC start date in ISO format
|
|
1232
|
+
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
|
|
1069
1233
|
*/
|
|
1070
1234
|
startDate?: string;
|
|
1071
1235
|
/**
|
|
1072
|
-
* - UTC
|
|
1236
|
+
* - The UTC end date in ISO format
|
|
1237
|
+
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
|
|
1073
1238
|
*/
|
|
1074
1239
|
endDate?: string;
|
|
1075
1240
|
/**
|
|
1076
|
-
* -
|
|
1241
|
+
* - Specifies the starting UTC
|
|
1242
|
+
* date and time (in ISO format, YYYY-MM-DDTHH:MM:SSZ) to define the lower
|
|
1243
|
+
* boundary for filtering shipments based on the `created_at` timestamp of
|
|
1244
|
+
* statuses in the shipment's status history. It allows filtering statuses
|
|
1245
|
+
* that were created within a specific time range.
|
|
1246
|
+
*/
|
|
1247
|
+
statusAssignedStartDate?: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* - Specifies the ending UTC date
|
|
1250
|
+
* and time (in ISO format, YYYY-MM-DDTHH:MM:SSZ) to define the upper boundary
|
|
1251
|
+
* for filtering shipments based on the `created_at` timestamp of statuses in
|
|
1252
|
+
* the shipment's status history.
|
|
1253
|
+
*/
|
|
1254
|
+
statusAssignedEndDate?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* - A comma-separated list of delivery partner IDs
|
|
1257
|
+
* to filter results by specific delivery partners.
|
|
1077
1258
|
*/
|
|
1078
1259
|
dpIds?: string;
|
|
1079
1260
|
/**
|
|
1080
|
-
* -
|
|
1261
|
+
* - A comma-separated list of store IDs used to
|
|
1262
|
+
* filter results to only those related to specific stores.
|
|
1081
1263
|
*/
|
|
1082
1264
|
stores?: string;
|
|
1083
1265
|
/**
|
|
1084
|
-
* -
|
|
1266
|
+
* - A comma-separated list of sales channel
|
|
1267
|
+
* IDs to filter results based on the sales channels involved.
|
|
1085
1268
|
*/
|
|
1086
1269
|
salesChannels?: string;
|
|
1087
1270
|
/**
|
|
1088
|
-
* -
|
|
1271
|
+
* - Specifies the page number for paginated results.
|
|
1089
1272
|
*/
|
|
1090
1273
|
pageNo?: number;
|
|
1091
1274
|
/**
|
|
1092
|
-
* -
|
|
1275
|
+
* - Determines the number of results returned per page.
|
|
1093
1276
|
*/
|
|
1094
1277
|
pageSize?: number;
|
|
1095
1278
|
/**
|
|
1096
|
-
* -
|
|
1279
|
+
* - A boolean flag that indicates
|
|
1280
|
+
* whether to include only active shipments in the results.
|
|
1097
1281
|
*/
|
|
1098
1282
|
fetchActiveShipment?: boolean;
|
|
1099
1283
|
/**
|
|
1100
|
-
* -
|
|
1284
|
+
* - A flag indicating whether to allow the
|
|
1285
|
+
* inclusion of inactive shipments in the results.
|
|
1101
1286
|
*/
|
|
1102
1287
|
allowInactive?: boolean;
|
|
1103
1288
|
/**
|
|
1104
|
-
* -
|
|
1289
|
+
* - A flag to specify whether to
|
|
1290
|
+
* exclude shipments that are locked from the results.
|
|
1105
1291
|
*/
|
|
1106
1292
|
excludeLockedShipments?: boolean;
|
|
1107
1293
|
/**
|
|
1108
|
-
* -
|
|
1294
|
+
* - A comma-separated list of payment methods.
|
|
1109
1295
|
*/
|
|
1110
1296
|
paymentMethods?: string;
|
|
1111
1297
|
/**
|
|
1112
|
-
* -
|
|
1298
|
+
* - The shipment ID used in the
|
|
1299
|
+
* application, which can be used to reference specific shipments.
|
|
1113
1300
|
*/
|
|
1114
1301
|
channelShipmentId?: string;
|
|
1115
1302
|
/**
|
|
1116
|
-
* -
|
|
1303
|
+
* - The order ID used in the application.
|
|
1117
1304
|
*/
|
|
1118
1305
|
channelOrderId?: string;
|
|
1306
|
+
/**
|
|
1307
|
+
* - Custom metadata associated with the query,
|
|
1308
|
+
* allowing for additional filtering or information to be passed.
|
|
1309
|
+
*/
|
|
1119
1310
|
customMeta?: string;
|
|
1311
|
+
/**
|
|
1312
|
+
* - The channel through which the order was placed.
|
|
1313
|
+
*/
|
|
1120
1314
|
orderingChannel?: string;
|
|
1315
|
+
/**
|
|
1316
|
+
* - A tag used to identify the
|
|
1317
|
+
* company's affiliation for filtering or reporting purposes.
|
|
1318
|
+
*/
|
|
1121
1319
|
companyAffiliateTag?: string;
|
|
1320
|
+
/**
|
|
1321
|
+
* - A boolean flag indicating whether the query
|
|
1322
|
+
* should return only the user's orders.
|
|
1323
|
+
*/
|
|
1122
1324
|
myOrders?: boolean;
|
|
1325
|
+
/**
|
|
1326
|
+
* - The unique identifier of the user on
|
|
1327
|
+
* the platform, useful for filtering orders related to a specific user.
|
|
1328
|
+
*/
|
|
1123
1329
|
platformUserId?: string;
|
|
1124
1330
|
/**
|
|
1125
|
-
* -
|
|
1331
|
+
* - Determines the sorting order of the results
|
|
1332
|
+
* based on specific criteria.
|
|
1126
1333
|
*/
|
|
1127
1334
|
sortType?: string;
|
|
1128
1335
|
/**
|
|
1129
|
-
* -
|
|
1130
|
-
* company
|
|
1336
|
+
* - A flag indicating whether to
|
|
1337
|
+
* include data from both cross-company and non-cross-company orders in the results.
|
|
1131
1338
|
*/
|
|
1132
1339
|
showCrossCompanyData?: boolean;
|
|
1133
1340
|
/**
|
|
1134
|
-
* -
|
|
1341
|
+
* - A comma-separated list of tags associated with
|
|
1342
|
+
* the orders to filter results based on specific characteristics.
|
|
1135
1343
|
*/
|
|
1136
1344
|
tags?: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* - The unique identifier for the customer
|
|
1347
|
+
* associated with the query, useful for filtering results to a specific customer.
|
|
1348
|
+
*/
|
|
1137
1349
|
customerId?: string;
|
|
1138
|
-
orderType?: string;
|
|
1139
1350
|
/**
|
|
1140
|
-
* -
|
|
1141
|
-
* transition in order processing journey. Comma separated values of
|
|
1142
|
-
* operational statuses.
|
|
1351
|
+
* - The type of order being queried.
|
|
1143
1352
|
*/
|
|
1144
|
-
|
|
1353
|
+
orderType?: string;
|
|
1145
1354
|
/**
|
|
1146
|
-
* -
|
|
1147
|
-
*
|
|
1148
|
-
*
|
|
1355
|
+
* - Defines the grouping criterion for
|
|
1356
|
+
* retrieving shipments or orders. It specifies whether the results should be
|
|
1357
|
+
* organized based on shipment groups or order groups. For example, using
|
|
1358
|
+
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
1359
|
+
* may not be recognized, leading to errors or default behavior.
|
|
1149
1360
|
*/
|
|
1150
|
-
|
|
1361
|
+
groupEntity?: string;
|
|
1151
1362
|
/**
|
|
1152
|
-
* -
|
|
1153
|
-
*
|
|
1154
|
-
*
|
|
1363
|
+
* - Applies a date filter for listing
|
|
1364
|
+
* shipments. This is useful when fetching data for a specific date range
|
|
1365
|
+
* while performing searches.
|
|
1155
1366
|
*/
|
|
1156
|
-
|
|
1367
|
+
enforceDateFilter?: boolean;
|
|
1157
1368
|
/**
|
|
1158
|
-
* -
|
|
1159
|
-
*
|
|
1369
|
+
* - Define the Fulfillment Type for
|
|
1370
|
+
* Listing Orders, This is use when we want to get list of shipments or orders
|
|
1371
|
+
* by cross store or cross company or fulfilling Store (by default), this is
|
|
1372
|
+
* also depends on the login user accessType and store access
|
|
1160
1373
|
*/
|
|
1161
|
-
|
|
1374
|
+
fulfillmentType?: string;
|
|
1375
|
+
};
|
|
1376
|
+
type GetStateManagerConfigParam = {
|
|
1162
1377
|
/**
|
|
1163
|
-
* -
|
|
1164
|
-
* has filters added by the user on which shipments/orders are fetched. Slug
|
|
1165
|
-
* of child view.
|
|
1378
|
+
* - The unique identifier of the application.
|
|
1166
1379
|
*/
|
|
1167
|
-
|
|
1380
|
+
appId?: string;
|
|
1168
1381
|
/**
|
|
1169
|
-
* -
|
|
1382
|
+
* - The channel through which orders are placed.
|
|
1170
1383
|
*/
|
|
1171
|
-
|
|
1384
|
+
orderingChannel?: string;
|
|
1172
1385
|
/**
|
|
1173
|
-
* -
|
|
1174
|
-
* retrieving shipments or orders. It specifies whether the results should be
|
|
1175
|
-
* organized based on shipment groups or order groups. For example, using
|
|
1176
|
-
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
1177
|
-
* may not be recognized, leading to errors or default behavior.
|
|
1386
|
+
* - The entity for which the configuration is applied.
|
|
1178
1387
|
*/
|
|
1179
|
-
|
|
1388
|
+
entity?: string;
|
|
1180
1389
|
};
|
|
1181
1390
|
type GetTemplateParam = {
|
|
1182
1391
|
templateName: string;
|
|
1183
1392
|
};
|
|
1184
|
-
type GetUserViewsParam = {
|
|
1185
|
-
/**
|
|
1186
|
-
* - Name of view to get filters for.
|
|
1187
|
-
*/
|
|
1188
|
-
showIn: string;
|
|
1189
|
-
};
|
|
1190
1393
|
type GetfiltersParam = {
|
|
1191
1394
|
/**
|
|
1192
1395
|
* - Name of view
|
|
@@ -1201,19 +1404,15 @@ type InvalidateShipmentCacheParam = {
|
|
|
1201
1404
|
body: OrderPlatformModel.InvalidateShipmentCachePayload;
|
|
1202
1405
|
};
|
|
1203
1406
|
type JobDetailsParam = {
|
|
1407
|
+
/**
|
|
1408
|
+
* - A unique identifier for the batch associated
|
|
1409
|
+
* with this bulk action.
|
|
1410
|
+
*/
|
|
1204
1411
|
batchId: string;
|
|
1205
1412
|
};
|
|
1206
1413
|
type OrderUpdateParam = {
|
|
1207
1414
|
body: OrderPlatformModel.PlatformOrderUpdate;
|
|
1208
1415
|
};
|
|
1209
|
-
type PostRefundConfigurationParam = {
|
|
1210
|
-
appId: string;
|
|
1211
|
-
body: OrderPlatformModel.RefundStateConfigurationManualSchema;
|
|
1212
|
-
};
|
|
1213
|
-
type PostRefundStateConfigurationParam = {
|
|
1214
|
-
appId: string;
|
|
1215
|
-
body: OrderPlatformModel.PostRefundStateConfiguration;
|
|
1216
|
-
};
|
|
1217
1416
|
type PostShipmentHistoryParam = {
|
|
1218
1417
|
body: OrderPlatformModel.PostShipmentHistory;
|
|
1219
1418
|
};
|
|
@@ -1228,7 +1427,7 @@ type SendUserMobileOTPParam = {
|
|
|
1228
1427
|
};
|
|
1229
1428
|
type TrackShipmentParam = {
|
|
1230
1429
|
/**
|
|
1231
|
-
* -
|
|
1430
|
+
* - Unique identifier of a shipment on the platform.
|
|
1232
1431
|
*/
|
|
1233
1432
|
shipmentId?: string;
|
|
1234
1433
|
/**
|
|
@@ -1236,45 +1435,45 @@ type TrackShipmentParam = {
|
|
|
1236
1435
|
*/
|
|
1237
1436
|
awb?: string;
|
|
1238
1437
|
/**
|
|
1239
|
-
* - Page number
|
|
1438
|
+
* - Page number for pagination.
|
|
1240
1439
|
*/
|
|
1241
1440
|
pageNo?: number;
|
|
1242
1441
|
/**
|
|
1243
|
-
* -
|
|
1442
|
+
* - Number of records per page for pagination.
|
|
1244
1443
|
*/
|
|
1245
1444
|
pageSize?: number;
|
|
1246
1445
|
};
|
|
1247
|
-
type
|
|
1248
|
-
|
|
1249
|
-
|
|
1446
|
+
type UpdateAddressParam = {
|
|
1447
|
+
/**
|
|
1448
|
+
* - Unique shipment no. that is auto-generated
|
|
1449
|
+
*/
|
|
1450
|
+
shipmentId: string;
|
|
1451
|
+
body: OrderPlatformModel.UpdateAddressRequestBody;
|
|
1250
1452
|
};
|
|
1251
1453
|
type UpdatePackagingDimensionsParam = {
|
|
1252
1454
|
body: OrderPlatformModel.UpdatePackagingDimensionsPayload;
|
|
1253
1455
|
};
|
|
1254
|
-
type
|
|
1255
|
-
body: OrderPlatformModel.
|
|
1456
|
+
type UpdatePaymentInfoParam = {
|
|
1457
|
+
body: OrderPlatformModel.UpdateShipmentPaymentMode;
|
|
1256
1458
|
};
|
|
1257
1459
|
type UpdateShipmentLockParam = {
|
|
1258
1460
|
body: OrderPlatformModel.UpdateShipmentLockPayload;
|
|
1259
1461
|
};
|
|
1260
1462
|
type UpdateShipmentStatusParam = {
|
|
1261
|
-
body: OrderPlatformModel.
|
|
1463
|
+
body: OrderPlatformModel.UpdateShipmentStatusRequestSchema;
|
|
1262
1464
|
};
|
|
1263
1465
|
type UpdateShipmentTrackingParam = {
|
|
1264
1466
|
body: OrderPlatformModel.CourierPartnerTrackingDetails;
|
|
1265
1467
|
};
|
|
1266
|
-
type
|
|
1267
|
-
body: OrderPlatformModel.
|
|
1268
|
-
};
|
|
1269
|
-
type UpdateUserViewsParam = {
|
|
1270
|
-
body: OrderPlatformModel.UserViewsResponse;
|
|
1468
|
+
type UploadConsentsParam = {
|
|
1469
|
+
body: OrderPlatformModel.UploadManifestConsent;
|
|
1271
1470
|
};
|
|
1272
1471
|
type VerifyMobileOTPParam = {
|
|
1273
1472
|
body: OrderPlatformModel.VerifyMobileOTP;
|
|
1274
1473
|
};
|
|
1275
1474
|
type GetAllowedTemplatesForBulkParam = any;
|
|
1276
1475
|
type GetBulkActionTemplateParam = any;
|
|
1277
|
-
type
|
|
1476
|
+
type GetChannelConfigParam = any;
|
|
1278
1477
|
type GetRoleBasedActionsParam = any;
|
|
1279
1478
|
type GetStateTransitionMapParam = any;
|
|
1280
1479
|
import OrderPlatformModel = require("./OrderPlatformModel");
|