@gofynd/fdk-client-javascript 1.4.2-beta.7 → 1.4.4

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 (254) hide show
  1. package/README.md +1 -10
  2. package/application.d.ts +3 -3
  3. package/common.d.ts +3 -3
  4. package/index.d.ts +15 -15
  5. package/package.json +5 -3
  6. package/partner.d.ts +3 -3
  7. package/platform.d.ts +3 -3
  8. package/public.d.ts +2 -2
  9. package/sdk/application/ApplicationAPIClient.d.ts +1 -1
  10. package/sdk/application/ApplicationAPIClient.js +0 -1
  11. package/sdk/application/ApplicationClient.d.ts +17 -17
  12. package/sdk/application/ApplicationConfig.d.ts +3 -3
  13. package/sdk/application/Cart/CartApplicationClient.d.ts +58 -58
  14. package/sdk/application/Cart/CartApplicationClient.js +56 -56
  15. package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -1
  16. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +72 -72
  17. package/sdk/application/Catalog/CatalogApplicationClient.js +69 -69
  18. package/sdk/application/Common/CommonApplicationClient.d.ts +6 -6
  19. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  20. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +8 -8
  21. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
  22. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
  23. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -34
  24. package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -32
  25. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +1 -1
  26. package/sdk/application/Content/ContentApplicationClient.d.ts +48 -48
  27. package/sdk/application/Content/ContentApplicationClient.js +45 -45
  28. package/sdk/application/Content/ContentApplicationModel.d.ts +18 -18
  29. package/sdk/application/Content/ContentApplicationModel.js +26 -26
  30. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +7 -7
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.js +15 -9
  32. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
  33. package/sdk/application/Lead/LeadApplicationClient.d.ts +12 -12
  34. package/sdk/application/Lead/LeadApplicationClient.js +10 -10
  35. package/sdk/application/Lead/LeadApplicationModel.d.ts +64 -77
  36. package/sdk/application/Lead/LeadApplicationModel.js +42 -52
  37. package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -1
  38. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +24 -24
  39. package/sdk/application/Logistic/LogisticApplicationClient.js +22 -22
  40. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
  41. package/sdk/application/Order/OrderApplicationClient.d.ts +19 -30
  42. package/sdk/application/Order/OrderApplicationClient.js +17 -97
  43. package/sdk/application/Order/OrderApplicationValidator.d.ts +2 -16
  44. package/sdk/application/Order/OrderApplicationValidator.js +0 -13
  45. package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -91
  46. package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
  47. package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -2
  48. package/sdk/application/Payment/PaymentApplicationModel.js +4 -2
  49. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +6 -6
  50. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  51. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +29 -29
  52. package/sdk/application/PosCart/PosCartApplicationClient.js +27 -27
  53. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +1 -1
  54. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +9 -9
  55. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  56. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +1 -1
  57. package/sdk/application/Share/ShareApplicationClient.d.ts +9 -9
  58. package/sdk/application/Share/ShareApplicationClient.js +7 -7
  59. package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
  60. package/sdk/application/Share/ShareApplicationModel.js +2 -0
  61. package/sdk/application/Share/ShareApplicationValidator.d.ts +1 -1
  62. package/sdk/application/Theme/ThemeApplicationClient.d.ts +10 -10
  63. package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
  64. package/sdk/application/Theme/ThemeApplicationModel.d.ts +25 -32
  65. package/sdk/application/Theme/ThemeApplicationModel.js +30 -40
  66. package/sdk/application/User/UserApplicationClient.d.ts +76 -76
  67. package/sdk/application/User/UserApplicationClient.js +74 -74
  68. package/sdk/application/User/UserApplicationModel.d.ts +44 -13
  69. package/sdk/application/User/UserApplicationModel.js +17 -13
  70. package/sdk/application/User/UserApplicationValidator.d.ts +1 -1
  71. package/sdk/application/index.d.ts +18 -18
  72. package/sdk/common/AxiosHelper.d.ts +1 -1
  73. package/sdk/common/AxiosHelper.js +38 -17
  74. package/sdk/common/Clickstream.js +22 -16
  75. package/sdk/common/curlHelper.js +1 -3
  76. package/sdk/common/utils.d.ts +15 -0
  77. package/sdk/common/utils.js +30 -0
  78. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +3 -3
  79. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +2 -2
  80. package/sdk/partner/Lead/LeadPartnerClient.d.ts +3 -3
  81. package/sdk/partner/Lead/LeadPartnerClient.js +1 -1
  82. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +5 -5
  83. package/sdk/partner/Logistics/LogisticsPartnerClient.js +4 -4
  84. package/sdk/partner/OAuthClient.d.ts +4 -4
  85. package/sdk/partner/PartnerAPIClient.d.ts +1 -1
  86. package/sdk/partner/PartnerAPIClient.js +0 -1
  87. package/sdk/partner/PartnerClient.d.ts +6 -6
  88. package/sdk/partner/PartnerConfig.d.ts +4 -4
  89. package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -20
  90. package/sdk/partner/Theme/ThemePartnerClient.js +19 -19
  91. package/sdk/partner/Theme/ThemePartnerModel.d.ts +25 -32
  92. package/sdk/partner/Theme/ThemePartnerModel.js +30 -40
  93. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +3 -3
  94. package/sdk/partner/Webhook/WebhookPartnerClient.js +2 -2
  95. package/sdk/partner/index.d.ts +7 -7
  96. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
  97. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +6 -6
  98. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
  99. package/sdk/platform/Billing/BillingPlatformClient.d.ts +25 -25
  100. package/sdk/platform/Billing/BillingPlatformClient.js +23 -23
  101. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +1 -1
  102. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +115 -115
  103. package/sdk/platform/Cart/CartPlatformApplicationClient.js +113 -113
  104. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -1
  105. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +147 -146
  106. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +146 -145
  107. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1 -1
  108. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +156 -156
  109. package/sdk/platform/Catalog/CatalogPlatformClient.js +153 -153
  110. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +65 -28
  111. package/sdk/platform/Catalog/CatalogPlatformModel.js +68 -36
  112. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -1
  113. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -5
  114. package/sdk/platform/Common/CommonPlatformClient.js +3 -3
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +133 -133
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +131 -131
  117. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +1 -1
  118. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +4 -4
  119. package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -2
  120. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +12 -0
  121. package/sdk/platform/Communication/CommunicationPlatformModel.js +12 -0
  122. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +28 -28
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +25 -25
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -0
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +2 -0
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +1 -1
  127. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -52
  128. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +50 -50
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +1 -1
  130. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +31 -31
  131. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +29 -29
  132. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -1
  133. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +128 -128
  134. package/sdk/platform/Content/ContentPlatformApplicationClient.js +131 -131
  135. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +5 -5
  136. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
  137. package/sdk/platform/Content/ContentPlatformClient.d.ts +33 -33
  138. package/sdk/platform/Content/ContentPlatformClient.js +37 -37
  139. package/sdk/platform/Content/ContentPlatformModel.d.ts +18 -18
  140. package/sdk/platform/Content/ContentPlatformModel.js +26 -26
  141. package/sdk/platform/Content/ContentPlatformValidator.d.ts +5 -5
  142. package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
  143. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +24 -24
  144. package/sdk/platform/Discount/DiscountPlatformClient.js +22 -22
  145. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +1 -1
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +24 -23
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +32 -25
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
  149. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +15 -15
  150. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +28 -19
  151. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +12 -1
  152. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +16 -2
  153. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +1 -1
  154. package/sdk/platform/Finance/FinancePlatformClient.d.ts +30 -30
  155. package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
  156. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -1
  157. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +19 -19
  158. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +17 -17
  159. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -1
  160. package/sdk/platform/Lead/LeadPlatformClient.d.ts +20 -20
  161. package/sdk/platform/Lead/LeadPlatformClient.js +18 -18
  162. package/sdk/platform/Lead/LeadPlatformModel.d.ts +62 -77
  163. package/sdk/platform/Lead/LeadPlatformModel.js +40 -52
  164. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -1
  165. package/sdk/platform/OAuthClient.d.ts +3 -3
  166. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +12 -12
  167. package/sdk/platform/Order/OrderPlatformApplicationClient.js +10 -10
  168. package/sdk/platform/Order/OrderPlatformClient.d.ts +111 -122
  169. package/sdk/platform/Order/OrderPlatformClient.js +109 -204
  170. package/sdk/platform/Order/OrderPlatformModel.d.ts +18 -2
  171. package/sdk/platform/Order/OrderPlatformModel.js +12 -2
  172. package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -34
  173. package/sdk/platform/Order/OrderPlatformValidator.js +0 -20
  174. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -6
  175. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
  176. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -1
  177. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +97 -97
  178. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +95 -95
  179. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -1
  180. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +13 -13
  181. package/sdk/platform/Payment/PaymentPlatformClient.js +11 -11
  182. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +7 -0
  183. package/sdk/platform/Payment/PaymentPlatformModel.js +3 -0
  184. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +1 -1
  185. package/sdk/platform/PlatformAPIClient.d.ts +1 -1
  186. package/sdk/platform/PlatformAPIClient.js +0 -1
  187. package/sdk/platform/PlatformApplicationClient.d.ts +16 -16
  188. package/sdk/platform/PlatformClient.d.ts +19 -21
  189. package/sdk/platform/PlatformClient.js +0 -4
  190. package/sdk/platform/PlatformConfig.d.ts +4 -4
  191. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +14 -14
  192. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
  193. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +42 -42
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +40 -40
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -1
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +55 -54
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +53 -52
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2 -2
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -2
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -1
  202. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
  203. package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
  204. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
  205. package/sdk/platform/Share/SharePlatformModel.d.ts +4 -0
  206. package/sdk/platform/Share/SharePlatformModel.js +4 -0
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +42 -112
  208. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +40 -597
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +2 -101
  210. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -92
  211. package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -8
  212. package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
  213. package/sdk/platform/Theme/ThemePlatformModel.d.ts +25 -32
  214. package/sdk/platform/Theme/ThemePlatformModel.js +30 -40
  215. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +1 -1
  216. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +37 -37
  217. package/sdk/platform/User/UserPlatformApplicationClient.js +35 -35
  218. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +1 -1
  219. package/sdk/platform/User/UserPlatformModel.d.ts +48 -13
  220. package/sdk/platform/User/UserPlatformModel.js +21 -13
  221. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +20 -19
  222. package/sdk/platform/Webhook/WebhookPlatformClient.js +18 -17
  223. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
  224. package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
  225. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +1 -1
  226. package/sdk/platform/index.d.ts +24 -25
  227. package/sdk/platform/index.js +0 -2
  228. package/sdk/public/Billing/BillingPublicClient.d.ts +3 -3
  229. package/sdk/public/Billing/BillingPublicClient.js +4 -4
  230. package/sdk/public/Billing/BillingPublicValidator.d.ts +2 -2
  231. package/sdk/public/Billing/BillingPublicValidator.js +2 -2
  232. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -3
  233. package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
  234. package/sdk/public/Content/ContentPublicClient.d.ts +2 -2
  235. package/sdk/public/Content/ContentPublicValidator.d.ts +2 -2
  236. package/sdk/public/Content/ContentPublicValidator.js +3 -3
  237. package/sdk/public/Inventory/InventoryPublicClient.d.ts +2 -2
  238. package/sdk/public/Inventory/InventoryPublicModel.d.ts +8 -8
  239. package/sdk/public/Inventory/InventoryPublicModel.js +8 -8
  240. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +1 -1
  241. package/sdk/public/Partner/PartnerPublicClient.d.ts +3 -3
  242. package/sdk/public/Partner/PartnerPublicClient.js +1 -1
  243. package/sdk/public/PublicAPIClient.d.ts +1 -1
  244. package/sdk/public/PublicClient.d.ts +7 -7
  245. package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
  246. package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
  247. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -1
  248. package/sdk/public/index.d.ts +8 -8
  249. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +0 -152
  250. package/sdk/platform/Inventory/InventoryPlatformClient.js +0 -1017
  251. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +0 -1355
  252. package/sdk/platform/Inventory/InventoryPlatformModel.js +0 -1544
  253. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +0 -171
  254. package/sdk/platform/Inventory/InventoryPlatformValidator.js +0 -159
