@gofynd/fdk-client-javascript 1.4.8-beta.3 → 1.4.8

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 +21 -10
  111. package/sdk/platform/Billing/BillingPlatformClient.js +167 -83
  112. package/sdk/platform/Billing/BillingPlatformModel.d.ts +2849 -565
  113. package/sdk/platform/Billing/BillingPlatformModel.js +935 -556
  114. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +30 -14
  115. package/sdk/platform/Billing/BillingPlatformValidator.js +31 -16
  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/Billing/BillingPublicClient.d.ts +11 -0
  175. package/sdk/public/Billing/BillingPublicClient.js +80 -0
  176. package/sdk/public/Billing/BillingPublicModel.d.ts +584 -99
  177. package/sdk/public/Billing/BillingPublicModel.js +252 -87
  178. package/sdk/public/Billing/BillingPublicValidator.d.ts +10 -1
  179. package/sdk/public/Billing/BillingPublicValidator.js +12 -0
  180. package/sdk/public/PublicClient.d.ts +0 -2
  181. package/sdk/public/PublicClient.js +0 -4
  182. package/sdk/public/index.d.ts +0 -1
  183. package/sdk/public/index.js +0 -2
  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
@@ -10,75 +10,76 @@ const Joi = require("joi");
10
10
  * @property {CompanyInfo} [company_info]
11
11
  * @property {OwnerInfo} [owner_info]
12
12
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
13
- * of application information
13
+ * of application information.
14
14
  * @property {Domain} [domain]
15
15
  * @property {ApplicationWebsite} [website]
16
16
  * @property {ApplicationCors} [cors]
17
17
  * @property {string} [description] - It contains details information about the
18
- * sales channel
19
- * @property {string} [name] - Name of the sales channel, e.g. Zenz Fashion
20
- * @property {ApplicationMeta[]} [meta]
18
+ * sales channel.
19
+ * @property {string} [name] - Name of the sales channel, e.g. Zenz Fashion.
20
+ * @property {ApplicationMeta[]} [meta] - Metadata related to the application.
21
21
  * @property {string} [token] - Random generated fix length string for sales
22
22
  * channel. It is required and auto-generated.
23
23
  * @property {string} [secret] - Random generated fix length string for sales
24
24
  * channel. It is required and auto-generated.
25
25
  * @property {string} [created_at] - ISO 8601 timestamp of sales channel
26
- * information creation
26
+ * information creation.
27
27
  * @property {SecureUrl} [banner]
28
28
  * @property {SecureUrl} [logo]
29
29
  * @property {boolean} [is_active] - Indicates whether sales channel is active
30
- * or not active
31
- * @property {string} [mode]
32
- * @property {TokenSchema[]} [tokens]
33
- * @property {Domain[]} [domains]
30
+ * or not active.
31
+ * @property {string} [mode] - Mode of the application.
32
+ * @property {TokenSchema[]} [tokens] - List of tokens associated with the application.
33
+ * @property {Domain[]} [domains] - List of domains associated with the application.
34
34
  * @property {SecureUrl} [favicon]
35
35
  * @property {SecureUrl} [mobile_logo]
36
- * @property {string} [slug]
36
+ * @property {string} [slug] - Slug identifier for the application.
37
37
  */
38
38
 
39
39
  /**
40
40
  * @typedef CompanyInfo
41
41
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
42
- * of company information
43
- * @property {number} [uid] - Company UID
44
- * @property {string} [created_on] - ISO 8601 timestamp of company information creation
45
- * @property {boolean} [is_active] - Indicates company is active or not active
46
- * @property {string} [name] - Name of the company, Reliance Retail Limited
47
- * @property {CompanyAboutAddress[]} [addresses]
48
- * @property {string[]} [notification_emails]
42
+ * of company information.
43
+ * @property {number} [uid] - Unique identifier for the company.
44
+ * @property {string} [created_on] - ISO 8601 timestamp of company information creation.
45
+ * @property {boolean} [is_active] - Indicates company is active or not active.
46
+ * @property {string} [name] - Name of the company, Reliance Retail Limited.
47
+ * @property {CompanyAboutAddress[]} [addresses] - List of addresses associated
48
+ * with the company.
49
+ * @property {string[]} [notification_emails] - List of emails to notify.
49
50
  */
50
51
 
51
52
  /**
52
53
  * @typedef OwnerInfo
53
54
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
54
- * of owner info
55
- * @property {UserEmail[]} [emails]
56
- * @property {UserPhoneNumber[]} [phone_numbers]
57
- * @property {string} [first_name] - First name of the owner
58
- * @property {string} [last_name] - Last name of the owner
59
- * @property {string} [profile_pic] - Hosted URL of profile pic
55
+ * of owner info.
56
+ * @property {UserEmail[]} [emails] - List of email addresses of the owner.
57
+ * @property {UserPhoneNumber[]} [phone_numbers] - List of phone numbers of the owner.
58
+ * @property {string} [first_name] - First name of the owner.
59
+ * @property {string} [last_name] - Last name of the owner.
60
+ * @property {string} [profile_pic] - Hosted URL of profile pic.
60
61
  */
61
62
 
62
63
  /**
63
64
  * @typedef SupportedLanguage
64
- * @property {string} [name] - Name of the supported language, e.g. हिन्दी
65
- * @property {string} [code] - Unique code of supported language, e.g. hi-IN
65
+ * @property {string} [name] - Name of the supported language, e.g. हिन्दी.
66
+ * @property {string} [code] - Unique code of supported language, e.g. hi-IN.
66
67
  */
67
68
 
68
69
  /**
69
70
  * @typedef LanguageResponse
70
- * @property {SupportedLanguage[]} [items]
71
+ * @property {SupportedLanguage[]} [items] - List of supported languages.
71
72
  */
72
73
 
73
74
  /**
74
75
  * @typedef AppStaffResponse
75
- * @property {AppStaff[]} [staff_users]
76
+ * @property {AppStaff[]} [staff_users] - List of staff users.
76
77
  */
77
78
 
78
79
  /**
79
80
  * @typedef AppStaffListResponse
80
81
  * @property {Page} [page]
81
- * @property {AppStaff[]} [items]
82
+ * @property {AppStaff[]} [items] - List of staff users.
82
83
  */
83
84
 
