@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.
Files changed (189) hide show
  1. package/README.md +26 -1
  2. package/package.json +2 -2
  3. package/sdk/application/ApplicationClient.d.ts +8 -0
  4. package/sdk/application/ApplicationClient.js +14 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +20 -20
  6. package/sdk/application/Cart/CartApplicationClient.js +20 -20
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +2446 -664
  8. package/sdk/application/Cart/CartApplicationModel.js +783 -552
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +268 -194
  10. package/sdk/application/Cart/CartApplicationValidator.js +100 -114
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +53 -53
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +53 -53
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2012 -503
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +603 -453
  15. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +64 -64
  16. package/sdk/application/Catalog/CatalogApplicationValidator.js +32 -32
  17. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  18. package/sdk/application/Common/CommonApplicationClient.js +2 -2
  19. package/sdk/application/Common/CommonApplicationModel.d.ts +170 -90
  20. package/sdk/application/Common/CommonApplicationModel.js +59 -58
  21. package/sdk/application/Common/CommonApplicationValidator.d.ts +8 -5
  22. package/sdk/application/Common/CommonApplicationValidator.js +3 -3
  23. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
  24. package/sdk/application/Communication/CommunicationApplicationClient.js +2 -2
  25. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +170 -35
  26. package/sdk/application/Communication/CommunicationApplicationModel.js +54 -33
  27. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +15 -15
  28. package/sdk/application/Configuration/ConfigurationApplicationClient.js +15 -15
  29. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +624 -443
  30. package/sdk/application/Configuration/ConfigurationApplicationModel.js +259 -248
  31. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +32 -24
  32. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +14 -13
  33. package/sdk/application/Content/ContentApplicationClient.d.ts +16 -16
  34. package/sdk/application/Content/ContentApplicationClient.js +16 -16
  35. package/sdk/application/Content/ContentApplicationModel.d.ts +1205 -282
  36. package/sdk/application/Content/ContentApplicationModel.js +341 -277
  37. package/sdk/application/Content/ContentApplicationValidator.d.ts +28 -17
  38. package/sdk/application/Content/ContentApplicationValidator.js +11 -10
  39. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
  40. package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
  41. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +146 -37
  42. package/sdk/application/FileStorage/FileStorageApplicationModel.js +38 -36
  43. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
  44. package/sdk/application/Lead/LeadApplicationClient.js +3 -3
  45. package/sdk/application/Lead/LeadApplicationModel.d.ts +195 -134
  46. package/sdk/application/Lead/LeadApplicationModel.js +110 -67
  47. package/sdk/application/Lead/LeadApplicationValidator.d.ts +8 -8
  48. package/sdk/application/Lead/LeadApplicationValidator.js +4 -4
  49. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -10
  50. package/sdk/application/Logistic/LogisticApplicationClient.js +10 -10
  51. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +1039 -221
  52. package/sdk/application/Logistic/LogisticApplicationModel.js +342 -199
  53. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +76 -82
  54. package/sdk/application/Logistic/LogisticApplicationValidator.js +38 -41
  55. package/sdk/application/Order/OrderApplicationClient.d.ts +10 -10
  56. package/sdk/application/Order/OrderApplicationClient.js +10 -10
  57. package/sdk/application/Order/OrderApplicationModel.d.ts +1400 -325
  58. package/sdk/application/Order/OrderApplicationModel.js +391 -317
  59. package/sdk/application/Order/OrderApplicationValidator.d.ts +32 -30
  60. package/sdk/application/Order/OrderApplicationValidator.js +15 -14
  61. package/sdk/application/Payment/PaymentApplicationClient.d.ts +43 -43
  62. package/sdk/application/Payment/PaymentApplicationClient.js +43 -43
  63. package/sdk/application/Payment/PaymentApplicationModel.d.ts +1111 -1022
  64. package/sdk/application/Payment/PaymentApplicationModel.js +537 -521
  65. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +82 -49
  66. package/sdk/application/Payment/PaymentApplicationValidator.js +30 -30
  67. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +28 -7
  68. package/sdk/application/Rewards/RewardsApplicationModel.js +7 -7
  69. package/sdk/application/Share/ShareApplicationModel.d.ts +178 -38
  70. package/sdk/application/Share/ShareApplicationModel.js +53 -37
  71. package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -2
  72. package/sdk/application/Share/ShareApplicationValidator.js +2 -1
  73. package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
  74. package/sdk/application/Theme/ThemeApplicationClient.js +14 -8
  75. package/sdk/application/Theme/ThemeApplicationModel.d.ts +528 -287
  76. package/sdk/application/Theme/ThemeApplicationModel.js +208 -172
  77. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +17 -12
  78. package/sdk/application/Theme/ThemeApplicationValidator.js +8 -6
  79. package/sdk/application/User/UserApplicationClient.d.ts +36 -36
  80. package/sdk/application/User/UserApplicationClient.js +36 -36
  81. package/sdk/application/User/UserApplicationModel.d.ts +1062 -255
  82. package/sdk/application/User/UserApplicationModel.js +298 -244
  83. package/sdk/application/User/UserApplicationValidator.d.ts +80 -80
  84. package/sdk/application/User/UserApplicationValidator.js +40 -40
  85. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
  86. package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
  87. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +20 -5
  88. package/sdk/application/Webhook/WebhookApplicationModel.js +5 -5
  89. package/sdk/common/Clickstream.js +95 -15
  90. package/sdk/common/Constant.d.ts +9 -0
  91. package/sdk/common/Constant.js +11 -0
  92. package/sdk/common/Utility.js +19 -0
  93. package/sdk/common/utils.js +8 -1
  94. package/sdk/partner/Lead/LeadPartnerModel.d.ts +28 -7
  95. package/sdk/partner/Lead/LeadPartnerModel.js +7 -7
  96. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +28 -7
  97. package/sdk/partner/Logistics/LogisticsPartnerModel.js +7 -7
  98. package/sdk/partner/PartnerClient.d.ts +8 -0
  99. package/sdk/partner/PartnerClient.js +14 -0
  100. package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -0
  101. package/sdk/partner/Theme/ThemePartnerClient.js +158 -0
  102. package/sdk/partner/Theme/ThemePartnerModel.d.ts +45 -6
  103. package/sdk/partner/Theme/ThemePartnerModel.js +33 -4
  104. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
  105. package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
  106. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +28 -7
  107. package/sdk/partner/Webhook/WebhookPartnerModel.js +7 -7
  108. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +28 -7
  109. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +7 -7
  110. package/sdk/platform/Billing/BillingPlatformClient.d.ts +6 -397
  111. package/sdk/platform/Billing/BillingPlatformClient.js +77 -3215
  112. package/sdk/platform/Billing/BillingPlatformModel.d.ts +621 -2021
  113. package/sdk/platform/Billing/BillingPlatformModel.js +353 -2405
  114. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +12 -451
  115. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -483
  116. package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -7
  117. package/sdk/platform/Cart/CartPlatformModel.js +8 -8
  118. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +12 -2
  119. package/sdk/platform/Catalog/CatalogPlatformClient.js +41 -1
  120. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +46 -12
  121. package/sdk/platform/Catalog/CatalogPlatformModel.js +14 -11
  122. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -0
  123. package/sdk/platform/Catalog/CatalogPlatformValidator.js +17 -0
  124. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +28 -7
  125. package/sdk/platform/Communication/CommunicationPlatformModel.js +7 -7
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -7
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +7 -7
  128. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -97
  129. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +77 -782
  130. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +24 -701
  131. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +7 -539
  132. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -183
  133. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +0 -134
  134. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
  135. package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -79
  136. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -15
  137. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -13
  138. package/sdk/platform/Content/ContentPlatformModel.d.ts +58 -17
  139. package/sdk/platform/Content/ContentPlatformModel.js +28 -15
  140. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +28 -7
  141. package/sdk/platform/Discount/DiscountPlatformModel.js +7 -7
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +127 -25
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +37 -25
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +28 -28
  145. package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +1583 -347
  147. package/sdk/platform/Finance/FinancePlatformModel.js +463 -351
  148. package/sdk/platform/Lead/LeadPlatformModel.d.ts +28 -7
  149. package/sdk/platform/Lead/LeadPlatformModel.js +7 -7
  150. package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -0
  151. package/sdk/platform/Order/OrderPlatformClient.js +165 -0
  152. package/sdk/platform/Order/OrderPlatformModel.d.ts +613 -39
  153. package/sdk/platform/Order/OrderPlatformModel.js +359 -41
  154. package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -1
  155. package/sdk/platform/Order/OrderPlatformValidator.js +28 -0
  156. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +30 -9
  157. package/sdk/platform/Payment/PaymentPlatformModel.js +9 -9
  158. package/sdk/platform/PlatformClient.d.ts +8 -0
  159. package/sdk/platform/PlatformClient.js +14 -0
  160. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +28 -7
  161. package/sdk/platform/Rewards/RewardsPlatformModel.js +7 -7
  162. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +12 -9
  163. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +12 -9
  164. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +120 -22
  165. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +76 -21
  166. package/sdk/platform/Share/SharePlatformModel.d.ts +28 -7
  167. package/sdk/platform/Share/SharePlatformModel.js +7 -7
  168. package/sdk/platform/Theme/ThemePlatformModel.d.ts +18 -5
  169. package/sdk/platform/Theme/ThemePlatformModel.js +7 -4
  170. package/sdk/platform/User/UserPlatformModel.d.ts +18 -18
  171. package/sdk/platform/User/UserPlatformModel.js +9 -9
  172. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +28 -7
  173. package/sdk/platform/Webhook/WebhookPlatformModel.js +7 -7
  174. package/sdk/public/PublicClient.d.ts +0 -4
  175. package/sdk/public/PublicClient.js +0 -8
  176. package/sdk/public/index.d.ts +0 -2
  177. package/sdk/public/index.js +0 -4
  178. package/sdk/public/Billing/BillingPublicClient.d.ts +0 -45
  179. package/sdk/public/Billing/BillingPublicClient.js +0 -269
  180. package/sdk/public/Billing/BillingPublicModel.d.ts +0 -434
  181. package/sdk/public/Billing/BillingPublicModel.js +0 -395
  182. package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -34
  183. package/sdk/public/Billing/BillingPublicValidator.js +0 -38
  184. package/sdk/public/Inventory/InventoryPublicClient.d.ts +0 -87
  185. package/sdk/public/Inventory/InventoryPublicClient.js +0 -529
  186. package/sdk/public/Inventory/InventoryPublicModel.d.ts +0 -393
  187. package/sdk/public/Inventory/InventoryPublicModel.js +0 -448
  188. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +0 -91
  189. package/sdk/public/Inventory/InventoryPublicValidator.js +0 -85
@@ -1,132 +1,178 @@
1
1
  export = LogisticApplicationModel;
2
2
  /**
3
3
  * @typedef GetStoreResponse
4
- * @property {StoreItemResponse[]} [items]
4
+ * @property {StoreItemResponse[]} [items] - List of locations, each containing
5
+ * detailed information about individual location.
5
6
  * @property {Page} [page]
6
7
  */
