@gofynd/fdk-client-javascript 1.4.15-beta.3 → 1.4.15-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +48 -68
- package/sdk/application/Cart/CartApplicationClient.js +27 -114
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +58 -59
- package/sdk/application/Catalog/CatalogApplicationClient.js +29 -30
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
- package/sdk/application/Content/ContentApplicationClient.d.ts +30 -19
- package/sdk/application/Content/ContentApplicationClient.js +54 -28
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -8
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationClient.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +15 -35
- package/sdk/application/Logistic/LogisticApplicationClient.js +8 -89
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
- package/sdk/application/Order/OrderApplicationClient.js +8 -47
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
- package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +2 -4
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +6 -6
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +167 -1200
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +160 -571
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -121
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
- package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +115 -419
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -118
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1298 -5037
- package/sdk/platform/Cart/CartPlatformModel.js +1217 -1976
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -209
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +400 -457
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +142 -185
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +78 -96
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +117 -154
- package/sdk/platform/Catalog/CatalogPlatformClient.js +172 -292
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1647 -6385
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1680 -3217
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -72
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +24 -50
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +131 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +97 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
- package/sdk/platform/Content/ContentPlatformModel.js +390 -521
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -17
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +7 -85
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +24 -95
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +19 -39
- package/sdk/platform/Order/OrderPlatformClient.d.ts +96 -153
- package/sdk/platform/Order/OrderPlatformClient.js +198 -416
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1286 -7619
- package/sdk/platform/Order/OrderPlatformModel.js +1265 -3922
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +109 -270
- package/sdk/platform/Order/OrderPlatformValidator.js +77 -135
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +105 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +141 -129
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +319 -333
- package/sdk/platform/Payment/PaymentPlatformModel.js +278 -288
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- 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 +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +36 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +41 -132
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +14 -34
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +612 -1845
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +554 -886
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +46 -42
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +28 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
- package/sdk/platform/Share/SharePlatformModel.js +4 -27
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
- package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +5 -791
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -105
|
@@ -27,10 +27,6 @@ export = OrderPlatformValidator;
|
|
|
27
27
|
* @typedef CheckOrderStatusParam
|
|
28
28
|
* @property {OrderPlatformModel.OrderStatus} body
|
|
29
29
|
*/
|
|
30
|
-
/**
|
|
31
|
-
* @typedef CreateChannelConfigParam
|
|
32
|
-
* @property {OrderPlatformModel.CreateChannelConfigData} body
|
|
33
|
-
*/
|
|
34
30
|
/**
|
|
35
31
|
* @typedef CreateOrderParam
|
|
36
32
|
* @property {OrderPlatformModel.CreateOrderAPI} body
|
|
@@ -45,7 +41,7 @@ export = OrderPlatformValidator;
|
|
|
45
41
|
*/
|
|
46
42
|
/**
|
|
47
43
|
* @typedef DownloadLanesReportParam
|
|
48
|
-
* @property {OrderPlatformModel.
|
|
44
|
+
* @property {OrderPlatformModel.BulkReportsDownloadRequest} body
|
|
49
45
|
*/
|
|
50
46
|
/**
|
|
51
47
|
* @typedef EInvoiceRetryParam
|
|
@@ -72,7 +68,7 @@ export = OrderPlatformValidator;
|
|
|
72
68
|
*/
|
|
73
69
|
/**
|
|
74
70
|
* @typedef GenerateProcessManifestParam
|
|
75
|
-
* @property {OrderPlatformModel.
|
|
71
|
+
* @property {OrderPlatformModel.ProcessManifestRequest} body
|
|
76
72
|
*/
|
|
77
73
|
/**
|
|
78
74
|
* @typedef GetAllowedStateTransitionParam
|
|
@@ -87,7 +83,7 @@ export = OrderPlatformValidator;
|
|
|
87
83
|
*/
|
|
88
84
|
/**
|
|
89
85
|
* @typedef GetBagByIdParam
|
|
90
|
-
* @property {string} [bagId] -
|
|
86
|
+
* @property {string} [bagId] - Id of bag
|
|
91
87
|
* @property {string} [channelBagId] - Id of application bag
|
|
92
88
|
* @property {string} [channelId] - Id of application
|
|
93
89
|
*/
|
|
@@ -108,8 +104,8 @@ export = OrderPlatformValidator;
|
|
|
108
104
|
* @typedef GetBulkShipmentExcelFileParam
|
|
109
105
|
* @property {string} [salesChannels] - Comma separated values of sales channel ids
|
|
110
106
|
* @property {string} [dpIds] - Comma separated values of delivery partner ids
|
|
111
|
-
* @property {string} [startDate] -
|
|
112
|
-
* @property {string} [endDate] -
|
|
107
|
+
* @property {string} [startDate] - UTC start date in ISO format
|
|
108
|
+
* @property {string} [endDate] - UTC end date in ISO format
|
|
113
109
|
* @property {string} [stores] - Comma separated values of store ids
|
|
114
110
|
* @property {string} [tags] - Comma separated values of tags
|
|
115
111
|
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
@@ -119,12 +115,11 @@ export = OrderPlatformValidator;
|
|
|
119
115
|
* @property {number} [pageNo]
|
|
120
116
|
* @property {number} [pageSize]
|
|
121
117
|
*/
|
|
122
|
-
/** @typedef GetChannelConfigParam */
|
|
123
118
|
/**
|
|
124
119
|
* @typedef GetFileByStatusParam
|
|
125
120
|
* @property {string} batchId - Batch Id to identify the bulk operation request.
|
|
126
121
|
* @property {string} status - The status of the jobs to filter the results.
|
|
127
|
-
* @property {string} fileType
|
|
122
|
+
* @property {string} fileType - The type of file to be downloaded.
|
|
128
123
|
* @property {string} [reportType] - The type of report to be downloaded.
|
|
129
124
|
*/
|
|
130
125
|
/**
|
|
@@ -140,27 +135,15 @@ export = OrderPlatformValidator;
|
|
|
140
135
|
* @property {string} [salesChannels]
|
|
141
136
|
* @property {string} [paymentMode] - Comma separated values of payment modes
|
|
142
137
|
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
143
|
-
* @property {string} [searchType]
|
|
144
|
-
* be used as the target for the search operation
|
|
138
|
+
* @property {string} [searchType]
|
|
145
139
|
* @property {string} [searchValue]
|
|
146
140
|
* @property {string} [tags]
|
|
147
|
-
* @property {number} [timeToDispatch]
|
|
141
|
+
* @property {number} [timeToDispatch]
|
|
148
142
|
* @property {string} [paymentMethods]
|
|
149
143
|
* @property {boolean} [myOrders]
|
|
150
144
|
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
151
145
|
* company order
|
|
152
|
-
* @property {string} [orderType]
|
|
153
|
-
* follow based on the application's operational needs and customer
|
|
154
|
-
* preferences. This field categorizes orders into distinct types, each
|
|
155
|
-
* associated with a unique processing flow. For example:
|
|
156
|
-
*
|
|
157
|
-
* - "HomeDelivery": The order goes through all the steps needed for delivery,
|
|
158
|
-
* from being packed to arriving at the customer’s address.
|
|
159
|
-
* - "PickAtStore": The order is prepared for pickup at the store, skipping
|
|
160
|
-
* shipping steps to make it ready faster for the customer to collect in person.
|
|
161
|
-
* - "Digital": This order type likely refers to orders that involve digital goods
|
|
162
|
-
* or services, such as software, digital subscriptions, e-books, online
|
|
163
|
-
* courses, or any other item that can be delivered electronically.
|
|
146
|
+
* @property {string} [orderType]
|
|
164
147
|
*/
|
|
165
148
|
/**
|
|
166
149
|
* @typedef GetManifestDetailsParam
|
|
@@ -217,44 +200,35 @@ export = OrderPlatformValidator;
|
|
|
217
200
|
/**
|
|
218
201
|
* @typedef GetOrdersParam
|
|
219
202
|
* @property {string} [lane] - Lane refers to a section where orders are
|
|
220
|
-
* assigned, indicating its grouping
|
|
203
|
+
* assigned, indicating its grouping
|
|
221
204
|
* @property {string} [searchType] - Search_type refers to the field that will
|
|
222
|
-
* be used as the target for the search operation
|
|
205
|
+
* be used as the target for the search operation
|
|
223
206
|
* @property {string} [bagStatus] - Bag_status refers to status of the entity.
|
|
224
207
|
* Filters orders based on the status.
|
|
225
208
|
* @property {number} [timeToDispatch] - Time_to_dispatch refers to estimated SLA time.
|
|
226
|
-
* @property {string} [paymentMethods]
|
|
227
|
-
* methods that were used to place order.
|
|
209
|
+
* @property {string} [paymentMethods]
|
|
228
210
|
* @property {string} [tags] - Tags refers to additional descriptive labels
|
|
229
211
|
* associated with the order
|
|
230
212
|
* @property {string} [searchValue] - Search_value is matched against the field
|
|
231
213
|
* specified by the search_type
|
|
232
|
-
* @property {string} [fromDate]
|
|
233
|
-
* @property {string} [toDate]
|
|
234
|
-
* @property {string} [startDate]
|
|
235
|
-
* @property {string} [endDate]
|
|
214
|
+
* @property {string} [fromDate]
|
|
215
|
+
* @property {string} [toDate]
|
|
216
|
+
* @property {string} [startDate]
|
|
217
|
+
* @property {string} [endDate]
|
|
236
218
|
* @property {string} [dpIds] - Delivery Partner IDs to which shipments are assigned.
|
|
237
|
-
* @property {string} [stores]
|
|
238
|
-
*
|
|
239
|
-
* @property {
|
|
240
|
-
*
|
|
241
|
-
* @property {number} [pageNo] - Specifies the page number for paginated results.
|
|
242
|
-
* @property {number} [pageSize] - Determines the number of results returned per page.
|
|
219
|
+
* @property {string} [stores]
|
|
220
|
+
* @property {string} [salesChannels]
|
|
221
|
+
* @property {number} [pageNo]
|
|
222
|
+
* @property {number} [pageSize]
|
|
243
223
|
* @property {boolean} [isPrioritySort]
|
|
244
224
|
* @property {string} [customMeta]
|
|
245
225
|
* @property {boolean} [myOrders]
|
|
246
226
|
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
247
227
|
* company order
|
|
248
|
-
* @property {string} [customerId]
|
|
249
|
-
* associated with the query, useful for filtering results to a specific customer.
|
|
228
|
+
* @property {string} [customerId]
|
|
250
229
|
* @property {string} [orderType]
|
|
251
230
|
* @property {boolean} [allowInactive] - Flag indicating whether inactive
|
|
252
231
|
* shipments are allowed
|
|
253
|
-
* @property {string} [groupEntity] - Defines the grouping criterion for
|
|
254
|
-
* retrieving shipments or orders. It specifies whether the results should be
|
|
255
|
-
* organized based on shipment groups or order groups. For example, using
|
|
256
|
-
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
257
|
-
* may not be recognized, leading to errors or default behavior.
|
|
258
232
|
* @property {boolean} [enforceDateFilter] - Applies a date filter for listing
|
|
259
233
|
* orders. This is useful when fetching data for a specific date range while
|
|
260
234
|
* performing searches.
|
|
@@ -262,9 +236,8 @@ export = OrderPlatformValidator;
|
|
|
262
236
|
/** @typedef GetRoleBasedActionsParam */
|
|
263
237
|
/**
|
|
264
238
|
* @typedef GetShipmentByIdParam
|
|
265
|
-
* @property {string} [channelShipmentId] -
|
|
266
|
-
*
|
|
267
|
-
* @property {string} [shipmentId] - The unique identifier for a shipment.
|
|
239
|
+
* @property {string} [channelShipmentId] - App Shipment Id
|
|
240
|
+
* @property {string} [shipmentId] - Shipment Id
|
|
268
241
|
* @property {boolean} [fetchActiveShipment] - Flag to fetch active or
|
|
269
242
|
* deactivated shipments
|
|
270
243
|
* @property {boolean} [allowInactive] - Flag indicating whether inactive
|
|
@@ -287,61 +260,38 @@ export = OrderPlatformValidator;
|
|
|
287
260
|
/**
|
|
288
261
|
* @typedef GetShipmentsParam
|
|
289
262
|
* @property {string} [lane] - Name of lane for which data is to be fetched
|
|
290
|
-
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
263
|
+
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
291
264
|
* @property {boolean} [statusOverrideLane] - Use this flag to fetch by
|
|
292
|
-
* bag_status and override lane
|
|
293
|
-
* @property {number} [timeToDispatch]
|
|
294
|
-
* @property {string} [searchType] -
|
|
295
|
-
*
|
|
296
|
-
* @property {string} [searchValue] - The value corresponding to the search
|
|
297
|
-
* type, such as a specific shipment ID or order ID.
|
|
265
|
+
* bag_status and override lane
|
|
266
|
+
* @property {number} [timeToDispatch]
|
|
267
|
+
* @property {string} [searchType] - Search type key
|
|
268
|
+
* @property {string} [searchValue] - Search type value
|
|
298
269
|
* @property {string} [fromDate] - Start Date in DD-MM-YYYY format
|
|
299
270
|
* @property {string} [toDate] - End Date in DD-MM-YYYY format
|
|
300
|
-
* @property {string} [startDate] -
|
|
301
|
-
*
|
|
302
|
-
* @property {string} [
|
|
303
|
-
*
|
|
304
|
-
* @property {string} [
|
|
305
|
-
*
|
|
306
|
-
* @property {
|
|
307
|
-
*
|
|
308
|
-
* @property {
|
|
309
|
-
*
|
|
310
|
-
* @property {
|
|
311
|
-
* @property {
|
|
312
|
-
* @property {
|
|
313
|
-
*
|
|
314
|
-
* @property {
|
|
315
|
-
*
|
|
316
|
-
* @property {boolean} [
|
|
317
|
-
*
|
|
318
|
-
* @property {string} [
|
|
319
|
-
* @property {
|
|
320
|
-
*
|
|
321
|
-
* @property {string} [
|
|
322
|
-
* @property {string} [
|
|
323
|
-
*
|
|
324
|
-
* @property {string} [orderingChannel] - The channel through which the order was placed.
|
|
325
|
-
* @property {string} [companyAffiliateTag] - A tag used to identify the
|
|
326
|
-
* company's affiliation for filtering or reporting purposes.
|
|
327
|
-
* @property {boolean} [myOrders] - A boolean flag indicating whether the query
|
|
328
|
-
* should return only the user's orders.
|
|
329
|
-
* @property {string} [platformUserId] - The unique identifier of the user on
|
|
330
|
-
* the platform, useful for filtering orders related to a specific user.
|
|
331
|
-
* @property {string} [sortType] - Determines the sorting order of the results
|
|
332
|
-
* based on specific criteria.
|
|
333
|
-
* @property {boolean} [showCrossCompanyData] - A flag indicating whether to
|
|
334
|
-
* include data from both cross-company and non-cross-company orders in the results.
|
|
335
|
-
* @property {string} [tags] - A comma-separated list of tags associated with
|
|
336
|
-
* the orders to filter results based on specific characteristics.
|
|
337
|
-
* @property {string} [customerId] - The unique identifier for the customer
|
|
338
|
-
* associated with the query, useful for filtering results to a specific customer.
|
|
339
|
-
* @property {string} [orderType] - The type of order being queried.
|
|
340
|
-
* @property {string} [groupEntity] - Defines the grouping criterion for
|
|
341
|
-
* retrieving shipments or orders. It specifies whether the results should be
|
|
342
|
-
* organized based on shipment groups or order groups. For example, using
|
|
343
|
-
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
344
|
-
* may not be recognized, leading to errors or default behavior.
|
|
271
|
+
* @property {string} [startDate] - UTC Start Date in ISO format
|
|
272
|
+
* @property {string} [endDate] - UTC End Date in ISO format
|
|
273
|
+
* @property {string} [dpIds] - Comma separated values of delivery partner ids
|
|
274
|
+
* @property {string} [stores] - Comma separated values of store ids
|
|
275
|
+
* @property {string} [salesChannels] - Comma separated values of sales channel ids
|
|
276
|
+
* @property {number} [pageNo] - Page number for paginated data
|
|
277
|
+
* @property {number} [pageSize] - Page size of data received per page
|
|
278
|
+
* @property {boolean} [fetchActiveShipment] - Flag to fetch active shipments
|
|
279
|
+
* @property {boolean} [allowInactive] - Flag to allow inactive shipments
|
|
280
|
+
* @property {boolean} [excludeLockedShipments] - Flag to fetch locked shipments
|
|
281
|
+
* @property {string} [paymentMethods] - Comma separated values of payment methods
|
|
282
|
+
* @property {string} [channelShipmentId] - App Shipment Id
|
|
283
|
+
* @property {string} [channelOrderId] - App Order Id
|
|
284
|
+
* @property {string} [customMeta]
|
|
285
|
+
* @property {string} [orderingChannel]
|
|
286
|
+
* @property {string} [companyAffiliateTag]
|
|
287
|
+
* @property {boolean} [myOrders]
|
|
288
|
+
* @property {string} [platformUserId]
|
|
289
|
+
* @property {string} [sortType] - Sort the result data on basis of input
|
|
290
|
+
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
291
|
+
* company order
|
|
292
|
+
* @property {string} [tags] - Comma separated values of tags
|
|
293
|
+
* @property {string} [customerId]
|
|
294
|
+
* @property {string} [orderType]
|
|
345
295
|
* @property {boolean} [enforceDateFilter] - Applies a date filter for listing
|
|
346
296
|
* shipments. This is useful when fetching data for a specific date range
|
|
347
297
|
* while performing searches.
|
|
@@ -400,17 +350,23 @@ export = OrderPlatformValidator;
|
|
|
400
350
|
*/
|
|
401
351
|
/**
|
|
402
352
|
* @typedef UpdateAddressParam
|
|
403
|
-
* @property {string} shipmentId
|
|
404
|
-
* @property {
|
|
353
|
+
* @property {string} shipmentId
|
|
354
|
+
* @property {string} [name]
|
|
355
|
+
* @property {string} [address]
|
|
356
|
+
* @property {string} [addressType]
|
|
357
|
+
* @property {string} [pincode]
|
|
358
|
+
* @property {string} [phone]
|
|
359
|
+
* @property {string} [email]
|
|
360
|
+
* @property {string} [landmark]
|
|
361
|
+
* @property {string} addressCategory
|
|
362
|
+
* @property {string} [city]
|
|
363
|
+
* @property {string} [state]
|
|
364
|
+
* @property {string} [country]
|
|
405
365
|
*/
|
|
406
366
|
/**
|
|
407
367
|
* @typedef UpdatePackagingDimensionsParam
|
|
408
368
|
* @property {OrderPlatformModel.UpdatePackagingDimensionsPayload} body
|
|
409
369
|
*/
|
|
410
|
-
/**
|
|
411
|
-
* @typedef UpdatePaymentInfoParam
|
|
412
|
-
* @property {OrderPlatformModel.UpdateShipmentPaymentMode} body
|
|
413
|
-
*/
|
|
414
370
|
/**
|
|
415
371
|
* @typedef UpdateShipmentLockParam
|
|
416
372
|
* @property {OrderPlatformModel.UpdateShipmentLockPayload} body
|
|
@@ -442,8 +398,6 @@ declare class OrderPlatformValidator {
|
|
|
442
398
|
static bulkStateTransistion(): BulkStateTransistionParam;
|
|
443
399
|
/** @returns {CheckOrderStatusParam} */
|
|
444
400
|
static checkOrderStatus(): CheckOrderStatusParam;
|
|
445
|
-
/** @returns {CreateChannelConfigParam} */
|
|
446
|
-
static createChannelConfig(): CreateChannelConfigParam;
|
|
447
401
|
/** @returns {CreateOrderParam} */
|
|
448
402
|
static createOrder(): CreateOrderParam;
|
|
449
403
|
/** @returns {DispatchManifestsParam} */
|
|
@@ -478,8 +432,6 @@ declare class OrderPlatformValidator {
|
|
|
478
432
|
static getBulkActionTemplate(): any;
|
|
479
433
|
/** @returns {GetBulkShipmentExcelFileParam} */
|
|
480
434
|
static getBulkShipmentExcelFile(): GetBulkShipmentExcelFileParam;
|
|
481
|
-
/** @returns {GetChannelConfigParam} */
|
|
482
|
-
static getChannelConfig(): any;
|
|
483
435
|
/** @returns {GetFileByStatusParam} */
|
|
484
436
|
static getFileByStatus(): GetFileByStatusParam;
|
|
485
437
|
/** @returns {GetLaneConfigParam} */
|
|
@@ -534,8 +486,6 @@ declare class OrderPlatformValidator {
|
|
|
534
486
|
static updateAddress(): UpdateAddressParam;
|
|
535
487
|
/** @returns {UpdatePackagingDimensionsParam} */
|
|
536
488
|
static updatePackagingDimensions(): UpdatePackagingDimensionsParam;
|
|
537
|
-
/** @returns {UpdatePaymentInfoParam} */
|
|
538
|
-
static updatePaymentInfo(): UpdatePaymentInfoParam;
|
|
539
489
|
/** @returns {UpdateShipmentLockParam} */
|
|
540
490
|
static updateShipmentLock(): UpdateShipmentLockParam;
|
|
541
491
|
/** @returns {UpdateShipmentStatusParam} */
|
|
@@ -548,7 +498,7 @@ declare class OrderPlatformValidator {
|
|
|
548
498
|
static verifyMobileOTP(): VerifyMobileOTPParam;
|
|
549
499
|
}
|
|
550
500
|
declare namespace OrderPlatformValidator {
|
|
551
|
-
export { AddStateManagerConfigParam, AttachOrderUserParam, BulkListingParam, BulkStateTransistionParam, CheckOrderStatusParam,
|
|
501
|
+
export { AddStateManagerConfigParam, AttachOrderUserParam, BulkListingParam, BulkStateTransistionParam, CheckOrderStatusParam, CreateOrderParam, DispatchManifestsParam, DownloadBulkActionTemplateParam, DownloadLanesReportParam, EInvoiceRetryParam, FailedOrderLogDetailsParam, FetchRefundModeConfigParam, GenerateInvoiceIDParam, GeneratePOSReceiptByOrderIdParam, GenerateProcessManifestParam, GetAllowedStateTransitionParam, GetAllowedTemplatesForBulkParam, GetAnnouncementsParam, GetBagByIdParam, GetBagsParam, GetBulkActionTemplateParam, GetBulkShipmentExcelFileParam, 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, UpdateShipmentLockParam, UpdateShipmentStatusParam, UpdateShipmentTrackingParam, UploadConsentsParam, VerifyMobileOTPParam };
|
|
552
502
|
}
|
|
553
503
|
type AddStateManagerConfigParam = {
|
|
554
504
|
body: OrderPlatformModel.TransitionConfigPayload;
|
|
@@ -594,9 +544,6 @@ type BulkStateTransistionParam = {
|
|
|
594
544
|
type CheckOrderStatusParam = {
|
|
595
545
|
body: OrderPlatformModel.OrderStatus;
|
|
596
546
|
};
|
|
597
|
-
type CreateChannelConfigParam = {
|
|
598
|
-
body: OrderPlatformModel.CreateChannelConfigData;
|
|
599
|
-
};
|
|
600
547
|
type CreateOrderParam = {
|
|
601
548
|
body: OrderPlatformModel.CreateOrderAPI;
|
|
602
549
|
};
|
|
@@ -610,7 +557,7 @@ type DownloadBulkActionTemplateParam = {
|
|
|
610
557
|
templateSlug?: string;
|
|
611
558
|
};
|
|
612
559
|
type DownloadLanesReportParam = {
|
|
613
|
-
body: OrderPlatformModel.
|
|
560
|
+
body: OrderPlatformModel.BulkReportsDownloadRequest;
|
|
614
561
|
};
|
|
615
562
|
type EInvoiceRetryParam = {
|
|
616
563
|
body: OrderPlatformModel.EInvoiceRetry;
|
|
@@ -637,7 +584,7 @@ type GeneratePOSReceiptByOrderIdParam = {
|
|
|
637
584
|
documentType?: string;
|
|
638
585
|
};
|
|
639
586
|
type GenerateProcessManifestParam = {
|
|
640
|
-
body: OrderPlatformModel.
|
|
587
|
+
body: OrderPlatformModel.ProcessManifestRequest;
|
|
641
588
|
};
|
|
642
589
|
type GetAllowedStateTransitionParam = {
|
|
643
590
|
/**
|
|
@@ -658,7 +605,7 @@ type GetAnnouncementsParam = {
|
|
|
658
605
|
};
|
|
659
606
|
type GetBagByIdParam = {
|
|
660
607
|
/**
|
|
661
|
-
* -
|
|
608
|
+
* - Id of bag
|
|
662
609
|
*/
|
|
663
610
|
bagId?: string;
|
|
664
611
|
/**
|
|
@@ -718,11 +665,11 @@ type GetBulkShipmentExcelFileParam = {
|
|
|
718
665
|
*/
|
|
719
666
|
dpIds?: string;
|
|
720
667
|
/**
|
|
721
|
-
* -
|
|
668
|
+
* - UTC start date in ISO format
|
|
722
669
|
*/
|
|
723
670
|
startDate?: string;
|
|
724
671
|
/**
|
|
725
|
-
* -
|
|
672
|
+
* - UTC end date in ISO format
|
|
726
673
|
*/
|
|
727
674
|
endDate?: string;
|
|
728
675
|
/**
|
|
@@ -761,6 +708,9 @@ type GetFileByStatusParam = {
|
|
|
761
708
|
* - The status of the jobs to filter the results.
|
|
762
709
|
*/
|
|
763
710
|
status: string;
|
|
711
|
+
/**
|
|
712
|
+
* - The type of file to be downloaded.
|
|
713
|
+
*/
|
|
764
714
|
fileType: string;
|
|
765
715
|
/**
|
|
766
716
|
* - The type of report to be downloaded.
|
|
@@ -809,16 +759,9 @@ type GetLaneConfigParam = {
|
|
|
809
759
|
* - Comma separated values of bag statuses
|
|
810
760
|
*/
|
|
811
761
|
bagStatus?: string;
|
|
812
|
-
/**
|
|
813
|
-
* - Search_type refers to the field that will
|
|
814
|
-
* be used as the target for the search operation
|
|
815
|
-
*/
|
|
816
762
|
searchType?: string;
|
|
817
763
|
searchValue?: string;
|
|
818
764
|
tags?: string;
|
|
819
|
-
/**
|
|
820
|
-
* - Time_to_dispatch refers to estimated SLA time.
|
|
821
|
-
*/
|
|
822
765
|
timeToDispatch?: number;
|
|
823
766
|
paymentMethods?: string;
|
|
824
767
|
myOrders?: boolean;
|
|
@@ -827,20 +770,6 @@ type GetLaneConfigParam = {
|
|
|
827
770
|
* company order
|
|
828
771
|
*/
|
|
829
772
|
showCrossCompanyData?: boolean;
|
|
830
|
-
/**
|
|
831
|
-
* - Defines the specific journey a shipment will
|
|
832
|
-
* follow based on the application's operational needs and customer
|
|
833
|
-
* preferences. This field categorizes orders into distinct types, each
|
|
834
|
-
* associated with a unique processing flow. For example:
|
|
835
|
-
*
|
|
836
|
-
* - "HomeDelivery": The order goes through all the steps needed for delivery,
|
|
837
|
-
* from being packed to arriving at the customer’s address.
|
|
838
|
-
* - "PickAtStore": The order is prepared for pickup at the store, skipping
|
|
839
|
-
* shipping steps to make it ready faster for the customer to collect in person.
|
|
840
|
-
* - "Digital": This order type likely refers to orders that involve digital goods
|
|
841
|
-
* or services, such as software, digital subscriptions, e-books, online
|
|
842
|
-
* courses, or any other item that can be delivered electronically.
|
|
843
|
-
*/
|
|
844
773
|
orderType?: string;
|
|
845
774
|
};
|
|
846
775
|
type GetManifestDetailsParam = {
|
|
@@ -974,12 +903,12 @@ type GetOrderByIdParam = {
|
|
|
974
903
|
type GetOrdersParam = {
|
|
975
904
|
/**
|
|
976
905
|
* - Lane refers to a section where orders are
|
|
977
|
-
* assigned, indicating its grouping
|
|
906
|
+
* assigned, indicating its grouping
|
|
978
907
|
*/
|
|
979
908
|
lane?: string;
|
|
980
909
|
/**
|
|
981
910
|
* - Search_type refers to the field that will
|
|
982
|
-
* be used as the target for the search operation
|
|
911
|
+
* be used as the target for the search operation
|
|
983
912
|
*/
|
|
984
913
|
searchType?: string;
|
|
985
914
|
/**
|
|
@@ -991,10 +920,6 @@ type GetOrdersParam = {
|
|
|
991
920
|
* - Time_to_dispatch refers to estimated SLA time.
|
|
992
921
|
*/
|
|
993
922
|
timeToDispatch?: number;
|
|
994
|
-
/**
|
|
995
|
-
* - Comma separated values of payment
|
|
996
|
-
* methods that were used to place order.
|
|
997
|
-
*/
|
|
998
923
|
paymentMethods?: string;
|
|
999
924
|
/**
|
|
1000
925
|
* - Tags refers to additional descriptive labels
|
|
@@ -1006,43 +931,17 @@ type GetOrdersParam = {
|
|
|
1006
931
|
* specified by the search_type
|
|
1007
932
|
*/
|
|
1008
933
|
searchValue?: string;
|
|
1009
|
-
/**
|
|
1010
|
-
* - Date time in UTC timezone as per ISO format.
|
|
1011
|
-
*/
|
|
1012
934
|
fromDate?: string;
|
|
1013
|
-
/**
|
|
1014
|
-
* - Date time in UTC timezone as per ISO format.
|
|
1015
|
-
*/
|
|
1016
935
|
toDate?: string;
|
|
1017
|
-
/**
|
|
1018
|
-
* - Date time in UTC timezone as per ISO format.
|
|
1019
|
-
*/
|
|
1020
936
|
startDate?: string;
|
|
1021
|
-
/**
|
|
1022
|
-
* - Date time in UTC timezone as per ISO format.
|
|
1023
|
-
*/
|
|
1024
937
|
endDate?: string;
|
|
1025
938
|
/**
|
|
1026
939
|
* - Delivery Partner IDs to which shipments are assigned.
|
|
1027
940
|
*/
|
|
1028
941
|
dpIds?: string;
|
|
1029
|
-
/**
|
|
1030
|
-
* - A comma-separated list of store IDs used to
|
|
1031
|
-
* filter results to only those related to specific stores.
|
|
1032
|
-
*/
|
|
1033
942
|
stores?: string;
|
|
1034
|
-
/**
|
|
1035
|
-
* - A comma-separated list of sales channel
|
|
1036
|
-
* IDs to filter results based on the sales channels involved.
|
|
1037
|
-
*/
|
|
1038
943
|
salesChannels?: string;
|
|
1039
|
-
/**
|
|
1040
|
-
* - Specifies the page number for paginated results.
|
|
1041
|
-
*/
|
|
1042
944
|
pageNo?: number;
|
|
1043
|
-
/**
|
|
1044
|
-
* - Determines the number of results returned per page.
|
|
1045
|
-
*/
|
|
1046
945
|
pageSize?: number;
|
|
1047
946
|
isPrioritySort?: boolean;
|
|
1048
947
|
customMeta?: string;
|
|
@@ -1052,10 +951,6 @@ type GetOrdersParam = {
|
|
|
1052
951
|
* company order
|
|
1053
952
|
*/
|
|
1054
953
|
showCrossCompanyData?: boolean;
|
|
1055
|
-
/**
|
|
1056
|
-
* - The unique identifier for the customer
|
|
1057
|
-
* associated with the query, useful for filtering results to a specific customer.
|
|
1058
|
-
*/
|
|
1059
954
|
customerId?: string;
|
|
1060
955
|
orderType?: string;
|
|
1061
956
|
/**
|
|
@@ -1063,14 +958,6 @@ type GetOrdersParam = {
|
|
|
1063
958
|
* shipments are allowed
|
|
1064
959
|
*/
|
|
1065
960
|
allowInactive?: boolean;
|
|
1066
|
-
/**
|
|
1067
|
-
* - Defines the grouping criterion for
|
|
1068
|
-
* retrieving shipments or orders. It specifies whether the results should be
|
|
1069
|
-
* organized based on shipment groups or order groups. For example, using
|
|
1070
|
-
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
1071
|
-
* may not be recognized, leading to errors or default behavior.
|
|
1072
|
-
*/
|
|
1073
|
-
groupEntity?: string;
|
|
1074
961
|
/**
|
|
1075
962
|
* - Applies a date filter for listing
|
|
1076
963
|
* orders. This is useful when fetching data for a specific date range while
|
|
@@ -1080,12 +967,11 @@ type GetOrdersParam = {
|
|
|
1080
967
|
};
|
|
1081
968
|
type GetShipmentByIdParam = {
|
|
1082
969
|
/**
|
|
1083
|
-
* -
|
|
1084
|
-
* application, which can be used to reference specific shipments.
|
|
970
|
+
* - App Shipment Id
|
|
1085
971
|
*/
|
|
1086
972
|
channelShipmentId?: string;
|
|
1087
973
|
/**
|
|
1088
|
-
* -
|
|
974
|
+
* - Shipment Id
|
|
1089
975
|
*/
|
|
1090
976
|
shipmentId?: string;
|
|
1091
977
|
/**
|
|
@@ -1132,26 +1018,21 @@ type GetShipmentsParam = {
|
|
|
1132
1018
|
*/
|
|
1133
1019
|
lane?: string;
|
|
1134
1020
|
/**
|
|
1135
|
-
* - Comma separated values of bag statuses
|
|
1021
|
+
* - Comma separated values of bag statuses
|
|
1136
1022
|
*/
|
|
1137
1023
|
bagStatus?: string;
|
|
1138
1024
|
/**
|
|
1139
1025
|
* - Use this flag to fetch by
|
|
1140
|
-
* bag_status and override lane
|
|
1026
|
+
* bag_status and override lane
|
|
1141
1027
|
*/
|
|
1142
1028
|
statusOverrideLane?: boolean;
|
|
1143
|
-
/**
|
|
1144
|
-
* - Indicates the time to dispatch.
|
|
1145
|
-
*/
|
|
1146
1029
|
timeToDispatch?: number;
|
|
1147
1030
|
/**
|
|
1148
|
-
* -
|
|
1149
|
-
* type of search being performed.
|
|
1031
|
+
* - Search type key
|
|
1150
1032
|
*/
|
|
1151
1033
|
searchType?: string;
|
|
1152
1034
|
/**
|
|
1153
|
-
* -
|
|
1154
|
-
* type, such as a specific shipment ID or order ID.
|
|
1035
|
+
* - Search type value
|
|
1155
1036
|
*/
|
|
1156
1037
|
searchValue?: string;
|
|
1157
1038
|
/**
|
|
@@ -1163,122 +1044,77 @@ type GetShipmentsParam = {
|
|
|
1163
1044
|
*/
|
|
1164
1045
|
toDate?: string;
|
|
1165
1046
|
/**
|
|
1166
|
-
* -
|
|
1167
|
-
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
|
|
1047
|
+
* - UTC Start Date in ISO format
|
|
1168
1048
|
*/
|
|
1169
1049
|
startDate?: string;
|
|
1170
1050
|
/**
|
|
1171
|
-
* -
|
|
1172
|
-
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
|
|
1051
|
+
* - UTC End Date in ISO format
|
|
1173
1052
|
*/
|
|
1174
1053
|
endDate?: string;
|
|
1175
1054
|
/**
|
|
1176
|
-
* -
|
|
1177
|
-
* to filter results by specific delivery partners.
|
|
1055
|
+
* - Comma separated values of delivery partner ids
|
|
1178
1056
|
*/
|
|
1179
1057
|
dpIds?: string;
|
|
1180
1058
|
/**
|
|
1181
|
-
* -
|
|
1182
|
-
* filter results to only those related to specific stores.
|
|
1059
|
+
* - Comma separated values of store ids
|
|
1183
1060
|
*/
|
|
1184
1061
|
stores?: string;
|
|
1185
1062
|
/**
|
|
1186
|
-
* -
|
|
1187
|
-
* IDs to filter results based on the sales channels involved.
|
|
1063
|
+
* - Comma separated values of sales channel ids
|
|
1188
1064
|
*/
|
|
1189
1065
|
salesChannels?: string;
|
|
1190
1066
|
/**
|
|
1191
|
-
* -
|
|
1067
|
+
* - Page number for paginated data
|
|
1192
1068
|
*/
|
|
1193
1069
|
pageNo?: number;
|
|
1194
1070
|
/**
|
|
1195
|
-
* -
|
|
1071
|
+
* - Page size of data received per page
|
|
1196
1072
|
*/
|
|
1197
1073
|
pageSize?: number;
|
|
1198
1074
|
/**
|
|
1199
|
-
* -
|
|
1200
|
-
* whether to include only active shipments in the results.
|
|
1075
|
+
* - Flag to fetch active shipments
|
|
1201
1076
|
*/
|
|
1202
1077
|
fetchActiveShipment?: boolean;
|
|
1203
1078
|
/**
|
|
1204
|
-
* -
|
|
1205
|
-
* inclusion of inactive shipments in the results.
|
|
1079
|
+
* - Flag to allow inactive shipments
|
|
1206
1080
|
*/
|
|
1207
1081
|
allowInactive?: boolean;
|
|
1208
1082
|
/**
|
|
1209
|
-
* -
|
|
1210
|
-
* exclude shipments that are locked from the results.
|
|
1083
|
+
* - Flag to fetch locked shipments
|
|
1211
1084
|
*/
|
|
1212
1085
|
excludeLockedShipments?: boolean;
|
|
1213
1086
|
/**
|
|
1214
|
-
* -
|
|
1087
|
+
* - Comma separated values of payment methods
|
|
1215
1088
|
*/
|
|
1216
1089
|
paymentMethods?: string;
|
|
1217
1090
|
/**
|
|
1218
|
-
* -
|
|
1219
|
-
* application, which can be used to reference specific shipments.
|
|
1091
|
+
* - App Shipment Id
|
|
1220
1092
|
*/
|
|
1221
1093
|
channelShipmentId?: string;
|
|
1222
1094
|
/**
|
|
1223
|
-
* -
|
|
1095
|
+
* - App Order Id
|
|
1224
1096
|
*/
|
|
1225
1097
|
channelOrderId?: string;
|
|
1226
|
-
/**
|
|
1227
|
-
* - Custom metadata associated with the query,
|
|
1228
|
-
* allowing for additional filtering or information to be passed.
|
|
1229
|
-
*/
|
|
1230
1098
|
customMeta?: string;
|
|
1231
|
-
/**
|
|
1232
|
-
* - The channel through which the order was placed.
|
|
1233
|
-
*/
|
|
1234
1099
|
orderingChannel?: string;
|
|
1235
|
-
/**
|
|
1236
|
-
* - A tag used to identify the
|
|
1237
|
-
* company's affiliation for filtering or reporting purposes.
|
|
1238
|
-
*/
|
|
1239
1100
|
companyAffiliateTag?: string;
|
|
1240
|
-
/**
|
|
1241
|
-
* - A boolean flag indicating whether the query
|
|
1242
|
-
* should return only the user's orders.
|
|
1243
|
-
*/
|
|
1244
1101
|
myOrders?: boolean;
|
|
1245
|
-
/**
|
|
1246
|
-
* - The unique identifier of the user on
|
|
1247
|
-
* the platform, useful for filtering orders related to a specific user.
|
|
1248
|
-
*/
|
|
1249
1102
|
platformUserId?: string;
|
|
1250
1103
|
/**
|
|
1251
|
-
* -
|
|
1252
|
-
* based on specific criteria.
|
|
1104
|
+
* - Sort the result data on basis of input
|
|
1253
1105
|
*/
|
|
1254
1106
|
sortType?: string;
|
|
1255
1107
|
/**
|
|
1256
|
-
* -
|
|
1257
|
-
*
|
|
1108
|
+
* - Flag to view cross & non-cross
|
|
1109
|
+
* company order
|
|
1258
1110
|
*/
|
|
1259
1111
|
showCrossCompanyData?: boolean;
|
|
1260
1112
|
/**
|
|
1261
|
-
* -
|
|
1262
|
-
* the orders to filter results based on specific characteristics.
|
|
1113
|
+
* - Comma separated values of tags
|
|
1263
1114
|
*/
|
|
1264
1115
|
tags?: string;
|
|
1265
|
-
/**
|
|
1266
|
-
* - The unique identifier for the customer
|
|
1267
|
-
* associated with the query, useful for filtering results to a specific customer.
|
|
1268
|
-
*/
|
|
1269
1116
|
customerId?: string;
|
|
1270
|
-
/**
|
|
1271
|
-
* - The type of order being queried.
|
|
1272
|
-
*/
|
|
1273
1117
|
orderType?: string;
|
|
1274
|
-
/**
|
|
1275
|
-
* - Defines the grouping criterion for
|
|
1276
|
-
* retrieving shipments or orders. It specifies whether the results should be
|
|
1277
|
-
* organized based on shipment groups or order groups. For example, using
|
|
1278
|
-
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
1279
|
-
* may not be recognized, leading to errors or default behavior.
|
|
1280
|
-
*/
|
|
1281
|
-
groupEntity?: string;
|
|
1282
1118
|
/**
|
|
1283
1119
|
* - Applies a date filter for listing
|
|
1284
1120
|
* shipments. This is useful when fetching data for a specific date range
|
|
@@ -1357,18 +1193,22 @@ type TrackShipmentParam = {
|
|
|
1357
1193
|
pageSize?: number;
|
|
1358
1194
|
};
|
|
1359
1195
|
type UpdateAddressParam = {
|
|
1360
|
-
/**
|
|
1361
|
-
* - Unique shipment no. that is auto-generated
|
|
1362
|
-
*/
|
|
1363
1196
|
shipmentId: string;
|
|
1364
|
-
|
|
1197
|
+
name?: string;
|
|
1198
|
+
address?: string;
|
|
1199
|
+
addressType?: string;
|
|
1200
|
+
pincode?: string;
|
|
1201
|
+
phone?: string;
|
|
1202
|
+
email?: string;
|
|
1203
|
+
landmark?: string;
|
|
1204
|
+
addressCategory: string;
|
|
1205
|
+
city?: string;
|
|
1206
|
+
state?: string;
|
|
1207
|
+
country?: string;
|
|
1365
1208
|
};
|
|
1366
1209
|
type UpdatePackagingDimensionsParam = {
|
|
1367
1210
|
body: OrderPlatformModel.UpdatePackagingDimensionsPayload;
|
|
1368
1211
|
};
|
|
1369
|
-
type UpdatePaymentInfoParam = {
|
|
1370
|
-
body: OrderPlatformModel.UpdateShipmentPaymentMode;
|
|
1371
|
-
};
|
|
1372
1212
|
type UpdateShipmentLockParam = {
|
|
1373
1213
|
body: OrderPlatformModel.UpdateShipmentLockPayload;
|
|
1374
1214
|
};
|
|
@@ -1386,7 +1226,6 @@ type VerifyMobileOTPParam = {
|
|
|
1386
1226
|
};
|
|
1387
1227
|
type GetAllowedTemplatesForBulkParam = any;
|
|
1388
1228
|
type GetBulkActionTemplateParam = any;
|
|
1389
|
-
type GetChannelConfigParam = any;
|
|
1390
1229
|
type GetRoleBasedActionsParam = any;
|
|
1391
1230
|
type GetStateTransitionMapParam = any;
|
|
1392
1231
|
import OrderPlatformModel = require("./OrderPlatformModel");
|