84
85
  /**
@@ -93,31 +94,32 @@ const Joi = require("joi");
93
94
 
94
95
  /**
95
96
  * @typedef AppStaff
96
- * @property {string} [_id] - The unique identifier for the sales channel staff member
97
+ * @property {string} [_id] - The unique identifier for the sales channel staff member.
97
98
  * @property {boolean} [order_incent] - This is a boolean value. `true` to
98
99
  * retrieve the staff members eligible for getting incentives on orders.
99
- * @property {number[]} [stores]
100
+ * @property {number[]} [stores] - List of IDs of the ordering stores where the
101
+ * staff member works.
100
102
  * @property {string} [application] - The unique identifier (24-digit Mongo
101
- * Object ID) of the current sales channel
102
- * @property {string} [title] - Tittle for the staff member like owner, staff.
103
+ * Object ID) of the current sales channel.
104
+ * @property {string} [title] - Title for the staff member like owner, staff.
103
105
  * @property {string} [user] - Mongo ID of the staff. Helps in retrieving the
104
106
  * details of a particular staff member.
105
107
  * @property {string} [employee_code] - Employee code of sales channel staff
106
108
  * member. It has unique value.
107
- * @property {string} [first_name] - First name the staff member
108
- * @property {string} [last_name] - Last name the staff member
109
- * @property {string} [profile_pic_url] - Profile image hosted url of the staff member
109
+ * @property {string} [first_name] - First name the staff member.
110
+ * @property {string} [last_name] - Last name the staff member.
111
+ * @property {string} [profile_pic_url] - Profile image hosted url of the staff member.
110
112
  */
111
113
 
112
114
  /**
113
115
  * @typedef AppTokenResponse
114
116
  * @property {Tokens} [tokens]
115
117
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
116
- * of the token
118
+ * of the token.
117
119
  * @property {string} [application] - Alphanumeric ID allotted to the current
118
- * application created within the current business account
119
- * @property {string} [created_at] - ISO 8601 timestamp of token creation
120
- * @property {string} [modified_at] - ISO 8601 timestamp of token updation
120
+ * application created within the current business account.
121
+ * @property {string} [created_at] - ISO 8601 timestamp of token creation.
122
+ * @property {string} [modified_at] - ISO 8601 timestamp of token updation.
121
123
  * @property {number} [__v] - Version key for tracking revisions. Default value is zero.
122
124
  */
123
125
 
@@ -137,7 +139,7 @@ const Joi = require("joi");
137
139
  * @typedef Firebase
138
140
  * @property {Credentials} [credentials]
139
141
  * @property {boolean} [enabled] - Shows whether Firebase integration is enabled
140
- * or disabled for the sales channel
142
+ * or disabled for the sales channel.
141
143
  */
142
144
 
143
145
  /**
@@ -150,7 +152,7 @@ const Joi = require("joi");
150
152
  * Firebase. It is a unique numerical value which is created when you
151
153
  * configure your project in the Google Developers Console/Google Cloud Console.
152
154
  * @property {string} [application_id] - Alphanumeric ID allotted to the current
153
- * application created within the current business account
155
+ * application created within the current business account.
154
156
  * @property {string} [api_key] - An API key is a unique string that's used to
155
157
  * route requests to your Firebase project when interacting with Firebase.
156
158
  */
@@ -158,22 +160,22 @@ const Joi = require("joi");
158
160
  /**
159
161
  * @typedef Ios
160
162
  * @property {string} [application_id] - Alphanumeric ID allotted to a sales
161
- * channel application created within a business account
162
- * @property {string} [api_key] - Firebase secret credential API key for IOS
163
+ * channel application created within a business account.
164
+ * @property {string} [api_key] - Firebase secret credential API key for IOS.
163
165
  */
164
166
 
165
167
  /**
166
168
  * @typedef Android
167
169
  * @property {string} [application_id] - Alphanumeric ID allotted to a sales
168
- * channel application created within a business account
169
- * @property {string} [api_key] - Firebase secret credential API key for Android
170
+ * channel application created within a business account.
171
+ * @property {string} [api_key] - Firebase secret credential API key for Android.
170
172
  */
171
173
 
172
174
  /**
173
175
  * @typedef Moengage
174
176
  * @property {MoengageCredentials} [credentials]
175
- * @property {boolean} [enabled] - Shows whether MoEngage integation is enabled
176
- * or disabled for the sales channel
177
+ * @property {boolean} [enabled] - Shows whether MoEngage integration is enabled
178
+ * or disabled for the sales channel.
177
179
  */
178
180
 
179
181
  /**
@@ -187,7 +189,7 @@ const Joi = require("joi");
187
189
  * @typedef Segment
188
190
  * @property {SegmentCredentials} [credentials]
189
191
  * @property {boolean} [enabled] - Shows whether Segment integration is enabled
190
- * or disabled for the sales channel
192
+ * or disabled for the sales channel.
191
193
  */
192
194
 
193
195
  /**
@@ -201,35 +203,35 @@ const Joi = require("joi");
201
203
  * @typedef Gtm
202
204
  * @property {GtmCredentials} [credentials]
203
205
  * @property {boolean} [enabled] - Shows whether GTM integration is enabled or
204
- * disabled for the sales channel
206
+ * disabled for the sales channel.
205
207
  */
206
208
 
207
209
  /**
208
210
  * @typedef GtmCredentials
209
- * @property {string} [api_key] - Secret credential API key for GTM
211
+ * @property {string} [api_key] - Secret credential API key for GTM.
210
212
  */
211
213
 
212
214
  /**
213
215
  * @typedef Freshchat
214
216
  * @property {FreshchatCredentials} [credentials]
215
217
  * @property {boolean} [enabled] - Shows whether Freshchat integration is
216
- * enabled or disabled for the sales channel
218
+ * enabled or disabled for the sales channel.
217
219
  */
218
220
 
219
221
  /**
220
222
  * @typedef FreshchatCredentials
221
223
  * @property {string} [app_id] - The unique app_id of your Freshchat account for
222
- * integrating Freshchat with your sales channel
224
+ * integrating Freshchat with your sales channel.
223
225
  * @property {string} [app_key] - The unique app_key of your Freshchat account
224
- * for integrating Freshchat with your sales channel
225
- * @property {string} [web_token] - Web token used for accessing the Freshchat APIs
226
+ * for integrating Freshchat with your sales channel.
227
+ * @property {string} [web_token] - Web token used for accessing the Freshchat APIs.
226
228
  */