@@ -1,7 +1,7 @@
1
1
  export = ContentPublicValidator;
2
2
  /**
3
3
  * @typedef GetCredentialsByEntityParam
4
- * @property {string} [entity] - Server Type
4
+ * @property {string} entity - Server Type
5
5
  */
6
6
  declare class ContentPublicValidator {
7
7
  /** @returns {GetCredentialsByEntityParam} */
@@ -14,5 +14,5 @@ type GetCredentialsByEntityParam = {
14
14
  /**
15
15
  * - Server Type
16
16
  */
17
- entity?: string;
17
+ entity: string;
18
18
  };
@@ -4,15 +4,15 @@ const ContentPublicModel = require("./ContentPublicModel");
4
4
 
5
5
  /**
6
6
  * @typedef GetCredentialsByEntityParam
7
- * @property {string} [entity] - Server Type
7
+ * @property {string} entity - Server Type
8
8
  */
9
9
 
10
10
  class ContentPublicValidator {
11
11
  /** @returns {GetCredentialsByEntityParam} */
12
12
  static getCredentialsByEntity() {
13
13
  return Joi.object({
14
- entity: Joi.string().allow(""),
15
- });
14
+ entity: Joi.string().allow("").required(),
15
+ }).required();
16
16
  }
17
17
  }