7
8
  /**
8
9
  * @typedef StoreItemResponse
9
- * @property {number} [id]
10
- * @property {string} [store_type]
11
- * @property {string} [fulfillment_type]
12
- * @property {number} [processing_time]
13
- * @property {string[]} [tags]
14
- * @property {number} [company_id]
15
- * @property {number} [latitude]
16
- * @property {number} [longitude]
10
+ * @property {number} [id] - A unique identifier for the location.
11
+ * @property {string} [store_type] - The type of store, indicating the nature of
12
+ * the store, such as retail or warehouse.
13
+ * @property {string} [fulfillment_type] - The method of fulfillment used by the
14
+ * store, such as shipping, pickup, or delivery.
15
+ * @property {number} [processing_time] - The average time taken by the store to
16
+ * process orders, measured in minutes.
17
+ * @property {string[]} [tags] - List of tags associated with the store for
18
+ * categorization and search purposes.
19
+ * @property {number} [company_id] - The unique identifier of the company that
20
+ * owns the store.
21
+ * @property {number} [latitude] - The geographical latitude coordinate of the
22
+ * store location.
23
+ * @property {number} [longitude] - The geographical longitude coordinate of the
24
+ * store location.
17
25
  */
18
26
  /**
19
27
  * @typedef ValidateAddressRequest
20
- * @property {string} [address] - A string representing the complete address,
21
- * combining address line 1, address line 2, area, landmark, sector, city,
22
- * state, and pincode. This provides a comprehensive view of the address details.
23
- * @property {string} [address1] - A string representing the first line of the
24
- * address, typically containing street or building information.
25
- * @property {string} [address2] - A string representing the second line of the
26
- * address, which can be used for additional address details if needed.
27
- * @property {string} [area] - A string specifying the locality or area
28
- * associated with the address.
29
- * @property {string} [landmark] - A string representing a prominent nearby
30
- * landmark that aids in locating the address.
31
- * @property {string} [pincode] - A string indicating the postal code or PIN
32
- * code of the address area.
33
- * @property {string} [sector] - A string specifying the sector or district of
34
- * the address if applicable.
35
- * @property {string} [city] - A string denoting the city or municipality of the address.
36
- * @property {string} [state] - A string indicating the state or province of the address.
37
- * @property {string} [name] - A string representing the recipient's name or the
38
- * organization name associated with the address.
39
- * @property {string} [phone] - An integer representing the recipient's contact
40
- * phone number.
41
- * @property {string} [email] - A string containing the recipient's email address.
28
+ * @property {string} [address] - Complete address, combining address line 1,
29
+ * address line 2, area, landmark, sector, city, state, and pincode.
30
+ * @property {string} [address1] - First line of the address, typically
31
+ * containing street or building information.
32
+ * @property {string} [address2] - Second line of the address, which can be used
33
+ * for additional address details if needed.
34
+ * @property {string} [area] - Locality or area associated with the address.
35
+ * @property {string} [landmark] - Prominent nearby landmark that aids in
36
+ * locating the address.
37
+ * @property {string} [pincode] - Postal code or PIN code of the address area.
38
+ * @property {string} [sector] - Specifies the sector or district of the address
39
+ * if applicable.
40
+ * @property {string} [city] - Denote the city or municipality of the address.
41
+ * @property {string} [state] - Indicates the state or province of the address.
42
+ * @property {string} [name] - Recipient's name associated with the address.
43
+ * @property {string} [phone] - Recipient's contact phone number.
44
+ * @property {string} [email] - Recipient's email address.
42
45
  */
43
46
  /**
44
47
  * @typedef PincodeParentsResponse
45
- * @property {string} [sub_type]
46
- * @property {string} [display_name]
47
- * @property {string} [name]
48
- * @property {string} [uid]
48
+ * @property {string} [sub_type] - Specific type of locality hierarchy the
49
+ * pincode belongs to (e.g., city, state, country).
50
+ * @property {string} [display_name] - User-friendly version of the geographical
51
+ * data, which may be more descriptive or formatted differently.
52
+ * @property {string} [name] - The actual geographical data, such as country
53
+ * names (India), state names (Maharashtra), pin codes (400603), city names
54
+ * (Dubai), or local sectors (Deira).
55
+ * @property {string} [uid] - Unique identifier for the locality.
49
56
  */
50
57
  /**
51
58
  * @typedef PincodeMetaResponse
52
- * @property {string} [zone]
53
- * @property {number} [internal_zone_id]
59
+ * @property {string} [zone] - Geographical region to which the pincode belongs,
60
+ * often used to categorize or group pincodes for regional management or
61
+ * postal purposes.
62
+ * @property {number} [internal_zone_id] - A unique identifier used within the
63
+ * system to track or reference the specific zone associated with the pincode.
54
64
  */
55
65
  /**
56
66
  * @typedef PincodeErrorSchemaResponse
57
- * @property {string} [message]
58
- * @property {string} [value]
59
- * @property {string} [type]
67
+ * @property {string} [message] - A user-readable description of the error,
68
+ * explaining what went wrong.
69
+ * @property {string} [value] - A specific code or identifier related to the
70
+ * error, used for referencing or categorizing the error.
71
+ * @property {string} [type] - The classification of the error, indicating the
72
+ * kind of issue.
60
73
  */
61
74
  /**
62
75
  * @typedef CountryMetaResponse
63
- * @property {string} [country_code]
64
- * @property {string} [isd_code]
76
+ * @property {string} [country_code] - The ISO 3166-1 alpha-2 code representing
77
+ * the country (e.g., "IN" for India, "US" for the United States).
78
+ * @property {string} [isd_code] - The International Subscriber Dialing (ISD)
79
+ * code, also known as the country dialing code, used for making international
80
+ * phone calls to the country (e.g., "+91" for India, "+1" for the United States).
65
81
  */
66
82
  /**
67
83
  * @typedef PincodeLatLongData
68
- * @property {string} [type]
69
- * @property {string[]} [coordinates]
84
+ * @property {string} [type] - Specifies the type of geographical feature or
85
+ * data, typically "Point" for coordinates in geographic data systems.
86
+ * @property {string[]} [coordinates] - Contains the latitude and longitude
87
+ * values representing the precise location. The format is usually an array
88
+ * with two values: [longitude, latitude].
70
89
  */
71
90
  /**
72
91
  * @typedef PincodeDataResponse
73
- * @property {PincodeParentsResponse[]} [parents]
92
+ * @property {PincodeParentsResponse[]} [parents] - List of object representing
93
+ * a collection of geographical locations, each associated with specific
94
+ * hierarchical data such as cities, states, or countries.
74
95
  * @property {PincodeMetaResponse} [meta]
75
- * @property {string} [display_name]
96
+ * @property {string} [display_name] - User-friendly version of the geographical
97
+ * data, which may be more descriptive or formatted differently.
76
98
  * @property {PincodeErrorSchemaResponse} error
77
99
  * @property {CountryMetaResponse} [meta_code]
78
100
  * @property {PincodeLatLongData} [lat_long]
79
- * @property {string} [sub_type]
80
- * @property {string} [name]
81
- * @property {string} [uid]
101
+ * @property {string} [sub_type] - Indicates the specific type of locality
102
+ * hierarchy the pincode belongs to (e.g., city, state, country).
103
+ * @property {string} [name] - The actual geographical data, such as country
104
+ * names (India), state names (Maharashtra), pin codes (400603), city names
105
+ * (Dubai), or local sectors (Deira).
106
+ * @property {string} [uid] - This field stands for "Unique Identifier," a
107
+ * unique value assigned to each instance to ensure differentiation and reference.
82
108
  */
83
109
  /**
84
110
  * @typedef PincodeApiResponse
85
- * @property {boolean} success
86
- * @property {PincodeDataResponse[]} [data]
111
+ * @property {boolean} success - Indicates whether the API request was
112
+ * successful (true) or failed (false).
113
+ * @property {PincodeDataResponse[]} [data] - Contains the actual response data
114
+ * when the request is successful, providing details like pincode information
115
+ * or related data.
87
116
  * @property {PincodeErrorSchemaResponse} error
88
117
  */
89
118
  /**
90
119
  * @typedef TATCategoryRequest
91
- * @property {string} [level]
92
- * @property {number} [id]
120
+ * @property {string} [level] - Specifies the hierarchical level of the category
121
+ * (e.g., country, state, city).
122
+ * @property {number} [id] - Represents the unique identifier for the category
123
+ * at the specified level.
93
124
  */
94
125
  /**
95
126
  * @typedef TATArticlesRequest
96
127
  * @property {TATCategoryRequest} [category]
97
- * @property {string} [manufacturing_time_unit]
98
- * @property {number} [manufacturing_time]
128
+ * @property {string} [manufacturing_time_unit] - The unit of measurement for
129
+ * the manufacturing time, such as hours or days.
130
+ * @property {number} [manufacturing_time] - The amount of time required to
131
+ * manufacture the article, specified in the unit given by `manufacturing_time_unit`.
99
132
  */
100
133
  /**
101
134
  * @typedef TATLocationDetailsRequest
102
- * @property {number} [fulfillment_id]
103
- * @property {string} [from_pincode]
104
- * @property {TATArticlesRequest[]} [articles]
135
+ * @property {number} [fulfillment_id] - A unique identifier of the fulfilling location.
136
+ * @property {string} [from_pincode] - The postal code of the location from
137
+ * which the fulfillment originates.
138
+ * @property {TATArticlesRequest[]} [articles] - List of articles included in
139
+ * the fulfillment request, which provides details about the items to be
140
+ * processed or shipped.
105
141
  */
106
142
  /**
107
143
  * @typedef TATViewRequest
108
- * @property {string} [to_pincode]
109
- * @property {string} [source]
110
- * @property {string} [action]
111
- * @property {string} [identifier]
112
- * @property {TATLocationDetailsRequest[]} [location_details]
113
- * @property {string} [journey]
144
+ * @property {string} [to_pincode] - The postal code of the destination location
145
+ * where the fulfillment or shipment is headed.
146
+ * @property {string} [source] - The origin or source of the request, indicating
147
+ * where the data or action is coming from.
148
+ * @property {string} [action] - The specific operation or request being made,
149
+ * such as viewing, updating, or managing data.
150
+ * @property {string} [identifier] - A unique ID used to reference or track the
151
+ * specific request or item within the system.
152
+ * @property {TATLocationDetailsRequest[]} [location_details] - Locations
153
+ * involved in the request, including details about both the source and destination.
154
+ * @property {string} [journey] - Indicates the direction of the request or
155
+ * shipment. It can either be "forward" (from the source to the destination)
156
+ * or "return" (from the destination back to the source).
114
157
  */