227
229
 
228
230
  /**
229
231
  * @typedef Safetynet
230
232
  * @property {SafetynetCredentials} [credentials]
231
233
  * @property {boolean} [enabled] - Shows whether Safetynet integration is
232
- * enabled or disabled for the sales channel
234
+ * enabled or disabled for the sales channel.
233
235
  */
234
236
 
235
237
  /**
@@ -267,14 +269,14 @@ const Joi = require("joi");
267
269
 
268
270
  /**
269
271
  * @typedef Credit
270
- * @property {boolean} [enabled] - Shows whether reward points should be credited
272
+ * @property {boolean} [enabled] - Shows whether reward points should be credited.
271
273
  */
272
274
 
273
275
  /**
274
276
  * @typedef Debit
275
- * @property {boolean} [enabled] - Shows whether reward points are available for debit
276
- * @property {boolean} [auto_apply] - Allow automatic debit of reward points
277
- * @property {string} [strategy_channel] - Strategy channel for debiting reward points
277
+ * @property {boolean} [enabled] - Shows whether reward points are available for debit.
278
+ * @property {boolean} [auto_apply] - Allow automatic debit of reward points.
279
+ * @property {string} [strategy_channel] - Strategy channel for debiting reward points.
278
280
  */
279
281
 
280
282
  /**
@@ -283,7 +285,7 @@ const Joi = require("joi");
283
285
  * other products from same seller, other products in same category, other
284
286
  * products in same price range, etc.
285
287
  * @property {boolean} [seller_selection] - Shows whether the customers can
286
- * choose the seller on PDP
288
+ * choose the seller on PDP.
287
289
  * @property {boolean} [update_product_meta] - Allow user to update product
288
290
  * meta. Default value is true.
289
291
  * @property {boolean} [request_product] - Indicates whether customers can
@@ -292,7 +294,7 @@ const Joi = require("joi");
292
294
 
293
295
  /**
294
296
  * @typedef LaunchPage
295
- * @property {string} [page_type] - Type of the launch page
297
+ * @property {string} [page_type] - Type of the launch page.
296
298
  * @property {Object} [params] - Launch page params. It can be nullable.
297
299
  * @property {Object} [query] - Query related to launch page. It can be nullable.
298
300
  */
@@ -301,18 +303,18 @@ const Joi = require("joi");
301
303
  * @typedef LandingPageFeature
302
304
  * @property {LaunchPage} [launch_page]
303
305
  * @property {boolean} [continue_as_guest] - Shows whether a guest can checkout
304
- * from cart without logging in
305
- * @property {string} [login_btn_text] - Shows the text displayed over the login button
306
+ * from cart without logging in.
307
+ * @property {string} [login_btn_text] - Shows the text displayed over the login button.
306
308
  * @property {boolean} [show_domain_textbox] - Shows whether a textbox for
307
- * entering domain is available
309
+ * entering domain is available.
308
310
  * @property {boolean} [show_register_btn] - Shows whether register button is
309
- * available in the login/landing page
311
+ * available in the login/landing page.
310
312
  */
311
313
 
312
314
  /**
313
315
  * @typedef RegistrationPageFeature
314
316
  * @property {boolean} [ask_store_address] - Shows whether a form to collect the
315
- * address of the store, should be displayed upon visiting the website
317
+ * address of the store, should be displayed upon visiting the website.
316
318
  */
317
319
 
318
320
  /**
@@ -327,19 +329,19 @@ const Joi = require("joi");
327
329
  * @property {PcrFeature} [pcr]
328
330
  * @property {OrderFeature} [order]
329
331
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
330
- * for the sales channel features
331
- * @property {string} [app] - Application ID of the sales channel
332
+ * for the sales channel features.
333
+ * @property {string} [app] - Application ID of the sales channel.
332
334
  * @property {string} [created_at] - ISO 8601 timestamp showing the date when
333
- * the features were configured
335
+ * the features were configured.
334
336
  * @property {string} [modified_at] - ISO 8601 timestamp of last known
335
- * modifications to the sales channel feature configuration
336
- * @property {number} [__v] - Version key for tracking revisions. Default value is zero
337
+ * modifications to the sales channel feature configuration.
338
+ * @property {number} [__v] - Version key for tracking revisions. Default value is zero.
337
339
  */
338
340
 
339
341
  /**
340
342
  * @typedef HomePageFeature
341
343
  * @property {boolean} [order_processing] - Shows whether order processing is
342
- * enabled or not enabled
344
+ * enabled or not enabled.
343
345
  */
344
346
 
345
347
  /**
@@ -363,13 +365,13 @@ const Joi = require("joi");
363
365
 
364
366
  /**
365
367
  * @typedef CommunicationOptinDialogFeature
366
- * @property {boolean} [visibility] - Shows whether WhatsApp communication is enabled
368
+ * @property {boolean} [visibility] - Shows whether WhatsApp communication is enabled.
367
369
  */
368
370
 
369
371
  /**
370
372
  * @typedef DeploymentStoreSelectionFeature
371
373
  * @property {boolean} [enabled] - Shows whether selection of store (for
372
- * deploying the application) is permitted
374
+ * deploying the application) is permitted.
373
375
  * @property {string} [type] - Permitted values are 'hard' and 'soft'. For hard
374
376
  * type delivery, store selection is compulsory. For soft type, delivery store
375
377
  * selection is optional.
@@ -386,16 +388,17 @@ const Joi = require("joi");
386
388
 
387
389
  /**
388
390
  * @typedef ListingPageFeature
389
- * @property {string} [sort_on]
391
+ * @property {string} [sort_on] - Determines the sorting criteria for product
392
+ * listings on the page.
390
393
  */
391
394
 
392
395
  /**
393
396
  * @typedef CurrencyFeature
394
- * @property {string[]} [value] - 3-letter currency code
397
+ * @property {string[]} [value] - 3-letter currency code.
395
398
  * @property {string} [type] - If 'explicit', currency formatting shows currency
396
399
  * code with price. For explicit or all currency selection.
397
400
  * @property {string} [default_currency] - 3-letter code of the default currency
398
- * used in the application. Default vaule is 'INR'.
401
+ * used in the application. Default value is 'INR'.
399
402
  */
