@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.
- 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 +16 -18
- package/sdk/application/ApplicationClient.js +0 -2
- 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 +8 -8
- package/sdk/application/Catalog/CatalogApplicationClient.js +5 -5
- 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/LogisticApplicationModel.js +2 -2
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +1 -1
- package/sdk/application/Order/OrderApplicationValidator.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationValidator.js +1 -1
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -2
- package/sdk/application/Payment/PaymentApplicationModel.js +23 -17
- package/sdk/application/Payment/PaymentApplicationValidator.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 +17 -18
- package/sdk/application/index.js +0 -2
- 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/Webhook/WebhookPartnerModel.js +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 +28 -5
- package/sdk/platform/Catalog/CatalogPlatformClient.js +69 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +2 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.js +16 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +60 -1
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +25 -0
- 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/OrderPlatformModel.js +65 -41
- 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/PaymentPlatformModel.js +22 -16
- 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/WebhookPlatformModel.js +1 -1
- 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/WebhookPublicModel.js +1 -1
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -1
- package/sdk/public/index.d.ts +8 -8
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +0 -323
- package/sdk/application/PosCart/PosCartApplicationClient.js +0 -2364
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +0 -1857
- package/sdk/application/PosCart/PosCartApplicationModel.js +0 -1906
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +0 -483
- 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?: "
|
|
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: "
|
|
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: "
|
|
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("
|
|
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("
|
|
136
|
-
import RewardsPlatformModel = require("
|
|
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("
|
|
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("
|
|
277
|
-
import ServiceabilityPlatformModel = require("
|
|
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("
|
|
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("
|
|
325
|
-
import ServiceabilityPlatformModel = require("
|
|
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("
|
|
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("
|
|
62
|
-
import SharePlatformModel = require("
|
|
61
|
+
import SharePlatformApplicationValidator = require("./SharePlatformApplicationValidator");
|
|
62
|
+
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("
|
|
228
|
-
import ThemePlatformModel = require("
|
|
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("
|
|
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("
|
|
47
|
-
import ThemePlatformModel = require("
|
|
46
|
+
import ThemePlatformValidator = require("./ThemePlatformValidator");
|
|
47
|
+
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("
|
|
313
|
-
import UserPlatformModel = require("
|
|
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("
|
|
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("
|
|
170
|
-
import WebhookPlatformModel = require("
|
|
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("
|
|
165
|
+
import WebhookPlatformModel = require("./WebhookPlatformModel");
|
package/sdk/platform/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export const PlatformConfig: typeof import("
|
|
2
|
-
export const PlatformClient: typeof import("
|
|
1
|
+
export const PlatformConfig: typeof import("./PlatformConfig");
|
|
2
|
+
export const PlatformClient: typeof import("./PlatformClient");
|
|
3
3
|
export namespace PlatformModel {
|
|
4
|
-
const AuditTrailPlatformModel: typeof import("
|
|
5
|
-
const BillingPlatformModel: typeof import("
|
|
6
|
-
const CartPlatformModel: typeof import("
|
|
7
|
-
const CatalogPlatformModel: typeof import("
|
|
8
|
-
const CommonPlatformModel: typeof import("
|
|
9
|
-
const CommunicationPlatformModel: typeof import("
|
|
10
|
-
const CompanyProfilePlatformModel: typeof import("
|
|
11
|
-
const ConfigurationPlatformModel: typeof import("
|
|
12
|
-
const ContentPlatformModel: typeof import("
|
|
13
|
-
const DiscountPlatformModel: typeof import("
|
|
14
|
-
const FileStoragePlatformModel: typeof import("
|
|
15
|
-
const FinancePlatformModel: typeof import("
|
|
16
|
-
const LeadPlatformModel: typeof import("
|
|
17
|
-
const ServiceabilityPlatformModel: typeof import("
|
|
18
|
-
const OrderPlatformModel: typeof import("
|
|
19
|
-
const PartnerPlatformModel: typeof import("
|
|
20
|
-
const PaymentPlatformModel: typeof import("
|
|
21
|
-
const RewardsPlatformModel: typeof import("
|
|
22
|
-
const SharePlatformModel: typeof import("
|
|
23
|
-
const ThemePlatformModel: typeof import("
|
|
24
|
-
const UserPlatformModel: typeof import("
|
|
25
|
-
const WebhookPlatformModel: typeof import("
|
|
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("
|
|
23
|
-
import BillingPublicModel = require("
|
|
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("
|
|
33
|
-
import ConfigurationPublicModel = require("
|
|
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("
|
|
22
|
-
import ContentPublicModel = require("
|
|
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("
|
|
87
|
-
import InventoryPublicModel = require("
|
|
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("
|
|
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("
|
|
22
|
-
import PartnerPublicModel = require("
|
|
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("
|
|
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("
|
|
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("
|
|
30
|
-
import Configuration = require("
|
|
31
|
-
import Content = require("
|
|
32
|
-
import Inventory = require("
|
|
33
|
-
import Partner = require("
|
|
34
|
-
import Webhook = require("
|
|
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("
|
|
66
|
-
import WebhookPublicValidator = require("
|
|
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("
|
|
42
|
+
import WebhookPublicModel = require("./WebhookPublicModel");
|
package/sdk/public/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export const PublicConfig: typeof import("
|
|
2
|
-
export const PublicClient: typeof import("
|
|
1
|
+
export const PublicConfig: typeof import("./PublicConfig");
|
|
2
|
+
export const PublicClient: typeof import("./PublicClient");
|
|
3
3
|
export namespace PublicModel {
|
|
4
|
-
const BillingPublicModel: typeof import("
|
|
5
|
-
const ConfigurationPublicModel: typeof import("
|
|
6
|
-
const ContentPublicModel: typeof import("
|
|
7
|
-
const InventoryPublicModel: typeof import("
|
|
8
|
-
const PartnerPublicModel: typeof import("
|
|
9
|
-
const WebhookPublicModel: typeof import("
|
|
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
|
}
|