115
158
  /**
116
159
  * @typedef TATErrorSchemaResponse
117
- * @property {string} [message]
118
- * @property {string} [value]
119
- * @property {string} [type]
160
+ * @property {string} [message] - A user-readable description of the error,
161
+ * explaining what went wrong.
162
+ * @property {string} [value] - A specific code or identifier related to the
163
+ * error, used for referencing or categorizing the error.
164
+ * @property {string} [type] - The classification of the error, indicating the
165
+ * kind of issue.
120
166
  */
121
167
  /**
122
168
  * @typedef TATTimestampResponse
123
- * @property {number} [min]
124
- * @property {number} [max]
169
+ * @property {number} [min] - The earliest possible timestamp.
170
+ * @property {number} [max] - The latest possible timestamp.
125
171
  */
126
172
  /**
127
173
  * @typedef TATFormattedResponse
128
- * @property {string} [min]
129
- * @property {string} [max]
174
+ * @property {string} [min] - The earliest possible timestamp.
175
+ * @property {string} [max] - The latest possible timestamp.
130
176
  */
131
177
  /**
132
178
  * @typedef TATPromiseResponse
@@ -135,137 +181,192 @@ export = LogisticApplicationModel;
135
181
  */
136
182
  /**
137
183
  * @typedef TATArticlesResponse
138
- * @property {string} [manufacturing_time_unit]
184
+ * @property {string} [manufacturing_time_unit] - The unit of measurement for
185
+ * the manufacturing time such as hours or days.
139
186
  * @property {TATErrorSchemaResponse} [error]
140
- * @property {boolean} [is_cod_available]
187
+ * @property {boolean} [is_cod_available] - Indicates whether Cash on Delivery
188
+ * (COD) is available for the articles.
141
189
  * @property {TATPromiseResponse} [promise]
142
- * @property {number} [manufacturing_time]
190
+ * @property {number} [manufacturing_time] - The time required to manufacture
191
+ * the articles, measured in the unit specified by manufacturing_time_unit.
143
192
  * @property {TATCategoryRequest} [category]
144
- * @property {number} [_manufacturing_time_seconds]
193
+ * @property {number} [_manufacturing_time_seconds] - The manufacturing time
194
+ * converted into seconds.
145
195
  */
146
196
  /**
147
197
  * @typedef TATLocationDetailsResponse
148
- * @property {number} [fulfillment_id]
149
- * @property {string} [from_pincode]
150
- * @property {TATArticlesResponse[]} [articles]
198
+ * @property {number} [fulfillment_id] - A unique identifier of the fulfilling location.
199
+ * @property {string} [from_pincode] - The postal code of the location from
200
+ * which the fulfillment originates.
201
+ * @property {TATArticlesResponse[]} [articles] - List of articles included in
202
+ * the fulfillment request, which provides details about the items to be
203
+ * processed or shipped.
151
204
  */
152
205
  /**
153
206
  * @typedef TATViewResponse
154
- * @property {string} [to_pincode]
155
- * @property {string} [request_uuid]
156
- * @property {string} [payment_mode]
157
- * @property {boolean} [success]
207
+ * @property {string} [to_pincode] - The postal code of the destination location
208
+ * where the fulfillment or shipment is headed.
209
+ * @property {string} [request_uuid] - A unique identifier for the request.
210
+ * @property {string} [payment_mode] - The mode of payment used for the transaction.
211
+ * @property {boolean} [success] - Whether the request was successful (true/false).
158
212
  * @property {TATErrorSchemaResponse} [error]
159
- * @property {boolean} [is_cod_available]
160
- * @property {string} [source]
161
- * @property {string} [action]
162
- * @property {string} [stormbreaker_uuid]
163
- * @property {string} [to_city]
164
- * @property {string} [identifier]
165
- * @property {TATLocationDetailsResponse[]} [location_details]
166
- * @property {string} [journey]
213
+ * @property {boolean} [is_cod_available] - Whether Cash on Delivery (COD) is
214
+ * available for the request.
215
+ * @property {string} [source] - The origin or source of the request.
216
+ * @property {string} [action] - The action performed or requested (e.g.,
217
+ * forward, return).
218
+ * @property {string} [stormbreaker_uuid] - A unique identifier related to the
219
+ * stormbreaker process.
220
+ * @property {string} [to_city] - The city corresponding to the destination pincode.
221
+ * @property {string} [identifier] - A unique identifier for the request or transaction.
222
+ * @property {TATLocationDetailsResponse[]} [location_details] - Location
223
+ * involved in the request.
224
+ * @property {string} [journey] - Type of journey, either forward or return.
167
225
  */
168
226
  /**
169
227
  * @typedef DP
170
- * @property {number} fm_priority
171
- * @property {number} lm_priority
172
- * @property {number} rvp_priority
173
- * @property {string} payment_mode
174
- * @property {string[]} operations
175
- * @property {string} [area_code]
176
- * @property {boolean} [assign_dp_from_sb]
177
- * @property {string} [internal_account_id]
178
- * @property {string} [external_account_id]
179
- * @property {string} [transport_mode]
228
+ * @property {number} fm_priority - First Mile Priority; focuses on the initial
229
+ * segment of the logistics process, from the point of origin to the first
230
+ * distribution center.
231
+ * @property {number} lm_priority - Last Mile Priority; deals with the final
232
+ * stage of the delivery process, where goods are delivered from the
233
+ * distribution center to the final destination.
234
+ * @property {number} rvp_priority - Reverse Pickup Priority; pertains to the
235
+ * process of collecting goods from the customer for return or exchange.
236
+ * @property {string} payment_mode - The method of payment used for
237
+ * transactions, such as credit card, debit card, cash on delivery, etc.
238
+ * @property {string[]} operations - Refers to the various activities and
239
+ * processes involved in managing and executing the delivery and logistics operations.
240
+ * @property {string} [area_code] - A code that identifies a specific geographic
241
+ * area, often used for sorting and routing deliveries.
242
+ * @property {boolean} [assign_dp_from_sb] - Indicates whether the delivery
243
+ * partner (DP) is assigned from stormbreaker service.
244
+ * @property {string} [internal_account_id] - An identifier used internally to
245
+ * track accounts or entities within the organization's system.
246
+ * @property {string} [external_account_id] - An identifier used to reference
247
+ * accounts or entities outside the organization's system, such as partner accounts.
248
+ * @property {string} [transport_mode] - The method of transportation used for
249
+ * delivering goods, such as road, rail, air, or sea.
180
250
  */
181
251
  /**
182
252
  * @typedef LogisticsResponse
183
- * @property {Object} [dp]
253
+ * @property {Object} [dp] - Provide entity responsible for handling the
254
+ * delivery of goods.
184
255
  */
185
256
  /**
186
257
  * @typedef CountryEntityResponse
187
258
  * @property {CountryMetaResponse} [meta]
188
259
  * @property {LogisticsResponse} [logistics]
189
- * @property {string} [display_name]
190
- * @property {string} [type]
191
- * @property {boolean} [is_active]
192
- * @property {string} [parent_id]
193
- * @property {string} [sub_type]
194
- * @property {string} [name]
195
- * @property {string} [uid]
260
+ * @property {string} [display_name] - User-friendly version of the geographical
261
+ * data, which may be more descriptive or formatted differently.
262
+ * @property {string} [type] - Specifies the type of geographical feature or
263
+ * data, typically "Point" for coordinates in geographic data systems.
264
+ * @property {boolean} [is_active] - Whether the country entity is currently
265
+ * active or not.
266
+ * @property {string} [parent_id] - Identifier for the parent of the current locality.
267
+ * @property {string} [sub_type] - Specific type of locality hierarchy the
268
+ * pincode belongs to (e.g., city, state, country).
269
+ * @property {string} [name] - Country name.
270
+ * @property {string} [uid] - Unique identifier for the country.
196
271
  */
197
272
  /**
198
273
  * @typedef CountryListResponse
199
- * @property {CountryEntityResponse[]} [results]
274
+ * @property {CountryEntityResponse[]} [results] - A list of country entities,
275
+ * each containing details about individual countries.
200
276
  */
201
277
  /**
202
278
  * @typedef GetZoneFromPincodeViewRequest
203
- * @property {string} pincode
204
- * @property {string} country
279
+ * @property {string} pincode - The postal code or ZIP code used to pinpoint a
280
+ * specific geographic area or location.
281
+ * @property {string} country - The country where the pincode is located.
205
282
  */
206
283
  /**
207
284
  * @typedef GetZoneFromPincodeViewResponse
208
- * @property {string} serviceability_type
209
- * @property {string[]} zones
285
+ * @property {string} serviceability_type - Specifies the type of serviceability
286
+ * for the given pincode, indicating whether it's deliverable or serviceable
287
+ * under certain conditions.
288
+ * @property {string[]} zones - Lists the zones associated with the pincode,
289
+ * detailing the geographical or logistical zones for service.
210
290
  */
211
291
  /**
212
292
  * @typedef ReAssignStoreRequest
213
- * @property {Object} configuration
214
- * @property {string} to_pincode
215
- * @property {number[]} ignored_locations
216
- * @property {string} identifier
217
- * @property {Object[]} articles
293
+ * @property {Object} configuration - Specifies the configuration settings or
294
+ * parameters for the store reassignment.
295
+ * @property {string} to_pincode - The postal code of the destination location
296
+ * where the fulfillment or shipment is headed.
297
+ * @property {number[]} ignored_locations - Locations that should be excluded
298
+ * from the reassignment process.
299
+ * @property {string} identifier - A unique identifier for the reassignment request.
300
+ * @property {Object[]} articles - List of articles or items involved in the
301
+ * store reassignment.
218
302
  */
219
303
  /**
220
304
  * @typedef ReAssignStoreResponse
221
- * @property {string} to_pincode
222
- * @property {string} pystormbreaker_uuid
223
- * @property {boolean} success
224
- * @property {Object} error
225
- * @property {Object[]} [assigned_stores]
305
+ * @property {string} to_pincode - The postal code of the destination location
306
+ * where the fulfillment or shipment is headed.
307
+ * @property {string} pystormbreaker_uuid - A unique identifier for tracking the
308
+ * reassignment operation.
309
+ * @property {boolean} success - Whether the reassignment was successful or not.
310
+ * @property {Object} error - Details about any errors encountered during the
311
+ * reassignment.
312
+ * @property {Object[]} [assigned_stores] - List of stores that have been
313
+ * successfully reassigned.
226
314
  */
227
315
  /**
228
316
  * @typedef CountryHierarchy
229
- * @property {string} [name]
230
- * @property {string} [slug]
317
+ * @property {string} [name] - It represent a country name.
318
+ * @property {string} [slug] - A URL-friendly version of the name, often used
319
+ * for referencing or querying purposes.
231
320
  */
232
321
  /**
233
322
  * @typedef CurrencyObject
234
- * @property {string} [code]
235
- * @property {string} [name]
236
- * @property {string} [symbol]
323
+ * @property {string} [code] - The currency code, typically a three-letter ISO
324
+ * code (e.g., "USD" for US Dollar).
325
+ * @property {string} [name] - It represent a country name.
326
+ * @property {string} [symbol] - The symbol used to represent the currency
327
+ * (e.g., "$" for US Dollar).
237
328
  */