400
403
 
401
404
  /**
@@ -405,24 +408,23 @@ const Joi = require("joi");
405
408
 
406
409
  /**
407
410
  * @typedef FeedbackFeature
408
- * @property {boolean} [enabled] - Shows whether customer feedback is enabled on
409
- * PDP. Default value is false.
411
+ * @property {boolean} [enabled] - Whether customer feedback is enabled on PDP.
412
+ * Default value is false.
410
413
  */
411
414
 
412
415
  /**
413
416
  * @typedef CompareProductsFeature
414
- * @property {boolean} [enabled] - Shows whether product comparison feature is
415
- * enabled on PDP
417
+ * @property {boolean} [enabled] - Whether product comparison feature is enabled on PDP.
416
418
  */
417
419
 
418
420
  /**
419
421
  * @typedef CartFeature
420
- * @property {boolean} [gst_input] - Shows whether customer is allowed to enter
421
- * GST on the cart page for claiming input credits
422
- * @property {boolean} [staff_selection] - Shows whether staff selection is
423
- * enabled on cart page
424
- * @property {boolean} [placing_for_customer] - Shows whether the staff is
425
- * placing order on behalf of customer. Default value is true.
422
+ * @property {boolean} [gst_input] - Whether customer is allowed to enter GST on
423
+ * the cart page for claiming input credits.
424
+ * @property {boolean} [staff_selection] - Whether staff selection is enabled on
425
+ * cart page.
426
+ * @property {boolean} [placing_for_customer] - Whether the staff is placing
427
+ * order on behalf of customer. Default value is true.
426
428
  * @property {boolean} [google_map] - Allow adding of Google Maps. Default value is true.
427
429
  * @property {boolean} [revenue_engine_coupon] - Allow coupon apply and credits,
428
430
  * together. Default value is false.
@@ -430,12 +432,12 @@ const Joi = require("joi");
430
432
 
431
433
  /**
432
434
  * @typedef QrFeature
433
- * @property {boolean} [application] - Shows whether sharing of mobile app via
434
- * QR code is allowed. Default value is false.
435
- * @property {boolean} [products] - Shows whether sharing product via QR code is
435
+ * @property {boolean} [application] - Whether sharing of mobile app via QR code
436
+ * is allowed. Default value is false.
437
+ * @property {boolean} [products] - Whether sharing product via QR code is
438
+ * allowed. Default value is false.
439
+ * @property {boolean} [collections] - Whether sharing collection via QR code is
436
440
  * allowed. Default value is false.
437
- * @property {boolean} [collections] - Shows whether sharing collection via QR
438
- * code is allowed. Default value is false.
439
441
  */
440
442
 
441
443
  /**
@@ -457,21 +459,21 @@ const Joi = require("joi");
457
459
  /**
458
460
  * @typedef Currency
459
461
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
460
- * of the current sales channel supported currency
462
+ * of the current sales channel supported currency.
461
463
  * @property {boolean} [is_active] - Shows currency is enabled or not in current
462
- * sales channel
463
- * @property {string} [name] - Name of the currency, e.g Indian Rupee
464
+ * sales channel.
465
+ * @property {string} [name] - Name of the currency, e.g Indian Rupee.
464
466
  * @property {string} [code] - 3-character currency code, e.g. INR, USD, EUR.
465
467
  * @property {string} [created_at] - ISO 8601 timestamp of sales channel support
466
- * currency creation
468
+ * currency creation.
467
469
  * @property {string} [modified_at] - ISO 8601 timestamp of sales channel
468
- * support currency updation
470
+ * support currency updation.
469
471
  * @property {number} [decimal_digits] - Acceptable decimal limits for a given
470
472
  * currency, e.g. 1.05$ means upto 2 decimal digits can be accepted as a valid
471
473
  * value of a currency.
472
- * @property {string} [symbol] - Unique symbol for identifying the currency, e.g.
473
- * @property {string} [country_name]
474
- * @property {string} [country_code]
474
+ * @property {string} [symbol] - Unique symbol for identifying the currency, e.g. ₹.
475
+ * @property {string} [country_name] - Country name.
476
+ * @property {string} [country_code] - Country code.
475
477
  */
476
478
 
477
479
  /**
@@ -480,23 +482,23 @@ const Joi = require("joi");
480
482
  * should propagate correctly.
481
483
  * @property {boolean} [is_primary] - Domain is primary or not. Primary domain
482
484
  * is the default/main domain.
483
- * @property {boolean} [is_shortlink] - Shortlink is present or not for the domain
485
+ * @property {boolean} [is_shortlink] - Shortlink is present or not for the domain.
484
486
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
485
- * of the sales channel domain
486
- * @property {string} [name]
487
+ * of the sales channel domain.
488
+ * @property {string} [name] - Domain name.
487
489
  * @property {boolean} [is_predefined] - Domain is hosting domain or not.
488
490
  */
489
491
 
490
492
  /**
491
493
  * @typedef ApplicationWebsite
492
494
  * @property {boolean} [enabled] - Shows whether sales channel website URL is
493
- * enabled or not
494
- * @property {string} [basepath] - Base path for the current sales channel website
495
+ * enabled or not.
496
+ * @property {string} [basepath] - Base path for the current sales channel website.
495
497
  */
496
498
 
497
499
  /**
498
500
  * @typedef ApplicationCors
499
- * @property {string[]} [domains]
501
+ * @property {string[]} [domains] - List of domains added to the sales channel.
500
502
  */
501
503
 
502
504
  /**
@@ -506,7 +508,7 @@ const Joi = require("joi");
506
508
 
507
509
  /**
508
510
  * @typedef ApplicationRedirections
509
- * @property {string} [redirect_from] - Old domain url of the sales channel
511
+ * @property {string} [redirect_from] - Old domain url of the sales channel.
510
512
  * @property {string} [redirect_to] - New domain URL of the sales channel. Users
511
513
  * will be automatically redirected from old domain to new domain.
512
514
  * @property {string} [type] - It shows domain redirection type. Permanent
@@ -516,13 +518,13 @@ const Joi = require("joi");
516
518
 
517
519
  /**
518
520
  * @typedef ApplicationMeta
519
- * @property {string} [name] - Indicates to name of application meta
520
- * @property {string} [value] - Value related to application meta name
521
+ * @property {string} [name] - Indicates to name of application meta.
522
+ * @property {string} [value] - Value related to application meta name.
521
523
  */
