@gofynd/fdk-client-javascript 3.3.5 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +30 -30
- package/sdk/application/Cart/CartApplicationClient.js +30 -30
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +36 -33
- package/sdk/application/Catalog/CatalogApplicationClient.js +54 -35
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +16 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationClient.d.ts +24 -24
- package/sdk/application/Content/ContentApplicationClient.js +24 -24
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +2 -2
- package/sdk/application/Finance/FinanceApplicationClient.js +2 -2
- package/sdk/application/Lead/LeadApplicationClient.d.ts +5 -5
- package/sdk/application/Lead/LeadApplicationClient.js +5 -5
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +19 -9
- package/sdk/application/Logistic/LogisticApplicationClient.js +53 -9
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -12
- package/sdk/application/Order/OrderApplicationClient.js +12 -12
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +7 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +4 -4
- package/sdk/application/User/UserApplicationClient.d.ts +47 -47
- package/sdk/application/User/UserApplicationClient.js +47 -47
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +6 -6
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +6 -6
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +7 -7
- package/sdk/partner/Lead/LeadPartnerClient.js +7 -7
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +25 -25
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +25 -25
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +6 -6
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +3 -3
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +24 -24
- package/sdk/partner/Theme/ThemePartnerClient.js +24 -24
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +10 -10
- package/sdk/partner/Webhook/WebhookPartnerClient.js +10 -10
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +7 -2
- package/sdk/partner/Webhook/WebhookPartnerModel.js +3 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +3 -3
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +2 -2
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +1 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +1 -1
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +5 -5
- package/sdk/platform/Billing/BillingPlatformClient.js +5 -5
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +62 -62
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +62 -62
- package/sdk/platform/Cart/CartPlatformModel.d.ts +233 -3
- package/sdk/platform/Cart/CartPlatformModel.js +147 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +66 -66
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +66 -66
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +81 -79
- package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -80
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +89 -5
- package/sdk/platform/Catalog/CatalogPlatformModel.js +57 -3
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +7 -2
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +4 -2
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
- package/sdk/platform/Common/CommonPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +67 -67
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +67 -67
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +14 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +14 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +11 -11
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +11 -11
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +19 -3
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +16 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +107 -107
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +107 -107
- package/sdk/platform/Content/ContentPlatformClient.d.ts +40 -40
- package/sdk/platform/Content/ContentPlatformClient.js +40 -40
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2 -2
- package/sdk/platform/Content/ContentPlatformModel.js +1 -1
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +11 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +11 -11
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.js +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +9 -9
- package/sdk/platform/Lead/LeadPlatformClient.js +9 -9
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.js +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -5
- package/sdk/platform/Order/OrderPlatformClient.d.ts +58 -58
- package/sdk/platform/Order/OrderPlatformClient.js +58 -58
- package/sdk/platform/Order/OrderPlatformModel.d.ts +29 -10
- package/sdk/platform/Order/OrderPlatformModel.js +28 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +51 -51
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +51 -51
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +10 -10
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2 -2
- package/sdk/platform/Payment/PaymentPlatformModel.js +1 -1
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.js +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +162 -39
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +840 -73
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +139 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +125 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +30 -30
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +36 -30
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +936 -62
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +591 -33
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +12 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +5 -0
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformModel.js +1 -1
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +22 -22
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +22 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
- package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +70 -34
- package/sdk/platform/User/UserPlatformApplicationClient.js +285 -34
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +38 -1
- package/sdk/platform/User/UserPlatformApplicationValidator.js +42 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +430 -10
- package/sdk/platform/User/UserPlatformModel.js +276 -7
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +9 -9
- package/sdk/platform/Webhook/WebhookPlatformClient.js +9 -9
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +12 -2
- package/sdk/platform/Webhook/WebhookPlatformModel.js +5 -1
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +1 -1
- package/sdk/public/Catalog/CatalogPublicClient.js +1 -1
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
- package/sdk/public/Content/ContentPublicClient.d.ts +14 -14
- package/sdk/public/Content/ContentPublicClient.js +14 -14
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -5
- package/sdk/public/Webhook/WebhookPublicClient.js +5 -5
|
@@ -11,7 +11,7 @@ declare class Serviceability {
|
|
|
11
11
|
*
|
|
12
12
|
* @name bulkServiceability
|
|
13
13
|
* @summary: Bulk update serviceability of localities
|
|
14
|
-
* @description: Bulk operations involve either new serviceability settings or updating existing ones in large quantities. - Check out [method documentation](https://
|
|
14
|
+
* @description: Bulk operations involve either new serviceability settings or updating existing ones in large quantities. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/bulkServiceability/).
|
|
15
15
|
*/
|
|
16
16
|
bulkServiceability({ extensionId, schemeId, body, requestHeaders }?: ServiceabilityPlatformValidator.BulkServiceabilityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResultItemData>;
|
|
17
17
|
/**
|
|
@@ -24,7 +24,7 @@ declare class Serviceability {
|
|
|
24
24
|
* @name bulkTat
|
|
25
25
|
* @summary: Locality TAT import or export
|
|
26
26
|
* @description: Updates locality wise TAT(Turn Around Time) for particular courier scheme using CSV file.
|
|
27
|
-
* Export locality wise CSV files. - Check out [method documentation](https://
|
|
27
|
+
* Export locality wise CSV files. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/bulkTat/).
|
|
28
28
|
*/
|
|
29
29
|
bulkTat({ extensionId, schemeId, body, requestHeaders }?: ServiceabilityPlatformValidator.BulkTatParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResultItemData>;
|
|
30
30
|
/**
|
|
@@ -38,7 +38,7 @@ declare class Serviceability {
|
|
|
38
38
|
*
|
|
39
39
|
* @name createCourierPartnerAccount
|
|
40
40
|
* @summary: Create courier account
|
|
41
|
-
* @description: Retrieves a list of courier partner accounts. - Check out [method documentation](https://
|
|
41
|
+
* @description: Retrieves a list of courier partner accounts. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/createCourierPartnerAccount/).
|
|
42
42
|
*/
|
|
43
43
|
createCourierPartnerAccount({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreateCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierAccountDetailsBody>;
|
|
44
44
|
/**
|
|
@@ -52,7 +52,7 @@ declare class Serviceability {
|
|
|
52
52
|
*
|
|
53
53
|
* @name createCourierPartnerScheme
|
|
54
54
|
* @summary: Create Scheme for courier partner extension
|
|
55
|
-
* @description: Create Scheme for courier partner extension - Check out [method documentation](https://
|
|
55
|
+
* @description: Create Scheme for courier partner extension - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/createCourierPartnerScheme/).
|
|
56
56
|
*/
|
|
57
57
|
createCourierPartnerScheme({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreateCourierPartnerSchemeParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierPartnerSchemeModelSchema>;
|
|
58
58
|
/**
|
|
@@ -65,7 +65,7 @@ declare class Serviceability {
|
|
|
65
65
|
* Success response
|
|
66
66
|
* @name createPackageMaterial
|
|
67
67
|
* @summary: Create packaging material
|
|
68
|
-
* @description: Creates a packaging material - Check out [method documentation](https://
|
|
68
|
+
* @description: Creates a packaging material - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/createPackageMaterial/).
|
|
69
69
|
*/
|
|
70
70
|
createPackageMaterial({ body, pageNo, requestHeaders }?: ServiceabilityPlatformValidator.CreatePackageMaterialParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageMaterialResult>;
|
|
71
71
|
/**
|
|
@@ -78,7 +78,7 @@ declare class Serviceability {
|
|
|
78
78
|
* Success response
|
|
79
79
|
* @name createPackageMaterialRule
|
|
80
80
|
* @summary: Create packaging rule
|
|
81
|
-
* @description: Creates a packaging rule - Check out [method documentation](https://
|
|
81
|
+
* @description: Creates a packaging rule - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/createPackageMaterialRule/).
|
|
82
82
|
*/
|
|
83
83
|
createPackageMaterialRule({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreatePackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResult>;
|
|
84
84
|
/**
|
|
@@ -90,7 +90,7 @@ declare class Serviceability {
|
|
|
90
90
|
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResult>} - Success response
|
|
91
91
|
* @name getBulkServiceability
|
|
92
92
|
* @summary: Bulk update history
|
|
93
|
-
* @description: Retrieves the history of changes made to serviceability settings for a scheme. - Check out [method documentation](https://
|
|
93
|
+
* @description: Retrieves the history of changes made to serviceability settings for a scheme. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getBulkServiceability/).
|
|
94
94
|
*/
|
|
95
95
|
getBulkServiceability({ extensionId, schemeId, pageNo, pageSize, batchId, action, status, country, region, startDate, endDate, requestHeaders, }?: ServiceabilityPlatformValidator.GetBulkServiceabilityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResult>;
|
|
96
96
|
/**
|
|
@@ -100,7 +100,7 @@ declare class Serviceability {
|
|
|
100
100
|
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResult>} - Success response
|
|
101
101
|
* @name getBulkTat
|
|
102
102
|
* @summary: Locality TAT change history
|
|
103
|
-
* @description: Retrieves the history of changes made to TAT(Turn Around Time) for scheme. - Check out [method documentation](https://
|
|
103
|
+
* @description: Retrieves the history of changes made to TAT(Turn Around Time) for scheme. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getBulkTat/).
|
|
104
104
|
*/
|
|
105
105
|
getBulkTat({ extensionId, schemeId, pageNo, pageSize, batchId, action, status, country, region, startDate, endDate, requestHeaders, }?: ServiceabilityPlatformValidator.GetBulkTatParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResult>;
|
|
106
106
|
/**
|
|
@@ -112,7 +112,7 @@ declare class Serviceability {
|
|
|
112
112
|
* @returns {Promise<ServiceabilityPlatformModel.CompanyConfig>} - Success response
|
|
113
113
|
* @name getCompanyConfiguration
|
|
114
114
|
* @summary: Get delivery configuration
|
|
115
|
-
* @description: Retrieves information about the delivery setup for a company - Check out [method documentation](https://
|
|
115
|
+
* @description: Retrieves information about the delivery setup for a company - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCompanyConfiguration/).
|
|
116
116
|
*/
|
|
117
117
|
getCompanyConfiguration({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CompanyConfig>;
|
|
118
118
|
/**
|
|
@@ -122,7 +122,7 @@ declare class Serviceability {
|
|
|
122
122
|
* @returns {Promise<ServiceabilityPlatformModel.GetCountries>} - Success response
|
|
123
123
|
* @name getCountries
|
|
124
124
|
* @summary: Get all countries and associated data
|
|
125
|
-
* @description: Retrieve a list of countries for logistical purposes. - Check out [method documentation](https://
|
|
125
|
+
* @description: Retrieve a list of countries for logistical purposes. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCountries/).
|
|
126
126
|
*/
|
|
127
127
|
getCountries({ onboard, pageNo, pageSize, q, hierarchy, requestHeaders }?: ServiceabilityPlatformValidator.GetCountriesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.GetCountries>;
|
|
128
128
|
/**
|
|
@@ -135,7 +135,7 @@ declare class Serviceability {
|
|
|
135
135
|
* Success response
|
|
136
136
|
* @name getCourierPartnerAccount
|
|
137
137
|
* @summary: Get courier account
|
|
138
|
-
* @description: Retrieves a single courier partner account. - Check out [method documentation](https://
|
|
138
|
+
* @description: Retrieves a single courier partner account. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCourierPartnerAccount/).
|
|
139
139
|
*/
|
|
140
140
|
getCourierPartnerAccount({ accountId, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierAccountResult>;
|
|
141
141
|
/**
|
|
@@ -149,7 +149,7 @@ declare class Serviceability {
|
|
|
149
149
|
*
|
|
150
150
|
* @name getCourierPartnerAccounts
|
|
151
151
|
* @summary: List courier accounts
|
|
152
|
-
* @description: Retrieves a list of courier partner accounts. - Check out [method documentation](https://
|
|
152
|
+
* @description: Retrieves a list of courier partner accounts. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCourierPartnerAccounts/).
|
|
153
153
|
*/
|
|
154
154
|
getCourierPartnerAccounts({ pageNo, pageSize, stage, paymentMode, transportType, accountIds, selfShip, ownAccount, q, requestHeaders, }?: ServiceabilityPlatformValidator.GetCourierPartnerAccountsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResult>;
|
|
155
155
|
/**
|
|
@@ -163,7 +163,7 @@ declare class Serviceability {
|
|
|
163
163
|
*
|
|
164
164
|
* @name getCourierPartnerScheme
|
|
165
165
|
* @summary: Get Scheme for courier partner extension by Id
|
|
166
|
-
* @description: Update Scheme for courier partner extension by Id - Check out [method documentation](https://
|
|
166
|
+
* @description: Update Scheme for courier partner extension by Id - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCourierPartnerScheme/).
|
|
167
167
|
*/
|
|
168
168
|
getCourierPartnerScheme({ schemeId, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerSchemeParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierPartnerSchemeModelSchema>;
|
|
169
169
|
/**
|
|
@@ -177,9 +177,9 @@ declare class Serviceability {
|
|
|
177
177
|
*
|
|
178
178
|
* @name getCourierPartnerSchemes
|
|
179
179
|
* @summary: Get created Schemes for courier partner
|
|
180
|
-
* @description: Get created Schemes for courier partner - Check out [method documentation](https://
|
|
180
|
+
* @description: Get created Schemes for courier partner - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCourierPartnerSchemes/).
|
|
181
181
|
*/
|
|
182
|
-
getCourierPartnerSchemes({ schemeType, paymentMode, capabilities, schemeIds, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerSchemesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierPartnerSchemeList>;
|
|
182
|
+
getCourierPartnerSchemes({ schemeType, paymentMode, capabilities, schemeIds, q, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerSchemesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierPartnerSchemeList>;
|
|
183
183
|
/**
|
|
184
184
|
* @param {ServiceabilityPlatformValidator.GetInstalledCourierPartnerExtensionsParam} arg
|
|
185
185
|
* - Arg object
|
|
@@ -191,7 +191,7 @@ declare class Serviceability {
|
|
|
191
191
|
*
|
|
192
192
|
* @name getInstalledCourierPartnerExtensions
|
|
193
193
|
* @summary: Fetching of Package Material Rules from database.
|
|
194
|
-
* @description: This API returns response of Package Materials Rules. - Check out [method documentation](https://
|
|
194
|
+
* @description: This API returns response of Package Materials Rules. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getInstalledCourierPartnerExtensions/).
|
|
195
195
|
*/
|
|
196
196
|
getInstalledCourierPartnerExtensions({ pageNo, pageSize, isInstalled, requestHeaders }?: ServiceabilityPlatformValidator.GetInstalledCourierPartnerExtensionsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.InstallCourierPartnerResponseSchema>;
|
|
197
197
|
/**
|
|
@@ -202,7 +202,7 @@ declare class Serviceability {
|
|
|
202
202
|
* Success response
|
|
203
203
|
* @name getOptimalLocations
|
|
204
204
|
* @summary: Get selling locations
|
|
205
|
-
* @description: Retrieves a list selling locations which are best suited to fullfil an order for a customer. - Check out [method documentation](https://
|
|
205
|
+
* @description: Retrieves a list selling locations which are best suited to fullfil an order for a customer. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getOptimalLocations/).
|
|
206
206
|
*/
|
|
207
207
|
getOptimalLocations({ body, requestHeaders }?: ServiceabilityPlatformValidator.GetOptimalLocationsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.OptimalLocationsResult>;
|
|
208
208
|
/**
|
|
@@ -215,7 +215,7 @@ declare class Serviceability {
|
|
|
215
215
|
* Success response
|
|
216
216
|
* @name getPackageMaterialList
|
|
217
217
|
* @summary: Get packaging materials
|
|
218
|
-
* @description: Retrieves a list of packaging materials - Check out [method documentation](https://
|
|
218
|
+
* @description: Retrieves a list of packaging materials - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getPackageMaterialList/).
|
|
219
219
|
*/
|
|
220
220
|
getPackageMaterialList({ pageNo, pageSize, q, size, packageType, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialListParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackagesListResult>;
|
|
221
221
|
/**
|
|
@@ -228,7 +228,7 @@ declare class Serviceability {
|
|
|
228
228
|
* Success response
|
|
229
229
|
* @name getPackageMaterialRule
|
|
230
230
|
* @summary: Get packaging material rule
|
|
231
|
-
* @description: Retrieve packaging rule details. - Check out [method documentation](https://
|
|
231
|
+
* @description: Retrieve packaging rule details. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getPackageMaterialRule/).
|
|
232
232
|
*/
|
|
233
233
|
getPackageMaterialRule({ ruleId, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResult>;
|
|
234
234
|
/**
|
|
@@ -238,7 +238,7 @@ declare class Serviceability {
|
|
|
238
238
|
* @returns {Promise<ServiceabilityPlatformModel.PackageItem>} - Success response
|
|
239
239
|
* @name getPackageMaterials
|
|
240
240
|
* @summary: Get packaging material
|
|
241
|
-
* @description: Retrieve a single packaging material - Check out [method documentation](https://
|
|
241
|
+
* @description: Retrieve a single packaging material - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getPackageMaterials/).
|
|
242
242
|
*/
|
|
243
243
|
getPackageMaterials({ packageMaterialId, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageItem>;
|
|
244
244
|
/**
|
|
@@ -252,7 +252,7 @@ declare class Serviceability {
|
|
|
252
252
|
*
|
|
253
253
|
* @name getSampleFileServiceabilityStatus
|
|
254
254
|
* @summary: Get Serviceability TAT sample files generator status
|
|
255
|
-
* @description: Get Serviceability TAT sample file generator status - Check out [method documentation](https://
|
|
255
|
+
* @description: Get Serviceability TAT sample file generator status - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getSampleFileServiceabilityStatus/).
|
|
256
256
|
*/
|
|
257
257
|
getSampleFileServiceabilityStatus({ pageNo, pageSize, batchId, requestHeaders }?: ServiceabilityPlatformValidator.GetSampleFileServiceabilityStatusParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionServiceabilityTatResult>;
|
|
258
258
|
/**
|
|
@@ -262,7 +262,7 @@ declare class Serviceability {
|
|
|
262
262
|
* @returns {Promise<ServiceabilityPlatformModel.SelfshipSchema>} - Success response
|
|
263
263
|
* @name getSelfShipDetails
|
|
264
264
|
* @summary: Get self-ship details
|
|
265
|
-
* @description: Get the self-ship details such as TAT, activation status, and unit for a specified company. - Check out [method documentation](https://
|
|
265
|
+
* @description: Get the self-ship details such as TAT, activation status, and unit for a specified company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getSelfShipDetails/).
|
|
266
266
|
*/
|
|
267
267
|
getSelfShipDetails({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.SelfshipSchema>;
|
|
268
268
|
/**
|
|
@@ -276,7 +276,7 @@ declare class Serviceability {
|
|
|
276
276
|
*
|
|
277
277
|
* @name sampleFileServiceability
|
|
278
278
|
* @summary: Sample File Download
|
|
279
|
-
* @description: Sample File Download - Check out [method documentation](https://
|
|
279
|
+
* @description: Sample File Download - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/sampleFileServiceability/).
|
|
280
280
|
*/
|
|
281
281
|
sampleFileServiceability({ body, requestHeaders }?: ServiceabilityPlatformValidator.SampleFileServiceabilityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionServiceabilityTatResultItemData>;
|
|
282
282
|
/**
|
|
@@ -288,9 +288,9 @@ declare class Serviceability {
|
|
|
288
288
|
* @returns {Promise<ServiceabilityPlatformModel.CompanyConfig>} - Success response
|
|
289
289
|
* @name updateCompanyConfiguration
|
|
290
290
|
* @summary: Update delivery configuration
|
|
291
|
-
* @description: Updates an existing delivery setup for a company, including the ability to adjust self-shipping preferences. - Check out [method documentation](https://
|
|
291
|
+
* @description: Updates an existing delivery setup for a company, including the ability to adjust self-shipping preferences. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updateCompanyConfiguration/).
|
|
292
292
|
*/
|
|
293
|
-
updateCompanyConfiguration({ body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateCompanyConfigurationParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CompanyConfig>;
|
|
293
|
+
updateCompanyConfiguration({ fulfillmentOptionSlug, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateCompanyConfigurationParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CompanyConfig>;
|
|
294
294
|
/**
|
|
295
295
|
* @param {ServiceabilityPlatformValidator.UpdateCourierPartnerAccountParam} arg
|
|
296
296
|
* - Arg object
|
|
@@ -302,7 +302,7 @@ declare class Serviceability {
|
|
|
302
302
|
*
|
|
303
303
|
* @name updateCourierPartnerAccount
|
|
304
304
|
* @summary: Update courier account
|
|
305
|
-
* @description: Updates an existing courier partner account. - Check out [method documentation](https://
|
|
305
|
+
* @description: Updates an existing courier partner account. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updateCourierPartnerAccount/).
|
|
306
306
|
*/
|
|
307
307
|
updateCourierPartnerAccount({ accountId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierAccountDetailsBody>;
|
|
308
308
|
/**
|
|
@@ -316,7 +316,7 @@ declare class Serviceability {
|
|
|
316
316
|
*
|
|
317
317
|
* @name updateCourierPartnerScheme
|
|
318
318
|
* @summary: Update Scheme for courier partner extension
|
|
319
|
-
* @description: Update Scheme for courier partner extension - Check out [method documentation](https://
|
|
319
|
+
* @description: Update Scheme for courier partner extension - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updateCourierPartnerScheme/).
|
|
320
320
|
*/
|
|
321
321
|
updateCourierPartnerScheme({ schemeId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateCourierPartnerSchemeParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierPartnerSchemeModelSchema>;
|
|
322
322
|
/**
|
|
@@ -329,7 +329,7 @@ declare class Serviceability {
|
|
|
329
329
|
* Success response
|
|
330
330
|
* @name updatePackageMaterialRule
|
|
331
331
|
* @summary: Update packaging rule
|
|
332
|
-
* @description: Update an existing packaging rule - Check out [method documentation](https://
|
|
332
|
+
* @description: Update an existing packaging rule - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updatePackageMaterialRule/).
|
|
333
333
|
*/
|
|
334
334
|
updatePackageMaterialRule({ ruleId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdatePackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResult>;
|
|
335
335
|
/**
|
|
@@ -342,7 +342,7 @@ declare class Serviceability {
|
|
|
342
342
|
* Success response
|
|
343
343
|
* @name updatePackageMaterials
|
|
344
344
|
* @summary: Update packaging material
|
|
345
|
-
* @description: Update an existing packaging material - Check out [method documentation](https://
|
|
345
|
+
* @description: Update an existing packaging material - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updatePackageMaterials/).
|
|
346
346
|
*/
|
|
347
347
|
updatePackageMaterials({ packageMaterialId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdatePackageMaterialsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageMaterialResult>;
|
|
348
348
|
/**
|
|
@@ -354,7 +354,7 @@ declare class Serviceability {
|
|
|
354
354
|
* @returns {Promise<ServiceabilityPlatformModel.SelfshipSchema>} - Success response
|
|
355
355
|
* @name updateSelfShipDetails
|
|
356
356
|
* @summary: Update self-ship details
|
|
357
|
-
* @description: Updates the self-ship details such as TAT, activation status, and unit for a specified company. - Check out [method documentation](https://
|
|
357
|
+
* @description: Updates the self-ship details such as TAT, activation status, and unit for a specified company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updateSelfShipDetails/).
|
|
358
358
|
*/
|
|
359
359
|
updateSelfShipDetails({ body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateSelfShipDetailsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.SelfshipSchema>;
|
|
360
360
|
}
|
|
@@ -23,7 +23,7 @@ class Serviceability {
|
|
|
23
23
|
*
|
|
24
24
|
* @name bulkServiceability
|
|
25
25
|
* @summary: Bulk update serviceability of localities
|
|
26
|
-
* @description: Bulk operations involve either new serviceability settings or updating existing ones in large quantities. - Check out [method documentation](https://
|
|
26
|
+
* @description: Bulk operations involve either new serviceability settings or updating existing ones in large quantities. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/bulkServiceability/).
|
|
27
27
|
*/
|
|
28
28
|
async bulkServiceability(
|
|
29
29
|
{ extensionId, schemeId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -111,7 +111,7 @@ class Serviceability {
|
|
|
111
111
|
* @name bulkTat
|
|
112
112
|
* @summary: Locality TAT import or export
|
|
113
113
|
* @description: Updates locality wise TAT(Turn Around Time) for particular courier scheme using CSV file.
|
|
114
|
-
* Export locality wise CSV files. - Check out [method documentation](https://
|
|
114
|
+
* Export locality wise CSV files. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/bulkTat/).
|
|
115
115
|
*/
|
|
116
116
|
async bulkTat(
|
|
117
117
|
{ extensionId, schemeId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -198,7 +198,7 @@ class Serviceability {
|
|
|
198
198
|
*
|
|
199
199
|
* @name createCourierPartnerAccount
|
|
200
200
|
* @summary: Create courier account
|
|
201
|
-
* @description: Retrieves a list of courier partner accounts. - Check out [method documentation](https://
|
|
201
|
+
* @description: Retrieves a list of courier partner accounts. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/createCourierPartnerAccount/).
|
|
202
202
|
*/
|
|
203
203
|
async createCourierPartnerAccount(
|
|
204
204
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -283,7 +283,7 @@ class Serviceability {
|
|
|
283
283
|
*
|
|
284
284
|
* @name createCourierPartnerScheme
|
|
285
285
|
* @summary: Create Scheme for courier partner extension
|
|
286
|
-
* @description: Create Scheme for courier partner extension - Check out [method documentation](https://
|
|
286
|
+
* @description: Create Scheme for courier partner extension - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/createCourierPartnerScheme/).
|
|
287
287
|
*/
|
|
288
288
|
async createCourierPartnerScheme(
|
|
289
289
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -367,7 +367,7 @@ class Serviceability {
|
|
|
367
367
|
* Success response
|
|
368
368
|
* @name createPackageMaterial
|
|
369
369
|
* @summary: Create packaging material
|
|
370
|
-
* @description: Creates a packaging material - Check out [method documentation](https://
|
|
370
|
+
* @description: Creates a packaging material - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/createPackageMaterial/).
|
|
371
371
|
*/
|
|
372
372
|
async createPackageMaterial(
|
|
373
373
|
{ body, pageNo, requestHeaders } = { requestHeaders: {} },
|
|
@@ -454,7 +454,7 @@ class Serviceability {
|
|
|
454
454
|
* Success response
|
|
455
455
|
* @name createPackageMaterialRule
|
|
456
456
|
* @summary: Create packaging rule
|
|
457
|
-
* @description: Creates a packaging rule - Check out [method documentation](https://
|
|
457
|
+
* @description: Creates a packaging rule - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/createPackageMaterialRule/).
|
|
458
458
|
*/
|
|
459
459
|
async createPackageMaterialRule(
|
|
460
460
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -537,7 +537,7 @@ class Serviceability {
|
|
|
537
537
|
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResult>} - Success response
|
|
538
538
|
* @name getBulkServiceability
|
|
539
539
|
* @summary: Bulk update history
|
|
540
|
-
* @description: Retrieves the history of changes made to serviceability settings for a scheme. - Check out [method documentation](https://
|
|
540
|
+
* @description: Retrieves the history of changes made to serviceability settings for a scheme. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getBulkServiceability/).
|
|
541
541
|
*/
|
|
542
542
|
async getBulkServiceability(
|
|
543
543
|
{
|
|
@@ -660,7 +660,7 @@ class Serviceability {
|
|
|
660
660
|
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResult>} - Success response
|
|
661
661
|
* @name getBulkTat
|
|
662
662
|
* @summary: Locality TAT change history
|
|
663
|
-
* @description: Retrieves the history of changes made to TAT(Turn Around Time) for scheme. - Check out [method documentation](https://
|
|
663
|
+
* @description: Retrieves the history of changes made to TAT(Turn Around Time) for scheme. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getBulkTat/).
|
|
664
664
|
*/
|
|
665
665
|
async getBulkTat(
|
|
666
666
|
{
|
|
@@ -783,7 +783,7 @@ class Serviceability {
|
|
|
783
783
|
* @returns {Promise<ServiceabilityPlatformModel.CompanyConfig>} - Success response
|
|
784
784
|
* @name getCompanyConfiguration
|
|
785
785
|
* @summary: Get delivery configuration
|
|
786
|
-
* @description: Retrieves information about the delivery setup for a company - Check out [method documentation](https://
|
|
786
|
+
* @description: Retrieves information about the delivery setup for a company - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCompanyConfiguration/).
|
|
787
787
|
*/
|
|
788
788
|
async getCompanyConfiguration(
|
|
789
789
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -860,7 +860,7 @@ class Serviceability {
|
|
|
860
860
|
* @returns {Promise<ServiceabilityPlatformModel.GetCountries>} - Success response
|
|
861
861
|
* @name getCountries
|
|
862
862
|
* @summary: Get all countries and associated data
|
|
863
|
-
* @description: Retrieve a list of countries for logistical purposes. - Check out [method documentation](https://
|
|
863
|
+
* @description: Retrieve a list of countries for logistical purposes. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCountries/).
|
|
864
864
|
*/
|
|
865
865
|
async getCountries(
|
|
866
866
|
{ onboard, pageNo, pageSize, q, hierarchy, requestHeaders } = {
|
|
@@ -957,7 +957,7 @@ class Serviceability {
|
|
|
957
957
|
* Success response
|
|
958
958
|
* @name getCourierPartnerAccount
|
|
959
959
|
* @summary: Get courier account
|
|
960
|
-
* @description: Retrieves a single courier partner account. - Check out [method documentation](https://
|
|
960
|
+
* @description: Retrieves a single courier partner account. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCourierPartnerAccount/).
|
|
961
961
|
*/
|
|
962
962
|
async getCourierPartnerAccount(
|
|
963
963
|
{ accountId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1042,7 +1042,7 @@ class Serviceability {
|
|
|
1042
1042
|
*
|
|
1043
1043
|
* @name getCourierPartnerAccounts
|
|
1044
1044
|
* @summary: List courier accounts
|
|
1045
|
-
* @description: Retrieves a list of courier partner accounts. - Check out [method documentation](https://
|
|
1045
|
+
* @description: Retrieves a list of courier partner accounts. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCourierPartnerAccounts/).
|
|
1046
1046
|
*/
|
|
1047
1047
|
async getCourierPartnerAccounts(
|
|
1048
1048
|
{
|
|
@@ -1163,7 +1163,7 @@ class Serviceability {
|
|
|
1163
1163
|
*
|
|
1164
1164
|
* @name getCourierPartnerScheme
|
|
1165
1165
|
* @summary: Get Scheme for courier partner extension by Id
|
|
1166
|
-
* @description: Update Scheme for courier partner extension by Id - Check out [method documentation](https://
|
|
1166
|
+
* @description: Update Scheme for courier partner extension by Id - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCourierPartnerScheme/).
|
|
1167
1167
|
*/
|
|
1168
1168
|
async getCourierPartnerScheme(
|
|
1169
1169
|
{ schemeId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1244,10 +1244,10 @@ class Serviceability {
|
|
|
1244
1244
|
*
|
|
1245
1245
|
* @name getCourierPartnerSchemes
|
|
1246
1246
|
* @summary: Get created Schemes for courier partner
|
|
1247
|
-
* @description: Get created Schemes for courier partner - Check out [method documentation](https://
|
|
1247
|
+
* @description: Get created Schemes for courier partner - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCourierPartnerSchemes/).
|
|
1248
1248
|
*/
|
|
1249
1249
|
async getCourierPartnerSchemes(
|
|
1250
|
-
{ schemeType, paymentMode, capabilities, schemeIds, requestHeaders } = {
|
|
1250
|
+
{ schemeType, paymentMode, capabilities, schemeIds, q, requestHeaders } = {
|
|
1251
1251
|
requestHeaders: {},
|
|
1252
1252
|
},
|
|
1253
1253
|
{ responseHeaders } = { responseHeaders: false }
|
|
@@ -1260,6 +1260,7 @@ class Serviceability {
|
|
|
1260
1260
|
paymentMode,
|
|
1261
1261
|
capabilities,
|
|
1262
1262
|
schemeIds,
|
|
1263
|
+
q,
|
|
1263
1264
|
},
|
|
1264
1265
|
{ abortEarly: false, allowUnknown: true }
|
|
1265
1266
|
);
|
|
@@ -1276,6 +1277,7 @@ class Serviceability {
|
|
|
1276
1277
|
paymentMode,
|
|
1277
1278
|
capabilities,
|
|
1278
1279
|
schemeIds,
|
|
1280
|
+
q,
|
|
1279
1281
|
},
|
|
1280
1282
|
{ abortEarly: false, allowUnknown: false }
|
|
1281
1283
|
);
|
|
@@ -1291,6 +1293,7 @@ class Serviceability {
|
|
|
1291
1293
|
query_params["payment_mode"] = paymentMode;
|
|
1292
1294
|
query_params["capabilities"] = capabilities;
|
|
1293
1295
|
query_params["scheme_ids"] = schemeIds;
|
|
1296
|
+
query_params["q"] = q;
|
|
1294
1297
|
|
|
1295
1298
|
const xHeaders = {};
|
|
1296
1299
|
|
|
@@ -1341,7 +1344,7 @@ class Serviceability {
|
|
|
1341
1344
|
*
|
|
1342
1345
|
* @name getInstalledCourierPartnerExtensions
|
|
1343
1346
|
* @summary: Fetching of Package Material Rules from database.
|
|
1344
|
-
* @description: This API returns response of Package Materials Rules. - Check out [method documentation](https://
|
|
1347
|
+
* @description: This API returns response of Package Materials Rules. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getInstalledCourierPartnerExtensions/).
|
|
1345
1348
|
*/
|
|
1346
1349
|
async getInstalledCourierPartnerExtensions(
|
|
1347
1350
|
{ pageNo, pageSize, isInstalled, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1430,7 +1433,7 @@ class Serviceability {
|
|
|
1430
1433
|
* Success response
|
|
1431
1434
|
* @name getOptimalLocations
|
|
1432
1435
|
* @summary: Get selling locations
|
|
1433
|
-
* @description: Retrieves a list selling locations which are best suited to fullfil an order for a customer. - Check out [method documentation](https://
|
|
1436
|
+
* @description: Retrieves a list selling locations which are best suited to fullfil an order for a customer. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getOptimalLocations/).
|
|
1434
1437
|
*/
|
|
1435
1438
|
async getOptimalLocations(
|
|
1436
1439
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1514,7 +1517,7 @@ class Serviceability {
|
|
|
1514
1517
|
* Success response
|
|
1515
1518
|
* @name getPackageMaterialList
|
|
1516
1519
|
* @summary: Get packaging materials
|
|
1517
|
-
* @description: Retrieves a list of packaging materials - Check out [method documentation](https://
|
|
1520
|
+
* @description: Retrieves a list of packaging materials - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getPackageMaterialList/).
|
|
1518
1521
|
*/
|
|
1519
1522
|
async getPackageMaterialList(
|
|
1520
1523
|
{ pageNo, pageSize, q, size, packageType, requestHeaders } = {
|
|
@@ -1613,7 +1616,7 @@ class Serviceability {
|
|
|
1613
1616
|
* Success response
|
|
1614
1617
|
* @name getPackageMaterialRule
|
|
1615
1618
|
* @summary: Get packaging material rule
|
|
1616
|
-
* @description: Retrieve packaging rule details. - Check out [method documentation](https://
|
|
1619
|
+
* @description: Retrieve packaging rule details. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getPackageMaterialRule/).
|
|
1617
1620
|
*/
|
|
1618
1621
|
async getPackageMaterialRule(
|
|
1619
1622
|
{ ruleId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1694,7 +1697,7 @@ class Serviceability {
|
|
|
1694
1697
|
* @returns {Promise<ServiceabilityPlatformModel.PackageItem>} - Success response
|
|
1695
1698
|
* @name getPackageMaterials
|
|
1696
1699
|
* @summary: Get packaging material
|
|
1697
|
-
* @description: Retrieve a single packaging material - Check out [method documentation](https://
|
|
1700
|
+
* @description: Retrieve a single packaging material - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getPackageMaterials/).
|
|
1698
1701
|
*/
|
|
1699
1702
|
async getPackageMaterials(
|
|
1700
1703
|
{ packageMaterialId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1779,7 +1782,7 @@ class Serviceability {
|
|
|
1779
1782
|
*
|
|
1780
1783
|
* @name getSampleFileServiceabilityStatus
|
|
1781
1784
|
* @summary: Get Serviceability TAT sample files generator status
|
|
1782
|
-
* @description: Get Serviceability TAT sample file generator status - Check out [method documentation](https://
|
|
1785
|
+
* @description: Get Serviceability TAT sample file generator status - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getSampleFileServiceabilityStatus/).
|
|
1783
1786
|
*/
|
|
1784
1787
|
async getSampleFileServiceabilityStatus(
|
|
1785
1788
|
{ pageNo, pageSize, batchId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1867,7 +1870,7 @@ class Serviceability {
|
|
|
1867
1870
|
* @returns {Promise<ServiceabilityPlatformModel.SelfshipSchema>} - Success response
|
|
1868
1871
|
* @name getSelfShipDetails
|
|
1869
1872
|
* @summary: Get self-ship details
|
|
1870
|
-
* @description: Get the self-ship details such as TAT, activation status, and unit for a specified company. - Check out [method documentation](https://
|
|
1873
|
+
* @description: Get the self-ship details such as TAT, activation status, and unit for a specified company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getSelfShipDetails/).
|
|
1871
1874
|
*/
|
|
1872
1875
|
async getSelfShipDetails(
|
|
1873
1876
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1948,7 +1951,7 @@ class Serviceability {
|
|
|
1948
1951
|
*
|
|
1949
1952
|
* @name sampleFileServiceability
|
|
1950
1953
|
* @summary: Sample File Download
|
|
1951
|
-
* @description: Sample File Download - Check out [method documentation](https://
|
|
1954
|
+
* @description: Sample File Download - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/sampleFileServiceability/).
|
|
1952
1955
|
*/
|
|
1953
1956
|
async sampleFileServiceability(
|
|
1954
1957
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2031,16 +2034,17 @@ class Serviceability {
|
|
|
2031
2034
|
* @returns {Promise<ServiceabilityPlatformModel.CompanyConfig>} - Success response
|
|
2032
2035
|
* @name updateCompanyConfiguration
|
|
2033
2036
|
* @summary: Update delivery configuration
|
|
2034
|
-
* @description: Updates an existing delivery setup for a company, including the ability to adjust self-shipping preferences. - Check out [method documentation](https://
|
|
2037
|
+
* @description: Updates an existing delivery setup for a company, including the ability to adjust self-shipping preferences. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updateCompanyConfiguration/).
|
|
2035
2038
|
*/
|
|
2036
2039
|
async updateCompanyConfiguration(
|
|
2037
|
-
{ body, requestHeaders } = { requestHeaders: {} },
|
|
2040
|
+
{ fulfillmentOptionSlug, body, requestHeaders } = { requestHeaders: {} },
|
|
2038
2041
|
{ responseHeaders } = { responseHeaders: false }
|
|
2039
2042
|
) {
|
|
2040
2043
|
const {
|
|
2041
2044
|
error,
|
|
2042
2045
|
} = ServiceabilityPlatformValidator.updateCompanyConfiguration().validate(
|
|
2043
2046
|
{
|
|
2047
|
+
fulfillmentOptionSlug,
|
|
2044
2048
|
body,
|
|
2045
2049
|
},
|
|
2046
2050
|
{ abortEarly: false, allowUnknown: true }
|
|
@@ -2054,6 +2058,7 @@ class Serviceability {
|
|
|
2054
2058
|
error: warrning,
|
|
2055
2059
|
} = ServiceabilityPlatformValidator.updateCompanyConfiguration().validate(
|
|
2056
2060
|
{
|
|
2061
|
+
fulfillmentOptionSlug,
|
|
2057
2062
|
body,
|
|
2058
2063
|
},
|
|
2059
2064
|
{ abortEarly: false, allowUnknown: false }
|
|
@@ -2066,6 +2071,7 @@ class Serviceability {
|
|
|
2066
2071
|
}
|
|
2067
2072
|
|
|
2068
2073
|
const query_params = {};
|
|
2074
|
+
query_params["fulfillment_option_slug"] = fulfillmentOptionSlug;
|
|
2069
2075
|
|
|
2070
2076
|
const xHeaders = {};
|
|
2071
2077
|
|
|
@@ -2116,7 +2122,7 @@ class Serviceability {
|
|
|
2116
2122
|
*
|
|
2117
2123
|
* @name updateCourierPartnerAccount
|
|
2118
2124
|
* @summary: Update courier account
|
|
2119
|
-
* @description: Updates an existing courier partner account. - Check out [method documentation](https://
|
|
2125
|
+
* @description: Updates an existing courier partner account. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updateCourierPartnerAccount/).
|
|
2120
2126
|
*/
|
|
2121
2127
|
async updateCourierPartnerAccount(
|
|
2122
2128
|
{ accountId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2203,7 +2209,7 @@ class Serviceability {
|
|
|
2203
2209
|
*
|
|
2204
2210
|
* @name updateCourierPartnerScheme
|
|
2205
2211
|
* @summary: Update Scheme for courier partner extension
|
|
2206
|
-
* @description: Update Scheme for courier partner extension - Check out [method documentation](https://
|
|
2212
|
+
* @description: Update Scheme for courier partner extension - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updateCourierPartnerScheme/).
|
|
2207
2213
|
*/
|
|
2208
2214
|
async updateCourierPartnerScheme(
|
|
2209
2215
|
{ schemeId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2291,7 +2297,7 @@ class Serviceability {
|
|
|
2291
2297
|
* Success response
|
|
2292
2298
|
* @name updatePackageMaterialRule
|
|
2293
2299
|
* @summary: Update packaging rule
|
|
2294
|
-
* @description: Update an existing packaging rule - Check out [method documentation](https://
|
|
2300
|
+
* @description: Update an existing packaging rule - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updatePackageMaterialRule/).
|
|
2295
2301
|
*/
|
|
2296
2302
|
async updatePackageMaterialRule(
|
|
2297
2303
|
{ ruleId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2377,7 +2383,7 @@ class Serviceability {
|
|
|
2377
2383
|
* Success response
|
|
2378
2384
|
* @name updatePackageMaterials
|
|
2379
2385
|
* @summary: Update packaging material
|
|
2380
|
-
* @description: Update an existing packaging material - Check out [method documentation](https://
|
|
2386
|
+
* @description: Update an existing packaging material - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updatePackageMaterials/).
|
|
2381
2387
|
*/
|
|
2382
2388
|
async updatePackageMaterials(
|
|
2383
2389
|
{ packageMaterialId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2462,7 +2468,7 @@ class Serviceability {
|
|
|
2462
2468
|
* @returns {Promise<ServiceabilityPlatformModel.SelfshipSchema>} - Success response
|
|
2463
2469
|
* @name updateSelfShipDetails
|
|
2464
2470
|
* @summary: Update self-ship details
|
|
2465
|
-
* @description: Updates the self-ship details such as TAT, activation status, and unit for a specified company. - Check out [method documentation](https://
|
|
2471
|
+
* @description: Updates the self-ship details such as TAT, activation status, and unit for a specified company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/updateSelfShipDetails/).
|
|
2466
2472
|
*/
|
|
2467
2473
|
async updateSelfShipDetails(
|
|
2468
2474
|
{ body, requestHeaders } = { requestHeaders: {} },
|