18
18
 
@@ -83,5 +83,5 @@ declare class Inventory {
83
83
  */
84
84
  saveJobCodesMetrics({ body, requestHeaders }?: InventoryPublicValidator.SaveJobCodesMetricsParam, { responseHeaders }?: object): Promise<InventoryPublicModel.ResponseEnvelopeEmailJobMetrics>;
85
85
  }
86
- import InventoryPublicValidator = require("./InventoryPublicValidator");
87
- import InventoryPublicModel = require("./InventoryPublicModel");
86
+ import InventoryPublicValidator = require("sdk/output/javascript/code/sdk/public/Inventory/InventoryPublicValidator");
87
+ import InventoryPublicModel = require("sdk/output/javascript/code/sdk/public/Inventory/InventoryPublicModel");
@@ -9,13 +9,13 @@ export = InventoryPublicModel;
9
9
  */
10
10
  /**
11
11
  * @typedef Page
12
- * @property {string} type
13
- * @property {number} [size]
14
- * @property {number} [current]
15
- * @property {boolean} [has_next]
16
12
  * @property {number} [item_total]
17
13
  * @property {string} [next_id]
18
14
  * @property {boolean} [has_previous]
15
+ * @property {boolean} [has_next]
16
+ * @property {number} [current]
17
+ * @property {string} type
18
+ * @property {number} [size]
19
19
  */
