@gofynd/fdk-client-javascript 1.4.2-beta.4 → 1.4.2-beta.6
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 +3 -2
- package/sdk/application/ApplicationClient.js +20 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +62 -62
- package/sdk/application/Cart/CartApplicationClient.js +82 -71
- package/sdk/application/Cart/CartApplicationValidator.d.ts +189 -34
- package/sdk/application/Cart/CartApplicationValidator.js +59 -34
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +78 -78
- package/sdk/application/Catalog/CatalogApplicationClient.js +78 -78
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -67
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -106
- package/sdk/application/Content/ContentApplicationClient.d.ts +34 -64
- package/sdk/application/Content/ContentApplicationClient.js +34 -115
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -42
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -42
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -14
- package/sdk/application/Lead/LeadApplicationClient.js +14 -14
- package/sdk/application/Lead/LeadApplicationModel.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +12 -12
- package/sdk/application/Logistic/LogisticApplicationClient.js +12 -12
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -24
- package/sdk/application/Order/OrderApplicationClient.js +24 -24
- package/sdk/application/Order/OrderApplicationModel.d.ts +23 -1
- package/sdk/application/Order/OrderApplicationModel.js +28 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +89 -89
- package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +498 -3
- package/sdk/application/Payment/PaymentApplicationModel.js +316 -2
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +54 -54
- package/sdk/application/PosCart/PosCartApplicationClient.js +54 -54
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -25
- package/sdk/application/Rewards/RewardsApplicationClient.js +14 -41
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -14
- package/sdk/application/Share/ShareApplicationClient.js +14 -14
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -4
- package/sdk/application/Share/ShareApplicationModel.js +0 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
- package/sdk/application/User/UserApplicationClient.d.ts +64 -64
- package/sdk/application/User/UserApplicationClient.js +64 -64
- package/sdk/common/Clickstream.d.ts +1 -0
- package/sdk/common/Clickstream.js +246 -0
- package/sdk/common/Utility.js +1 -4
- package/sdk/partner/Lead/LeadPartnerModel.js +1 -1
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +38 -38
- package/sdk/partner/Theme/ThemePartnerClient.js +38 -38
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +8 -8
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +34 -36
- package/sdk/platform/Billing/BillingPlatformClient.js +34 -36
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +98 -175
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +98 -254
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +92 -18
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +28 -18
- package/sdk/platform/Cart/CartPlatformModel.d.ts +12 -0
- package/sdk/platform/Cart/CartPlatformModel.js +12 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +195 -108
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +278 -113
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +335 -136
- package/sdk/platform/Catalog/CatalogPlatformClient.js +551 -136
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +5 -5
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3 -3
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -3
- package/sdk/platform/Common/CommonPlatformClient.js +3 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +115 -290
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +115 -510
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -13
- package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -29
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +32 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -127
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +52 -204
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +35 -111
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +35 -212
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +142 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +96 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +130 -218
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +136 -314
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
- package/sdk/platform/Content/ContentPlatformClient.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformClient.js +7 -7
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +22 -48
- package/sdk/platform/Discount/DiscountPlatformClient.js +22 -73
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +20 -56
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +20 -59
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +0 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +0 -2
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +14 -50
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +16 -55
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -14
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +12 -16
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +44 -44
- package/sdk/platform/Finance/FinancePlatformClient.js +44 -44
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -48
- package/sdk/platform/Lead/LeadPlatformClient.js +22 -72
- package/sdk/platform/Lead/LeadPlatformModel.js +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +4 -4
- package/sdk/platform/Order/OrderPlatformClient.d.ts +79 -208
- package/sdk/platform/Order/OrderPlatformClient.js +79 -294
- package/sdk/platform/Order/OrderPlatformModel.d.ts +32 -3
- package/sdk/platform/Order/OrderPlatformModel.js +34 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +81 -81
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +81 -81
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +23 -40
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +23 -61
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +5 -5
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +4 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.js +10 -10
- package/sdk/platform/Share/SharePlatformModel.d.ts +0 -4
- package/sdk/platform/Share/SharePlatformModel.js +0 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +56 -56
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +56 -56
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
- package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +33 -33
- package/sdk/platform/User/UserPlatformApplicationClient.js +33 -33
- package/sdk/platform/User/UserPlatformModel.d.ts +4 -4
- package/sdk/platform/User/UserPlatformModel.js +4 -4
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +32 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +32 -45
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +58 -1
- package/sdk/platform/Webhook/WebhookPlatformModel.js +66 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicClient.js +4 -4
|
@@ -8,8 +8,8 @@ declare class Order {
|
|
|
8
8
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
9
9
|
* @returns {Promise<OrderPlatformModel.AttachOrderUserResponse>} - Success response
|
|
10
10
|
* @name attachOrderUser
|
|
11
|
-
* @summary:
|
|
12
|
-
* @description: Attach
|
|
11
|
+
* @summary: Attach order user.
|
|
12
|
+
* @description: Attach order User - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/attachOrderUser/).
|
|
13
13
|
*/
|
|
14
14
|
attachOrderUser({ body, requestHeaders }?: OrderPlatformValidator.AttachOrderUserParam, { responseHeaders }?: object): Promise<OrderPlatformModel.AttachOrderUserResponse>;
|
|
15
15
|
/**
|
|
@@ -40,8 +40,8 @@ declare class Order {
|
|
|
40
40
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
41
41
|
* @returns {Promise<OrderPlatformModel.OrderStatusResult>} - Success response
|
|
42
42
|
* @name checkOrderStatus
|
|
43
|
-
* @summary:
|
|
44
|
-
* @description:
|
|
43
|
+
* @summary: Check order status.
|
|
44
|
+
* @description: Verify the current status of an order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/checkOrderStatus/).
|
|
45
45
|
*/
|
|
46
46
|
checkOrderStatus({ body, requestHeaders }?: OrderPlatformValidator.CheckOrderStatusParam, { responseHeaders }?: object): Promise<OrderPlatformModel.OrderStatusResult>;
|
|
47
47
|
/**
|
|
@@ -50,8 +50,8 @@ declare class Order {
|
|
|
50
50
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
51
51
|
* @returns {Promise<OrderPlatformModel.Click2CallResponse>} - Success response
|
|
52
52
|
* @name click2Call
|
|
53
|
-
* @summary:
|
|
54
|
-
* @description: Click to
|
|
53
|
+
* @summary: Click to call.
|
|
54
|
+
* @description: Click to call. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/click2Call/).
|
|
55
55
|
*/
|
|
56
56
|
click2Call({ caller, receiver, bagId, callerId, method, requestHeaders }?: OrderPlatformValidator.Click2CallParam, { responseHeaders }?: object): Promise<OrderPlatformModel.Click2CallResponse>;
|
|
57
57
|
/**
|
|
@@ -61,8 +61,8 @@ declare class Order {
|
|
|
61
61
|
* @returns {Promise<OrderPlatformModel.CreateChannelConfigResponse>} -
|
|
62
62
|
* Success response
|
|
63
63
|
* @name createChannelConfig
|
|
64
|
-
* @summary:
|
|
65
|
-
* @description:
|
|
64
|
+
* @summary: Create channel configuration.
|
|
65
|
+
* @description: Set up configuration for a channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/createChannelConfig/).
|
|
66
66
|
*/
|
|
67
67
|
createChannelConfig({ body, requestHeaders }?: OrderPlatformValidator.CreateChannelConfigParam, { responseHeaders }?: object): Promise<OrderPlatformModel.CreateChannelConfigResponse>;
|
|
68
68
|
/**
|
|
@@ -71,8 +71,8 @@ declare class Order {
|
|
|
71
71
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
72
72
|
* @returns {Promise<OrderPlatformModel.CreateOrderResponse>} - Success response
|
|
73
73
|
* @name createOrder
|
|
74
|
-
* @summary:
|
|
75
|
-
* @description: Create
|
|
74
|
+
* @summary: Create order.
|
|
75
|
+
* @description: Create order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/createOrder/).
|
|
76
76
|
*/
|
|
77
77
|
createOrder({ body, requestHeaders }?: OrderPlatformValidator.CreateOrderParam, { responseHeaders }?: object): Promise<OrderPlatformModel.CreateOrderResponse>;
|
|
78
78
|
/**
|
|
@@ -91,7 +91,7 @@ declare class Order {
|
|
|
91
91
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
92
92
|
* @returns {Promise<OrderPlatformModel.FileResponse>} - Success response
|
|
93
93
|
* @name downloadBulkActionTemplate
|
|
94
|
-
* @summary:
|
|
94
|
+
* @summary: Download bulk action template.
|
|
95
95
|
* @description: Download bulk actions seller templates. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/downloadBulkActionTemplate/).
|
|
96
96
|
*/
|
|
97
97
|
downloadBulkActionTemplate({ templateSlug, requestHeaders }?: OrderPlatformValidator.DownloadBulkActionTemplateParam, { responseHeaders }?: object): Promise<OrderPlatformModel.FileResponse>;
|
|
@@ -102,8 +102,8 @@ declare class Order {
|
|
|
102
102
|
* @returns {Promise<OrderPlatformModel.BulkReportsDownloadResponse>} -
|
|
103
103
|
* Success response
|
|
104
104
|
* @name downloadLanesReport
|
|
105
|
-
* @summary:
|
|
106
|
-
* @description:
|
|
105
|
+
* @summary: Download lanes report.
|
|
106
|
+
* @description: Downloads lanes shipment/orders. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/downloadLanesReport/).
|
|
107
107
|
*/
|
|
108
108
|
downloadLanesReport({ body, requestHeaders }?: OrderPlatformValidator.DownloadLanesReportParam, { responseHeaders }?: object): Promise<OrderPlatformModel.BulkReportsDownloadResponse>;
|
|
109
109
|
/**
|
|
@@ -112,7 +112,7 @@ declare class Order {
|
|
|
112
112
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
113
113
|
* @returns {Promise<OrderPlatformModel.EInvoiceRetryResponse>} - Success response
|
|
114
114
|
* @name eInvoiceRetry
|
|
115
|
-
* @summary:
|
|
115
|
+
* @summary: E-invoice retry.
|
|
116
116
|
* @description: Retry e-invoice after failure - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/eInvoiceRetry/).
|
|
117
117
|
*/
|
|
118
118
|
eInvoiceRetry({ body, requestHeaders }?: OrderPlatformValidator.EInvoiceRetryParam, { responseHeaders }?: object): Promise<OrderPlatformModel.EInvoiceRetryResponse>;
|
|
@@ -134,8 +134,8 @@ declare class Order {
|
|
|
134
134
|
* - Success response
|
|
135
135
|
*
|
|
136
136
|
* @name fetchCreditBalanceDetail
|
|
137
|
-
* @summary:
|
|
138
|
-
* @description:
|
|
137
|
+
* @summary: Fetch credit balance detail.
|
|
138
|
+
* @description: Retrieve details about credit balance. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/fetchCreditBalanceDetail/).
|
|
139
139
|
*/
|
|
140
140
|
fetchCreditBalanceDetail({ body, requestHeaders }?: OrderPlatformValidator.FetchCreditBalanceDetailParam, { responseHeaders }?: object): Promise<OrderPlatformModel.FetchCreditBalanceResponsePayload>;
|
|
141
141
|
/**
|
|
@@ -145,8 +145,8 @@ declare class Order {
|
|
|
145
145
|
* @returns {Promise<OrderPlatformModel.RefundModeConfigResponsePayload>} -
|
|
146
146
|
* Success response
|
|
147
147
|
* @name fetchRefundModeConfig
|
|
148
|
-
* @summary:
|
|
149
|
-
* @description:
|
|
148
|
+
* @summary: Fetch refund mode config.
|
|
149
|
+
* @description: Retrieve configuration for refund modes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/fetchRefundModeConfig/).
|
|
150
150
|
*/
|
|
151
151
|
fetchRefundModeConfig({ body, requestHeaders }?: OrderPlatformValidator.FetchRefundModeConfigParam, { responseHeaders }?: object): Promise<OrderPlatformModel.RefundModeConfigResponsePayload>;
|
|
152
152
|
/**
|
|
@@ -166,8 +166,8 @@ declare class Order {
|
|
|
166
166
|
* @returns {Promise<OrderPlatformModel.GeneratePosOrderReceiptResponse>} -
|
|
167
167
|
* Success response
|
|
168
168
|
* @name generatePOSReceiptByOrderId
|
|
169
|
-
* @summary:
|
|
170
|
-
* @description:
|
|
169
|
+
* @summary: Generate POS receipt by order ID.
|
|
170
|
+
* @description: Create a point-of-sale (POS) receipt for a specific order by order ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/generatePOSReceiptByOrderId/).
|
|
171
171
|
*/
|
|
172
172
|
generatePOSReceiptByOrderId({ orderId, shipmentId, documentType, requestHeaders }?: OrderPlatformValidator.GeneratePOSReceiptByOrderIdParam, { responseHeaders }?: object): Promise<OrderPlatformModel.GeneratePosOrderReceiptResponse>;
|
|
173
173
|
/**
|
|
@@ -177,9 +177,8 @@ declare class Order {
|
|
|
177
177
|
* @returns {Promise<OrderPlatformModel.RoleBaseStateTransitionMapping>} -
|
|
178
178
|
* Success response
|
|
179
179
|
* @name getAllowedStateTransition
|
|
180
|
-
* @summary:
|
|
181
|
-
* @description:
|
|
182
|
-
* - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getAllowedStateTransition/).
|
|
180
|
+
* @summary: Get allowed state transition.
|
|
181
|
+
* @description: Retrieve next possible states based on logged in user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getAllowedStateTransition/).
|
|
183
182
|
*/
|
|
184
183
|
getAllowedStateTransition({ orderingChannel, status, requestHeaders }?: OrderPlatformValidator.GetAllowedStateTransitionParam, { responseHeaders }?: object): Promise<OrderPlatformModel.RoleBaseStateTransitionMapping>;
|
|
185
184
|
/**
|
|
@@ -198,8 +197,8 @@ declare class Order {
|
|
|
198
197
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
199
198
|
* @returns {Promise<OrderPlatformModel.AnnouncementsResponse>} - Success response
|
|
200
199
|
* @name getAnnouncements
|
|
201
|
-
* @summary:
|
|
202
|
-
* @description:
|
|
200
|
+
* @summary: Get announcements.
|
|
201
|
+
* @description: Retrieve announcements related to orders or shipments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getAnnouncements/).
|
|
203
202
|
*/
|
|
204
203
|
getAnnouncements({ date, requestHeaders }?: OrderPlatformValidator.GetAnnouncementsParam, { responseHeaders }?: object): Promise<OrderPlatformModel.AnnouncementsResponse>;
|
|
205
204
|
/**
|
|
@@ -209,8 +208,8 @@ declare class Order {
|
|
|
209
208
|
* @returns {Promise<OrderPlatformModel.BagDetailsPlatformResponse>} -
|
|
210
209
|
* Success response
|
|
211
210
|
* @name getBagById
|
|
212
|
-
* @summary:
|
|
213
|
-
* @description:
|
|
211
|
+
* @summary: Get bag by ID.
|
|
212
|
+
* @description: Retrieve detailed information about a specific bag. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getBagById/).
|
|
214
213
|
*/
|
|
215
214
|
getBagById({ bagId, channelBagId, channelId, requestHeaders }?: OrderPlatformValidator.GetBagByIdParam, { responseHeaders }?: object): Promise<OrderPlatformModel.BagDetailsPlatformResponse>;
|
|
216
215
|
/**
|
|
@@ -219,8 +218,8 @@ declare class Order {
|
|
|
219
218
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
220
219
|
* @returns {Promise<OrderPlatformModel.GetBagsPlatformResponse>} - Success response
|
|
221
220
|
* @name getBags
|
|
222
|
-
* @summary:
|
|
223
|
-
* @description:
|
|
221
|
+
* @summary: Get bags.
|
|
222
|
+
* @description: Retrieve Bags for the order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getBags/).
|
|
224
223
|
*/
|
|
225
224
|
getBags({ bagIds, shipmentIds, orderIds, channelBagIds, channelShipmentIds, channelOrderIds, channelId, pageNo, pageSize, requestHeaders, }?: OrderPlatformValidator.GetBagsParam, { responseHeaders }?: object): Promise<OrderPlatformModel.GetBagsPlatformResponse>;
|
|
226
225
|
/**
|
|
@@ -230,8 +229,8 @@ declare class Order {
|
|
|
230
229
|
* @returns {Promise<OrderPlatformModel.BulkActionTemplateResponse>} -
|
|
231
230
|
* Success response
|
|
232
231
|
* @name getBulkActionTemplate
|
|
233
|
-
* @summary:
|
|
234
|
-
* @description:
|
|
232
|
+
* @summary: Get bulk action template.
|
|
233
|
+
* @description: Retrieve bulk action seller templates. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getBulkActionTemplate/).
|
|
235
234
|
*/
|
|
236
235
|
getBulkActionTemplate({ requestHeaders }?: any, { responseHeaders }?: object): Promise<OrderPlatformModel.BulkActionTemplateResponse>;
|
|
237
236
|
/**
|
|
@@ -240,8 +239,8 @@ declare class Order {
|
|
|
240
239
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
241
240
|
* @returns {Promise<OrderPlatformModel.FileResponse>} - Success response
|
|
242
241
|
* @name getBulkShipmentExcelFile
|
|
243
|
-
* @summary:
|
|
244
|
-
* @description:
|
|
242
|
+
* @summary: Get bulk shipment Excel file.
|
|
243
|
+
* @description: Retrieve a bulk shipment Excel report. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getBulkShipmentExcelFile/).
|
|
245
244
|
*/
|
|
246
245
|
getBulkShipmentExcelFile({ salesChannels, dpIds, startDate, endDate, stores, tags, bagStatus, paymentMethods, fileType, timeToDispatch, pageNo, pageSize, requestHeaders, }?: OrderPlatformValidator.GetBulkShipmentExcelFileParam, { responseHeaders }?: object): Promise<OrderPlatformModel.FileResponse>;
|
|
247
246
|
/**
|
|
@@ -250,8 +249,8 @@ declare class Order {
|
|
|
250
249
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
251
250
|
* @returns {Promise<OrderPlatformModel.CreateChannelConfigData>} - Success response
|
|
252
251
|
* @name getChannelConfig
|
|
253
|
-
* @summary:
|
|
254
|
-
* @description:
|
|
252
|
+
* @summary: Get channel configuration.
|
|
253
|
+
* @description: Retrieve configuration settings for a channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getChannelConfig/).
|
|
255
254
|
*/
|
|
256
255
|
getChannelConfig({ requestHeaders }?: any, { responseHeaders }?: object): Promise<OrderPlatformModel.CreateChannelConfigData>;
|
|
257
256
|
/**
|
|
@@ -270,8 +269,8 @@ declare class Order {
|
|
|
270
269
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
271
270
|
* @returns {Promise<OrderPlatformModel.LaneConfigResponse>} - Success response
|
|
272
271
|
* @name getLaneConfig
|
|
273
|
-
* @summary:
|
|
274
|
-
* @description:
|
|
272
|
+
* @summary: Get lane configuration.
|
|
273
|
+
* @description: Retrieve configuration settings for lanes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getLaneConfig/).
|
|
275
274
|
*/
|
|
276
275
|
getLaneConfig({ superLane, groupEntity, fromDate, toDate, startDate, endDate, dpIds, stores, salesChannels, paymentMode, bagStatus, searchType, searchValue, tags, timeToDispatch, paymentMethods, myOrders, showCrossCompanyData, orderType, requestHeaders, }?: OrderPlatformValidator.GetLaneConfigParam, { responseHeaders }?: object): Promise<OrderPlatformModel.LaneConfigResponse>;
|
|
277
276
|
/**
|
|
@@ -320,8 +319,8 @@ declare class Order {
|
|
|
320
319
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
321
320
|
* @returns {Promise<OrderPlatformModel.OrderDetailsResponse>} - Success response
|
|
322
321
|
* @name getOrderById
|
|
323
|
-
* @summary:
|
|
324
|
-
* @description:
|
|
322
|
+
* @summary: Get order by ID.
|
|
323
|
+
* @description: Retrieve detailed information about a specific order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getOrderById/).
|
|
325
324
|
*/
|
|
326
325
|
getOrderById({ orderId, myOrders, allowInactive, requestHeaders }?: OrderPlatformValidator.GetOrderByIdParam, { responseHeaders }?: object): Promise<OrderPlatformModel.OrderDetailsResponse>;
|
|
327
326
|
/**
|
|
@@ -330,75 +329,18 @@ declare class Order {
|
|
|
330
329
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
331
330
|
* @returns {Promise<OrderPlatformModel.OrderListingResponse>} - Success response
|
|
332
331
|
* @name getOrders
|
|
333
|
-
* @summary:
|
|
334
|
-
* @description:
|
|
332
|
+
* @summary: Get orders.
|
|
333
|
+
* @description: Retrieve a list of available orders. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getOrders/).
|
|
335
334
|
*/
|
|
336
335
|
getOrders({ lane, searchType, bagStatus, timeToDispatch, paymentMethods, tags, searchValue, fromDate, toDate, startDate, endDate, dpIds, stores, salesChannels, pageNo, pageSize, isPrioritySort, customMeta, myOrders, showCrossCompanyData, customerId, orderType, requestHeaders, }?: OrderPlatformValidator.GetOrdersParam, { responseHeaders }?: object): Promise<OrderPlatformModel.OrderListingResponse>;
|
|
337
|
-
/**
|
|
338
|
-
* @param {Object} arg - Arg object.
|
|
339
|
-
* @param {string} [arg.lane] - Lane refers to a section where orders are
|
|
340
|
-
* assigned, indicating its grouping
|
|
341
|
-
* @param {string} [arg.searchType] - Search_type refers to the field that
|
|
342
|
-
* will be used as the target for the search operation
|
|
343
|
-
* @param {string} [arg.bagStatus] - Bag_status refers to status of the
|
|
344
|
-
* entity. Filters orders based on the status.
|
|
345
|
-
* @param {number} [arg.timeToDispatch] - Time_to_dispatch refers to
|
|
346
|
-
* estimated SLA time.
|
|
347
|
-
* @param {string} [arg.paymentMethods] -
|
|
348
|
-
* @param {string} [arg.tags] - Tags refers to additional descriptive labels
|
|
349
|
-
* associated with the order
|
|
350
|
-
* @param {string} [arg.searchValue] - Search_value is matched against the
|
|
351
|
-
* field specified by the search_type
|
|
352
|
-
* @param {string} [arg.fromDate] -
|
|
353
|
-
* @param {string} [arg.toDate] -
|
|
354
|
-
* @param {string} [arg.startDate] -
|
|
355
|
-
* @param {string} [arg.endDate] -
|
|
356
|
-
* @param {string} [arg.dpIds] - Delivery Partner IDs to which shipments are assigned.
|
|
357
|
-
* @param {string} [arg.stores] -
|
|
358
|
-
* @param {string} [arg.salesChannels] -
|
|
359
|
-
* @param {number} [arg.pageSize] -
|
|
360
|
-
* @param {boolean} [arg.isPrioritySort] -
|
|
361
|
-
* @param {string} [arg.customMeta] -
|
|
362
|
-
* @param {boolean} [arg.myOrders] -
|
|
363
|
-
* @param {boolean} [arg.showCrossCompanyData] - Flag to view cross &
|
|
364
|
-
* non-cross company order
|
|
365
|
-
* @param {string} [arg.customerId] -
|
|
366
|
-
* @param {string} [arg.orderType] -
|
|
367
|
-
* @returns {Paginator<OrderPlatformModel.OrderListingResponse>}
|
|
368
|
-
* @summary:
|
|
369
|
-
* @description: Get Orders Listing
|
|
370
|
-
*/
|
|
371
|
-
getOrdersPaginator({ lane, searchType, bagStatus, timeToDispatch, paymentMethods, tags, searchValue, fromDate, toDate, startDate, endDate, dpIds, stores, salesChannels, pageSize, isPrioritySort, customMeta, myOrders, showCrossCompanyData, customerId, orderType, }?: {
|
|
372
|
-
lane?: string;
|
|
373
|
-
searchType?: string;
|
|
374
|
-
bagStatus?: string;
|
|
375
|
-
timeToDispatch?: number;
|
|
376
|
-
paymentMethods?: string;
|
|
377
|
-
tags?: string;
|
|
378
|
-
searchValue?: string;
|
|
379
|
-
fromDate?: string;
|
|
380
|
-
toDate?: string;
|
|
381
|
-
startDate?: string;
|
|
382
|
-
endDate?: string;
|
|
383
|
-
dpIds?: string;
|
|
384
|
-
stores?: string;
|
|
385
|
-
salesChannels?: string;
|
|
386
|
-
pageSize?: number;
|
|
387
|
-
isPrioritySort?: boolean;
|
|
388
|
-
customMeta?: string;
|
|
389
|
-
myOrders?: boolean;
|
|
390
|
-
showCrossCompanyData?: boolean;
|
|
391
|
-
customerId?: string;
|
|
392
|
-
orderType?: string;
|
|
393
|
-
}): Paginator<OrderPlatformModel.OrderListingResponse>;
|
|
394
336
|
/**
|
|
395
337
|
* @param {OrderPlatformValidator.GetRoleBasedActionsParam} arg - Arg object
|
|
396
338
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
397
339
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
398
340
|
* @returns {Promise<OrderPlatformModel.GetActionsResponse>} - Success response
|
|
399
341
|
* @name getRoleBasedActions
|
|
400
|
-
* @summary:
|
|
401
|
-
* @description:
|
|
342
|
+
* @summary: Get role-based actions.
|
|
343
|
+
* @description: Retrieve role based actions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getRoleBasedActions/).
|
|
402
344
|
*/
|
|
403
345
|
getRoleBasedActions({ requestHeaders }?: any, { responseHeaders }?: object): Promise<OrderPlatformModel.GetActionsResponse>;
|
|
404
346
|
/**
|
|
@@ -407,8 +349,8 @@ declare class Order {
|
|
|
407
349
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
408
350
|
* @returns {Promise<OrderPlatformModel.ShipmentInfoResponse>} - Success response
|
|
409
351
|
* @name getShipmentById
|
|
410
|
-
* @summary:
|
|
411
|
-
* @description:
|
|
352
|
+
* @summary: Get shipment by ID.
|
|
353
|
+
* @description: Retrieve detailed information about a specific shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getShipmentById/).
|
|
412
354
|
*/
|
|
413
355
|
getShipmentById({ channelShipmentId, shipmentId, fetchActiveShipment, requestHeaders }?: OrderPlatformValidator.GetShipmentByIdParam, { responseHeaders }?: object): Promise<OrderPlatformModel.ShipmentInfoResponse>;
|
|
414
356
|
/**
|
|
@@ -417,8 +359,8 @@ declare class Order {
|
|
|
417
359
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
418
360
|
* @returns {Promise<OrderPlatformModel.ShipmentHistoryResponse>} - Success response
|
|
419
361
|
* @name getShipmentHistory
|
|
420
|
-
* @summary:
|
|
421
|
-
* @description:
|
|
362
|
+
* @summary: Get shipment history.
|
|
363
|
+
* @description: Retrieve the shipment history. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getShipmentHistory/).
|
|
422
364
|
*/
|
|
423
365
|
getShipmentHistory({ shipmentId, bagId, requestHeaders }?: OrderPlatformValidator.GetShipmentHistoryParam, { responseHeaders }?: object): Promise<OrderPlatformModel.ShipmentHistoryResponse>;
|
|
424
366
|
/**
|
|
@@ -428,8 +370,8 @@ declare class Order {
|
|
|
428
370
|
* @returns {Promise<OrderPlatformModel.PlatformShipmentReasonsResponse>} -
|
|
429
371
|
* Success response
|
|
430
372
|
* @name getShipmentReasons
|
|
431
|
-
* @summary: Get reasons
|
|
432
|
-
* @description:
|
|
373
|
+
* @summary: Get shipment reasons.
|
|
374
|
+
* @description: Retrieve the issues that led to the cancellation of bags within a shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getShipmentReasons/).
|
|
433
375
|
*/
|
|
434
376
|
getShipmentReasons({ shipmentId, bagId, state, requestHeaders }?: OrderPlatformValidator.GetShipmentReasonsParam, { responseHeaders }?: object): Promise<OrderPlatformModel.PlatformShipmentReasonsResponse>;
|
|
435
377
|
/**
|
|
@@ -440,88 +382,18 @@ declare class Order {
|
|
|
440
382
|
* - Success response
|
|
441
383
|
*
|
|
442
384
|
* @name getShipments
|
|
443
|
-
* @summary:
|
|
444
|
-
* @description:
|
|
385
|
+
* @summary: Get shipments.
|
|
386
|
+
* @description: Retrieve a list of available shipments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getShipments/).
|
|
445
387
|
*/
|
|
446
388
|
getShipments({ lane, bagStatus, statusOverrideLane, timeToDispatch, searchType, searchValue, fromDate, toDate, startDate, endDate, dpIds, stores, salesChannels, pageNo, pageSize, fetchActiveShipment, allowInactive, excludeLockedShipments, paymentMethods, channelShipmentId, channelOrderId, customMeta, orderingChannel, companyAffiliateTag, myOrders, platformUserId, sortType, showCrossCompanyData, tags, customerId, orderType, requestHeaders, }?: OrderPlatformValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<OrderPlatformModel.ShipmentInternalPlatformViewResponse>;
|
|
447
|
-
/**
|
|
448
|
-
* @param {Object} arg - Arg object.
|
|
449
|
-
* @param {string} [arg.lane] - Name of lane for which data is to be fetched
|
|
450
|
-
* @param {string} [arg.bagStatus] - Comma separated values of bag statuses
|
|
451
|
-
* @param {boolean} [arg.statusOverrideLane] - Use this flag to fetch by
|
|
452
|
-
* bag_status and override lane
|
|
453
|
-
* @param {number} [arg.timeToDispatch] -
|
|
454
|
-
* @param {string} [arg.searchType] - Search type key
|
|
455
|
-
* @param {string} [arg.searchValue] - Search type value
|
|
456
|
-
* @param {string} [arg.fromDate] - Start Date in DD-MM-YYYY format
|
|
457
|
-
* @param {string} [arg.toDate] - End Date in DD-MM-YYYY format
|
|
458
|
-
* @param {string} [arg.startDate] - UTC Start Date in ISO format
|
|
459
|
-
* @param {string} [arg.endDate] - UTC End Date in ISO format
|
|
460
|
-
* @param {string} [arg.dpIds] - Comma separated values of delivery partner ids
|
|
461
|
-
* @param {string} [arg.stores] - Comma separated values of store ids
|
|
462
|
-
* @param {string} [arg.salesChannels] - Comma separated values of sales channel ids
|
|
463
|
-
* @param {number} [arg.pageSize] - Page size of data received per page
|
|
464
|
-
* @param {boolean} [arg.fetchActiveShipment] - Flag to fetch active shipments
|
|
465
|
-
* @param {boolean} [arg.allowInactive] - Flag to allow inactive shipments
|
|
466
|
-
* @param {boolean} [arg.excludeLockedShipments] - Flag to fetch locked shipments
|
|
467
|
-
* @param {string} [arg.paymentMethods] - Comma separated values of payment methods
|
|
468
|
-
* @param {string} [arg.channelShipmentId] - App Shipment Id
|
|
469
|
-
* @param {string} [arg.channelOrderId] - App Order Id
|
|
470
|
-
* @param {string} [arg.customMeta] -
|
|
471
|
-
* @param {string} [arg.orderingChannel] -
|
|
472
|
-
* @param {string} [arg.companyAffiliateTag] -
|
|
473
|
-
* @param {boolean} [arg.myOrders] -
|
|
474
|
-
* @param {string} [arg.platformUserId] -
|
|
475
|
-
* @param {string} [arg.sortType] - Sort the result data on basis of input
|
|
476
|
-
* @param {boolean} [arg.showCrossCompanyData] - Flag to view cross &
|
|
477
|
-
* non-cross company order
|
|
478
|
-
* @param {string} [arg.tags] - Comma separated values of tags
|
|
479
|
-
* @param {string} [arg.customerId] -
|
|
480
|
-
* @param {string} [arg.orderType] -
|
|
481
|
-
* @returns {Paginator<OrderPlatformModel.ShipmentInternalPlatformViewResponse>}
|
|
482
|
-
* @summary:
|
|
483
|
-
* @description: Get Shipments Listing for the company id
|
|
484
|
-
*/
|
|
485
|
-
getShipmentsPaginator({ lane, bagStatus, statusOverrideLane, timeToDispatch, searchType, searchValue, fromDate, toDate, startDate, endDate, dpIds, stores, salesChannels, pageSize, fetchActiveShipment, allowInactive, excludeLockedShipments, paymentMethods, channelShipmentId, channelOrderId, customMeta, orderingChannel, companyAffiliateTag, myOrders, platformUserId, sortType, showCrossCompanyData, tags, customerId, orderType, }?: {
|
|
486
|
-
lane?: string;
|
|
487
|
-
bagStatus?: string;
|
|
488
|
-
statusOverrideLane?: boolean;
|
|
489
|
-
timeToDispatch?: number;
|
|
490
|
-
searchType?: string;
|
|
491
|
-
searchValue?: string;
|
|
492
|
-
fromDate?: string;
|
|
493
|
-
toDate?: string;
|
|
494
|
-
startDate?: string;
|
|
495
|
-
endDate?: string;
|
|
496
|
-
dpIds?: string;
|
|
497
|
-
stores?: string;
|
|
498
|
-
salesChannels?: string;
|
|
499
|
-
pageSize?: number;
|
|
500
|
-
fetchActiveShipment?: boolean;
|
|
501
|
-
allowInactive?: boolean;
|
|
502
|
-
excludeLockedShipments?: boolean;
|
|
503
|
-
paymentMethods?: string;
|
|
504
|
-
channelShipmentId?: string;
|
|
505
|
-
channelOrderId?: string;
|
|
506
|
-
customMeta?: string;
|
|
507
|
-
orderingChannel?: string;
|
|
508
|
-
companyAffiliateTag?: string;
|
|
509
|
-
myOrders?: boolean;
|
|
510
|
-
platformUserId?: string;
|
|
511
|
-
sortType?: string;
|
|
512
|
-
showCrossCompanyData?: boolean;
|
|
513
|
-
tags?: string;
|
|
514
|
-
customerId?: string;
|
|
515
|
-
orderType?: string;
|
|
516
|
-
}): Paginator<OrderPlatformModel.ShipmentInternalPlatformViewResponse>;
|
|
517
389
|
/**
|
|
518
390
|
* @param {OrderPlatformValidator.GetStateTransitionMapParam} arg - Arg object
|
|
519
391
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
520
392
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
521
393
|
* @returns {Promise<OrderPlatformModel.BagStateTransitionMap>} - Success response
|
|
522
394
|
* @name getStateTransitionMap
|
|
523
|
-
* @summary:
|
|
524
|
-
* @description:
|
|
395
|
+
* @summary: Get state transition map.
|
|
396
|
+
* @description: Retrieve a map of state transitions for orders. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getStateTransitionMap/).
|
|
525
397
|
*/
|
|
526
398
|
getStateTransitionMap({ requestHeaders }?: any, { responseHeaders }?: object): Promise<OrderPlatformModel.BagStateTransitionMap>;
|
|
527
399
|
/**
|
|
@@ -540,8 +412,8 @@ declare class Order {
|
|
|
540
412
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
541
413
|
* @returns {Promise<OrderPlatformModel.FiltersResponse>} - Success response
|
|
542
414
|
* @name getfilters
|
|
543
|
-
* @summary:
|
|
544
|
-
* @description:
|
|
415
|
+
* @summary: Get filters.
|
|
416
|
+
* @description: Retrieve listing filters. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/getfilters/).
|
|
545
417
|
*/
|
|
546
418
|
getfilters({ view, groupEntity, requestHeaders }?: OrderPlatformValidator.GetfiltersParam, { responseHeaders }?: object): Promise<OrderPlatformModel.FiltersResponse>;
|
|
547
419
|
/**
|
|
@@ -551,8 +423,8 @@ declare class Order {
|
|
|
551
423
|
* @returns {Promise<OrderPlatformModel.InvalidateShipmentCacheResponse>} -
|
|
552
424
|
* Success response
|
|
553
425
|
* @name invalidateShipmentCache
|
|
554
|
-
* @summary:
|
|
555
|
-
* @description: Invalidate shipment Cache - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/invalidateShipmentCache/).
|
|
426
|
+
* @summary: Invalidate shipment cache.
|
|
427
|
+
* @description: Invalidate shipment Cache. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/invalidateShipmentCache/).
|
|
556
428
|
*/
|
|
557
429
|
invalidateShipmentCache({ body, requestHeaders }?: OrderPlatformValidator.InvalidateShipmentCacheParam, { responseHeaders }?: object): Promise<OrderPlatformModel.InvalidateShipmentCacheResponse>;
|
|
558
430
|
/**
|
|
@@ -571,8 +443,8 @@ declare class Order {
|
|
|
571
443
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
572
444
|
* @returns {Promise<OrderPlatformModel.ResponseDetail>} - Success response
|
|
573
445
|
* @name orderUpdate
|
|
574
|
-
* @summary:
|
|
575
|
-
* @description:
|
|
446
|
+
* @summary: Order update.
|
|
447
|
+
* @description: Modify the details and status of an order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/orderUpdate/).
|
|
576
448
|
*/
|
|
577
449
|
orderUpdate({ body, requestHeaders }?: OrderPlatformValidator.OrderUpdateParam, { responseHeaders }?: object): Promise<OrderPlatformModel.ResponseDetail>;
|
|
578
450
|
/**
|
|
@@ -581,8 +453,8 @@ declare class Order {
|
|
|
581
453
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
582
454
|
* @returns {Promise<OrderPlatformModel.ShipmentHistoryResponse>} - Success response
|
|
583
455
|
* @name postShipmentHistory
|
|
584
|
-
* @summary:
|
|
585
|
-
* @description:
|
|
456
|
+
* @summary: Post shipment history.
|
|
457
|
+
* @description: Add history records for a shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/postShipmentHistory/).
|
|
586
458
|
*/
|
|
587
459
|
postShipmentHistory({ body, requestHeaders }?: OrderPlatformValidator.PostShipmentHistoryParam, { responseHeaders }?: object): Promise<OrderPlatformModel.ShipmentHistoryResponse>;
|
|
588
460
|
/**
|
|
@@ -602,8 +474,8 @@ declare class Order {
|
|
|
602
474
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
603
475
|
* @returns {Promise<OrderPlatformModel.StoreReassignResponse>} - Success response
|
|
604
476
|
* @name reassignLocation
|
|
605
|
-
* @summary:
|
|
606
|
-
* @description:
|
|
477
|
+
* @summary: Reassign location.
|
|
478
|
+
* @description: Change the assigned location for an order or shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/reassignLocation/).
|
|
607
479
|
*/
|
|
608
480
|
reassignLocation({ body, requestHeaders }?: OrderPlatformValidator.ReassignLocationParam, { responseHeaders }?: object): Promise<OrderPlatformModel.StoreReassignResponse>;
|
|
609
481
|
/**
|
|
@@ -612,8 +484,8 @@ declare class Order {
|
|
|
612
484
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
613
485
|
* @returns {Promise<OrderPlatformModel.OrderStatusResult>} - Success response
|
|
614
486
|
* @name sendSmsNinja
|
|
615
|
-
* @summary:
|
|
616
|
-
* @description: Send SMS Ninja Panel - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/sendSmsNinja/).
|
|
487
|
+
* @summary: Send SMS via Ninja.
|
|
488
|
+
* @description: Send SMS Ninja Panel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/sendSmsNinja/).
|
|
617
489
|
*/
|
|
618
490
|
sendSmsNinja({ body, requestHeaders }?: OrderPlatformValidator.SendSmsNinjaParam, { responseHeaders }?: object): Promise<OrderPlatformModel.OrderStatusResult>;
|
|
619
491
|
/**
|
|
@@ -622,8 +494,8 @@ declare class Order {
|
|
|
622
494
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
623
495
|
* @returns {Promise<OrderPlatformModel.SendUserMobileOtpResponse>} - Success response
|
|
624
496
|
* @name sendUserMobileOTP
|
|
625
|
-
* @summary:
|
|
626
|
-
* @description: Send
|
|
497
|
+
* @summary: Send user mobile OTP.
|
|
498
|
+
* @description: Send a one-time OTP to a users mobile device. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/sendUserMobileOTP/).
|
|
627
499
|
*/
|
|
628
500
|
sendUserMobileOTP({ body, requestHeaders }?: OrderPlatformValidator.SendUserMobileOTPParam, { responseHeaders }?: object): Promise<OrderPlatformModel.SendUserMobileOtpResponse>;
|
|
629
501
|
/**
|
|
@@ -633,8 +505,8 @@ declare class Order {
|
|
|
633
505
|
* @returns {Promise<OrderPlatformModel.CourierPartnerTrackingResponse>} -
|
|
634
506
|
* Success response
|
|
635
507
|
* @name trackShipment
|
|
636
|
-
* @summary:
|
|
637
|
-
* @description:
|
|
508
|
+
* @summary: Track shipment.
|
|
509
|
+
* @description: Retrieve courier partner tracking details for a given shipment id or awb no. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/trackShipment/).
|
|
638
510
|
*/
|
|
639
511
|
trackShipment({ shipmentId, awb, pageNo, pageSize, requestHeaders }?: OrderPlatformValidator.TrackShipmentParam, { responseHeaders }?: object): Promise<OrderPlatformModel.CourierPartnerTrackingResponse>;
|
|
640
512
|
/**
|
|
@@ -643,8 +515,8 @@ declare class Order {
|
|
|
643
515
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
644
516
|
* @returns {Promise<OrderPlatformModel.BaseResponse>} - Success response
|
|
645
517
|
* @name updateAddress
|
|
646
|
-
* @summary:
|
|
647
|
-
* @description:
|
|
518
|
+
* @summary: Update address.
|
|
519
|
+
* @description: Modify the shipping address for an order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updateAddress/).
|
|
648
520
|
*/
|
|
649
521
|
updateAddress({ shipmentId, addressCategory, name, address, addressType, pincode, phone, email, landmark, city, state, country, requestHeaders, }?: OrderPlatformValidator.UpdateAddressParam, { responseHeaders }?: object): Promise<OrderPlatformModel.BaseResponse>;
|
|
650
522
|
/**
|
|
@@ -655,8 +527,8 @@ declare class Order {
|
|
|
655
527
|
* - Success response
|
|
656
528
|
*
|
|
657
529
|
* @name updatePackagingDimensions
|
|
658
|
-
* @summary:
|
|
659
|
-
* @description:
|
|
530
|
+
* @summary: Update packaging dimensions.
|
|
531
|
+
* @description: Modify the dimensions of packaging. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updatePackagingDimensions/).
|
|
660
532
|
*/
|
|
661
533
|
updatePackagingDimensions({ body, requestHeaders }?: OrderPlatformValidator.UpdatePackagingDimensionsParam, { responseHeaders }?: object): Promise<OrderPlatformModel.UpdatePackagingDimensionsResponse>;
|
|
662
534
|
/**
|
|
@@ -666,8 +538,8 @@ declare class Order {
|
|
|
666
538
|
* @returns {Promise<OrderPlatformModel.UpdateShipmentLockResponse>} -
|
|
667
539
|
* Success response
|
|
668
540
|
* @name updateShipmentLock
|
|
669
|
-
* @summary:
|
|
670
|
-
* @description:
|
|
541
|
+
* @summary: Update shipment lock.
|
|
542
|
+
* @description: Modify shipment/bag lock and check status. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updateShipmentLock/).
|
|
671
543
|
*/
|
|
672
544
|
updateShipmentLock({ body, requestHeaders }?: OrderPlatformValidator.UpdateShipmentLockParam, { responseHeaders }?: object): Promise<OrderPlatformModel.UpdateShipmentLockResponse>;
|
|
673
545
|
/**
|
|
@@ -678,8 +550,8 @@ declare class Order {
|
|
|
678
550
|
* - Success response
|
|
679
551
|
*
|
|
680
552
|
* @name updateShipmentStatus
|
|
681
|
-
* @summary:
|
|
682
|
-
* @description:
|
|
553
|
+
* @summary: Update shipment status.
|
|
554
|
+
* @description: Shipment state transition or Shipment data update or both. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updateShipmentStatus/).
|
|
683
555
|
*/
|
|
684
556
|
updateShipmentStatus({ body, requestHeaders }?: OrderPlatformValidator.UpdateShipmentStatusParam, { responseHeaders }?: object): Promise<OrderPlatformModel.UpdateShipmentStatusResponseBody>;
|
|
685
557
|
/**
|
|
@@ -689,8 +561,8 @@ declare class Order {
|
|
|
689
561
|
* @returns {Promise<OrderPlatformModel.CourierPartnerTrackingDetails>} -
|
|
690
562
|
* Success response
|
|
691
563
|
* @name updateShipmentTracking
|
|
692
|
-
* @summary:
|
|
693
|
-
* @description:
|
|
564
|
+
* @summary: Update shipment tracking.
|
|
565
|
+
* @description: Modify courier partner tracking details for a given shipment id or awb no. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/updateShipmentTracking/).
|
|
694
566
|
*/
|
|
695
567
|
updateShipmentTracking({ body, requestHeaders }?: OrderPlatformValidator.UpdateShipmentTrackingParam, { responseHeaders }?: object): Promise<OrderPlatformModel.CourierPartnerTrackingDetails>;
|
|
696
568
|
/**
|
|
@@ -709,11 +581,10 @@ declare class Order {
|
|
|
709
581
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
710
582
|
* @returns {Promise<OrderPlatformModel.VerifyOtpResponse>} - Success response
|
|
711
583
|
* @name verifyMobileOTP
|
|
712
|
-
* @summary:
|
|
584
|
+
* @summary: Verify mobile OTP.
|
|
713
585
|
* @description: Verify Mobile OTP - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/order/verifyMobileOTP/).
|
|
714
586
|
*/
|
|
715
587
|
verifyMobileOTP({ body, requestHeaders }?: OrderPlatformValidator.VerifyMobileOTPParam, { responseHeaders }?: object): Promise<OrderPlatformModel.VerifyOtpResponse>;
|
|
716
588
|
}
|
|
717
589
|
import OrderPlatformValidator = require("./OrderPlatformValidator");
|
|
718
590
|
import OrderPlatformModel = require("./OrderPlatformModel");
|
|
719
|
-
import Paginator = require("../../common/Paginator");
|