522
524
 
523
525
  /**
524
526
  * @typedef SecureUrl
525
- * @property {string} [secure_url] - Hosted URL of the image
527
+ * @property {string} [secure_url] - Hosted URL of the image.
526
528
  */
527
529
 
528
530
  /**
@@ -533,108 +535,109 @@ const Joi = require("joi");
533
535
  * @property {string} [description] - It contains detailed information about the
534
536
  * sales channel.
535
537
  * @property {string} [channel_type] - It indicates different channel types like
536
- * store, website-and-mobile-apps. Default value is store
538
+ * store, website-and-mobile-apps. Default value is store.
537
539
  * @property {number} [cache_ttl] - An integer value that specifies the number
538
- * of seconds until the key expires
540
+ * of seconds until the key expires.
539
541
  * @property {boolean} [is_internal] - Indicates whether a sales channel is
540
- * internal or not
541
- * @property {boolean} [is_active] - Indicates sales channel is active or not active
542
+ * internal or not.
543
+ * @property {boolean} [is_active] - Indicates sales channel is active or not active.
542
544
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
543
- * of the sales channel
544
- * @property {string} [name] - Name of the sales channel, e.g. Zenz Fashion
545
+ * of the sales channel.
546
+ * @property {string} [name] - Name of the sales channel, e.g. Zenz Fashion.
545
547
  * @property {string} [owner] - The unique identifier (24-digit Mongo Object ID)
546
- * of owner who owns the application
548
+ * of owner who owns the application.
547
549
  * @property {number} [company_id] - Numeric ID allotted to a business account
548
- * where the sales channel exists
550
+ * where the sales channel exists.
549
551
  * @property {string} [token] - Random generated fix length string for sales
550
552
  * channel. It is required and auto-generated.
551
- * @property {ApplicationRedirections[]} [redirections]
552
- * @property {ApplicationMeta[]} [meta]
553
- * @property {string} [created_at] - ISO 8601 timestamp of sales channel creation
554
- * @property {string} [modified_at] - ISO 8601 timestamp of sales channel updation
553
+ * @property {ApplicationRedirections[]} [redirections] - List of redirections
554
+ * for the sales channel.
555
+ * @property {ApplicationMeta[]} [meta] - List of meta information for the sales channel.
556
+ * @property {string} [created_at] - ISO 8601 timestamp of sales channel creation.
557
+ * @property {string} [modified_at] - ISO 8601 timestamp of sales channel updation.
555
558
  * @property {number} [__v] - Version key for tracking revisions. Default value is zero.
556
559
  * @property {SecureUrl} [banner]
557
560
  * @property {SecureUrl} [logo]
558
561
  * @property {SecureUrl} [favicon]
559
- * @property {Domain[]} [domains]
562
+ * @property {Domain[]} [domains] - List of domains associated with the sales channel.
560
563
  * @property {string} [app_type] - It shows application is live or in development mode.
561
564
  * @property {SecureUrl} [mobile_logo]
562
565
  * @property {Domain} [domain]
563
- * @property {string} [slug]
564
- * @property {string} [mode]
565
- * @property {string} [status]
566
- * @property {TokenSchema[]} [tokens]
566
+ * @property {string} [slug] - Slug identifier.
567
+ * @property {string} [mode] - Application mode.
568
+ * @property {string} [status] - Current status of the application.
569
+ * @property {TokenSchema[]} [tokens] - List of tokens associated with the sales channel.
567
570
  */
568
571
 
569
572
  /**
570
573
  * @typedef TokenSchema
571
- * @property {string} [token]
572
- * @property {Object} [created_by]
573
- * @property {string} [created_at] - ISO 8601 timestamp of when token created
574
+ * @property {string} [token] - Token string.
575
+ * @property {Object} [created_by] - User details.
576
+ * @property {string} [created_at] - ISO 8601 timestamp of when token created.
574
577
  */
575
578
 
576
579
  /**
577
580
  * @typedef NotFound
578
- * @property {string} [message] - Response message for not found
581
+ * @property {string} [message] - Response message for not found.
579
582
  */
580
583
 
581
584
  /**
582
585
  * @typedef InvalidPayloadRequest
583
- * @property {string} [message] - Error message when request body payload is improper
586
+ * @property {string} [message] - Error message when request body payload is improper.
584
587
  */
585
588
 
586
589
  /**
587
590
  * @typedef UnhandledError
588
- * @property {string} [message]
591
+ * @property {string} [message] - Error message for unhandled errors.
589
592
  */
590
593
 
591
594
  /**
592
595
  * @typedef SuccessMessageResponse
593
- * @property {string} [message] - Success message shown to the user (in a string format)
596
+ * @property {string} [message] - Success message shown to the user (in a string format).
594
597
  */
595
598
 
596
599
  /**
597
600
  * @typedef CompanyAboutAddress
598
- * @property {number} [pincode] - 6-digit PIN code of the city, e.g. 400001
599
- * @property {string} [address1] - Primary address line of the company
600
- * @property {string} [address2] - Secondary address line of the company
601
- * @property {string} [city] - City name, e.g. Mumbai
602
- * @property {string} [state] - State name, e.g. Maharashtra
603
- * @property {string} [country] - Country name, e.g. India
601
+ * @property {number} [pincode] - 6-digit PIN code of the city, e.g. 400001.
602
+ * @property {string} [address1] - Primary address line of the company.
603
+ * @property {string} [address2] - Secondary address line of the company.
604
+ * @property {string} [city] - City name, e.g. Mumbai.
605
+ * @property {string} [state] - State name, e.g. Maharashtra.
606
+ * @property {string} [country] - Country name, e.g. India.
604
607
  * @property {string} [address_type] - Indicates different office types like
605
608
  * office, registered, and home.
606
609
  */
607
610
 
