@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
|
@@ -64,5 +64,5 @@ declare class Order {
|
|
|
64
64
|
*/
|
|
65
65
|
trackShipmentPlatform({ shipmentId, requestHeaders }?: OrderPlatformApplicationValidator.TrackShipmentPlatformParam, { responseHeaders }?: object): Promise<OrderPlatformModel.PlatformShipmentTrack>;
|
|
66
66
|
}
|
|
67
|
-
import OrderPlatformApplicationValidator = require("
|
|
68
|
-
import OrderPlatformModel = require("
|
|
67
|
+
import OrderPlatformApplicationValidator = require("./OrderPlatformApplicationValidator");
|
|
68
|
+
import OrderPlatformModel = require("./OrderPlatformModel");
|
|
@@ -575,5 +575,5 @@ declare class Order {
|
|
|
575
575
|
*/
|
|
576
576
|
verifyMobileOTP({ body, requestHeaders }?: OrderPlatformValidator.VerifyMobileOTPParam, { responseHeaders }?: object): Promise<OrderPlatformModel.VerifyOtpResponse>;
|
|
577
577
|
}
|
|
578
|
-
import OrderPlatformValidator = require("
|
|
579
|
-
import OrderPlatformModel = require("
|
|
578
|
+
import OrderPlatformValidator = require("./OrderPlatformValidator");
|
|
579
|
+
import OrderPlatformModel = require("./OrderPlatformModel");
|
|
@@ -1106,4 +1106,4 @@ type GetBulkActionTemplateParam = any;
|
|
|
1106
1106
|
type GetChannelConfigParam = any;
|
|
1107
1107
|
type GetRoleBasedActionsParam = any;
|
|
1108
1108
|
type GetStateTransitionMapParam = any;
|
|
1109
|
-
import OrderPlatformModel = require("
|
|
1109
|
+
import OrderPlatformModel = require("./OrderPlatformModel");
|
|
@@ -24,5 +24,5 @@ declare class Partner {
|
|
|
24
24
|
*/
|
|
25
25
|
removeProxyPath({ extensionId, attachedPath, requestHeaders }?: PartnerPlatformApplicationValidator.RemoveProxyPathParam, { responseHeaders }?: object): Promise<PartnerPlatformModel.RemoveProxyResponse>;
|
|
26
26
|
}
|
|
27
|
-
import PartnerPlatformApplicationValidator = require("
|
|
28
|
-
import PartnerPlatformModel = require("
|
|
27
|
+
import PartnerPlatformApplicationValidator = require("./PartnerPlatformApplicationValidator");
|
|
28
|
+
import PartnerPlatformModel = require("./PartnerPlatformModel");
|
|
@@ -628,5 +628,5 @@ declare class Payment {
|
|
|
628
628
|
*/
|
|
629
629
|
verifyCustomerForPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.VerifyCustomerForPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.ValidateCustomerResponse>;
|
|
630
630
|
}
|
|
631
|
-
import PaymentPlatformApplicationValidator = require("
|
|
632
|
-
import PaymentPlatformModel = require("
|
|
631
|
+
import PaymentPlatformApplicationValidator = require("./PaymentPlatformApplicationValidator");
|
|
632
|
+
import PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
@@ -626,4 +626,4 @@ type EdcDeviceStatsParam = any;
|
|
|
626
626
|
type GetMerchantPaymentOptionParam = any;
|
|
627
627
|
type GetPGConfigAggregatorsParam = any;
|
|
628
628
|
type GetPaymentCodeOptionParam = any;
|
|
629
|
-
import PaymentPlatformModel = require("
|
|
629
|
+
import PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
@@ -114,5 +114,5 @@ declare class Payment {
|
|
|
114
114
|
*/
|
|
115
115
|
verifyIfscCode({ ifscCode, requestHeaders }?: PaymentPlatformValidator.VerifyIfscCodeParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.IfscCodeResponse>;
|
|
116
116
|
}
|
|
117
|
-
import PaymentPlatformValidator = require("
|
|
118
|
-
import PaymentPlatformModel = require("
|
|
117
|
+
import PaymentPlatformValidator = require("./PaymentPlatformValidator");
|
|
118
|
+
import PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
@@ -110,4 +110,4 @@ type VerifyIfscCodeParam = {
|
|
|
110
110
|
ifscCode?: string;
|
|
111
111
|
};
|
|
112
112
|
type GetSubscriptionConfigParam = any;
|
|
113
|
-
import PaymentPlatformModel = require("
|
|
113
|
+
import PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
@@ -13,7 +13,7 @@ declare class APIClient {
|
|
|
13
13
|
* @param {object} xHeaders
|
|
14
14
|
* @param {Options} options
|
|
15
15
|
*/
|
|
16
|
-
static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: object, options: Options): Promise<import("
|
|
16
|
+
static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: object, options: Options): Promise<import("axios").AxiosResponse<any, any>>;
|
|
17
17
|
get(url: any, config: any): Promise<any>;
|
|
18
18
|
}
|
|
19
19
|
declare namespace APIClient {
|
|
@@ -12,7 +12,7 @@ declare class PlatformApplicationClient {
|
|
|
12
12
|
* @param {import("./PlatformConfig")} config - The platform configuration.
|
|
13
13
|
*/
|
|
14
14
|
constructor(applicationId: string, config: import("./PlatformConfig"));
|
|
15
|
-
config: import("
|
|
15
|
+
config: import("./PlatformConfig");
|
|
16
16
|
companyId: string;
|
|
17
17
|
applicationId: string;
|
|
18
18
|
cart: Cart;
|
|
@@ -38,18 +38,18 @@ declare class PlatformApplicationClient {
|
|
|
38
38
|
*/
|
|
39
39
|
setExtraHeaders(header: object): void;
|
|
40
40
|
}
|
|
41
|
-
import Cart = require("
|
|
42
|
-
import Catalog = require("
|
|
43
|
-
import Communication = require("
|
|
44
|
-
import Configuration = require("
|
|
45
|
-
import Content = require("
|
|
46
|
-
import FileStorage = require("
|
|
47
|
-
import Lead = require("
|
|
48
|
-
import Serviceability = require("
|
|
49
|
-
import Order = require("
|
|
50
|
-
import Partner = require("
|
|
51
|
-
import Payment = require("
|
|
52
|
-
import Rewards = require("
|
|
53
|
-
import Share = require("
|
|
54
|
-
import Theme = require("
|
|
55
|
-
import User = require("
|
|
41
|
+
import Cart = require("./Cart/CartPlatformApplicationClient");
|
|
42
|
+
import Catalog = require("./Catalog/CatalogPlatformApplicationClient");
|
|
43
|
+
import Communication = require("./Communication/CommunicationPlatformApplicationClient");
|
|
44
|
+
import Configuration = require("./Configuration/ConfigurationPlatformApplicationClient");
|
|
45
|
+
import Content = require("./Content/ContentPlatformApplicationClient");
|
|
46
|
+
import FileStorage = require("./FileStorage/FileStoragePlatformApplicationClient");
|
|
47
|
+
import Lead = require("./Lead/LeadPlatformApplicationClient");
|
|
48
|
+
import Serviceability = require("./Serviceability/ServiceabilityPlatformApplicationClient");
|
|
49
|
+
import Order = require("./Order/OrderPlatformApplicationClient");
|
|
50
|
+
import Partner = require("./Partner/PartnerPlatformApplicationClient");
|
|
51
|
+
import Payment = require("./Payment/PaymentPlatformApplicationClient");
|
|
52
|
+
import Rewards = require("./Rewards/RewardsPlatformApplicationClient");
|
|
53
|
+
import Share = require("./Share/SharePlatformApplicationClient");
|
|
54
|
+
import Theme = require("./Theme/ThemePlatformApplicationClient");
|
|
55
|
+
import User = require("./User/UserPlatformApplicationClient");
|
|
@@ -11,7 +11,7 @@ declare class PlatformClient {
|
|
|
11
11
|
* @param {import("./PlatformConfig")} config - The application configuration.
|
|
12
12
|
*/
|
|
13
13
|
constructor(config: import("./PlatformConfig"));
|
|
14
|
-
config: import("
|
|
14
|
+
config: import("./PlatformConfig");
|
|
15
15
|
auditTrail: AuditTrail;
|
|
16
16
|
billing: Billing;
|
|
17
17
|
catalog: Catalog;
|
|
@@ -47,21 +47,21 @@ declare class PlatformClient {
|
|
|
47
47
|
*/
|
|
48
48
|
setExtraHeaders(header: object): void;
|
|
49
49
|
}
|
|
50
|
-
import AuditTrail = require("
|
|
51
|
-
import Billing = require("
|
|
52
|
-
import Catalog = require("
|
|
53
|
-
import Common = require("
|
|
54
|
-
import Communication = require("
|
|
55
|
-
import CompanyProfile = require("
|
|
56
|
-
import Configuration = require("
|
|
57
|
-
import Content = require("
|
|
58
|
-
import Discount = require("
|
|
59
|
-
import FileStorage = require("
|
|
60
|
-
import Finance = require("
|
|
61
|
-
import Lead = require("
|
|
62
|
-
import Serviceability = require("
|
|
63
|
-
import Order = require("
|
|
64
|
-
import Payment = require("
|
|
65
|
-
import Theme = require("
|
|
66
|
-
import Webhook = require("
|
|
67
|
-
import PlatformApplicationClient = require("
|
|
50
|
+
import AuditTrail = require("./AuditTrail/AuditTrailPlatformClient");
|
|
51
|
+
import Billing = require("./Billing/BillingPlatformClient");
|
|
52
|
+
import Catalog = require("./Catalog/CatalogPlatformClient");
|
|
53
|
+
import Common = require("./Common/CommonPlatformClient");
|
|
54
|
+
import Communication = require("./Communication/CommunicationPlatformClient");
|
|
55
|
+
import CompanyProfile = require("./CompanyProfile/CompanyProfilePlatformClient");
|
|
56
|
+
import Configuration = require("./Configuration/ConfigurationPlatformClient");
|
|
57
|
+
import Content = require("./Content/ContentPlatformClient");
|
|
58
|
+
import Discount = require("./Discount/DiscountPlatformClient");
|
|
59
|
+
import FileStorage = require("./FileStorage/FileStoragePlatformClient");
|
|
60
|
+
import Finance = require("./Finance/FinancePlatformClient");
|
|
61
|
+
import Lead = require("./Lead/LeadPlatformClient");
|
|
62
|
+
import Serviceability = require("./Serviceability/ServiceabilityPlatformClient");
|
|
63
|
+
import Order = require("./Order/OrderPlatformClient");
|
|
64
|
+
import Payment = require("./Payment/PaymentPlatformClient");
|
|
65
|
+
import Theme = require("./Theme/ThemePlatformClient");
|
|
66
|
+
import Webhook = require("./Webhook/WebhookPlatformClient");
|
|
67
|
+
import PlatformApplicationClient = require("./PlatformApplicationClient");
|
|
@@ -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");
|
|
@@ -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");
|
|
@@ -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
|
}
|