20
20
  /**
21
21
  * @typedef ResponseEnvelopeEmailJobMetrics
@@ -200,13 +200,13 @@ type EmailJobMetrics = {
200
200
  /** @returns {Page} */
201
201
  declare function Page(): Page;
202
202
  type Page = {
203
- type: string;
204
- size?: number;
205
- current?: number;
206
- has_next?: boolean;
207
203
  item_total?: number;
208
204
  next_id?: string;
209
205
  has_previous?: boolean;
206
+ has_next?: boolean;
207
+ current?: number;
208
+ type: string;
209
+ size?: number;
210
210
  };
211
211
  /** @returns {ResponseEnvelopeEmailJobMetrics} */
212
212
  declare function ResponseEnvelopeEmailJobMetrics(): ResponseEnvelopeEmailJobMetrics;
@@ -11,13 +11,13 @@ const Joi = require("joi");
11
11
 
12
12
  /**
13
13
  * @typedef Page
14
- * @property {string} type
15
- * @property {number} [size]
16
- * @property {number} [current]
17
- * @property {boolean} [has_next]
18
14
  * @property {number} [item_total]
19
15
  * @property {string} [next_id]
20
16
  * @property {boolean} [has_previous]
17
+ * @property {boolean} [has_next]
18
+ * @property {number} [current]
19
+ * @property {string} type
20
+ * @property {number} [size]
21
21
  */
22
22
 
23
23
  /**
@@ -218,13 +218,13 @@ class InventoryPublicModel {
218
218
  /** @returns {Page} */
219
219
  static Page() {
220
220
  return Joi.object({
221
- type: Joi.string().allow("").required(),
222
- size: Joi.number(),
223
- current: Joi.number(),
224
- has_next: Joi.boolean(),
225
221
  item_total: Joi.number(),
226
222
  next_id: Joi.string().allow(""),
227
223
  has_previous: Joi.boolean(),
224
+ has_next: Joi.boolean(),
225
+ current: Joi.number(),
226
+ type: Joi.string().allow("").required(),
227
+ size: Joi.number(),
228
228
  });
229
229
  }
230
230
 
