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