238
329
  /**
239
330
  * @typedef CountryObject
240
- * @property {string} [id]
241
- * @property {string} [name]
242
- * @property {string} [display_name]
243
- * @property {string} [iso2]
244
- * @property {string} [iso3]
245
- * @property {string[]} [timezones]
246
- * @property {CountryHierarchy[]} [hierarchy]
247
- * @property {string} [phone_code]
248
- * @property {string} [latitude]
249
- * @property {string} [longitude]
331
+ * @property {string} [id] - Unique identifier for the country.
332
+ * @property {string} [name] - It represent a country name.
333
+ * @property {string} [display_name] - User-friendly version of the geographical
334
+ * data, which may be more descriptive or formatted differently.
335
+ * @property {string} [iso2] - Two-letter ISO code representing the country.
336
+ * @property {string} [iso3] - Three-letter ISO code representing the country.
337
+ * @property {string[]} [timezones] - List of time zones used in the country
338
+ * (e.g., ["America/New_York", "America/Los_Angeles"]).
339
+ * @property {CountryHierarchy[]} [hierarchy] - Levels within the country (e.g.,
340
+ * states, cities) and their slugs (e.g., [{"name": "State", "slug": "state"},
341
+ * {"name": "City", "slug": "city"}]).
342
+ * @property {string} [phone_code] - International dialing code for the country
343
+ * (e.g., "+1").
344
+ * @property {string} [latitude] - Geographical latitude of the country (e.g., "37.0902").
345
+ * @property {string} [longitude] - Geographical longitude of the country (e.g.,
346
+ * "-95.7129").
250
347
  * @property {CurrencyObject} [currency]
251
- * @property {string} [type]
348
+ * @property {string} [type] - Indicates the type of object (e.g., "country").
252
349
  */
253
350
  /**
254
351
  * @typedef GetCountries
255
- * @property {CountryObject[]} [items]
352
+ * @property {CountryObject[]} [items] - List of countries, each containing
353
+ * detailed information about individual country.
256
354
  * @property {Page} [page]
257
355
  */
258
356
  /**
259
357
  * @typedef GetOneOrAllPath
260
- * @property {string} [locality_type]
261
- * @property {string} [locality_value]
358
+ * @property {string} [locality_type] - Specifies the type of locality to be
359
+ * retrieved, such as city, state, or pincode (e.g., "city", "state", "pincode").
360
+ * @property {string} [locality_value] - The specific value of the locality
361
+ * being queried, such as the name of the city or the pincode (e.g., "Mumbai",
362
+ * "400093").
262
363
  */
263
364
  /**
264
365
  * @typedef GetOneOrAllQuery
265
- * @property {string} [country]
266
- * @property {string} [state]
267
- * @property {string} [city]
268
- * @property {string} [sector]
366
+ * @property {string} [country] - The name of the country to filter the results.
367
+ * @property {string} [state] - The name of the state within the specified country.
368
+ * @property {string} [city] - The name of the city within the specified state.
369
+ * @property {string} [sector] - The name of the sector or area within the specified city.
269
370
  */
270
371
  /**
271
372
  * @typedef GetOneOrAllParams
@@ -274,22 +375,24 @@ export = LogisticApplicationModel;
274
375
  */
275
376
  /**
276
377
  * @typedef GetOneOrAll
277
- * @property {string} [operation_id]
378
+ * @property {string} [operation_id] - Identifier for the specific operation or
379
+ * query being performed.
278
380
  * @property {GetOneOrAllParams} [params]
279
381
  */
280
382
  /**
281
383
  * @typedef LengthValidation
282
- * @property {number} [min]
283
- * @property {number} [max]
384
+ * @property {number} [min] - The minimum number of characters or digits allowed.
385
+ * @property {number} [max] - The maximum number of characters or digits allowed.
284
386
  */
285
387
  /**
286
388
  * @typedef FieldValidationRegex
287
- * @property {string} [value]
389
+ * @property {string} [value] - Regular expression pattern used to validate the field.
288
390
  * @property {LengthValidation} [length]
289
391
  */
290
392
  /**
291
393
  * @typedef FieldValidation
292
- * @property {string} [type]
394
+ * @property {string} [type] - Specifies the validation method, such as regex
395
+ * for regular expression validation.
293
396
  * @property {FieldValidationRegex} [regex]
294
397
  */
295
398
  /**
@@ -299,87 +402,126 @@ export = LogisticApplicationModel;
299
402
  */
300
403
  /**
301
404
  * @typedef GetCountryFieldsAddress
302
- * @property {string} display_name
303
- * @property {string} slug
304
- * @property {boolean} required
305
- * @property {boolean} [edit]
306
- * @property {string} input
405
+ * @property {string} display_name - User-friendly version of the geographical
406
+ * data, which may be more descriptive or formatted differently.
407
+ * @property {string} slug - URL-friendly version of the name, often used for
408
+ * referencing or querying purposes.
409
+ * @property {boolean} required - Indicates whether the field is mandatory for
410
+ * the user to fill out.
411
+ * @property {boolean} [edit] - Specifies if the field can be edited by the user.
412
+ * @property {string} input - Defines the type of input control used for the
413
+ * field (e.g., textbox).
307
414
  * @property {FieldValidation} [validation]
308
415
  * @property {GetCountryFieldsAddressValues} [values]
309
- * @property {string} [error_text]
416
+ * @property {string} [error_text] - The message shown to the user if the input
417
+ * does not meet the validation criteria.
310
418
  */
311
419
  /**
312
420
  * @typedef GetCountryFieldsAddressTemplate
313
- * @property {string} checkout_form
314
- * @property {string} store_os_form
315
- * @property {string} default_display
421
+ * @property {string} checkout_form - The format used to display or collect
422
+ * address information during checkout.
423
+ * @property {string} store_os_form - The format used for address entry or
424
+ * display in the store's operating system.
425
+ * @property {string} default_display - The general format for displaying
426
+ * address information.
316
427
  */
317
428
  /**
318
429
  * @typedef GetCountryFields
319
- * @property {GetCountryFieldsAddress[]} address
320
- * @property {string[]} serviceability_fields
430
+ * @property {GetCountryFieldsAddress[]} address - Specifies the fields and
431
+ * attributes related to address information, including display names, input
432
+ * types, and validation rules. This section defines the details needed for
433
+ * address collection and formatting.
434
+ * @property {string[]} serviceability_fields - Lists the specific address
435
+ * fields used to determine whether a location is serviceable. These fields
436
+ * are crucial for validating service coverage and availability.
321
437
  * @property {GetCountryFieldsAddressTemplate} address_template
322
438
  */
323
439
  /**
324
440
  * @typedef GetCountry
325
- * @property {string} [id]
326
- * @property {string} [name]
327
- * @property {string} [display_name]
328
- * @property {string} [iso2]
329
- * @property {string} [iso3]
330
- * @property {string[]} [timezones]
331
- * @property {CountryHierarchy[]} [hierarchy]
332
- * @property {string} [phone_code]
333
- * @property {string} [latitude]
334
- * @property {string} [longitude]
441
+ * @property {string} [id] - Unique identifier for the country.
442
+ * @property {string} [name] - It represent a country name.
443
+ * @property {string} [display_name] - User-friendly version of the geographical
444
+ * data, which may be more descriptive or formatted differently.
445
+ * @property {string} [iso2] - Two-letter ISO code representing the country.
446
+ * @property {string} [iso3] - Three-letter ISO code representing the country.
447
+ * @property {string[]} [timezones] - List of time zones used in the country
448
+ * (e.g., ["America/New_York", "America/Los_Angeles"]).
449
+ * @property {CountryHierarchy[]} [hierarchy] - Levels within the country (e.g.,
450
+ * states, cities) and their slugs (e.g., [{"name": "State", "slug": "state"},
451
+ * {"name": "City", "slug": "city"}]).
452
+ * @property {string} [phone_code] - International dialing code for the country
453
+ * (e.g., "+1").
454
+ * @property {string} [latitude] - Geographical latitude of the country (e.g., "37.0902").
455
+ * @property {string} [longitude] - Geographical longitude of the country (e.g.,
456
+ * "-95.7129").
335
457
  * @property {CurrencyObject} [currency]
336
- * @property {string} [type]
458
+ * @property {string} [type] - Indicates the type of object (e.g., "country").
337
459
  * @property {GetCountryFields} [fields]
338
460
  */
339
461
  /**
340
462
  * @typedef Page
341
- * @property {number} [item_total]
342
- * @property {string} [next_id]
343
- * @property {boolean} [has_previous]
344
- * @property {boolean} [has_next]
345
- * @property {number} [current]
346
- * @property {string} type
347
- * @property {number} [size]
463
+ * @property {number} [item_total] - The total number of items on the page.
464
+ * @property {string} [next_id] - The identifier for the next page.
465
+ * @property {boolean} [has_previous] - Indicates whether there is a previous page.
466
+ * @property {boolean} [has_next] - Indicates whether there is a next page.
467
+ * @property {number} [current] - The current page number.
468
+ * @property {string} type - The type of the page, such as 'PageType'.
469
+ * @property {number} [size] - The number of items per page.
348
470
  */
349
471
  /**
350
472
  * @typedef Localities
351
- * @property {string} [id]
352
- * @property {string} [name]
353
- * @property {string} [display_name]
354
- * @property {string[]} [parent_ids]
355
- * @property {string} [type]
473
+ * @property {string} [id] - A unique identifier for the locality.
474
+ * @property {string} [name] - The actual geographical data, such as country
475
+ * names (India), state names (Maharashtra), pin codes (400603), city names
476
+ * (Dubai), or local sectors (Deira).
477
+ * @property {string} [display_name] - User-friendly version of the geographical
478
+ * data, which may be more descriptive or formatted differently.
479
+ * @property {string[]} [parent_ids] - Identifiers for the parent of the current locality.
480
+ * @property {string} [type] - Specifies the category of the address component,
481
+ * such as pincode, state, city, country, or sector.
482
+ * @property {LocalityParent[]} [localities] - Representing the localities that
483
+ * are associated with or contained within the current locality. It provides
484
+ * detailed information about the parent localities, including their names,
485
+ * identifiers, and hierarchical relationships.
356
486
  */
357
487
  /**
358
488
  * @typedef LocalityParent
359
- * @property {string} [id]
360
- * @property {string} [name]
361
- * @property {string} [display_name]
362
- * @property {string[]} [parent_ids]
363
- * @property {string} [type]
489
+ * @property {string} [id] - A unique identifier for the locality.
490
+ * @property {string} [name] - The actual geographical data, such as country
491
+ * names (India), state names (Maharashtra), pin codes (400603), city names
492
+ * (Dubai), or local sectors (Deira).
493
+ * @property {string} [display_name] - User-friendly version of the geographical
494
+ * data, which may be more descriptive or formatted differently.
495
+ * @property {string[]} [parent_ids] - Identifiers for the parent of the current locality.
496
+ * @property {string} [type] - Specifies the category of the address component,
497
+ * such as pincode, state, city, country, or sector.
364
498
  */
