@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.
- package/README.md +1 -1
- package/application.d.ts +3 -3
- package/common.d.ts +3 -3
- package/index.d.ts +15 -15
- package/package.json +1 -1
- package/partner.d.ts +3 -3
- package/platform.d.ts +3 -3
- package/public.d.ts +2 -2
- package/sdk/application/ApplicationAPIClient.d.ts +1 -1
- package/sdk/application/ApplicationClient.d.ts +17 -17
- package/sdk/application/ApplicationConfig.d.ts +3 -3
- package/sdk/application/Cart/CartApplicationClient.d.ts +2 -2
- package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -3
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +1 -1
- package/sdk/application/Content/ContentApplicationClient.d.ts +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +2 -2
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
- package/sdk/application/Order/OrderApplicationClient.d.ts +2 -2
- package/sdk/application/Order/OrderApplicationValidator.d.ts +1 -1
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -2
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +1 -1
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +1 -1
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +2 -2
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +1 -1
- package/sdk/application/Share/ShareApplicationClient.d.ts +2 -2
- package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
- package/sdk/application/Share/ShareApplicationModel.js +2 -0
- package/sdk/application/Share/ShareApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/User/UserApplicationClient.d.ts +2 -2
- package/sdk/application/User/UserApplicationValidator.d.ts +1 -1
- package/sdk/application/index.d.ts +18 -18
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +1 -1
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +1 -1
- package/sdk/partner/OAuthClient.d.ts +4 -4
- package/sdk/partner/PartnerAPIClient.d.ts +1 -1
- package/sdk/partner/PartnerClient.d.ts +6 -6
- package/sdk/partner/PartnerConfig.d.ts +4 -4
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +1 -1
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +1 -1
- package/sdk/partner/index.d.ts +7 -7
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +2 -2
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +3 -3
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -1
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +3 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +34 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +35 -5
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -5
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformClient.d.ts +2 -2
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +1 -1
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +1 -1
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +2 -2
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -1
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -1
- package/sdk/platform/OAuthClient.d.ts +3 -3
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +1 -1
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +2 -2
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +1 -1
- package/sdk/platform/PlatformAPIClient.d.ts +1 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +16 -16
- package/sdk/platform/PlatformClient.d.ts +19 -19
- package/sdk/platform/PlatformConfig.d.ts +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +2 -2
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +1 -1
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +2 -2
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +1 -1
- package/sdk/platform/index.d.ts +24 -24
- package/sdk/public/Billing/BillingPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -2
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +2 -2
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
- package/sdk/public/PublicAPIClient.d.ts +1 -1
- package/sdk/public/PublicClient.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -1
- 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?: "
|
|
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: "
|
|
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: "
|
|
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("
|
|
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("
|
|
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("
|
|
99
|
+
import WebhookPartnerModel = require("./WebhookPartnerModel");
|
package/sdk/partner/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const PartnerConfig: typeof import("
|
|
2
|
-
export const PartnerClient: typeof import("
|
|
1
|
+
export const PartnerConfig: typeof import("./PartnerConfig");
|
|
2
|
+
export const PartnerClient: typeof import("./PartnerClient");
|
|
3
3
|
export namespace PartnerModel {
|
|
4
|
-
const FileStoragePartnerModel: typeof import("
|
|
5
|
-
const LeadPartnerModel: typeof import("
|
|
6
|
-
const LogisticsPartnerModel: typeof import("
|
|
7
|
-
const ThemePartnerModel: typeof import("
|
|
8
|
-
const WebhookPartnerModel: typeof import("
|
|
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("
|
|
47
|
-
import AuditTrailPlatformModel = require("
|
|
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("
|
|
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("
|
|
189
|
-
import BillingPlatformModel = require("
|
|
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("
|
|
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("
|
|
619
|
-
import CartPlatformModel = require("
|
|
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("
|
|
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("
|
|
1067
|
-
import CatalogPlatformModel = require("
|
|
1068
|
-
import Paginator = require("
|
|
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("
|
|
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("
|
|
1028
|
-
import CatalogPlatformModel = require("
|
|
1029
|
-
import Paginator = require("
|
|
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("
|
|
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("
|
|
27
|
-
import CommonPlatformModel = require("
|
|
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("
|
|
823
|
-
import CommunicationPlatformModel = require("
|
|
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("
|
|
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("
|
|
20
|
-
import CommunicationPlatformModel = require("
|
|
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("
|
|
207
|
-
import CompanyProfilePlatformValidator = require("
|
|
208
|
-
import Paginator = require("
|
|
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
|
|
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,
|
|
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 {
|
|
642
|
-
declare function
|
|
643
|
-
type
|
|
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
|
|
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 {
|
|
731
|
-
static
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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("
|
|
201
|
+
import CompanyProfilePlatformModel = require("./CompanyProfilePlatformModel");
|
|
@@ -6,7 +6,7 @@ const CompanyProfilePlatformModel = require("./CompanyProfilePlatformModel");
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @typedef CreateBrandParam
|
|
9
|
-
* @property {CompanyProfilePlatformModel.
|
|
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.
|
|
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.
|
|
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.
|
|
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("
|
|
406
|
-
import ConfigurationPlatformModel = require("
|
|
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("
|
|
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("
|
|
219
|
-
import ConfigurationPlatformModel = require("
|
|
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("
|
|
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("
|
|
1190
|
-
import ContentPlatformModel = require("
|
|
1191
|
-
import Paginator = require("
|
|
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("
|
|
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("
|
|
277
|
-
import ContentPlatformModel = require("
|
|
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("
|
|
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("
|
|
117
|
-
import DiscountPlatformModel = require("
|
|
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("
|
|
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("
|
|
166
|
-
import FileStoragePlatformModel = require("
|
|
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("
|
|
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("
|
|
83
|
-
import FileStoragePlatformModel = require("
|
|
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("
|
|
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("
|
|
299
|
-
import FinancePlatformModel = require("
|
|
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("
|
|
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("
|
|
155
|
-
import LeadPlatformModel = require("
|
|
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("
|
|
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("
|
|
120
|
-
import LeadPlatformModel = require("
|
|
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("
|
|
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("
|
|
24
|
-
getOfflineAccessToken(scopes: any, code: any): Promise<import("
|
|
25
|
-
getOfflineAccessTokenObj(scopes: any, code: any): Promise<import("
|
|
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
|
}
|