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