@gofynd/fdk-client-javascript 1.4.4 → 1.4.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 (133) 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 +17 -17
  11. package/sdk/application/ApplicationConfig.d.ts +3 -3
  12. package/sdk/application/Cart/CartApplicationClient.d.ts +2 -2
  13. package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -1
  14. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -3
  15. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  16. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
  17. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
  18. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +2 -2
  19. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +1 -1
  20. package/sdk/application/Content/ContentApplicationClient.d.ts +3 -3
  21. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
  22. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
  23. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
  24. package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -1
  25. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +2 -2
  26. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
  27. package/sdk/application/Order/OrderApplicationClient.d.ts +2 -2
  28. package/sdk/application/Order/OrderApplicationValidator.d.ts +1 -1
  29. package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -2
  30. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +1 -1
  31. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +2 -2
  32. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +1 -1
  33. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +2 -2
  34. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +1 -1
  35. package/sdk/application/Share/ShareApplicationClient.d.ts +2 -2
  36. package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
  37. package/sdk/application/Share/ShareApplicationModel.js +2 -0
  38. package/sdk/application/Share/ShareApplicationValidator.d.ts +1 -1
  39. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  40. package/sdk/application/User/UserApplicationClient.d.ts +2 -2
  41. package/sdk/application/User/UserApplicationValidator.d.ts +1 -1
  42. package/sdk/application/index.d.ts +18 -18
  43. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +1 -1
  44. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  45. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +1 -1
  46. package/sdk/partner/OAuthClient.d.ts +4 -4
  47. package/sdk/partner/PartnerAPIClient.d.ts +1 -1
  48. package/sdk/partner/PartnerClient.d.ts +6 -6
  49. package/sdk/partner/PartnerConfig.d.ts +4 -4
  50. package/sdk/partner/Theme/ThemePartnerClient.d.ts +1 -1
  51. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +1 -1
  52. package/sdk/partner/index.d.ts +7 -7
  53. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -2
  54. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
  55. package/sdk/platform/Billing/BillingPlatformClient.d.ts +2 -2
  56. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +1 -1
  57. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +2 -2
  58. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -1
  59. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +3 -3
  60. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1 -1
  61. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +3 -3
  62. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -1
  63. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
  64. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +2 -2
  65. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +1 -1
  66. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -2
  67. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +3 -3
  68. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +34 -7
  69. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +35 -5
  70. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -5
  71. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +4 -4
  72. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +2 -2
  73. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +1 -1
  74. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +2 -2
  75. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -1
  76. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +3 -3
  77. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -1
  78. package/sdk/platform/Content/ContentPlatformClient.d.ts +2 -2
  79. package/sdk/platform/Content/ContentPlatformValidator.d.ts +1 -1
  80. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  81. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +1 -1
  82. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +2 -2
  83. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
  84. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +2 -2
  85. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +1 -1
  86. package/sdk/platform/Finance/FinancePlatformClient.d.ts +2 -2
  87. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -1
  88. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +2 -2
  89. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -1
  90. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  91. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -1
  92. package/sdk/platform/OAuthClient.d.ts +3 -3
  93. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +2 -2
  94. package/sdk/platform/Order/OrderPlatformClient.d.ts +2 -2
  95. package/sdk/platform/Order/OrderPlatformValidator.d.ts +1 -1
  96. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
  97. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -1
  98. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +2 -2
  99. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -1
  100. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +2 -2
  101. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +1 -1
  102. package/sdk/platform/PlatformAPIClient.d.ts +1 -1
  103. package/sdk/platform/PlatformApplicationClient.d.ts +16 -16
  104. package/sdk/platform/PlatformClient.d.ts +19 -19
  105. package/sdk/platform/PlatformConfig.d.ts +4 -4
  106. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  107. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
  108. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +2 -2
  109. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -1
  110. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +2 -2
  111. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -1
  112. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  113. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
  114. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +2 -2
  115. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +1 -1
  116. package/sdk/platform/Theme/ThemePlatformClient.d.ts +2 -2
  117. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +1 -1
  118. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +2 -2
  119. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +1 -1
  120. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +2 -2
  121. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +1 -1
  122. package/sdk/platform/index.d.ts +24 -24
  123. package/sdk/public/Billing/BillingPublicClient.d.ts +2 -2
  124. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
  125. package/sdk/public/Content/ContentPublicClient.d.ts +2 -2
  126. package/sdk/public/Inventory/InventoryPublicClient.d.ts +2 -2
  127. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +1 -1
  128. package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
  129. package/sdk/public/PublicAPIClient.d.ts +1 -1
  130. package/sdk/public/PublicClient.d.ts +7 -7
  131. package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
  132. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -1
  133. package/sdk/public/index.d.ts +8 -8
@@ -33,7 +33,7 @@ declare class PartnerConfig {
33
33
  apiSecret: string;
34
34
  scope?: 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
  });
