@gofynd/fdk-client-javascript 1.4.16-beta.4 → 1.4.16-beta.5

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 (239) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +68 -48
  6. package/sdk/application/Cart/CartApplicationClient.js +118 -27
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +59 -58
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +30 -29
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  10. package/sdk/application/Common/CommonApplicationClient.js +1 -1
  11. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
  12. package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
  13. package/sdk/application/Content/ContentApplicationClient.d.ts +51 -30
  14. package/sdk/application/Content/ContentApplicationClient.js +161 -56
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -11
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -10
  17. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  18. package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
  20. package/sdk/application/Lead/LeadApplicationClient.js +1 -1
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +35 -15
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +101 -8
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +22 -12
  24. package/sdk/application/Order/OrderApplicationClient.js +56 -8
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
  26. package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  29. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  30. package/sdk/application/Theme/ThemeApplicationClient.js +4 -2
  31. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  32. package/sdk/application/User/UserApplicationClient.js +6 -6
  33. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  34. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
  35. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  36. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  37. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -21
  38. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -16
  39. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  40. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  41. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  42. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  43. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  44. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  45. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  46. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  47. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
  48. package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
  49. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  50. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
  51. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  52. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  53. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  54. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  55. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  56. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  57. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  58. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  59. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  60. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  61. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  62. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  63. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  64. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  65. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  66. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  67. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  68. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  69. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  70. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  71. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  72. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  73. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  74. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  75. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  76. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  77. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  78. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  79. package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
  80. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +121 -65
  81. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
  82. package/sdk/platform/Cart/CartPlatformModel.d.ts +5070 -1296
  83. package/sdk/platform/Cart/CartPlatformModel.js +1992 -1217
  84. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
  85. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
  86. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
  87. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
  88. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
  89. package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
  90. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6512 -1770
  91. package/sdk/platform/Catalog/CatalogPlatformModel.js +3228 -1687
  92. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
  93. package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
  94. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  95. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  96. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  97. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  98. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  99. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  100. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  101. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  102. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  103. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  104. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  105. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  106. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  107. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  108. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  109. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  110. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  111. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  112. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  113. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  114. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  115. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  116. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  117. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  118. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  119. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  120. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +204 -141
  121. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1076 -478
  122. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +253 -141
  123. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +256 -130
  124. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  125. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  126. package/sdk/platform/Content/ContentPlatformModel.d.ts +1372 -400
  127. package/sdk/platform/Content/ContentPlatformModel.js +631 -394
  128. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  129. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  130. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  131. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  132. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  133. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  134. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  136. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +95 -39
  137. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -63
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  140. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -22
  141. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -24
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -116
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -104
  144. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  145. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  146. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  147. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  148. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  149. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  150. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
  151. package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
  152. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
  153. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
  154. package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
  155. package/sdk/platform/Order/OrderPlatformClient.js +416 -198
  156. package/sdk/platform/Order/OrderPlatformModel.d.ts +7607 -1267
  157. package/sdk/platform/Order/OrderPlatformModel.js +3929 -1269
  158. package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
  159. package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
  160. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  161. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  162. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  163. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  164. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  165. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  166. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  167. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  168. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  169. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  170. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
  171. package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
  172. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  173. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  174. package/sdk/platform/PlatformClient.d.ts +0 -2
  175. package/sdk/platform/PlatformClient.js +0 -4
  176. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  177. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  178. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  179. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  180. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  181. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  182. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +46 -36
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1842 -609
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +886 -554
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
  192. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
  193. package/sdk/platform/Share/SharePlatformApplicationClient.js +9 -9
  194. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +3 -6
  195. package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
  196. package/sdk/platform/Share/SharePlatformModel.d.ts +46 -7
  197. package/sdk/platform/Share/SharePlatformModel.js +31 -6
  198. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  199. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  200. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  201. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  202. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  203. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  204. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  205. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  206. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  207. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  208. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  209. package/sdk/platform/User/UserPlatformModel.js +23 -23
  210. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  211. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  212. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  213. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  214. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  215. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  216. package/sdk/platform/index.d.ts +0 -1
  217. package/sdk/platform/index.js +0 -2
  218. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  219. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  220. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  221. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  222. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  223. package/sdk/public/Content/ContentPublicClient.js +810 -6
  224. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  225. package/sdk/public/Content/ContentPublicModel.js +649 -3
  226. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  227. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  228. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  229. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  230. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  231. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  232. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  233. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  234. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  235. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  236. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  237. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  238. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  239. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -4,6 +4,16 @@ declare class LogisticsValidator {
4
4
  static getSampleFileServiceabilityStatus(): any;
5
5
  static bulkTat(): any;
6
6
  static getBulkTat(): any;
7
+ static createDeliveryTime(): any;
8
+ static getDeliveryTimes(): any;
9
+ static getDeliveryTime(): any;
10
+ static updateDeliveryTime(): any;
11
+ static deleteDeliveryTime(): any;
12
+ static createServiceability(): any;
13
+ static getServiceabilities(): any;
14
+ static getServiceability(): any;
15
+ static updateServiceability(): any;
16
+ static deleteServiceability(): any;
7
17
  static bulkServiceability(): any;
8
18
  static getBulkServiceability(): any;
9
19
  static createCourierPartnerAccount(): any;
@@ -4,7 +4,7 @@ const LogisticsModel = require("./LogisticsPartnerModel");
4
4
  class LogisticsValidator {
5
5
  static sampleFileServiceability() {
6
6
  return Joi.object({
7
- body: LogisticsModel.BulkRegionServiceabilityTatRequest().required(),
7
+ body: LogisticsModel.BulkRegionServiceabilityTatDetails().required(),
8
8
  }).required();
9
9
  }
10
10
 
@@ -20,7 +20,7 @@ class LogisticsValidator {
20
20
  return Joi.object({
21
21
  extensionId: Joi.string().allow("").required(),
22
22
  schemeId: Joi.string().allow("").required(),
23
- body: LogisticsModel.BulkRegionJobSerializer().required(),
23
+ body: LogisticsModel.BulkRegionJobDetails().required(),
24
24
  }).required();
25
25
  }
26
26
 
@@ -40,11 +40,125 @@ class LogisticsValidator {
40
40
  }).required();
41
41
  }