608
611
  /**
609
612
  * @typedef UserEmail
610
- * @property {boolean} [active] - Current email is active or not active
611
- * @property {boolean} [primary] - Indicates current email is primay email or
612
- * not primary email of user
613
+ * @property {boolean} [active] - Current email is active or not active.
614
+ * @property {boolean} [primary] - Indicates current email id primary email or
615
+ * not primary email of user.
613
616
  * @property {boolean} [verified] - Indicates current email is verified email or
614
- * not verified email
615
- * @property {string} [email] - Email address of the user
617
+ * not verified email.
618
+ * @property {string} [email] - Email address of the user.
616
619
  */
617
620
 
618
621
  /**
619
622
  * @typedef UserPhoneNumber
620
- * @property {boolean} [active] - Current phone number is active or not active
621
- * @property {boolean} [primary] - Indicates current phone number is primay or
622
- * not primary of user
623
+ * @property {boolean} [active] - Current phone number is active or not active.
624
+ * @property {boolean} [primary] - Indicates current phone number is primary or
625
+ * not for a user.
623
626
  * @property {boolean} [verified] - Indicates current phone number is verified
624
- * or not verified
625
- * @property {number} [country_code] - Country code, e.g. +91
626
- * @property {string} [phone] - Phone number of the user
627
+ * or not verified.
628
+ * @property {number} [country_code] - Country code, e.g. +91.
629
+ * @property {string} [phone] - Phone number of the user.
627
630
  */
628
631
 
629
632
  /**
630
633
  * @typedef Page
631
- * @property {number} [item_total]
632
- * @property {string} [next_id]
633
- * @property {boolean} [has_previous]
634
- * @property {boolean} [has_next]
635
- * @property {number} [current]
636
- * @property {string} type
637
- * @property {number} [size]
634
+ * @property {number} [item_total] - The total number of items on the page.
635
+ * @property {string} [next_id] - The identifier for the next page.
636
+ * @property {boolean} [has_previous] - Indicates whether there is a previous page.
637
+ * @property {boolean} [has_next] - Indicates whether there is a next page.
638
+ * @property {number} [current] - The current page number.
639
+ * @property {string} type - The type of the page, such as 'PageType'.
640
+ * @property {number} [size] - The number of items per page.
638
641
  */
639
642
 
640
643
  /**
@@ -642,61 +645,64 @@ const Joi = require("joi");
642
645
  * @property {InformationAddress} [address]
643
646
  * @property {InformationSupport} [support]
644
647
  * @property {SocialLinks} [social_links]
645
- * @property {Links[]} [links]
648
+ * @property {Links[]} [links] - Array of additional relevant web links related
649
+ * to the application.
646
650
  * @property {string} [copyright_text] - Copyright statement usually seen at the
647
- * site's footer
651
+ * site's footer.
648
652
  * @property {string} [_id] - Unique identifier (24-digit Mongo Object ID) of
649
- * the application information
650
- * @property {BusinessHighlights[]} [business_highlights]
653
+ * the application information.
654
+ * @property {BusinessHighlights[]} [business_highlights] - Array of notable
655
+ * business highlights with icons and descriptions.
651
656
  * @property {string} [application] - Alphanumeric ID allotted to a sales
652
- * channel application created within a business account
657
+ * channel application created within a business account.
653
658
  * @property {string} [created_at] - ISO 8601 timestamp of creation of the
654
- * application information
659
+ * application information.
655
660
  * @property {string} [modified_at] - ISO 8601 timestamp of updation of the
656
- * application information
661
+ * application information.
657
662
  * @property {number} [__v] - Version key for tracking revisions. Default value is zero.
658
663
  */
659
664
 
660
665
  /**
661
666
  * @typedef InformationAddress
662
667
  * @property {InformationLoc} [loc]
663
- * @property {string[]} [address_line] - Contact address of the sales channel
664
- * @property {InformationPhone[]} [phone]
665
- * @property {string} [city] - Name of the city, e.g. Mumbai
666
- * @property {string} [country] - Name of the country, e.g. India
667
- * @property {number} [pincode] - 6-digit PIN Code of the city, e.g. 400001
668
+ * @property {string[]} [address_line] - Contact address of the sales channel.
669
+ * @property {InformationPhone[]} [phone] - Phone numbers with country codes.
670
+ * @property {string} [city] - Name of the city, e.g. Mumbai.
671
+ * @property {string} [country] - Name of the country, e.g. India.
672
+ * @property {number} [pincode] - 6-digit PIN Code of the city, e.g. 400001.
668
673
  */
669
674
 
670
675
  /**
671
676
  * @typedef InformationPhone
672
- * @property {string} [code] - Country code for contact number, e.g. +91 (for India)
673
- * @property {string} [number] - 10-digit mobile number
677
+ * @property {string} [code] - Country code for contact number, e.g. +91 (for India).
678
+ * @property {string} [number] - 10-digit mobile number.
674
679
  */
675
680
 
676
681
  /**
677
682
  * @typedef InformationSupportPhone
678
- * @property {string} [code] - Country code for contact number, e.g. +91 (for India)
679
- * @property {string} [number] - 10-digit mobile number
680
- * @property {string} [key]
683
+ * @property {string} [code] - Country code for contact number, e.g. +91 (for India).
684
+ * @property {string} [number] - 10-digit mobile number.
685
+ * @property {string} [key] - Additional identifier or key for the contact number.
681
686
  */
682
687
 
683
688
  /**
684
689
  * @typedef InformationSupportEmail
685
690
  * @property {string} [value] - Value of email.
686
- * @property {string} [key]
691
+ * @property {string} [key] - Additional identifier or key for the email address.
687
692
  */
688
693
 
689
694
  /**
690
695
  * @typedef InformationLoc
691
- * @property {string} [type] - Country code for contact number, e.g. +91 (for India)
692
- * @property {number[]} [coordinates] - 10-digit mobile number
696
+ * @property {string} [type] - Country code for contact number, e.g. +91 (for India).
697
+ * @property {number[]} [coordinates] - 10-digit mobile number.
693
698
  */
694
699
 
695
700
  /**
696
701
  * @typedef InformationSupport
697
- * @property {InformationSupportPhone[]} [phone]
698
- * @property {InformationSupportEmail[]} [email]
699
- * @property {string} [timing] - Working hours of support team, e.g. 9 AM to 9 PM
702
+ * @property {InformationSupportPhone[]} [phone] - An array of phone contact
703
+ * details, including country code and number.
704
+ * @property {InformationSupportEmail[]} [email] - An array of email contact details.
705
+ * @property {string} [timing] - Working hours of support team, e.g. 9 AM to 9 PM.
700
706
  */
