@gofynd/fdk-client-javascript 1.4.8-beta.3 → 1.4.9
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 +26 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationClient.d.ts +8 -0
- package/sdk/application/ApplicationClient.js +14 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +20 -20
- package/sdk/application/Cart/CartApplicationClient.js +20 -20
- package/sdk/application/Cart/CartApplicationModel.d.ts +2446 -664
- package/sdk/application/Cart/CartApplicationModel.js +783 -552
- package/sdk/application/Cart/CartApplicationValidator.d.ts +268 -194
- package/sdk/application/Cart/CartApplicationValidator.js +100 -114
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +53 -53
- package/sdk/application/Catalog/CatalogApplicationClient.js +53 -53
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2012 -503
- package/sdk/application/Catalog/CatalogApplicationModel.js +603 -453
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +64 -64
- package/sdk/application/Catalog/CatalogApplicationValidator.js +32 -32
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Common/CommonApplicationModel.d.ts +170 -90
- package/sdk/application/Common/CommonApplicationModel.js +59 -58
- package/sdk/application/Common/CommonApplicationValidator.d.ts +8 -5
- package/sdk/application/Common/CommonApplicationValidator.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +170 -35
- package/sdk/application/Communication/CommunicationApplicationModel.js +54 -33
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +624 -443
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +259 -248
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +32 -24
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +14 -13
- package/sdk/application/Content/ContentApplicationClient.d.ts +16 -16
- package/sdk/application/Content/ContentApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationModel.d.ts +1205 -282
- package/sdk/application/Content/ContentApplicationModel.js +341 -277
- package/sdk/application/Content/ContentApplicationValidator.d.ts +28 -17
- package/sdk/application/Content/ContentApplicationValidator.js +11 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +146 -37
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +38 -36
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +195 -134
- package/sdk/application/Lead/LeadApplicationModel.js +110 -67
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +8 -8
- package/sdk/application/Lead/LeadApplicationValidator.js +4 -4
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -10
- package/sdk/application/Logistic/LogisticApplicationClient.js +10 -10
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +1039 -221
- package/sdk/application/Logistic/LogisticApplicationModel.js +342 -199
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +76 -82
- package/sdk/application/Logistic/LogisticApplicationValidator.js +38 -41
- package/sdk/application/Order/OrderApplicationClient.d.ts +10 -10
- package/sdk/application/Order/OrderApplicationClient.js +10 -10
- package/sdk/application/Order/OrderApplicationModel.d.ts +1400 -325
- package/sdk/application/Order/OrderApplicationModel.js +391 -317
- package/sdk/application/Order/OrderApplicationValidator.d.ts +32 -30
- package/sdk/application/Order/OrderApplicationValidator.js +15 -14
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +43 -43
- package/sdk/application/Payment/PaymentApplicationClient.js +43 -43
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1111 -1022
- package/sdk/application/Payment/PaymentApplicationModel.js +537 -521
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +82 -49
- package/sdk/application/Payment/PaymentApplicationValidator.js +30 -30
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +28 -7
- package/sdk/application/Rewards/RewardsApplicationModel.js +7 -7
- package/sdk/application/Share/ShareApplicationModel.d.ts +178 -38
- package/sdk/application/Share/ShareApplicationModel.js +53 -37
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -2
- package/sdk/application/Share/ShareApplicationValidator.js +2 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +14 -8
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +528 -287
- package/sdk/application/Theme/ThemeApplicationModel.js +208 -172
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +17 -12
- package/sdk/application/Theme/ThemeApplicationValidator.js +8 -6
- package/sdk/application/User/UserApplicationClient.d.ts +36 -36
- package/sdk/application/User/UserApplicationClient.js +36 -36
- package/sdk/application/User/UserApplicationModel.d.ts +1062 -255
- package/sdk/application/User/UserApplicationModel.js +298 -244
- package/sdk/application/User/UserApplicationValidator.d.ts +80 -80
- package/sdk/application/User/UserApplicationValidator.js +40 -40
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +20 -5
- package/sdk/application/Webhook/WebhookApplicationModel.js +5 -5
- package/sdk/common/Clickstream.js +95 -15
- package/sdk/common/Constant.d.ts +9 -0
- package/sdk/common/Constant.js +11 -0
- package/sdk/common/Utility.js +19 -0
- package/sdk/common/utils.js +8 -1
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +28 -7
- package/sdk/partner/Lead/LeadPartnerModel.js +7 -7
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +28 -7
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +7 -7
- package/sdk/partner/PartnerClient.d.ts +8 -0
- package/sdk/partner/PartnerClient.js +14 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +158 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +45 -6
- package/sdk/partner/Theme/ThemePartnerModel.js +33 -4
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +28 -7
- package/sdk/partner/Webhook/WebhookPartnerModel.js +7 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +28 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +7 -7
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +6 -397
- package/sdk/platform/Billing/BillingPlatformClient.js +77 -3215
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +621 -2021
- package/sdk/platform/Billing/BillingPlatformModel.js +353 -2405
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +12 -451
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -483
- package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -7
- package/sdk/platform/Cart/CartPlatformModel.js +8 -8
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +12 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.js +41 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +46 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +14 -11
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +17 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +28 -7
- package/sdk/platform/Communication/CommunicationPlatformModel.js +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +7 -7
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -97
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +77 -782
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +24 -701
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +7 -539
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -183
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +0 -134
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -79
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -15
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -13
- package/sdk/platform/Content/ContentPlatformModel.d.ts +58 -17
- package/sdk/platform/Content/ContentPlatformModel.js +28 -15
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +28 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +7 -7
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +127 -25
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +37 -25
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +28 -28
- package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +1583 -347
- package/sdk/platform/Finance/FinancePlatformModel.js +463 -351
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +28 -7
- package/sdk/platform/Lead/LeadPlatformModel.js +7 -7
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -0
- package/sdk/platform/Order/OrderPlatformClient.js +165 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +613 -39
- package/sdk/platform/Order/OrderPlatformModel.js +359 -41
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +28 -0
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +30 -9
- package/sdk/platform/Payment/PaymentPlatformModel.js +9 -9
- package/sdk/platform/PlatformClient.d.ts +8 -0
- package/sdk/platform/PlatformClient.js +14 -0
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +28 -7
- package/sdk/platform/Rewards/RewardsPlatformModel.js +7 -7
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +120 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +76 -21
- package/sdk/platform/Share/SharePlatformModel.d.ts +28 -7
- package/sdk/platform/Share/SharePlatformModel.js +7 -7
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +18 -5
- package/sdk/platform/Theme/ThemePlatformModel.js +7 -4
- package/sdk/platform/User/UserPlatformModel.d.ts +18 -18
- package/sdk/platform/User/UserPlatformModel.js +9 -9
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +28 -7
- package/sdk/platform/Webhook/WebhookPlatformModel.js +7 -7
- package/sdk/public/PublicClient.d.ts +0 -4
- package/sdk/public/PublicClient.js +0 -8
- package/sdk/public/index.d.ts +0 -2
- package/sdk/public/index.js +0 -4
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -45
- package/sdk/public/Billing/BillingPublicClient.js +0 -269
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -434
- package/sdk/public/Billing/BillingPublicModel.js +0 -395
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -34
- package/sdk/public/Billing/BillingPublicValidator.js +0 -38
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +0 -87
- package/sdk/public/Inventory/InventoryPublicClient.js +0 -529
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +0 -393
- package/sdk/public/Inventory/InventoryPublicModel.js +0 -448
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +0 -91
- package/sdk/public/Inventory/InventoryPublicValidator.js +0 -85
|
@@ -2,57 +2,53 @@ export = LogisticApplicationValidator;
|
|
|
2
2
|
/** @typedef GetAllCountriesParam */
|
|
3
3
|
/**
|
|
4
4
|
* @typedef GetCountriesParam
|
|
5
|
-
* @property {boolean} [onboarding] -
|
|
6
|
-
*
|
|
7
|
-
* @property {number} [pageNo] -
|
|
8
|
-
*
|
|
9
|
-
* @property {
|
|
5
|
+
* @property {boolean} [onboarding] - List countries which allowed for onboard
|
|
6
|
+
* on Platform.
|
|
7
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
8
|
+
* set of results. Default value is 1.
|
|
9
|
+
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
10
|
+
* Default value is 12.
|
|
11
|
+
* @property {string} [q] - The number of items to retrieve in each page.
|
|
12
|
+
* Default value is 12.
|
|
10
13
|
*/
|
|
11
14
|
/**
|
|
12
15
|
* @typedef GetCountryParam
|
|
13
|
-
* @property {string} countryIsoCode - The
|
|
14
|
-
*
|
|
16
|
+
* @property {string} countryIsoCode - The ISO 3166-1 alpha-2 code representing
|
|
17
|
+
* the country (e.g., "IN" for India, "US" for the United States).
|
|
15
18
|
*/
|
|
16
19
|
/**
|
|
17
20
|
* @typedef GetLocalitiesParam
|
|
18
|
-
* @property {string} localityType -
|
|
19
|
-
*
|
|
20
|
-
* @property {string} [
|
|
21
|
-
*
|
|
22
|
-
* @property {
|
|
23
|
-
*
|
|
24
|
-
* @property {
|
|
25
|
-
*
|
|
26
|
-
* @property {
|
|
27
|
-
* @property {string} [q] - Search.
|
|
21
|
+
* @property {string} localityType - Unique geographical division.
|
|
22
|
+
* @property {string} [country] - Country name.
|
|
23
|
+
* @property {string} [state] - State or the province.
|
|
24
|
+
* @property {string} [city] - City.
|
|
25
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
26
|
+
* set of results. Default value is 1.
|
|
27
|
+
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
28
|
+
* Default value is 12.
|
|
29
|
+
* @property {string} [q] - This parameter is used to filter or search the records.
|
|
28
30
|
*/
|
|
29
31
|
/**
|
|
30
32
|
* @typedef GetLocalityParam
|
|
31
|
-
* @property {string} localityType -
|
|
32
|
-
*
|
|
33
|
-
* @property {string}
|
|
34
|
-
*
|
|
35
|
-
* @property {string} [
|
|
36
|
-
* country iso2 code.
|
|
37
|
-
* @property {string} [state] - A `state` contains a specific value of the
|
|
38
|
-
* state, province.
|
|
39
|
-
* @property {string} [city] - A `city` contains a specific value of the city.
|
|
33
|
+
* @property {string} localityType - Geographical division.
|
|
34
|
+
* @property {string} localityValue - Name of the locality.
|
|
35
|
+
* @property {string} [country] - Country name.
|
|
36
|
+
* @property {string} [state] - State or the province.
|
|
37
|
+
* @property {string} [city] - City.
|
|
40
38
|
*/
|
|
41
39
|
/**
|
|
42
40
|
* @typedef GetLocationsParam
|
|
43
|
-
* @property {string} xApplicationId -
|
|
44
|
-
*
|
|
45
|
-
* @property {string}
|
|
46
|
-
*
|
|
47
|
-
* @property {string} [
|
|
48
|
-
*
|
|
49
|
-
* @property {string} [
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* @property {number} [
|
|
53
|
-
*
|
|
54
|
-
* @property {number} [pageNo] - Page number.
|
|
55
|
-
* @property {number} [pageSize] - Page size.
|
|
41
|
+
* @property {string} xApplicationId - Unique identifier for a particular sales channel.
|
|
42
|
+
* @property {string} xApplicationData - Sales channel details.
|
|
43
|
+
* @property {string} [country] - The country `iso2` code.
|
|
44
|
+
* @property {string} [state] - State or the province.
|
|
45
|
+
* @property {string} [city] - City.
|
|
46
|
+
* @property {number} [pincode] - Pincode of the area.
|
|
47
|
+
* @property {string} [sector] - Specific sector of the city.
|
|
48
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
49
|
+
* set of results. Default value is 1.
|
|
50
|
+
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
51
|
+
* Default value is 12.
|
|
56
52
|
*/
|
|
57
53
|
/**
|
|
58
54
|
* @typedef GetOptimalLocationsParam
|
|
@@ -60,7 +56,7 @@ export = LogisticApplicationValidator;
|
|
|
60
56
|
*/
|
|
61
57
|
/**
|
|
62
58
|
* @typedef GetPincodeCityParam
|
|
63
|
-
* @property {string} pincode -
|
|
59
|
+
* @property {string} pincode - Postal code or PIN code of the address area.
|
|
64
60
|
*/
|
|
65
61
|
/**
|
|
66
62
|
* @typedef GetPincodeZonesParam
|
|
@@ -72,7 +68,8 @@ export = LogisticApplicationValidator;
|
|
|
72
68
|
*/
|
|
73
69
|
/**
|
|
74
70
|
* @typedef ValidateAddressParam
|
|
75
|
-
* @property {string} countryIsoCode - The ISO
|
|
71
|
+
* @property {string} countryIsoCode - The ISO 3166-1 alpha-2 code representing
|
|
72
|
+
* the country (e.g., "IN" for India, "US" for the United States).
|
|
76
73
|
* @property {string} templateName - The type of address form.
|
|
77
74
|
* @property {LogisticApplicationModel.ValidateAddressRequest} body
|
|
78
75
|
*/
|
|
@@ -105,128 +102,124 @@ declare namespace LogisticApplicationValidator {
|
|
|
105
102
|
}
|
|
106
103
|
type GetCountriesParam = {
|
|
107
104
|
/**
|
|
108
|
-
* -
|
|
109
|
-
*
|
|
105
|
+
* - List countries which allowed for onboard
|
|
106
|
+
* on Platform.
|
|
110
107
|
*/
|
|
111
108
|
onboarding?: boolean;
|
|
112
109
|
/**
|
|
113
|
-
* -
|
|
110
|
+
* - The page number to navigate through the given
|
|
111
|
+
* set of results. Default value is 1.
|
|
114
112
|
*/
|
|
115
113
|
pageNo?: number;
|
|
116
114
|
/**
|
|
117
|
-
* -
|
|
115
|
+
* - The number of items to retrieve in each page.
|
|
116
|
+
* Default value is 12.
|
|
118
117
|
*/
|
|
119
118
|
pageSize?: number;
|
|
120
119
|
/**
|
|
121
|
-
* -
|
|
120
|
+
* - The number of items to retrieve in each page.
|
|
121
|
+
* Default value is 12.
|
|
122
122
|
*/
|
|
123
123
|
q?: string;
|
|
124
124
|
};
|
|
125
125
|
type GetCountryParam = {
|
|
126
126
|
/**
|
|
127
|
-
* - The
|
|
128
|
-
*
|
|
127
|
+
* - The ISO 3166-1 alpha-2 code representing
|
|
128
|
+
* the country (e.g., "IN" for India, "US" for the United States).
|
|
129
129
|
*/
|
|
130
130
|
countryIsoCode: string;
|
|
131
131
|
};
|
|
132
132
|
type GetLocalitiesParam = {
|
|
133
133
|
/**
|
|
134
|
-
* -
|
|
135
|
-
* geographical division.
|
|
134
|
+
* - Unique geographical division.
|
|
136
135
|
*/
|
|
137
136
|
localityType: string;
|
|
138
137
|
/**
|
|
139
|
-
* -
|
|
140
|
-
* country iso2 code.
|
|
138
|
+
* - Country name.
|
|
141
139
|
*/
|
|
142
140
|
country?: string;
|
|
143
141
|
/**
|
|
144
|
-
* -
|
|
145
|
-
* state, province.
|
|
142
|
+
* - State or the province.
|
|
146
143
|
*/
|
|
147
144
|
state?: string;
|
|
148
145
|
/**
|
|
149
|
-
* -
|
|
146
|
+
* - City.
|
|
150
147
|
*/
|
|
151
148
|
city?: string;
|
|
152
149
|
/**
|
|
153
|
-
* -
|
|
150
|
+
* - The page number to navigate through the given
|
|
151
|
+
* set of results. Default value is 1.
|
|
154
152
|
*/
|
|
155
153
|
pageNo?: number;
|
|
156
154
|
/**
|
|
157
|
-
* -
|
|
155
|
+
* - The number of items to retrieve in each page.
|
|
156
|
+
* Default value is 12.
|
|
158
157
|
*/
|
|
159
158
|
pageSize?: number;
|
|
160
159
|
/**
|
|
161
|
-
* -
|
|
160
|
+
* - This parameter is used to filter or search the records.
|
|
162
161
|
*/
|
|
163
162
|
q?: string;
|
|
164
163
|
};
|
|
165
164
|
type GetLocalityParam = {
|
|
166
165
|
/**
|
|
167
|
-
* -
|
|
168
|
-
* geographical division.
|
|
166
|
+
* - Geographical division.
|
|
169
167
|
*/
|
|
170
168
|
localityType: string;
|
|
171
169
|
/**
|
|
172
|
-
* -
|
|
173
|
-
* name of the locality.
|
|
170
|
+
* - Name of the locality.
|
|
174
171
|
*/
|
|
175
172
|
localityValue: string;
|
|
176
173
|
/**
|
|
177
|
-
* -
|
|
178
|
-
* country iso2 code.
|
|
174
|
+
* - Country name.
|
|
179
175
|
*/
|
|
180
176
|
country?: string;
|
|
181
177
|
/**
|
|
182
|
-
* -
|
|
183
|
-
* state, province.
|
|
178
|
+
* - State or the province.
|
|
184
179
|
*/
|
|
185
180
|
state?: string;
|
|
186
181
|
/**
|
|
187
|
-
* -
|
|
182
|
+
* - City.
|
|
188
183
|
*/
|
|
189
184
|
city?: string;
|
|
190
185
|
};
|
|
191
186
|
type GetLocationsParam = {
|
|
192
187
|
/**
|
|
193
|
-
* -
|
|
194
|
-
* identifier for a particular sale channel.
|
|
188
|
+
* - Unique identifier for a particular sales channel.
|
|
195
189
|
*/
|
|
196
190
|
xApplicationId: string;
|
|
197
191
|
/**
|
|
198
|
-
* -
|
|
199
|
-
* identifier for a particular sale channel.
|
|
192
|
+
* - Sales channel details.
|
|
200
193
|
*/
|
|
201
194
|
xApplicationData: string;
|
|
202
195
|
/**
|
|
203
|
-
* -
|
|
204
|
-
* country `iso2` code.
|
|
196
|
+
* - The country `iso2` code.
|
|
205
197
|
*/
|
|
206
198
|
country?: string;
|
|
207
199
|
/**
|
|
208
|
-
* -
|
|
209
|
-
* state, province.
|
|
200
|
+
* - State or the province.
|
|
210
201
|
*/
|
|
211
202
|
state?: string;
|
|
212
203
|
/**
|
|
213
|
-
* -
|
|
204
|
+
* - City.
|
|
214
205
|
*/
|
|
215
206
|
city?: string;
|
|
216
207
|
/**
|
|
217
|
-
* -
|
|
208
|
+
* - Pincode of the area.
|
|
218
209
|
*/
|
|
219
210
|
pincode?: number;
|
|
220
211
|
/**
|
|
221
|
-
* -
|
|
212
|
+
* - Specific sector of the city.
|
|
222
213
|
*/
|
|
223
214
|
sector?: string;
|
|
224
215
|
/**
|
|
225
|
-
* -
|
|
216
|
+
* - The page number to navigate through the given
|
|
217
|
+
* set of results. Default value is 1.
|
|
226
218
|
*/
|
|
227
219
|
pageNo?: number;
|
|
228
220
|
/**
|
|
229
|
-
* -
|
|
221
|
+
* - The number of items to retrieve in each page.
|
|
222
|
+
* Default value is 12.
|
|
230
223
|
*/
|
|
231
224
|
pageSize?: number;
|
|
232
225
|
};
|
|
@@ -235,7 +228,7 @@ type GetOptimalLocationsParam = {
|
|
|
235
228
|
};
|
|
236
229
|
type GetPincodeCityParam = {
|
|
237
230
|
/**
|
|
238
|
-
* -
|
|
231
|
+
* - Postal code or PIN code of the address area.
|
|
239
232
|
*/
|
|
240
233
|
pincode: string;
|
|
241
234
|
};
|
|
@@ -247,7 +240,8 @@ type GetTatProductParam = {
|
|
|
247
240
|
};
|
|
248
241
|
type ValidateAddressParam = {
|
|
249
242
|
/**
|
|
250
|
-
* - The ISO
|
|
243
|
+
* - The ISO 3166-1 alpha-2 code representing
|
|
244
|
+
* the country (e.g., "IN" for India, "US" for the United States).
|
|
251
245
|
*/
|
|
252
246
|
countryIsoCode: string;
|
|
253
247
|
/**
|
|
@@ -6,61 +6,57 @@ const LogisticApplicationModel = require("./LogisticApplicationModel");
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @typedef GetCountriesParam
|
|
9
|
-
* @property {boolean} [onboarding] -
|
|
10
|
-
*
|
|
11
|
-
* @property {number} [pageNo] -
|
|
12
|
-
*
|
|
13
|
-
* @property {
|
|
9
|
+
* @property {boolean} [onboarding] - List countries which allowed for onboard
|
|
10
|
+
* on Platform.
|
|
11
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
12
|
+
* set of results. Default value is 1.
|
|
13
|
+
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
14
|
+
* Default value is 12.
|
|
15
|
+
* @property {string} [q] - The number of items to retrieve in each page.
|
|
16
|
+
* Default value is 12.
|
|
14
17
|
*/
|
|
15
18
|
|
|
16
19
|
/**
|
|
17
20
|
* @typedef GetCountryParam
|
|
18
|
-
* @property {string} countryIsoCode - The
|
|
19
|
-
*
|
|
21
|
+
* @property {string} countryIsoCode - The ISO 3166-1 alpha-2 code representing
|
|
22
|
+
* the country (e.g., "IN" for India, "US" for the United States).
|
|
20
23
|
*/
|
|
21
24
|
|
|
22
25
|
/**
|
|
23
26
|
* @typedef GetLocalitiesParam
|
|
24
|
-
* @property {string} localityType -
|
|
25
|
-
*
|
|
26
|
-
* @property {string} [
|
|
27
|
-
*
|
|
28
|
-
* @property {
|
|
29
|
-
*
|
|
30
|
-
* @property {
|
|
31
|
-
*
|
|
32
|
-
* @property {
|
|
33
|
-
* @property {string} [q] - Search.
|
|
27
|
+
* @property {string} localityType - Unique geographical division.
|
|
28
|
+
* @property {string} [country] - Country name.
|
|
29
|
+
* @property {string} [state] - State or the province.
|
|
30
|
+
* @property {string} [city] - City.
|
|
31
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
32
|
+
* set of results. Default value is 1.
|
|
33
|
+
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
34
|
+
* Default value is 12.
|
|
35
|
+
* @property {string} [q] - This parameter is used to filter or search the records.
|
|
34
36
|
*/
|
|
35
37
|
|
|
36
38
|
/**
|
|
37
39
|
* @typedef GetLocalityParam
|
|
38
|
-
* @property {string} localityType -
|
|
39
|
-
*
|
|
40
|
-
* @property {string}
|
|
41
|
-
*
|
|
42
|
-
* @property {string} [
|
|
43
|
-
* country iso2 code.
|
|
44
|
-
* @property {string} [state] - A `state` contains a specific value of the
|
|
45
|
-
* state, province.
|
|
46
|
-
* @property {string} [city] - A `city` contains a specific value of the city.
|
|
40
|
+
* @property {string} localityType - Geographical division.
|
|
41
|
+
* @property {string} localityValue - Name of the locality.
|
|
42
|
+
* @property {string} [country] - Country name.
|
|
43
|
+
* @property {string} [state] - State or the province.
|
|
44
|
+
* @property {string} [city] - City.
|
|
47
45
|
*/
|
|
48
46
|
|
|
49
47
|
/**
|
|
50
48
|
* @typedef GetLocationsParam
|
|
51
|
-
* @property {string} xApplicationId -
|
|
52
|
-
*
|
|
53
|
-
* @property {string}
|
|
54
|
-
*
|
|
55
|
-
* @property {string} [
|
|
56
|
-
*
|
|
57
|
-
* @property {string} [
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* @property {number} [
|
|
61
|
-
*
|
|
62
|
-
* @property {number} [pageNo] - Page number.
|
|
63
|
-
* @property {number} [pageSize] - Page size.
|
|
49
|
+
* @property {string} xApplicationId - Unique identifier for a particular sales channel.
|
|
50
|
+
* @property {string} xApplicationData - Sales channel details.
|
|
51
|
+
* @property {string} [country] - The country `iso2` code.
|
|
52
|
+
* @property {string} [state] - State or the province.
|
|
53
|
+
* @property {string} [city] - City.
|
|
54
|
+
* @property {number} [pincode] - Pincode of the area.
|
|
55
|
+
* @property {string} [sector] - Specific sector of the city.
|
|
56
|
+
* @property {number} [pageNo] - The page number to navigate through the given
|
|
57
|
+
* set of results. Default value is 1.
|
|
58
|
+
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
59
|
+
* Default value is 12.
|
|
64
60
|
*/
|
|
65
61
|
|
|
66
62
|
/**
|
|
@@ -70,7 +66,7 @@ const LogisticApplicationModel = require("./LogisticApplicationModel");
|
|
|
70
66
|
|
|
71
67
|
/**
|
|
72
68
|
* @typedef GetPincodeCityParam
|
|
73
|
-
* @property {string} pincode -
|
|
69
|
+
* @property {string} pincode - Postal code or PIN code of the address area.
|
|
74
70
|
*/
|
|
75
71
|
|
|
76
72
|
/**
|
|
@@ -85,7 +81,8 @@ const LogisticApplicationModel = require("./LogisticApplicationModel");
|
|
|
85
81
|
|
|
86
82
|
/**
|
|
87
83
|
* @typedef ValidateAddressParam
|
|
88
|
-
* @property {string} countryIsoCode - The ISO
|
|
84
|
+
* @property {string} countryIsoCode - The ISO 3166-1 alpha-2 code representing
|
|
85
|
+
* the country (e.g., "IN" for India, "US" for the United States).
|
|
89
86
|
* @property {string} templateName - The type of address form.
|
|
90
87
|
* @property {LogisticApplicationModel.ValidateAddressRequest} body
|
|
91
88
|
*/
|
|
@@ -27,7 +27,7 @@ declare class Order {
|
|
|
27
27
|
* Success response
|
|
28
28
|
* @name getCustomerDetailsByShipmentId
|
|
29
29
|
* @summary: Get shipment's customer
|
|
30
|
-
* @description:
|
|
30
|
+
* @description: Get customer details such as mobile number using Shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getCustomerDetailsByShipmentId/).
|
|
31
31
|
*/
|
|
32
32
|
getCustomerDetailsByShipmentId({ orderId, shipmentId, requestHeaders }?: OrderApplicationValidator.GetCustomerDetailsByShipmentIdParam, { responseHeaders }?: object): Promise<OrderApplicationModel.CustomerDetailsResponse>;
|
|
33
33
|
/**
|
|
@@ -38,7 +38,7 @@ declare class Order {
|
|
|
38
38
|
* Success response
|
|
39
39
|
* @name getInvoiceByShipmentId
|
|
40
40
|
* @summary: Retrieves invoice for shipment
|
|
41
|
-
* @description:
|
|
41
|
+
* @description: Get invoice corresponding to a specific shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getInvoiceByShipmentId/).
|
|
42
42
|
*/
|
|
43
43
|
getInvoiceByShipmentId({ shipmentId, requestHeaders }?: OrderApplicationValidator.GetInvoiceByShipmentIdParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ResponseGetInvoiceShipment>;
|
|
44
44
|
/**
|
|
@@ -48,7 +48,7 @@ declare class Order {
|
|
|
48
48
|
* @returns {Promise<OrderApplicationModel.OrderById>} - Success response
|
|
49
49
|
* @name getOrderById
|
|
50
50
|
* @summary: Get an order
|
|
51
|
-
* @description:
|
|
51
|
+
* @description: Get 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/).
|
|
52
52
|
*/
|
|
53
53
|
getOrderById({ orderId, allowInactive, requestHeaders }?: OrderApplicationValidator.GetOrderByIdParam, { responseHeaders }?: object): Promise<OrderApplicationModel.OrderById>;
|
|
54
54
|
/**
|
|
@@ -58,7 +58,7 @@ declare class Order {
|
|
|
58
58
|
* @returns {Promise<OrderApplicationModel.OrderList>} - Success response
|
|
59
59
|
* @name getOrders
|
|
60
60
|
* @summary: List customer orders
|
|
61
|
-
* @description:
|
|
61
|
+
* @description: Get all orders associated with a customer account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getOrders/).
|
|
62
62
|
*/
|
|
63
63
|
getOrders({ status, pageNo, pageSize, fromDate, toDate, startDate, endDate, customMeta, allowInactive, requestHeaders, }?: OrderApplicationValidator.GetOrdersParam, { responseHeaders }?: object): Promise<OrderApplicationModel.OrderList>;
|
|
64
64
|
/**
|
|
@@ -68,7 +68,7 @@ declare class Order {
|
|
|
68
68
|
* @returns {Promise<OrderApplicationModel.ShipmentBagReasons>} - Success response
|
|
69
69
|
* @name getShipmentBagReasons
|
|
70
70
|
* @summary: List bag cancellation reasons
|
|
71
|
-
* @description: Get reasons to perform full or partial cancellation of a bag - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentBagReasons/).
|
|
71
|
+
* @description: Get reasons to perform full or partial cancellation of a bag. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentBagReasons/).
|
|
72
72
|
*/
|
|
73
73
|
getShipmentBagReasons({ shipmentId, bagId, requestHeaders }?: OrderApplicationValidator.GetShipmentBagReasonsParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ShipmentBagReasons>;
|
|
74
74
|
/**
|
|
@@ -78,7 +78,7 @@ declare class Order {
|
|
|
78
78
|
* @returns {Promise<OrderApplicationModel.ShipmentById>} - Success response
|
|
79
79
|
* @name getShipmentById
|
|
80
80
|
* @summary: Get a Shipment
|
|
81
|
-
* @description:
|
|
81
|
+
* @description: Get 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/).
|
|
82
82
|
*/
|
|
83
83
|
getShipmentById({ shipmentId, allowInactive, requestHeaders }?: OrderApplicationValidator.GetShipmentByIdParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ShipmentById>;
|
|
84
84
|
/**
|
|
@@ -88,7 +88,7 @@ declare class Order {
|
|
|
88
88
|
* @returns {Promise<OrderApplicationModel.ShipmentReasons>} - Success response
|
|
89
89
|
* @name getShipmentReasons
|
|
90
90
|
* @summary: List shipment cancellation reasons
|
|
91
|
-
* @description: Get reasons to perform full or partial cancellation of a shipment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentReasons/).
|
|
91
|
+
* @description: Get reasons to perform full or partial cancellation of a shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentReasons/).
|
|
92
92
|
*/
|
|
93
93
|
getShipmentReasons({ shipmentId, requestHeaders }?: OrderApplicationValidator.GetShipmentReasonsParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ShipmentReasons>;
|
|
94
94
|
/**
|
|
@@ -99,7 +99,7 @@ declare class Order {
|
|
|
99
99
|
* Success response
|
|
100
100
|
* @name sendOtpToShipmentCustomer
|
|
101
101
|
* @summary: Send OTP to customer
|
|
102
|
-
* @description:
|
|
102
|
+
* @description: Send OTP to the customer for shipment verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/sendOtpToShipmentCustomer/).
|
|
103
103
|
*/
|
|
104
104
|
sendOtpToShipmentCustomer({ orderId, shipmentId, requestHeaders }?: OrderApplicationValidator.SendOtpToShipmentCustomerParam, { responseHeaders }?: object): Promise<OrderApplicationModel.SendOtpToCustomerResponse>;
|
|
105
105
|
/**
|
|
@@ -121,7 +121,7 @@ declare class Order {
|
|
|
121
121
|
*
|
|
122
122
|
* @name updateShipmentStatus
|
|
123
123
|
* @summary: Updates shipment status
|
|
124
|
-
* @description:
|
|
124
|
+
* @description: Update current status of a specific shipment using its shipment ID. Supports both partial and full transition as per the configured settings. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/updateShipmentStatus/).
|
|
125
125
|
*/
|
|
126
126
|
updateShipmentStatus({ shipmentId, body, requestHeaders }?: OrderApplicationValidator.UpdateShipmentStatusParam, { responseHeaders }?: object): Promise<OrderApplicationModel.ShipmentApplicationStatusResponse>;
|
|
127
127
|
/**
|
|
@@ -131,7 +131,7 @@ declare class Order {
|
|
|
131
131
|
* @returns {Promise<OrderApplicationModel.VerifyOtpResponse>} - Success response
|
|
132
132
|
* @name verifyOtpShipmentCustomer
|
|
133
133
|
* @summary: Verifies OTP
|
|
134
|
-
* @description:
|
|
134
|
+
* @description: Verify OTP sent by customer. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/verifyOtpShipmentCustomer/).
|
|
135
135
|
*/
|
|
136
136
|
verifyOtpShipmentCustomer({ orderId, shipmentId, body, requestHeaders }?: OrderApplicationValidator.VerifyOtpShipmentCustomerParam, { responseHeaders }?: object): Promise<OrderApplicationModel.VerifyOtpResponse>;
|
|
137
137
|
}
|
|
@@ -61,7 +61,7 @@ class Order {
|
|
|
61
61
|
* Success response
|
|
62
62
|
* @name getCustomerDetailsByShipmentId
|
|
63
63
|
* @summary: Get shipment's customer
|
|
64
|
-
* @description:
|
|
64
|
+
* @description: Get customer details such as mobile number using Shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getCustomerDetailsByShipmentId/).
|
|
65
65
|
*/
|
|
66
66
|
async getCustomerDetailsByShipmentId(
|
|
67
67
|
{ orderId, shipmentId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -142,7 +142,7 @@ class Order {
|
|
|
142
142
|
* Success response
|
|
143
143
|
* @name getInvoiceByShipmentId
|
|
144
144
|
* @summary: Retrieves invoice for shipment
|
|
145
|
-
* @description:
|
|
145
|
+
* @description: Get invoice corresponding to a specific shipment ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getInvoiceByShipmentId/).
|
|
146
146
|
*/
|
|
147
147
|
async getInvoiceByShipmentId(
|
|
148
148
|
{ shipmentId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -222,7 +222,7 @@ class Order {
|
|
|
222
222
|
* @returns {Promise<OrderApplicationModel.OrderById>} - Success response
|
|
223
223
|
* @name getOrderById
|
|
224
224
|
* @summary: Get an order
|
|
225
|
-
* @description:
|
|
225
|
+
* @description: Get 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/).
|
|
226
226
|
*/
|
|
227
227
|
async getOrderById(
|
|
228
228
|
{ orderId, allowInactive, requestHeaders } = { requestHeaders: {} },
|
|
@@ -301,7 +301,7 @@ class Order {
|
|
|
301
301
|
* @returns {Promise<OrderApplicationModel.OrderList>} - Success response
|
|
302
302
|
* @name getOrders
|
|
303
303
|
* @summary: List customer orders
|
|
304
|
-
* @description:
|
|
304
|
+
* @description: Get all orders associated with a customer account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getOrders/).
|
|
305
305
|
*/
|
|
306
306
|
async getOrders(
|
|
307
307
|
{
|
|
@@ -417,7 +417,7 @@ class Order {
|
|
|
417
417
|
* @returns {Promise<OrderApplicationModel.ShipmentBagReasons>} - Success response
|
|
418
418
|
* @name getShipmentBagReasons
|
|
419
419
|
* @summary: List bag cancellation reasons
|
|
420
|
-
* @description: Get reasons to perform full or partial cancellation of a bag - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentBagReasons/).
|
|
420
|
+
* @description: Get reasons to perform full or partial cancellation of a bag. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentBagReasons/).
|
|
421
421
|
*/
|
|
422
422
|
async getShipmentBagReasons(
|
|
423
423
|
{ shipmentId, bagId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -497,7 +497,7 @@ class Order {
|
|
|
497
497
|
* @returns {Promise<OrderApplicationModel.ShipmentById>} - Success response
|
|
498
498
|
* @name getShipmentById
|
|
499
499
|
* @summary: Get a Shipment
|
|
500
|
-
* @description:
|
|
500
|
+
* @description: Get 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/).
|
|
501
501
|
*/
|
|
502
502
|
async getShipmentById(
|
|
503
503
|
{ shipmentId, allowInactive, requestHeaders } = { requestHeaders: {} },
|
|
@@ -576,7 +576,7 @@ class Order {
|
|
|
576
576
|
* @returns {Promise<OrderApplicationModel.ShipmentReasons>} - Success response
|
|
577
577
|
* @name getShipmentReasons
|
|
578
578
|
* @summary: List shipment cancellation reasons
|
|
579
|
-
* @description: Get reasons to perform full or partial cancellation of a shipment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentReasons/).
|
|
579
|
+
* @description: Get reasons to perform full or partial cancellation of a shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/getShipmentReasons/).
|
|
580
580
|
*/
|
|
581
581
|
async getShipmentReasons(
|
|
582
582
|
{ shipmentId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -655,7 +655,7 @@ class Order {
|
|
|
655
655
|
* Success response
|
|
656
656
|
* @name sendOtpToShipmentCustomer
|
|
657
657
|
* @summary: Send OTP to customer
|
|
658
|
-
* @description:
|
|
658
|
+
* @description: Send OTP to the customer for shipment verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/sendOtpToShipmentCustomer/).
|
|
659
659
|
*/
|
|
660
660
|
async sendOtpToShipmentCustomer(
|
|
661
661
|
{ orderId, shipmentId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -815,7 +815,7 @@ class Order {
|
|
|
815
815
|
*
|
|
816
816
|
* @name updateShipmentStatus
|
|
817
817
|
* @summary: Updates shipment status
|
|
818
|
-
* @description:
|
|
818
|
+
* @description: Update current status of a specific shipment using its shipment ID. Supports both partial and full transition as per the configured settings. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/updateShipmentStatus/).
|
|
819
819
|
*/
|
|
820
820
|
async updateShipmentStatus(
|
|
821
821
|
{ shipmentId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -893,7 +893,7 @@ class Order {
|
|
|
893
893
|
* @returns {Promise<OrderApplicationModel.VerifyOtpResponse>} - Success response
|
|
894
894
|
* @name verifyOtpShipmentCustomer
|
|
895
895
|
* @summary: Verifies OTP
|
|
896
|
-
* @description:
|
|
896
|
+
* @description: Verify OTP sent by customer. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/order/verifyOtpShipmentCustomer/).
|
|
897
897
|
*/
|
|
898
898
|
async verifyOtpShipmentCustomer(
|
|
899
899
|
{ orderId, shipmentId, body, requestHeaders } = { requestHeaders: {} },
|