42
42
 
43
+ static createDeliveryTime() {
44
+ return Joi.object({
45
+ partnerOrgId: Joi.string().allow("").required(),
46
+ courierPartnerExtensionId: Joi.string().allow("").required(),
47
+ schemeId: Joi.string().allow("").required(),
48
+ body: LogisticsModel.RegionTatDetails().required(),
49
+ }).required();
50
+ }
51
+
52
+ static getDeliveryTimes() {
53
+ return Joi.object({
54
+ partnerOrgId: Joi.string().allow("").required(),
55
+ courierPartnerExtensionId: Joi.string().allow("").required(),
56
+ schemeId: Joi.string().allow("").required(),
57
+ pageNo: Joi.number(),
58
+ pageSize: Joi.number(),
59
+ fromCountryCode: Joi.string().allow(""),
60
+ fromStateCode: Joi.string().allow(""),
61
+ fromCityCode: Joi.string().allow(""),
62
+ fromSectorCode: Joi.string().allow(""),
63
+ fromPincode: Joi.string().allow(""),
64
+ toCountryCode: Joi.string().allow(""),
65
+ toStateCode: Joi.string().allow(""),
66
+ toCityCode: Joi.string().allow(""),
67
+ toSectorCode: Joi.string().allow(""),
68
+ toPincode: Joi.string().allow(""),
69
+ }).required();
70
+ }
71
+
72
+ static getDeliveryTime() {
73
+ return Joi.object({
74
+ partnerOrgId: Joi.string().allow("").required(),
75
+ courierPartnerExtensionId: Joi.string().allow("").required(),
76
+ schemeId: Joi.string().allow("").required(),
77
+ id: Joi.string().allow("").required(),
78
+ }).required();
79
+ }
80
+
81
+ static updateDeliveryTime() {
82
+ return Joi.object({
83
+ partnerOrgId: Joi.string().allow("").required(),
84
+ courierPartnerExtensionId: Joi.string().allow("").required(),
85
+ schemeId: Joi.string().allow("").required(),
86
+ id: Joi.string().allow("").required(),
87
+ body: LogisticsModel.RegionTatUpdateDetails().required(),
88
+ }).required();
89
+ }
90
+
91
+ static deleteDeliveryTime() {
92
+ return Joi.object({
93
+ partnerOrgId: Joi.string().allow("").required(),
94
+ courierPartnerExtensionId: Joi.string().allow("").required(),
95
+ schemeId: Joi.string().allow("").required(),
96
+ id: Joi.string().allow("").required(),
97
+ }).required();
98
+ }
99
+
100
+ static createServiceability() {
101
+ return Joi.object({
102
+ partnerOrgId: Joi.string().allow("").required(),
103
+ courierPartnerExtensionId: Joi.string().allow("").required(),
104
+ schemeId: Joi.string().allow("").required(),
105
+ body: LogisticsModel.RegionServiceabilityDetails().required(),
106
+ }).required();
107
+ }
108
+
109
+ static getServiceabilities() {
110
+ return Joi.object({
111
+ partnerOrgId: Joi.string().allow("").required(),
112
+ courierPartnerExtensionId: Joi.string().allow("").required(),
113
+ schemeId: Joi.string().allow("").required(),
114
+ pageNo: Joi.number(),
115
+ pageSize: Joi.number(),
116
+ countryCode: Joi.string().allow(""),
117
+ stateCode: Joi.string().allow(""),
118
+ cityCode: Joi.string().allow(""),
119
+ sectorCode: Joi.string().allow(""),
120
+ pincode: Joi.string().allow(""),
121
+ firstMile: Joi.boolean(),
122
+ lastMile: Joi.boolean(),
123
+ doorstepReturn: Joi.boolean(),
124
+ doorstepQc: Joi.boolean(),
125
+ installation: Joi.boolean(),
126
+ }).required();
127
+ }
128
+
129
+ static getServiceability() {
130
+ return Joi.object({
131
+ partnerOrgId: Joi.string().allow("").required(),
132
+ courierPartnerExtensionId: Joi.string().allow("").required(),
133
+ schemeId: Joi.string().allow("").required(),
134
+ id: Joi.string().allow("").required(),
135
+ }).required();
136
+ }
137
+
138
+ static updateServiceability() {
139
+ return Joi.object({
140
+ partnerOrgId: Joi.string().allow("").required(),
141
+ courierPartnerExtensionId: Joi.string().allow("").required(),
142
+ schemeId: Joi.string().allow("").required(),
143
+ id: Joi.string().allow("").required(),
144
+ body: LogisticsModel.ServiceabilityDetails().required(),
145
+ }).required();
146
+ }
147
+
148
+ static deleteServiceability() {
149
+ return Joi.object({
150
+ partnerOrgId: Joi.string().allow("").required(),
151
+ courierPartnerExtensionId: Joi.string().allow("").required(),
152
+ schemeId: Joi.string().allow("").required(),
153
+ id: Joi.string().allow("").required(),
154
+ }).required();
155
+ }
156
+
43
157
  static bulkServiceability() {
44
158
  return Joi.object({
45
159
  extensionId: Joi.string().allow("").required(),
46
160
  schemeId: Joi.string().allow("").required(),
47
- body: LogisticsModel.BulkRegionJobSerializer().required(),
161
+ body: LogisticsModel.BulkRegionJobDetails().required(),
48
162
  }).required();
49
163
  }