@@ -44,7 +44,7 @@ declare class PartnerConfig {
44
44
  scope: string;
45
45
  useAutoRenewTimer: boolean;
46
46
  oauthClient: OauthClient;
47
- logLevel: "DEBUG" | "TRACE" | "INFO" | "WARN" | "ERROR";
47
+ logLevel: "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR";
48
48
  extraHeaders: any[];
49
49
  options: {
50
50
  strictResponseCheck: boolean;
@@ -54,7 +54,7 @@ declare class PartnerConfig {
54
54
  *
55
55
  * @param {logLevelEnum} level - The log level to set.
56
56
  */
57
- setLogLevel(level: "DEBUG" | "TRACE" | "INFO" | "WARN" | "ERROR"): void;
57
+ setLogLevel(level: "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR"): void;
58
58
  /**
59
59
  * Retrieves the access token from the OAuth client.
60
60
  *
@@ -63,4 +63,4 @@ declare class PartnerConfig {
63
63
  */
64
64
  getAccessToken(): Promise<string>;
65
65
  }
66
- import OauthClient = require("sdk/output/javascript/code/sdk/partner/OAuthClient");
66
+ import OauthClient = require("./OAuthClient");
@@ -203,4 +203,4 @@ declare class Theme {
203
203
  */
204
204
  createTheme({ companyId, applicationId, body, requestHeaders }?: ThemePartnerValidator.CreateThemeParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ThemesSchema>;
205
205
  }
206
- import ThemePartnerModel = require("sdk/output/javascript/code/sdk/partner/Theme/ThemePartnerModel");
206
+ import ThemePartnerModel = require("./ThemePartnerModel");
@@ -96,4 +96,4 @@ declare class Webhook {
96
96
  */
97
97
  updateSubscriber({ extensionId, subscriberId, body, requestHeaders }?: WebhookPartnerValidator.UpdateSubscriberParam, { responseHeaders }?: object): Promise<WebhookPartnerModel.UpdateSubscriberResponse>;
98
98
  }
99
- import WebhookPartnerModel = require("sdk/output/javascript/code/sdk/partner/Webhook/WebhookPartnerModel");
99
+ import WebhookPartnerModel = require("./WebhookPartnerModel");
@@ -1,9 +1,9 @@
1
- export const PartnerConfig: typeof import("sdk/output/javascript/code/sdk/partner/PartnerConfig");
2
- export const PartnerClient: typeof import("sdk/output/javascript/code/sdk/partner/PartnerClient");
1
+ export const PartnerConfig: typeof import("./PartnerConfig");
2
+ export const PartnerClient: typeof import("./PartnerClient");
3
3
  export namespace PartnerModel {
4
- const FileStoragePartnerModel: typeof import("sdk/output/javascript/code/sdk/partner/FileStorage/FileStoragePartnerModel");
5
- const LeadPartnerModel: typeof import("sdk/output/javascript/code/sdk/partner/Lead/LeadPartnerModel");
6
- const LogisticsPartnerModel: typeof import("sdk/output/javascript/code/sdk/partner/Logistics/LogisticsPartnerModel");
7
- const ThemePartnerModel: typeof import("sdk/output/javascript/code/sdk/partner/Theme/ThemePartnerModel");
8
- const WebhookPartnerModel: typeof import("sdk/output/javascript/code/sdk/partner/Webhook/WebhookPartnerModel");
4
+ const FileStoragePartnerModel: typeof import("./FileStorage/FileStoragePartnerModel");
5
+ const LeadPartnerModel: typeof import("./Lead/LeadPartnerModel");
6
+ const LogisticsPartnerModel: typeof import("./Logistics/LogisticsPartnerModel");
7
+ const ThemePartnerModel: typeof import("./Theme/ThemePartnerModel");
8
+ const WebhookPartnerModel: typeof import("./Webhook/WebhookPartnerModel");
9
9
  }
@@ -43,5 +43,5 @@ declare class AuditTrail {
43
43
  */
44
44
  getEntityTypes({ requestHeaders }?: any, { responseHeaders }?: object): Promise<AuditTrailPlatformModel.EntityTypesResponse>;
45
45
  }
46
- import AuditTrailPlatformValidator = require("sdk/output/javascript/code/sdk/platform/AuditTrail/AuditTrailPlatformValidator");
47
- import AuditTrailPlatformModel = require("sdk/output/javascript/code/sdk/platform/AuditTrail/AuditTrailPlatformModel");
46
+ import AuditTrailPlatformValidator = require("./AuditTrailPlatformValidator");
47
+ import AuditTrailPlatformModel = require("./AuditTrailPlatformModel");
@@ -51,4 +51,4 @@ type GetAuditLogsParam = {
51
51
  sort?: any;
52
52
  };
53
53
  type GetEntityTypesParam = any;
54
- import AuditTrailPlatformModel = require("sdk/output/javascript/code/sdk/platform/AuditTrail/AuditTrailPlatformModel");
54
+ import AuditTrailPlatformModel = require("./AuditTrailPlatformModel");
@@ -185,5 +185,5 @@ declare class Billing {
185
185
  */
186
186
  upsertCustomerDetail({ body, requestHeaders }?: BillingPlatformValidator.UpsertCustomerDetailParam, { responseHeaders }?: object): Promise<BillingPlatformModel.SubscriptionCustomer>;
187
187
  }
188
- import BillingPlatformValidator = require("sdk/output/javascript/code/sdk/platform/Billing/BillingPlatformValidator");
189
- import BillingPlatformModel = require("sdk/output/javascript/code/sdk/platform/Billing/BillingPlatformModel");
188
+ import BillingPlatformValidator = require("./BillingPlatformValidator");
189
+ import BillingPlatformModel = require("./BillingPlatformModel");
@@ -216,4 +216,4 @@ type GetCustomerDetailParam = any;
216
216
  type GetEnterprisePlansParam = any;
217
217
  type GetInvoicesParam = any;
218
218
  type GetSubscriptionParam = any;
219
- import BillingPlatformModel = require("sdk/output/javascript/code/sdk/platform/Billing/BillingPlatformModel");
219
+ import BillingPlatformModel = require("./BillingPlatformModel");
@@ -615,5 +615,5 @@ declare class Cart {
615
615
  */
616
616
  validateCouponForPayment({ id, buyNow, addressId, paymentMode, paymentIdentifier, aggregatorName, merchantCode, requestHeaders, }?: CartPlatformApplicationValidator.ValidateCouponForPaymentParam, { responseHeaders }?: object): Promise<CartPlatformModel.PaymentCouponValidate>;
617
617
  }
618
- import CartPlatformApplicationValidator = require("sdk/output/javascript/code/sdk/platform/Cart/CartPlatformApplicationValidator");
619
- import CartPlatformModel = require("sdk/output/javascript/code/sdk/platform/Cart/CartPlatformModel");
618
+ import CartPlatformApplicationValidator = require("./CartPlatformApplicationValidator");
619
+ import CartPlatformModel = require("./CartPlatformModel");
@@ -907,4 +907,4 @@ type ValidateCouponForPaymentParam = {
907
907
  };
908
908
  type FetchCartMetaConfigParam = any;
909
909
  type GetCouponOptionValuesParam = any;
910
- import CartPlatformModel = require("sdk/output/javascript/code/sdk/platform/Cart/CartPlatformModel");
910
+ import CartPlatformModel = require("./CartPlatformModel");
@@ -1063,6 +1063,6 @@ declare class Catalog {
1063
1063
  */
1064
1064
  updateSearchKeywords({ id, body, requestHeaders }?: CatalogPlatformApplicationValidator.UpdateSearchKeywordsParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.GetSearchWordsData>;
1065
1065
  }
1066
- import CatalogPlatformApplicationValidator = require("sdk/output/javascript/code/sdk/platform/Catalog/CatalogPlatformApplicationValidator");
1067
- import CatalogPlatformModel = require("sdk/output/javascript/code/sdk/platform/Catalog/CatalogPlatformModel");
1068
- import Paginator = require("sdk/output/javascript/code/sdk/common/Paginator");
1066
+ import CatalogPlatformApplicationValidator = require("./CatalogPlatformApplicationValidator");
1067
+ import CatalogPlatformModel = require("./CatalogPlatformModel");
1068
+ import Paginator = require("../../common/Paginator");
@@ -1260,4 +1260,4 @@ type GetConfigurationsParam = any;
1260
1260
  type GetDepartmentsParam = any;
1261
1261
  type GetQueryFiltersParam = any;
1262
1262
  type GetSearchConfigurationParam = any;
1263
- import CatalogPlatformModel = require("sdk/output/javascript/code/sdk/platform/Catalog/CatalogPlatformModel");
1263
+ import CatalogPlatformModel = require("./CatalogPlatformModel");
@@ -1024,6 +1024,6 @@ declare class Catalog {
1024
1024
  */
1025
1025
  validateProductTemplateSchema({ itemType, requestHeaders }?: CatalogPlatformValidator.ValidateProductTemplateSchemaParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.InventoryValidationResponse>;
1026
1026
  }
1027
- import CatalogPlatformValidator = require("sdk/output/javascript/code/sdk/platform/Catalog/CatalogPlatformValidator");
1028
- import CatalogPlatformModel = require("sdk/output/javascript/code/sdk/platform/Catalog/CatalogPlatformModel");
1029
- import Paginator = require("sdk/output/javascript/code/sdk/common/Paginator");
1027
+ import CatalogPlatformValidator = require("./CatalogPlatformValidator");
1028
+ import CatalogPlatformModel = require("./CatalogPlatformModel");
1029
+ import Paginator = require("../../common/Paginator");
@@ -1381,4 +1381,4 @@ type GetProductTagsParam = any;
1381
1381
  type GetProductValidationParam = any;
1382
1382
  type ListHSNCodesParam = any;
1383
1383
  type ListProductTemplateExportDetailsParam = any;
1384
- import CatalogPlatformModel = require("sdk/output/javascript/code/sdk/platform/Catalog/CatalogPlatformModel");
1384
+ import CatalogPlatformModel = require("./CatalogPlatformModel");
@@ -23,5 +23,5 @@ declare class Common {
23
23
  */
24
24
  searchApplication({ authorization, query, requestHeaders }?: CommonPlatformValidator.SearchApplicationParam, { responseHeaders }?: object): Promise<CommonPlatformModel.ApplicationResponse>;
25
25
  }
26
- import CommonPlatformValidator = require("sdk/output/javascript/code/sdk/platform/Common/CommonPlatformValidator");
27
- import CommonPlatformModel = require("sdk/output/javascript/code/sdk/platform/Common/CommonPlatformModel");
26
+ import CommonPlatformValidator = require("./CommonPlatformValidator");
27
+ import CommonPlatformModel = require("./CommonPlatformModel");
@@ -819,5 +819,5 @@ declare class Communication {
819
819
  */
820
820
  verfiyOtp({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.VerfiyOtpParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.VerifyOtpCommsSuccessRes>;
821
821
  }
822
- import CommunicationPlatformApplicationValidator = require("sdk/output/javascript/code/sdk/platform/Communication/CommunicationPlatformApplicationValidator");
823
- import CommunicationPlatformModel = require("sdk/output/javascript/code/sdk/platform/Communication/CommunicationPlatformModel");
822
+ import CommunicationPlatformApplicationValidator = require("./CommunicationPlatformApplicationValidator");
823
+ import CommunicationPlatformModel = require("./CommunicationPlatformModel");
@@ -828,4 +828,4 @@ type GetSystemAudiencesParam = any;
828
828
  type GetSystemEmailTemplatesParam = any;
829
829
  type GetSystemSmsTemplatesParam = any;
830
830
  type UpdateOtpConfigurationParam = any;
831
- import CommunicationPlatformModel = require("sdk/output/javascript/code/sdk/platform/Communication/CommunicationPlatformModel");
831
+ import CommunicationPlatformModel = require("./CommunicationPlatformModel");
@@ -16,5 +16,5 @@ declare class Communication {
16
16
  */
17
17
  getSystemNotifications({ pageNo, pageSize, requestHeaders }?: CommunicationPlatformValidator.GetSystemNotificationsParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.SystemNotifications>;
18
18
  }
19
- import CommunicationPlatformValidator = require("sdk/output/javascript/code/sdk/platform/Communication/CommunicationPlatformValidator");
20
- import CommunicationPlatformModel = require("sdk/output/javascript/code/sdk/platform/Communication/CommunicationPlatformModel");
19
+ import CommunicationPlatformValidator = require("./CommunicationPlatformValidator");
20
+ import CommunicationPlatformModel = require("./CommunicationPlatformModel");
@@ -203,6 +203,6 @@ declare class CompanyProfile {
203
203
  */
204
204
  updateLocation({ locationId, body, requestHeaders }?: CompanyProfilePlatformValidator.UpdateLocationParam, { responseHeaders }?: object): Promise<CompanyProfilePlatformModel.ProfileSuccessResponse>;
205
205
  }
206
- import CompanyProfilePlatformModel = require("sdk/output/javascript/code/sdk/platform/CompanyProfile/CompanyProfilePlatformModel");
207
- import CompanyProfilePlatformValidator = require("sdk/output/javascript/code/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator");
208
- import Paginator = require("sdk/output/javascript/code/sdk/common/Paginator");
206
+ import CompanyProfilePlatformModel = require("./CompanyProfilePlatformModel");
207
+ import CompanyProfilePlatformValidator = require("./CompanyProfilePlatformValidator");
208
+ import Paginator = require("../../common/Paginator");
@@ -185,7 +185,21 @@ export = CompanyProfilePlatformModel;
185
185
  * @property {string} [description]
186
186
  */
187
187
  /**
188
- * @typedef CreateUpdateBrandRequestSerializer
188
+ * @typedef CreateBrandRequestSerializer
189
+ * @property {Object} [_custom_json]
190
+ * @property {Object} [_locale_language]
191
+ * @property {string[]} [synonyms]
192
+ * @property {number} [company_id]
193
+ * @property {string} [description]
194
+ * @property {string} logo
195
+ * @property {string} [brand_tier]
196
+ * @property {number} [uid]
197
+ * @property {BrandBannerSerializer} banner
198
+ * @property {string} name
199
+ * @property {string} [slug_key]
200
+ */
201
+ /**
202
+ * @typedef UpdateBrandRequestSerializer
189
203
  * @property {Object} [_custom_json]
190
204
  * @property {Object} [_locale_language]
191
205
  * @property {string[]} [synonyms]
@@ -196,7 +210,6 @@ export = CompanyProfilePlatformModel;
196
210
  * @property {number} [uid]
197
211
  * @property {BrandBannerSerializer} banner
198
212
  * @property {string} name
199
- * @property {string} [slug]
200
213
  */
201
214
  /**
202
215
  * @typedef CompanySocialAccounts
@@ -431,7 +444,7 @@ export = CompanyProfilePlatformModel;
431
444
  declare class CompanyProfilePlatformModel {
432
445
  }
433
446
  declare namespace CompanyProfilePlatformModel {
434
- export { CompanyTaxesSerializer, UserSerializer, Website, BusinessDetails, SellerPhoneNumber, ContactDetails, CountryCurrencyInfo, BusinessCountryInfo, Document, GetAddressSerializer, GetCompanyProfileSerializerResponse, ErrorResponse, CompanyTaxesSerializer1, CreateUpdateAddressSerializer, UpdateCompany, ProfileSuccessResponse, DocumentsObj, MetricsSerializer, BrandBannerSerializer, GetBrandResponseSerializer, CreateUpdateBrandRequestSerializer, CompanySocialAccounts, CompanyDetails, CompanySerializer, CompanyBrandSerializer, Page, CompanyBrandListSerializer, CompanyBrandPostRequestSerializer, InvoiceCredSerializer, InvoiceDetailsSerializer, GetCompanySerializer, LocationManagerSerializer, LocationTimingSerializer, LocationDayWiseSerializer, HolidayDateSerializer, HolidaySchemaSerializer, ProductReturnConfigSerializer, GetLocationSerializer, LocationListSerializer, AddressSerializer, LocationSerializer, BulkLocationSerializer, AverageOrderProcessingTime, StoreTagsResponseSchema };
447
+ export { CompanyTaxesSerializer, UserSerializer, Website, BusinessDetails, SellerPhoneNumber, ContactDetails, CountryCurrencyInfo, BusinessCountryInfo, Document, GetAddressSerializer, GetCompanyProfileSerializerResponse, ErrorResponse, CompanyTaxesSerializer1, CreateUpdateAddressSerializer, UpdateCompany, ProfileSuccessResponse, DocumentsObj, MetricsSerializer, BrandBannerSerializer, GetBrandResponseSerializer, CreateBrandRequestSerializer, UpdateBrandRequestSerializer, CompanySocialAccounts, CompanyDetails, CompanySerializer, CompanyBrandSerializer, Page, CompanyBrandListSerializer, CompanyBrandPostRequestSerializer, InvoiceCredSerializer, InvoiceDetailsSerializer, GetCompanySerializer, LocationManagerSerializer, LocationTimingSerializer, LocationDayWiseSerializer, HolidayDateSerializer, HolidaySchemaSerializer, ProductReturnConfigSerializer, GetLocationSerializer, LocationListSerializer, AddressSerializer, LocationSerializer, BulkLocationSerializer, AverageOrderProcessingTime, StoreTagsResponseSchema };
435
448
  }
436
449
  /** @returns {CompanyTaxesSerializer} */
437
450
  declare function CompanyTaxesSerializer(): CompanyTaxesSerializer;
@@ -638,9 +651,24 @@ type GetBrandResponseSerializer = {
638
651
  logo?: string;
639
652
  description?: string;
640
653
  };
641
- /** @returns {CreateUpdateBrandRequestSerializer} */
642
- declare function CreateUpdateBrandRequestSerializer(): CreateUpdateBrandRequestSerializer;
643
- type CreateUpdateBrandRequestSerializer = {
654
+ /** @returns {CreateBrandRequestSerializer} */
655
+ declare function CreateBrandRequestSerializer(): CreateBrandRequestSerializer;
656
+ type CreateBrandRequestSerializer = {
657
+ _custom_json?: any;
658
+ _locale_language?: any;
659
+ synonyms?: string[];
660
+ company_id?: number;
661
+ description?: string;
662
+ logo: string;
663
+ brand_tier?: string;
664
+ uid?: number;
665
+ banner: BrandBannerSerializer;
666
+ name: string;
667
+ slug_key?: string;
668
+ };
669
+ /** @returns {UpdateBrandRequestSerializer} */
670
+ declare function UpdateBrandRequestSerializer(): UpdateBrandRequestSerializer;
671
+ type UpdateBrandRequestSerializer = {
644
672
  _custom_json?: any;
645
673
  _locale_language?: any;
646
674
  synonyms?: string[];
@@ -651,7 +679,6 @@ type CreateUpdateBrandRequestSerializer = {
651
679
  uid?: number;
652
680
  banner: BrandBannerSerializer;
653
681
  name: string;
654
- slug?: string;
655
682
  };
656
683
  /** @returns {CompanySocialAccounts} */
657
684
  declare function CompanySocialAccounts(): CompanySocialAccounts;
@@ -206,7 +206,22 @@ const Joi = require("joi");
206
206
  */
207
207
 
208
208
  /**
209
- * @typedef CreateUpdateBrandRequestSerializer
209
+ * @typedef CreateBrandRequestSerializer
210
+ * @property {Object} [_custom_json]
211
+ * @property {Object} [_locale_language]
212
+ * @property {string[]} [synonyms]
213
+ * @property {number} [company_id]
214
+ * @property {string} [description]
215
+ * @property {string} logo
216
+ * @property {string} [brand_tier]
217
+ * @property {number} [uid]
218
+ * @property {BrandBannerSerializer} banner
219
+ * @property {string} name
220
+ * @property {string} [slug_key]
221
+ */
222
+
223
+ /**
224
+ * @typedef UpdateBrandRequestSerializer
210
225
  * @property {Object} [_custom_json]
211
226
  * @property {Object} [_locale_language]
212
227
  * @property {string[]} [synonyms]
@@ -217,7 +232,6 @@ const Joi = require("joi");
217
232
  * @property {number} [uid]
218
233
  * @property {BrandBannerSerializer} banner
219
234
  * @property {string} name
220
- * @property {string} [slug]
221
235
  */
222
236
 
223
237
  /**
@@ -727,8 +741,25 @@ class CompanyProfilePlatformModel {
727
741
  });
728
742
  }
729
743
 
730
- /** @returns {CreateUpdateBrandRequestSerializer} */
731
- static CreateUpdateBrandRequestSerializer() {
744
+ /** @returns {CreateBrandRequestSerializer} */
745
+ static CreateBrandRequestSerializer() {
746
+ return Joi.object({
747
+ _custom_json: Joi.any(),
748
+ _locale_language: Joi.any(),
749
+ synonyms: Joi.array().items(Joi.string().allow("")),
750
+ company_id: Joi.number(),
751
+ description: Joi.string().allow(""),
752
+ logo: Joi.string().allow("").required(),
753
+ brand_tier: Joi.string().allow(""),
754
+ uid: Joi.number(),
755
+ banner: CompanyProfilePlatformModel.BrandBannerSerializer().required(),
756
+ name: Joi.string().allow("").required(),
757
+ slug_key: Joi.string().allow(""),
758
+ });
759
+ }
760
+
761
+ /** @returns {UpdateBrandRequestSerializer} */
762
+ static UpdateBrandRequestSerializer() {
732
763
  return Joi.object({
733
764
  _custom_json: Joi.any(),
734
765
  _locale_language: Joi.any(),
@@ -740,7 +771,6 @@ class CompanyProfilePlatformModel {
740
771
  uid: Joi.number(),
741
772
  banner: CompanyProfilePlatformModel.BrandBannerSerializer().required(),
742
773
  name: Joi.string().allow("").required(),
743
- slug: Joi.string().allow(""),
744
774
  });
745
775
  }
746
776
 
@@ -2,7 +2,7 @@ export = CompanyProfilePlatformValidator;
2
2
  /** @typedef CbsOnboardGetParam */
3
3
  /**
4
4
  * @typedef CreateBrandParam
5
- * @property {CompanyProfilePlatformModel.CreateUpdateBrandRequestSerializer} body
5
+ * @property {CompanyProfilePlatformModel.CreateBrandRequestSerializer} body
6
6
  */
7
7
  /**
8
8
  * @typedef CreateCompanyBrandMappingParam
@@ -19,7 +19,7 @@ export = CompanyProfilePlatformValidator;
19
19
  /**
20
20
  * @typedef EditBrandParam
21
21
  * @property {string} brandId - Id of the brand to be viewed.
22
- * @property {CompanyProfilePlatformModel.CreateUpdateBrandRequestSerializer} body
22
+ * @property {CompanyProfilePlatformModel.UpdateBrandRequestSerializer} body
23
23
  */
24
24
  /**
25
25
  * @typedef GetBrandParam
@@ -99,7 +99,7 @@ declare namespace CompanyProfilePlatformValidator {
99
99
  export { CbsOnboardGetParam, CreateBrandParam, CreateCompanyBrandMappingParam, CreateLocationParam, CreateLocationBulkParam, EditBrandParam, GetBrandParam, GetBrandsParam, GetCompanyMetricsParam, GetLocationDetailParam, GetLocationTagsParam, GetLocationsParam, UpdateCompanyParam, UpdateLocationParam };
100
100
  }
101
101
  type CreateBrandParam = {
102
- body: CompanyProfilePlatformModel.CreateUpdateBrandRequestSerializer;
102
+ body: CompanyProfilePlatformModel.CreateBrandRequestSerializer;
103
103
  };
104
104
  type CreateCompanyBrandMappingParam = {
105
105
  body: CompanyProfilePlatformModel.CompanyBrandPostRequestSerializer;
@@ -115,7 +115,7 @@ type EditBrandParam = {
115
115
  * - Id of the brand to be viewed.
116
116
  */
117
117
  brandId: string;
118
- body: CompanyProfilePlatformModel.CreateUpdateBrandRequestSerializer;
118
+ body: CompanyProfilePlatformModel.UpdateBrandRequestSerializer;
119
119
  };
120
120
  type GetBrandParam = {
121
121
  /**
@@ -198,4 +198,4 @@ type UpdateLocationParam = {
198
198
  type CbsOnboardGetParam = any;
199
199
  type GetCompanyMetricsParam = any;
200
200
  type GetLocationTagsParam = any;
201
- import CompanyProfilePlatformModel = require("sdk/output/javascript/code/sdk/platform/CompanyProfile/CompanyProfilePlatformModel");
201
+ import CompanyProfilePlatformModel = require("./CompanyProfilePlatformModel");
@@ -6,7 +6,7 @@ const CompanyProfilePlatformModel = require("./CompanyProfilePlatformModel");
6
6
 
7
7
  /**
8
8
  * @typedef CreateBrandParam
9
- * @property {CompanyProfilePlatformModel.CreateUpdateBrandRequestSerializer} body
9
+ * @property {CompanyProfilePlatformModel.CreateBrandRequestSerializer} body
10
10
  */
11
11
 
12
12
  /**
@@ -27,7 +27,7 @@ const CompanyProfilePlatformModel = require("./CompanyProfilePlatformModel");
27
27
  /**
28
28
  * @typedef EditBrandParam
29
29
  * @property {string} brandId - Id of the brand to be viewed.
30
- * @property {CompanyProfilePlatformModel.CreateUpdateBrandRequestSerializer} body
30
+ * @property {CompanyProfilePlatformModel.UpdateBrandRequestSerializer} body
31
31
  */
32
32
 
33
33
  /**
@@ -91,7 +91,7 @@ class CompanyProfilePlatformValidator {
91
91
  /** @returns {CreateBrandParam} */
92
92
  static createBrand() {
93
93
  return Joi.object({
94
- body: CompanyProfilePlatformModel.CreateUpdateBrandRequestSerializer().required(),
94
+ body: CompanyProfilePlatformModel.CreateBrandRequestSerializer().required(),
95
95
  }).required();
96
96
  }
97
97
 
@@ -120,7 +120,7 @@ class CompanyProfilePlatformValidator {
120
120
  static editBrand() {
121
121
  return Joi.object({
122
122
  brandId: Joi.string().allow("").required(),
123
- body: CompanyProfilePlatformModel.CreateUpdateBrandRequestSerializer().required(),
123
+ body: CompanyProfilePlatformModel.UpdateBrandRequestSerializer().required(),
124
124
  }).required();
125
125
  }
126
126
 
@@ -402,5 +402,5 @@ declare class Configuration {
402
402
  */
403
403
  updateOrderingStoreConfig({ body, requestHeaders }?: ConfigurationPlatformApplicationValidator.UpdateOrderingStoreConfigParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.DeploymentMeta>;
404
404
  }
405
- import ConfigurationPlatformApplicationValidator = require("sdk/output/javascript/code/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator");
406
- import ConfigurationPlatformModel = require("sdk/output/javascript/code/sdk/platform/Configuration/ConfigurationPlatformModel");
405
+ import ConfigurationPlatformApplicationValidator = require("./ConfigurationPlatformApplicationValidator");
406
+ import ConfigurationPlatformModel = require("./ConfigurationPlatformModel");
@@ -317,4 +317,4 @@ type GetDomainsParam = any;
317
317
  type GetInventoryConfigParam = any;
318
318
  type GetOrderingStoreConfigParam = any;
319
319
  type RemoveOrderingStoreCookieParam = any;
320
- import ConfigurationPlatformModel = require("sdk/output/javascript/code/sdk/platform/Configuration/ConfigurationPlatformModel");
320
+ import ConfigurationPlatformModel = require("./ConfigurationPlatformModel");
@@ -215,5 +215,5 @@ declare class Configuration {
215
215
  */
216
216
  updateLevelUidIntegration({ id, level, uid, body, requestHeaders }?: ConfigurationPlatformValidator.UpdateLevelUidIntegrationParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.IntegrationLevel>;
217
217
  }
218
- import ConfigurationPlatformValidator = require("sdk/output/javascript/code/sdk/platform/Configuration/ConfigurationPlatformValidator");
219
- import ConfigurationPlatformModel = require("sdk/output/javascript/code/sdk/platform/Configuration/ConfigurationPlatformModel");
218
+ import ConfigurationPlatformValidator = require("./ConfigurationPlatformValidator");
219
+ import ConfigurationPlatformModel = require("./ConfigurationPlatformModel");
@@ -331,4 +331,4 @@ type UpdateLevelUidIntegrationParam = {
331
331
  body: ConfigurationPlatformModel.IntegrationLevel;
332
332
  };
333
333
  type GetCurrenciesParam = any;
334
- import ConfigurationPlatformModel = require("sdk/output/javascript/code/sdk/platform/Configuration/ConfigurationPlatformModel");
334
+ import ConfigurationPlatformModel = require("./ConfigurationPlatformModel");
@@ -1186,6 +1186,6 @@ declare class Content {
1186
1186
  */
1187
1187
  updateSupportInformation({ body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateSupportInformationParam, { responseHeaders }?: object): Promise<ContentPlatformModel.Support>;
1188
1188
  }
1189
- import ContentPlatformApplicationValidator = require("sdk/output/javascript/code/sdk/platform/Content/ContentPlatformApplicationValidator");
1190
- import ContentPlatformModel = require("sdk/output/javascript/code/sdk/platform/Content/ContentPlatformModel");
1191
- import Paginator = require("sdk/output/javascript/code/sdk/common/Paginator");
1189
+ import ContentPlatformApplicationValidator = require("./ContentPlatformApplicationValidator");
1190
+ import ContentPlatformModel = require("./ContentPlatformModel");
1191
+ import Paginator = require("../../common/Paginator");
@@ -1234,4 +1234,4 @@ type GetPageMetaParam = any;
1234
1234
  type GetPageSpecParam = any;
1235
1235
  type GetSEOConfigurationParam = any;
1236
1236
  type GetSupportInformationParam = any;
1237
- import ContentPlatformModel = require("sdk/output/javascript/code/sdk/platform/Content/ContentPlatformModel");
1237
+ import ContentPlatformModel = require("./ContentPlatformModel");
@@ -273,5 +273,5 @@ declare class Content {
273
273
  */
274
274
  updateCustomObjectDefinition({ definitionId, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSchema>;
275
275
  }
276
- import ContentPlatformValidator = require("sdk/output/javascript/code/sdk/platform/Content/ContentPlatformValidator");
277
- import ContentPlatformModel = require("sdk/output/javascript/code/sdk/platform/Content/ContentPlatformModel");
276
+ import ContentPlatformValidator = require("./ContentPlatformValidator");
277
+ import ContentPlatformModel = require("./ContentPlatformModel");
@@ -244,4 +244,4 @@ type UpdateCustomObjectDefinitionParam = {
244
244
  };
245
245
  type GetCustomFieldTypesParam = any;
246
246
  type GetResourcesParam = any;
247
- import ContentPlatformModel = require("sdk/output/javascript/code/sdk/platform/Content/ContentPlatformModel");
247
+ import ContentPlatformModel = require("./ContentPlatformModel");
@@ -113,5 +113,5 @@ declare class Discount {
113
113
  */
114
114
  validateDiscountFile({ body, discount, requestHeaders }?: DiscountPlatformValidator.ValidateDiscountFileParam, { responseHeaders }?: object): Promise<DiscountPlatformModel.FileJobResponse>;
115
115
  }
116
- import DiscountPlatformValidator = require("sdk/output/javascript/code/sdk/platform/Discount/DiscountPlatformValidator");
117
- import DiscountPlatformModel = require("sdk/output/javascript/code/sdk/platform/Discount/DiscountPlatformModel");
116
+ import DiscountPlatformValidator = require("./DiscountPlatformValidator");
117
+ import DiscountPlatformModel = require("./DiscountPlatformModel");
@@ -183,4 +183,4 @@ type ValidateDiscountFileParam = {
183
183
  discount?: string;
184
184
  body: DiscountPlatformModel.FileJobRequest;
185
185
  };
186
- import DiscountPlatformModel = require("sdk/output/javascript/code/sdk/platform/Discount/DiscountPlatformModel");
186
+ import DiscountPlatformModel = require("./DiscountPlatformModel");
@@ -162,5 +162,5 @@ declare class FileStorage {
162
162
  tags: any;
163
163
  }): Promise<any>;
164
164
  }
165
- import FileStoragePlatformApplicationValidator = require("sdk/output/javascript/code/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator");
166
- import FileStoragePlatformModel = require("sdk/output/javascript/code/sdk/platform/FileStorage/FileStoragePlatformModel");
165
+ import FileStoragePlatformApplicationValidator = require("./FileStoragePlatformApplicationValidator");
166
+ import FileStoragePlatformModel = require("./FileStoragePlatformModel");
@@ -201,4 +201,4 @@ type UpdateHtmlTemplateParam = {
201
201
  id: string;
202
202
  body: FileStoragePlatformModel.PdfConfig;
203
203
  };
204
- import FileStoragePlatformModel = require("sdk/output/javascript/code/sdk/platform/FileStorage/FileStoragePlatformModel");
204
+ import FileStoragePlatformModel = require("./FileStoragePlatformModel");
@@ -79,5 +79,5 @@ declare class FileStorage {
79
79
  tags: any;
80
80
  }): Promise<any>;
81
81
  }
82
- import FileStoragePlatformValidator = require("sdk/output/javascript/code/sdk/platform/FileStorage/FileStoragePlatformValidator");
83
- import FileStoragePlatformModel = require("sdk/output/javascript/code/sdk/platform/FileStorage/FileStoragePlatformModel");
82
+ import FileStoragePlatformValidator = require("./FileStoragePlatformValidator");
83
+ import FileStoragePlatformModel = require("./FileStoragePlatformModel");
@@ -104,4 +104,4 @@ type StartUploadParam = {
104
104
  namespace: string;
105
105
  body: FileStoragePlatformModel.StartRequest;
106
106
  };
107
- import FileStoragePlatformModel = require("sdk/output/javascript/code/sdk/platform/FileStorage/FileStoragePlatformModel");
107
+ import FileStoragePlatformModel = require("./FileStoragePlatformModel");
@@ -295,5 +295,5 @@ declare class Finance {
295
295
  */
296
296
  unlockCreditNote({ body, requestHeaders }?: FinancePlatformValidator.UnlockCreditNoteParam, { responseHeaders }?: object): Promise<FinancePlatformModel.UnlockCreditNoteResponse>;
297
297
  }
298
- import FinancePlatformValidator = require("sdk/output/javascript/code/sdk/platform/Finance/FinancePlatformValidator");
299
- import FinancePlatformModel = require("sdk/output/javascript/code/sdk/platform/Finance/FinancePlatformModel");
298
+ import FinancePlatformValidator = require("./FinancePlatformValidator");
299
+ import FinancePlatformModel = require("./FinancePlatformModel");
@@ -268,4 +268,4 @@ type PaymentProcessParam = {
268
268
  type UnlockCreditNoteParam = {
269
269
  body: FinancePlatformModel.UnlockCreditNoteRequest;
270
270
  };
271
- import FinancePlatformModel = require("sdk/output/javascript/code/sdk/platform/Finance/FinancePlatformModel");
271
+ import FinancePlatformModel = require("./FinancePlatformModel");
@@ -151,5 +151,5 @@ declare class Lead {
151
151
  */
152
152
  openVideoRoom({ body, requestHeaders }?: LeadPlatformApplicationValidator.OpenVideoRoomParam, { responseHeaders }?: object): Promise<LeadPlatformModel.CreateVideoRoomResponse>;
153
153
  }
154
- import LeadPlatformApplicationValidator = require("sdk/output/javascript/code/sdk/platform/Lead/LeadPlatformApplicationValidator");
155
- import LeadPlatformModel = require("sdk/output/javascript/code/sdk/platform/Lead/LeadPlatformModel");
154
+ import LeadPlatformApplicationValidator = require("./LeadPlatformApplicationValidator");
155
+ import LeadPlatformModel = require("./LeadPlatformModel");
@@ -191,4 +191,4 @@ type OpenVideoRoomParam = {
191
191
  body: LeadPlatformModel.CreateVideoRoomPayload;
192
192
  };
193
193
  type GetCustomFormsParam = any;
194
- import LeadPlatformModel = require("sdk/output/javascript/code/sdk/platform/Lead/LeadPlatformModel");
194
+ import LeadPlatformModel = require("./LeadPlatformModel");
@@ -116,5 +116,5 @@ declare class Lead {
116
116
  */
117
117
  submitFeedback({ id, body, requestHeaders }?: LeadPlatformValidator.SubmitFeedbackParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketFeedback>;
118
118
  }
119
- import LeadPlatformValidator = require("sdk/output/javascript/code/sdk/platform/Lead/LeadPlatformValidator");
120
- import LeadPlatformModel = require("sdk/output/javascript/code/sdk/platform/Lead/LeadPlatformModel");
119
+ import LeadPlatformValidator = require("./LeadPlatformValidator");
120
+ import LeadPlatformModel = require("./LeadPlatformModel");
@@ -172,4 +172,4 @@ type SubmitFeedbackParam = {
172
172
  body: LeadPlatformModel.TicketFeedbackPayload;
173
173
  };
174
174
  type GetGeneralConfigParam = any;
175
- import LeadPlatformModel = require("sdk/output/javascript/code/sdk/platform/Lead/LeadPlatformModel");
175
+ import LeadPlatformModel = require("./LeadPlatformModel");
@@ -20,7 +20,7 @@ declare class OAuthClient {
20
20
  grant_type: any;
21
21
  refresh_token: any;
22
22
  code: any;
23
- }): Promise<import("sdk/node_modules/axios").AxiosResponse<any, any>>;
24
- getOfflineAccessToken(scopes: any, code: any): Promise<import("sdk/node_modules/axios").AxiosResponse<any, any>>;
25
- getOfflineAccessTokenObj(scopes: any, code: any): Promise<import("sdk/node_modules/axios").AxiosResponse<any, any>>;
23
+ }): Promise<import("axios").AxiosResponse<any, any>>;
24
+ getOfflineAccessToken(scopes: any, code: any): Promise<import("axios").AxiosResponse<any, any>>;
25
+ getOfflineAccessTokenObj(scopes: any, code: any): Promise<import("axios").AxiosResponse<any, any>>;
26
26
  }