@@ -88,4 +88,4 @@ type GetJobConfigByIntegrationTypeParam = {
88
88
  type SaveJobCodesMetricsParam = {
89
89
  body: InventoryPublicModel.EmailJobMetrics;
90
90
  };
91
- import InventoryPublicModel = require("./InventoryPublicModel");
91
+ import InventoryPublicModel = require("sdk/output/javascript/code/sdk/public/Inventory/InventoryPublicModel");
@@ -13,10 +13,10 @@ declare class Partner {
13
13
  * @param {import("../PublicAPIClient").Options} - Options
14
14
  * @returns {Promise<PartnerPublicModel.ExtensionUsingSlug>} - Success response
15
15
  * @name getPanelExtensionDetails
16
- * @summary: Get panel extension details.
16
+ * @summary: Get panel extension details
17
17
  * @description: Retrieve detailed information about panel extensions in the public server setup. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/public/partner/getPanelExtensionDetails/).
18
18
  */
19
19
  getPanelExtensionDetails({ slug, requestHeaders }?: PartnerPublicValidator.GetPanelExtensionDetailsParam, { responseHeaders }?: object): Promise<PartnerPublicModel.ExtensionUsingSlug>;
20
20
  }
21
- import PartnerPublicValidator = require("./PartnerPublicValidator");
22
- import PartnerPublicModel = require("./PartnerPublicModel");
21
+ import PartnerPublicValidator = require("sdk/output/javascript/code/sdk/public/Partner/PartnerPublicValidator");
22
+ import PartnerPublicModel = require("sdk/output/javascript/code/sdk/public/Partner/PartnerPublicModel");
@@ -39,7 +39,7 @@ class Partner {
39
39
  * @param {import("../PublicAPIClient").Options} - Options
40
40
  * @returns {Promise<PartnerPublicModel.ExtensionUsingSlug>} - Success response
41
41
  * @name getPanelExtensionDetails
42
- * @summary: Get panel extension details.
42
+ * @summary: Get panel extension details
43
43
  * @description: Retrieve detailed information about panel extensions in the public server setup. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/public/partner/getPanelExtensionDetails/).
44
44
  */
45
45
  async getPanelExtensionDetails(
@@ -11,7 +11,7 @@ declare class PublicAPIClient {
11
11
  * @param {object} query
12
12
  * @param {object} body
13
13
  */
14
- static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: any, options: any): any;
14
+ static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: any, options: any): Promise<import("sdk/node_modules/axios").AxiosResponse<any, any>>;
15
15
  }