701
707
 
702
708
  /**
@@ -714,81 +720,81 @@ const Joi = require("joi");
714
720
 
715
721
  /**
716
722
  * @typedef FacebookLink
717
- * @property {string} [title] - Name of the social media platform, e.g. Facebook
718
- * @property {string} [icon] - Hosted URL of social icon image shown on the website
719
- * @property {string} [link] - Web URL of brand's Facebook page
723
+ * @property {string} [title] - Name of the social media platform, e.g. Facebook.
724
+ * @property {string} [icon] - Hosted URL of social icon image shown on the website.
725
+ * @property {string} [link] - Web URL of brand's Facebook page.
720
726
  */
721
727
 
722
728
  /**
723
729
  * @typedef InstagramLink
724
- * @property {string} [title] - Name of the social media platform, e.g. Instagram
725
- * @property {string} [icon] - Hosted URL of social icon image shown on the website
726
- * @property {string} [link] - Web URL of brand's Instagram page
730
+ * @property {string} [title] - Name of the social media platform, e.g. Instagram.
731
+ * @property {string} [icon] - Hosted URL of social icon image shown on the website.
732
+ * @property {string} [link] - Web URL of brand's Instagram page.
727
733
  */
728
734
 
729
735
  /**
730
736
  * @typedef TwitterLink
731
- * @property {string} [title] - Name of the social media platform, e.g. Twitter
732
- * @property {string} [icon] - Hosted URL of social icon image shown on the website
733
- * @property {string} [link] - Web URL of brand's Twitter account
737
+ * @property {string} [title] - Name of the social media platform, e.g. Twitter.
738
+ * @property {string} [icon] - Hosted URL of social icon image shown on the website.
739
+ * @property {string} [link] - Web URL of brand's Twitter account.
734
740
  */
735
741
 
736
742
  /**
737
743
  * @typedef PinterestLink
738
- * @property {string} [title] - Name of the social media platform, e.g. Pinterest
739
- * @property {string} [icon] - Hosted URL of social icon image shown on the website
740
- * @property {string} [link] - Web URL of brand's Pinterest page
744
+ * @property {string} [title] - Name of the social media platform, e.g. Pinterest.
745
+ * @property {string} [icon] - Hosted URL of social icon image shown on the website.
746
+ * @property {string} [link] - Web URL of brand's Pinterest page.
741
747
  */
742
748
 
743
749
  /**
744
750
  * @typedef GooglePlusLink
745
- * @property {string} [title] - Name of the social media platform, e.g. Google+
746
- * @property {string} [icon] - Hosted URL of social icon image shown on the website
747
- * @property {string} [link] - Web URL of brand's Google+ account
751
+ * @property {string} [title] - Name of the social media platform, e.g. Google+.
752
+ * @property {string} [icon] - Hosted URL of social icon image shown on the website.
753
+ * @property {string} [link] - Web URL of brand's Google+ account.
748
754
  */
749
755
 
750
756
  /**
751
757
  * @typedef YoutubeLink
752
- * @property {string} [title] - Name of the social media platform, e.g. YouTube
753
- * @property {string} [icon] - Hosted URL of social icon image shown on the website
754
- * @property {string} [link] - Web URL of brand's YouTube channel
758
+ * @property {string} [title] - Name of the social media platform, e.g. YouTube.
759
+ * @property {string} [icon] - Hosted URL of social icon image shown on the website.
760
+ * @property {string} [link] - Web URL of brand's YouTube channel.
755
761
  */
756
762
 
757
763
  /**
758
764
  * @typedef LinkedInLink
759
- * @property {string} [title] - Name of the social media platform, e.g. LinkedIn
760
- * @property {string} [icon] - Hosted URL of social icon image shown on the website
761
- * @property {string} [link] - Web URL of brand's LinkedIn channel
765
+ * @property {string} [title] - Name of the social media platform, e.g. LinkedIn.
766
+ * @property {string} [icon] - Hosted URL of social icon image shown on the website.
767
+ * @property {string} [link] - Web URL of brand's LinkedIn channel.
762
768
  */
763
769
 
764
770
  /**
765
771
  * @typedef VimeoLink
766
- * @property {string} [title] - Name of the video hosting platform, e.g. Vimeo
767
- * @property {string} [icon] - Hosted URL of social icon image shown on the website
768
- * @property {string} [link] - Web URL of brand's Vimeo channel
772
+ * @property {string} [title] - Name of the video hosting platform, e.g. Vimeo.
773
+ * @property {string} [icon] - Hosted URL of social icon image shown on the website.
774
+ * @property {string} [link] - Web URL of brand's Vimeo channel.
769
775
  */
770
776
 
771
777
  /**
772
778
  * @typedef BlogLink
773
- * @property {string} [title] - Name of the brand's blog page
774
- * @property {string} [icon] - Hosted URL of icon image shown on the website
775
- * @property {string} [link] - Web URL of brand's blog page
779
+ * @property {string} [title] - Name of the brand's blog page.
780
+ * @property {string} [icon] - Hosted URL of icon image shown on the website.
781
+ * @property {string} [link] - Web URL of brand's blog page.
776
782
  */
777
783
 
778
784
  /**
779
785
  * @typedef Links
780
- * @property {string} [title] - Name of the related page or link
781
- * @property {string} [link] - Web URL for redirecting to a related page
786
+ * @property {string} [title] - Name of the related page or link.
787
+ * @property {string} [link] - Web URL for redirecting to a related page.
782
788
  */
783
789
 
784
790
  /**
785
791
  * @typedef BusinessHighlights
786
792
  * @property {string} [_id] - Unique identifier (24-digit Mongo Object ID) of
787
- * the related business
788
- * @property {string} [title] - Title of the business highlight, e.g. Superfast Delivery
793
+ * the related business.
794
+ * @property {string} [title] - Title of the business highlight, e.g. Superfast Delivery.
789
795
  * @property {string} [icon] - Hosted URL of icon image representing the
790
- * business highlight
791
- * @property {string} [sub_title] - Detailed information about the highlight
796
+ * business highlight.
797
+ * @property {string} [sub_title] - Detailed information about the highlight.
792
798
  */