365
499
  /**
366
500
  * @typedef GetLocalities
367
- * @property {Localities[]} [items]
501
+ * @property {Localities[]} [items] - List of localities, each containing
502
+ * detailed information about individual locality.
368
503
  * @property {Page} [page]
369
504
  */
370
505
  /**
371
506
  * @typedef GetLocality
372
- * @property {string} [id]
373
- * @property {string} [name]
374
- * @property {string} [display_name]
375
- * @property {string[]} [parent_ids]
376
- * @property {string} [type]
377
- * @property {LocalityParent[]} [localities]
507
+ * @property {string} [id] - A unique identifier for the locality.
508
+ * @property {string} [name] - The actual geographical data, such as country
509
+ * names (India), state names (Maharashtra), pin codes (400603), city names
510
+ * (Dubai), or local sectors (Deira).
511
+ * @property {string} [display_name] - User-friendly version of the geographical
512
+ * data, which may be more descriptive or formatted differently.
513
+ * @property {string[]} [parent_ids] - Identifiers for the parent of the current locality.
514
+ * @property {string} [type] - Specifies the category of the address component,
515
+ * such as pincode, state, city, country, or sector.
516
+ * @property {LocalityParent[]} [localities] - Representing the localities that
517
+ * are associated with or contained within the current locality. It provides
518
+ * detailed information about the parent localities, including their names,
519
+ * identifiers, and hierarchical relationships.
378
520
  */
379
521
  /**
380
522
  * @typedef ErrorResponse
381
- * @property {string} [error]
382
- * @property {string} [message]
523
+ * @property {string} [error] - Error code identifying the type of error.
524
+ * @property {string} [message] - User-friendly explanation of what went wrong.
383
525
  */
384
526
  declare class LogisticApplicationModel {
385
527
  }
