@gofynd/fdk-client-javascript 1.2.0 → 1.3.1-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 +44 -7
- package/package.json +1 -2
- package/sdk/application/ApplicationAPIClient.d.ts +3 -3
- package/sdk/application/ApplicationAPIClient.js +6 -4
- package/sdk/application/ApplicationClient.d.ts +2 -3
- package/sdk/application/ApplicationClient.js +1 -45
- package/sdk/application/ApplicationConfig.d.ts +46 -6
- package/sdk/application/ApplicationConfig.js +15 -16
- package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
- package/sdk/application/Cart/CartApplicationClient.js +225 -134
- package/sdk/application/Cart/CartApplicationModel.d.ts +6 -4
- package/sdk/application/Cart/CartApplicationModel.js +6 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
- package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
- package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
- package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
- package/sdk/application/Common/CommonApplicationClient.js +13 -11
- package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
- package/sdk/application/Common/CommonApplicationModel.js +2 -58
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
- package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
- package/sdk/application/Content/ContentApplicationClient.js +159 -80
- package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
- package/sdk/application/Content/ContentApplicationModel.js +11 -763
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
- package/sdk/application/Lead/LeadApplicationClient.js +50 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
- package/sdk/application/Lead/LeadApplicationModel.js +21 -481
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
- package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
- package/sdk/application/Order/OrderApplicationClient.js +88 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
- package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
- package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
- package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
- package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
- package/sdk/application/Share/ShareApplicationClient.js +51 -31
- package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
- package/sdk/application/Share/ShareApplicationModel.js +0 -38
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
- package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
- package/sdk/application/User/UserApplicationClient.d.ts +74 -35
- package/sdk/application/User/UserApplicationClient.js +252 -161
- package/sdk/application/User/UserApplicationModel.d.ts +3 -401
- package/sdk/application/User/UserApplicationModel.js +2 -490
- package/sdk/common/AxiosHelper.js +1 -2
- package/sdk/common/FDKError.d.ts +3 -0
- package/sdk/common/FDKError.js +8 -0
- package/sdk/common/utils.d.ts +3 -0
- package/sdk/common/utils.js +29 -0
- package/sdk/partner/PartnerAPIClient.d.ts +5 -4
- package/sdk/partner/PartnerAPIClient.js +7 -4
- package/sdk/partner/PartnerClient.d.ts +2 -0
- package/sdk/partner/PartnerClient.js +3 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
- package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
- package/sdk/partner/index.d.ts +3 -1
- package/sdk/partner/index.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
- package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
- package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
- package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
- package/sdk/platform/Cart/CartPlatformModel.js +104 -54
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
- package/sdk/platform/Common/CommonPlatformClient.js +13 -11
- package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
- package/sdk/platform/Common/CommonPlatformModel.js +23 -57
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
- package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
- package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
- package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
- package/sdk/platform/Content/ContentPlatformModel.js +8 -231
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
- package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
- package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
- package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
- package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
- package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
- package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
- package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
- package/sdk/platform/OAuthClient.js +6 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
- package/sdk/platform/Order/OrderPlatformClient.js +738 -205
- package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
- package/sdk/platform/Order/OrderPlatformModel.js +225 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
- package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
- package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
- package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
- package/sdk/platform/PlatformAPIClient.d.ts +3 -3
- package/sdk/platform/PlatformAPIClient.js +2 -2
- package/sdk/platform/PlatformClient.d.ts +2 -2
- package/sdk/platform/PlatformClient.js +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
- package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
- package/sdk/platform/Share/SharePlatformModel.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
- package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
- package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
- package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
- package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
- package/sdk/platform/User/UserPlatformModel.js +3 -899
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
- package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
- package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +90 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +113 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
- package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
- package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
- package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
- package/sdk/public/Partner/PartnerPublicClient.js +110 -0
- package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
- package/sdk/public/Partner/PartnerPublicModel.js +280 -0
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
- package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
- package/sdk/public/PublicAPIClient.d.ts +14 -1
- package/sdk/public/PublicAPIClient.js +7 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
- package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/application/ApplicationModels.d.ts +0 -48
- package/sdk/application/ApplicationModels.js +0 -38
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
- package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
- package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
|
@@ -31,6 +31,14 @@ export = OrderPlatformValidator;
|
|
|
31
31
|
* @typedef DownloadBulkActionTemplateParam
|
|
32
32
|
* @property {string} [templateSlug] - Slug name of template to be downloaded
|
|
33
33
|
*/
|
|
34
|
+
/**
|
|
35
|
+
* @typedef DownloadLanesReportParam
|
|
36
|
+
* @property {OrderPlatformModel.BulkReportsDownloadRequest} body
|
|
37
|
+
*/
|
|
38
|
+
/**
|
|
39
|
+
* @typedef EInvoiceRetryParam
|
|
40
|
+
* @property {OrderPlatformModel.EInvoiceRetry} body
|
|
41
|
+
*/
|
|
34
42
|
/**
|
|
35
43
|
* @typedef FetchCreditBalanceDetailParam
|
|
36
44
|
* @property {OrderPlatformModel.FetchCreditBalanceRequestPayload} body
|
|
@@ -45,6 +53,11 @@ export = OrderPlatformValidator;
|
|
|
45
53
|
* @property {string} [shipmentId]
|
|
46
54
|
* @property {string} [documentType]
|
|
47
55
|
*/
|
|
56
|
+
/**
|
|
57
|
+
* @typedef GetAllowedStateTransitionParam
|
|
58
|
+
* @property {string} orderingChannel - Ordering channel
|
|
59
|
+
* @property {string} status - Current status of a shipment
|
|
60
|
+
*/
|
|
48
61
|
/**
|
|
49
62
|
* @typedef GetAnnouncementsParam
|
|
50
63
|
* @property {string} [date] - Date On which the announcement is Active (Date
|
|
@@ -102,6 +115,8 @@ export = OrderPlatformValidator;
|
|
|
102
115
|
* @property {string} [timeToDispatch]
|
|
103
116
|
* @property {string} [paymentMethods]
|
|
104
117
|
* @property {boolean} [myOrders]
|
|
118
|
+
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
119
|
+
* company order
|
|
105
120
|
*/
|
|
106
121
|
/**
|
|
107
122
|
* @typedef GetOrderByIdParam
|
|
@@ -131,6 +146,9 @@ export = OrderPlatformValidator;
|
|
|
131
146
|
* @property {boolean} [isPrioritySort]
|
|
132
147
|
* @property {string} [customMeta]
|
|
133
148
|
* @property {boolean} [myOrders]
|
|
149
|
+
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
150
|
+
* company order
|
|
151
|
+
* @property {string} [customerId]
|
|
134
152
|
*/
|
|
135
153
|
/** @typedef GetRoleBasedActionsParam */
|
|
136
154
|
/**
|
|
@@ -158,7 +176,7 @@ export = OrderPlatformValidator;
|
|
|
158
176
|
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
159
177
|
* @property {boolean} [statusOverrideLane] - Use this flag to fetch by
|
|
160
178
|
* bag_status and override lane
|
|
161
|
-
* @property {
|
|
179
|
+
* @property {number} [timeToDispatch]
|
|
162
180
|
* @property {string} [searchType] - Search type key
|
|
163
181
|
* @property {string} [searchValue] - Search type value
|
|
164
182
|
* @property {string} [fromDate] - Start Date in DD-MM-YYYY format
|
|
@@ -178,7 +196,11 @@ export = OrderPlatformValidator;
|
|
|
178
196
|
* @property {string} [companyAffiliateTag]
|
|
179
197
|
* @property {boolean} [myOrders]
|
|
180
198
|
* @property {string} [platformUserId]
|
|
199
|
+
* @property {string} [sortType] - Sort the result data on basis of input
|
|
200
|
+
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
201
|
+
* company order
|
|
181
202
|
* @property {string} [tags] - Comma separated values of tags
|
|
203
|
+
* @property {string} [customerId]
|
|
182
204
|
*/
|
|
183
205
|
/** @typedef GetStateTransitionMapParam */
|
|
184
206
|
/**
|
|
@@ -214,6 +236,13 @@ export = OrderPlatformValidator;
|
|
|
214
236
|
* @typedef SendUserMobileOTPParam
|
|
215
237
|
* @property {OrderPlatformModel.SendUserMobileOTP} body
|
|
216
238
|
*/
|
|
239
|
+
/**
|
|
240
|
+
* @typedef TrackShipmentParam
|
|
241
|
+
* @property {string} [shipmentId] - Shipment ID
|
|
242
|
+
* @property {string} [awb] - AWB number
|
|
243
|
+
* @property {number} [pageNo] - Page number
|
|
244
|
+
* @property {number} [pageSize] - Page size
|
|
245
|
+
*/
|
|
217
246
|
/**
|
|
218
247
|
* @typedef UpdateAddressParam
|
|
219
248
|
* @property {string} shipmentId
|
|
@@ -241,6 +270,10 @@ export = OrderPlatformValidator;
|
|
|
241
270
|
* @typedef UpdateShipmentStatusParam
|
|
242
271
|
* @property {OrderPlatformModel.UpdateShipmentStatusRequest} body
|
|
243
272
|
*/
|
|
273
|
+
/**
|
|
274
|
+
* @typedef UpdateShipmentTrackingParam
|
|
275
|
+
* @property {OrderPlatformModel.CourierPartnerTrackingDetails} body
|
|
276
|
+
*/
|
|
244
277
|
/**
|
|
245
278
|
* @typedef UploadConsentParam
|
|
246
279
|
* @property {OrderPlatformModel.UploadConsent} body
|
|
@@ -264,12 +297,18 @@ declare class OrderPlatformValidator {
|
|
|
264
297
|
static dispatchManifest(): DispatchManifestParam;
|
|
265
298
|
/** @returns {DownloadBulkActionTemplateParam} */
|
|
266
299
|
static downloadBulkActionTemplate(): DownloadBulkActionTemplateParam;
|
|
300
|
+
/** @returns {DownloadLanesReportParam} */
|
|
301
|
+
static downloadLanesReport(): DownloadLanesReportParam;
|
|
302
|
+
/** @returns {EInvoiceRetryParam} */
|
|
303
|
+
static eInvoiceRetry(): EInvoiceRetryParam;
|
|
267
304
|
/** @returns {FetchCreditBalanceDetailParam} */
|
|
268
305
|
static fetchCreditBalanceDetail(): FetchCreditBalanceDetailParam;
|
|
269
306
|
/** @returns {FetchRefundModeConfigParam} */
|
|
270
307
|
static fetchRefundModeConfig(): FetchRefundModeConfigParam;
|
|
271
308
|
/** @returns {GeneratePOSReceiptByOrderIdParam} */
|
|
272
309
|
static generatePOSReceiptByOrderId(): GeneratePOSReceiptByOrderIdParam;
|
|
310
|
+
/** @returns {GetAllowedStateTransitionParam} */
|
|
311
|
+
static getAllowedStateTransition(): GetAllowedStateTransitionParam;
|
|
273
312
|
/** @returns {GetAnnouncementsParam} */
|
|
274
313
|
static getAnnouncements(): GetAnnouncementsParam;
|
|
275
314
|
/** @returns {GetBagByIdParam} */
|
|
@@ -316,6 +355,8 @@ declare class OrderPlatformValidator {
|
|
|
316
355
|
static sendSmsNinja(): SendSmsNinjaParam;
|
|
317
356
|
/** @returns {SendUserMobileOTPParam} */
|
|
318
357
|
static sendUserMobileOTP(): SendUserMobileOTPParam;
|
|
358
|
+
/** @returns {TrackShipmentParam} */
|
|
359
|
+
static trackShipment(): TrackShipmentParam;
|
|
319
360
|
/** @returns {UpdateAddressParam} */
|
|
320
361
|
static updateAddress(): UpdateAddressParam;
|
|
321
362
|
/** @returns {UpdatePackagingDimensionsParam} */
|
|
@@ -324,13 +365,15 @@ declare class OrderPlatformValidator {
|
|
|
324
365
|
static updateShipmentLock(): UpdateShipmentLockParam;
|
|
325
366
|
/** @returns {UpdateShipmentStatusParam} */
|
|
326
367
|
static updateShipmentStatus(): UpdateShipmentStatusParam;
|
|
368
|
+
/** @returns {UpdateShipmentTrackingParam} */
|
|
369
|
+
static updateShipmentTracking(): UpdateShipmentTrackingParam;
|
|
327
370
|
/** @returns {UploadConsentParam} */
|
|
328
371
|
static uploadConsent(): UploadConsentParam;
|
|
329
372
|
/** @returns {VerifyMobileOTPParam} */
|
|
330
373
|
static verifyMobileOTP(): VerifyMobileOTPParam;
|
|
331
374
|
}
|
|
332
375
|
declare namespace OrderPlatformValidator {
|
|
333
|
-
export { AttachOrderUserParam, CheckOrderStatusParam, Click2CallParam, CreateChannelConfigParam, CreateOrderParam, DispatchManifestParam, DownloadBulkActionTemplateParam, FetchCreditBalanceDetailParam, FetchRefundModeConfigParam, GeneratePOSReceiptByOrderIdParam, GetAnnouncementsParam, GetBagByIdParam, GetBagsParam, GetBulkActionTemplateParam, GetBulkShipmentExcelFileParam, GetChannelConfigParam, GetLaneConfigParam, GetOrderByIdParam, GetOrdersParam, GetRoleBasedActionsParam, GetShipmentByIdParam, GetShipmentHistoryParam, GetShipmentReasonsParam, GetShipmentsParam, GetStateTransitionMapParam, GetfiltersParam, InvalidateShipmentCacheParam, OrderUpdateParam, PostShipmentHistoryParam, ProcessManifestParam, ReassignLocationParam, SendSmsNinjaParam, SendUserMobileOTPParam, UpdateAddressParam, UpdatePackagingDimensionsParam, UpdateShipmentLockParam, UpdateShipmentStatusParam, UploadConsentParam, VerifyMobileOTPParam };
|
|
376
|
+
export { AttachOrderUserParam, CheckOrderStatusParam, Click2CallParam, CreateChannelConfigParam, CreateOrderParam, DispatchManifestParam, DownloadBulkActionTemplateParam, DownloadLanesReportParam, EInvoiceRetryParam, FetchCreditBalanceDetailParam, FetchRefundModeConfigParam, GeneratePOSReceiptByOrderIdParam, GetAllowedStateTransitionParam, GetAnnouncementsParam, GetBagByIdParam, GetBagsParam, GetBulkActionTemplateParam, GetBulkShipmentExcelFileParam, GetChannelConfigParam, GetLaneConfigParam, GetOrderByIdParam, GetOrdersParam, GetRoleBasedActionsParam, GetShipmentByIdParam, GetShipmentHistoryParam, GetShipmentReasonsParam, GetShipmentsParam, GetStateTransitionMapParam, GetfiltersParam, InvalidateShipmentCacheParam, OrderUpdateParam, PostShipmentHistoryParam, ProcessManifestParam, ReassignLocationParam, SendSmsNinjaParam, SendUserMobileOTPParam, TrackShipmentParam, UpdateAddressParam, UpdatePackagingDimensionsParam, UpdateShipmentLockParam, UpdateShipmentStatusParam, UpdateShipmentTrackingParam, UploadConsentParam, VerifyMobileOTPParam };
|
|
334
377
|
}
|
|
335
378
|
type AttachOrderUserParam = {
|
|
336
379
|
body: OrderPlatformModel.AttachOrderUser;
|
|
@@ -375,6 +418,12 @@ type DownloadBulkActionTemplateParam = {
|
|
|
375
418
|
*/
|
|
376
419
|
templateSlug?: string;
|
|
377
420
|
};
|
|
421
|
+
type DownloadLanesReportParam = {
|
|
422
|
+
body: OrderPlatformModel.BulkReportsDownloadRequest;
|
|
423
|
+
};
|
|
424
|
+
type EInvoiceRetryParam = {
|
|
425
|
+
body: OrderPlatformModel.EInvoiceRetry;
|
|
426
|
+
};
|
|
378
427
|
type FetchCreditBalanceDetailParam = {
|
|
379
428
|
body: OrderPlatformModel.FetchCreditBalanceRequestPayload;
|
|
380
429
|
};
|
|
@@ -386,6 +435,16 @@ type GeneratePOSReceiptByOrderIdParam = {
|
|
|
386
435
|
shipmentId?: string;
|
|
387
436
|
documentType?: string;
|
|
388
437
|
};
|
|
438
|
+
type GetAllowedStateTransitionParam = {
|
|
439
|
+
/**
|
|
440
|
+
* - Ordering channel
|
|
441
|
+
*/
|
|
442
|
+
orderingChannel: string;
|
|
443
|
+
/**
|
|
444
|
+
* - Current status of a shipment
|
|
445
|
+
*/
|
|
446
|
+
status: string;
|
|
447
|
+
};
|
|
389
448
|
type GetAnnouncementsParam = {
|
|
390
449
|
/**
|
|
391
450
|
* - Date On which the announcement is Active (Date
|
|
@@ -529,6 +588,11 @@ type GetLaneConfigParam = {
|
|
|
529
588
|
timeToDispatch?: string;
|
|
530
589
|
paymentMethods?: string;
|
|
531
590
|
myOrders?: boolean;
|
|
591
|
+
/**
|
|
592
|
+
* - Flag to view cross & non-cross
|
|
593
|
+
* company order
|
|
594
|
+
*/
|
|
595
|
+
showCrossCompanyData?: boolean;
|
|
532
596
|
};
|
|
533
597
|
type GetOrderByIdParam = {
|
|
534
598
|
orderId: string;
|
|
@@ -577,6 +641,12 @@ type GetOrdersParam = {
|
|
|
577
641
|
isPrioritySort?: boolean;
|
|
578
642
|
customMeta?: string;
|
|
579
643
|
myOrders?: boolean;
|
|
644
|
+
/**
|
|
645
|
+
* - Flag to view cross & non-cross
|
|
646
|
+
* company order
|
|
647
|
+
*/
|
|
648
|
+
showCrossCompanyData?: boolean;
|
|
649
|
+
customerId?: string;
|
|
580
650
|
};
|
|
581
651
|
type GetShipmentByIdParam = {
|
|
582
652
|
/**
|
|
@@ -629,7 +699,7 @@ type GetShipmentsParam = {
|
|
|
629
699
|
* bag_status and override lane
|
|
630
700
|
*/
|
|
631
701
|
statusOverrideLane?: boolean;
|
|
632
|
-
timeToDispatch?:
|
|
702
|
+
timeToDispatch?: number;
|
|
633
703
|
/**
|
|
634
704
|
* - Search type key
|
|
635
705
|
*/
|
|
@@ -691,10 +761,20 @@ type GetShipmentsParam = {
|
|
|
691
761
|
companyAffiliateTag?: string;
|
|
692
762
|
myOrders?: boolean;
|
|
693
763
|
platformUserId?: string;
|
|
764
|
+
/**
|
|
765
|
+
* - Sort the result data on basis of input
|
|
766
|
+
*/
|
|
767
|
+
sortType?: string;
|
|
768
|
+
/**
|
|
769
|
+
* - Flag to view cross & non-cross
|
|
770
|
+
* company order
|
|
771
|
+
*/
|
|
772
|
+
showCrossCompanyData?: boolean;
|
|
694
773
|
/**
|
|
695
774
|
* - Comma separated values of tags
|
|
696
775
|
*/
|
|
697
776
|
tags?: string;
|
|
777
|
+
customerId?: string;
|
|
698
778
|
};
|
|
699
779
|
type GetfiltersParam = {
|
|
700
780
|
/**
|
|
@@ -727,6 +807,24 @@ type SendSmsNinjaParam = {
|
|
|
727
807
|
type SendUserMobileOTPParam = {
|
|
728
808
|
body: OrderPlatformModel.SendUserMobileOTP;
|
|
729
809
|
};
|
|
810
|
+
type TrackShipmentParam = {
|
|
811
|
+
/**
|
|
812
|
+
* - Shipment ID
|
|
813
|
+
*/
|
|
814
|
+
shipmentId?: string;
|
|
815
|
+
/**
|
|
816
|
+
* - AWB number
|
|
817
|
+
*/
|
|
818
|
+
awb?: string;
|
|
819
|
+
/**
|
|
820
|
+
* - Page number
|
|
821
|
+
*/
|
|
822
|
+
pageNo?: number;
|
|
823
|
+
/**
|
|
824
|
+
* - Page size
|
|
825
|
+
*/
|
|
826
|
+
pageSize?: number;
|
|
827
|
+
};
|
|
730
828
|
type UpdateAddressParam = {
|
|
731
829
|
shipmentId: string;
|
|
732
830
|
name?: string;
|
|
@@ -750,6 +848,9 @@ type UpdateShipmentLockParam = {
|
|
|
750
848
|
type UpdateShipmentStatusParam = {
|
|
751
849
|
body: OrderPlatformModel.UpdateShipmentStatusRequest;
|
|
752
850
|
};
|
|
851
|
+
type UpdateShipmentTrackingParam = {
|
|
852
|
+
body: OrderPlatformModel.CourierPartnerTrackingDetails;
|
|
853
|
+
};
|
|
753
854
|
type UploadConsentParam = {
|
|
754
855
|
body: OrderPlatformModel.UploadConsent;
|
|
755
856
|
};
|
|
@@ -41,6 +41,16 @@ const OrderPlatformModel = require("./OrderPlatformModel");
|
|
|
41
41
|
* @property {string} [templateSlug] - Slug name of template to be downloaded
|
|
42
42
|
*/
|
|
43
43
|
|
|
44
|
+
/**
|
|
45
|
+
* @typedef DownloadLanesReportParam
|
|
46
|
+
* @property {OrderPlatformModel.BulkReportsDownloadRequest} body
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @typedef EInvoiceRetryParam
|
|
51
|
+
* @property {OrderPlatformModel.EInvoiceRetry} body
|
|
52
|
+
*/
|
|
53
|
+
|
|
44
54
|
/**
|
|
45
55
|
* @typedef FetchCreditBalanceDetailParam
|
|
46
56
|
* @property {OrderPlatformModel.FetchCreditBalanceRequestPayload} body
|
|
@@ -58,6 +68,12 @@ const OrderPlatformModel = require("./OrderPlatformModel");
|
|
|
58
68
|
* @property {string} [documentType]
|
|
59
69
|
*/
|
|
60
70
|
|
|
71
|
+
/**
|
|
72
|
+
* @typedef GetAllowedStateTransitionParam
|
|
73
|
+
* @property {string} orderingChannel - Ordering channel
|
|
74
|
+
* @property {string} status - Current status of a shipment
|
|
75
|
+
*/
|
|
76
|
+
|
|
61
77
|
/**
|
|
62
78
|
* @typedef GetAnnouncementsParam
|
|
63
79
|
* @property {string} [date] - Date On which the announcement is Active (Date
|
|
@@ -121,6 +137,8 @@ const OrderPlatformModel = require("./OrderPlatformModel");
|
|
|
121
137
|
* @property {string} [timeToDispatch]
|
|
122
138
|
* @property {string} [paymentMethods]
|
|
123
139
|
* @property {boolean} [myOrders]
|
|
140
|
+
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
141
|
+
* company order
|
|
124
142
|
*/
|
|
125
143
|
|
|
126
144
|
/**
|
|
@@ -152,6 +170,9 @@ const OrderPlatformModel = require("./OrderPlatformModel");
|
|
|
152
170
|
* @property {boolean} [isPrioritySort]
|
|
153
171
|
* @property {string} [customMeta]
|
|
154
172
|
* @property {boolean} [myOrders]
|
|
173
|
+
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
174
|
+
* company order
|
|
175
|
+
* @property {string} [customerId]
|
|
155
176
|
*/
|
|
156
177
|
|
|
157
178
|
/** @typedef GetRoleBasedActionsParam */
|
|
@@ -184,7 +205,7 @@ const OrderPlatformModel = require("./OrderPlatformModel");
|
|
|
184
205
|
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
185
206
|
* @property {boolean} [statusOverrideLane] - Use this flag to fetch by
|
|
186
207
|
* bag_status and override lane
|
|
187
|
-
* @property {
|
|
208
|
+
* @property {number} [timeToDispatch]
|
|
188
209
|
* @property {string} [searchType] - Search type key
|
|
189
210
|
* @property {string} [searchValue] - Search type value
|
|
190
211
|
* @property {string} [fromDate] - Start Date in DD-MM-YYYY format
|
|
@@ -204,7 +225,11 @@ const OrderPlatformModel = require("./OrderPlatformModel");
|
|
|
204
225
|
* @property {string} [companyAffiliateTag]
|
|
205
226
|
* @property {boolean} [myOrders]
|
|
206
227
|
* @property {string} [platformUserId]
|
|
228
|
+
* @property {string} [sortType] - Sort the result data on basis of input
|
|
229
|
+
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
230
|
+
* company order
|
|
207
231
|
* @property {string} [tags] - Comma separated values of tags
|
|
232
|
+
* @property {string} [customerId]
|
|
208
233
|
*/
|
|
209
234
|
|
|
210
235
|
/** @typedef GetStateTransitionMapParam */
|
|
@@ -250,6 +275,14 @@ const OrderPlatformModel = require("./OrderPlatformModel");
|
|
|
250
275
|
* @property {OrderPlatformModel.SendUserMobileOTP} body
|
|
251
276
|
*/
|
|
252
277
|
|
|
278
|
+
/**
|
|
279
|
+
* @typedef TrackShipmentParam
|
|
280
|
+
* @property {string} [shipmentId] - Shipment ID
|
|
281
|
+
* @property {string} [awb] - AWB number
|
|
282
|
+
* @property {number} [pageNo] - Page number
|
|
283
|
+
* @property {number} [pageSize] - Page size
|
|
284
|
+
*/
|
|
285
|
+
|
|
253
286
|
/**
|
|
254
287
|
* @typedef UpdateAddressParam
|
|
255
288
|
* @property {string} shipmentId
|
|
@@ -281,6 +314,11 @@ const OrderPlatformModel = require("./OrderPlatformModel");
|
|
|
281
314
|
* @property {OrderPlatformModel.UpdateShipmentStatusRequest} body
|
|
282
315
|
*/
|
|
283
316
|
|
|
317
|
+
/**
|
|
318
|
+
* @typedef UpdateShipmentTrackingParam
|
|
319
|
+
* @property {OrderPlatformModel.CourierPartnerTrackingDetails} body
|
|
320
|
+
*/
|
|
321
|
+
|
|
284
322
|
/**
|
|
285
323
|
* @typedef UploadConsentParam
|
|
286
324
|
* @property {OrderPlatformModel.UploadConsent} body
|
|
@@ -345,6 +383,20 @@ class OrderPlatformValidator {
|
|
|
345
383
|
}).required();
|
|
346
384
|
}
|
|
347
385
|
|
|
386
|
+
/** @returns {DownloadLanesReportParam} */
|
|
387
|
+
static downloadLanesReport() {
|
|
388
|
+
return Joi.object({
|
|
389
|
+
body: OrderPlatformModel.BulkReportsDownloadRequest().required(),
|
|
390
|
+
}).required();
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/** @returns {EInvoiceRetryParam} */
|
|
394
|
+
static eInvoiceRetry() {
|
|
395
|
+
return Joi.object({
|
|
396
|
+
body: OrderPlatformModel.EInvoiceRetry().required(),
|
|
397
|
+
}).required();
|
|
398
|
+
}
|
|
399
|
+
|
|
348
400
|
/** @returns {FetchCreditBalanceDetailParam} */
|
|
349
401
|
static fetchCreditBalanceDetail() {
|
|
350
402
|
return Joi.object({
|
|
@@ -368,6 +420,14 @@ class OrderPlatformValidator {
|
|
|
368
420
|
}).required();
|
|
369
421
|
}
|
|
370
422
|
|
|
423
|
+
/** @returns {GetAllowedStateTransitionParam} */
|
|
424
|
+
static getAllowedStateTransition() {
|
|
425
|
+
return Joi.object({
|
|
426
|
+
orderingChannel: Joi.string().allow("").required(),
|
|
427
|
+
status: Joi.string().allow("").required(),
|
|
428
|
+
}).required();
|
|
429
|
+
}
|
|
430
|
+
|
|
371
431
|
/** @returns {GetAnnouncementsParam} */
|
|
372
432
|
static getAnnouncements() {
|
|
373
433
|
return Joi.object({
|
|
@@ -445,6 +505,7 @@ class OrderPlatformValidator {
|
|
|
445
505
|
timeToDispatch: Joi.string().allow(""),
|
|
446
506
|
paymentMethods: Joi.string().allow(""),
|
|
447
507
|
myOrders: Joi.boolean(),
|
|
508
|
+
showCrossCompanyData: Joi.boolean(),
|
|
448
509
|
}).required();
|
|
449
510
|
}
|
|
450
511
|
|
|
@@ -475,6 +536,8 @@ class OrderPlatformValidator {
|
|
|
475
536
|
isPrioritySort: Joi.boolean(),
|
|
476
537
|
customMeta: Joi.string().allow(""),
|
|
477
538
|
myOrders: Joi.boolean(),
|
|
539
|
+
showCrossCompanyData: Joi.boolean(),
|
|
540
|
+
customerId: Joi.string().allow(""),
|
|
478
541
|
}).required();
|
|
479
542
|
}
|
|
480
543
|
|
|
@@ -514,7 +577,7 @@ class OrderPlatformValidator {
|
|
|
514
577
|
lane: Joi.string().allow(""),
|
|
515
578
|
bagStatus: Joi.string().allow(""),
|
|
516
579
|
statusOverrideLane: Joi.boolean(),
|
|
517
|
-
timeToDispatch: Joi.
|
|
580
|
+
timeToDispatch: Joi.number(),
|
|
518
581
|
searchType: Joi.string().allow(""),
|
|
519
582
|
searchValue: Joi.string().allow(""),
|
|
520
583
|
fromDate: Joi.string().allow(""),
|
|
@@ -534,7 +597,10 @@ class OrderPlatformValidator {
|
|
|
534
597
|
companyAffiliateTag: Joi.string().allow(""),
|
|
535
598
|
myOrders: Joi.boolean(),
|
|
536
599
|
platformUserId: Joi.string().allow(""),
|
|
600
|
+
sortType: Joi.string().allow(""),
|
|
601
|
+
showCrossCompanyData: Joi.boolean(),
|
|
537
602
|
tags: Joi.string().allow(""),
|
|
603
|
+
customerId: Joi.string().allow(""),
|
|
538
604
|
}).required();
|
|
539
605
|
}
|
|
540
606
|
|
|
@@ -600,6 +666,16 @@ class OrderPlatformValidator {
|
|
|
600
666
|
}).required();
|
|
601
667
|
}
|
|
602
668
|
|
|
669
|
+
/** @returns {TrackShipmentParam} */
|
|
670
|
+
static trackShipment() {
|
|
671
|
+
return Joi.object({
|
|
672
|
+
shipmentId: Joi.string().allow(""),
|
|
673
|
+
awb: Joi.string().allow(""),
|
|
674
|
+
pageNo: Joi.number(),
|
|
675
|
+
pageSize: Joi.number(),
|
|
676
|
+
}).required();
|
|
677
|
+
}
|
|
678
|
+
|
|
603
679
|
/** @returns {UpdateAddressParam} */
|
|
604
680
|
static updateAddress() {
|
|
605
681
|
return Joi.object({
|
|
@@ -639,6 +715,13 @@ class OrderPlatformValidator {
|
|
|
639
715
|
}).required();
|
|
640
716
|
}
|
|
641
717
|
|
|
718
|
+
/** @returns {UpdateShipmentTrackingParam} */
|
|
719
|
+
static updateShipmentTracking() {
|
|
720
|
+
return Joi.object({
|
|
721
|
+
body: OrderPlatformModel.CourierPartnerTrackingDetails().required(),
|
|
722
|
+
}).required();
|
|
723
|
+
}
|
|
724
|
+
|
|
642
725
|
/** @returns {UploadConsentParam} */
|
|
643
726
|
static uploadConsent() {
|
|
644
727
|
return Joi.object({
|
|
@@ -5,42 +5,24 @@ declare class Partner {
|
|
|
5
5
|
applicationId: any;
|
|
6
6
|
/**
|
|
7
7
|
* @param {PartnerPlatformApplicationValidator.AddProxyPathParam} arg - Arg object
|
|
8
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
8
9
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
9
10
|
* @returns {Promise<PartnerPlatformModel.AddProxyResponse>} - Success response
|
|
10
11
|
* @name addProxyPath
|
|
11
12
|
* @summary: Create proxy URL for the external URL
|
|
12
13
|
* @description: Use this API to generate proxy URL for the external URL - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/partner/addProxyPath/).
|
|
13
14
|
*/
|
|
14
|
-
addProxyPath({ extensionId, body }?: PartnerPlatformApplicationValidator.AddProxyPathParam, {
|
|
15
|
-
/**
|
|
16
|
-
* @param {PartnerPlatformApplicationValidator.GetProxyPathParam} arg - Arg object
|
|
17
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
18
|
-
* @returns {Promise<PartnerPlatformModel.getProxyPathRes>} - Success response
|
|
19
|
-
* @name getProxyPath
|
|
20
|
-
* @summary: Proxy
|
|
21
|
-
* @description: Use this API to get proxy url - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/partner/getProxyPath/).
|
|
22
|
-
*/
|
|
23
|
-
getProxyPath({ extensionId }?: PartnerPlatformApplicationValidator.GetProxyPathParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PartnerPlatformModel.getProxyPathRes>;
|
|
24
|
-
/**
|
|
25
|
-
* @param {PartnerPlatformApplicationValidator.GetProxyPathAttachedPathParam} arg
|
|
26
|
-
* - Arg object
|
|
27
|
-
*
|
|
28
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
29
|
-
* @returns {Promise<PartnerPlatformModel.AddProxyResponse>} - Success response
|
|
30
|
-
* @name getProxyPathAttachedPath
|
|
31
|
-
* @summary: Proxy
|
|
32
|
-
* @description: Use this API to get proxy url - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/partner/getProxyPathAttachedPath/).
|
|
33
|
-
*/
|
|
34
|
-
getProxyPathAttachedPath({ extensionId, attachedPath }?: PartnerPlatformApplicationValidator.GetProxyPathAttachedPathParam, { headers }?: import("../PlatformAPIClient").Options): Promise<PartnerPlatformModel.AddProxyResponse>;
|
|
15
|
+
addProxyPath({ extensionId, body, requestHeaders }?: PartnerPlatformApplicationValidator.AddProxyPathParam, { responseHeaders }?: object): Promise<PartnerPlatformModel.AddProxyResponse>;
|
|
35
16
|
/**
|
|
36
17
|
* @param {PartnerPlatformApplicationValidator.RemoveProxyPathParam} arg - Arg object
|
|
18
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
37
19
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
38
20
|
* @returns {Promise<PartnerPlatformModel.RemoveProxyResponse>} - Success response
|
|
39
21
|
* @name removeProxyPath
|
|
40
22
|
* @summary: Remove proxy URL for the external URL
|
|
41
23
|
* @description: Use this API to remove the proxy URL which is already generated for the external URL - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/partner/removeProxyPath/).
|
|
42
24
|
*/
|
|
43
|
-
removeProxyPath({ extensionId, attachedPath }?: PartnerPlatformApplicationValidator.RemoveProxyPathParam, {
|
|
25
|
+
removeProxyPath({ extensionId, attachedPath, requestHeaders }?: PartnerPlatformApplicationValidator.RemoveProxyPathParam, { responseHeaders }?: object): Promise<PartnerPlatformModel.RemoveProxyResponse>;
|
|
44
26
|
}
|
|
45
27
|
import PartnerPlatformApplicationValidator = require("./PartnerPlatformApplicationValidator");
|
|
46
28
|
import PartnerPlatformModel = require("./PartnerPlatformModel");
|