50
164
 
@@ -67,7 +181,7 @@ class LogisticsValidator {
67
181
  static createCourierPartnerAccount() {
68
182
  return Joi.object({
69
183
  companyId: Joi.number().required(),
70
- body: LogisticsModel.CourierAccountRequestBody().required(),
184
+ body: LogisticsModel.CourierAccountDetailsBody().required(),
71
185
  }).required();
72
186
  }
73
187
 
@@ -86,7 +200,7 @@ class LogisticsValidator {
86
200
  return Joi.object({
87
201
  companyId: Joi.number().required(),
88
202
  accountId: Joi.string().allow("").required(),
89
- body: LogisticsModel.CourierAccount().required(),
203
+ body: LogisticsModel.CourierAccountUpdateDetails().required(),
90
204
  }).required();
91
205
  }
92
206
 
@@ -99,14 +213,14 @@ class LogisticsValidator {
99
213
 
100
214
  static createCourierPartnerScheme() {
101
215
  return Joi.object({
102
- body: LogisticsModel.CourierPartnerSchemeRequestModel().required(),
216
+ body: LogisticsModel.CourierPartnerSchemeDetailsModel().required(),
103
217
  }).required();
104
218
  }
105
219
 
106
220
  static updateCourierPartnerScheme() {
107
221
  return Joi.object({
108
222
  schemeId: Joi.string().allow("").required(),
109
- body: LogisticsModel.CourierPartnerSchemeUpdateRequest().required(),
223
+ body: LogisticsModel.CourierPartnerSchemeUpdateDetails().required(),
110
224
  }).required();
111
225
  }
112
226
 
@@ -176,44 +176,42 @@ declare class Theme {
176
176
  * @param {ThemePartnerValidator.CreateExtensionSectionDraftParam} arg - Arg object.
177
177
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
178
178
  * @param {import("../PartnerAPIClient").Options} - Options
179
- * @returns {Promise<ThemePartnerModel.DraftExtensionSectionResponse>} -
180
- * Success response
179
+ * @returns {Promise<ThemePartnerModel.ExtensionSectionDraft>} - Success response
181
180
  * @name createExtensionSectionDraft
182
181
  * @summary: Draft extension section
183
182
  * @description: Create a new draft for an extension section within the specified organization. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/createExtensionSectionDraft/).
184
183
  */
185
- createExtensionSectionDraft({ extensionId, body, requestHeaders }?: ThemePartnerValidator.CreateExtensionSectionDraftParam, { responseHeaders }?: object): Promise<ThemePartnerModel.DraftExtensionSectionResponse>;
184
+ createExtensionSectionDraft({ extensionId, body, requestHeaders }?: ThemePartnerValidator.CreateExtensionSectionDraftParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionSectionDraft>;
186
185
  /**
187
186
  * @param {ThemePartnerValidator.PublishExtensionSectionsParam} arg - Arg object.
188
187
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
189
188
  * @param {import("../PartnerAPIClient").Options} - Options
190
- * @returns {Promise<ThemePartnerModel.PublishExtensionSectionResponse>} -
191
- * Success response
189
+ * @returns {Promise<ThemePartnerModel.ExtensionSectionPublish>} - Success response
192
190
  * @name publishExtensionSections
193
191
  * @summary: Publish an extension section
194
192
  * @description: Publish a draft extension section within the specified organization. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/publishExtensionSections/).
195
193
  */
196
- publishExtensionSections({ extensionId, body, requestHeaders }?: ThemePartnerValidator.PublishExtensionSectionsParam, { responseHeaders }?: object): Promise<ThemePartnerModel.PublishExtensionSectionResponse>;
194
+ publishExtensionSections({ extensionId, body, requestHeaders }?: ThemePartnerValidator.PublishExtensionSectionsParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionSectionPublish>;
197
195
  /**
198
196
  * @param {ThemePartnerValidator.ApplyExtensionPreviewParam} arg - Arg object.
199
197
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
200
198
  * @param {import("../PartnerAPIClient").Options} - Options
201
- * @returns {Promise<ThemePartnerModel.ExtensionPreviewResponse>} - Success response
199
+ * @returns {Promise<ThemePartnerModel.ExtensionPreview>} - Success response
202
200
  * @name applyExtensionPreview
203
201
  * @summary: Start a Preview of Extension Section
204
202
  * @description: Use this API to start a local session for previewing the extension section binding. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/applyExtensionPreview/).
205
203
  */
206
- applyExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.ApplyExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionPreviewResponse>;
204
+ applyExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.ApplyExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionPreview>;
207
205
  /**
208
206
  * @param {ThemePartnerValidator.RemoveExtensionPreviewParam} arg - Arg object.
209
207
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
210
208
  * @param {import("../PartnerAPIClient").Options} - Options
211
- * @returns {Promise<ThemePartnerModel.ExtensionPreviewResponse>} - Success response
209
+ * @returns {Promise<ThemePartnerModel.ExtensionPreview>} - Success response
212
210
  * @name removeExtensionPreview
213
211
  * @summary: Close a Preview of Extension Section
214
212
  * @description: Use this API to close a local session for previewing the extension section binding - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/removeExtensionPreview/).
215
213
  */
216
- removeExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.RemoveExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionPreviewResponse>;
214
+ removeExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.RemoveExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionPreview>;
217
215
  /**
218
216
  * @param {ThemePartnerValidator.GetThemeRejectionReasonsParam} arg - Arg object.
219
217
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -1374,8 +1374,7 @@ class Theme {
1374
1374
  * @param {ThemePartnerValidator.CreateExtensionSectionDraftParam} arg - Arg object.
1375
1375
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1376
1376
  * @param {import("../PartnerAPIClient").Options} - Options
1377
- * @returns {Promise<ThemePartnerModel.DraftExtensionSectionResponse>} -
1378
- * Success response
1377
+ * @returns {Promise<ThemePartnerModel.ExtensionSectionDraft>} - Success response
1379
1378
  * @name createExtensionSectionDraft
1380
1379
  * @summary: Draft extension section
1381
1380
  * @description: Create a new draft for an extension section within the specified organization. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/createExtensionSectionDraft/).
@@ -1433,10 +1432,10 @@ class Theme {
1433
1432
 
1434
1433
  const {
1435
1434
  error: res_error,
1436
- } = ThemePartnerModel.DraftExtensionSectionResponse().validate(
1437
- responseData,
1438
- { abortEarly: false, allowUnknown: true }
1439
- );
1435
+ } = ThemePartnerModel.ExtensionSectionDraft().validate(responseData, {
1436
+ abortEarly: false,
1437
+ allowUnknown: true,
1438
+ });
1440
1439
 
1441
1440
  if (res_error) {
1442
1441
  if (this.config.options.strictResponseCheck === true) {
@@ -1456,8 +1455,7 @@ class Theme {
1456
1455
  * @param {ThemePartnerValidator.PublishExtensionSectionsParam} arg - Arg object.
1457
1456
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1458
1457
  * @param {import("../PartnerAPIClient").Options} - Options
1459
- * @returns {Promise<ThemePartnerModel.PublishExtensionSectionResponse>} -
1460
- * Success response
1458
+ * @returns {Promise<ThemePartnerModel.ExtensionSectionPublish>} - Success response
1461
1459
  * @name publishExtensionSections
1462
1460
  * @summary: Publish an extension section
1463
1461
  * @description: Publish a draft extension section within the specified organization. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/publishExtensionSections/).
@@ -1513,10 +1511,10 @@ class Theme {
1513
1511
 
1514
1512
  const {
1515
1513
  error: res_error,
1516
- } = ThemePartnerModel.PublishExtensionSectionResponse().validate(
1517
- responseData,
1518
- { abortEarly: false, allowUnknown: true }
1519
- );
1514
+ } = ThemePartnerModel.ExtensionSectionPublish().validate(responseData, {
1515
+ abortEarly: false,
1516
+ allowUnknown: true,
1517
+ });
1520
1518
 
1521
1519
  if (res_error) {
1522
1520
  if (this.config.options.strictResponseCheck === true) {
@@ -1536,7 +1534,7 @@ class Theme {
1536
1534
  * @param {ThemePartnerValidator.ApplyExtensionPreviewParam} arg - Arg object.
1537
1535
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1538
1536
  * @param {import("../PartnerAPIClient").Options} - Options
1539
- * @returns {Promise<ThemePartnerModel.ExtensionPreviewResponse>} - Success response
1537
+ * @returns {Promise<ThemePartnerModel.ExtensionPreview>} - Success response
1540
1538
  * @name applyExtensionPreview
1541
1539
  * @summary: Start a Preview of Extension Section
1542
1540
  * @description: Use this API to start a local session for previewing the extension section binding. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/applyExtensionPreview/).
@@ -1592,7 +1590,7 @@ class Theme {
1592
1590
 
1593
1591
  const {
1594
1592
  error: res_error,
1595
- } = ThemePartnerModel.ExtensionPreviewResponse().validate(responseData, {
1593
+ } = ThemePartnerModel.ExtensionPreview().validate(responseData, {
1596
1594
  abortEarly: false,
1597
1595
  allowUnknown: true,
1598
1596
  });
@@ -1615,7 +1613,7 @@ class Theme {
1615
1613
  * @param {ThemePartnerValidator.RemoveExtensionPreviewParam} arg - Arg object.
1616
1614
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1617
1615
  * @param {import("../PartnerAPIClient").Options} - Options
1618
- * @returns {Promise<ThemePartnerModel.ExtensionPreviewResponse>} - Success response
1616
+ * @returns {Promise<ThemePartnerModel.ExtensionPreview>} - Success response
1619
1617
  * @name removeExtensionPreview
1620
1618
  * @summary: Close a Preview of Extension Section
1621
1619
  * @description: Use this API to close a local session for previewing the extension section binding - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/removeExtensionPreview/).
@@ -1671,7 +1669,7 @@ class Theme {
1671
1669
 
1672
1670
  const {
1673
1671
  error: res_error,
1674
- } = ThemePartnerModel.ExtensionPreviewResponse().validate(responseData, {
1672
+ } = ThemePartnerModel.ExtensionPreview().validate(responseData, {
1675
1673
  abortEarly: false,
1676
1674
  allowUnknown: true,
1677
1675
  });
@@ -15,7 +15,7 @@ export = ThemePartnerModel;
15
15
  * @property {string} [updated_at] - The last update timestamp of the page
16
16
  */
17
17
  /**
18
- * @typedef DraftExtensionSectionRequest
18
+ * @typedef DraftExtensionSection
19
19
  * @property {string} [extension_id]
20
20
  * @property {string} [bundle_name]
21
21
  * @property {string} [organization_id]
@@ -25,11 +25,11 @@ export = ThemePartnerModel;
25
25
  * @property {string} [status]
26
26
  */
27
27
  /**
28
- * @typedef DraftExtensionSectionResponse
29
- * @property {SectionsResponse} [sections]
28
+ * @typedef ExtensionSectionDraft
29
+ * @property {Sections} [sections]
30
30
  */
31
31
  /**
32
- * @typedef SectionsResponse
32
+ * @typedef Sections
33
33
  * @property {boolean} [acknowledged]
34
34
  * @property {number} [matched_count]
35
35
  * @property {number} [modified_count]
@@ -56,7 +56,7 @@ export = ThemePartnerModel;
56
56
  * @property {string} [css]
57
57
  */
58
58
  /**
59
- * @typedef PublishExtensionSectionRequest
59
+ * @typedef PublishExtensionSection
60
60
  * @property {string} [extension_id]
61
61
  * @property {string} [bundle_name]
62
62
  * @property {string} [organization_id]
@@ -66,17 +66,17 @@ export = ThemePartnerModel;
66
66
  * @property {string} [status]
67
67
  */
68
68
  /**
69
- * @typedef ExtensionPreviewRequest
69
+ * @typedef PreviewExtension
70
70
  * @property {string} [application_id] - Application ID
71
71
  * @property {string} [section_preview_hash] - Hash for the section preview
72
72
  */
73
73
  /**
74
- * @typedef ExtensionPreviewResponse
74
+ * @typedef ExtensionPreview
75
75
  * @property {string} [message]
76
76
  */
77
77
  /**
78
- * @typedef PublishExtensionSectionResponse
79
- * @property {SectionsResponse} [sections]
78
+ * @typedef ExtensionSectionPublish
79
+ * @property {Sections} [sections]
80
80
  */
81
81
  /**
82
82
  * @typedef AvailablePageSectionMetaAttributes
@@ -125,7 +125,15 @@ export = ThemePartnerModel;
125
125
  * @property {Object[]} [blocks]
126
126
  * @property {Object} [preset]
127
127
  * @property {AvailablePagePredicate} [predicate]
128
- * @property {string} [source]
128
+ * @property {SectionSource} [__source]
129
+ */
130
+ /**
131
+ * @typedef SectionSource
132
+ * @property {string} [id] - The source id specifying the source of the section.
133
+ * @property {string} [bundle_name] - This is the extension binding name
134
+ * containing this section.
135
+ * @property {string} [type] - This is source type. It will either be
136
+ * themeBundle or extension.
129
137
  */
130
138
  /**
131
139
  * @typedef AvailablePageScreenPredicate
@@ -273,12 +281,26 @@ export = ThemePartnerModel;
273
281
  * @property {string} admin_id - The ID of the admin who rejected the theme
274
282
  * @property {string} user_id - The ID of the user who submitted the theme
275
283
  * @property {string} status - The status of the theme (e.g., rejected)
276
- * @property {Object} rejection_reasons
284
+ * @property {RejectedMessages} rejection_reasons
277
285
  * @property {string} [created_at] - The date and time when the theme rejection
278
286
  * reasons object was created
279
287
  * @property {string} [updated_at] - The date and time when the theme rejection
280
288
  * reasons object was last updated
281
289
  */
290
+ /**
291
+ * @typedef RejectedMessages
292
+ * @property {ThemeReviewRequestMessage} [theme_file]
293
+ * @property {ThemeReviewRequestMessage} [theme_details]
294
+ * @property {ThemeReviewRequestMessage} [theme_value_proposition]
295
+ * @property {ThemeReviewRequestMessage} [theme_attributes]
296
+ * @property {ThemeReviewRequestMessage} [theme_variations]
297
+ * @property {ThemeReviewRequestMessage} [theme_docs]
298
+ * @property {ThemeReviewRequestMessage} [theme_review]
299
+ */
300
+ /**
301
+ * @typedef ThemeReviewRequestMessage
302
+ * @property {string} [message] - Message Explaining what the issue is
303
+ */
282
304
  /**
283
305
  * @typedef AllAvailablePageSchema
284
306
  * @property {AvailablePageSchema[]} [pages]
@@ -647,7 +669,7 @@ export = ThemePartnerModel;
647
669
  declare class ThemePartnerModel {
648
670
  }
649
671
  declare namespace ThemePartnerModel {
650
- export { AvailablePageSchema, DraftExtensionSectionRequest, DraftExtensionSectionResponse, SectionsResponse, ExtensionSection, PropExtension, AssetsExtension, PublishExtensionSectionRequest, ExtensionPreviewRequest, ExtensionPreviewResponse, PublishExtensionSectionResponse, AvailablePageSectionMetaAttributes, AvailablePageSeo, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, AvailablePageSchemaSections, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePagePlatformPredicate, AvailablePageSchedulePredicate, AvailablePagePredicate, MarketplaceThemeSchema, MarketplaceTheme, PaymentInfo, ContactInfo, CatalogSize, MarketplaceThemeImages, CarouselItem, ExploreInfo, Feature, FeatureItem, Highlight, Variation, Documentation, Comments, ThemeRejectionReasons, AllAvailablePageSchema, PaginationSchema, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, ThemesSchema, Font, FontVariants, FontVariant, Config, ThemeConfiguration, OverlayPopup, DividerStrokeHighlight, UserAlerts, OrderTracking, ThemeConfigListPage, ThemeConfigListPageSettingsProps, CustomConfig, CustomProps, ThemeMeta, ThemePayment, Release, Images, Assets, UMDJs, CommonJS, CSS, SectionItem, GlobalSchema, Preset, Page, SectionProps, SectionPreset, ImagePickerProp, UrlProp, BlockProps, TextProp, CheckboxProp, RangeProp, Section, Block, Predicate, Screen, ThemeUserSchema, Route, UpdateThemeRequestBody, CreateNewTheme, ActionPage, PageType };
672
+ export { AvailablePageSchema, DraftExtensionSection, ExtensionSectionDraft, Sections, ExtensionSection, PropExtension, AssetsExtension, PublishExtensionSection, PreviewExtension, ExtensionPreview, ExtensionSectionPublish, AvailablePageSectionMetaAttributes, AvailablePageSeo, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, AvailablePageSchemaSections, SectionSource, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePagePlatformPredicate, AvailablePageSchedulePredicate, AvailablePagePredicate, MarketplaceThemeSchema, MarketplaceTheme, PaymentInfo, ContactInfo, CatalogSize, MarketplaceThemeImages, CarouselItem, ExploreInfo, Feature, FeatureItem, Highlight, Variation, Documentation, Comments, ThemeRejectionReasons, RejectedMessages, ThemeReviewRequestMessage, AllAvailablePageSchema, PaginationSchema, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, ThemesSchema, Font, FontVariants, FontVariant, Config, ThemeConfiguration, OverlayPopup, DividerStrokeHighlight, UserAlerts, OrderTracking, ThemeConfigListPage, ThemeConfigListPageSettingsProps, CustomConfig, CustomProps, ThemeMeta, ThemePayment, Release, Images, Assets, UMDJs, CommonJS, CSS, SectionItem, GlobalSchema, Preset, Page, SectionProps, SectionPreset, ImagePickerProp, UrlProp, BlockProps, TextProp, CheckboxProp, RangeProp, Section, Block, Predicate, Screen, ThemeUserSchema, Route, UpdateThemeRequestBody, CreateNewTheme, ActionPage, PageType };
651
673
  }
652
674
  /** @returns {AvailablePageSchema} */
653
675
  declare function AvailablePageSchema(): AvailablePageSchema;
@@ -671,9 +693,9 @@ type AvailablePageSchema = {
671
693
  */
672
694
  updated_at?: string;
673
695
  };
674
- /** @returns {DraftExtensionSectionRequest} */
675
- declare function DraftExtensionSectionRequest(): DraftExtensionSectionRequest;
676
- type DraftExtensionSectionRequest = {
696
+ /** @returns {DraftExtensionSection} */
697
+ declare function DraftExtensionSection(): DraftExtensionSection;
698
+ type DraftExtensionSection = {
677
699
  extension_id?: string;
678
700
  bundle_name?: string;
679
701
  organization_id?: string;
@@ -682,14 +704,14 @@ type DraftExtensionSectionRequest = {
682
704
  type?: string;
683
705
  status?: string;
684
706
  };
685
- /** @returns {DraftExtensionSectionResponse} */
686
- declare function DraftExtensionSectionResponse(): DraftExtensionSectionResponse;
687
- type DraftExtensionSectionResponse = {
688
- sections?: SectionsResponse;
707
+ /** @returns {ExtensionSectionDraft} */
708
+ declare function ExtensionSectionDraft(): ExtensionSectionDraft;
709
+ type ExtensionSectionDraft = {
710
+ sections?: Sections;
689
711
  };
690
- /** @returns {SectionsResponse} */
691
- declare function SectionsResponse(): SectionsResponse;
692
- type SectionsResponse = {
712
+ /** @returns {Sections} */
713
+ declare function Sections(): Sections;
714
+ type Sections = {
693
715
  acknowledged?: boolean;
694
716
  matched_count?: number;
695
717
  modified_count?: number;
@@ -718,9 +740,9 @@ type AssetsExtension = {
718
740
  js?: string;
719
741
  css?: string;
720
742
  };
721
- /** @returns {PublishExtensionSectionRequest} */
722
- declare function PublishExtensionSectionRequest(): PublishExtensionSectionRequest;
723
- type PublishExtensionSectionRequest = {
743
+ /** @returns {PublishExtensionSection} */
744
+ declare function PublishExtensionSection(): PublishExtensionSection;
745
+ type PublishExtensionSection = {
724
746
  extension_id?: string;
725
747
  bundle_name?: string;
726
748
  organization_id?: string;
@@ -729,9 +751,9 @@ type PublishExtensionSectionRequest = {
729
751
  type?: string;
730
752
  status?: string;
731
753
  };
732
- /** @returns {ExtensionPreviewRequest} */
733
- declare function ExtensionPreviewRequest(): ExtensionPreviewRequest;
734
- type ExtensionPreviewRequest = {
754
+ /** @returns {PreviewExtension} */
755
+ declare function PreviewExtension(): PreviewExtension;
756
+ type PreviewExtension = {
735
757
  /**
736
758
  * - Application ID
737
759
  */
@@ -741,15 +763,15 @@ type ExtensionPreviewRequest = {
741
763
  */
742
764
  section_preview_hash?: string;
743
765
  };
744
- /** @returns {ExtensionPreviewResponse} */
745
- declare function ExtensionPreviewResponse(): ExtensionPreviewResponse;
746
- type ExtensionPreviewResponse = {
766
+ /** @returns {ExtensionPreview} */
767
+ declare function ExtensionPreview(): ExtensionPreview;
768
+ type ExtensionPreview = {
747
769
  message?: string;
748
770
  };
749
- /** @returns {PublishExtensionSectionResponse} */
750
- declare function PublishExtensionSectionResponse(): PublishExtensionSectionResponse;
751
- type PublishExtensionSectionResponse = {
752
- sections?: SectionsResponse;
771
+ /** @returns {ExtensionSectionPublish} */
772
+ declare function ExtensionSectionPublish(): ExtensionSectionPublish;
773
+ type ExtensionSectionPublish = {
774
+ sections?: Sections;
753
775
  };
754
776
  /** @returns {AvailablePageSectionMetaAttributes} */
755
777
  declare function AvailablePageSectionMetaAttributes(): AvailablePageSectionMetaAttributes;
@@ -809,7 +831,25 @@ type AvailablePageSchemaSections = {
809
831
  blocks?: any[];
810
832
  preset?: any;
811
833
  predicate?: AvailablePagePredicate;
812
- source?: string;
834
+ __source?: SectionSource;
835
+ };
836
+ /** @returns {SectionSource} */
837
+ declare function SectionSource(): SectionSource;
838
+ type SectionSource = {
839
+ /**
840
+ * - The source id specifying the source of the section.
841
+ */
842
+ id?: string;
843
+ /**
844
+ * - This is the extension binding name
845
+ * containing this section.
846
+ */
847
+ bundle_name?: string;
848
+ /**
849
+ * - This is source type. It will either be
850
+ * themeBundle or extension.
851
+ */
852
+ type?: string;
813
853
  };
814
854
  /** @returns {AvailablePageScreenPredicate} */
815
855
  declare function AvailablePageScreenPredicate(): AvailablePageScreenPredicate;
@@ -1134,7 +1174,7 @@ type ThemeRejectionReasons = {
1134
1174
  * - The status of the theme (e.g., rejected)
1135
1175
  */
1136
1176
  status: string;
1137
- rejection_reasons: any;
1177
+ rejection_reasons: RejectedMessages;
1138
1178
  /**
1139
1179
  * - The date and time when the theme rejection
1140
1180
  * reasons object was created
@@ -1146,6 +1186,25 @@ type ThemeRejectionReasons = {
1146
1186
  */
1147
1187
  updated_at?: string;
1148
1188
  };
1189
+ /** @returns {RejectedMessages} */
1190
+ declare function RejectedMessages(): RejectedMessages;
1191
+ type RejectedMessages = {
1192
+ theme_file?: ThemeReviewRequestMessage;
1193
+ theme_details?: ThemeReviewRequestMessage;
1194
+ theme_value_proposition?: ThemeReviewRequestMessage;
1195
+ theme_attributes?: ThemeReviewRequestMessage;
1196
+ theme_variations?: ThemeReviewRequestMessage;
1197
+ theme_docs?: ThemeReviewRequestMessage;
1198
+ theme_review?: ThemeReviewRequestMessage;
1199
+ };
1200
+ /** @returns {ThemeReviewRequestMessage} */
1201
+ declare function ThemeReviewRequestMessage(): ThemeReviewRequestMessage;
1202
+ type ThemeReviewRequestMessage = {
1203
+ /**
1204
+ * - Message Explaining what the issue is
1205
+ */
1206
+ message?: string;
1207
+ };
1149
1208
  /** @returns {AllAvailablePageSchema} */
1150
1209
  declare function AllAvailablePageSchema(): AllAvailablePageSchema;
1151
1210
  type AllAvailablePageSchema = {