@gofynd/fdk-client-javascript 1.4.3 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -10
- package/application.d.ts +3 -3
- package/common.d.ts +3 -3
- package/index.d.ts +15 -15
- package/package.json +1 -1
- package/partner.d.ts +3 -3
- package/platform.d.ts +3 -3
- package/public.d.ts +2 -2
- package/sdk/application/ApplicationAPIClient.d.ts +1 -1
- package/sdk/application/ApplicationClient.d.ts +17 -17
- package/sdk/application/ApplicationConfig.d.ts +3 -3
- package/sdk/application/Cart/CartApplicationClient.d.ts +50 -50
- package/sdk/application/Cart/CartApplicationClient.js +48 -48
- package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +72 -72
- package/sdk/application/Catalog/CatalogApplicationClient.js +69 -69
- package/sdk/application/Common/CommonApplicationClient.d.ts +6 -6
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +8 -8
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -34
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -32
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +1 -1
- package/sdk/application/Content/ContentApplicationClient.d.ts +48 -48
- package/sdk/application/Content/ContentApplicationClient.js +45 -45
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +7 -7
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +5 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/Lead/LeadApplicationClient.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationClient.js +9 -9
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +24 -24
- package/sdk/application/Logistic/LogisticApplicationClient.js +22 -22
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
- package/sdk/application/Order/OrderApplicationClient.d.ts +16 -27
- package/sdk/application/Order/OrderApplicationClient.js +14 -94
- package/sdk/application/Order/OrderApplicationValidator.d.ts +2 -16
- package/sdk/application/Order/OrderApplicationValidator.js +0 -13
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +73 -73
- package/sdk/application/Payment/PaymentApplicationClient.js +71 -71
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +1 -1
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +1 -1
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +3 -3
- package/sdk/application/Rewards/RewardsApplicationClient.js +1 -1
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +1 -1
- package/sdk/application/Share/ShareApplicationClient.d.ts +3 -3
- package/sdk/application/Share/ShareApplicationClient.js +1 -1
- package/sdk/application/Share/ShareApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +10 -10
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
- package/sdk/application/User/UserApplicationClient.d.ts +76 -76
- package/sdk/application/User/UserApplicationClient.js +74 -74
- package/sdk/application/User/UserApplicationValidator.d.ts +1 -1
- package/sdk/application/index.d.ts +18 -18
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +1 -1
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +1 -1
- package/sdk/partner/OAuthClient.d.ts +4 -4
- package/sdk/partner/PartnerAPIClient.d.ts +1 -1
- package/sdk/partner/PartnerClient.d.ts +6 -6
- package/sdk/partner/PartnerConfig.d.ts +4 -4
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +1 -1
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +1 -1
- package/sdk/partner/index.d.ts +7 -7
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +7 -7
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +5 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +13 -13
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +104 -104
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +102 -102
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +135 -134
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +132 -131
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +133 -133
- package/sdk/platform/Catalog/CatalogPlatformClient.js +130 -130
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -1
- package/sdk/platform/Common/CommonPlatformClient.d.ts +4 -4
- package/sdk/platform/Common/CommonPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +120 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +118 -118
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -3
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +25 -25
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +22 -22
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +43 -43
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +41 -41
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +28 -28
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +26 -26
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +96 -96
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +93 -93
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformClient.d.ts +31 -31
- package/sdk/platform/Content/ContentPlatformClient.js +29 -29
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +1 -1
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +20 -20
- package/sdk/platform/Discount/DiscountPlatformClient.js +18 -18
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +20 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +18 -17
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +1 -1
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.js +4 -4
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -1
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +14 -14
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformClient.js +15 -15
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -1
- package/sdk/platform/OAuthClient.d.ts +3 -3
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +10 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +97 -108
- package/sdk/platform/Order/OrderPlatformClient.js +95 -190
- package/sdk/platform/Order/OrderPlatformModel.d.ts +10 -0
- package/sdk/platform/Order/OrderPlatformModel.js +4 -0
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -34
- package/sdk/platform/Order/OrderPlatformValidator.js +0 -20
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +79 -79
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +77 -77
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +4 -4
- package/sdk/platform/Payment/PaymentPlatformClient.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +7 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +3 -0
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +1 -1
- package/sdk/platform/PlatformAPIClient.d.ts +1 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +16 -16
- package/sdk/platform/PlatformClient.d.ts +19 -21
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/PlatformConfig.d.ts +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +7 -7
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +42 -42
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +40 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +53 -52
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +51 -50
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Share/SharePlatformApplicationClient.js +1 -1
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +36 -106
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +34 -591
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +2 -101
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -92
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -8
- package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +1 -1
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +37 -37
- package/sdk/platform/User/UserPlatformApplicationClient.js +35 -35
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +9 -8
- package/sdk/platform/Webhook/WebhookPlatformClient.js +7 -6
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +1 -1
- package/sdk/platform/index.d.ts +24 -25
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Billing/BillingPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -2
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +2 -2
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
- package/sdk/public/PublicAPIClient.d.ts +1 -1
- package/sdk/public/PublicClient.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -1
- package/sdk/public/index.d.ts +8 -8
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +0 -152
- package/sdk/platform/Inventory/InventoryPlatformClient.js +0 -1017
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +0 -1355
- package/sdk/platform/Inventory/InventoryPlatformModel.js +0 -1544
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +0 -171
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +0 -159
|
@@ -22,8 +22,8 @@ class Serviceability {
|
|
|
22
22
|
* - Success response
|
|
23
23
|
*
|
|
24
24
|
* @name bulkServiceability
|
|
25
|
-
* @summary:
|
|
26
|
-
* @description:
|
|
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://partners.fynd.com/help/docs/sdk/platform/serviceability/bulkServiceability/).
|
|
27
27
|
*/
|
|
28
28
|
async bulkServiceability(
|
|
29
29
|
{ extensionId, schemeId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -109,8 +109,9 @@ class Serviceability {
|
|
|
109
109
|
* - Success response
|
|
110
110
|
*
|
|
111
111
|
* @name bulkTat
|
|
112
|
-
* @summary:
|
|
113
|
-
* @description:
|
|
112
|
+
* @summary: Locality TAT import or export
|
|
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://partners.fynd.com/help/docs/sdk/platform/serviceability/bulkTat/).
|
|
114
115
|
*/
|
|
115
116
|
async bulkTat(
|
|
116
117
|
{ extensionId, schemeId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -194,8 +195,8 @@ class Serviceability {
|
|
|
194
195
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
195
196
|
* @returns {Promise<ServiceabilityPlatformModel.CourierAccount>} - Success response
|
|
196
197
|
* @name createCourierPartnerAccount
|
|
197
|
-
* @summary:
|
|
198
|
-
* @description:
|
|
198
|
+
* @summary: Create courier account
|
|
199
|
+
* @description: Creates a courier partner account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createCourierPartnerAccount/).
|
|
199
200
|
*/
|
|
200
201
|
async createCourierPartnerAccount(
|
|
201
202
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -279,8 +280,8 @@ class Serviceability {
|
|
|
279
280
|
* - Success response
|
|
280
281
|
*
|
|
281
282
|
* @name createPackageMaterial
|
|
282
|
-
* @summary:
|
|
283
|
-
* @description:
|
|
283
|
+
* @summary: Create packaging material
|
|
284
|
+
* @description: Creates a packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createPackageMaterial/).
|
|
284
285
|
*/
|
|
285
286
|
async createPackageMaterial(
|
|
286
287
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -363,8 +364,8 @@ class Serviceability {
|
|
|
363
364
|
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
|
|
364
365
|
* Success response
|
|
365
366
|
* @name createPackageMaterialRule
|
|
366
|
-
* @summary:
|
|
367
|
-
* @description:
|
|
367
|
+
* @summary: Create packaging rule
|
|
368
|
+
* @description: Creates a packaging rule - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createPackageMaterialRule/).
|
|
368
369
|
*/
|
|
369
370
|
async createPackageMaterialRule(
|
|
370
371
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -445,7 +446,7 @@ class Serviceability {
|
|
|
445
446
|
* @returns {Promise<ServiceabilityPlatformModel.ZoneResponse>} - Success response
|
|
446
447
|
* @name createZone
|
|
447
448
|
* @summary: Create zone
|
|
448
|
-
* @description:
|
|
449
|
+
* @description: Creates a delivery zone. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createZone/).
|
|
449
450
|
*/
|
|
450
451
|
async createZone(
|
|
451
452
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -525,7 +526,7 @@ class Serviceability {
|
|
|
525
526
|
* Success response
|
|
526
527
|
* @name getAllStores
|
|
527
528
|
* @summary: Get all stores
|
|
528
|
-
* @description:
|
|
529
|
+
* @description: Retrieves a list of locations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getAllStores/).
|
|
529
530
|
*/
|
|
530
531
|
async getAllStores(
|
|
531
532
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -602,8 +603,8 @@ class Serviceability {
|
|
|
602
603
|
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponse>} -
|
|
603
604
|
* Success response
|
|
604
605
|
* @name getBulkServiceability
|
|
605
|
-
* @summary:
|
|
606
|
-
* @description:
|
|
606
|
+
* @summary: Bulk update history
|
|
607
|
+
* @description: Retrieves the history of changes made to serviceability settings for a scheme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getBulkServiceability/).
|
|
607
608
|
*/
|
|
608
609
|
async getBulkServiceability(
|
|
609
610
|
{
|
|
@@ -726,8 +727,8 @@ class Serviceability {
|
|
|
726
727
|
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponse>} -
|
|
727
728
|
* Success response
|
|
728
729
|
* @name getBulkTat
|
|
729
|
-
* @summary:
|
|
730
|
-
* @description:
|
|
730
|
+
* @summary: Locality TAT change history
|
|
731
|
+
* @description: Retrieves the history of changes made to TAT(Turn Around Time) for scheme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getBulkTat/).
|
|
731
732
|
*/
|
|
732
733
|
async getBulkTat(
|
|
733
734
|
{
|
|
@@ -849,8 +850,8 @@ class Serviceability {
|
|
|
849
850
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
850
851
|
* @returns {Promise<ServiceabilityPlatformModel.CompanyConfig>} - Success response
|
|
851
852
|
* @name getCompanyConfiguration
|
|
852
|
-
* @summary: Get
|
|
853
|
-
* @description:
|
|
853
|
+
* @summary: Get delivery configuration
|
|
854
|
+
* @description: Retrieves information about the delivery setup for a company - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCompanyConfiguration/).
|
|
854
855
|
*/
|
|
855
856
|
async getCompanyConfiguration(
|
|
856
857
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -929,8 +930,8 @@ class Serviceability {
|
|
|
929
930
|
* @returns {Promise<ServiceabilityPlatformModel.CourierAccountResponse>} -
|
|
930
931
|
* Success response
|
|
931
932
|
* @name getCourierPartnerAccount
|
|
932
|
-
* @summary:
|
|
933
|
-
* @description:
|
|
933
|
+
* @summary: Get courier account
|
|
934
|
+
* @description: Retrieves a single courier partner account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCourierPartnerAccount/).
|
|
934
935
|
*/
|
|
935
936
|
async getCourierPartnerAccount(
|
|
936
937
|
{ accountId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1014,8 +1015,8 @@ class Serviceability {
|
|
|
1014
1015
|
* - Success response
|
|
1015
1016
|
*
|
|
1016
1017
|
* @name getCourierPartnerAccounts
|
|
1017
|
-
* @summary:
|
|
1018
|
-
* @description:
|
|
1018
|
+
* @summary: List courier accounts
|
|
1019
|
+
* @description: Retrieves a list of courier partner accounts. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCourierPartnerAccounts/).
|
|
1019
1020
|
*/
|
|
1020
1021
|
async getCourierPartnerAccounts(
|
|
1021
1022
|
{ pageNo, pageSize, stage, paymentMode, transportType, requestHeaders } = {
|
|
@@ -1112,8 +1113,8 @@ class Serviceability {
|
|
|
1112
1113
|
* - Success response
|
|
1113
1114
|
*
|
|
1114
1115
|
* @name getOptimalLocations
|
|
1115
|
-
* @summary:
|
|
1116
|
-
* @description:
|
|
1116
|
+
* @summary: Get selling locations
|
|
1117
|
+
* @description: Retrieves a list selling locations which are best suited to fullfil an order for a customer. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getOptimalLocations/).
|
|
1117
1118
|
*/
|
|
1118
1119
|
async getOptimalLocations(
|
|
1119
1120
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1196,8 +1197,8 @@ class Serviceability {
|
|
|
1196
1197
|
* @returns {Promise<ServiceabilityPlatformModel.PackageMaterialList>} -
|
|
1197
1198
|
* Success response
|
|
1198
1199
|
* @name getPackageMaterialList
|
|
1199
|
-
* @summary:
|
|
1200
|
-
* @description:
|
|
1200
|
+
* @summary: Get packaging materials
|
|
1201
|
+
* @description: Retrieves a list of packaging materials - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getPackageMaterialList/).
|
|
1201
1202
|
*/
|
|
1202
1203
|
async getPackageMaterialList(
|
|
1203
1204
|
{ pageNo, pageSize, q, size, packageType, requestHeaders } = {
|
|
@@ -1295,8 +1296,8 @@ class Serviceability {
|
|
|
1295
1296
|
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
|
|
1296
1297
|
* Success response
|
|
1297
1298
|
* @name getPackageMaterialRule
|
|
1298
|
-
* @summary:
|
|
1299
|
-
* @description:
|
|
1299
|
+
* @summary: Get packaging material rule
|
|
1300
|
+
* @description: Retrieve packaging rule details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getPackageMaterialRule/).
|
|
1300
1301
|
*/
|
|
1301
1302
|
async getPackageMaterialRule(
|
|
1302
1303
|
{ ruleId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1380,8 +1381,8 @@ class Serviceability {
|
|
|
1380
1381
|
* - Success response
|
|
1381
1382
|
*
|
|
1382
1383
|
* @name getPackageMaterialRules
|
|
1383
|
-
* @summary:
|
|
1384
|
-
* @description:
|
|
1384
|
+
* @summary: Get packaging rules
|
|
1385
|
+
* @description: Retrieve packaging rules - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getPackageMaterialRules/).
|
|
1385
1386
|
*/
|
|
1386
1387
|
async getPackageMaterialRules(
|
|
1387
1388
|
{ pageNo, pageSize, isActive, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1470,8 +1471,8 @@ class Serviceability {
|
|
|
1470
1471
|
* - Success response
|
|
1471
1472
|
*
|
|
1472
1473
|
* @name getPackageMaterials
|
|
1473
|
-
* @summary:
|
|
1474
|
-
* @description:
|
|
1474
|
+
* @summary: Get packaging material
|
|
1475
|
+
* @description: Retrieve a single packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getPackageMaterials/).
|
|
1475
1476
|
*/
|
|
1476
1477
|
async getPackageMaterials(
|
|
1477
1478
|
{ packageMaterialId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1552,8 +1553,8 @@ class Serviceability {
|
|
|
1552
1553
|
* @returns {Promise<ServiceabilityPlatformModel.ServiceabilityModel>} -
|
|
1553
1554
|
* Success response
|
|
1554
1555
|
* @name getServiceability
|
|
1555
|
-
* @summary: Get
|
|
1556
|
-
* @description:
|
|
1556
|
+
* @summary: Get serviceability of a locality
|
|
1557
|
+
* @description: Rerieves serviceability settings of a single courier scheme for a given locality - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getServiceability/).
|
|
1557
1558
|
*/
|
|
1558
1559
|
async getServiceability(
|
|
1559
1560
|
{ extensionId, schemeId, regionId, requestHeaders } = {
|
|
@@ -1640,8 +1641,8 @@ class Serviceability {
|
|
|
1640
1641
|
* @returns {Promise<ServiceabilityPlatformModel.GetZoneByIdSchema>} -
|
|
1641
1642
|
* Success response
|
|
1642
1643
|
* @name getZoneById
|
|
1643
|
-
* @summary: Get details
|
|
1644
|
-
* @description:
|
|
1644
|
+
* @summary: Get zone details
|
|
1645
|
+
* @description: Retrieves a single delivery zone. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZoneById/).
|
|
1645
1646
|
*/
|
|
1646
1647
|
async getZoneById(
|
|
1647
1648
|
{ zoneId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1719,8 +1720,8 @@ class Serviceability {
|
|
|
1719
1720
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1720
1721
|
* @returns {Promise<ServiceabilityPlatformModel.ListViewResponse>} - Success response
|
|
1721
1722
|
* @name getZones
|
|
1722
|
-
* @summary:
|
|
1723
|
-
* @description:
|
|
1723
|
+
* @summary: Get zones
|
|
1724
|
+
* @description: Retrieves a list of delivery zones. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZones/).
|
|
1724
1725
|
*/
|
|
1725
1726
|
async getZones(
|
|
1726
1727
|
{
|
|
@@ -1840,8 +1841,8 @@ class Serviceability {
|
|
|
1840
1841
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1841
1842
|
* @returns {Promise<ServiceabilityPlatformModel.CompanyConfig>} - Success response
|
|
1842
1843
|
* @name updateCompanyConfiguration
|
|
1843
|
-
* @summary:
|
|
1844
|
-
* @description:
|
|
1844
|
+
* @summary: Update delivery configuration
|
|
1845
|
+
* @description: Updates an existing delivery setup for a company, including the ability to adjust self-shipping preferences. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateCompanyConfiguration/).
|
|
1845
1846
|
*/
|
|
1846
1847
|
async updateCompanyConfiguration(
|
|
1847
1848
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1924,8 +1925,8 @@ class Serviceability {
|
|
|
1924
1925
|
* @returns {Promise<ServiceabilityPlatformModel.CourierAccountResponse>} -
|
|
1925
1926
|
* Success response
|
|
1926
1927
|
* @name updateCourierPartnerAccount
|
|
1927
|
-
* @summary: Update
|
|
1928
|
-
* @description: Updates
|
|
1928
|
+
* @summary: Update courier account
|
|
1929
|
+
* @description: Updates an existing courier partner account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateCourierPartnerAccount/).
|
|
1929
1930
|
*/
|
|
1930
1931
|
async updateCourierPartnerAccount(
|
|
1931
1932
|
{ accountId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2010,8 +2011,8 @@ class Serviceability {
|
|
|
2010
2011
|
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
|
|
2011
2012
|
* Success response
|
|
2012
2013
|
* @name updatePackageMaterialRule
|
|
2013
|
-
* @summary:
|
|
2014
|
-
* @description:
|
|
2014
|
+
* @summary: Update packaging rule
|
|
2015
|
+
* @description: Update an existing packaging rule - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePackageMaterialRule/).
|
|
2015
2016
|
*/
|
|
2016
2017
|
async updatePackageMaterialRule(
|
|
2017
2018
|
{ ruleId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2097,8 +2098,8 @@ class Serviceability {
|
|
|
2097
2098
|
* - Success response
|
|
2098
2099
|
*
|
|
2099
2100
|
* @name updatePackageMaterials
|
|
2100
|
-
* @summary: Update
|
|
2101
|
-
* @description:
|
|
2101
|
+
* @summary: Update packaging material
|
|
2102
|
+
* @description: Update an existing packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePackageMaterials/).
|
|
2102
2103
|
*/
|
|
2103
2104
|
async updatePackageMaterials(
|
|
2104
2105
|
{ packageMaterialId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2181,8 +2182,8 @@ class Serviceability {
|
|
|
2181
2182
|
* @returns {Promise<ServiceabilityPlatformModel.ServiceabilityModel>} -
|
|
2182
2183
|
* Success response
|
|
2183
2184
|
* @name updateServiceability
|
|
2184
|
-
* @summary: Serviceability
|
|
2185
|
-
* @description:
|
|
2185
|
+
* @summary: Update Serviceability of a locality
|
|
2186
|
+
* @description: Updates serviceability settings of a single courier scheme for a given locality - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateServiceability/).
|
|
2186
2187
|
*/
|
|
2187
2188
|
async updateServiceability(
|
|
2188
2189
|
{ extensionId, schemeId, regionId, body, requestHeaders } = {
|
|
@@ -2271,8 +2272,8 @@ class Serviceability {
|
|
|
2271
2272
|
* @returns {Promise<ServiceabilityPlatformModel.ZoneSuccessResponse>} -
|
|
2272
2273
|
* Success response
|
|
2273
2274
|
* @name updateZoneById
|
|
2274
|
-
* @summary: Update
|
|
2275
|
-
* @description:
|
|
2275
|
+
* @summary: Update a zone
|
|
2276
|
+
* @description: Update an existing delivery zone . - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateZoneById/).
|
|
2276
2277
|
*/
|
|
2277
2278
|
async updateZoneById(
|
|
2278
2279
|
{ zoneId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -529,4 +529,4 @@ type UpdateZoneByIdParam = {
|
|
|
529
529
|
};
|
|
530
530
|
type GetAllStoresParam = any;
|
|
531
531
|
type GetCompanyConfigurationParam = any;
|
|
532
|
-
import ServiceabilityPlatformModel = require("
|
|
532
|
+
import ServiceabilityPlatformModel = require("sdk/output/javascript/code/sdk/platform/Serviceability/ServiceabilityPlatformModel");
|
|
@@ -53,10 +53,10 @@ declare class Share {
|
|
|
53
53
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
54
54
|
* @returns {Promise<SharePlatformModel.ShortLinkRes>} - Success response
|
|
55
55
|
* @name updateShortLinkById
|
|
56
|
-
* @summary: Update short link
|
|
56
|
+
* @summary: Update short link
|
|
57
57
|
* @description: Update details of a specific short link by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/share/updateShortLinkById/).
|
|
58
58
|
*/
|
|
59
59
|
updateShortLinkById({ id, body, requestHeaders }?: SharePlatformApplicationValidator.UpdateShortLinkByIdParam, { responseHeaders }?: object): Promise<SharePlatformModel.ShortLinkRes>;
|
|
60
60
|
}
|
|
61
|
-
import SharePlatformApplicationValidator = require("
|
|
62
|
-
import SharePlatformModel = require("
|
|
61
|
+
import SharePlatformApplicationValidator = require("sdk/output/javascript/code/sdk/platform/Share/SharePlatformApplicationValidator");
|
|
62
|
+
import SharePlatformModel = require("sdk/output/javascript/code/sdk/platform/Share/SharePlatformModel");
|
|
@@ -366,7 +366,7 @@ class Share {
|
|
|
366
366
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
367
367
|
* @returns {Promise<SharePlatformModel.ShortLinkRes>} - Success response
|
|
368
368
|
* @name updateShortLinkById
|
|
369
|
-
* @summary: Update short link
|
|
369
|
+
* @summary: Update short link
|
|
370
370
|
* @description: Update details of a specific short link by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/share/updateShortLinkById/).
|
|
371
371
|
*/
|
|
372
372
|
async updateShortLinkById(
|
|
@@ -60,6 +60,7 @@ export = SharePlatformModel;
|
|
|
60
60
|
* @typedef UrlInfo
|
|
61
61
|
* @property {string} [original]
|
|
62
62
|
* @property {string} [hash]
|
|
63
|
+
* @property {string} [short_url]
|
|
63
64
|
*/
|
|
64
65
|
/**
|
|
65
66
|
* @typedef ShortLinkRes
|
|
@@ -197,6 +198,7 @@ declare function UrlInfo(): UrlInfo;
|
|
|
197
198
|
type UrlInfo = {
|
|
198
199
|
original?: string;
|
|
199
200
|
hash?: string;
|
|
201
|
+
short_url?: string;
|
|
200
202
|
};
|
|
201
203
|
/** @returns {ShortLinkRes} */
|
|
202
204
|
declare function ShortLinkRes(): ShortLinkRes;
|
|
@@ -70,6 +70,7 @@ const Joi = require("joi");
|
|
|
70
70
|
* @typedef UrlInfo
|
|
71
71
|
* @property {string} [original]
|
|
72
72
|
* @property {string} [hash]
|
|
73
|
+
* @property {string} [short_url]
|
|
73
74
|
*/
|
|
74
75
|
|
|
75
76
|
/**
|
|
@@ -209,6 +210,7 @@ class SharePlatformModel {
|
|
|
209
210
|
return Joi.object({
|
|
210
211
|
original: Joi.string().allow(""),
|
|
211
212
|
hash: Joi.string().allow(""),
|
|
213
|
+
short_url: Joi.string().allow(""),
|
|
212
214
|
});
|
|
213
215
|
}
|
|
214
216
|
|