@gofynd/fdk-client-javascript 1.4.4 → 1.4.6

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 (153) hide show
  1. package/README.md +1 -1
  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 +1 -1
  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/ApplicationClient.d.ts +16 -18
  11. package/sdk/application/ApplicationClient.js +0 -2
  12. package/sdk/application/ApplicationConfig.d.ts +3 -3
  13. package/sdk/application/Cart/CartApplicationClient.d.ts +2 -2
  14. package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -1
  15. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +8 -8
  16. package/sdk/application/Catalog/CatalogApplicationClient.js +5 -5
  17. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  18. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
  19. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
  20. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +2 -2
  21. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +1 -1
  22. package/sdk/application/Content/ContentApplicationClient.d.ts +3 -3
  23. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
  24. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
  25. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
  26. package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -1
  27. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +2 -2
  28. package/sdk/application/Logistic/LogisticApplicationModel.js +2 -2
  29. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
  30. package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
  31. package/sdk/application/Order/OrderApplicationClient.js +1 -1
  32. package/sdk/application/Order/OrderApplicationValidator.d.ts +3 -3
  33. package/sdk/application/Order/OrderApplicationValidator.js +1 -1
  34. package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -2
  35. package/sdk/application/Payment/PaymentApplicationModel.js +23 -17
  36. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +1 -1
  37. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +2 -2
  38. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +1 -1
  39. package/sdk/application/Share/ShareApplicationClient.d.ts +2 -2
  40. package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
  41. package/sdk/application/Share/ShareApplicationModel.js +2 -0
  42. package/sdk/application/Share/ShareApplicationValidator.d.ts +1 -1
  43. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  44. package/sdk/application/User/UserApplicationClient.d.ts +2 -2
  45. package/sdk/application/User/UserApplicationValidator.d.ts +1 -1
  46. package/sdk/application/index.d.ts +17 -18
  47. package/sdk/application/index.js +0 -2
  48. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +1 -1
  49. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  50. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +1 -1
  51. package/sdk/partner/OAuthClient.d.ts +4 -4
  52. package/sdk/partner/PartnerAPIClient.d.ts +1 -1
  53. package/sdk/partner/PartnerClient.d.ts +6 -6
  54. package/sdk/partner/PartnerConfig.d.ts +4 -4
  55. package/sdk/partner/Theme/ThemePartnerClient.d.ts +1 -1
  56. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +1 -1
  57. package/sdk/partner/Webhook/WebhookPartnerModel.js +1 -1
  58. package/sdk/partner/index.d.ts +7 -7
  59. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -2
  60. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
  61. package/sdk/platform/Billing/BillingPlatformClient.d.ts +2 -2
  62. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +1 -1
  63. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +2 -2
  64. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -1
  65. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +3 -3
  66. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1 -1
  67. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +28 -5
  68. package/sdk/platform/Catalog/CatalogPlatformClient.js +69 -1
  69. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +2 -0
  70. package/sdk/platform/Catalog/CatalogPlatformModel.js +16 -12
  71. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +60 -1
  72. package/sdk/platform/Catalog/CatalogPlatformValidator.js +25 -0
  73. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
  74. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +2 -2
  75. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +1 -1
  76. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -2
  77. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +3 -3
  78. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +34 -7
  79. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +35 -5
  80. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -5
  81. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +4 -4
  82. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +2 -2
  83. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +1 -1
  84. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +2 -2
  85. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -1
  86. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +3 -3
  87. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -1
  88. package/sdk/platform/Content/ContentPlatformClient.d.ts +2 -2
  89. package/sdk/platform/Content/ContentPlatformValidator.d.ts +1 -1
  90. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  91. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +1 -1
  92. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +2 -2
  93. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
  94. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +2 -2
  95. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +1 -1
  96. package/sdk/platform/Finance/FinancePlatformClient.d.ts +2 -2
  97. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -1
  98. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +2 -2
  99. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -1
  100. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  101. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -1
  102. package/sdk/platform/OAuthClient.d.ts +3 -3
  103. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +2 -2
  104. package/sdk/platform/Order/OrderPlatformClient.d.ts +2 -2
  105. package/sdk/platform/Order/OrderPlatformModel.js +65 -41
  106. package/sdk/platform/Order/OrderPlatformValidator.d.ts +1 -1
  107. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
  108. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -1
  109. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +2 -2
  110. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -1
  111. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +2 -2
  112. package/sdk/platform/Payment/PaymentPlatformModel.js +22 -16
  113. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +1 -1
  114. package/sdk/platform/PlatformAPIClient.d.ts +1 -1
  115. package/sdk/platform/PlatformApplicationClient.d.ts +16 -16
  116. package/sdk/platform/PlatformClient.d.ts +19 -19
  117. package/sdk/platform/PlatformConfig.d.ts +4 -4
  118. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  119. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
  120. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +2 -2
  121. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -1
  122. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +2 -2
  123. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -1
  124. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  125. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
  126. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +2 -2
  127. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +1 -1
  128. package/sdk/platform/Theme/ThemePlatformClient.d.ts +2 -2
  129. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +1 -1
  130. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +2 -2
  131. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +1 -1
  132. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +2 -2
  133. package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
  134. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +1 -1
  135. package/sdk/platform/index.d.ts +24 -24
  136. package/sdk/public/Billing/BillingPublicClient.d.ts +2 -2
  137. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
  138. package/sdk/public/Content/ContentPublicClient.d.ts +2 -2
  139. package/sdk/public/Inventory/InventoryPublicClient.d.ts +2 -2
  140. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +1 -1
  141. package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
  142. package/sdk/public/PublicAPIClient.d.ts +1 -1
  143. package/sdk/public/PublicClient.d.ts +7 -7
  144. package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
  145. package/sdk/public/Webhook/WebhookPublicModel.js +1 -1
  146. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -1
  147. package/sdk/public/index.d.ts +8 -8
  148. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +0 -323
  149. package/sdk/application/PosCart/PosCartApplicationClient.js +0 -2364
  150. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +0 -1857
  151. package/sdk/application/PosCart/PosCartApplicationModel.js +0 -1906
  152. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +0 -483
  153. package/sdk/application/PosCart/PosCartApplicationValidator.js +0 -492
