@gofynd/fdk-client-javascript 1.4.16-beta.2 → 1.4.16-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 -51
- package/sdk/application/Content/ContentApplicationClient.js +56 -161
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -9
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -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 -101
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
- package/sdk/application/Order/OrderApplicationClient.js +8 -56
- 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/common/Utility.js +6 -3
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +21 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +16 -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/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 -121
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1294 -5068
- package/sdk/platform/Cart/CartPlatformModel.js +1217 -1992
- 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 -6389
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1681 -3222
- 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 -204
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +475 -1073
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -253
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -256
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +403 -1375
- package/sdk/platform/Content/ContentPlatformModel.js +394 -631
- 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 +39 -95
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +63 -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 +22 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +24 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +116 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +104 -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 +68 -62
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +612 -1845
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +554 -886
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +49 -45
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +30 -28
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Share/SharePlatformApplicationClient.js +9 -9
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -3
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +7 -46
- package/sdk/platform/Share/SharePlatformModel.js +6 -31
- 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 +6 -810
- 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 -111
|
@@ -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
|
|
@@ -80,7 +76,7 @@ export = OrderPlatformValidator;
|
|
|
80
76
|
*/
|
|
81
77
|
/**
|
|
82
78
|
* @typedef GenerateProcessManifestParam
|
|
83
|
-
* @property {OrderPlatformModel.
|
|
79
|
+
* @property {OrderPlatformModel.ProcessManifestRequest} body
|
|
84
80
|
*/
|
|
85
81
|
/**
|
|
86
82
|
* @typedef GetAllowedStateTransitionParam
|
|
@@ -95,7 +91,7 @@ export = OrderPlatformValidator;
|
|
|
95
91
|
*/
|
|
96
92
|
/**
|
|
97
93
|
* @typedef GetBagByIdParam
|
|
98
|
-
* @property {string} [bagId] -
|
|
94
|
+
* @property {string} [bagId] - Id of bag
|
|
99
95
|
* @property {string} [channelBagId] - Id of application bag
|
|
100
96
|
* @property {string} [channelId] - Id of application
|
|
101
97
|
*/
|
|
@@ -116,8 +112,8 @@ export = OrderPlatformValidator;
|
|
|
116
112
|
* @typedef GetBulkShipmentExcelFileParam
|
|
117
113
|
* @property {string} [salesChannels] - Comma separated values of sales channel ids
|
|
118
114
|
* @property {string} [dpIds] - Comma separated values of delivery partner ids
|
|
119
|
-
* @property {string} [startDate] -
|
|
120
|
-
* @property {string} [endDate] -
|
|
115
|
+
* @property {string} [startDate] - UTC start date in ISO format
|
|
116
|
+
* @property {string} [endDate] - UTC end date in ISO format
|
|
121
117
|
* @property {string} [stores] - Comma separated values of store ids
|
|
122
118
|
* @property {string} [tags] - Comma separated values of tags
|
|
123
119
|
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
@@ -127,12 +123,11 @@ export = OrderPlatformValidator;
|
|
|
127
123
|
* @property {number} [pageNo]
|
|
128
124
|
* @property {number} [pageSize]
|
|
129
125
|
*/
|
|
130
|
-
/** @typedef GetChannelConfigParam */
|
|
131
126
|
/**
|
|
132
127
|
* @typedef GetFileByStatusParam
|
|
133
128
|
* @property {string} batchId - Batch Id to identify the bulk operation request.
|
|
134
129
|
* @property {string} status - The status of the jobs to filter the results.
|
|
135
|
-
* @property {string} fileType
|
|
130
|
+
* @property {string} fileType - The type of file to be downloaded.
|
|
136
131
|
* @property {string} [reportType] - The type of report to be downloaded.
|
|
137
132
|
*/
|
|
138
133
|
/**
|
|
@@ -148,27 +143,15 @@ export = OrderPlatformValidator;
|
|
|
148
143
|
* @property {string} [salesChannels]
|
|
149
144
|
* @property {string} [paymentMode] - Comma separated values of payment modes
|
|
150
145
|
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
151
|
-
* @property {string} [searchType]
|
|
152
|
-
* be used as the target for the search operation
|
|
146
|
+
* @property {string} [searchType]
|
|
153
147
|
* @property {string} [searchValue]
|
|
154
148
|
* @property {string} [tags]
|
|
155
|
-
* @property {number} [timeToDispatch]
|
|
149
|
+
* @property {number} [timeToDispatch]
|
|
156
150
|
* @property {string} [paymentMethods]
|
|
157
151
|
* @property {boolean} [myOrders]
|
|
158
152
|
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
159
153
|
* company order
|
|
160
|
-
* @property {string} [orderType]
|
|
161
|
-
* follow based on the application's operational needs and customer
|
|
162
|
-
* preferences. This field categorizes orders into distinct types, each
|
|
163
|
-
* associated with a unique processing flow. For example:
|
|
164
|
-
*
|
|
165
|
-
* - "HomeDelivery": The order goes through all the steps needed for delivery,
|
|
166
|
-
* from being packed to arriving at the customer’s address.
|
|
167
|
-
* - "PickAtStore": The order is prepared for pickup at the store, skipping
|
|
168
|
-
* shipping steps to make it ready faster for the customer to collect in person.
|
|
169
|
-
* - "Digital": This order type likely refers to orders that involve digital goods
|
|
170
|
-
* or services, such as software, digital subscriptions, e-books, online
|
|
171
|
-
* courses, or any other item that can be delivered electronically.
|
|
154
|
+
* @property {string} [orderType]
|
|
172
155
|
*/
|
|
173
156
|
/**
|
|
174
157
|
* @typedef GetManifestDetailsParam
|
|
@@ -225,44 +208,35 @@ export = OrderPlatformValidator;
|
|
|
225
208
|
/**
|
|
226
209
|
* @typedef GetOrdersParam
|
|
227
210
|
* @property {string} [lane] - Lane refers to a section where orders are
|
|
228
|
-
* assigned, indicating its grouping
|
|
211
|
+
* assigned, indicating its grouping
|
|
229
212
|
* @property {string} [searchType] - Search_type refers to the field that will
|
|
230
|
-
* be used as the target for the search operation
|
|
213
|
+
* be used as the target for the search operation
|
|
231
214
|
* @property {string} [bagStatus] - Bag_status refers to status of the entity.
|
|
232
215
|
* Filters orders based on the status.
|
|
233
216
|
* @property {number} [timeToDispatch] - Time_to_dispatch refers to estimated SLA time.
|
|
234
|
-
* @property {string} [paymentMethods]
|
|
235
|
-
* methods that were used to place order.
|
|
217
|
+
* @property {string} [paymentMethods]
|
|
236
218
|
* @property {string} [tags] - Tags refers to additional descriptive labels
|
|
237
219
|
* associated with the order
|
|
238
220
|
* @property {string} [searchValue] - Search_value is matched against the field
|
|
239
221
|
* specified by the search_type
|
|
240
|
-
* @property {string} [fromDate]
|
|
241
|
-
* @property {string} [toDate]
|
|
242
|
-
* @property {string} [startDate]
|
|
243
|
-
* @property {string} [endDate]
|
|
222
|
+
* @property {string} [fromDate]
|
|
223
|
+
* @property {string} [toDate]
|
|
224
|
+
* @property {string} [startDate]
|
|
225
|
+
* @property {string} [endDate]
|
|
244
226
|
* @property {string} [dpIds] - Delivery Partner IDs to which shipments are assigned.
|
|
245
|
-
* @property {string} [stores]
|
|
246
|
-
*
|
|
247
|
-
* @property {
|
|
248
|
-
*
|
|
249
|
-
* @property {number} [pageNo] - Specifies the page number for paginated results.
|
|
250
|
-
* @property {number} [pageSize] - Determines the number of results returned per page.
|
|
227
|
+
* @property {string} [stores]
|
|
228
|
+
* @property {string} [salesChannels]
|
|
229
|
+
* @property {number} [pageNo]
|
|
230
|
+
* @property {number} [pageSize]
|
|
251
231
|
* @property {boolean} [isPrioritySort]
|
|
252
232
|
* @property {string} [customMeta]
|
|
253
233
|
* @property {boolean} [myOrders]
|
|
254
234
|
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
255
235
|
* company order
|
|
256
|
-
* @property {string} [customerId]
|
|
257
|
-
* associated with the query, useful for filtering results to a specific customer.
|
|
236
|
+
* @property {string} [customerId]
|
|
258
237
|
* @property {string} [orderType]
|
|
259
238
|
* @property {boolean} [allowInactive] - Flag indicating whether inactive
|
|
260
239
|
* shipments are allowed
|
|
261
|
-
* @property {string} [groupEntity] - Defines the grouping criterion for
|
|
262
|
-
* retrieving shipments or orders. It specifies whether the results should be
|
|
263
|
-
* organized based on shipment groups or order groups. For example, using
|
|
264
|
-
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
265
|
-
* may not be recognized, leading to errors or default behavior.
|
|
266
240
|
* @property {boolean} [enforceDateFilter] - Applies a date filter for listing
|
|
267
241
|
* orders. This is useful when fetching data for a specific date range while
|
|
268
242
|
* performing searches.
|
|
@@ -270,9 +244,8 @@ export = OrderPlatformValidator;
|
|
|
270
244
|
/** @typedef GetRoleBasedActionsParam */
|
|
271
245
|
/**
|
|
272
246
|
* @typedef GetShipmentByIdParam
|
|
273
|
-
* @property {string} [channelShipmentId] -
|
|
274
|
-
*
|
|
275
|
-
* @property {string} [shipmentId] - The unique identifier for a shipment.
|
|
247
|
+
* @property {string} [channelShipmentId] - App Shipment Id
|
|
248
|
+
* @property {string} [shipmentId] - Shipment Id
|
|
276
249
|
* @property {boolean} [fetchActiveShipment] - Flag to fetch active or
|
|
277
250
|
* deactivated shipments
|
|
278
251
|
* @property {boolean} [allowInactive] - Flag indicating whether inactive
|
|
@@ -295,61 +268,38 @@ export = OrderPlatformValidator;
|
|
|
295
268
|
/**
|
|
296
269
|
* @typedef GetShipmentsParam
|
|
297
270
|
* @property {string} [lane] - Name of lane for which data is to be fetched
|
|
298
|
-
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
271
|
+
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
299
272
|
* @property {boolean} [statusOverrideLane] - Use this flag to fetch by
|
|
300
|
-
* bag_status and override lane
|
|
301
|
-
* @property {number} [timeToDispatch]
|
|
302
|
-
* @property {string} [searchType] -
|
|
303
|
-
*
|
|
304
|
-
* @property {string} [searchValue] - The value corresponding to the search
|
|
305
|
-
* type, such as a specific shipment ID or order ID.
|
|
273
|
+
* bag_status and override lane
|
|
274
|
+
* @property {number} [timeToDispatch]
|
|
275
|
+
* @property {string} [searchType] - Search type key
|
|
276
|
+
* @property {string} [searchValue] - Search type value
|
|
306
277
|
* @property {string} [fromDate] - Start Date in DD-MM-YYYY format
|
|
307
278
|
* @property {string} [toDate] - End Date in DD-MM-YYYY format
|
|
308
|
-
* @property {string} [startDate] -
|
|
309
|
-
*
|
|
310
|
-
* @property {string} [
|
|
311
|
-
*
|
|
312
|
-
* @property {string} [
|
|
313
|
-
*
|
|
314
|
-
* @property {
|
|
315
|
-
*
|
|
316
|
-
* @property {
|
|
317
|
-
*
|
|
318
|
-
* @property {
|
|
319
|
-
* @property {
|
|
320
|
-
* @property {
|
|
321
|
-
*
|
|
322
|
-
* @property {
|
|
323
|
-
*
|
|
324
|
-
* @property {boolean} [
|
|
325
|
-
*
|
|
326
|
-
* @property {string} [
|
|
327
|
-
* @property {
|
|
328
|
-
*
|
|
329
|
-
* @property {string} [
|
|
330
|
-
* @property {string} [
|
|
331
|
-
*
|
|
332
|
-
* @property {string} [orderingChannel] - The channel through which the order was placed.
|
|
333
|
-
* @property {string} [companyAffiliateTag] - A tag used to identify the
|
|
334
|
-
* company's affiliation for filtering or reporting purposes.
|
|
335
|
-
* @property {boolean} [myOrders] - A boolean flag indicating whether the query
|
|
336
|
-
* should return only the user's orders.
|
|
337
|
-
* @property {string} [platformUserId] - The unique identifier of the user on
|
|
338
|
-
* the platform, useful for filtering orders related to a specific user.
|
|
339
|
-
* @property {string} [sortType] - Determines the sorting order of the results
|
|
340
|
-
* based on specific criteria.
|
|
341
|
-
* @property {boolean} [showCrossCompanyData] - A flag indicating whether to
|
|
342
|
-
* include data from both cross-company and non-cross-company orders in the results.
|
|
343
|
-
* @property {string} [tags] - A comma-separated list of tags associated with
|
|
344
|
-
* the orders to filter results based on specific characteristics.
|
|
345
|
-
* @property {string} [customerId] - The unique identifier for the customer
|
|
346
|
-
* associated with the query, useful for filtering results to a specific customer.
|
|
347
|
-
* @property {string} [orderType] - The type of order being queried.
|
|
348
|
-
* @property {string} [groupEntity] - Defines the grouping criterion for
|
|
349
|
-
* retrieving shipments or orders. It specifies whether the results should be
|
|
350
|
-
* organized based on shipment groups or order groups. For example, using
|
|
351
|
-
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
352
|
-
* may not be recognized, leading to errors or default behavior.
|
|
279
|
+
* @property {string} [startDate] - UTC Start Date in ISO format
|
|
280
|
+
* @property {string} [endDate] - UTC End Date in ISO format
|
|
281
|
+
* @property {string} [dpIds] - Comma separated values of delivery partner ids
|
|
282
|
+
* @property {string} [stores] - Comma separated values of store ids
|
|
283
|
+
* @property {string} [salesChannels] - Comma separated values of sales channel ids
|
|
284
|
+
* @property {number} [pageNo] - Page number for paginated data
|
|
285
|
+
* @property {number} [pageSize] - Page size of data received per page
|
|
286
|
+
* @property {boolean} [fetchActiveShipment] - Flag to fetch active shipments
|
|
287
|
+
* @property {boolean} [allowInactive] - Flag to allow inactive shipments
|
|
288
|
+
* @property {boolean} [excludeLockedShipments] - Flag to fetch locked shipments
|
|
289
|
+
* @property {string} [paymentMethods] - Comma separated values of payment methods
|
|
290
|
+
* @property {string} [channelShipmentId] - App Shipment Id
|
|
291
|
+
* @property {string} [channelOrderId] - App Order Id
|
|
292
|
+
* @property {string} [customMeta]
|
|
293
|
+
* @property {string} [orderingChannel]
|
|
294
|
+
* @property {string} [companyAffiliateTag]
|
|
295
|
+
* @property {boolean} [myOrders]
|
|
296
|
+
* @property {string} [platformUserId]
|
|
297
|
+
* @property {string} [sortType] - Sort the result data on basis of input
|
|
298
|
+
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
299
|
+
* company order
|
|
300
|
+
* @property {string} [tags] - Comma separated values of tags
|
|
301
|
+
* @property {string} [customerId]
|
|
302
|
+
* @property {string} [orderType]
|
|
353
303
|
* @property {boolean} [enforceDateFilter] - Applies a date filter for listing
|
|
354
304
|
* shipments. This is useful when fetching data for a specific date range
|
|
355
305
|
* while performing searches.
|
|
@@ -408,17 +358,23 @@ export = OrderPlatformValidator;
|
|
|
408
358
|
*/
|
|
409
359
|
/**
|
|
410
360
|
* @typedef UpdateAddressParam
|
|
411
|
-
* @property {string} shipmentId
|
|
412
|
-
* @property {
|
|
361
|
+
* @property {string} shipmentId
|
|
362
|
+
* @property {string} [name]
|
|
363
|
+
* @property {string} [address]
|
|
364
|
+
* @property {string} [addressType]
|
|
365
|
+
* @property {string} [pincode]
|
|
366
|
+
* @property {string} [phone]
|
|
367
|
+
* @property {string} [email]
|
|
368
|
+
* @property {string} [landmark]
|
|
369
|
+
* @property {string} addressCategory
|
|
370
|
+
* @property {string} [city]
|
|
371
|
+
* @property {string} [state]
|
|
372
|
+
* @property {string} [country]
|
|
413
373
|
*/
|
|
414
374
|
/**
|
|
415
375
|
* @typedef UpdatePackagingDimensionsParam
|
|
416
376
|
* @property {OrderPlatformModel.UpdatePackagingDimensionsPayload} body
|
|
417
377
|
*/
|
|
418
|
-
/**
|
|
419
|
-
* @typedef UpdatePaymentInfoParam
|
|
420
|
-
* @property {OrderPlatformModel.UpdateShipmentPaymentMode} body
|
|
421
|
-
*/
|
|
422
378
|
/**
|
|
423
379
|
* @typedef UpdateShipmentLockParam
|
|
424
380
|
* @property {OrderPlatformModel.UpdateShipmentLockPayload} body
|
|
@@ -450,8 +406,6 @@ declare class OrderPlatformValidator {
|
|
|
450
406
|
static bulkStateTransistion(): BulkStateTransistionParam;
|
|
451
407
|
/** @returns {CheckOrderStatusParam} */
|
|
452
408
|
static checkOrderStatus(): CheckOrderStatusParam;
|
|
453
|
-
/** @returns {CreateChannelConfigParam} */
|
|
454
|
-
static createChannelConfig(): CreateChannelConfigParam;
|
|
455
409
|
/** @returns {CreateOrderParam} */
|
|
456
410
|
static createOrder(): CreateOrderParam;
|
|
457
411
|
/** @returns {DispatchManifestsParam} */
|
|
@@ -488,8 +442,6 @@ declare class OrderPlatformValidator {
|
|
|
488
442
|
static getBulkActionTemplate(): any;
|
|
489
443
|
/** @returns {GetBulkShipmentExcelFileParam} */
|
|
490
444
|
static getBulkShipmentExcelFile(): GetBulkShipmentExcelFileParam;
|
|
491
|
-
/** @returns {GetChannelConfigParam} */
|
|
492
|
-
static getChannelConfig(): any;
|
|
493
445
|
/** @returns {GetFileByStatusParam} */
|
|
494
446
|
static getFileByStatus(): GetFileByStatusParam;
|
|
495
447
|
/** @returns {GetLaneConfigParam} */
|
|
@@ -544,8 +496,6 @@ declare class OrderPlatformValidator {
|
|
|
544
496
|
static updateAddress(): UpdateAddressParam;
|
|
545
497
|
/** @returns {UpdatePackagingDimensionsParam} */
|
|
546
498
|
static updatePackagingDimensions(): UpdatePackagingDimensionsParam;
|
|
547
|
-
/** @returns {UpdatePaymentInfoParam} */
|
|
548
|
-
static updatePaymentInfo(): UpdatePaymentInfoParam;
|
|
549
499
|
/** @returns {UpdateShipmentLockParam} */
|
|
550
500
|
static updateShipmentLock(): UpdateShipmentLockParam;
|
|
551
501
|
/** @returns {UpdateShipmentStatusParam} */
|
|
@@ -558,7 +508,7 @@ declare class OrderPlatformValidator {
|
|
|
558
508
|
static verifyMobileOTP(): VerifyMobileOTPParam;
|
|
559
509
|
}
|
|
560
510
|
declare namespace OrderPlatformValidator {
|
|
561
|
-
export { AddStateManagerConfigParam, AttachOrderUserParam, BulkListingParam, BulkStateTransistionParam, CheckOrderStatusParam,
|
|
511
|
+
export { AddStateManagerConfigParam, AttachOrderUserParam, BulkListingParam, BulkStateTransistionParam, CheckOrderStatusParam, CreateOrderParam, DispatchManifestsParam, DownloadBulkActionTemplateParam, DownloadLanesReportParam, EInvoiceRetryParam, FailedOrderLogDetailsParam, FailedOrderLogsParam, 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 };
|
|
562
512
|
}
|
|
563
513
|
type AddStateManagerConfigParam = {
|
|
564
514
|
body: OrderPlatformModel.TransitionConfigPayload;
|
|
@@ -604,9 +554,6 @@ type BulkStateTransistionParam = {
|
|
|
604
554
|
type CheckOrderStatusParam = {
|
|
605
555
|
body: OrderPlatformModel.OrderStatus;
|
|
606
556
|
};
|
|
607
|
-
type CreateChannelConfigParam = {
|
|
608
|
-
body: OrderPlatformModel.CreateChannelConfigData;
|
|
609
|
-
};
|
|
610
557
|
type CreateOrderParam = {
|
|
611
558
|
body: OrderPlatformModel.CreateOrderAPI;
|
|
612
559
|
};
|
|
@@ -620,7 +567,7 @@ type DownloadBulkActionTemplateParam = {
|
|
|
620
567
|
templateSlug?: string;
|
|
621
568
|
};
|
|
622
569
|
type DownloadLanesReportParam = {
|
|
623
|
-
body: OrderPlatformModel.
|
|
570
|
+
body: OrderPlatformModel.BulkReportsDownloadRequest;
|
|
624
571
|
};
|
|
625
572
|
type EInvoiceRetryParam = {
|
|
626
573
|
body: OrderPlatformModel.EInvoiceRetry;
|
|
@@ -669,7 +616,7 @@ type GeneratePOSReceiptByOrderIdParam = {
|
|
|
669
616
|
documentType?: string;
|
|
670
617
|
};
|
|
671
618
|
type GenerateProcessManifestParam = {
|
|
672
|
-
body: OrderPlatformModel.
|
|
619
|
+
body: OrderPlatformModel.ProcessManifestRequest;
|
|
673
620
|
};
|
|
674
621
|
type GetAllowedStateTransitionParam = {
|
|
675
622
|
/**
|
|
@@ -690,7 +637,7 @@ type GetAnnouncementsParam = {
|
|
|
690
637
|
};
|
|
691
638
|
type GetBagByIdParam = {
|
|
692
639
|
/**
|
|
693
|
-
* -
|
|
640
|
+
* - Id of bag
|
|
694
641
|
*/
|
|
695
642
|
bagId?: string;
|
|
696
643
|
/**
|
|
@@ -750,11 +697,11 @@ type GetBulkShipmentExcelFileParam = {
|
|
|
750
697
|
*/
|
|
751
698
|
dpIds?: string;
|
|
752
699
|
/**
|
|
753
|
-
* -
|
|
700
|
+
* - UTC start date in ISO format
|
|
754
701
|
*/
|
|
755
702
|
startDate?: string;
|
|
756
703
|
/**
|
|
757
|
-
* -
|
|
704
|
+
* - UTC end date in ISO format
|
|
758
705
|
*/
|
|
759
706
|
endDate?: string;
|
|
760
707
|
/**
|
|
@@ -793,6 +740,9 @@ type GetFileByStatusParam = {
|
|
|
793
740
|
* - The status of the jobs to filter the results.
|
|
794
741
|
*/
|
|
795
742
|
status: string;
|
|
743
|
+
/**
|
|
744
|
+
* - The type of file to be downloaded.
|
|
745
|
+
*/
|
|
796
746
|
fileType: string;
|
|
797
747
|
/**
|
|
798
748
|
* - The type of report to be downloaded.
|
|
@@ -841,16 +791,9 @@ type GetLaneConfigParam = {
|
|
|
841
791
|
* - Comma separated values of bag statuses
|
|
842
792
|
*/
|
|
843
793
|
bagStatus?: string;
|
|
844
|
-
/**
|
|
845
|
-
* - Search_type refers to the field that will
|
|
846
|
-
* be used as the target for the search operation
|
|
847
|
-
*/
|
|
848
794
|
searchType?: string;
|
|
849
795
|
searchValue?: string;
|
|
850
796
|
tags?: string;
|
|
851
|
-
/**
|
|
852
|
-
* - Time_to_dispatch refers to estimated SLA time.
|
|
853
|
-
*/
|
|
854
797
|
timeToDispatch?: number;
|
|
855
798
|
paymentMethods?: string;
|
|
856
799
|
myOrders?: boolean;
|
|
@@ -859,20 +802,6 @@ type GetLaneConfigParam = {
|
|
|
859
802
|
* company order
|
|
860
803
|
*/
|
|
861
804
|
showCrossCompanyData?: boolean;
|
|
862
|
-
/**
|
|
863
|
-
* - Defines the specific journey a shipment will
|
|
864
|
-
* follow based on the application's operational needs and customer
|
|
865
|
-
* preferences. This field categorizes orders into distinct types, each
|
|
866
|
-
* associated with a unique processing flow. For example:
|
|
867
|
-
*
|
|
868
|
-
* - "HomeDelivery": The order goes through all the steps needed for delivery,
|
|
869
|
-
* from being packed to arriving at the customer’s address.
|
|
870
|
-
* - "PickAtStore": The order is prepared for pickup at the store, skipping
|
|
871
|
-
* shipping steps to make it ready faster for the customer to collect in person.
|
|
872
|
-
* - "Digital": This order type likely refers to orders that involve digital goods
|
|
873
|
-
* or services, such as software, digital subscriptions, e-books, online
|
|
874
|
-
* courses, or any other item that can be delivered electronically.
|
|
875
|
-
*/
|
|
876
805
|
orderType?: string;
|
|
877
806
|
};
|
|
878
807
|
type GetManifestDetailsParam = {
|
|
@@ -1006,12 +935,12 @@ type GetOrderByIdParam = {
|
|
|
1006
935
|
type GetOrdersParam = {
|
|
1007
936
|
/**
|
|
1008
937
|
* - Lane refers to a section where orders are
|
|
1009
|
-
* assigned, indicating its grouping
|
|
938
|
+
* assigned, indicating its grouping
|
|
1010
939
|
*/
|
|
1011
940
|
lane?: string;
|
|
1012
941
|
/**
|
|
1013
942
|
* - Search_type refers to the field that will
|
|
1014
|
-
* be used as the target for the search operation
|
|
943
|
+
* be used as the target for the search operation
|
|
1015
944
|
*/
|
|
1016
945
|
searchType?: string;
|
|
1017
946
|
/**
|
|
@@ -1023,10 +952,6 @@ type GetOrdersParam = {
|
|
|
1023
952
|
* - Time_to_dispatch refers to estimated SLA time.
|
|
1024
953
|
*/
|
|
1025
954
|
timeToDispatch?: number;
|
|
1026
|
-
/**
|
|
1027
|
-
* - Comma separated values of payment
|
|
1028
|
-
* methods that were used to place order.
|
|
1029
|
-
*/
|
|
1030
955
|
paymentMethods?: string;
|
|
1031
956
|
/**
|
|
1032
957
|
* - Tags refers to additional descriptive labels
|
|
@@ -1038,43 +963,17 @@ type GetOrdersParam = {
|
|
|
1038
963
|
* specified by the search_type
|
|
1039
964
|
*/
|
|
1040
965
|
searchValue?: string;
|
|
1041
|
-
/**
|
|
1042
|
-
* - Date time in UTC timezone as per ISO format.
|
|
1043
|
-
*/
|
|
1044
966
|
fromDate?: string;
|
|
1045
|
-
/**
|
|
1046
|
-
* - Date time in UTC timezone as per ISO format.
|
|
1047
|
-
*/
|
|
1048
967
|
toDate?: string;
|
|
1049
|
-
/**
|
|
1050
|
-
* - Date time in UTC timezone as per ISO format.
|
|
1051
|
-
*/
|
|
1052
968
|
startDate?: string;
|
|
1053
|
-
/**
|
|
1054
|
-
* - Date time in UTC timezone as per ISO format.
|
|
1055
|
-
*/
|
|
1056
969
|
endDate?: string;
|
|
1057
970
|
/**
|
|
1058
971
|
* - Delivery Partner IDs to which shipments are assigned.
|
|
1059
972
|
*/
|
|
1060
973
|
dpIds?: string;
|
|
1061
|
-
/**
|
|
1062
|
-
* - A comma-separated list of store IDs used to
|
|
1063
|
-
* filter results to only those related to specific stores.
|
|
1064
|
-
*/
|
|
1065
974
|
stores?: string;
|
|
1066
|
-
/**
|
|
1067
|
-
* - A comma-separated list of sales channel
|
|
1068
|
-
* IDs to filter results based on the sales channels involved.
|
|
1069
|
-
*/
|
|
1070
975
|
salesChannels?: string;
|
|
1071
|
-
/**
|
|
1072
|
-
* - Specifies the page number for paginated results.
|
|
1073
|
-
*/
|
|
1074
976
|
pageNo?: number;
|
|
1075
|
-
/**
|
|
1076
|
-
* - Determines the number of results returned per page.
|
|
1077
|
-
*/
|
|
1078
977
|
pageSize?: number;
|
|
1079
978
|
isPrioritySort?: boolean;
|
|
1080
979
|
customMeta?: string;
|
|
@@ -1084,10 +983,6 @@ type GetOrdersParam = {
|
|
|
1084
983
|
* company order
|
|
1085
984
|
*/
|
|
1086
985
|
showCrossCompanyData?: boolean;
|
|
1087
|
-
/**
|
|
1088
|
-
* - The unique identifier for the customer
|
|
1089
|
-
* associated with the query, useful for filtering results to a specific customer.
|
|
1090
|
-
*/
|
|
1091
986
|
customerId?: string;
|
|
1092
987
|
orderType?: string;
|
|
1093
988
|
/**
|
|
@@ -1095,14 +990,6 @@ type GetOrdersParam = {
|
|
|
1095
990
|
* shipments are allowed
|
|
1096
991
|
*/
|
|
1097
992
|
allowInactive?: boolean;
|
|
1098
|
-
/**
|
|
1099
|
-
* - Defines the grouping criterion for
|
|
1100
|
-
* retrieving shipments or orders. It specifies whether the results should be
|
|
1101
|
-
* organized based on shipment groups or order groups. For example, using
|
|
1102
|
-
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
1103
|
-
* may not be recognized, leading to errors or default behavior.
|
|
1104
|
-
*/
|
|
1105
|
-
groupEntity?: string;
|
|
1106
993
|
/**
|
|
1107
994
|
* - Applies a date filter for listing
|
|
1108
995
|
* orders. This is useful when fetching data for a specific date range while
|
|
@@ -1112,12 +999,11 @@ type GetOrdersParam = {
|
|
|
1112
999
|
};
|
|
1113
1000
|
type GetShipmentByIdParam = {
|
|
1114
1001
|
/**
|
|
1115
|
-
* -
|
|
1116
|
-
* application, which can be used to reference specific shipments.
|
|
1002
|
+
* - App Shipment Id
|
|
1117
1003
|
*/
|
|
1118
1004
|
channelShipmentId?: string;
|
|
1119
1005
|
/**
|
|
1120
|
-
* -
|
|
1006
|
+
* - Shipment Id
|
|
1121
1007
|
*/
|
|
1122
1008
|
shipmentId?: string;
|
|
1123
1009
|
/**
|
|
@@ -1164,26 +1050,21 @@ type GetShipmentsParam = {
|
|
|
1164
1050
|
*/
|
|
1165
1051
|
lane?: string;
|
|
1166
1052
|
/**
|
|
1167
|
-
* - Comma separated values of bag statuses
|
|
1053
|
+
* - Comma separated values of bag statuses
|
|
1168
1054
|
*/
|
|
1169
1055
|
bagStatus?: string;
|
|
1170
1056
|
/**
|
|
1171
1057
|
* - Use this flag to fetch by
|
|
1172
|
-
* bag_status and override lane
|
|
1058
|
+
* bag_status and override lane
|
|
1173
1059
|
*/
|
|
1174
1060
|
statusOverrideLane?: boolean;
|
|
1175
|
-
/**
|
|
1176
|
-
* - Indicates the time to dispatch.
|
|
1177
|
-
*/
|
|
1178
1061
|
timeToDispatch?: number;
|
|
1179
1062
|
/**
|
|
1180
|
-
* -
|
|
1181
|
-
* type of search being performed.
|
|
1063
|
+
* - Search type key
|
|
1182
1064
|
*/
|
|
1183
1065
|
searchType?: string;
|
|
1184
1066
|
/**
|
|
1185
|
-
* -
|
|
1186
|
-
* type, such as a specific shipment ID or order ID.
|
|
1067
|
+
* - Search type value
|
|
1187
1068
|
*/
|
|
1188
1069
|
searchValue?: string;
|
|
1189
1070
|
/**
|
|
@@ -1195,122 +1076,77 @@ type GetShipmentsParam = {
|
|
|
1195
1076
|
*/
|
|
1196
1077
|
toDate?: string;
|
|
1197
1078
|
/**
|
|
1198
|
-
* -
|
|
1199
|
-
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
|
|
1079
|
+
* - UTC Start Date in ISO format
|
|
1200
1080
|
*/
|
|
1201
1081
|
startDate?: string;
|
|
1202
1082
|
/**
|
|
1203
|
-
* -
|
|
1204
|
-
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
|
|
1083
|
+
* - UTC End Date in ISO format
|
|
1205
1084
|
*/
|
|
1206
1085
|
endDate?: string;
|
|
1207
1086
|
/**
|
|
1208
|
-
* -
|
|
1209
|
-
* to filter results by specific delivery partners.
|
|
1087
|
+
* - Comma separated values of delivery partner ids
|
|
1210
1088
|
*/
|
|
1211
1089
|
dpIds?: string;
|
|
1212
1090
|
/**
|
|
1213
|
-
* -
|
|
1214
|
-
* filter results to only those related to specific stores.
|
|
1091
|
+
* - Comma separated values of store ids
|
|
1215
1092
|
*/
|
|
1216
1093
|
stores?: string;
|
|
1217
1094
|
/**
|
|
1218
|
-
* -
|
|
1219
|
-
* IDs to filter results based on the sales channels involved.
|
|
1095
|
+
* - Comma separated values of sales channel ids
|
|
1220
1096
|
*/
|
|
1221
1097
|
salesChannels?: string;
|
|
1222
1098
|
/**
|
|
1223
|
-
* -
|
|
1099
|
+
* - Page number for paginated data
|
|
1224
1100
|
*/
|
|
1225
1101
|
pageNo?: number;
|
|
1226
1102
|
/**
|
|
1227
|
-
* -
|
|
1103
|
+
* - Page size of data received per page
|
|
1228
1104
|
*/
|
|
1229
1105
|
pageSize?: number;
|
|
1230
1106
|
/**
|
|
1231
|
-
* -
|
|
1232
|
-
* whether to include only active shipments in the results.
|
|
1107
|
+
* - Flag to fetch active shipments
|
|
1233
1108
|
*/
|
|
1234
1109
|
fetchActiveShipment?: boolean;
|
|
1235
1110
|
/**
|
|
1236
|
-
* -
|
|
1237
|
-
* inclusion of inactive shipments in the results.
|
|
1111
|
+
* - Flag to allow inactive shipments
|
|
1238
1112
|
*/
|
|
1239
1113
|
allowInactive?: boolean;
|
|
1240
1114
|
/**
|
|
1241
|
-
* -
|
|
1242
|
-
* exclude shipments that are locked from the results.
|
|
1115
|
+
* - Flag to fetch locked shipments
|
|
1243
1116
|
*/
|
|
1244
1117
|
excludeLockedShipments?: boolean;
|
|
1245
1118
|
/**
|
|
1246
|
-
* -
|
|
1119
|
+
* - Comma separated values of payment methods
|
|
1247
1120
|
*/
|
|
1248
1121
|
paymentMethods?: string;
|
|
1249
1122
|
/**
|
|
1250
|
-
* -
|
|
1251
|
-
* application, which can be used to reference specific shipments.
|
|
1123
|
+
* - App Shipment Id
|
|
1252
1124
|
*/
|
|
1253
1125
|
channelShipmentId?: string;
|
|
1254
1126
|
/**
|
|
1255
|
-
* -
|
|
1127
|
+
* - App Order Id
|
|
1256
1128
|
*/
|
|
1257
1129
|
channelOrderId?: string;
|
|
1258
|
-
/**
|
|
1259
|
-
* - Custom metadata associated with the query,
|
|
1260
|
-
* allowing for additional filtering or information to be passed.
|
|
1261
|
-
*/
|
|
1262
1130
|
customMeta?: string;
|
|
1263
|
-
/**
|
|
1264
|
-
* - The channel through which the order was placed.
|
|
1265
|
-
*/
|
|
1266
1131
|
orderingChannel?: string;
|
|
1267
|
-
/**
|
|
1268
|
-
* - A tag used to identify the
|
|
1269
|
-
* company's affiliation for filtering or reporting purposes.
|
|
1270
|
-
*/
|
|
1271
1132
|
companyAffiliateTag?: string;
|
|
1272
|
-
/**
|
|
1273
|
-
* - A boolean flag indicating whether the query
|
|
1274
|
-
* should return only the user's orders.
|
|
1275
|
-
*/
|
|
1276
1133
|
myOrders?: boolean;
|
|
1277
|
-
/**
|
|
1278
|
-
* - The unique identifier of the user on
|
|
1279
|
-
* the platform, useful for filtering orders related to a specific user.
|
|
1280
|
-
*/
|
|
1281
1134
|
platformUserId?: string;
|
|
1282
1135
|
/**
|
|
1283
|
-
* -
|
|
1284
|
-
* based on specific criteria.
|
|
1136
|
+
* - Sort the result data on basis of input
|
|
1285
1137
|
*/
|
|
1286
1138
|
sortType?: string;
|
|
1287
1139
|
/**
|
|
1288
|
-
* -
|
|
1289
|
-
*
|
|
1140
|
+
* - Flag to view cross & non-cross
|
|
1141
|
+
* company order
|
|
1290
1142
|
*/
|
|
1291
1143
|
showCrossCompanyData?: boolean;
|
|
1292
1144
|
/**
|
|
1293
|
-
* -
|
|
1294
|
-
* the orders to filter results based on specific characteristics.
|
|
1145
|
+
* - Comma separated values of tags
|
|
1295
1146
|
*/
|
|
1296
1147
|
tags?: string;
|
|
1297
|
-
/**
|
|
1298
|
-
* - The unique identifier for the customer
|
|
1299
|
-
* associated with the query, useful for filtering results to a specific customer.
|
|
1300
|
-
*/
|
|
1301
1148
|
customerId?: string;
|
|
1302
|
-
/**
|
|
1303
|
-
* - The type of order being queried.
|
|
1304
|
-
*/
|
|
1305
1149
|
orderType?: string;
|
|
1306
|
-
/**
|
|
1307
|
-
* - Defines the grouping criterion for
|
|
1308
|
-
* retrieving shipments or orders. It specifies whether the results should be
|
|
1309
|
-
* organized based on shipment groups or order groups. For example, using
|
|
1310
|
-
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
1311
|
-
* may not be recognized, leading to errors or default behavior.
|
|
1312
|
-
*/
|
|
1313
|
-
groupEntity?: string;
|
|
1314
1150
|
/**
|
|
1315
1151
|
* - Applies a date filter for listing
|
|
1316
1152
|
* shipments. This is useful when fetching data for a specific date range
|
|
@@ -1389,18 +1225,22 @@ type TrackShipmentParam = {
|
|
|
1389
1225
|
pageSize?: number;
|
|
1390
1226
|
};
|
|
1391
1227
|
type UpdateAddressParam = {
|
|
1392
|
-
/**
|
|
1393
|
-
* - Unique shipment no. that is auto-generated
|
|
1394
|
-
*/
|
|
1395
1228
|
shipmentId: string;
|
|
1396
|
-
|
|
1229
|
+
name?: string;
|
|
1230
|
+
address?: string;
|
|
1231
|
+
addressType?: string;
|
|
1232
|
+
pincode?: string;
|
|
1233
|
+
phone?: string;
|
|
1234
|
+
email?: string;
|
|
1235
|
+
landmark?: string;
|
|
1236
|
+
addressCategory: string;
|
|
1237
|
+
city?: string;
|
|
1238
|
+
state?: string;
|
|
1239
|
+
country?: string;
|
|
1397
1240
|
};
|
|
1398
1241
|
type UpdatePackagingDimensionsParam = {
|
|
1399
1242
|
body: OrderPlatformModel.UpdatePackagingDimensionsPayload;
|
|
1400
1243
|
};
|
|
1401
|
-
type UpdatePaymentInfoParam = {
|
|
1402
|
-
body: OrderPlatformModel.UpdateShipmentPaymentMode;
|
|
1403
|
-
};
|
|
1404
1244
|
type UpdateShipmentLockParam = {
|
|
1405
1245
|
body: OrderPlatformModel.UpdateShipmentLockPayload;
|
|
1406
1246
|
};
|
|
@@ -1418,7 +1258,6 @@ type VerifyMobileOTPParam = {
|
|
|
1418
1258
|
};
|
|
1419
1259
|
type GetAllowedTemplatesForBulkParam = any;
|
|
1420
1260
|
type GetBulkActionTemplateParam = any;
|
|
1421
|
-
type GetChannelConfigParam = any;
|
|
1422
1261
|
type GetRoleBasedActionsParam = any;
|
|
1423
1262
|
type GetStateTransitionMapParam = any;
|
|
1424
1263
|
import OrderPlatformModel = require("./OrderPlatformModel");
|