793
799
 
794
800
  /**
@@ -801,82 +807,87 @@ const Joi = require("joi");
801
807
  * @property {SecureUrl} [favicon]
802
808
  * @property {SecureUrl} [banner]
803
809
  * @property {Domain} [domain]
804
- * @property {Domain[]} [domains]
810
+ * @property {Domain[]} [domains] - List of domains associated with the sales channel.
805
811
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
806
- * for the sales channel details
807
- * @property {string} [slug]
808
- * @property {number} [company_id]
812
+ * for the sales channel details.
813
+ * @property {string} [slug] - URL-friendly version of the sales channel name.
814
+ * @property {number} [company_id] - Numeric ID allotted to the business account
815
+ * where the sales channel is mapped.
809
816
  */
810
817
 
811
818
  /**
812
819
  * @typedef CurrenciesResponse
813
- * @property {Currency[]} [items]
820
+ * @property {Currency[]} [items] - A list of currency objects. Each object
821
+ * represents a different currency.
814
822
  */
815
823
 
816
824
  /**
817
825
  * @typedef DefaultCurrency
818
826
  * @property {string} [ref] - The unique identifier (24-digit Mongo Object ID)
819
- * of the default currency
827
+ * of the default currency.
820
828
  * @property {string} [code] - 3-character code of the default currency, e.g.
821
- * INR, EUR, USD
829
+ * INR, EUR, USD.
822
830
  */
823
831
 
824
832
  /**
825
833
  * @typedef AppCurrencyResponse
826
834
  * @property {string} [application] - Alphanumeric ID allotted to an application
827
- * (sales channel website) created within a business account
835
+ * (sales channel website) created within a business account.
828
836
  * @property {DefaultCurrency} [default_currency]
829
- * @property {Currency[]} [supported_currency]
830
- * @property {string} [_id]
831
- * @property {string} [created_at]
832
- * @property {string} [modified_at]
837
+ * @property {Currency[]} [supported_currency] - A list of currencies supported
838
+ * by the application.
839
+ * @property {string} [_id] - The unique identifier of the application.
840
+ * @property {string} [created_at] - ISO 8601 timestamp of when the application
841
+ * was created.
842
+ * @property {string} [modified_at] - ISO 8601 timestamp of when the application
843
+ * was last modified.
833
844
  */
834
845
 
835
846
  /**
836
847
  * @typedef StoreLatLong
837
- * @property {string} [type] - Coordinates type of the opted store
838
- * @property {number[]} [coordinates]
848
+ * @property {string} [type] - Coordinates type of the opted store.
849
+ * @property {number[]} [coordinates] - Latitude and Longitude coordinates of the store.
839
850
  */
840
851
 
841
852
  /**
842
853
  * @typedef OptedStoreAddress
843
- * @property {string} [state] - State of the opted store, e.g. Maharashtra
844
- * @property {string} [address1] - Address of the opted store
854
+ * @property {string} [state] - State of the opted store, e.g. Maharashtra.
855
+ * @property {string} [address1] - Address of the opted store.
845
856
  * @property {StoreLatLong} [lat_long]
846
- * @property {string} [address2] - Address of the opted store
847
- * @property {number} [pincode] - 6-digit PIN code of the opted store location
848
- * @property {string} [country] - Country of the opted store, e.g. India
849
- * @property {string} [city] - City of the opted store, e.g. Mumbai
857
+ * @property {string} [address2] - Address of the opted store.
858
+ * @property {number} [pincode] - 6-digit PIN code of the opted store location.
859
+ * @property {string} [country] - Country of the opted store, e.g. India.
860
+ * @property {string} [city] - City of the opted store, e.g. Mumbai.
850
861
  */
851
862
 
852
863
  /**
853
864
  * @typedef OrderingStore
854
865
  * @property {OptedStoreAddress} [address]
855
866
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
856
- * of the ordering store
857
- * @property {number} [uid] - Ordering store UID
858
- * @property {string} [name] - Store name of the ordering store
859
- * @property {string} [display_name] - Display name of the ordering store
867
+ * of the ordering store.
868
+ * @property {number} [uid] - Ordering store UID.
869
+ * @property {string} [name] - Store name of the ordering store.
870
+ * @property {string} [display_name] - Display name of the ordering store.
860
871
  * @property {string} [store_type] - Store type of the ordering store, e.g.
861
- * high_street, mall, warehouse
862
- * @property {string} [store_code] - Store code of the ordering store, e.g. MUM-102
863
- * @property {number} [pincode] - 6-digit PIN Code of the ordering store, e.g. 400001
864
- * @property {string} [code] - Code of the ordering store (usually same as Store Code)
872
+ * high_street, mall, warehouse.
873
+ * @property {string} [store_code] - Store code of the ordering store, e.g. MUM-102.
874
+ * @property {number} [pincode] - 6-digit PIN Code of the ordering store, e.g. 400001.
875
+ * @property {string} [code] - Code of the ordering store (usually same as Store Code).
865
876
  */
866
877
 
867
878
  /**
868
879
  * @typedef OrderingStores
869
880
  * @property {Page} [page]
870
- * @property {OrderingStore[]} [items]
871
- * @property {number[]} [deployed_stores]
872
- * @property {boolean} [all_stores] - Allow all stores of the ordering stores
873
- * @property {boolean} [enabled] - Allow ordering stores for current sales channel
881
+ * @property {OrderingStore[]} [items] - List of ordering stores.
882
+ * @property {number[]} [deployed_stores] - List of all deployed stores.
883
+ * @property {boolean} [all_stores] - Allow all stores of the ordering stores.
884
+ * @property {boolean} [enabled] - Allow ordering stores for current sales channel.
874
885
  * @property {string} [type] - For hard type delivery, store selection is
875
886
  * compulsory. For soft type, delivery store selection is optional.
876
887
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
877
- * of the ordering store
888
+ * of the ordering store.
878
889
  * @property {string} [app] - Alphanumeric ID allotted to an application (sales
879
- * channel website) created within a business account
890
+ * channel website) created within a business account.
880
891
  * @property {number} [__v] - Version key for tracking ordering stores. Default
881
892
  * value is zero.
882
893
  */