@gofynd/fdk-client-javascript 1.2.0 → 1.3.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 +44 -7
- package/package.json +1 -2
- package/sdk/application/ApplicationAPIClient.d.ts +3 -3
- package/sdk/application/ApplicationAPIClient.js +6 -4
- package/sdk/application/ApplicationClient.d.ts +2 -3
- package/sdk/application/ApplicationClient.js +1 -45
- package/sdk/application/ApplicationConfig.d.ts +46 -6
- package/sdk/application/ApplicationConfig.js +15 -16
- package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
- package/sdk/application/Cart/CartApplicationClient.js +225 -134
- package/sdk/application/Cart/CartApplicationModel.d.ts +4 -4
- package/sdk/application/Cart/CartApplicationModel.js +4 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
- package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
- package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
- package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
- package/sdk/application/Common/CommonApplicationClient.js +13 -11
- package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
- package/sdk/application/Common/CommonApplicationModel.js +2 -58
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
- package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
- package/sdk/application/Content/ContentApplicationClient.js +159 -80
- package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
- package/sdk/application/Content/ContentApplicationModel.js +11 -763
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
- package/sdk/application/Lead/LeadApplicationClient.js +50 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
- package/sdk/application/Lead/LeadApplicationModel.js +21 -481
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
- package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
- package/sdk/application/Order/OrderApplicationClient.js +88 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
- package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
- package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
- package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
- package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
- package/sdk/application/Share/ShareApplicationClient.js +51 -31
- package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
- package/sdk/application/Share/ShareApplicationModel.js +0 -38
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
- package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
- package/sdk/application/User/UserApplicationClient.d.ts +74 -35
- package/sdk/application/User/UserApplicationClient.js +252 -161
- package/sdk/application/User/UserApplicationModel.d.ts +3 -401
- package/sdk/application/User/UserApplicationModel.js +2 -490
- package/sdk/common/AxiosHelper.js +1 -2
- package/sdk/common/FDKError.d.ts +3 -0
- package/sdk/common/FDKError.js +8 -0
- package/sdk/common/utils.d.ts +3 -0
- package/sdk/common/utils.js +29 -0
- package/sdk/partner/PartnerAPIClient.d.ts +5 -4
- package/sdk/partner/PartnerAPIClient.js +7 -4
- package/sdk/partner/PartnerClient.d.ts +2 -0
- package/sdk/partner/PartnerClient.js +3 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
- package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
- package/sdk/partner/index.d.ts +3 -1
- package/sdk/partner/index.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
- package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
- package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
- package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
- package/sdk/platform/Cart/CartPlatformModel.js +104 -54
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
- package/sdk/platform/Common/CommonPlatformClient.js +13 -11
- package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
- package/sdk/platform/Common/CommonPlatformModel.js +23 -57
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
- package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
- package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
- package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
- package/sdk/platform/Content/ContentPlatformModel.js +8 -231
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
- package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
- package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
- package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
- package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
- package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
- package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
- package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
- package/sdk/platform/OAuthClient.js +6 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
- package/sdk/platform/Order/OrderPlatformClient.js +738 -205
- package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
- package/sdk/platform/Order/OrderPlatformModel.js +225 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
- package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
- package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
- package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
- package/sdk/platform/PlatformAPIClient.d.ts +3 -3
- package/sdk/platform/PlatformAPIClient.js +2 -2
- package/sdk/platform/PlatformClient.d.ts +2 -2
- package/sdk/platform/PlatformClient.js +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
- package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
- package/sdk/platform/Share/SharePlatformModel.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
- package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
- package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
- package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
- package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
- package/sdk/platform/User/UserPlatformModel.js +3 -899
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
- package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
- package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +96 -9
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +117 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
- package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
- package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
- package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
- package/sdk/public/Partner/PartnerPublicClient.js +110 -0
- package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
- package/sdk/public/Partner/PartnerPublicModel.js +280 -0
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
- package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
- package/sdk/public/PublicAPIClient.d.ts +14 -1
- package/sdk/public/PublicAPIClient.js +7 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
- package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/application/ApplicationModels.d.ts +0 -48
- package/sdk/application/ApplicationModels.js +0 -38
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
- package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
- package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
|
@@ -12,15 +12,18 @@ declare class Logistic {
|
|
|
12
12
|
_urls: {};
|
|
13
13
|
updateUrls(urls: any): void;
|
|
14
14
|
/**
|
|
15
|
+
* @param {LogisticApplicationValidator.GetAllCountriesParam} arg - Arg object.
|
|
16
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
15
17
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
16
18
|
* @returns {Promise<LogisticApplicationModel.CountryListResponse>} - Success response
|
|
17
19
|
* @name getAllCountries
|
|
18
20
|
* @summary: Get Country List
|
|
19
21
|
* @description: Get all countries - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getAllCountries/).
|
|
20
22
|
*/
|
|
21
|
-
getAllCountries({
|
|
23
|
+
getAllCountries({ requestHeaders }?: any, { responseHeaders }?: object): Promise<LogisticApplicationModel.CountryListResponse>;
|
|
22
24
|
/**
|
|
23
25
|
* @param {LogisticApplicationValidator.GetOptimalLocationsParam} arg - Arg object.
|
|
26
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
24
27
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
25
28
|
* @returns {Promise<LogisticApplicationModel.ReAssignStoreResponse>} -
|
|
26
29
|
* Success response
|
|
@@ -28,18 +31,20 @@ declare class Logistic {
|
|
|
28
31
|
* @summary: GET zone from the Pincode.
|
|
29
32
|
* @description: This API returns zone from the Pincode View. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getOptimalLocations/).
|
|
30
33
|
*/
|
|
31
|
-
getOptimalLocations({ body }?: LogisticApplicationValidator.GetOptimalLocationsParam, {
|
|
34
|
+
getOptimalLocations({ body, requestHeaders }?: LogisticApplicationValidator.GetOptimalLocationsParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.ReAssignStoreResponse>;
|
|
32
35
|
/**
|
|
33
36
|
* @param {LogisticApplicationValidator.GetPincodeCityParam} arg - Arg object.
|
|
37
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
34
38
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
35
39
|
* @returns {Promise<LogisticApplicationModel.PincodeApiResponse>} - Success response
|
|
36
40
|
* @name getPincodeCity
|
|
37
41
|
* @summary: Get Pincode API
|
|
38
42
|
* @description: Get pincode data - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeCity/).
|
|
39
43
|
*/
|
|
40
|
-
getPincodeCity({ pincode }?: LogisticApplicationValidator.GetPincodeCityParam, {
|
|
44
|
+
getPincodeCity({ pincode, requestHeaders }?: LogisticApplicationValidator.GetPincodeCityParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.PincodeApiResponse>;
|
|
41
45
|
/**
|
|
42
46
|
* @param {LogisticApplicationValidator.GetPincodeZonesParam} arg - Arg object.
|
|
47
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
43
48
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
44
49
|
* @returns {Promise<LogisticApplicationModel.GetZoneFromPincodeViewResponse>}
|
|
45
50
|
* - Success response
|
|
@@ -48,16 +53,17 @@ declare class Logistic {
|
|
|
48
53
|
* @summary: GET zone from the Pincode.
|
|
49
54
|
* @description: This API returns zone from the Pincode View. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeZones/).
|
|
50
55
|
*/
|
|
51
|
-
getPincodeZones({ body }?: LogisticApplicationValidator.GetPincodeZonesParam, {
|
|
56
|
+
getPincodeZones({ body, requestHeaders }?: LogisticApplicationValidator.GetPincodeZonesParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.GetZoneFromPincodeViewResponse>;
|
|
52
57
|
/**
|
|
53
58
|
* @param {LogisticApplicationValidator.GetTatProductParam} arg - Arg object.
|
|
59
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
54
60
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
55
61
|
* @returns {Promise<LogisticApplicationModel.TATViewResponse>} - Success response
|
|
56
62
|
* @name getTatProduct
|
|
57
63
|
* @summary: Get TAT API
|
|
58
64
|
* @description: Get TAT data - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getTatProduct/).
|
|
59
65
|
*/
|
|
60
|
-
getTatProduct({ body }?: LogisticApplicationValidator.GetTatProductParam, {
|
|
66
|
+
getTatProduct({ body, requestHeaders }?: LogisticApplicationValidator.GetTatProductParam, { responseHeaders }?: object): Promise<LogisticApplicationModel.TATViewResponse>;
|
|
61
67
|
}
|
|
62
68
|
import LogisticApplicationModel = require("./LogisticApplicationModel");
|
|
63
69
|
import LogisticApplicationValidator = require("./LogisticApplicationValidator");
|
|
@@ -35,13 +35,18 @@ class Logistic {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
+
* @param {LogisticApplicationValidator.GetAllCountriesParam} arg - Arg object.
|
|
39
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
38
40
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
39
41
|
* @returns {Promise<LogisticApplicationModel.CountryListResponse>} - Success response
|
|
40
42
|
* @name getAllCountries
|
|
41
43
|
* @summary: Get Country List
|
|
42
44
|
* @description: Get all countries - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getAllCountries/).
|
|
43
45
|
*/
|
|
44
|
-
async getAllCountries(
|
|
46
|
+
async getAllCountries(
|
|
47
|
+
{ requestHeaders } = { requestHeaders: {} },
|
|
48
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
49
|
+
) {
|
|
45
50
|
const { error } = LogisticApplicationValidator.getAllCountries().validate(
|
|
46
51
|
{},
|
|
47
52
|
{ abortEarly: false, allowUnknown: true }
|
|
@@ -77,12 +82,12 @@ class Logistic {
|
|
|
77
82
|
}),
|
|
78
83
|
query_params,
|
|
79
84
|
undefined,
|
|
80
|
-
xHeaders,
|
|
81
|
-
{
|
|
85
|
+
{ ...xHeaders, ...requestHeaders },
|
|
86
|
+
{ responseHeaders }
|
|
82
87
|
);
|
|
83
88
|
|
|
84
89
|
let responseData = response;
|
|
85
|
-
if (
|
|
90
|
+
if (responseHeaders) {
|
|
86
91
|
responseData = response[0];
|
|
87
92
|
}
|
|
88
93
|
|
|
@@ -105,6 +110,7 @@ class Logistic {
|
|
|
105
110
|
|
|
106
111
|
/**
|
|
107
112
|
* @param {LogisticApplicationValidator.GetOptimalLocationsParam} arg - Arg object.
|
|
113
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
108
114
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
109
115
|
* @returns {Promise<LogisticApplicationModel.ReAssignStoreResponse>} -
|
|
110
116
|
* Success response
|
|
@@ -112,7 +118,10 @@ class Logistic {
|
|
|
112
118
|
* @summary: GET zone from the Pincode.
|
|
113
119
|
* @description: This API returns zone from the Pincode View. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getOptimalLocations/).
|
|
114
120
|
*/
|
|
115
|
-
async getOptimalLocations(
|
|
121
|
+
async getOptimalLocations(
|
|
122
|
+
{ body, requestHeaders } = { requestHeaders: {} },
|
|
123
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
124
|
+
) {
|
|
116
125
|
const {
|
|
117
126
|
error,
|
|
118
127
|
} = LogisticApplicationValidator.getOptimalLocations().validate(
|
|
@@ -150,12 +159,12 @@ class Logistic {
|
|
|
150
159
|
}),
|
|
151
160
|
query_params,
|
|
152
161
|
body,
|
|
153
|
-
xHeaders,
|
|
154
|
-
{
|
|
162
|
+
{ ...xHeaders, ...requestHeaders },
|
|
163
|
+
{ responseHeaders }
|
|
155
164
|
);
|
|
156
165
|
|
|
157
166
|
let responseData = response;
|
|
158
|
-
if (
|
|
167
|
+
if (responseHeaders) {
|
|
159
168
|
responseData = response[0];
|
|
160
169
|
}
|
|
161
170
|
|
|
@@ -178,13 +187,17 @@ class Logistic {
|
|
|
178
187
|
|
|
179
188
|
/**
|
|
180
189
|
* @param {LogisticApplicationValidator.GetPincodeCityParam} arg - Arg object.
|
|
190
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
181
191
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
182
192
|
* @returns {Promise<LogisticApplicationModel.PincodeApiResponse>} - Success response
|
|
183
193
|
* @name getPincodeCity
|
|
184
194
|
* @summary: Get Pincode API
|
|
185
195
|
* @description: Get pincode data - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeCity/).
|
|
186
196
|
*/
|
|
187
|
-
async getPincodeCity(
|
|
197
|
+
async getPincodeCity(
|
|
198
|
+
{ pincode, requestHeaders } = { requestHeaders: {} },
|
|
199
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
200
|
+
) {
|
|
188
201
|
const { error } = LogisticApplicationValidator.getPincodeCity().validate(
|
|
189
202
|
{ pincode },
|
|
190
203
|
{ abortEarly: false, allowUnknown: true }
|
|
@@ -220,12 +233,12 @@ class Logistic {
|
|
|
220
233
|
}),
|
|
221
234
|
query_params,
|
|
222
235
|
undefined,
|
|
223
|
-
xHeaders,
|
|
224
|
-
{
|
|
236
|
+
{ ...xHeaders, ...requestHeaders },
|
|
237
|
+
{ responseHeaders }
|
|
225
238
|
);
|
|
226
239
|
|
|
227
240
|
let responseData = response;
|
|
228
|
-
if (
|
|
241
|
+
if (responseHeaders) {
|
|
229
242
|
responseData = response[0];
|
|
230
243
|
}
|
|
231
244
|
|
|
@@ -248,6 +261,7 @@ class Logistic {
|
|
|
248
261
|
|
|
249
262
|
/**
|
|
250
263
|
* @param {LogisticApplicationValidator.GetPincodeZonesParam} arg - Arg object.
|
|
264
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
251
265
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
252
266
|
* @returns {Promise<LogisticApplicationModel.GetZoneFromPincodeViewResponse>}
|
|
253
267
|
* - Success response
|
|
@@ -256,7 +270,10 @@ class Logistic {
|
|
|
256
270
|
* @summary: GET zone from the Pincode.
|
|
257
271
|
* @description: This API returns zone from the Pincode View. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeZones/).
|
|
258
272
|
*/
|
|
259
|
-
async getPincodeZones(
|
|
273
|
+
async getPincodeZones(
|
|
274
|
+
{ body, requestHeaders } = { requestHeaders: {} },
|
|
275
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
276
|
+
) {
|
|
260
277
|
const { error } = LogisticApplicationValidator.getPincodeZones().validate(
|
|
261
278
|
{ body },
|
|
262
279
|
{ abortEarly: false, allowUnknown: true }
|
|
@@ -292,12 +309,12 @@ class Logistic {
|
|
|
292
309
|
}),
|
|
293
310
|
query_params,
|
|
294
311
|
body,
|
|
295
|
-
xHeaders,
|
|
296
|
-
{
|
|
312
|
+
{ ...xHeaders, ...requestHeaders },
|
|
313
|
+
{ responseHeaders }
|
|
297
314
|
);
|
|
298
315
|
|
|
299
316
|
let responseData = response;
|
|
300
|
-
if (
|
|
317
|
+
if (responseHeaders) {
|
|
301
318
|
responseData = response[0];
|
|
302
319
|
}
|
|
303
320
|
|
|
@@ -320,13 +337,17 @@ class Logistic {
|
|
|
320
337
|
|
|
321
338
|
/**
|
|
322
339
|
* @param {LogisticApplicationValidator.GetTatProductParam} arg - Arg object.
|
|
340
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
323
341
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
324
342
|
* @returns {Promise<LogisticApplicationModel.TATViewResponse>} - Success response
|
|
325
343
|
* @name getTatProduct
|
|
326
344
|
* @summary: Get TAT API
|
|
327
345
|
* @description: Get TAT data - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getTatProduct/).
|
|
328
346
|
*/
|
|
329
|
-
async getTatProduct(
|
|
347
|
+
async getTatProduct(
|
|
348
|
+
{ body, requestHeaders } = { requestHeaders: {} },
|
|
349
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
350
|
+
) {
|
|
330
351
|
const { error } = LogisticApplicationValidator.getTatProduct().validate(
|
|
331
352
|
{ body },
|
|
332
353
|
{ abortEarly: false, allowUnknown: true }
|
|
@@ -362,12 +383,12 @@ class Logistic {
|
|
|
362
383
|
}),
|
|
363
384
|
query_params,
|
|
364
385
|
body,
|
|
365
|
-
xHeaders,
|
|
366
|
-
{
|
|
386
|
+
{ ...xHeaders, ...requestHeaders },
|
|
387
|
+
{ responseHeaders }
|
|
367
388
|
);
|
|
368
389
|
|
|
369
390
|
let responseData = response;
|
|
370
|
-
if (
|
|
391
|
+
if (responseHeaders) {
|
|
371
392
|
responseData = response[0];
|
|
372
393
|
}
|
|
373
394
|
|
|
@@ -22,6 +22,7 @@ declare class Order {
|
|
|
22
22
|
* @param {OrderApplicationValidator.GetCustomerDetailsByShipmentIdParam} arg
|
|
23
23
|
* - Arg object.
|
|
24
24
|
*
|
|
25
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
25
26
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
26
27
|
* @returns {Promise<OrderApplicationModel.CustomerDetailsResponse>} -
|
|
27
28
|
* Success response
|
|
@@ -29,9 +30,10 @@ declare class Order {
|
|
|
29
30
|
* @summary: Get Customer Details by Shipment Id
|
|
30
31
|
* @description: Use this API to retrieve customer details such as mobileno using Shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getCustomerDetailsByShipmentId/).
|
|
31
32
|
*/
|
|
32
|
-
getCustomerDetailsByShipmentId({ orderId, shipmentId }?: OrderApplicationValidator.GetCustomerDetailsByShipmentIdParam, {
|
|
33
|
+
getCustomerDetailsByShipmentId({ orderId, shipmentId, requestHeaders }?: OrderApplicationValidator.GetCustomerDetailsByShipmentIdParam, { responseHeaders }?: object): Promise<OrderApplicationModel.CustomerDetailsResponse>;
|
|
33
34
|
/**
|
|
34
35
|
* @param {OrderApplicationValidator.GetInvoiceByShipmentIdParam} arg - Arg object.
|
|
36
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
35
37
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
36
38
|
* @returns {Promise<OrderApplicationModel.ResponseGetInvoiceShipment>} -
|
|
37
39
|
* Success response
|
|
@@ -39,63 +41,70 @@ declare class Order {
|
|
|
39
41
|
* @summary: Get Invoice of a shipment
|
|
40
42
|
* @description: Use this API to retrieve shipment invoice. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getInvoiceByShipmentId/).
|
|
41
43
|
*/
|
|
42
|
-
getInvoiceByShipmentId({ shipmentId }?: OrderApplicationValidator.GetInvoiceByShipmentIdParam, {
|
|
44
|
+
getInvoiceByShipmentId({ shipmentId, requestHeaders }?: OrderApplicationValidator.GetInvoiceByShipmentIdParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ResponseGetInvoiceShipment>;
|
|
43
45
|
/**
|
|
44
46
|
* @param {OrderApplicationValidator.GetOrderByIdParam} arg - Arg object.
|
|
47
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
45
48
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
46
49
|
* @returns {Promise<OrderApplicationModel.OrderById>} - Success response
|
|
47
50
|
* @name getOrderById
|
|
48
51
|
* @summary: Get details of an order
|
|
49
52
|
* @description: Use this API to retrieve order details such as tracking details, shipment, store information using Fynd Order ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getOrderById/).
|
|
50
53
|
*/
|
|
51
|
-
getOrderById({ orderId }?: OrderApplicationValidator.GetOrderByIdParam, {
|
|
54
|
+
getOrderById({ orderId, requestHeaders }?: OrderApplicationValidator.GetOrderByIdParam, { responseHeaders }?: object): Promise<OrderApplicationModel.OrderById>;
|
|
52
55
|
/**
|
|
53
56
|
* @param {OrderApplicationValidator.GetOrdersParam} arg - Arg object.
|
|
57
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
54
58
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
55
59
|
* @returns {Promise<OrderApplicationModel.OrderList>} - Success response
|
|
56
60
|
* @name getOrders
|
|
57
61
|
* @summary: Get all orders
|
|
58
62
|
* @description: Use this API to retrieve all the orders. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getOrders/).
|
|
59
63
|
*/
|
|
60
|
-
getOrders({ status, pageNo, pageSize, fromDate, toDate, customMeta }?: OrderApplicationValidator.GetOrdersParam, {
|
|
64
|
+
getOrders({ status, pageNo, pageSize, fromDate, toDate, customMeta, requestHeaders, }?: OrderApplicationValidator.GetOrdersParam, { responseHeaders }?: object): Promise<OrderApplicationModel.OrderList>;
|
|
61
65
|
/**
|
|
62
66
|
* @param {OrderApplicationValidator.GetPosOrderByIdParam} arg - Arg object.
|
|
67
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
63
68
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
64
69
|
* @returns {Promise<OrderApplicationModel.OrderById>} - Success response
|
|
65
70
|
* @name getPosOrderById
|
|
66
71
|
* @summary: Get POS Order
|
|
67
72
|
* @description: Use this API to retrieve a POS order and all its details such as tracking details, shipment, store information using Fynd Order ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getPosOrderById/).
|
|
68
73
|
*/
|
|
69
|
-
getPosOrderById({ orderId }?: OrderApplicationValidator.GetPosOrderByIdParam, {
|
|
74
|
+
getPosOrderById({ orderId, requestHeaders }?: OrderApplicationValidator.GetPosOrderByIdParam, { responseHeaders }?: object): Promise<OrderApplicationModel.OrderById>;
|
|
70
75
|
/**
|
|
71
76
|
* @param {OrderApplicationValidator.GetShipmentBagReasonsParam} arg - Arg object.
|
|
77
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
72
78
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
73
79
|
* @returns {Promise<OrderApplicationModel.ShipmentBagReasons>} - Success response
|
|
74
80
|
* @name getShipmentBagReasons
|
|
75
81
|
* @summary: Get reasons behind full or partial cancellation of a shipment
|
|
76
82
|
* @description: Use this API to retrieve the issues that led to the cancellation of bags within a shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentBagReasons/).
|
|
77
83
|
*/
|
|
78
|
-
getShipmentBagReasons({ shipmentId, bagId }?: OrderApplicationValidator.GetShipmentBagReasonsParam, {
|
|
84
|
+
getShipmentBagReasons({ shipmentId, bagId, requestHeaders }?: OrderApplicationValidator.GetShipmentBagReasonsParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ShipmentBagReasons>;
|
|
79
85
|
/**
|
|
80
86
|
* @param {OrderApplicationValidator.GetShipmentByIdParam} arg - Arg object.
|
|
87
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
81
88
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
82
89
|
* @returns {Promise<OrderApplicationModel.ShipmentById>} - Success response
|
|
83
90
|
* @name getShipmentById
|
|
84
91
|
* @summary: Get details of a shipment
|
|
85
92
|
* @description: Use this API to retrieve shipment details such as price breakup, tracking details, store information, etc. using Shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentById/).
|
|
86
93
|
*/
|
|
87
|
-
getShipmentById({ shipmentId }?: OrderApplicationValidator.GetShipmentByIdParam, {
|
|
94
|
+
getShipmentById({ shipmentId, requestHeaders }?: OrderApplicationValidator.GetShipmentByIdParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ShipmentById>;
|
|
88
95
|
/**
|
|
89
96
|
* @param {OrderApplicationValidator.GetShipmentReasonsParam} arg - Arg object.
|
|
97
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
90
98
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
91
99
|
* @returns {Promise<OrderApplicationModel.ShipmentReasons>} - Success response
|
|
92
100
|
* @name getShipmentReasons
|
|
93
101
|
* @summary: Get reasons behind full or partial cancellation of a shipment
|
|
94
102
|
* @description: Use this API to retrieve the issues that led to the cancellation of bags within a shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentReasons/).
|
|
95
103
|
*/
|
|
96
|
-
getShipmentReasons({ shipmentId }?: OrderApplicationValidator.GetShipmentReasonsParam, {
|
|
104
|
+
getShipmentReasons({ shipmentId, requestHeaders }?: OrderApplicationValidator.GetShipmentReasonsParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ShipmentReasons>;
|
|
97
105
|
/**
|
|
98
106
|
* @param {OrderApplicationValidator.SendOtpToShipmentCustomerParam} arg - Arg object.
|
|
107
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
99
108
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
100
109
|
* @returns {Promise<OrderApplicationModel.SendOtpToCustomerResponse>} -
|
|
101
110
|
* Success response
|
|
@@ -103,18 +112,20 @@ declare class Order {
|
|
|
103
112
|
* @summary: Send and Resend Otp code to Order-Shipment customer
|
|
104
113
|
* @description: Use this API to send OTP to the customer of the mapped Shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/sendOtpToShipmentCustomer/).
|
|
105
114
|
*/
|
|
106
|
-
sendOtpToShipmentCustomer({ orderId, shipmentId }?: OrderApplicationValidator.SendOtpToShipmentCustomerParam, {
|
|
115
|
+
sendOtpToShipmentCustomer({ orderId, shipmentId, requestHeaders }?: OrderApplicationValidator.SendOtpToShipmentCustomerParam, { responseHeaders }?: object): Promise<OrderApplicationModel.SendOtpToCustomerResponse>;
|
|
107
116
|
/**
|
|
108
117
|
* @param {OrderApplicationValidator.TrackShipmentParam} arg - Arg object.
|
|
118
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
109
119
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
110
120
|
* @returns {Promise<OrderApplicationModel.ShipmentTrack>} - Success response
|
|
111
121
|
* @name trackShipment
|
|
112
122
|
* @summary: Track shipment
|
|
113
123
|
* @description: Track Shipment by shipment id, for application based on application Id - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/trackShipment/).
|
|
114
124
|
*/
|
|
115
|
-
trackShipment({ shipmentId }?: OrderApplicationValidator.TrackShipmentParam, {
|
|
125
|
+
trackShipment({ shipmentId, requestHeaders }?: OrderApplicationValidator.TrackShipmentParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ShipmentTrack>;
|
|
116
126
|
/**
|
|
117
127
|
* @param {OrderApplicationValidator.UpdateShipmentStatusParam} arg - Arg object.
|
|
128
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
118
129
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
119
130
|
* @returns {Promise<OrderApplicationModel.ShipmentApplicationStatusResponse>}
|
|
120
131
|
* - Success response
|
|
@@ -123,16 +134,17 @@ declare class Order {
|
|
|
123
134
|
* @summary: Update the shipment status
|
|
124
135
|
* @description: Use this API to update the status of a shipment using its shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/updateShipmentStatus/).
|
|
125
136
|
*/
|
|
126
|
-
updateShipmentStatus({ shipmentId, body }?: OrderApplicationValidator.UpdateShipmentStatusParam, {
|
|
137
|
+
updateShipmentStatus({ shipmentId, body, requestHeaders }?: OrderApplicationValidator.UpdateShipmentStatusParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ShipmentApplicationStatusResponse>;
|
|
127
138
|
/**
|
|
128
139
|
* @param {OrderApplicationValidator.VerifyOtpShipmentCustomerParam} arg - Arg object.
|
|
140
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
129
141
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
130
142
|
* @returns {Promise<OrderApplicationModel.VerifyOtpResponse>} - Success response
|
|
131
143
|
* @name verifyOtpShipmentCustomer
|
|
132
144
|
* @summary: Verify Otp code
|
|
133
145
|
* @description: Use this API to verify OTP and create a session token with custom payload. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/verifyOtpShipmentCustomer/).
|
|
134
146
|
*/
|
|
135
|
-
verifyOtpShipmentCustomer({ orderId, shipmentId, body }?: OrderApplicationValidator.VerifyOtpShipmentCustomerParam, {
|
|
147
|
+
verifyOtpShipmentCustomer({ orderId, shipmentId, body, requestHeaders }?: OrderApplicationValidator.VerifyOtpShipmentCustomerParam, { responseHeaders }?: object): Promise<OrderApplicationModel.VerifyOtpResponse>;
|
|
136
148
|
}
|
|
137
149
|
import OrderApplicationValidator = require("./OrderApplicationValidator");
|
|
138
150
|
import OrderApplicationModel = require("./OrderApplicationModel");
|