16
16
  declare namespace PublicAPIClient {
17
17
  export { Options };
@@ -11,7 +11,7 @@ declare class PublicClient {
11
11
  * @param {import("./PublicConfig")} config - The configuration for the public client.
12
12
  */
13
13
  constructor(config: import("./PublicConfig"));
14
- config: import("./PublicConfig");
14
+ config: import("sdk/output/javascript/code/sdk/public/PublicConfig");
15
15
  billing: Billing;
16
16
  configuration: Configuration;
17
17
  content: Content;
@@ -26,9 +26,9 @@ declare class PublicClient {
26
26
  */
27
27
  setExtraHeaders(header: object): void;
28
28
  }
29
- import Billing = require("./Billing/BillingPublicClient");
30
- import Configuration = require("./Configuration/ConfigurationPublicClient");
31
- import Content = require("./Content/ContentPublicClient");
32
- import Inventory = require("./Inventory/InventoryPublicClient");
33
- import Partner = require("./Partner/PartnerPublicClient");
34
- import Webhook = require("./Webhook/WebhookPublicClient");
29
+ import Billing = require("sdk/output/javascript/code/sdk/public/Billing/BillingPublicClient");
30
+ import Configuration = require("sdk/output/javascript/code/sdk/public/Configuration/ConfigurationPublicClient");
31
+ import Content = require("sdk/output/javascript/code/sdk/public/Content/ContentPublicClient");
32
+ import Inventory = require("sdk/output/javascript/code/sdk/public/Inventory/InventoryPublicClient");
33
+ import Partner = require("sdk/output/javascript/code/sdk/public/Partner/PartnerPublicClient");
34
+ import Webhook = require("sdk/output/javascript/code/sdk/public/Webhook/WebhookPublicClient");
@@ -17,7 +17,7 @@ declare class Webhook {
17
17
  * @param {import("../PublicAPIClient").Options} - Options
18
18
  * @returns {Promise<WebhookPublicModel.EventConfigResponse>} - Success response
19
19
  * @name fetchAllWebhookEvents
20
- * @summary: Fetch all webhook events.
20
+ * @summary: Fetch all webhook events
21
21
  * @description: Retrieve a list of all webhook events in the public server setup. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/public/webhook/fetchAllWebhookEvents/).
22
22
  */
23
23
  fetchAllWebhookEvents({ requestHeaders }?: any, { responseHeaders }?: object): Promise<WebhookPublicModel.EventConfigResponse>;
@@ -37,7 +37,7 @@ declare class Webhook {
37
37
  * @param {import("../PublicAPIClient").Options} - Options
38
38
  * @returns {Promise<WebhookPublicModel.EventConfigResponse>} - Success response
39
39
  * @name queryWebhookEventDetails
40
- * @summary: Query webhook event details.
40
+ * @summary: Query webhook event details
41
41
  * @description: Query and obtain detailed information about webhook events in the public server configurations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/public/webhook/queryWebhookEventDetails/).
42
42
  */
43
43
  queryWebhookEventDetails({ body, requestHeaders }?: WebhookPublicValidator.QueryWebhookEventDetailsParam, { responseHeaders }?: object): Promise<WebhookPublicModel.EventConfigResponse>;
@@ -62,5 +62,5 @@ declare class Webhook {
62
62
  */
63
63
  validateSchema({ body, requestHeaders }?: WebhookPublicValidator.ValidateSchemaParam, { responseHeaders }?: object): Promise<WebhookPublicModel.ValidateSchemaResponse>;
64
64
  }
65
- import WebhookPublicModel = require("./WebhookPublicModel");
66
- import WebhookPublicValidator = require("./WebhookPublicValidator");
65
+ import WebhookPublicModel = require("sdk/output/javascript/code/sdk/public/Webhook/WebhookPublicModel");
66
+ import WebhookPublicValidator = require("sdk/output/javascript/code/sdk/public/Webhook/WebhookPublicValidator");
@@ -46,7 +46,7 @@ class Webhook {
46
46
  * @param {import("../PublicAPIClient").Options} - Options
47
47
  * @returns {Promise<WebhookPublicModel.EventConfigResponse>} - Success response
48
48
  * @name fetchAllWebhookEvents
49
- * @summary: Fetch all webhook events.
49
+ * @summary: Fetch all webhook events
50
50
  * @description: Retrieve a list of all webhook events in the public server setup. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/public/webhook/fetchAllWebhookEvents/).
51
51
  */
52
52
  async fetchAllWebhookEvents(
@@ -202,7 +202,7 @@ class Webhook {
202
202
  * @param {import("../PublicAPIClient").Options} - Options
203
203
  * @returns {Promise<WebhookPublicModel.EventConfigResponse>} - Success response
204
204
  * @name queryWebhookEventDetails
205
- * @summary: Query webhook event details.
205
+ * @summary: Query webhook event details
206
206
  * @description: Query and obtain detailed information about webhook events in the public server configurations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/public/webhook/queryWebhookEventDetails/).
207
207
  */
208
208
  async queryWebhookEventDetails(
@@ -39,4 +39,4 @@ type ValidateSchemaParam = {
39
39
  };
40
40
  type FetchAllWebhookEventsParam = any;
41
41
  type NotifyDepricatedEventParam = any;
42
- import WebhookPublicModel = require("./WebhookPublicModel");
42
+ import WebhookPublicModel = require("sdk/output/javascript/code/sdk/public/Webhook/WebhookPublicModel");
@@ -1,10 +1,10 @@
1
- export const PublicConfig: typeof import("./PublicConfig");
2
- export const PublicClient: typeof import("./PublicClient");
1
+ export const PublicConfig: typeof import("sdk/output/javascript/code/sdk/public/PublicConfig");
2
+ export const PublicClient: typeof import("sdk/output/javascript/code/sdk/public/PublicClient");
3
3
  export namespace PublicModel {
4
- const BillingPublicModel: typeof import("./Billing/BillingPublicModel");
5
- const ConfigurationPublicModel: typeof import("./Configuration/ConfigurationPublicModel");
6
- const ContentPublicModel: typeof import("./Content/ContentPublicModel");
7
- const InventoryPublicModel: typeof import("./Inventory/InventoryPublicModel");
8
- const PartnerPublicModel: typeof import("./Partner/PartnerPublicModel");
9
- const WebhookPublicModel: typeof import("./Webhook/WebhookPublicModel");
4
+ const BillingPublicModel: typeof import("sdk/output/javascript/code/sdk/public/Billing/BillingPublicModel");
5
+ const ConfigurationPublicModel: typeof import("sdk/output/javascript/code/sdk/public/Configuration/ConfigurationPublicModel");
6
+ const ContentPublicModel: typeof import("sdk/output/javascript/code/sdk/public/Content/ContentPublicModel");
7
+ const InventoryPublicModel: typeof import("sdk/output/javascript/code/sdk/public/Inventory/InventoryPublicModel");
8
+ const PartnerPublicModel: typeof import("sdk/output/javascript/code/sdk/public/Partner/PartnerPublicModel");
9
+ const WebhookPublicModel: typeof import("sdk/output/javascript/code/sdk/public/Webhook/WebhookPublicModel");
10
10
  }
@@ -1,152 +0,0 @@
1
- export = Inventory;
2
- declare class Inventory {
3
- constructor(config: any);
4
- config: any;
5
- /**
6
- * @param {InventoryPlatformValidator.CreateJobParam} arg - Arg object
7
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
8
- * @param {import("../PlatformAPIClient").Options} - Options
9
- * @returns {Promise<InventoryPlatformModel.ResponseEnvelopeString>} -
10
- * Success response
11
- * @name createJob
12
- * @summary: Creates A New Job Config
13
- * @description: REST Endpoint that creates a new job config - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/createJob/).
14
- */
15
- createJob({ body, requestHeaders }?: InventoryPlatformValidator.CreateJobParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeString>;
16
- /**
17
- * @param {InventoryPlatformValidator.DisableParam} arg - Arg object
18
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
19
- * @param {import("../PlatformAPIClient").Options} - Options
20
- * @returns {Promise<InventoryPlatformModel.ResponseEnvelopeString>} -
21
- * Success response
22
- * @name disable
23
- * @summary: Disable Job Config
24
- * @description: REST Endpoint that disables Inventory Job Config - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/disable/).
25
- */
26
- disable({ integrationId, requestHeaders }?: InventoryPlatformValidator.DisableParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeString>;
27
- /**
28
- * @param {InventoryPlatformValidator.GetConfigByCompanyParam} arg - Arg object
29
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
30
- * @param {import("../PlatformAPIClient").Options} - Options
31
- * @returns {Promise<InventoryPlatformModel.ResponseEnvelopeListSlingshotConfigurationDetail>}
32
- * - Success response
33
- *
34
- * @name getConfigByCompany
35
- * @summary: Get Slingshot Configuration Of A Company
36
- * @description: REST Endpoint that returns all configuration detail of a company - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getConfigByCompany/).
37
- */
38
- getConfigByCompany({ requestHeaders }?: any, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeListSlingshotConfigurationDetail>;
39
- /**
40
- * @param {InventoryPlatformValidator.GetJobByCodeParam} arg - Arg object
41
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
42
- * @param {import("../PlatformAPIClient").Options} - Options
43
- * @returns {Promise<InventoryPlatformModel.ResponseEnvelopeJobConfigDTO>}
44
- * - Success response
45
- *
46
- * @name getJobByCode
47
- * @summary: Get Job Config By Code
48
- * @description: REST Endpoint that returns job config by code - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getJobByCode/).
49
- */
50
- getJobByCode({ code, requestHeaders }?: InventoryPlatformValidator.GetJobByCodeParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeJobConfigDTO>;
51
- /**
52
- * @param {InventoryPlatformValidator.GetJobByCompanyAndIntegrationParam} arg
53
- * - Arg object
54
- *
55
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
56
- * @param {import("../PlatformAPIClient").Options} - Options
57
- * @returns {Promise<InventoryPlatformModel.ResponseEnvelopeListJobConfigDTO>}
58
- * - Success response
59
- *
60
- * @name getJobByCompanyAndIntegration
61
- * @summary: Get Job Configs By Company And Integration
62
- * @description: REST Endpoint that returns all job configs by company And integration - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getJobByCompanyAndIntegration/).
63
- */
64
- getJobByCompanyAndIntegration({ integrationId, pageNo, pageSize, requestHeaders }?: InventoryPlatformValidator.GetJobByCompanyAndIntegrationParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeListJobConfigDTO>;
65
- /**
66
- * @param {InventoryPlatformValidator.GetJobCodeMetricsParam} arg - Arg object
67
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
68
- * @param {import("../PlatformAPIClient").Options} - Options
69
- * @returns {Promise<InventoryPlatformModel.ResponseEnvelopeJobMetricsDto>}
70
- * - Success response
71
- *
72
- * @name getJobCodeMetrics
73
- * @summary: Get Job Metrics
74
- * @description: REST Endpoint that returns Inventory Run History For A Job Code - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getJobCodeMetrics/).
75
- */
76
- getJobCodeMetrics({ code, pageNo, pageSize, status, date, requestHeaders }?: InventoryPlatformValidator.GetJobCodeMetricsParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeJobMetricsDto>;
77
- /**
78
- * @param {InventoryPlatformValidator.GetJobCodesByCompanyAndIntegrationParam} arg
79
- * - Arg object
80
- *
81
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
82
- * @param {import("../PlatformAPIClient").Options} - Options
83
- * @returns {Promise<InventoryPlatformModel.ResponseEnvelopeListJobConfigListDTO>}
84
- * - Success response
85
- *
86
- * @name getJobCodesByCompanyAndIntegration
87
- * @summary: Get Job Codes By Company And Integration
88
- * @description: REST Endpoint that returns all job codes by company And integration - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getJobCodesByCompanyAndIntegration/).
89
- */
90
- getJobCodesByCompanyAndIntegration({ integrationId, pageNo, pageSize, requestHeaders }?: InventoryPlatformValidator.GetJobCodesByCompanyAndIntegrationParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeListJobConfigListDTO>;
91
- /**
92
- * @param {InventoryPlatformValidator.GetJobConfigDefaultsParam} arg - Arg object
93
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
94
- * @param {import("../PlatformAPIClient").Options} - Options
95
- * @returns {Promise<InventoryPlatformModel.ResponseEnvelopeJobConfigDTO>}
96
- * - Success response
97
- *
98
- * @name getJobConfigDefaults
99
- * @summary: Get Job Configs Defaults
100
- * @description: REST Endpoint that returns default fields job configs by company And integration - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getJobConfigDefaults/).
101
- */
102
- getJobConfigDefaults({ requestHeaders }?: any, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeJobConfigDTO>;
103
- /**
104
- * @param {InventoryPlatformValidator.GetJobStepsParam} arg - Arg object
105
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
106
- * @param {import("../PlatformAPIClient").Options} - Options
107
- * @returns {Promise<InventoryPlatformModel.ResponseEnvelopeListJobStepsDTO>}
108
- * - Success response
109
- *
110
- * @name getJobSteps
111
- * @summary: Get Job Code Steps
112
- * @description: REST Endpoint that returns Inventory Job Steps - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getJobSteps/).
113
- */
114
- getJobSteps({ jobId, requestHeaders }?: InventoryPlatformValidator.GetJobStepsParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeListJobStepsDTO>;
115
- /**
116
- * @param {InventoryPlatformValidator.GetJobsByCompanyParam} arg - Arg object
117
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
118
- * @param {import("../PlatformAPIClient").Options} - Options
119
- * @returns {Promise<InventoryPlatformModel.ResponseEnvelopeListJobConfigRawDTO>}
120
- * - Success response
121
- *
122
- * @name getJobsByCompany
123
- * @summary: Get Job Configs For A Company
124
- * @description: REST Endpoint that returns all job configs for a company - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getJobsByCompany/).
125
- */
126
- getJobsByCompany({ pageNo, pageSize, requestHeaders }?: InventoryPlatformValidator.GetJobsByCompanyParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeListJobConfigRawDTO>;
127
- /**
128
- * @param {InventoryPlatformValidator.SuppressStoresParam} arg - Arg object
129
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
130
- * @param {import("../PlatformAPIClient").Options} - Options
131
- * @returns {Promise<InventoryPlatformModel.ResponseEnvelopeKafkaResponse>}
132
- * - Success response
133
- *
134
- * @name suppressStores
135
- * @summary: Get Slingshot Configuration Of A Company
136
- * @description: REST Endpoint that returns all configuration detail of a company - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/suppressStores/).
137
- */
138
- suppressStores({ body, requestHeaders }?: InventoryPlatformValidator.SuppressStoresParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeKafkaResponse>;
139
- /**
140
- * @param {InventoryPlatformValidator.UpdateJobParam} arg - Arg object
141
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
142
- * @param {import("../PlatformAPIClient").Options} - Options
143
- * @returns {Promise<InventoryPlatformModel.ResponseEnvelopeString>} -
144
- * Success response
145
- * @name updateJob
146
- * @summary: Updates An Existing Job Config
147
- * @description: REST Endpoint that updates a job config - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/updateJob/).
148
- */
149
- updateJob({ body, requestHeaders }?: InventoryPlatformValidator.UpdateJobParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeString>;
150
- }
151
- import InventoryPlatformValidator = require("./InventoryPlatformValidator");
152
- import InventoryPlatformModel = require("./InventoryPlatformModel");