@gofynd/fdk-client-javascript 1.4.15-beta.13 → 1.4.15-beta.15
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 +23 -26
- package/package.json +5 -1
- package/sdk/application/ApplicationClient.d.ts +5 -6
- package/sdk/application/ApplicationClient.js +24 -20
- package/sdk/application/Cart/CartApplicationClient.d.ts +133 -83
- package/sdk/application/Cart/CartApplicationClient.js +444 -76
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +132 -114
- package/sdk/application/Catalog/CatalogApplicationClient.js +209 -126
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +58 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +73 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +95 -66
- package/sdk/application/Content/ContentApplicationClient.js +274 -111
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -11
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -10
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
- package/sdk/application/Lead/LeadApplicationClient.js +6 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +37 -57
- package/sdk/application/Logistic/LogisticApplicationClient.js +117 -180
- package/sdk/application/Order/OrderApplicationClient.d.ts +63 -21
- package/sdk/application/Order/OrderApplicationClient.js +217 -17
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +179 -149
- package/sdk/application/Payment/PaymentApplicationClient.js +301 -167
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.js +10 -6
- package/sdk/application/User/UserApplicationClient.d.ts +103 -53
- package/sdk/application/User/UserApplicationClient.js +308 -49
- package/sdk/common/AxiosHelper.js +11 -4
- package/sdk/common/Constant.d.ts +27 -4
- package/sdk/common/Constant.js +33 -6
- package/sdk/common/utils.d.ts +10 -0
- package/sdk/common/utils.js +24 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +46 -16
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +266 -40
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +163 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +158 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +5 -2
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +23 -7
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +9 -9
- package/sdk/partner/Lead/LeadPartnerClient.js +9 -9
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +14 -9
- package/sdk/partner/Lead/LeadPartnerModel.js +19 -17
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +264 -49
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +2116 -252
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2256 -258
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +1187 -230
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +21 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +218 -13
- package/sdk/partner/PartnerClient.d.ts +5 -2
- package/sdk/partner/PartnerClient.js +21 -7
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +32 -34
- package/sdk/partner/Theme/ThemePartnerClient.js +42 -44
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +142 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +129 -44
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +83 -27
- package/sdk/partner/Webhook/WebhookPartnerClient.js +446 -27
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +920 -185
- package/sdk/partner/Webhook/WebhookPartnerModel.js +462 -154
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +5 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +41 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +8 -7
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +17 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +68 -13
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +44 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +3 -33
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -244
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +18 -18
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +266 -203
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1446 -500
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +729 -100
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +446 -82
- package/sdk/platform/Cart/CartPlatformModel.d.ts +6927 -1396
- package/sdk/platform/Cart/CartPlatformModel.js +3065 -1316
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +433 -248
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1662 -559
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +464 -159
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +304 -87
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +383 -234
- package/sdk/platform/Catalog/CatalogPlatformClient.js +2475 -1557
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9571 -2674
- package/sdk/platform/Catalog/CatalogPlatformModel.js +5081 -2019
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +364 -117
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +281 -104
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -4
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +36 -25
- package/sdk/platform/Common/CommonPlatformModel.js +25 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -153
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +102 -541
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +36 -49
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +20 -60
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +189 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +165 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +58 -81
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +68 -116
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +291 -249
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +243 -234
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +78 -65
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +101 -88
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +19 -19
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +68 -34
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +174 -41
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +667 -244
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +474 -155
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +366 -280
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1435 -753
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +323 -223
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +335 -205
- package/sdk/platform/Content/ContentPlatformClient.d.ts +304 -106
- package/sdk/platform/Content/ContentPlatformClient.js +1842 -450
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2582 -566
- package/sdk/platform/Content/ContentPlatformModel.js +1426 -558
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +293 -114
- package/sdk/platform/Content/ContentPlatformValidator.js +328 -101
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +59 -23
- package/sdk/platform/Discount/DiscountPlatformClient.js +84 -23
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +403 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +121 -107
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +12 -110
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +14 -684
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -115
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +22 -22
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +90 -920
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +53 -949
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.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 +11 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +14 -9
- package/sdk/platform/Lead/LeadPlatformModel.js +20 -18
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +56 -9
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +340 -10
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +128 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +81 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +517 -160
- package/sdk/platform/Order/OrderPlatformClient.js +1623 -384
- package/sdk/platform/Order/OrderPlatformModel.d.ts +10372 -1587
- package/sdk/platform/Order/OrderPlatformModel.js +5726 -1512
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +539 -123
- package/sdk/platform/Order/OrderPlatformValidator.js +323 -92
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +8 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +11 -9
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +3 -2
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +77 -25
- package/sdk/platform/Partner/PartnerPlatformModel.js +32 -21
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +144 -219
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +307 -796
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +86 -121
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +80 -138
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +30 -30
- package/sdk/platform/Payment/PaymentPlatformClient.js +30 -30
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +901 -761
- package/sdk/platform/Payment/PaymentPlatformModel.js +663 -583
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
- package/sdk/platform/PlatformApplicationClient.js +0 -4
- package/sdk/platform/PlatformClient.d.ts +5 -4
- package/sdk/platform/PlatformClient.js +32 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +526 -69
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +3337 -337
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +603 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +529 -32
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +184 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +780 -491
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +9408 -1666
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5720 -1765
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +257 -180
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +185 -127
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
- package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
- package/sdk/platform/Share/SharePlatformModel.d.ts +45 -9
- package/sdk/platform/Share/SharePlatformModel.js +31 -6
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -26
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +38 -29
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -3
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +10 -2
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
- package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +103 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +92 -23
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +167 -45
- package/sdk/platform/User/UserPlatformApplicationClient.js +950 -67
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +189 -3
- package/sdk/platform/User/UserPlatformApplicationValidator.js +157 -3
- package/sdk/platform/User/UserPlatformModel.d.ts +880 -47
- package/sdk/platform/User/UserPlatformModel.js +607 -46
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +33 -86
- package/sdk/platform/Webhook/WebhookPlatformClient.js +79 -474
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +861 -422
- package/sdk/platform/Webhook/WebhookPlatformModel.js +469 -391
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -2
- package/sdk/platform/index.js +0 -4
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
- package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
- package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
- package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +9 -8
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +41 -21
- package/sdk/public/Configuration/ConfigurationPublicModel.js +28 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +145 -2
- package/sdk/public/Content/ContentPublicClient.js +1067 -17
- package/sdk/public/Content/ContentPublicModel.d.ts +704 -3
- package/sdk/public/Content/ContentPublicModel.js +751 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +94 -3
- package/sdk/public/Content/ContentPublicValidator.js +119 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/PublicClient.d.ts +5 -2
- package/sdk/public/PublicClient.js +16 -6
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -13
- package/sdk/public/Webhook/WebhookPublicClient.js +13 -13
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +249 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +81 -61
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/utility.d.ts +3 -0
- package/utility.js +7 -0
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
- package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +0 -19
- package/sdk/application/Webhook/WebhookApplicationClient.js +0 -72
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -382
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -408
|
@@ -12,30 +12,30 @@ declare class FileStorage {
|
|
|
12
12
|
/**
|
|
13
13
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
14
14
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
15
|
-
* @returns {Promise<
|
|
15
|
+
* @returns {Promise<FileUploadComplete>} - Success response
|
|
16
16
|
* @name completeUpload
|
|
17
|
-
* @summary:
|
|
18
|
-
* @description: Complete the file upload and store the file details such as name, size, content type, and namespace to maintain integrity within the system's database. - Check out [method documentation](https://
|
|
17
|
+
* @summary: Finalizes upload process.
|
|
18
|
+
* @description: Complete the file upload and store the file details such as name, size, content type, and namespace to maintain integrity within the system's database. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/filestorage/completeUpload/).
|
|
19
19
|
*/
|
|
20
|
-
completeUpload({ namespace, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<
|
|
20
|
+
completeUpload({ namespace, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<FileUploadComplete>;
|
|
21
21
|
/**
|
|
22
22
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
23
23
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
24
|
-
* @returns {Promise<
|
|
24
|
+
* @returns {Promise<SignUrlResult>} - Success response
|
|
25
25
|
* @name signUrls
|
|
26
|
-
* @summary:
|
|
27
|
-
* @description: Generates secure, signed URLs that is valid for certain expiry time for accessing stored files. - Check out [method documentation](https://
|
|
26
|
+
* @summary: Signs file URLs.
|
|
27
|
+
* @description: Generates secure, signed URLs that is valid for certain expiry time for accessing stored files. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/filestorage/signUrls/).
|
|
28
28
|
*/
|
|
29
|
-
signUrls({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
29
|
+
signUrls({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SignUrlResult>;
|
|
30
30
|
/**
|
|
31
31
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
32
32
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
33
|
-
* @returns {Promise<
|
|
33
|
+
* @returns {Promise<FileUpload>} - Success response
|
|
34
34
|
* @name startUpload
|
|
35
35
|
* @summary: Initiates file upload
|
|
36
|
-
* @description: Starts the process of uploading a file to storage location, and returns a signed url in response. - Check out [method documentation](https://
|
|
36
|
+
* @description: Starts the process of uploading a file to storage location, and returns a signed url in response. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/filestorage/startUpload/).
|
|
37
37
|
*/
|
|
38
|
-
startUpload({ namespace, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<
|
|
38
|
+
startUpload({ namespace, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<FileUpload>;
|
|
39
39
|
/**
|
|
40
40
|
* @param data
|
|
41
41
|
* @param {string} file_name
|
|
@@ -15,10 +15,10 @@ class FileStorage {
|
|
|
15
15
|
this._conf = _conf;
|
|
16
16
|
this._relativeUrls = {
|
|
17
17
|
completeUpload:
|
|
18
|
-
"/service/application/assets/
|
|
18
|
+
"/service/application/assets/v2.0/namespaces/{namespace}/upload/complete",
|
|
19
19
|
signUrls: "/service/application/assets/v1.0/sign-urls",
|
|
20
20
|
startUpload:
|
|
21
|
-
"/service/application/assets/
|
|
21
|
+
"/service/application/assets/v2.0/namespaces/{namespace}/upload/start",
|
|
22
22
|
};
|
|
23
23
|
this._urls = Object.entries(this._relativeUrls).reduce(
|
|
24
24
|
(urls, [method, relativeUrl]) => {
|
|
@@ -39,10 +39,10 @@ class FileStorage {
|
|
|
39
39
|
/**
|
|
40
40
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
41
41
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
42
|
-
* @returns {Promise<
|
|
42
|
+
* @returns {Promise<FileUploadComplete>} - Success response
|
|
43
43
|
* @name completeUpload
|
|
44
|
-
* @summary:
|
|
45
|
-
* @description: Complete the file upload and store the file details such as name, size, content type, and namespace to maintain integrity within the system's database. - Check out [method documentation](https://
|
|
44
|
+
* @summary: Finalizes upload process.
|
|
45
|
+
* @description: Complete the file upload and store the file details such as name, size, content type, and namespace to maintain integrity within the system's database. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/filestorage/completeUpload/).
|
|
46
46
|
*/
|
|
47
47
|
async completeUpload(
|
|
48
48
|
{ namespace, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -85,10 +85,10 @@ class FileStorage {
|
|
|
85
85
|
/**
|
|
86
86
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
87
87
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
88
|
-
* @returns {Promise<
|
|
88
|
+
* @returns {Promise<SignUrlResult>} - Success response
|
|
89
89
|
* @name signUrls
|
|
90
|
-
* @summary:
|
|
91
|
-
* @description: Generates secure, signed URLs that is valid for certain expiry time for accessing stored files. - Check out [method documentation](https://
|
|
90
|
+
* @summary: Signs file URLs.
|
|
91
|
+
* @description: Generates secure, signed URLs that is valid for certain expiry time for accessing stored files. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/filestorage/signUrls/).
|
|
92
92
|
*/
|
|
93
93
|
async signUrls(
|
|
94
94
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -122,10 +122,10 @@ class FileStorage {
|
|
|
122
122
|
/**
|
|
123
123
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
124
124
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
125
|
-
* @returns {Promise<
|
|
125
|
+
* @returns {Promise<FileUpload>} - Success response
|
|
126
126
|
* @name startUpload
|
|
127
127
|
* @summary: Initiates file upload
|
|
128
|
-
* @description: Starts the process of uploading a file to storage location, and returns a signed url in response. - Check out [method documentation](https://
|
|
128
|
+
* @description: Starts the process of uploading a file to storage location, and returns a signed url in response. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/filestorage/startUpload/).
|
|
129
129
|
*/
|
|
130
130
|
async startUpload(
|
|
131
131
|
{ namespace, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export = Finance;
|
|
2
|
+
declare class Finance {
|
|
3
|
+
constructor(_conf: any);
|
|
4
|
+
_conf: any;
|
|
5
|
+
_relativeUrls: {
|
|
6
|
+
customerCreditBalance: string;
|
|
7
|
+
lockUnlockCreditNote: string;
|
|
8
|
+
};
|
|
9
|
+
_urls: {};
|
|
10
|
+
updateUrls(urls: any): void;
|
|
11
|
+
/**
|
|
12
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
13
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
14
|
+
* @returns {Promise<CustomerCreditBalanceResponseSchema>} - Success response
|
|
15
|
+
* @name customerCreditBalance
|
|
16
|
+
* @summary: This API will provide customer's credit balance against phone number or email and seller*affiliate id
|
|
17
|
+
* @description: This API will provide customer's credit balance against phone number or email and seller*affiliate id - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/finance/customerCreditBalance/).
|
|
18
|
+
*/
|
|
19
|
+
customerCreditBalance({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomerCreditBalanceResponseSchema>;
|
|
20
|
+
/**
|
|
21
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
22
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
23
|
+
* @returns {Promise<LockUnlockResponseSchema>} - Success response
|
|
24
|
+
* @name lockUnlockCreditNote
|
|
25
|
+
* @summary: Lock or Unlock requested credit note.
|
|
26
|
+
* @description: Used to lock or unlock requested credit note. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/finance/lockUnlockCreditNote/).
|
|
27
|
+
*/
|
|
28
|
+
lockUnlockCreditNote({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<LockUnlockResponseSchema>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
const {
|
|
2
|
+
FDKClientValidationError,
|
|
3
|
+
FDKResponseValidationError,
|
|
4
|
+
} = require("../../common/FDKError");
|
|
5
|
+
|
|
6
|
+
const ApplicationAPIClient = require("../ApplicationAPIClient");
|
|
7
|
+
const constructUrl = require("../constructUrl");
|
|
8
|
+
const Paginator = require("../../common/Paginator");
|
|
9
|
+
const { validateRequiredParams } = require("../../common/Validator");
|
|
10
|
+
|
|
11
|
+
class Finance {
|
|
12
|
+
constructor(_conf) {
|
|
13
|
+
this._conf = _conf;
|
|
14
|
+
this._relativeUrls = {
|
|
15
|
+
customerCreditBalance:
|
|
16
|
+
"/service/application/finance/v1.0/customer-credit-balance",
|
|
17
|
+
lockUnlockCreditNote:
|
|
18
|
+
"/service/application/finance/v1.0/lock-unlock-credit-note",
|
|
19
|
+
};
|
|
20
|
+
this._urls = Object.entries(this._relativeUrls).reduce(
|
|
21
|
+
(urls, [method, relativeUrl]) => {
|
|
22
|
+
urls[method] = `${_conf.domain}${relativeUrl}`;
|
|
23
|
+
return urls;
|
|
24
|
+
},
|
|
25
|
+
{}
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
updateUrls(urls) {
|
|
30
|
+
this._urls = {
|
|
31
|
+
...this._urls,
|
|
32
|
+
...urls,
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
38
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
39
|
+
* @returns {Promise<CustomerCreditBalanceResponseSchema>} - Success response
|
|
40
|
+
* @name customerCreditBalance
|
|
41
|
+
* @summary: This API will provide customer's credit balance against phone number or email and seller*affiliate id
|
|
42
|
+
* @description: This API will provide customer's credit balance against phone number or email and seller*affiliate id - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/finance/customerCreditBalance/).
|
|
43
|
+
*/
|
|
44
|
+
async customerCreditBalance(
|
|
45
|
+
{ body, requestHeaders } = { requestHeaders: {} },
|
|
46
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
47
|
+
) {
|
|
48
|
+
const query_params = {};
|
|
49
|
+
|
|
50
|
+
const xHeaders = {};
|
|
51
|
+
|
|
52
|
+
const response = await ApplicationAPIClient.execute(
|
|
53
|
+
this._conf,
|
|
54
|
+
"post",
|
|
55
|
+
constructUrl({
|
|
56
|
+
url: this._urls["customerCreditBalance"],
|
|
57
|
+
params: {},
|
|
58
|
+
}),
|
|
59
|
+
query_params,
|
|
60
|
+
body,
|
|
61
|
+
{ ...xHeaders, ...requestHeaders },
|
|
62
|
+
{ responseHeaders }
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
let responseData = response;
|
|
66
|
+
if (responseHeaders) {
|
|
67
|
+
responseData = response[0];
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
return response;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
75
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
76
|
+
* @returns {Promise<LockUnlockResponseSchema>} - Success response
|
|
77
|
+
* @name lockUnlockCreditNote
|
|
78
|
+
* @summary: Lock or Unlock requested credit note.
|
|
79
|
+
* @description: Used to lock or unlock requested credit note. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/finance/lockUnlockCreditNote/).
|
|
80
|
+
*/
|
|
81
|
+
async lockUnlockCreditNote(
|
|
82
|
+
{ body, requestHeaders } = { requestHeaders: {} },
|
|
83
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
84
|
+
) {
|
|
85
|
+
const query_params = {};
|
|
86
|
+
|
|
87
|
+
const xHeaders = {};
|
|
88
|
+
|
|
89
|
+
const response = await ApplicationAPIClient.execute(
|
|
90
|
+
this._conf,
|
|
91
|
+
"post",
|
|
92
|
+
constructUrl({
|
|
93
|
+
url: this._urls["lockUnlockCreditNote"],
|
|
94
|
+
params: {},
|
|
95
|
+
}),
|
|
96
|
+
query_params,
|
|
97
|
+
body,
|
|
98
|
+
{ ...xHeaders, ...requestHeaders },
|
|
99
|
+
{ responseHeaders }
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
let responseData = response;
|
|
103
|
+
if (responseHeaders) {
|
|
104
|
+
responseData = response[0];
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
return response;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
module.exports = Finance;
|
|
@@ -17,7 +17,7 @@ declare class Lead {
|
|
|
17
17
|
* @returns {Promise<TicketHistory>} - Success response
|
|
18
18
|
* @name createHistory
|
|
19
19
|
* @summary: Log ticket history
|
|
20
|
-
* @description: Create a history entry for a specific support ticket. - Check out [method documentation](https://
|
|
20
|
+
* @description: Create a history entry for a specific support ticket. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/lead/createHistory/).
|
|
21
21
|
*/
|
|
22
22
|
createHistory({ id, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<TicketHistory>;
|
|
23
23
|
/**
|
|
@@ -26,7 +26,7 @@ declare class Lead {
|
|
|
26
26
|
* @returns {Promise<Ticket>} - Success response
|
|
27
27
|
* @name createTicket
|
|
28
28
|
* @summary: Creates a ticket
|
|
29
|
-
* @description: Create a new customer support ticket for a user query. - Check out [method documentation](https://
|
|
29
|
+
* @description: Create a new customer support ticket for a user query. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/lead/createTicket/).
|
|
30
30
|
*/
|
|
31
31
|
createTicket({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<Ticket>;
|
|
32
32
|
/**
|
|
@@ -35,7 +35,7 @@ declare class Lead {
|
|
|
35
35
|
* @returns {Promise<CustomForm>} - Success response
|
|
36
36
|
* @name getCustomForm
|
|
37
37
|
* @summary: Get custom form
|
|
38
|
-
* @description: Get a customizable form template for data collection. - Check out [method documentation](https://
|
|
38
|
+
* @description: Get a customizable form template for data collection. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/lead/getCustomForm/).
|
|
39
39
|
*/
|
|
40
40
|
getCustomForm({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CustomForm>;
|
|
41
41
|
/**
|
|
@@ -44,16 +44,16 @@ declare class Lead {
|
|
|
44
44
|
* @returns {Promise<Ticket>} - Success response
|
|
45
45
|
* @name getTicket
|
|
46
46
|
* @summary: Get a support ticket
|
|
47
|
-
* @description: Get details of a specific customer support ticket. - Check out [method documentation](https://
|
|
47
|
+
* @description: Get details of a specific customer support ticket. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/lead/getTicket/).
|
|
48
48
|
*/
|
|
49
49
|
getTicket({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<Ticket>;
|
|
50
50
|
/**
|
|
51
51
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
52
52
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
53
|
-
* @returns {Promise<
|
|
53
|
+
* @returns {Promise<SubmitCustomFormDetails>} - Success response
|
|
54
54
|
* @name submitCustomForm
|
|
55
55
|
* @summary: Submits form data
|
|
56
|
-
* @description: Create user-entered data from a custom form for processing. - Check out [method documentation](https://
|
|
56
|
+
* @description: Create user-entered data from a custom form for processing. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/lead/submitCustomForm/).
|
|
57
57
|
*/
|
|
58
|
-
submitCustomForm({ slug, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<
|
|
58
|
+
submitCustomForm({ slug, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<SubmitCustomFormDetails>;
|
|
59
59
|
}
|
|
@@ -40,7 +40,7 @@ class Lead {
|
|
|
40
40
|
* @returns {Promise<TicketHistory>} - Success response
|
|
41
41
|
* @name createHistory
|
|
42
42
|
* @summary: Log ticket history
|
|
43
|
-
* @description: Create a history entry for a specific support ticket. - Check out [method documentation](https://
|
|
43
|
+
* @description: Create a history entry for a specific support ticket. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/lead/createHistory/).
|
|
44
44
|
*/
|
|
45
45
|
async createHistory(
|
|
46
46
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -86,7 +86,7 @@ class Lead {
|
|
|
86
86
|
* @returns {Promise<Ticket>} - Success response
|
|
87
87
|
* @name createTicket
|
|
88
88
|
* @summary: Creates a ticket
|
|
89
|
-
* @description: Create a new customer support ticket for a user query. - Check out [method documentation](https://
|
|
89
|
+
* @description: Create a new customer support ticket for a user query. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/lead/createTicket/).
|
|
90
90
|
*/
|
|
91
91
|
async createTicket(
|
|
92
92
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -123,7 +123,7 @@ class Lead {
|
|
|
123
123
|
* @returns {Promise<CustomForm>} - Success response
|
|
124
124
|
* @name getCustomForm
|
|
125
125
|
* @summary: Get custom form
|
|
126
|
-
* @description: Get a customizable form template for data collection. - Check out [method documentation](https://
|
|
126
|
+
* @description: Get a customizable form template for data collection. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/lead/getCustomForm/).
|
|
127
127
|
*/
|
|
128
128
|
async getCustomForm(
|
|
129
129
|
{ slug, requestHeaders } = { requestHeaders: {} },
|
|
@@ -169,7 +169,7 @@ class Lead {
|
|
|
169
169
|
* @returns {Promise<Ticket>} - Success response
|
|
170
170
|
* @name getTicket
|
|
171
171
|
* @summary: Get a support ticket
|
|
172
|
-
* @description: Get details of a specific customer support ticket. - Check out [method documentation](https://
|
|
172
|
+
* @description: Get details of a specific customer support ticket. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/lead/getTicket/).
|
|
173
173
|
*/
|
|
174
174
|
async getTicket(
|
|
175
175
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -212,10 +212,10 @@ class Lead {
|
|
|
212
212
|
/**
|
|
213
213
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
214
214
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
215
|
-
* @returns {Promise<
|
|
215
|
+
* @returns {Promise<SubmitCustomFormDetails>} - Success response
|
|
216
216
|
* @name submitCustomForm
|
|
217
217
|
* @summary: Submits form data
|
|
218
|
-
* @description: Create user-entered data from a custom form for processing. - Check out [method documentation](https://
|
|
218
|
+
* @description: Create user-entered data from a custom form for processing. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/lead/submitCustomForm/).
|
|
219
219
|
*/
|
|
220
220
|
async submitCustomForm(
|
|
221
221
|
{ slug, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6,13 +6,11 @@ declare class Logistic {
|
|
|
6
6
|
getAllCountries: string;
|
|
7
7
|
getCountries: string;
|
|
8
8
|
getCountry: string;
|
|
9
|
+
getDeliveryPromise: string;
|
|
10
|
+
getFulfillmentOptionStores: string;
|
|
11
|
+
getFulfillmentOptions: string;
|
|
9
12
|
getLocalities: string;
|
|
10
13
|
getLocality: string;
|
|
11
|
-
getLocations: string;
|
|
12
|
-
getOptimalLocations: string;
|
|
13
|
-
getPincodeCity: string;
|
|
14
|
-
getPincodeZones: string;
|
|
15
|
-
getTatProduct: string;
|
|
16
14
|
validateAddress: string;
|
|
17
15
|
};
|
|
18
16
|
_urls: {};
|
|
@@ -20,100 +18,82 @@ declare class Logistic {
|
|
|
20
18
|
/**
|
|
21
19
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
22
20
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
23
|
-
* @returns {Promise<
|
|
21
|
+
* @returns {Promise<CountryResult>} - Success response
|
|
24
22
|
* @name getAllCountries
|
|
25
23
|
* @summary: Get deliverable countries
|
|
26
|
-
* @description: Get a list of countries within the specified delivery zones for that application. - Check out [method documentation](https://
|
|
24
|
+
* @description: Get a list of countries within the specified delivery zones for that application. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getAllCountries/).
|
|
27
25
|
*/
|
|
28
|
-
getAllCountries({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
26
|
+
getAllCountries({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CountryResult>;
|
|
29
27
|
/**
|
|
30
28
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
31
29
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
32
30
|
* @returns {Promise<GetCountries>} - Success response
|
|
33
31
|
* @name getCountries
|
|
34
32
|
* @summary: Get countries
|
|
35
|
-
* @description: List of supported countries. - Check out [method documentation](https://
|
|
33
|
+
* @description: List of supported countries. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getCountries/).
|
|
36
34
|
*/
|
|
37
|
-
getCountries({ onboarding, pageNo, pageSize, q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetCountries>;
|
|
35
|
+
getCountries({ onboarding, pageNo, pageSize, q, hierarchy, phoneCode, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetCountries>;
|
|
38
36
|
/**
|
|
39
37
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
40
38
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
41
39
|
* @returns {Promise<GetCountry>} - Success response
|
|
42
40
|
* @name getCountry
|
|
43
41
|
* @summary: Get country details
|
|
44
|
-
* @description: Get details about a particular country and its address format customized for different business scenarios. - Check out [method documentation](https://
|
|
42
|
+
* @description: Get details about a particular country and its address format customized for different business scenarios. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getCountry/).
|
|
45
43
|
*/
|
|
46
44
|
getCountry({ countryIsoCode, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<GetCountry>;
|
|
47
45
|
/**
|
|
48
46
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
49
47
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
50
|
-
* @returns {Promise<
|
|
51
|
-
* @name
|
|
52
|
-
* @summary: Get
|
|
53
|
-
* @description:
|
|
54
|
-
*/
|
|
55
|
-
getLocalities({ localityType, country, state, city, pageNo, pageSize, q, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<GetLocalities>;
|
|
56
|
-
/**
|
|
57
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
58
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
59
|
-
* @returns {Promise<GetLocality>} - Success response
|
|
60
|
-
* @name getLocality
|
|
61
|
-
* @summary: Get locality detail
|
|
62
|
-
* @description: Get detailed geographical data for a specific locality, such as a pincode. For example, for a pincode value of 400603, the service returns its parent locations, including city, state, and country details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocality/).
|
|
48
|
+
* @returns {Promise<GetPromiseDetails>} - Success response
|
|
49
|
+
* @name getDeliveryPromise
|
|
50
|
+
* @summary: Get delivery promise
|
|
51
|
+
* @description: Delivery Promise Configurations involve estimating and communicating the anticipated delivery date or time to customers, taking into account parameters like store processing time, delivery partner time to delivery, and buffer time. This helps establish precise delivery expectations based on both the delivery partner's capabilities and the store's operations. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getDeliveryPromise/).
|
|
63
52
|
*/
|
|
64
|
-
|
|
53
|
+
getDeliveryPromise({ xLocationDetail, pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetPromiseDetails>;
|
|
65
54
|
/**
|
|
66
55
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
67
56
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
68
|
-
* @returns {Promise<
|
|
69
|
-
* @name
|
|
70
|
-
* @summary: Get
|
|
71
|
-
* @description:
|
|
57
|
+
* @returns {Promise<FulfillmentOptionStores>} - Success response
|
|
58
|
+
* @name getFulfillmentOptionStores
|
|
59
|
+
* @summary: Get Fulfillment Option Stores
|
|
60
|
+
* @description: Fetches a paginated list of stores associated with a given fulfillment option slug. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getFulfillmentOptionStores/).
|
|
72
61
|
*/
|
|
73
|
-
|
|
62
|
+
getFulfillmentOptionStores({ slug, pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<FulfillmentOptionStores>;
|
|
74
63
|
/**
|
|
75
64
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
76
65
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
77
|
-
* @returns {Promise<
|
|
78
|
-
* @name
|
|
79
|
-
* @summary: Get
|
|
80
|
-
* @description:
|
|
66
|
+
* @returns {Promise<FulfillmentOptionsList>} - Success response
|
|
67
|
+
* @name getFulfillmentOptions
|
|
68
|
+
* @summary: Get fulfillment options
|
|
69
|
+
* @description: Fetches available fulfillment options. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getFulfillmentOptions/).
|
|
81
70
|
*/
|
|
82
|
-
|
|
71
|
+
getFulfillmentOptions({ xApplicationData, productSlug, storeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<FulfillmentOptionsList>;
|
|
83
72
|
/**
|
|
84
73
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
85
74
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
86
|
-
* @returns {Promise<
|
|
87
|
-
* @name
|
|
88
|
-
* @summary: Get
|
|
89
|
-
* @description: Get
|
|
90
|
-
*/
|
|
91
|
-
getPincodeCity({ pincode, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<PincodeApiResponse>;
|
|
92
|
-
/**
|
|
93
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
94
|
-
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
95
|
-
* @returns {Promise<GetZoneFromPincodeViewResponse>} - Success response
|
|
96
|
-
* @name getPincodeZones
|
|
97
|
-
* @summary: Get zones
|
|
98
|
-
* @description: Get the delivery zone associated with a given pincode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeZones/).
|
|
75
|
+
* @returns {Promise<GetLocalitiesApp>} - Success response
|
|
76
|
+
* @name getLocalities
|
|
77
|
+
* @summary: Get Localities
|
|
78
|
+
* @description: Get Localities data. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getLocalities/).
|
|
99
79
|
*/
|
|
100
|
-
|
|
80
|
+
getLocalities({ localityType, country, state, city, pageNo, pageSize, q, sector, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<GetLocalitiesApp>;
|
|
101
81
|
/**
|
|
102
82
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
103
83
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
104
|
-
* @returns {Promise<
|
|
105
|
-
* @name
|
|
106
|
-
* @summary: Get
|
|
107
|
-
* @description: Get
|
|
84
|
+
* @returns {Promise<GetLocalityApp>} - Success response
|
|
85
|
+
* @name getLocality
|
|
86
|
+
* @summary: Get Locality API
|
|
87
|
+
* @description: Get detailed geographical data for a specific locality, such as a pincode. For example, for a pincode value of 400603, the service returns its parent locations, including city, state, and country details. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/getLocality/).
|
|
108
88
|
*/
|
|
109
|
-
|
|
89
|
+
getLocality({ localityType, localityValue, country, state, city, sector, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<GetLocalityApp>;
|
|
110
90
|
/**
|
|
111
91
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
112
92
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
113
|
-
* @returns {Promise<
|
|
93
|
+
* @returns {Promise<ValidateAddressDetails>} - Success response
|
|
114
94
|
* @name validateAddress
|
|
115
95
|
* @summary: Validate address
|
|
116
|
-
* @description: Validate addresses using specific templates customized for each country and tailored to various business scenarios. This validation ensures that the data conforms to the information currently stored in the system. - Check out [method documentation](https://
|
|
96
|
+
* @description: Validate addresses using specific templates customized for each country and tailored to various business scenarios. This validation ensures that the data conforms to the information currently stored in the system. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/logistic/validateAddress/).
|
|
117
97
|
*/
|
|
118
|
-
validateAddress({ countryIsoCode, templateName, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<
|
|
98
|
+
validateAddress({ countryIsoCode, templateName, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ValidateAddressDetails>;
|
|
119
99
|
}
|