@@ -33,7 +33,7 @@ declare class PlatformConfig {
33
33
  apiKey: string;
34
34
  apiSecret: string;
35
35
  useAutoRenewTimer?: boolean;
36
- logLevel?: "DEBUG" | "TRACE" | "INFO" | "WARN" | "ERROR";
36
+ logLevel?: "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR";
37
37
  }, options?: {
38
38
  strictResponseCheck?: boolean;
39
39
  });
@@ -43,7 +43,7 @@ declare class PlatformConfig {
43
43
  apiSecret: string;
44
44
  useAutoRenewTimer: boolean;
45
45
  oauthClient: OauthClient;
46
- logLevel: "DEBUG" | "TRACE" | "INFO" | "WARN" | "ERROR";
46
+ logLevel: "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR";
47
47
  extraHeaders: any[];
48
48
  options: {
49
49
  strictResponseCheck: boolean;
@@ -53,7 +53,7 @@ declare class PlatformConfig {
53
53
  *
54
54
  * @param {logLevelEnum} level - The log level to set.
55
55
  */
56
- setLogLevel(level: "DEBUG" | "TRACE" | "INFO" | "WARN" | "ERROR"): void;
56
+ setLogLevel(level: "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR"): void;
57
57
  /**
58
58
  * Retrieves the access token from the OAuth client.
59
59
  *
@@ -62,4 +62,4 @@ declare class PlatformConfig {
62
62
  */
63
63
  getAccessToken(): Promise<string>;
64
64
  }
65
- import OauthClient = require("sdk/output/javascript/code/sdk/platform/OAuthClient");
65
+ import OauthClient = require("./OAuthClient");
@@ -132,5 +132,5 @@ declare class Rewards {
132
132
  */
133
133
  updateUserStatus({ userId, body, requestHeaders }?: RewardsPlatformApplicationValidator.UpdateUserStatusParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.AppUser>;
134
134
  }
135
- import RewardsPlatformApplicationValidator = require("sdk/output/javascript/code/sdk/platform/Rewards/RewardsPlatformApplicationValidator");
136
- import RewardsPlatformModel = require("sdk/output/javascript/code/sdk/platform/Rewards/RewardsPlatformModel");
135
+ import RewardsPlatformApplicationValidator = require("./RewardsPlatformApplicationValidator");
136
+ import RewardsPlatformModel = require("./RewardsPlatformModel");
@@ -149,4 +149,4 @@ type UpdateUserStatusParam = {
149
149
  };
150
150
  type GetRewardsConfigurationParam = any;
151
151
  type ShowOffersParam = any;
152
- import RewardsPlatformModel = require("sdk/output/javascript/code/sdk/platform/Rewards/RewardsPlatformModel");
152
+ import RewardsPlatformModel = require("./RewardsPlatformModel");
@@ -273,5 +273,5 @@ declare class Serviceability {
273
273
  */
274
274
  updateStoreRulesConfig({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdateStoreRulesConfigParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.StoreRuleConfigData>;
275
275
  }
276
- import ServiceabilityPlatformApplicationValidator = require("sdk/output/javascript/code/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator");
277
- import ServiceabilityPlatformModel = require("sdk/output/javascript/code/sdk/platform/Serviceability/ServiceabilityPlatformModel");
276
+ import ServiceabilityPlatformApplicationValidator = require("./ServiceabilityPlatformApplicationValidator");
277
+ import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
@@ -206,4 +206,4 @@ type UpdateStoreRulesConfigParam = {
206
206
  type GetApplicationConfigParam = any;
207
207
  type GetApplicationConfigurationParam = any;
208
208
  type GetApplicationServiceabilitySelfShipmentParam = any;
209
- import ServiceabilityPlatformModel = require("sdk/output/javascript/code/sdk/platform/Serviceability/ServiceabilityPlatformModel");
209
+ import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
@@ -321,5 +321,5 @@ declare class Serviceability {
321
321
  */
322
322
  updateZoneById({ zoneId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateZoneByIdParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ZoneSuccessResponse>;
323
323
  }
324
- import ServiceabilityPlatformValidator = require("sdk/output/javascript/code/sdk/platform/Serviceability/ServiceabilityPlatformValidator");
325
- import ServiceabilityPlatformModel = require("sdk/output/javascript/code/sdk/platform/Serviceability/ServiceabilityPlatformModel");
324
+ import ServiceabilityPlatformValidator = require("./ServiceabilityPlatformValidator");
325
+ import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
@@ -529,4 +529,4 @@ type UpdateZoneByIdParam = {
529
529
  };
530
530
  type GetAllStoresParam = any;
531
531
  type GetCompanyConfigurationParam = any;
532
- import ServiceabilityPlatformModel = require("sdk/output/javascript/code/sdk/platform/Serviceability/ServiceabilityPlatformModel");
532
+ import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
@@ -58,5 +58,5 @@ declare class Share {
58
58
  */
59
59
  updateShortLinkById({ id, body, requestHeaders }?: SharePlatformApplicationValidator.UpdateShortLinkByIdParam, { responseHeaders }?: object): Promise<SharePlatformModel.ShortLinkRes>;
60
60
  }
61
- import SharePlatformApplicationValidator = require("sdk/output/javascript/code/sdk/platform/Share/SharePlatformApplicationValidator");
62
- import SharePlatformModel = require("sdk/output/javascript/code/sdk/platform/Share/SharePlatformModel");
61
+ import SharePlatformApplicationValidator = require("./SharePlatformApplicationValidator");
62
+ import SharePlatformModel = require("./SharePlatformModel");
@@ -95,4 +95,4 @@ type UpdateShortLinkByIdParam = {
95
95
  id: string;
96
96
  body: SharePlatformModel.ShortLinkReq;
97
97
  };
98
- import SharePlatformModel = require("sdk/output/javascript/code/sdk/platform/Share/SharePlatformModel");
98
+ import SharePlatformModel = require("./SharePlatformModel");
@@ -224,5 +224,5 @@ declare class Theme {
224
224
  */
225
225
  upgradeTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.UpgradeThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
226
226
  }
227
- import ThemePlatformApplicationValidator = require("sdk/output/javascript/code/sdk/platform/Theme/ThemePlatformApplicationValidator");
228
- import ThemePlatformModel = require("sdk/output/javascript/code/sdk/platform/Theme/ThemePlatformModel");
227
+ import ThemePlatformApplicationValidator = require("./ThemePlatformApplicationValidator");
228
+ import ThemePlatformModel = require("./ThemePlatformModel");
@@ -246,4 +246,4 @@ type GetApplicationThemesParam = any;
246
246
  type GetApplicationThemesCountParam = any;
247
247
  type GetAppliedThemeParam = any;
248
248
  type GetFontsParam = any;
249
- import ThemePlatformModel = require("sdk/output/javascript/code/sdk/platform/Theme/ThemePlatformModel");
249
+ import ThemePlatformModel = require("./ThemePlatformModel");
@@ -43,5 +43,5 @@ declare class Theme {
43
43
  */
44
44
  getCompanyLevelThemes({ searchText, requestHeaders }?: ThemePlatformValidator.GetCompanyLevelThemesParam, { responseHeaders }?: object): Promise<ThemePlatformModel.CompanyThemeSchema[]>;
45
45
  }
46
- import ThemePlatformValidator = require("sdk/output/javascript/code/sdk/platform/Theme/ThemePlatformValidator");
47
- import ThemePlatformModel = require("sdk/output/javascript/code/sdk/platform/Theme/ThemePlatformModel");
46
+ import ThemePlatformValidator = require("./ThemePlatformValidator");
47
+ import ThemePlatformModel = require("./ThemePlatformModel");
@@ -53,4 +53,4 @@ type GetCompanyLevelThemesParam = {
53
53
  */
54
54
  searchText?: string;
55
55
  };
56
- import ThemePlatformModel = require("sdk/output/javascript/code/sdk/platform/Theme/ThemePlatformModel");
56
+ import ThemePlatformModel = require("./ThemePlatformModel");
@@ -309,5 +309,5 @@ declare class User {
309
309
  */
310
310
  updateUserGroupPartially({ groupId, body, requestHeaders }?: UserPlatformApplicationValidator.UpdateUserGroupPartiallyParam, { responseHeaders }?: object): Promise<UserPlatformModel.UserGroupResponseSchema>;
311
311
  }
312
- import UserPlatformApplicationValidator = require("sdk/output/javascript/code/sdk/platform/User/UserPlatformApplicationValidator");
313
- import UserPlatformModel = require("sdk/output/javascript/code/sdk/platform/User/UserPlatformModel");
312
+ import UserPlatformApplicationValidator = require("./UserPlatformApplicationValidator");
313
+ import UserPlatformModel = require("./UserPlatformModel");
@@ -472,4 +472,4 @@ type UpdateUserGroupPartiallyParam = {
472
472
  body: UserPlatformModel.PartialUserGroupUpdateSchema;
473
473
  };
474
474
  type GetPlatformConfigParam = any;
475
- import UserPlatformModel = require("sdk/output/javascript/code/sdk/platform/User/UserPlatformModel");
475
+ import UserPlatformModel = require("./UserPlatformModel");
@@ -166,5 +166,5 @@ declare class Webhook {
166
166
  */
167
167
  updateSubscriberConfig({ body, requestHeaders }?: WebhookPlatformValidator.UpdateSubscriberConfigParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.SubscriberConfigResponse>;
168
168
  }
169
- import WebhookPlatformValidator = require("sdk/output/javascript/code/sdk/platform/Webhook/WebhookPlatformValidator");
170
- import WebhookPlatformModel = require("sdk/output/javascript/code/sdk/platform/Webhook/WebhookPlatformModel");
169
+ import WebhookPlatformValidator = require("./WebhookPlatformValidator");
170
+ import WebhookPlatformModel = require("./WebhookPlatformModel");
@@ -462,7 +462,7 @@ class WebhookPlatformModel {
462
462
  event_type: Joi.string().allow(""),
463
463
  event_category: Joi.string().allow(""),
464
464
  subscriber_event_mapping: WebhookPlatformModel.SubscriberEventMapping(),
465
- event_schema: Joi.object().pattern(/\S/, Joi.any()),
465
+ event_schema: Joi.object().pattern(/\S/, Joi.any()).allow(null, ""),
466
466
  version: Joi.string().allow(""),
467
467
  display_name: Joi.string().allow(""),
468
468
  description: Joi.string().allow("").allow(null),
@@ -162,4 +162,4 @@ type UpdateSubscriberConfigParam = {
162
162
  type FetchAllEventConfigurationsParam = any;
163
163
  type GetManualRetryStatusParam = any;
164
164
  type ManualRetryCancelParam = any;
165
- import WebhookPlatformModel = require("sdk/output/javascript/code/sdk/platform/Webhook/WebhookPlatformModel");
165
+ import WebhookPlatformModel = require("./WebhookPlatformModel");
@@ -1,26 +1,26 @@
1
- export const PlatformConfig: typeof import("sdk/output/javascript/code/sdk/platform/PlatformConfig");
2
- export const PlatformClient: typeof import("sdk/output/javascript/code/sdk/platform/PlatformClient");
1
+ export const PlatformConfig: typeof import("./PlatformConfig");
2
+ export const PlatformClient: typeof import("./PlatformClient");
3
3
  export namespace PlatformModel {
4
- const AuditTrailPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/AuditTrail/AuditTrailPlatformModel");
5
- const BillingPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Billing/BillingPlatformModel");
6
- const CartPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Cart/CartPlatformModel");
7
- const CatalogPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Catalog/CatalogPlatformModel");
8
- const CommonPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Common/CommonPlatformModel");
9
- const CommunicationPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Communication/CommunicationPlatformModel");
10
- const CompanyProfilePlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/CompanyProfile/CompanyProfilePlatformModel");
11
- const ConfigurationPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Configuration/ConfigurationPlatformModel");
12
- const ContentPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Content/ContentPlatformModel");
13
- const DiscountPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Discount/DiscountPlatformModel");
14
- const FileStoragePlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/FileStorage/FileStoragePlatformModel");
15
- const FinancePlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Finance/FinancePlatformModel");
16
- const LeadPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Lead/LeadPlatformModel");
17
- const ServiceabilityPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Serviceability/ServiceabilityPlatformModel");
18
- const OrderPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Order/OrderPlatformModel");
19
- const PartnerPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Partner/PartnerPlatformModel");
20
- const PaymentPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Payment/PaymentPlatformModel");
21
- const RewardsPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Rewards/RewardsPlatformModel");
22
- const SharePlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Share/SharePlatformModel");
23
- const ThemePlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Theme/ThemePlatformModel");
24
- const UserPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/User/UserPlatformModel");
25
- const WebhookPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Webhook/WebhookPlatformModel");
4
+ const AuditTrailPlatformModel: typeof import("./AuditTrail/AuditTrailPlatformModel");
5
+ const BillingPlatformModel: typeof import("./Billing/BillingPlatformModel");
6
+ const CartPlatformModel: typeof import("./Cart/CartPlatformModel");
7
+ const CatalogPlatformModel: typeof import("./Catalog/CatalogPlatformModel");
8
+ const CommonPlatformModel: typeof import("./Common/CommonPlatformModel");
9
+ const CommunicationPlatformModel: typeof import("./Communication/CommunicationPlatformModel");
10
+ const CompanyProfilePlatformModel: typeof import("./CompanyProfile/CompanyProfilePlatformModel");
11
+ const ConfigurationPlatformModel: typeof import("./Configuration/ConfigurationPlatformModel");
12
+ const ContentPlatformModel: typeof import("./Content/ContentPlatformModel");
13
+ const DiscountPlatformModel: typeof import("./Discount/DiscountPlatformModel");
14
+ const FileStoragePlatformModel: typeof import("./FileStorage/FileStoragePlatformModel");
15
+ const FinancePlatformModel: typeof import("./Finance/FinancePlatformModel");
16
+ const LeadPlatformModel: typeof import("./Lead/LeadPlatformModel");
17
+ const ServiceabilityPlatformModel: typeof import("./Serviceability/ServiceabilityPlatformModel");
18
+ const OrderPlatformModel: typeof import("./Order/OrderPlatformModel");
19
+ const PartnerPlatformModel: typeof import("./Partner/PartnerPlatformModel");
20
+ const PaymentPlatformModel: typeof import("./Payment/PaymentPlatformModel");
21
+ const RewardsPlatformModel: typeof import("./Rewards/RewardsPlatformModel");
22
+ const SharePlatformModel: typeof import("./Share/SharePlatformModel");
23
+ const ThemePlatformModel: typeof import("./Theme/ThemePlatformModel");
24
+ const UserPlatformModel: typeof import("./User/UserPlatformModel");
25
+ const WebhookPlatformModel: typeof import("./Webhook/WebhookPlatformModel");
26
26
  }
@@ -19,5 +19,5 @@ declare class Billing {
19
19
  */
20
20
  getStandardPlans({ platform, requestHeaders }?: BillingPublicValidator.GetStandardPlansParam, { responseHeaders }?: object): Promise<BillingPublicModel.DetailList>;
21
21
  }
22
- import BillingPublicValidator = require("sdk/output/javascript/code/sdk/public/Billing/BillingPublicValidator");
23
- import BillingPublicModel = require("sdk/output/javascript/code/sdk/public/Billing/BillingPublicModel");
22
+ import BillingPublicValidator = require("./BillingPublicValidator");
23
+ import BillingPublicModel = require("./BillingPublicModel");
@@ -29,5 +29,5 @@ declare class Configuration {
29
29
  */
30
30
  searchApplication({ authorization, query, requestHeaders }?: ConfigurationPublicValidator.SearchApplicationParam, { responseHeaders }?: object): Promise<ConfigurationPublicModel.ApplicationResponse>;
31
31
  }
32
- import ConfigurationPublicValidator = require("sdk/output/javascript/code/sdk/public/Configuration/ConfigurationPublicValidator");
33
- import ConfigurationPublicModel = require("sdk/output/javascript/code/sdk/public/Configuration/ConfigurationPublicModel");
32
+ import ConfigurationPublicValidator = require("./ConfigurationPublicValidator");
33
+ import ConfigurationPublicModel = require("./ConfigurationPublicModel");
@@ -18,5 +18,5 @@ declare class Content {
18
18
  */
19
19
  getCredentialsByEntity({ entity, requestHeaders }?: ContentPublicValidator.GetCredentialsByEntityParam, { responseHeaders }?: object): Promise<ContentPublicModel.CredentialsSchema>;
20
20
  }
21
- import ContentPublicValidator = require("sdk/output/javascript/code/sdk/public/Content/ContentPublicValidator");
22
- import ContentPublicModel = require("sdk/output/javascript/code/sdk/public/Content/ContentPublicModel");
21
+ import ContentPublicValidator = require("./ContentPublicValidator");
22
+ import ContentPublicModel = require("./ContentPublicModel");
@@ -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("sdk/output/javascript/code/sdk/public/Inventory/InventoryPublicValidator");
87
- import InventoryPublicModel = require("sdk/output/javascript/code/sdk/public/Inventory/InventoryPublicModel");
86
+ import InventoryPublicValidator = require("./InventoryPublicValidator");
87
+ import InventoryPublicModel = require("./InventoryPublicModel");
@@ -88,4 +88,4 @@ type GetJobConfigByIntegrationTypeParam = {
88
88
  type SaveJobCodesMetricsParam = {
89
89
  body: InventoryPublicModel.EmailJobMetrics;
90
90
  };
91
- import InventoryPublicModel = require("sdk/output/javascript/code/sdk/public/Inventory/InventoryPublicModel");
91
+ import InventoryPublicModel = require("./InventoryPublicModel");
@@ -18,5 +18,5 @@ declare class Partner {
18
18
  */
19
19
  getPanelExtensionDetails({ slug, requestHeaders }?: PartnerPublicValidator.GetPanelExtensionDetailsParam, { responseHeaders }?: object): Promise<PartnerPublicModel.ExtensionUsingSlug>;
20
20
  }
21
- import PartnerPublicValidator = require("sdk/output/javascript/code/sdk/public/Partner/PartnerPublicValidator");
22
- import PartnerPublicModel = require("sdk/output/javascript/code/sdk/public/Partner/PartnerPublicModel");
21
+ import PartnerPublicValidator = require("./PartnerPublicValidator");
22
+ import PartnerPublicModel = require("./PartnerPublicModel");
@@ -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): Promise<import("sdk/node_modules/axios").AxiosResponse<any, any>>;
14
+ static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: any, options: any): Promise<import("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("sdk/output/javascript/code/sdk/public/PublicConfig");
14
+ config: import("./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("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");
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");
@@ -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("sdk/output/javascript/code/sdk/public/Webhook/WebhookPublicModel");
66
- import WebhookPublicValidator = require("sdk/output/javascript/code/sdk/public/Webhook/WebhookPublicValidator");
65
+ import WebhookPublicModel = require("./WebhookPublicModel");
66
+ import WebhookPublicValidator = require("./WebhookPublicValidator");
@@ -111,7 +111,7 @@ class WebhookPublicModel {
111
111
  event_name: Joi.string().allow(""),
112
112
  event_type: Joi.string().allow(""),
113
113
  event_category: Joi.string().allow(""),
114
- event_schema: Joi.object().pattern(/\S/, Joi.any()),
114
+ event_schema: Joi.object().pattern(/\S/, Joi.any()).allow(null, ""),
115
115
  version: Joi.string().allow(""),
116
116
  display_name: Joi.string().allow(""),
117
117
  description: Joi.string().allow("").allow(null),
@@ -39,4 +39,4 @@ type ValidateSchemaParam = {
39
39
  };
40
40
  type FetchAllWebhookEventsParam = any;
41
41
  type NotifyDepricatedEventParam = any;
42
- import WebhookPublicModel = require("sdk/output/javascript/code/sdk/public/Webhook/WebhookPublicModel");
42
+ import WebhookPublicModel = require("./WebhookPublicModel");
@@ -1,10 +1,10 @@
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");
1
+ export const PublicConfig: typeof import("./PublicConfig");
2
+ export const PublicClient: typeof import("./PublicClient");
3
3
  export namespace PublicModel {
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");
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");
10
10
  }