@@ -389,183 +531,376 @@ declare namespace LogisticApplicationModel {
389
531
  /** @returns {GetStoreResponse} */
390
532
  declare function GetStoreResponse(): GetStoreResponse;
391
533
  type GetStoreResponse = {
534
+ /**
535
+ * - List of locations, each containing
536
+ * detailed information about individual location.
537
+ */
392
538
  items?: StoreItemResponse[];
393
539
  page?: Page;
394
540
  };
395
541
  /** @returns {StoreItemResponse} */
396
542
  declare function StoreItemResponse(): StoreItemResponse;
397
543
  type StoreItemResponse = {
544
+ /**
545
+ * - A unique identifier for the location.
546
+ */
398
547
  id?: number;
548
+ /**
549
+ * - The type of store, indicating the nature of
550
+ * the store, such as retail or warehouse.
551
+ */
399
552
  store_type?: string;
553
+ /**
554
+ * - The method of fulfillment used by the
555
+ * store, such as shipping, pickup, or delivery.
556
+ */
400
557
  fulfillment_type?: string;
558
+ /**
559
+ * - The average time taken by the store to
560
+ * process orders, measured in minutes.
561
+ */
401
562
  processing_time?: number;
563
+ /**
564
+ * - List of tags associated with the store for
565
+ * categorization and search purposes.
566
+ */
402
567
  tags?: string[];
568
+ /**
569
+ * - The unique identifier of the company that
570
+ * owns the store.
571
+ */
403
572
  company_id?: number;
573
+ /**
574
+ * - The geographical latitude coordinate of the
575
+ * store location.
576
+ */
404
577
  latitude?: number;
578
+ /**
579
+ * - The geographical longitude coordinate of the
580
+ * store location.
581
+ */
405
582
  longitude?: number;
406
583
  };
407
584
  /** @returns {ValidateAddressRequest} */
408
585
  declare function ValidateAddressRequest(): ValidateAddressRequest;
409
586
  type ValidateAddressRequest = {
410
587
  /**
411
- * - A string representing the complete address,
412
- * combining address line 1, address line 2, area, landmark, sector, city,
413
- * state, and pincode. This provides a comprehensive view of the address details.
588
+ * - Complete address, combining address line 1,
589
+ * address line 2, area, landmark, sector, city, state, and pincode.
414
590
  */
415
591
  address?: string;
416
592
  /**
417
- * - A string representing the first line of the
418
- * address, typically containing street or building information.
593
+ * - First line of the address, typically
594
+ * containing street or building information.
419
595
  */
420
596
  address1?: string;
421
597
  /**
422
- * - A string representing the second line of the
423
- * address, which can be used for additional address details if needed.
598
+ * - Second line of the address, which can be used
599
+ * for additional address details if needed.
424
600
  */
425
601
  address2?: string;
426
602
  /**
427
- * - A string specifying the locality or area
428
- * associated with the address.
603
+ * - Locality or area associated with the address.
429
604
  */
430
605
  area?: string;
431
606
  /**
432
- * - A string representing a prominent nearby
433
- * landmark that aids in locating the address.
607
+ * - Prominent nearby landmark that aids in
608
+ * locating the address.
434
609
  */
435
610
  landmark?: string;
436
611
  /**
437
- * - A string indicating the postal code or PIN
438
- * code of the address area.
612
+ * - Postal code or PIN code of the address area.
439
613
  */
440
614
  pincode?: string;
441
615
  /**
442
- * - A string specifying the sector or district of
443
- * the address if applicable.
616
+ * - Specifies the sector or district of the address
617
+ * if applicable.
444
618
  */
445
619
  sector?: string;
446
620
  /**
447
- * - A string denoting the city or municipality of the address.
621
+ * - Denote the city or municipality of the address.
448
622
  */
449
623
  city?: string;
450
624
  /**
451
- * - A string indicating the state or province of the address.
625
+ * - Indicates the state or province of the address.
452
626
  */
453
627
  state?: string;
454
628
  /**
455
- * - A string representing the recipient's name or the
456
- * organization name associated with the address.
629
+ * - Recipient's name associated with the address.
457
630
  */
458
631
  name?: string;
459
632
  /**
460
- * - An integer representing the recipient's contact
461
- * phone number.
633
+ * - Recipient's contact phone number.
462
634
  */
463
635
  phone?: string;
464
636
  /**
465
- * - A string containing the recipient's email address.
637
+ * - Recipient's email address.
466
638
  */
467
639
  email?: string;
468
640
  };
469
641
  /** @returns {PincodeParentsResponse} */
470
642
  declare function PincodeParentsResponse(): PincodeParentsResponse;
471
643
  type PincodeParentsResponse = {
644
+ /**
645
+ * - Specific type of locality hierarchy the
646
+ * pincode belongs to (e.g., city, state, country).
647
+ */
472
648
  sub_type?: string;
649
+ /**
650
+ * - User-friendly version of the geographical
651
+ * data, which may be more descriptive or formatted differently.
652
+ */
473
653
  display_name?: string;
654
+ /**
655
+ * - The actual geographical data, such as country
656
+ * names (India), state names (Maharashtra), pin codes (400603), city names
657
+ * (Dubai), or local sectors (Deira).
658
+ */
474
659
  name?: string;
660
+ /**
661
+ * - Unique identifier for the locality.
662
+ */
475
663
  uid?: string;
476
664
  };
477
665
  /** @returns {PincodeMetaResponse} */
478
666
  declare function PincodeMetaResponse(): PincodeMetaResponse;
479
667
  type PincodeMetaResponse = {
668
+ /**
669
+ * - Geographical region to which the pincode belongs,
670
+ * often used to categorize or group pincodes for regional management or
671
+ * postal purposes.
672
+ */
480
673
  zone?: string;
674
+ /**
675
+ * - A unique identifier used within the
676
+ * system to track or reference the specific zone associated with the pincode.
677
+ */
481
678
  internal_zone_id?: number;
482
679
  };
483
680
  /** @returns {PincodeErrorSchemaResponse} */
484
681
  declare function PincodeErrorSchemaResponse(): PincodeErrorSchemaResponse;
485
682
  type PincodeErrorSchemaResponse = {
683
+ /**
684
+ * - A user-readable description of the error,
685
+ * explaining what went wrong.
686
+ */
486
687
  message?: string;
688
+ /**
689
+ * - A specific code or identifier related to the
690
+ * error, used for referencing or categorizing the error.
691
+ */
487
692
  value?: string;
693
+ /**
694
+ * - The classification of the error, indicating the
695
+ * kind of issue.
696
+ */
488
697
  type?: string;
489
698
  };
490
699
  /** @returns {CountryMetaResponse} */
491
700
  declare function CountryMetaResponse(): CountryMetaResponse;
492
701
  type CountryMetaResponse = {
702
+ /**
703
+ * - The ISO 3166-1 alpha-2 code representing
704
+ * the country (e.g., "IN" for India, "US" for the United States).
705
+ */
493
706
  country_code?: string;
707
+ /**
708
+ * - The International Subscriber Dialing (ISD)
709
+ * code, also known as the country dialing code, used for making international
710
+ * phone calls to the country (e.g., "+91" for India, "+1" for the United States).
711
+ */
494
712
  isd_code?: string;
495
713
  };
496
714
  /** @returns {PincodeLatLongData} */
497
715
  declare function PincodeLatLongData(): PincodeLatLongData;
498
716
  type PincodeLatLongData = {
717
+ /**
718
+ * - Specifies the type of geographical feature or
719
+ * data, typically "Point" for coordinates in geographic data systems.
720
+ */
499
721
  type?: string;
722
+ /**
723
+ * - Contains the latitude and longitude
724
+ * values representing the precise location. The format is usually an array
725
+ * with two values: [longitude, latitude].
726
+ */
500
727
  coordinates?: string[];
501
728
  };
502
729
  /** @returns {PincodeDataResponse} */
503
730
  declare function PincodeDataResponse(): PincodeDataResponse;
504
731
  type PincodeDataResponse = {
732
+ /**
733
+ * - List of object representing
734
+ * a collection of geographical locations, each associated with specific
735
+ * hierarchical data such as cities, states, or countries.
736
+ */
505
737
  parents?: PincodeParentsResponse[];
506
738
  meta?: PincodeMetaResponse;
739
+ /**
740
+ * - User-friendly version of the geographical
741
+ * data, which may be more descriptive or formatted differently.
742
+ */
507
743
  display_name?: string;
508
744
  error: PincodeErrorSchemaResponse;
509
745
  meta_code?: CountryMetaResponse;
510
746
  lat_long?: PincodeLatLongData;
747
+ /**
748
+ * - Indicates the specific type of locality
749
+ * hierarchy the pincode belongs to (e.g., city, state, country).
750
+ */
511
751
  sub_type?: string;
752
+ /**
753
+ * - The actual geographical data, such as country
754
+ * names (India), state names (Maharashtra), pin codes (400603), city names
755
+ * (Dubai), or local sectors (Deira).
756
+ */
512
757
  name?: string;
758
+ /**
759
+ * - This field stands for "Unique Identifier," a
760
+ * unique value assigned to each instance to ensure differentiation and reference.
761
+ */
513
762
  uid?: string;
514
763
  };
515
764
  /** @returns {PincodeApiResponse} */
516
765
  declare function PincodeApiResponse(): PincodeApiResponse;
517
766
  type PincodeApiResponse = {
767
+ /**
768
+ * - Indicates whether the API request was
769
+ * successful (true) or failed (false).
770
+ */
518
771
  success: boolean;
772
+ /**
773
+ * - Contains the actual response data
774
+ * when the request is successful, providing details like pincode information
775
+ * or related data.
776
+ */
519
777
  data?: PincodeDataResponse[];
520
778
  error: PincodeErrorSchemaResponse;
521
779
  };
522
780
  /** @returns {TATCategoryRequest} */
523
781
  declare function TATCategoryRequest(): TATCategoryRequest;
524
782
  type TATCategoryRequest = {
783
+ /**
784
+ * - Specifies the hierarchical level of the category
785
+ * (e.g., country, state, city).
786
+ */
525
787
  level?: string;
788
+ /**
789
+ * - Represents the unique identifier for the category
790
+ * at the specified level.
791
+ */
526
792
  id?: number;
527
793
  };
528
794
  /** @returns {TATArticlesRequest} */
529
795
  declare function TATArticlesRequest(): TATArticlesRequest;
530
796
  type TATArticlesRequest = {
531
797
  category?: TATCategoryRequest;
798
+ /**
799
+ * - The unit of measurement for
800
+ * the manufacturing time, such as hours or days.
801
+ */
532
802
  manufacturing_time_unit?: string;
803
+ /**
804
+ * - The amount of time required to
805
+ * manufacture the article, specified in the unit given by `manufacturing_time_unit`.
806
+ */
533
807
  manufacturing_time?: number;
534
808
  };
535
809
  /** @returns {TATLocationDetailsRequest} */
536
810
  declare function TATLocationDetailsRequest(): TATLocationDetailsRequest;
537
811
  type TATLocationDetailsRequest = {
812
+ /**
813
+ * - A unique identifier of the fulfilling location.
814
+ */
538
815
  fulfillment_id?: number;
816
+ /**
817
+ * - The postal code of the location from
818
+ * which the fulfillment originates.
819
+ */
539
820
  from_pincode?: string;
821
+ /**
822
+ * - List of articles included in
823
+ * the fulfillment request, which provides details about the items to be
824
+ * processed or shipped.
825
+ */
540
826
  articles?: TATArticlesRequest[];
541
827
  };
542
828
  /** @returns {TATViewRequest} */
543
829
  declare function TATViewRequest(): TATViewRequest;
544
830
  type TATViewRequest = {
831
+ /**
832
+ * - The postal code of the destination location
833
+ * where the fulfillment or shipment is headed.
834
+ */
545
835
  to_pincode?: string;
836
+ /**
837
+ * - The origin or source of the request, indicating
838
+ * where the data or action is coming from.
839
+ */
546
840
  source?: string;
841
+ /**
842
+ * - The specific operation or request being made,
843
+ * such as viewing, updating, or managing data.
844
+ */
547
845
  action?: string;
846
+ /**
847
+ * - A unique ID used to reference or track the
848
+ * specific request or item within the system.
849
+ */
548
850
  identifier?: string;
851
+ /**
852
+ * - Locations
853
+ * involved in the request, including details about both the source and destination.
854
+ */
549
855
  location_details?: TATLocationDetailsRequest[];
856
+ /**
857
+ * - Indicates the direction of the request or
858
+ * shipment. It can either be "forward" (from the source to the destination)
859
+ * or "return" (from the destination back to the source).
860
+ */
550
861
  journey?: string;
551
862
  };
552
863
  /** @returns {TATErrorSchemaResponse} */
553
864
  declare function TATErrorSchemaResponse(): TATErrorSchemaResponse;
554
865
  type TATErrorSchemaResponse = {
866
+ /**
867
+ * - A user-readable description of the error,
868
+ * explaining what went wrong.
869
+ */
555
870
  message?: string;
871
+ /**
872
+ * - A specific code or identifier related to the
873
+ * error, used for referencing or categorizing the error.
874
+ */
556
875
  value?: string;
876
+ /**
877
+ * - The classification of the error, indicating the
878
+ * kind of issue.
879
+ */
557
880
  type?: string;
558
881
  };
559
882
  /** @returns {TATTimestampResponse} */
560
883
  declare function TATTimestampResponse(): TATTimestampResponse;
561
884
  type TATTimestampResponse = {
885
+ /**
886
+ * - The earliest possible timestamp.
887
+ */
562
888
  min?: number;
889
+ /**
890
+ * - The latest possible timestamp.
891
+ */
563
892
  max?: number;
564
893
  };
565
894
  /** @returns {TATFormattedResponse} */
566
895
  declare function TATFormattedResponse(): TATFormattedResponse;
567
896
  type TATFormattedResponse = {
897
+ /**
898
+ * - The earliest possible timestamp.
899
+ */
568
900
  min?: string;
901
+ /**
902
+ * - The latest possible timestamp.
903
+ */
569
904
  max?: string;
570
905
  };
571
906
  /** @returns {TATPromiseResponse} */
@@ -577,55 +912,170 @@ type TATPromiseResponse = {
577
912
  /** @returns {TATArticlesResponse} */
578
913
  declare function TATArticlesResponse(): TATArticlesResponse;
579
914
  type TATArticlesResponse = {
915
+ /**
916
+ * - The unit of measurement for
917
+ * the manufacturing time such as hours or days.
918
+ */
580
919
  manufacturing_time_unit?: string;
581
920
  error?: TATErrorSchemaResponse;
921
+ /**
922
+ * - Indicates whether Cash on Delivery
923
+ * (COD) is available for the articles.
924
+ */
582
925
  is_cod_available?: boolean;
583
926
  promise?: TATPromiseResponse;
927
+ /**
928
+ * - The time required to manufacture
929
+ * the articles, measured in the unit specified by manufacturing_time_unit.
930
+ */
584
931
  manufacturing_time?: number;
585
932
  category?: TATCategoryRequest;
933
+ /**
934
+ * - The manufacturing time
935
+ * converted into seconds.
936
+ */
586
937
  _manufacturing_time_seconds?: number;
587
938
  };
588
939
  /** @returns {TATLocationDetailsResponse} */
589
940
  declare function TATLocationDetailsResponse(): TATLocationDetailsResponse;
590
941
  type TATLocationDetailsResponse = {
942
+ /**
943
+ * - A unique identifier of the fulfilling location.
944
+ */
591
945
  fulfillment_id?: number;
946
+ /**
947
+ * - The postal code of the location from
948
+ * which the fulfillment originates.
949
+ */
592
950
  from_pincode?: string;
951
+ /**
952
+ * - List of articles included in
953
+ * the fulfillment request, which provides details about the items to be
954
+ * processed or shipped.
955
+ */
593
956
  articles?: TATArticlesResponse[];
594
957
  };
595
958
  /** @returns {TATViewResponse} */
596
959
  declare function TATViewResponse(): TATViewResponse;
597
960
  type TATViewResponse = {
961
+ /**
962
+ * - The postal code of the destination location
963
+ * where the fulfillment or shipment is headed.
964
+ */
598
965
  to_pincode?: string;
966
+ /**
967
+ * - A unique identifier for the request.
968
+ */
599
969
  request_uuid?: string;
970
+ /**
971
+ * - The mode of payment used for the transaction.
972
+ */
600
973
  payment_mode?: string;
974
+ /**
975
+ * - Whether the request was successful (true/false).
976
+ */
601
977
  success?: boolean;
602
978
  error?: TATErrorSchemaResponse;
979
+ /**
980
+ * - Whether Cash on Delivery (COD) is
981
+ * available for the request.
982
+ */
603
983
  is_cod_available?: boolean;
984
+ /**
985
+ * - The origin or source of the request.
986
+ */
604
987
  source?: string;
988
+ /**
989
+ * - The action performed or requested (e.g.,
990
+ * forward, return).
991
+ */
605
992
  action?: string;
993
+ /**
994
+ * - A unique identifier related to the
995
+ * stormbreaker process.
996
+ */
606
997
  stormbreaker_uuid?: string;
998
+ /**
999
+ * - The city corresponding to the destination pincode.
1000
+ */
607
1001
  to_city?: string;
1002
+ /**
1003
+ * - A unique identifier for the request or transaction.
1004
+ */
608
1005
  identifier?: string;
1006
+ /**
1007
+ * - Location
1008
+ * involved in the request.
1009
+ */
609
1010
  location_details?: TATLocationDetailsResponse[];
1011
+ /**
1012
+ * - Type of journey, either forward or return.
1013
+ */
610
1014
  journey?: string;
611
1015
  };
612
1016
  /** @returns {DP} */
613
1017
  declare function DP(): DP;
614
1018
  type DP = {
1019
+ /**
1020
+ * - First Mile Priority; focuses on the initial
1021
+ * segment of the logistics process, from the point of origin to the first
1022
+ * distribution center.
1023
+ */
615
1024
  fm_priority: number;
1025
+ /**
1026
+ * - Last Mile Priority; deals with the final
1027
+ * stage of the delivery process, where goods are delivered from the
1028
+ * distribution center to the final destination.
1029
+ */
616
1030
  lm_priority: number;
1031
+ /**
1032
+ * - Reverse Pickup Priority; pertains to the
1033
+ * process of collecting goods from the customer for return or exchange.
1034
+ */
617
1035
  rvp_priority: number;
1036
+ /**
1037
+ * - The method of payment used for
1038
+ * transactions, such as credit card, debit card, cash on delivery, etc.
1039
+ */
618
1040
  payment_mode: string;
1041
+ /**
1042
+ * - Refers to the various activities and
1043
+ * processes involved in managing and executing the delivery and logistics operations.
1044
+ */
619
1045
  operations: string[];
1046
+ /**
1047
+ * - A code that identifies a specific geographic
1048
+ * area, often used for sorting and routing deliveries.
1049
+ */
620
1050
  area_code?: string;
1051
+ /**
1052
+ * - Indicates whether the delivery
1053
+ * partner (DP) is assigned from stormbreaker service.
1054
+ */
621
1055
  assign_dp_from_sb?: boolean;
1056
+ /**
1057
+ * - An identifier used internally to
1058
+ * track accounts or entities within the organization's system.
1059
+ */
622
1060
  internal_account_id?: string;
1061
+ /**
1062
+ * - An identifier used to reference
1063
+ * accounts or entities outside the organization's system, such as partner accounts.
1064
+ */
623
1065
  external_account_id?: string;
1066
+ /**
1067
+ * - The method of transportation used for
1068
+ * delivering goods, such as road, rail, air, or sea.
1069
+ */
624
1070
  transport_mode?: string;
625
1071
  };
626
1072
  /** @returns {LogisticsResponse} */
627
1073
  declare function LogisticsResponse(): LogisticsResponse;
628
1074
  type LogisticsResponse = {
1075
+ /**
1076
+ * - Provide entity responsible for handling the
1077
+ * delivery of goods.
1078
+ */
629
1079
  dp?: any;
630
1080
  };
631
1081
  /** @returns {CountryEntityResponse} */
@@ -633,96 +1083,261 @@ declare function CountryEntityResponse(): CountryEntityResponse;
633
1083
  type CountryEntityResponse = {
634
1084
  meta?: CountryMetaResponse;
635
1085
  logistics?: LogisticsResponse;
1086
+ /**
1087
+ * - User-friendly version of the geographical
1088
+ * data, which may be more descriptive or formatted differently.
1089
+ */
636
1090
  display_name?: string;
1091
+ /**
1092
+ * - Specifies the type of geographical feature or
1093
+ * data, typically "Point" for coordinates in geographic data systems.
1094
+ */
637
1095
  type?: string;
1096
+ /**
1097
+ * - Whether the country entity is currently
1098
+ * active or not.
1099
+ */
638
1100
  is_active?: boolean;
1101
+ /**
1102
+ * - Identifier for the parent of the current locality.
1103
+ */
639
1104
  parent_id?: string;
1105
+ /**
1106
+ * - Specific type of locality hierarchy the
1107
+ * pincode belongs to (e.g., city, state, country).
1108
+ */
640
1109
  sub_type?: string;
1110
+ /**
1111
+ * - Country name.
1112
+ */
641
1113
  name?: string;
1114
+ /**
1115
+ * - Unique identifier for the country.
1116
+ */
642
1117
  uid?: string;
643
1118
  };
644
1119
  /** @returns {CountryListResponse} */
645
1120
  declare function CountryListResponse(): CountryListResponse;
646
1121
  type CountryListResponse = {
1122
+ /**
1123
+ * - A list of country entities,
1124
+ * each containing details about individual countries.
1125
+ */
647
1126
  results?: CountryEntityResponse[];
648
1127
  };
649
1128
  /** @returns {GetZoneFromPincodeViewRequest} */
650
1129
  declare function GetZoneFromPincodeViewRequest(): GetZoneFromPincodeViewRequest;
651
1130
  type GetZoneFromPincodeViewRequest = {
1131
+ /**
1132
+ * - The postal code or ZIP code used to pinpoint a
1133
+ * specific geographic area or location.
1134
+ */
652
1135
  pincode: string;
1136
+ /**
1137
+ * - The country where the pincode is located.
1138
+ */
653
1139
  country: string;
654
1140
  };
655
1141
  /** @returns {GetZoneFromPincodeViewResponse} */
656
1142
  declare function GetZoneFromPincodeViewResponse(): GetZoneFromPincodeViewResponse;
657
1143
  type GetZoneFromPincodeViewResponse = {
1144
+ /**
1145
+ * - Specifies the type of serviceability
1146
+ * for the given pincode, indicating whether it's deliverable or serviceable
1147
+ * under certain conditions.
1148
+ */
658
1149
  serviceability_type: string;
1150
+ /**
1151
+ * - Lists the zones associated with the pincode,
1152
+ * detailing the geographical or logistical zones for service.
1153
+ */
659
1154
  zones: string[];
660
1155
  };
661
1156
  /** @returns {ReAssignStoreRequest} */
662
1157
  declare function ReAssignStoreRequest(): ReAssignStoreRequest;
663
1158
  type ReAssignStoreRequest = {
1159
+ /**
1160
+ * - Specifies the configuration settings or
1161
+ * parameters for the store reassignment.
1162
+ */
664
1163
  configuration: any;
1164
+ /**
1165
+ * - The postal code of the destination location
1166
+ * where the fulfillment or shipment is headed.
1167
+ */
665
1168
  to_pincode: string;
1169
+ /**
1170
+ * - Locations that should be excluded
1171
+ * from the reassignment process.
1172
+ */
666
1173
  ignored_locations: number[];
1174
+ /**
1175
+ * - A unique identifier for the reassignment request.
1176
+ */
667
1177
  identifier: string;
1178
+ /**
1179
+ * - List of articles or items involved in the
1180
+ * store reassignment.
1181
+ */
668
1182
  articles: any[];
669
1183
  };
670
1184
  /** @returns {ReAssignStoreResponse} */
671
1185
  declare function ReAssignStoreResponse(): ReAssignStoreResponse;
672
1186
  type ReAssignStoreResponse = {
1187
+ /**
1188
+ * - The postal code of the destination location
1189
+ * where the fulfillment or shipment is headed.
1190
+ */
673
1191
  to_pincode: string;
1192
+ /**
1193
+ * - A unique identifier for tracking the
1194
+ * reassignment operation.
1195
+ */
674
1196
  pystormbreaker_uuid: string;
1197
+ /**
1198
+ * - Whether the reassignment was successful or not.
1199
+ */
675
1200
  success: boolean;
1201
+ /**
1202
+ * - Details about any errors encountered during the
1203
+ * reassignment.
1204
+ */
676
1205
  error: any;
1206
+ /**
1207
+ * - List of stores that have been
1208
+ * successfully reassigned.
1209
+ */
677
1210
  assigned_stores?: any[];
678
1211
  };
679
1212
  /** @returns {CountryHierarchy} */
680
1213
  declare function CountryHierarchy(): CountryHierarchy;
681
1214
  type CountryHierarchy = {
1215
+ /**
1216
+ * - It represent a country name.
1217
+ */
682
1218
  name?: string;
1219
+ /**
1220
+ * - A URL-friendly version of the name, often used
1221
+ * for referencing or querying purposes.
1222
+ */
683
1223
  slug?: string;
684
1224
  };
685
1225
  /** @returns {CurrencyObject} */
686
1226
  declare function CurrencyObject(): CurrencyObject;
687
1227
  type CurrencyObject = {
1228
+ /**
1229
+ * - The currency code, typically a three-letter ISO
1230
+ * code (e.g., "USD" for US Dollar).
1231
+ */
688
1232
  code?: string;
1233
+ /**
1234
+ * - It represent a country name.
1235
+ */
689
1236
  name?: string;
1237
+ /**
1238
+ * - The symbol used to represent the currency
1239
+ * (e.g., "$" for US Dollar).
1240
+ */
690
1241
  symbol?: string;
691
1242
  };
692
1243
  /** @returns {CountryObject} */
693
1244
  declare function CountryObject(): CountryObject;
694
1245
  type CountryObject = {
1246
+ /**
1247
+ * - Unique identifier for the country.
1248
+ */
695
1249
  id?: string;
1250
+ /**
1251
+ * - It represent a country name.
1252
+ */
696
1253
  name?: string;
1254
+ /**
1255
+ * - User-friendly version of the geographical
1256
+ * data, which may be more descriptive or formatted differently.
1257
+ */
697
1258
  display_name?: string;
1259
+ /**
1260
+ * - Two-letter ISO code representing the country.
1261
+ */
698
1262
  iso2?: string;
1263
+ /**
1264
+ * - Three-letter ISO code representing the country.
1265
+ */
699
1266
  iso3?: string;
1267
+ /**
1268
+ * - List of time zones used in the country
1269
+ * (e.g., ["America/New_York", "America/Los_Angeles"]).
1270
+ */
700
1271
  timezones?: string[];
1272
+ /**
1273
+ * - Levels within the country (e.g.,
1274
+ * states, cities) and their slugs (e.g., [{"name": "State", "slug": "state"},
1275
+ * {"name": "City", "slug": "city"}]).
1276
+ */
701
1277
  hierarchy?: CountryHierarchy[];
1278
+ /**
1279
+ * - International dialing code for the country
1280
+ * (e.g., "+1").
1281
+ */
702
1282
  phone_code?: string;
1283
+ /**
1284
+ * - Geographical latitude of the country (e.g., "37.0902").
1285
+ */
703
1286
  latitude?: string;
1287
+ /**
1288
+ * - Geographical longitude of the country (e.g.,
1289
+ * "-95.7129").
1290
+ */
704
1291
  longitude?: string;
705
1292
  currency?: CurrencyObject;
1293
+ /**
1294
+ * - Indicates the type of object (e.g., "country").
1295
+ */
706
1296
  type?: string;
707
1297
  };
708
1298
  /** @returns {GetCountries} */
709
1299
  declare function GetCountries(): GetCountries;
710
1300
  type GetCountries = {
1301
+ /**
1302
+ * - List of countries, each containing
1303
+ * detailed information about individual country.
1304
+ */
711
1305
  items?: CountryObject[];
712
1306
  page?: Page;
713
1307
  };
714
1308
  /** @returns {GetOneOrAllPath} */
715
1309
  declare function GetOneOrAllPath(): GetOneOrAllPath;
716
1310
  type GetOneOrAllPath = {
1311
+ /**
1312
+ * - Specifies the type of locality to be
1313
+ * retrieved, such as city, state, or pincode (e.g., "city", "state", "pincode").
1314
+ */
717
1315
  locality_type?: string;
1316
+ /**
1317
+ * - The specific value of the locality
1318
+ * being queried, such as the name of the city or the pincode (e.g., "Mumbai",
1319
+ * "400093").
1320
+ */
718
1321
  locality_value?: string;
719
1322
  };
720
1323
  /** @returns {GetOneOrAllQuery} */
721
1324
  declare function GetOneOrAllQuery(): GetOneOrAllQuery;
722
1325
  type GetOneOrAllQuery = {
1326
+ /**
1327
+ * - The name of the country to filter the results.
1328
+ */
723
1329
  country?: string;
1330
+ /**
1331
+ * - The name of the state within the specified country.
1332
+ */
724
1333
  state?: string;
1334
+ /**
1335
+ * - The name of the city within the specified state.
1336
+ */
725
1337
  city?: string;
1338
+ /**
1339
+ * - The name of the sector or area within the specified city.
1340
+ */
726
1341
  sector?: string;
727
1342
  };
728
1343
  /** @returns {GetOneOrAllParams} */
@@ -734,24 +1349,41 @@ type GetOneOrAllParams = {
734
1349
  /** @returns {GetOneOrAll} */
735
1350
  declare function GetOneOrAll(): GetOneOrAll;
736
1351
  type GetOneOrAll = {
1352
+ /**
1353
+ * - Identifier for the specific operation or
1354
+ * query being performed.
1355
+ */
737
1356
  operation_id?: string;
738
1357
  params?: GetOneOrAllParams;
739
1358
  };
740
1359
  /** @returns {LengthValidation} */
741
1360
  declare function LengthValidation(): LengthValidation;
742
1361
  type LengthValidation = {
1362
+ /**
1363
+ * - The minimum number of characters or digits allowed.
1364
+ */
743
1365
  min?: number;
1366
+ /**
1367
+ * - The maximum number of characters or digits allowed.
1368
+ */
744
1369
  max?: number;
745
1370
  };
746
1371
  /** @returns {FieldValidationRegex} */
747
1372
  declare function FieldValidationRegex(): FieldValidationRegex;
748
1373
  type FieldValidationRegex = {
1374
+ /**
1375
+ * - Regular expression pattern used to validate the field.
1376
+ */
749
1377
  value?: string;
750
1378
  length?: LengthValidation;
751
1379
  };
752
1380
  /** @returns {FieldValidation} */
753
1381
  declare function FieldValidation(): FieldValidation;
754
1382
  type FieldValidation = {
1383
+ /**
1384
+ * - Specifies the validation method, such as regex
1385
+ * for regular expression validation.
1386
+ */
755
1387
  type?: string;
756
1388
  regex?: FieldValidationRegex;
757
1389
  };
@@ -764,94 +1396,280 @@ type GetCountryFieldsAddressValues = {
764
1396
  /** @returns {GetCountryFieldsAddress} */
765
1397
  declare function GetCountryFieldsAddress(): GetCountryFieldsAddress;
766
1398
  type GetCountryFieldsAddress = {
1399
+ /**
1400
+ * - User-friendly version of the geographical
1401
+ * data, which may be more descriptive or formatted differently.
1402
+ */
767
1403
  display_name: string;
1404
+ /**
1405
+ * - URL-friendly version of the name, often used for
1406
+ * referencing or querying purposes.
1407
+ */
768
1408
  slug: string;
1409
+ /**
1410
+ * - Indicates whether the field is mandatory for
1411
+ * the user to fill out.
1412
+ */
769
1413
  required: boolean;
1414
+ /**
1415
+ * - Specifies if the field can be edited by the user.
1416
+ */
770
1417
  edit?: boolean;
1418
+ /**
1419
+ * - Defines the type of input control used for the
1420
+ * field (e.g., textbox).
1421
+ */
771
1422
  input: string;
772
1423
  validation?: FieldValidation;
773
1424
  values?: GetCountryFieldsAddressValues;
1425
+ /**
1426
+ * - The message shown to the user if the input
1427
+ * does not meet the validation criteria.
1428
+ */
774
1429
  error_text?: string;
775
1430
  };
776
1431
  /** @returns {GetCountryFieldsAddressTemplate} */
777
1432
  declare function GetCountryFieldsAddressTemplate(): GetCountryFieldsAddressTemplate;
778
1433
  type GetCountryFieldsAddressTemplate = {
1434
+ /**
1435
+ * - The format used to display or collect
1436
+ * address information during checkout.
1437
+ */
779
1438
  checkout_form: string;
1439
+ /**
1440
+ * - The format used for address entry or
1441
+ * display in the store's operating system.
1442
+ */
780
1443
  store_os_form: string;
1444
+ /**
1445
+ * - The general format for displaying
1446
+ * address information.
1447
+ */
781
1448
  default_display: string;
782
1449
  };
783
1450
  /** @returns {GetCountryFields} */
784
1451
  declare function GetCountryFields(): GetCountryFields;
785
1452
  type GetCountryFields = {
1453
+ /**
1454
+ * - Specifies the fields and
1455
+ * attributes related to address information, including display names, input
1456
+ * types, and validation rules. This section defines the details needed for
1457
+ * address collection and formatting.
1458
+ */
786
1459
  address: GetCountryFieldsAddress[];
1460
+ /**
1461
+ * - Lists the specific address
1462
+ * fields used to determine whether a location is serviceable. These fields
1463
+ * are crucial for validating service coverage and availability.
1464
+ */
787
1465
  serviceability_fields: string[];
788
1466
  address_template: GetCountryFieldsAddressTemplate;
789
1467
  };
790
1468
  /** @returns {GetCountry} */
791
1469
  declare function GetCountry(): GetCountry;
792
1470
  type GetCountry = {
1471
+ /**
1472
+ * - Unique identifier for the country.
1473
+ */
793
1474
  id?: string;
1475
+ /**
1476
+ * - It represent a country name.
1477
+ */
794
1478
  name?: string;
1479
+ /**
1480
+ * - User-friendly version of the geographical
1481
+ * data, which may be more descriptive or formatted differently.
1482
+ */
795
1483
  display_name?: string;
1484
+ /**
1485
+ * - Two-letter ISO code representing the country.
1486
+ */
796
1487
  iso2?: string;
1488
+ /**
1489
+ * - Three-letter ISO code representing the country.
1490
+ */
797
1491
  iso3?: string;
1492
+ /**
1493
+ * - List of time zones used in the country
1494
+ * (e.g., ["America/New_York", "America/Los_Angeles"]).
1495
+ */
798
1496
  timezones?: string[];
1497
+ /**
1498
+ * - Levels within the country (e.g.,
1499
+ * states, cities) and their slugs (e.g., [{"name": "State", "slug": "state"},
1500
+ * {"name": "City", "slug": "city"}]).
1501
+ */
799
1502
  hierarchy?: CountryHierarchy[];
1503
+ /**
1504
+ * - International dialing code for the country
1505
+ * (e.g., "+1").
1506
+ */
800
1507
  phone_code?: string;
1508
+ /**
1509
+ * - Geographical latitude of the country (e.g., "37.0902").
1510
+ */
801
1511
  latitude?: string;
1512
+ /**
1513
+ * - Geographical longitude of the country (e.g.,
1514
+ * "-95.7129").
1515
+ */
802
1516
  longitude?: string;
803
1517
  currency?: CurrencyObject;
1518
+ /**
1519
+ * - Indicates the type of object (e.g., "country").
1520
+ */
804
1521
  type?: string;
805
1522
  fields?: GetCountryFields;
806
1523
  };
807
1524
  /** @returns {Page} */
808
1525
  declare function Page(): Page;
809
1526
  type Page = {
1527
+ /**
1528
+ * - The total number of items on the page.
1529
+ */
810
1530
  item_total?: number;
1531
+ /**
1532
+ * - The identifier for the next page.
1533
+ */
811
1534
  next_id?: string;
1535
+ /**
1536
+ * - Indicates whether there is a previous page.
1537
+ */
812
1538
  has_previous?: boolean;
1539
+ /**
1540
+ * - Indicates whether there is a next page.
1541
+ */
813
1542
  has_next?: boolean;
1543
+ /**
1544
+ * - The current page number.
1545
+ */
814
1546
  current?: number;
1547
+ /**
1548
+ * - The type of the page, such as 'PageType'.
1549
+ */
815
1550
  type: string;
1551
+ /**
1552
+ * - The number of items per page.
1553
+ */
816
1554
  size?: number;
817
1555
  };
818
1556
  /** @returns {Localities} */
819
1557
  declare function Localities(): Localities;
820
1558
  type Localities = {
1559
+ /**
1560
+ * - A unique identifier for the locality.
1561
+ */
821
1562
  id?: string;
1563
+ /**
1564
+ * - The actual geographical data, such as country
1565
+ * names (India), state names (Maharashtra), pin codes (400603), city names
1566
+ * (Dubai), or local sectors (Deira).
1567
+ */
822
1568
  name?: string;
1569
+ /**
1570
+ * - User-friendly version of the geographical
1571
+ * data, which may be more descriptive or formatted differently.
1572
+ */
823
1573
  display_name?: string;
1574
+ /**
1575
+ * - Identifiers for the parent of the current locality.
1576
+ */
824
1577
  parent_ids?: string[];
1578
+ /**
1579
+ * - Specifies the category of the address component,
1580
+ * such as pincode, state, city, country, or sector.
1581
+ */
825
1582
  type?: string;
1583
+ /**
1584
+ * - Representing the localities that
1585
+ * are associated with or contained within the current locality. It provides
1586
+ * detailed information about the parent localities, including their names,
1587
+ * identifiers, and hierarchical relationships.
1588
+ */
1589
+ localities?: LocalityParent[];
826
1590
  };
827
1591
  /** @returns {LocalityParent} */
828
1592
  declare function LocalityParent(): LocalityParent;
829
1593
  type LocalityParent = {
1594
+ /**
1595
+ * - A unique identifier for the locality.
1596
+ */
830
1597
  id?: string;
1598
+ /**
1599
+ * - The actual geographical data, such as country
1600
+ * names (India), state names (Maharashtra), pin codes (400603), city names
1601
+ * (Dubai), or local sectors (Deira).
1602
+ */
831
1603
  name?: string;
1604
+ /**
1605
+ * - User-friendly version of the geographical
1606
+ * data, which may be more descriptive or formatted differently.
1607
+ */
832
1608
  display_name?: string;
1609
+ /**
1610
+ * - Identifiers for the parent of the current locality.
1611
+ */
833
1612
  parent_ids?: string[];
1613
+ /**
1614
+ * - Specifies the category of the address component,
1615
+ * such as pincode, state, city, country, or sector.
1616
+ */
834
1617
  type?: string;
835
1618
  };
836
1619
  /** @returns {GetLocalities} */
837
1620
  declare function GetLocalities(): GetLocalities;
838
1621
  type GetLocalities = {
1622
+ /**
1623
+ * - List of localities, each containing
1624
+ * detailed information about individual locality.
1625
+ */
839
1626
  items?: Localities[];
840
1627
  page?: Page;
841
1628
  };
842
1629
  /** @returns {GetLocality} */
843
1630
  declare function GetLocality(): GetLocality;
844
1631
  type GetLocality = {
1632
+ /**
1633
+ * - A unique identifier for the locality.
1634
+ */
845
1635
  id?: string;
1636
+ /**
1637
+ * - The actual geographical data, such as country
1638
+ * names (India), state names (Maharashtra), pin codes (400603), city names
1639
+ * (Dubai), or local sectors (Deira).
1640
+ */
846
1641
  name?: string;
1642
+ /**
1643
+ * - User-friendly version of the geographical
1644
+ * data, which may be more descriptive or formatted differently.
1645
+ */
847
1646
  display_name?: string;
1647
+ /**
1648
+ * - Identifiers for the parent of the current locality.
1649
+ */
848
1650
  parent_ids?: string[];
1651
+ /**
1652
+ * - Specifies the category of the address component,
1653
+ * such as pincode, state, city, country, or sector.
1654
+ */
849
1655
  type?: string;
1656
+ /**
1657
+ * - Representing the localities that
1658
+ * are associated with or contained within the current locality. It provides
1659
+ * detailed information about the parent localities, including their names,
1660
+ * identifiers, and hierarchical relationships.
1661
+ */
850
1662
  localities?: LocalityParent[];
851
1663
  };
852
1664
  /** @returns {ErrorResponse} */
853
1665
  declare function ErrorResponse(): ErrorResponse;
854
1666
  type ErrorResponse = {
1667
+ /**
1668
+ * - Error code identifying the type of error.
1669
+ */
855
1670
  error?: string;
1671
+ /**
1672
+ * - User-friendly explanation of what went wrong.
1673
+ */
856
1674
  message?: string;
857
1675
  };