@gofynd/fdk-client-javascript 1.4.2-beta.1 → 1.4.2-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +3 -2
- package/sdk/application/ApplicationClient.js +20 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +3 -5
- package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
- package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
- package/sdk/application/Cart/CartApplicationValidator.js +0 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
- package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
- package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
- package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
- package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
- package/sdk/application/Common/CommonApplicationModel.js +172 -172
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
- package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
- package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
- package/sdk/application/Content/ContentApplicationClient.js +0 -246
- package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
- package/sdk/application/Content/ContentApplicationModel.js +565 -817
- package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
- package/sdk/application/Content/ContentApplicationValidator.js +0 -41
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
- package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
- package/sdk/application/Lead/LeadApplicationModel.js +301 -301
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
- package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
- package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +8 -32
- package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
- package/sdk/application/Order/OrderApplicationModel.js +816 -824
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
- package/sdk/application/Order/OrderApplicationValidator.js +0 -8
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
- package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
- package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
- package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
- package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
- package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
- package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
- package/sdk/application/Share/ShareApplicationModel.js +121 -121
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
- package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
- package/sdk/application/User/UserApplicationClient.d.ts +0 -33
- package/sdk/application/User/UserApplicationClient.js +0 -239
- package/sdk/application/User/UserApplicationModel.d.ts +753 -768
- package/sdk/application/User/UserApplicationModel.js +731 -755
- package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
- package/sdk/application/User/UserApplicationValidator.js +0 -36
- package/sdk/common/Clickstream.d.ts +1 -0
- package/sdk/common/Clickstream.js +254 -0
- package/sdk/common/Utility.js +1 -4
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
- package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
- package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
- package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
- package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
- package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
- package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
- package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
- package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
- package/sdk/platform/Common/CommonPlatformModel.js +187 -187
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
- package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
- package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +174 -259
- package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
- package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
- package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
- package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
- package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
- package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
- package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
- package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
- package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +2 -4
- package/sdk/platform/PlatformClient.js +4 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
- package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +989 -1588
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +977 -1695
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
- package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
- package/sdk/platform/Share/SharePlatformModel.js +139 -139
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
- package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
- package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
- package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
- package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
- package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
- package/sdk/platform/User/UserPlatformModel.js +428 -679
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
- package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
- package/sdk/platform/index.d.ts +1 -1
- package/sdk/platform/index.js +2 -2
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
- package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
- package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
- package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
- package/sdk/public/Partner/PartnerPublicModel.js +113 -113
- package/sdk/public/PublicClient.d.ts +0 -4
- package/sdk/public/PublicClient.js +0 -8
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
- package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
- package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
- package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
- package/sdk/public/index.d.ts +0 -2
- package/sdk/public/index.js +0 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
- package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
- package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
- package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
- package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
- package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
- package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
- package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
- package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
- package/sdk/public/Billing/BillingPublicClient.js +0 -116
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
- package/sdk/public/Billing/BillingPublicModel.js +0 -96
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
- package/sdk/public/Billing/BillingPublicValidator.js +0 -19
- package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
- package/sdk/public/Content/ContentPublicClient.js +0 -114
- package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
- package/sdk/public/Content/ContentPublicModel.js +0 -60
- package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
- package/sdk/public/Content/ContentPublicValidator.js +0 -19
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
export = LogisticApplicationModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
3
|
+
* @typedef PincodeParentsResponse
|
|
4
|
+
* @property {string} [sub_type]
|
|
4
5
|
* @property {string} [display_name]
|
|
5
|
-
* @property {boolean} [is_active]
|
|
6
|
-
* @property {LogisticsResponse} [logistics]
|
|
7
|
-
* @property {CountryMetaResponse} [meta]
|
|
8
6
|
* @property {string} [name]
|
|
9
|
-
* @property {string} [parent_id]
|
|
10
|
-
* @property {string} [sub_type]
|
|
11
|
-
* @property {string} [type]
|
|
12
7
|
* @property {string} [uid]
|
|
13
8
|
*/
|
|
14
9
|
/**
|
|
15
|
-
* @typedef
|
|
16
|
-
* @property {string} [
|
|
17
|
-
* @property {
|
|
10
|
+
* @typedef PincodeMetaResponse
|
|
11
|
+
* @property {string} [zone]
|
|
12
|
+
* @property {number} [internal_zone_id]
|
|
18
13
|
*/
|
|
19
14
|
/**
|
|
20
|
-
* @typedef
|
|
21
|
-
* @property {
|
|
15
|
+
* @typedef PincodeErrorSchemaResponse
|
|
16
|
+
* @property {string} [message]
|
|
17
|
+
* @property {string} [value]
|
|
18
|
+
* @property {string} [type]
|
|
22
19
|
*/
|
|
23
20
|
/**
|
|
24
21
|
* @typedef CountryMetaResponse
|
|
@@ -26,388 +23,191 @@ export = LogisticApplicationModel;
|
|
|
26
23
|
* @property {string} [isd_code]
|
|
27
24
|
*/
|
|
28
25
|
/**
|
|
29
|
-
* @typedef
|
|
30
|
-
* @property {CurrencyObject} [currency]
|
|
31
|
-
* @property {string} [display_name]
|
|
32
|
-
* @property {CountryHierarchy[]} [hierarchy]
|
|
33
|
-
* @property {string} [id]
|
|
34
|
-
* @property {string} [iso2]
|
|
35
|
-
* @property {string} [iso3]
|
|
36
|
-
* @property {string} [latitude]
|
|
37
|
-
* @property {string} [longitude]
|
|
38
|
-
* @property {string} [name]
|
|
39
|
-
* @property {string} [phone_code]
|
|
40
|
-
* @property {string[]} [timezones]
|
|
41
|
-
* @property {string} [type]
|
|
42
|
-
*/
|
|
43
|
-
/**
|
|
44
|
-
* @typedef CurrencyObject
|
|
45
|
-
* @property {string} [code]
|
|
46
|
-
* @property {string} [name]
|
|
47
|
-
* @property {string} [symbol]
|
|
48
|
-
*/
|
|
49
|
-
/**
|
|
50
|
-
* @typedef DP
|
|
51
|
-
* @property {string} [area_code]
|
|
52
|
-
* @property {boolean} [assign_dp_from_sb]
|
|
53
|
-
* @property {string} [external_account_id]
|
|
54
|
-
* @property {number} fm_priority
|
|
55
|
-
* @property {string} [internal_account_id]
|
|
56
|
-
* @property {number} lm_priority
|
|
57
|
-
* @property {string[]} operations
|
|
58
|
-
* @property {string} payment_mode
|
|
59
|
-
* @property {number} rvp_priority
|
|
60
|
-
* @property {string} [transport_mode]
|
|
61
|
-
*/
|
|
62
|
-
/**
|
|
63
|
-
* @typedef ErrorResponse
|
|
64
|
-
* @property {string} [error]
|
|
65
|
-
*/
|
|
66
|
-
/**
|
|
67
|
-
* @typedef FieldValidation
|
|
68
|
-
* @property {FieldValidationRegex} [regex]
|
|
26
|
+
* @typedef PincodeLatLongData
|
|
69
27
|
* @property {string} [type]
|
|
28
|
+
* @property {string[]} [coordinates]
|
|
70
29
|
*/
|
|
71
30
|
/**
|
|
72
|
-
* @typedef
|
|
73
|
-
* @property {
|
|
74
|
-
* @property {
|
|
75
|
-
*/
|
|
76
|
-
/**
|
|
77
|
-
* @typedef GetCountries
|
|
78
|
-
* @property {CountryObject[]} [items]
|
|
79
|
-
* @property {Page} [page]
|
|
80
|
-
*/
|
|
81
|
-
/**
|
|
82
|
-
* @typedef GetCountry
|
|
83
|
-
* @property {CurrencyObject} [currency]
|
|
31
|
+
* @typedef PincodeDataResponse
|
|
32
|
+
* @property {PincodeParentsResponse[]} [parents]
|
|
33
|
+
* @property {PincodeMetaResponse} [meta]
|
|
84
34
|
* @property {string} [display_name]
|
|
85
|
-
* @property {
|
|
86
|
-
* @property {
|
|
87
|
-
* @property {
|
|
88
|
-
* @property {string} [
|
|
89
|
-
* @property {string} [iso3]
|
|
90
|
-
* @property {string} [latitude]
|
|
91
|
-
* @property {string} [longitude]
|
|
35
|
+
* @property {PincodeErrorSchemaResponse} error
|
|
36
|
+
* @property {CountryMetaResponse} [meta_code]
|
|
37
|
+
* @property {PincodeLatLongData} [lat_long]
|
|
38
|
+
* @property {string} [sub_type]
|
|
92
39
|
* @property {string} [name]
|
|
93
|
-
* @property {string} [
|
|
94
|
-
* @property {string[]} [timezones]
|
|
95
|
-
* @property {string} [type]
|
|
40
|
+
* @property {string} [uid]
|
|
96
41
|
*/
|
|
97
42
|
/**
|
|
98
|
-
* @typedef
|
|
99
|
-
* @property {
|
|
100
|
-
* @property {
|
|
101
|
-
* @property {
|
|
43
|
+
* @typedef PincodeApiResponse
|
|
44
|
+
* @property {boolean} success
|
|
45
|
+
* @property {PincodeDataResponse[]} [data]
|
|
46
|
+
* @property {PincodeErrorSchemaResponse} error
|
|
102
47
|
*/
|
|
103
48
|
/**
|
|
104
|
-
* @typedef
|
|
105
|
-
* @property {string}
|
|
106
|
-
* @property {
|
|
107
|
-
* @property {string} [error_text]
|
|
108
|
-
* @property {string} input
|
|
109
|
-
* @property {boolean} required
|
|
110
|
-
* @property {string} slug
|
|
111
|
-
* @property {FieldValidation} [validation]
|
|
112
|
-
* @property {GetCountryFieldsAddressValues} [values]
|
|
49
|
+
* @typedef TATCategoryRequest
|
|
50
|
+
* @property {string} [level]
|
|
51
|
+
* @property {number} [id]
|
|
113
52
|
*/
|
|
114
53
|
/**
|
|
115
|
-
* @typedef
|
|
116
|
-
* @property {
|
|
117
|
-
* @property {string}
|
|
118
|
-
* @property {
|
|
54
|
+
* @typedef TATArticlesRequest
|
|
55
|
+
* @property {TATCategoryRequest} [category]
|
|
56
|
+
* @property {string} [manufacturing_time_unit]
|
|
57
|
+
* @property {number} [manufacturing_time]
|
|
119
58
|
*/
|
|
120
59
|
/**
|
|
121
|
-
* @typedef
|
|
122
|
-
* @property {
|
|
123
|
-
* @property {
|
|
60
|
+
* @typedef TATLocationDetailsRequest
|
|
61
|
+
* @property {number} [fulfillment_id]
|
|
62
|
+
* @property {string} [from_pincode]
|
|
63
|
+
* @property {TATArticlesRequest[]} [articles]
|
|
124
64
|
*/
|
|
125
65
|
/**
|
|
126
|
-
* @typedef
|
|
127
|
-
* @property {
|
|
128
|
-
* @property {
|
|
66
|
+
* @typedef TATViewRequest
|
|
67
|
+
* @property {string} [to_pincode]
|
|
68
|
+
* @property {string} [source]
|
|
69
|
+
* @property {string} [action]
|
|
70
|
+
* @property {string} [identifier]
|
|
71
|
+
* @property {TATLocationDetailsRequest[]} [location_details]
|
|
72
|
+
* @property {string} [journey]
|
|
129
73
|
*/
|
|
130
74
|
/**
|
|
131
|
-
* @typedef
|
|
132
|
-
* @property {string} [
|
|
133
|
-
* @property {string} [
|
|
134
|
-
* @property {LocalityParent[]} [localities]
|
|
135
|
-
* @property {string} [name]
|
|
136
|
-
* @property {string[]} [parent_ids]
|
|
75
|
+
* @typedef TATErrorSchemaResponse
|
|
76
|
+
* @property {string} [message]
|
|
77
|
+
* @property {string} [value]
|
|
137
78
|
* @property {string} [type]
|
|
138
79
|
*/
|
|
139
80
|
/**
|
|
140
|
-
* @typedef
|
|
141
|
-
* @property {
|
|
142
|
-
* @property {
|
|
143
|
-
*/
|
|
144
|
-
/**
|
|
145
|
-
* @typedef GetOneOrAllParams
|
|
146
|
-
* @property {GetOneOrAllPath} [path]
|
|
147
|
-
* @property {GetOneOrAllQuery} [query]
|
|
148
|
-
*/
|
|
149
|
-
/**
|
|
150
|
-
* @typedef GetOneOrAllPath
|
|
151
|
-
* @property {string} [locality_type]
|
|
152
|
-
* @property {string} [locality_value]
|
|
153
|
-
*/
|
|
154
|
-
/**
|
|
155
|
-
* @typedef GetOneOrAllQuery
|
|
156
|
-
* @property {string} [city]
|
|
157
|
-
* @property {string} [country]
|
|
158
|
-
* @property {string} [sector]
|
|
159
|
-
* @property {string} [state]
|
|
81
|
+
* @typedef TATTimestampResponse
|
|
82
|
+
* @property {number} [min]
|
|
83
|
+
* @property {number} [max]
|
|
160
84
|
*/
|
|
161
85
|
/**
|
|
162
|
-
* @typedef
|
|
163
|
-
* @property {
|
|
164
|
-
* @property {
|
|
86
|
+
* @typedef TATFormattedResponse
|
|
87
|
+
* @property {string} [min]
|
|
88
|
+
* @property {string} [max]
|
|
165
89
|
*/
|
|
166
90
|
/**
|
|
167
|
-
* @typedef
|
|
168
|
-
* @property {
|
|
169
|
-
* @property {
|
|
91
|
+
* @typedef TATPromiseResponse
|
|
92
|
+
* @property {TATTimestampResponse} [timestamp]
|
|
93
|
+
* @property {TATFormattedResponse} [formatted]
|
|
170
94
|
*/
|
|
171
95
|
/**
|
|
172
|
-
* @typedef
|
|
173
|
-
* @property {string}
|
|
174
|
-
* @property {
|
|
96
|
+
* @typedef TATArticlesResponse
|
|
97
|
+
* @property {string} [manufacturing_time_unit]
|
|
98
|
+
* @property {TATErrorSchemaResponse} [error]
|
|
99
|
+
* @property {boolean} [is_cod_available]
|
|
100
|
+
* @property {TATPromiseResponse} [promise]
|
|
101
|
+
* @property {number} [manufacturing_time]
|
|
102
|
+
* @property {TATCategoryRequest} [category]
|
|
103
|
+
* @property {number} [_manufacturing_time_seconds]
|
|
175
104
|
*/
|
|
176
105
|
/**
|
|
177
|
-
* @typedef
|
|
178
|
-
* @property {number} [
|
|
179
|
-
* @property {
|
|
106
|
+
* @typedef TATLocationDetailsResponse
|
|
107
|
+
* @property {number} [fulfillment_id]
|
|
108
|
+
* @property {string} [from_pincode]
|
|
109
|
+
* @property {TATArticlesResponse[]} [articles]
|
|
180
110
|
*/
|
|
181
111
|
/**
|
|
182
|
-
* @typedef
|
|
183
|
-
* @property {string} [
|
|
184
|
-
* @property {string} [
|
|
185
|
-
* @property {string} [
|
|
186
|
-
* @property {
|
|
187
|
-
* @property {
|
|
112
|
+
* @typedef TATViewResponse
|
|
113
|
+
* @property {string} [to_pincode]
|
|
114
|
+
* @property {string} [request_uuid]
|
|
115
|
+
* @property {string} [payment_mode]
|
|
116
|
+
* @property {boolean} [success]
|
|
117
|
+
* @property {TATErrorSchemaResponse} [error]
|
|
118
|
+
* @property {boolean} [is_cod_available]
|
|
119
|
+
* @property {string} [source]
|
|
120
|
+
* @property {string} [action]
|
|
121
|
+
* @property {string} [stormbreaker_uuid]
|
|
122
|
+
* @property {string} [to_city]
|
|
123
|
+
* @property {string} [identifier]
|
|
124
|
+
* @property {TATLocationDetailsResponse[]} [location_details]
|
|
125
|
+
* @property {string} [journey]
|
|
188
126
|
*/
|
|
189
127
|
/**
|
|
190
|
-
* @typedef
|
|
191
|
-
* @property {
|
|
192
|
-
* @property {
|
|
193
|
-
* @property {
|
|
194
|
-
* @property {string
|
|
195
|
-
* @property {string}
|
|
128
|
+
* @typedef DP
|
|
129
|
+
* @property {number} fm_priority
|
|
130
|
+
* @property {number} lm_priority
|
|
131
|
+
* @property {number} rvp_priority
|
|
132
|
+
* @property {string} payment_mode
|
|
133
|
+
* @property {string[]} operations
|
|
134
|
+
* @property {string} [area_code]
|
|
135
|
+
* @property {boolean} [assign_dp_from_sb]
|
|
136
|
+
* @property {string} [internal_account_id]
|
|
137
|
+
* @property {string} [external_account_id]
|
|
138
|
+
* @property {string} [transport_mode]
|
|
196
139
|
*/
|
|
197
140
|
/**
|
|
198
141
|
* @typedef LogisticsResponse
|
|
199
142
|
* @property {Object} [dp]
|
|
200
143
|
*/
|
|
201
144
|
/**
|
|
202
|
-
* @typedef
|
|
203
|
-
* @property {
|
|
204
|
-
* @property {
|
|
205
|
-
* @property {boolean} [has_previous]
|
|
206
|
-
* @property {number} [item_total]
|
|
207
|
-
* @property {string} [next_id]
|
|
208
|
-
* @property {number} [size]
|
|
209
|
-
* @property {string} type
|
|
210
|
-
*/
|
|
211
|
-
/**
|
|
212
|
-
* @typedef PincodeApiResponse
|
|
213
|
-
* @property {PincodeDataResponse[]} [data]
|
|
214
|
-
* @property {PincodeErrorSchemaResponse} error
|
|
215
|
-
* @property {boolean} success
|
|
216
|
-
*/
|
|
217
|
-
/**
|
|
218
|
-
* @typedef PincodeDataResponse
|
|
145
|
+
* @typedef CountryEntityResponse
|
|
146
|
+
* @property {CountryMetaResponse} [meta]
|
|
147
|
+
* @property {LogisticsResponse} [logistics]
|
|
219
148
|
* @property {string} [display_name]
|
|
220
|
-
* @property {
|
|
221
|
-
* @property {
|
|
222
|
-
* @property {
|
|
223
|
-
* @property {CountryMetaResponse} [meta_code]
|
|
224
|
-
* @property {string} [name]
|
|
225
|
-
* @property {PincodeParentsResponse[]} [parents]
|
|
149
|
+
* @property {string} [type]
|
|
150
|
+
* @property {boolean} [is_active]
|
|
151
|
+
* @property {string} [parent_id]
|
|
226
152
|
* @property {string} [sub_type]
|
|
153
|
+
* @property {string} [name]
|
|
227
154
|
* @property {string} [uid]
|
|
228
155
|
*/
|
|
229
156
|
/**
|
|
230
|
-
* @typedef
|
|
231
|
-
* @property {
|
|
232
|
-
* @property {string} [type]
|
|
233
|
-
* @property {string} [value]
|
|
234
|
-
*/
|
|
235
|
-
/**
|
|
236
|
-
* @typedef PincodeLatLongData
|
|
237
|
-
* @property {string[]} [coordinates]
|
|
238
|
-
* @property {string} [type]
|
|
157
|
+
* @typedef CountryListResponse
|
|
158
|
+
* @property {CountryEntityResponse[]} [results]
|
|
239
159
|
*/
|
|
240
160
|
/**
|
|
241
|
-
* @typedef
|
|
242
|
-
* @property {
|
|
243
|
-
* @property {string}
|
|
161
|
+
* @typedef GetZoneFromPincodeViewRequest
|
|
162
|
+
* @property {string} pincode
|
|
163
|
+
* @property {string} country
|
|
244
164
|
*/
|
|
245
165
|
/**
|
|
246
|
-
* @typedef
|
|
247
|
-
* @property {string}
|
|
248
|
-
* @property {string}
|
|
249
|
-
* @property {string} [sub_type]
|
|
250
|
-
* @property {string} [uid]
|
|
166
|
+
* @typedef GetZoneFromPincodeViewResponse
|
|
167
|
+
* @property {string} serviceability_type
|
|
168
|
+
* @property {string[]} zones
|
|
251
169
|
*/
|
|
252
170
|
/**
|
|
253
171
|
* @typedef ReAssignStoreRequest
|
|
254
|
-
* @property {Object[]} articles
|
|
255
172
|
* @property {Object} configuration
|
|
256
|
-
* @property {string} identifier
|
|
257
|
-
* @property {number[]} ignored_locations
|
|
258
173
|
* @property {string} to_pincode
|
|
174
|
+
* @property {number[]} ignored_locations
|
|
175
|
+
* @property {string} identifier
|
|
176
|
+
* @property {Object[]} articles
|
|
259
177
|
*/
|
|
260
178
|
/**
|
|
261
179
|
* @typedef ReAssignStoreResponse
|
|
262
|
-
* @property {
|
|
263
|
-
* @property {Object} error
|
|
180
|
+
* @property {string} to_pincode
|
|
264
181
|
* @property {string} pystormbreaker_uuid
|
|
265
182
|
* @property {boolean} success
|
|
266
|
-
* @property {
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* @typedef StoreItemResponse
|
|
270
|
-
* @property {number} [company_id]
|
|
271
|
-
* @property {string} [fulfillment_type]
|
|
272
|
-
* @property {number} [id]
|
|
273
|
-
* @property {number} [latitude]
|
|
274
|
-
* @property {number} [longitude]
|
|
275
|
-
* @property {number} [processing_time]
|
|
276
|
-
* @property {string} [store_type]
|
|
277
|
-
* @property {string[]} [tags]
|
|
278
|
-
*/
|
|
279
|
-
/**
|
|
280
|
-
* @typedef TATArticlesRequest
|
|
281
|
-
* @property {TATCategoryRequest} [category]
|
|
282
|
-
* @property {number} [manufacturing_time]
|
|
283
|
-
* @property {string} [manufacturing_time_unit]
|
|
284
|
-
*/
|
|
285
|
-
/**
|
|
286
|
-
* @typedef TATArticlesResponse
|
|
287
|
-
* @property {number} [_manufacturing_time_seconds]
|
|
288
|
-
* @property {TATCategoryRequest} [category]
|
|
289
|
-
* @property {TATErrorSchemaResponse} [error]
|
|
290
|
-
* @property {boolean} [is_cod_available]
|
|
291
|
-
* @property {number} [manufacturing_time]
|
|
292
|
-
* @property {string} [manufacturing_time_unit]
|
|
293
|
-
* @property {TATPromiseResponse} [promise]
|
|
294
|
-
*/
|
|
295
|
-
/**
|
|
296
|
-
* @typedef TATCategoryRequest
|
|
297
|
-
* @property {number} [id]
|
|
298
|
-
* @property {string} [level]
|
|
299
|
-
*/
|
|
300
|
-
/**
|
|
301
|
-
* @typedef TATErrorSchemaResponse
|
|
302
|
-
* @property {string} [message]
|
|
303
|
-
* @property {string} [type]
|
|
304
|
-
* @property {string} [value]
|
|
305
|
-
*/
|
|
306
|
-
/**
|
|
307
|
-
* @typedef TATFormattedResponse
|
|
308
|
-
* @property {string} [max]
|
|
309
|
-
* @property {string} [min]
|
|
310
|
-
*/
|
|
311
|
-
/**
|
|
312
|
-
* @typedef TATLocationDetailsRequest
|
|
313
|
-
* @property {TATArticlesRequest[]} [articles]
|
|
314
|
-
* @property {string} [from_pincode]
|
|
315
|
-
* @property {number} [fulfillment_id]
|
|
316
|
-
*/
|
|
317
|
-
/**
|
|
318
|
-
* @typedef TATLocationDetailsResponse
|
|
319
|
-
* @property {TATArticlesResponse[]} [articles]
|
|
320
|
-
* @property {string} [from_pincode]
|
|
321
|
-
* @property {number} [fulfillment_id]
|
|
322
|
-
*/
|
|
323
|
-
/**
|
|
324
|
-
* @typedef TATPromiseResponse
|
|
325
|
-
* @property {TATFormattedResponse} [formatted]
|
|
326
|
-
* @property {TATTimestampResponse} [timestamp]
|
|
327
|
-
*/
|
|
328
|
-
/**
|
|
329
|
-
* @typedef TATTimestampResponse
|
|
330
|
-
* @property {number} [max]
|
|
331
|
-
* @property {number} [min]
|
|
332
|
-
*/
|
|
333
|
-
/**
|
|
334
|
-
* @typedef TATViewRequest
|
|
335
|
-
* @property {string} [action]
|
|
336
|
-
* @property {string} [identifier]
|
|
337
|
-
* @property {string} [journey]
|
|
338
|
-
* @property {TATLocationDetailsRequest[]} [location_details]
|
|
339
|
-
* @property {string} [source]
|
|
340
|
-
* @property {string} [to_pincode]
|
|
341
|
-
*/
|
|
342
|
-
/**
|
|
343
|
-
* @typedef TATViewResponse
|
|
344
|
-
* @property {string} [action]
|
|
345
|
-
* @property {TATErrorSchemaResponse} [error]
|
|
346
|
-
* @property {string} [identifier]
|
|
347
|
-
* @property {boolean} [is_cod_available]
|
|
348
|
-
* @property {string} [journey]
|
|
349
|
-
* @property {TATLocationDetailsResponse[]} [location_details]
|
|
350
|
-
* @property {string} [payment_mode]
|
|
351
|
-
* @property {string} [request_uuid]
|
|
352
|
-
* @property {string} [source]
|
|
353
|
-
* @property {string} [stormbreaker_uuid]
|
|
354
|
-
* @property {boolean} [success]
|
|
355
|
-
* @property {string} [to_city]
|
|
356
|
-
* @property {string} [to_pincode]
|
|
357
|
-
*/
|
|
358
|
-
/**
|
|
359
|
-
* @typedef ValidateAddressRequest
|
|
360
|
-
* @property {string} [address] - A string representing the complete address,
|
|
361
|
-
* combining address line 1, address line 2, area, landmark, sector, city,
|
|
362
|
-
* state, and pincode. This provides a comprehensive view of the address details.
|
|
363
|
-
* @property {string} [address1] - A string representing the first line of the
|
|
364
|
-
* address, typically containing street or building information.
|
|
365
|
-
* @property {string} [address2] - A string representing the second line of the
|
|
366
|
-
* address, which can be used for additional address details if needed.
|
|
367
|
-
* @property {string} [area] - A string specifying the locality or area
|
|
368
|
-
* associated with the address.
|
|
369
|
-
* @property {string} [city] - A string denoting the city or municipality of the address.
|
|
370
|
-
* @property {string} [email] - A string containing the recipient's email address.
|
|
371
|
-
* @property {string} [landmark] - A string representing a prominent nearby
|
|
372
|
-
* landmark that aids in locating the address.
|
|
373
|
-
* @property {string} [name] - A string representing the recipient's name or the
|
|
374
|
-
* organization name associated with the address.
|
|
375
|
-
* @property {string} [phone] - An integer representing the recipient's contact
|
|
376
|
-
* phone number.
|
|
377
|
-
* @property {string} [pincode] - A string indicating the postal code or PIN
|
|
378
|
-
* code of the address area.
|
|
379
|
-
* @property {string} [sector] - A string specifying the sector or district of
|
|
380
|
-
* the address if applicable.
|
|
381
|
-
* @property {string} [state] - A string indicating the state or province of the address.
|
|
183
|
+
* @property {Object} error
|
|
184
|
+
* @property {Object[]} [assigned_stores]
|
|
382
185
|
*/
|
|
383
186
|
declare class LogisticApplicationModel {
|
|
384
187
|
}
|
|
385
188
|
declare namespace LogisticApplicationModel {
|
|
386
|
-
export {
|
|
189
|
+
export { PincodeParentsResponse, PincodeMetaResponse, PincodeErrorSchemaResponse, CountryMetaResponse, PincodeLatLongData, PincodeDataResponse, PincodeApiResponse, TATCategoryRequest, TATArticlesRequest, TATLocationDetailsRequest, TATViewRequest, TATErrorSchemaResponse, TATTimestampResponse, TATFormattedResponse, TATPromiseResponse, TATArticlesResponse, TATLocationDetailsResponse, TATViewResponse, DP, LogisticsResponse, CountryEntityResponse, CountryListResponse, GetZoneFromPincodeViewRequest, GetZoneFromPincodeViewResponse, ReAssignStoreRequest, ReAssignStoreResponse };
|
|
387
190
|
}
|
|
388
|
-
/** @returns {
|
|
389
|
-
declare function
|
|
390
|
-
type
|
|
191
|
+
/** @returns {PincodeParentsResponse} */
|
|
192
|
+
declare function PincodeParentsResponse(): PincodeParentsResponse;
|
|
193
|
+
type PincodeParentsResponse = {
|
|
194
|
+
sub_type?: string;
|
|
391
195
|
display_name?: string;
|
|
392
|
-
is_active?: boolean;
|
|
393
|
-
logistics?: LogisticsResponse;
|
|
394
|
-
meta?: CountryMetaResponse;
|
|
395
196
|
name?: string;
|
|
396
|
-
parent_id?: string;
|
|
397
|
-
sub_type?: string;
|
|
398
|
-
type?: string;
|
|
399
197
|
uid?: string;
|
|
400
198
|
};
|
|
401
|
-
/** @returns {
|
|
402
|
-
declare function
|
|
403
|
-
type
|
|
404
|
-
|
|
405
|
-
|
|
199
|
+
/** @returns {PincodeMetaResponse} */
|
|
200
|
+
declare function PincodeMetaResponse(): PincodeMetaResponse;
|
|
201
|
+
type PincodeMetaResponse = {
|
|
202
|
+
zone?: string;
|
|
203
|
+
internal_zone_id?: number;
|
|
406
204
|
};
|
|
407
|
-
/** @returns {
|
|
408
|
-
declare function
|
|
409
|
-
type
|
|
410
|
-
|
|
205
|
+
/** @returns {PincodeErrorSchemaResponse} */
|
|
206
|
+
declare function PincodeErrorSchemaResponse(): PincodeErrorSchemaResponse;
|
|
207
|
+
type PincodeErrorSchemaResponse = {
|
|
208
|
+
message?: string;
|
|
209
|
+
value?: string;
|
|
210
|
+
type?: string;
|
|
411
211
|
};
|
|
412
212
|
/** @returns {CountryMetaResponse} */
|
|
413
213
|
declare function CountryMetaResponse(): CountryMetaResponse;
|
|
@@ -415,441 +215,186 @@ type CountryMetaResponse = {
|
|
|
415
215
|
country_code?: string;
|
|
416
216
|
isd_code?: string;
|
|
417
217
|
};
|
|
418
|
-
/** @returns {
|
|
419
|
-
declare function
|
|
420
|
-
type
|
|
421
|
-
currency?: CurrencyObject;
|
|
422
|
-
display_name?: string;
|
|
423
|
-
hierarchy?: CountryHierarchy[];
|
|
424
|
-
id?: string;
|
|
425
|
-
iso2?: string;
|
|
426
|
-
iso3?: string;
|
|
427
|
-
latitude?: string;
|
|
428
|
-
longitude?: string;
|
|
429
|
-
name?: string;
|
|
430
|
-
phone_code?: string;
|
|
431
|
-
timezones?: string[];
|
|
432
|
-
type?: string;
|
|
433
|
-
};
|
|
434
|
-
/** @returns {CurrencyObject} */
|
|
435
|
-
declare function CurrencyObject(): CurrencyObject;
|
|
436
|
-
type CurrencyObject = {
|
|
437
|
-
code?: string;
|
|
438
|
-
name?: string;
|
|
439
|
-
symbol?: string;
|
|
440
|
-
};
|
|
441
|
-
/** @returns {DP} */
|
|
442
|
-
declare function DP(): DP;
|
|
443
|
-
type DP = {
|
|
444
|
-
area_code?: string;
|
|
445
|
-
assign_dp_from_sb?: boolean;
|
|
446
|
-
external_account_id?: string;
|
|
447
|
-
fm_priority: number;
|
|
448
|
-
internal_account_id?: string;
|
|
449
|
-
lm_priority: number;
|
|
450
|
-
operations: string[];
|
|
451
|
-
payment_mode: string;
|
|
452
|
-
rvp_priority: number;
|
|
453
|
-
transport_mode?: string;
|
|
454
|
-
};
|
|
455
|
-
/** @returns {ErrorResponse} */
|
|
456
|
-
declare function ErrorResponse(): ErrorResponse;
|
|
457
|
-
type ErrorResponse = {
|
|
458
|
-
error?: string;
|
|
459
|
-
};
|
|
460
|
-
/** @returns {FieldValidation} */
|
|
461
|
-
declare function FieldValidation(): FieldValidation;
|
|
462
|
-
type FieldValidation = {
|
|
463
|
-
regex?: FieldValidationRegex;
|
|
464
|
-
type?: string;
|
|
465
|
-
};
|
|
466
|
-
/** @returns {FieldValidationRegex} */
|
|
467
|
-
declare function FieldValidationRegex(): FieldValidationRegex;
|
|
468
|
-
type FieldValidationRegex = {
|
|
469
|
-
length?: LengthValidation;
|
|
470
|
-
value?: string;
|
|
471
|
-
};
|
|
472
|
-
/** @returns {GetCountries} */
|
|
473
|
-
declare function GetCountries(): GetCountries;
|
|
474
|
-
type GetCountries = {
|
|
475
|
-
items?: CountryObject[];
|
|
476
|
-
page?: Page;
|
|
477
|
-
};
|
|
478
|
-
/** @returns {GetCountry} */
|
|
479
|
-
declare function GetCountry(): GetCountry;
|
|
480
|
-
type GetCountry = {
|
|
481
|
-
currency?: CurrencyObject;
|
|
482
|
-
display_name?: string;
|
|
483
|
-
fields?: GetCountryFields;
|
|
484
|
-
hierarchy?: CountryHierarchy[];
|
|
485
|
-
id?: string;
|
|
486
|
-
iso2?: string;
|
|
487
|
-
iso3?: string;
|
|
488
|
-
latitude?: string;
|
|
489
|
-
longitude?: string;
|
|
490
|
-
name?: string;
|
|
491
|
-
phone_code?: string;
|
|
492
|
-
timezones?: string[];
|
|
493
|
-
type?: string;
|
|
494
|
-
};
|
|
495
|
-
/** @returns {GetCountryFields} */
|
|
496
|
-
declare function GetCountryFields(): GetCountryFields;
|
|
497
|
-
type GetCountryFields = {
|
|
498
|
-
address: GetCountryFieldsAddress[];
|
|
499
|
-
address_template: GetCountryFieldsAddressTemplate;
|
|
500
|
-
serviceability_fields: string[];
|
|
501
|
-
};
|
|
502
|
-
/** @returns {GetCountryFieldsAddress} */
|
|
503
|
-
declare function GetCountryFieldsAddress(): GetCountryFieldsAddress;
|
|
504
|
-
type GetCountryFieldsAddress = {
|
|
505
|
-
display_name: string;
|
|
506
|
-
edit?: boolean;
|
|
507
|
-
error_text?: string;
|
|
508
|
-
input: string;
|
|
509
|
-
required: boolean;
|
|
510
|
-
slug: string;
|
|
511
|
-
validation?: FieldValidation;
|
|
512
|
-
values?: GetCountryFieldsAddressValues;
|
|
513
|
-
};
|
|
514
|
-
/** @returns {GetCountryFieldsAddressTemplate} */
|
|
515
|
-
declare function GetCountryFieldsAddressTemplate(): GetCountryFieldsAddressTemplate;
|
|
516
|
-
type GetCountryFieldsAddressTemplate = {
|
|
517
|
-
checkout_form: string;
|
|
518
|
-
default_display: string;
|
|
519
|
-
store_os_form: string;
|
|
520
|
-
};
|
|
521
|
-
/** @returns {GetCountryFieldsAddressValues} */
|
|
522
|
-
declare function GetCountryFieldsAddressValues(): GetCountryFieldsAddressValues;
|
|
523
|
-
type GetCountryFieldsAddressValues = {
|
|
524
|
-
get_all?: GetOneOrAll;
|
|
525
|
-
get_one?: GetOneOrAll;
|
|
526
|
-
};
|
|
527
|
-
/** @returns {GetLocalities} */
|
|
528
|
-
declare function GetLocalities(): GetLocalities;
|
|
529
|
-
type GetLocalities = {
|
|
530
|
-
items?: Localities[];
|
|
531
|
-
page?: Page;
|
|
532
|
-
};
|
|
533
|
-
/** @returns {GetLocality} */
|
|
534
|
-
declare function GetLocality(): GetLocality;
|
|
535
|
-
type GetLocality = {
|
|
536
|
-
display_name?: string;
|
|
537
|
-
id?: string;
|
|
538
|
-
localities?: LocalityParent[];
|
|
539
|
-
name?: string;
|
|
540
|
-
parent_ids?: string[];
|
|
541
|
-
type?: string;
|
|
542
|
-
};
|
|
543
|
-
/** @returns {GetOneOrAll} */
|
|
544
|
-
declare function GetOneOrAll(): GetOneOrAll;
|
|
545
|
-
type GetOneOrAll = {
|
|
546
|
-
operation_id?: string;
|
|
547
|
-
params?: GetOneOrAllParams;
|
|
548
|
-
};
|
|
549
|
-
/** @returns {GetOneOrAllParams} */
|
|
550
|
-
declare function GetOneOrAllParams(): GetOneOrAllParams;
|
|
551
|
-
type GetOneOrAllParams = {
|
|
552
|
-
path?: GetOneOrAllPath;
|
|
553
|
-
query?: GetOneOrAllQuery;
|
|
554
|
-
};
|
|
555
|
-
/** @returns {GetOneOrAllPath} */
|
|
556
|
-
declare function GetOneOrAllPath(): GetOneOrAllPath;
|
|
557
|
-
type GetOneOrAllPath = {
|
|
558
|
-
locality_type?: string;
|
|
559
|
-
locality_value?: string;
|
|
560
|
-
};
|
|
561
|
-
/** @returns {GetOneOrAllQuery} */
|
|
562
|
-
declare function GetOneOrAllQuery(): GetOneOrAllQuery;
|
|
563
|
-
type GetOneOrAllQuery = {
|
|
564
|
-
city?: string;
|
|
565
|
-
country?: string;
|
|
566
|
-
sector?: string;
|
|
567
|
-
state?: string;
|
|
568
|
-
};
|
|
569
|
-
/** @returns {GetStoreResponse} */
|
|
570
|
-
declare function GetStoreResponse(): GetStoreResponse;
|
|
571
|
-
type GetStoreResponse = {
|
|
572
|
-
items?: StoreItemResponse[];
|
|
573
|
-
page?: Page;
|
|
574
|
-
};
|
|
575
|
-
/** @returns {GetZoneFromPincodeViewRequest} */
|
|
576
|
-
declare function GetZoneFromPincodeViewRequest(): GetZoneFromPincodeViewRequest;
|
|
577
|
-
type GetZoneFromPincodeViewRequest = {
|
|
578
|
-
country: string;
|
|
579
|
-
pincode: string;
|
|
580
|
-
};
|
|
581
|
-
/** @returns {GetZoneFromPincodeViewResponse} */
|
|
582
|
-
declare function GetZoneFromPincodeViewResponse(): GetZoneFromPincodeViewResponse;
|
|
583
|
-
type GetZoneFromPincodeViewResponse = {
|
|
584
|
-
serviceability_type: string;
|
|
585
|
-
zones: string[];
|
|
586
|
-
};
|
|
587
|
-
/** @returns {LengthValidation} */
|
|
588
|
-
declare function LengthValidation(): LengthValidation;
|
|
589
|
-
type LengthValidation = {
|
|
590
|
-
max?: number;
|
|
591
|
-
min?: number;
|
|
592
|
-
};
|
|
593
|
-
/** @returns {Localities} */
|
|
594
|
-
declare function Localities(): Localities;
|
|
595
|
-
type Localities = {
|
|
596
|
-
display_name?: string;
|
|
597
|
-
id?: string;
|
|
598
|
-
name?: string;
|
|
599
|
-
parent_ids?: string[];
|
|
600
|
-
type?: string;
|
|
601
|
-
};
|
|
602
|
-
/** @returns {LocalityParent} */
|
|
603
|
-
declare function LocalityParent(): LocalityParent;
|
|
604
|
-
type LocalityParent = {
|
|
605
|
-
display_name?: string;
|
|
606
|
-
id?: string;
|
|
607
|
-
name?: string;
|
|
608
|
-
parent_ids?: string[];
|
|
218
|
+
/** @returns {PincodeLatLongData} */
|
|
219
|
+
declare function PincodeLatLongData(): PincodeLatLongData;
|
|
220
|
+
type PincodeLatLongData = {
|
|
609
221
|
type?: string;
|
|
610
|
-
|
|
611
|
-
/** @returns {LogisticsResponse} */
|
|
612
|
-
declare function LogisticsResponse(): LogisticsResponse;
|
|
613
|
-
type LogisticsResponse = {
|
|
614
|
-
dp?: any;
|
|
615
|
-
};
|
|
616
|
-
/** @returns {Page} */
|
|
617
|
-
declare function Page(): Page;
|
|
618
|
-
type Page = {
|
|
619
|
-
current?: number;
|
|
620
|
-
has_next?: boolean;
|
|
621
|
-
has_previous?: boolean;
|
|
622
|
-
item_total?: number;
|
|
623
|
-
next_id?: string;
|
|
624
|
-
size?: number;
|
|
625
|
-
type: string;
|
|
626
|
-
};
|
|
627
|
-
/** @returns {PincodeApiResponse} */
|
|
628
|
-
declare function PincodeApiResponse(): PincodeApiResponse;
|
|
629
|
-
type PincodeApiResponse = {
|
|
630
|
-
data?: PincodeDataResponse[];
|
|
631
|
-
error: PincodeErrorSchemaResponse;
|
|
632
|
-
success: boolean;
|
|
222
|
+
coordinates?: string[];
|
|
633
223
|
};
|
|
634
224
|
/** @returns {PincodeDataResponse} */
|
|
635
225
|
declare function PincodeDataResponse(): PincodeDataResponse;
|
|
636
226
|
type PincodeDataResponse = {
|
|
227
|
+
parents?: PincodeParentsResponse[];
|
|
228
|
+
meta?: PincodeMetaResponse;
|
|
637
229
|
display_name?: string;
|
|
638
230
|
error: PincodeErrorSchemaResponse;
|
|
639
|
-
lat_long?: PincodeLatLongData;
|
|
640
|
-
meta?: PincodeMetaResponse;
|
|
641
231
|
meta_code?: CountryMetaResponse;
|
|
642
|
-
|
|
643
|
-
parents?: PincodeParentsResponse[];
|
|
232
|
+
lat_long?: PincodeLatLongData;
|
|
644
233
|
sub_type?: string;
|
|
645
|
-
uid?: string;
|
|
646
|
-
};
|
|
647
|
-
/** @returns {PincodeErrorSchemaResponse} */
|
|
648
|
-
declare function PincodeErrorSchemaResponse(): PincodeErrorSchemaResponse;
|
|
649
|
-
type PincodeErrorSchemaResponse = {
|
|
650
|
-
message?: string;
|
|
651
|
-
type?: string;
|
|
652
|
-
value?: string;
|
|
653
|
-
};
|
|
654
|
-
/** @returns {PincodeLatLongData} */
|
|
655
|
-
declare function PincodeLatLongData(): PincodeLatLongData;
|
|
656
|
-
type PincodeLatLongData = {
|
|
657
|
-
coordinates?: string[];
|
|
658
|
-
type?: string;
|
|
659
|
-
};
|
|
660
|
-
/** @returns {PincodeMetaResponse} */
|
|
661
|
-
declare function PincodeMetaResponse(): PincodeMetaResponse;
|
|
662
|
-
type PincodeMetaResponse = {
|
|
663
|
-
internal_zone_id?: number;
|
|
664
|
-
zone?: string;
|
|
665
|
-
};
|
|
666
|
-
/** @returns {PincodeParentsResponse} */
|
|
667
|
-
declare function PincodeParentsResponse(): PincodeParentsResponse;
|
|
668
|
-
type PincodeParentsResponse = {
|
|
669
|
-
display_name?: string;
|
|
670
234
|
name?: string;
|
|
671
|
-
sub_type?: string;
|
|
672
235
|
uid?: string;
|
|
673
236
|
};
|
|
674
|
-
/** @returns {
|
|
675
|
-
declare function
|
|
676
|
-
type
|
|
677
|
-
articles: any[];
|
|
678
|
-
configuration: any;
|
|
679
|
-
identifier: string;
|
|
680
|
-
ignored_locations: number[];
|
|
681
|
-
to_pincode: string;
|
|
682
|
-
};
|
|
683
|
-
/** @returns {ReAssignStoreResponse} */
|
|
684
|
-
declare function ReAssignStoreResponse(): ReAssignStoreResponse;
|
|
685
|
-
type ReAssignStoreResponse = {
|
|
686
|
-
assigned_stores?: any[];
|
|
687
|
-
error: any;
|
|
688
|
-
pystormbreaker_uuid: string;
|
|
237
|
+
/** @returns {PincodeApiResponse} */
|
|
238
|
+
declare function PincodeApiResponse(): PincodeApiResponse;
|
|
239
|
+
type PincodeApiResponse = {
|
|
689
240
|
success: boolean;
|
|
690
|
-
|
|
241
|
+
data?: PincodeDataResponse[];
|
|
242
|
+
error: PincodeErrorSchemaResponse;
|
|
691
243
|
};
|
|
692
|
-
/** @returns {
|
|
693
|
-
declare function
|
|
694
|
-
type
|
|
695
|
-
|
|
696
|
-
fulfillment_type?: string;
|
|
244
|
+
/** @returns {TATCategoryRequest} */
|
|
245
|
+
declare function TATCategoryRequest(): TATCategoryRequest;
|
|
246
|
+
type TATCategoryRequest = {
|
|
247
|
+
level?: string;
|
|
697
248
|
id?: number;
|
|
698
|
-
latitude?: number;
|
|
699
|
-
longitude?: number;
|
|
700
|
-
processing_time?: number;
|
|
701
|
-
store_type?: string;
|
|
702
|
-
tags?: string[];
|
|
703
249
|
};
|
|
704
250
|
/** @returns {TATArticlesRequest} */
|
|
705
251
|
declare function TATArticlesRequest(): TATArticlesRequest;
|
|
706
252
|
type TATArticlesRequest = {
|
|
707
253
|
category?: TATCategoryRequest;
|
|
708
|
-
manufacturing_time?: number;
|
|
709
254
|
manufacturing_time_unit?: string;
|
|
710
|
-
};
|
|
711
|
-
/** @returns {TATArticlesResponse} */
|
|
712
|
-
declare function TATArticlesResponse(): TATArticlesResponse;
|
|
713
|
-
type TATArticlesResponse = {
|
|
714
|
-
_manufacturing_time_seconds?: number;
|
|
715
|
-
category?: TATCategoryRequest;
|
|
716
|
-
error?: TATErrorSchemaResponse;
|
|
717
|
-
is_cod_available?: boolean;
|
|
718
255
|
manufacturing_time?: number;
|
|
719
|
-
manufacturing_time_unit?: string;
|
|
720
|
-
promise?: TATPromiseResponse;
|
|
721
256
|
};
|
|
722
|
-
/** @returns {
|
|
723
|
-
declare function
|
|
724
|
-
type
|
|
725
|
-
|
|
726
|
-
|
|
257
|
+
/** @returns {TATLocationDetailsRequest} */
|
|
258
|
+
declare function TATLocationDetailsRequest(): TATLocationDetailsRequest;
|
|
259
|
+
type TATLocationDetailsRequest = {
|
|
260
|
+
fulfillment_id?: number;
|
|
261
|
+
from_pincode?: string;
|
|
262
|
+
articles?: TATArticlesRequest[];
|
|
263
|
+
};
|
|
264
|
+
/** @returns {TATViewRequest} */
|
|
265
|
+
declare function TATViewRequest(): TATViewRequest;
|
|
266
|
+
type TATViewRequest = {
|
|
267
|
+
to_pincode?: string;
|
|
268
|
+
source?: string;
|
|
269
|
+
action?: string;
|
|
270
|
+
identifier?: string;
|
|
271
|
+
location_details?: TATLocationDetailsRequest[];
|
|
272
|
+
journey?: string;
|
|
727
273
|
};
|
|
728
274
|
/** @returns {TATErrorSchemaResponse} */
|
|
729
275
|
declare function TATErrorSchemaResponse(): TATErrorSchemaResponse;
|
|
730
276
|
type TATErrorSchemaResponse = {
|
|
731
277
|
message?: string;
|
|
732
|
-
type?: string;
|
|
733
278
|
value?: string;
|
|
279
|
+
type?: string;
|
|
280
|
+
};
|
|
281
|
+
/** @returns {TATTimestampResponse} */
|
|
282
|
+
declare function TATTimestampResponse(): TATTimestampResponse;
|
|
283
|
+
type TATTimestampResponse = {
|
|
284
|
+
min?: number;
|
|
285
|
+
max?: number;
|
|
734
286
|
};
|
|
735
287
|
/** @returns {TATFormattedResponse} */
|
|
736
288
|
declare function TATFormattedResponse(): TATFormattedResponse;
|
|
737
289
|
type TATFormattedResponse = {
|
|
738
|
-
max?: string;
|
|
739
290
|
min?: string;
|
|
740
|
-
|
|
741
|
-
/** @returns {TATLocationDetailsRequest} */
|
|
742
|
-
declare function TATLocationDetailsRequest(): TATLocationDetailsRequest;
|
|
743
|
-
type TATLocationDetailsRequest = {
|
|
744
|
-
articles?: TATArticlesRequest[];
|
|
745
|
-
from_pincode?: string;
|
|
746
|
-
fulfillment_id?: number;
|
|
747
|
-
};
|
|
748
|
-
/** @returns {TATLocationDetailsResponse} */
|
|
749
|
-
declare function TATLocationDetailsResponse(): TATLocationDetailsResponse;
|
|
750
|
-
type TATLocationDetailsResponse = {
|
|
751
|
-
articles?: TATArticlesResponse[];
|
|
752
|
-
from_pincode?: string;
|
|
753
|
-
fulfillment_id?: number;
|
|
291
|
+
max?: string;
|
|
754
292
|
};
|
|
755
293
|
/** @returns {TATPromiseResponse} */
|
|
756
294
|
declare function TATPromiseResponse(): TATPromiseResponse;
|
|
757
295
|
type TATPromiseResponse = {
|
|
758
|
-
formatted?: TATFormattedResponse;
|
|
759
296
|
timestamp?: TATTimestampResponse;
|
|
297
|
+
formatted?: TATFormattedResponse;
|
|
760
298
|
};
|
|
761
|
-
/** @returns {
|
|
762
|
-
declare function
|
|
763
|
-
type
|
|
764
|
-
|
|
765
|
-
|
|
299
|
+
/** @returns {TATArticlesResponse} */
|
|
300
|
+
declare function TATArticlesResponse(): TATArticlesResponse;
|
|
301
|
+
type TATArticlesResponse = {
|
|
302
|
+
manufacturing_time_unit?: string;
|
|
303
|
+
error?: TATErrorSchemaResponse;
|
|
304
|
+
is_cod_available?: boolean;
|
|
305
|
+
promise?: TATPromiseResponse;
|
|
306
|
+
manufacturing_time?: number;
|
|
307
|
+
category?: TATCategoryRequest;
|
|
308
|
+
_manufacturing_time_seconds?: number;
|
|
766
309
|
};
|
|
767
|
-
/** @returns {
|
|
768
|
-
declare function
|
|
769
|
-
type
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
location_details?: TATLocationDetailsRequest[];
|
|
774
|
-
source?: string;
|
|
775
|
-
to_pincode?: string;
|
|
310
|
+
/** @returns {TATLocationDetailsResponse} */
|
|
311
|
+
declare function TATLocationDetailsResponse(): TATLocationDetailsResponse;
|
|
312
|
+
type TATLocationDetailsResponse = {
|
|
313
|
+
fulfillment_id?: number;
|
|
314
|
+
from_pincode?: string;
|
|
315
|
+
articles?: TATArticlesResponse[];
|
|
776
316
|
};
|
|
777
317
|
/** @returns {TATViewResponse} */
|
|
778
318
|
declare function TATViewResponse(): TATViewResponse;
|
|
779
319
|
type TATViewResponse = {
|
|
780
|
-
|
|
320
|
+
to_pincode?: string;
|
|
321
|
+
request_uuid?: string;
|
|
322
|
+
payment_mode?: string;
|
|
323
|
+
success?: boolean;
|
|
781
324
|
error?: TATErrorSchemaResponse;
|
|
782
|
-
identifier?: string;
|
|
783
325
|
is_cod_available?: boolean;
|
|
784
|
-
journey?: string;
|
|
785
|
-
location_details?: TATLocationDetailsResponse[];
|
|
786
|
-
payment_mode?: string;
|
|
787
|
-
request_uuid?: string;
|
|
788
326
|
source?: string;
|
|
327
|
+
action?: string;
|
|
789
328
|
stormbreaker_uuid?: string;
|
|
790
|
-
success?: boolean;
|
|
791
329
|
to_city?: string;
|
|
792
|
-
|
|
330
|
+
identifier?: string;
|
|
331
|
+
location_details?: TATLocationDetailsResponse[];
|
|
332
|
+
journey?: string;
|
|
333
|
+
};
|
|
334
|
+
/** @returns {DP} */
|
|
335
|
+
declare function DP(): DP;
|
|
336
|
+
type DP = {
|
|
337
|
+
fm_priority: number;
|
|
338
|
+
lm_priority: number;
|
|
339
|
+
rvp_priority: number;
|
|
340
|
+
payment_mode: string;
|
|
341
|
+
operations: string[];
|
|
342
|
+
area_code?: string;
|
|
343
|
+
assign_dp_from_sb?: boolean;
|
|
344
|
+
internal_account_id?: string;
|
|
345
|
+
external_account_id?: string;
|
|
346
|
+
transport_mode?: string;
|
|
347
|
+
};
|
|
348
|
+
/** @returns {LogisticsResponse} */
|
|
349
|
+
declare function LogisticsResponse(): LogisticsResponse;
|
|
350
|
+
type LogisticsResponse = {
|
|
351
|
+
dp?: any;
|
|
793
352
|
};
|
|
794
|
-
/** @returns {
|
|
795
|
-
declare function
|
|
796
|
-
type
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
* - A string representing the first line of the
|
|
805
|
-
* address, typically containing street or building information.
|
|
806
|
-
*/
|
|
807
|
-
address1?: string;
|
|
808
|
-
/**
|
|
809
|
-
* - A string representing the second line of the
|
|
810
|
-
* address, which can be used for additional address details if needed.
|
|
811
|
-
*/
|
|
812
|
-
address2?: string;
|
|
813
|
-
/**
|
|
814
|
-
* - A string specifying the locality or area
|
|
815
|
-
* associated with the address.
|
|
816
|
-
*/
|
|
817
|
-
area?: string;
|
|
818
|
-
/**
|
|
819
|
-
* - A string denoting the city or municipality of the address.
|
|
820
|
-
*/
|
|
821
|
-
city?: string;
|
|
822
|
-
/**
|
|
823
|
-
* - A string containing the recipient's email address.
|
|
824
|
-
*/
|
|
825
|
-
email?: string;
|
|
826
|
-
/**
|
|
827
|
-
* - A string representing a prominent nearby
|
|
828
|
-
* landmark that aids in locating the address.
|
|
829
|
-
*/
|
|
830
|
-
landmark?: string;
|
|
831
|
-
/**
|
|
832
|
-
* - A string representing the recipient's name or the
|
|
833
|
-
* organization name associated with the address.
|
|
834
|
-
*/
|
|
353
|
+
/** @returns {CountryEntityResponse} */
|
|
354
|
+
declare function CountryEntityResponse(): CountryEntityResponse;
|
|
355
|
+
type CountryEntityResponse = {
|
|
356
|
+
meta?: CountryMetaResponse;
|
|
357
|
+
logistics?: LogisticsResponse;
|
|
358
|
+
display_name?: string;
|
|
359
|
+
type?: string;
|
|
360
|
+
is_active?: boolean;
|
|
361
|
+
parent_id?: string;
|
|
362
|
+
sub_type?: string;
|
|
835
363
|
name?: string;
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
364
|
+
uid?: string;
|
|
365
|
+
};
|
|
366
|
+
/** @returns {CountryListResponse} */
|
|
367
|
+
declare function CountryListResponse(): CountryListResponse;
|
|
368
|
+
type CountryListResponse = {
|
|
369
|
+
results?: CountryEntityResponse[];
|
|
370
|
+
};
|
|
371
|
+
/** @returns {GetZoneFromPincodeViewRequest} */
|
|
372
|
+
declare function GetZoneFromPincodeViewRequest(): GetZoneFromPincodeViewRequest;
|
|
373
|
+
type GetZoneFromPincodeViewRequest = {
|
|
374
|
+
pincode: string;
|
|
375
|
+
country: string;
|
|
376
|
+
};
|
|
377
|
+
/** @returns {GetZoneFromPincodeViewResponse} */
|
|
378
|
+
declare function GetZoneFromPincodeViewResponse(): GetZoneFromPincodeViewResponse;
|
|
379
|
+
type GetZoneFromPincodeViewResponse = {
|
|
380
|
+
serviceability_type: string;
|
|
381
|
+
zones: string[];
|
|
382
|
+
};
|
|
383
|
+
/** @returns {ReAssignStoreRequest} */
|
|
384
|
+
declare function ReAssignStoreRequest(): ReAssignStoreRequest;
|
|
385
|
+
type ReAssignStoreRequest = {
|
|
386
|
+
configuration: any;
|
|
387
|
+
to_pincode: string;
|
|
388
|
+
ignored_locations: number[];
|
|
389
|
+
identifier: string;
|
|
390
|
+
articles: any[];
|
|
391
|
+
};
|
|
392
|
+
/** @returns {ReAssignStoreResponse} */
|
|
393
|
+
declare function ReAssignStoreResponse(): ReAssignStoreResponse;
|
|
394
|
+
type ReAssignStoreResponse = {
|
|
395
|
+
to_pincode: string;
|
|
396
|
+
pystormbreaker_uuid: string;
|
|
397
|
+
success: boolean;
|
|
398
|
+
error: any;
|
|
399
|
+
assigned_stores?: any[];
|
|
855
400
|
};
|