@gofynd/fdk-client-javascript 1.4.3 → 1.4.4
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 -10
- 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 +50 -50
- package/sdk/application/Cart/CartApplicationClient.js +48 -48
- package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +72 -72
- package/sdk/application/Catalog/CatalogApplicationClient.js +69 -69
- package/sdk/application/Common/CommonApplicationClient.d.ts +6 -6
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +8 -8
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -34
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -32
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +1 -1
- package/sdk/application/Content/ContentApplicationClient.d.ts +48 -48
- package/sdk/application/Content/ContentApplicationClient.js +45 -45
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +7 -7
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +5 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/Lead/LeadApplicationClient.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationClient.js +9 -9
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +24 -24
- package/sdk/application/Logistic/LogisticApplicationClient.js +22 -22
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
- package/sdk/application/Order/OrderApplicationClient.d.ts +16 -27
- package/sdk/application/Order/OrderApplicationClient.js +14 -94
- package/sdk/application/Order/OrderApplicationValidator.d.ts +2 -16
- package/sdk/application/Order/OrderApplicationValidator.js +0 -13
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +73 -73
- package/sdk/application/Payment/PaymentApplicationClient.js +71 -71
- 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 +3 -3
- package/sdk/application/Rewards/RewardsApplicationClient.js +1 -1
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +1 -1
- package/sdk/application/Share/ShareApplicationClient.d.ts +3 -3
- package/sdk/application/Share/ShareApplicationClient.js +1 -1
- package/sdk/application/Share/ShareApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +10 -10
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
- package/sdk/application/User/UserApplicationClient.d.ts +76 -76
- package/sdk/application/User/UserApplicationClient.js +74 -74
- 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 +7 -7
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +5 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +13 -13
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +104 -104
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +102 -102
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +135 -134
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +132 -131
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +133 -133
- package/sdk/platform/Catalog/CatalogPlatformClient.js +130 -130
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -1
- package/sdk/platform/Common/CommonPlatformClient.d.ts +4 -4
- package/sdk/platform/Common/CommonPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +120 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +118 -118
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -3
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +25 -25
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +22 -22
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +43 -43
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +41 -41
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +28 -28
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +26 -26
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +96 -96
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +93 -93
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformClient.d.ts +31 -31
- package/sdk/platform/Content/ContentPlatformClient.js +29 -29
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +1 -1
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +20 -20
- package/sdk/platform/Discount/DiscountPlatformClient.js +18 -18
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +20 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +18 -17
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +1 -1
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.js +4 -4
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -1
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +14 -14
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformClient.js +15 -15
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -1
- package/sdk/platform/OAuthClient.d.ts +3 -3
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +10 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +97 -108
- package/sdk/platform/Order/OrderPlatformClient.js +95 -190
- package/sdk/platform/Order/OrderPlatformModel.d.ts +10 -0
- package/sdk/platform/Order/OrderPlatformModel.js +4 -0
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -34
- package/sdk/platform/Order/OrderPlatformValidator.js +0 -20
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +79 -79
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +77 -77
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +4 -4
- package/sdk/platform/Payment/PaymentPlatformClient.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +7 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +3 -0
- 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 -21
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/PlatformConfig.d.ts +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +7 -7
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +42 -42
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +40 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +53 -52
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +51 -50
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Share/SharePlatformApplicationClient.js +1 -1
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +36 -106
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +34 -591
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +2 -101
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -92
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -8
- package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +1 -1
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +37 -37
- package/sdk/platform/User/UserPlatformApplicationClient.js +35 -35
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +9 -8
- package/sdk/platform/Webhook/WebhookPlatformClient.js +7 -6
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +1 -1
- package/sdk/platform/index.d.ts +24 -25
- package/sdk/platform/index.js +0 -2
- 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
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +0 -152
- package/sdk/platform/Inventory/InventoryPlatformClient.js +0 -1017
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +0 -1355
- package/sdk/platform/Inventory/InventoryPlatformModel.js +0 -1544
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +0 -171
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +0 -159
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("sdk/output/javascript/code/sdk/partner/PartnerConfig");
|
|
2
|
+
export const PartnerClient: typeof import("sdk/output/javascript/code/sdk/partner/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("sdk/output/javascript/code/sdk/partner/FileStorage/FileStoragePartnerModel");
|
|
5
|
+
const LeadPartnerModel: typeof import("sdk/output/javascript/code/sdk/partner/Lead/LeadPartnerModel");
|
|
6
|
+
const LogisticsPartnerModel: typeof import("sdk/output/javascript/code/sdk/partner/Logistics/LogisticsPartnerModel");
|
|
7
|
+
const ThemePartnerModel: typeof import("sdk/output/javascript/code/sdk/partner/Theme/ThemePartnerModel");
|
|
8
|
+
const WebhookPartnerModel: typeof import("sdk/output/javascript/code/sdk/partner/Webhook/WebhookPartnerModel");
|
|
9
9
|
}
|
|
@@ -18,8 +18,8 @@ declare class AuditTrail {
|
|
|
18
18
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
19
19
|
* @returns {Promise<AuditTrailPlatformModel.LogSchemaResponse>} - Success response
|
|
20
20
|
* @name getAuditLog
|
|
21
|
-
* @summary: Get an audit log
|
|
22
|
-
* @description: Retrieve a specific audit log entry - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/audittrail/getAuditLog/).
|
|
21
|
+
* @summary: Get an audit log
|
|
22
|
+
* @description: Retrieve a specific audit log entry. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/audittrail/getAuditLog/).
|
|
23
23
|
*/
|
|
24
24
|
getAuditLog({ id, requestHeaders }?: AuditTrailPlatformValidator.GetAuditLogParam, { responseHeaders }?: object): Promise<AuditTrailPlatformModel.LogSchemaResponse>;
|
|
25
25
|
/**
|
|
@@ -28,7 +28,7 @@ declare class AuditTrail {
|
|
|
28
28
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
29
29
|
* @returns {Promise<AuditTrailPlatformModel.LogSchemaResponse>} - Success response
|
|
30
30
|
* @name getAuditLogs
|
|
31
|
-
* @summary:
|
|
31
|
+
* @summary: Get audit logs
|
|
32
32
|
* @description: Retrieve audit logs for system events and actions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/audittrail/getAuditLogs/).
|
|
33
33
|
*/
|
|
34
34
|
getAuditLogs({ qs, limit, sort, requestHeaders }?: AuditTrailPlatformValidator.GetAuditLogsParam, { responseHeaders }?: object): Promise<AuditTrailPlatformModel.LogSchemaResponse>;
|
|
@@ -38,10 +38,10 @@ declare class AuditTrail {
|
|
|
38
38
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
39
39
|
* @returns {Promise<AuditTrailPlatformModel.EntityTypesResponse>} - Success response
|
|
40
40
|
* @name getEntityTypes
|
|
41
|
-
* @summary:
|
|
42
|
-
* @description: List of entity types that can be audited within the platform
|
|
41
|
+
* @summary: List entity types
|
|
42
|
+
* @description: List of entity types that can be audited within the platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/audittrail/getEntityTypes/).
|
|
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("sdk/output/javascript/code/sdk/platform/AuditTrail/AuditTrailPlatformValidator");
|
|
47
|
+
import AuditTrailPlatformModel = require("sdk/output/javascript/code/sdk/platform/AuditTrail/AuditTrailPlatformModel");
|
|
@@ -99,8 +99,8 @@ class AuditTrail {
|
|
|
99
99
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
100
100
|
* @returns {Promise<AuditTrailPlatformModel.LogSchemaResponse>} - Success response
|
|
101
101
|
* @name getAuditLog
|
|
102
|
-
* @summary: Get an audit log
|
|
103
|
-
* @description: Retrieve a specific audit log entry - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/audittrail/getAuditLog/).
|
|
102
|
+
* @summary: Get an audit log
|
|
103
|
+
* @description: Retrieve a specific audit log entry. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/audittrail/getAuditLog/).
|
|
104
104
|
*/
|
|
105
105
|
async getAuditLog(
|
|
106
106
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -178,7 +178,7 @@ class AuditTrail {
|
|
|
178
178
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
179
179
|
* @returns {Promise<AuditTrailPlatformModel.LogSchemaResponse>} - Success response
|
|
180
180
|
* @name getAuditLogs
|
|
181
|
-
* @summary:
|
|
181
|
+
* @summary: Get audit logs
|
|
182
182
|
* @description: Retrieve audit logs for system events and actions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/audittrail/getAuditLogs/).
|
|
183
183
|
*/
|
|
184
184
|
async getAuditLogs(
|
|
@@ -264,8 +264,8 @@ class AuditTrail {
|
|
|
264
264
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
265
265
|
* @returns {Promise<AuditTrailPlatformModel.EntityTypesResponse>} - Success response
|
|
266
266
|
* @name getEntityTypes
|
|
267
|
-
* @summary:
|
|
268
|
-
* @description: List of entity types that can be audited within the platform
|
|
267
|
+
* @summary: List entity types
|
|
268
|
+
* @description: List of entity types that can be audited within the platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/audittrail/getEntityTypes/).
|
|
269
269
|
*/
|
|
270
270
|
async getEntityTypes(
|
|
271
271
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -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("sdk/output/javascript/code/sdk/platform/AuditTrail/AuditTrailPlatformModel");
|
|
@@ -19,7 +19,7 @@ declare class Billing {
|
|
|
19
19
|
* @returns {Promise<BillingPlatformModel.EntitySubscription>} - Success response
|
|
20
20
|
* @name cancelSubscriptionCharge
|
|
21
21
|
* @summary: Cancel a subscription charge
|
|
22
|
-
* @description:
|
|
22
|
+
* @description: When uninstalling, the extension statue will be marked as canceled. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/cancelSubscriptionCharge/).
|
|
23
23
|
*/
|
|
24
24
|
cancelSubscriptionCharge({ extensionId, subscriptionId, requestHeaders }?: BillingPlatformValidator.CancelSubscriptionChargeParam, { responseHeaders }?: object): Promise<BillingPlatformModel.EntitySubscription>;
|
|
25
25
|
/**
|
|
@@ -29,7 +29,7 @@ declare class Billing {
|
|
|
29
29
|
* @returns {Promise<BillingPlatformModel.CancelSubscriptionRes>} - Success response
|
|
30
30
|
* @name cancelSubscriptionPlan
|
|
31
31
|
* @summary: Cancel a subscription plan
|
|
32
|
-
* @description:
|
|
32
|
+
* @description: The seller will initiate a request to cancel their current subscription on the platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/cancelSubscriptionPlan/).
|
|
33
33
|
*/
|
|
34
34
|
cancelSubscriptionPlan({ body, requestHeaders }?: BillingPlatformValidator.CancelSubscriptionPlanParam, { responseHeaders }?: object): Promise<BillingPlatformModel.CancelSubscriptionRes>;
|
|
35
35
|
/**
|
|
@@ -60,7 +60,7 @@ declare class Billing {
|
|
|
60
60
|
* @returns {Promise<BillingPlatformModel.CreateSubscriptionResponse>} -
|
|
61
61
|
* Success response
|
|
62
62
|
* @name createSubscriptionCharge
|
|
63
|
-
* @summary:
|
|
63
|
+
* @summary: Register extension for the seller
|
|
64
64
|
* @description: Register a subscription charge for a seller using your extension. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/createSubscriptionCharge/).
|
|
65
65
|
*/
|
|
66
66
|
createSubscriptionCharge({ extensionId, body, requestHeaders }?: BillingPlatformValidator.CreateSubscriptionChargeParam, { responseHeaders }?: object): Promise<BillingPlatformModel.CreateSubscriptionResponse>;
|
|
@@ -71,7 +71,7 @@ declare class Billing {
|
|
|
71
71
|
* @returns {Promise<BillingPlatformModel.OneTimeChargeEntity>} - Success response
|
|
72
72
|
* @name getChargeDetails
|
|
73
73
|
* @summary: Obtain charge details
|
|
74
|
-
* @description:
|
|
74
|
+
* @description: It will fetch the information regarding the subscription for the extension. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/getChargeDetails/).
|
|
75
75
|
*/
|
|
76
76
|
getChargeDetails({ extensionId, chargeId, requestHeaders }?: BillingPlatformValidator.GetChargeDetailsParam, { responseHeaders }?: object): Promise<BillingPlatformModel.OneTimeChargeEntity>;
|
|
77
77
|
/**
|
|
@@ -80,8 +80,8 @@ declare class Billing {
|
|
|
80
80
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
81
81
|
* @returns {Promise<BillingPlatformModel.SubscriptionCustomer>} - Success response
|
|
82
82
|
* @name getCustomerDetail
|
|
83
|
-
* @summary:
|
|
84
|
-
* @description:
|
|
83
|
+
* @summary: Get seller details
|
|
84
|
+
* @description: Retrieve seller information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/getCustomerDetail/).
|
|
85
85
|
*/
|
|
86
86
|
getCustomerDetail({ requestHeaders }?: any, { responseHeaders }?: object): Promise<BillingPlatformModel.SubscriptionCustomer>;
|
|
87
87
|
/**
|
|
@@ -90,7 +90,7 @@ declare class Billing {
|
|
|
90
90
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
91
91
|
* @returns {Promise<BillingPlatformModel.Plan[]>} - Success response
|
|
92
92
|
* @name getEnterprisePlans
|
|
93
|
-
* @summary:
|
|
93
|
+
* @summary: Get enterprise-level plans
|
|
94
94
|
* @description: Retrieve available enterprise-level subscription plans. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/getEnterprisePlans/).
|
|
95
95
|
*/
|
|
96
96
|
getEnterprisePlans({ requestHeaders }?: any, { responseHeaders }?: object): Promise<BillingPlatformModel.Plan[]>;
|
|
@@ -120,7 +120,7 @@ declare class Billing {
|
|
|
120
120
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
121
121
|
* @returns {Promise<BillingPlatformModel.Invoices>} - Success response
|
|
122
122
|
* @name getInvoices
|
|
123
|
-
* @summary:
|
|
123
|
+
* @summary: Get invoices
|
|
124
124
|
* @description: Retrieve invoices for billing and payment tracking. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/getInvoices/).
|
|
125
125
|
*/
|
|
126
126
|
getInvoices({ requestHeaders }?: any, { responseHeaders }?: object): Promise<BillingPlatformModel.Invoices>;
|
|
@@ -130,8 +130,8 @@ declare class Billing {
|
|
|
130
130
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
131
131
|
* @returns {Promise<BillingPlatformModel.SubscriptionStatus>} - Success response
|
|
132
132
|
* @name getSubscription
|
|
133
|
-
* @summary:
|
|
134
|
-
* @description:
|
|
133
|
+
* @summary: Get subscription details
|
|
134
|
+
* @description: t will show the most recent subscriptions of the seller for each ordering channel, regardless of their status—whether they're active, cancelled, or otherwise. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/getSubscription/).
|
|
135
135
|
*/
|
|
136
136
|
getSubscription({ requestHeaders }?: any, { responseHeaders }?: object): Promise<BillingPlatformModel.SubscriptionStatus>;
|
|
137
137
|
/**
|
|
@@ -140,7 +140,7 @@ declare class Billing {
|
|
|
140
140
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
141
141
|
* @returns {Promise<BillingPlatformModel.EntitySubscription>} - Success response
|
|
142
142
|
* @name getSubscriptionCharge
|
|
143
|
-
* @summary:
|
|
143
|
+
* @summary: Get subscription charge details
|
|
144
144
|
* @description: Retrieve detailed information about subscription charges using this API. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/getSubscriptionCharge/).
|
|
145
145
|
*/
|
|
146
146
|
getSubscriptionCharge({ extensionId, subscriptionId, requestHeaders }?: BillingPlatformValidator.GetSubscriptionChargeParam, { responseHeaders }?: object): Promise<BillingPlatformModel.EntitySubscription>;
|
|
@@ -180,10 +180,10 @@ declare class Billing {
|
|
|
180
180
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
181
181
|
* @returns {Promise<BillingPlatformModel.SubscriptionCustomer>} - Success response
|
|
182
182
|
* @name upsertCustomerDetail
|
|
183
|
-
* @summary: Update or insert
|
|
184
|
-
* @description: Allows you to modify or insert
|
|
183
|
+
* @summary: Update or insert seller details
|
|
184
|
+
* @description: Allows you to modify or insert seller information in the billing system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/upsertCustomerDetail/).
|
|
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("sdk/output/javascript/code/sdk/platform/Billing/BillingPlatformValidator");
|
|
189
|
+
import BillingPlatformModel = require("sdk/output/javascript/code/sdk/platform/Billing/BillingPlatformModel");
|
|
@@ -102,7 +102,7 @@ class Billing {
|
|
|
102
102
|
* @returns {Promise<BillingPlatformModel.EntitySubscription>} - Success response
|
|
103
103
|
* @name cancelSubscriptionCharge
|
|
104
104
|
* @summary: Cancel a subscription charge
|
|
105
|
-
* @description:
|
|
105
|
+
* @description: When uninstalling, the extension statue will be marked as canceled. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/cancelSubscriptionCharge/).
|
|
106
106
|
*/
|
|
107
107
|
async cancelSubscriptionCharge(
|
|
108
108
|
{ extensionId, subscriptionId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -185,7 +185,7 @@ class Billing {
|
|
|
185
185
|
* @returns {Promise<BillingPlatformModel.CancelSubscriptionRes>} - Success response
|
|
186
186
|
* @name cancelSubscriptionPlan
|
|
187
187
|
* @summary: Cancel a subscription plan
|
|
188
|
-
* @description:
|
|
188
|
+
* @description: The seller will initiate a request to cancel their current subscription on the platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/cancelSubscriptionPlan/).
|
|
189
189
|
*/
|
|
190
190
|
async cancelSubscriptionPlan(
|
|
191
191
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -431,7 +431,7 @@ class Billing {
|
|
|
431
431
|
* @returns {Promise<BillingPlatformModel.CreateSubscriptionResponse>} -
|
|
432
432
|
* Success response
|
|
433
433
|
* @name createSubscriptionCharge
|
|
434
|
-
* @summary:
|
|
434
|
+
* @summary: Register extension for the seller
|
|
435
435
|
* @description: Register a subscription charge for a seller using your extension. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/createSubscriptionCharge/).
|
|
436
436
|
*/
|
|
437
437
|
async createSubscriptionCharge(
|
|
@@ -515,7 +515,7 @@ class Billing {
|
|
|
515
515
|
* @returns {Promise<BillingPlatformModel.OneTimeChargeEntity>} - Success response
|
|
516
516
|
* @name getChargeDetails
|
|
517
517
|
* @summary: Obtain charge details
|
|
518
|
-
* @description:
|
|
518
|
+
* @description: It will fetch the information regarding the subscription for the extension. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/getChargeDetails/).
|
|
519
519
|
*/
|
|
520
520
|
async getChargeDetails(
|
|
521
521
|
{ extensionId, chargeId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -595,8 +595,8 @@ class Billing {
|
|
|
595
595
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
596
596
|
* @returns {Promise<BillingPlatformModel.SubscriptionCustomer>} - Success response
|
|
597
597
|
* @name getCustomerDetail
|
|
598
|
-
* @summary:
|
|
599
|
-
* @description:
|
|
598
|
+
* @summary: Get seller details
|
|
599
|
+
* @description: Retrieve seller information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/getCustomerDetail/).
|
|
600
600
|
*/
|
|
601
601
|
async getCustomerDetail(
|
|
602
602
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -670,7 +670,7 @@ class Billing {
|
|
|
670
670
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
671
671
|
* @returns {Promise<BillingPlatformModel.Plan[]>} - Success response
|
|
672
672
|
* @name getEnterprisePlans
|
|
673
|
-
* @summary:
|
|
673
|
+
* @summary: Get enterprise-level plans
|
|
674
674
|
* @description: Retrieve available enterprise-level subscription plans. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/getEnterprisePlans/).
|
|
675
675
|
*/
|
|
676
676
|
async getEnterprisePlans(
|
|
@@ -904,7 +904,7 @@ class Billing {
|
|
|
904
904
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
905
905
|
* @returns {Promise<BillingPlatformModel.Invoices>} - Success response
|
|
906
906
|
* @name getInvoices
|
|
907
|
-
* @summary:
|
|
907
|
+
* @summary: Get invoices
|
|
908
908
|
* @description: Retrieve invoices for billing and payment tracking. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/getInvoices/).
|
|
909
909
|
*/
|
|
910
910
|
async getInvoices(
|
|
@@ -977,8 +977,8 @@ class Billing {
|
|
|
977
977
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
978
978
|
* @returns {Promise<BillingPlatformModel.SubscriptionStatus>} - Success response
|
|
979
979
|
* @name getSubscription
|
|
980
|
-
* @summary:
|
|
981
|
-
* @description:
|
|
980
|
+
* @summary: Get subscription details
|
|
981
|
+
* @description: t will show the most recent subscriptions of the seller for each ordering channel, regardless of their status—whether they're active, cancelled, or otherwise. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/getSubscription/).
|
|
982
982
|
*/
|
|
983
983
|
async getSubscription(
|
|
984
984
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1052,7 +1052,7 @@ class Billing {
|
|
|
1052
1052
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1053
1053
|
* @returns {Promise<BillingPlatformModel.EntitySubscription>} - Success response
|
|
1054
1054
|
* @name getSubscriptionCharge
|
|
1055
|
-
* @summary:
|
|
1055
|
+
* @summary: Get subscription charge details
|
|
1056
1056
|
* @description: Retrieve detailed information about subscription charges using this API. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/getSubscriptionCharge/).
|
|
1057
1057
|
*/
|
|
1058
1058
|
async getSubscriptionCharge(
|
|
@@ -1390,8 +1390,8 @@ class Billing {
|
|
|
1390
1390
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1391
1391
|
* @returns {Promise<BillingPlatformModel.SubscriptionCustomer>} - Success response
|
|
1392
1392
|
* @name upsertCustomerDetail
|
|
1393
|
-
* @summary: Update or insert
|
|
1394
|
-
* @description: Allows you to modify or insert
|
|
1393
|
+
* @summary: Update or insert seller details
|
|
1394
|
+
* @description: Allows you to modify or insert seller information in the billing system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/billing/upsertCustomerDetail/).
|
|
1395
1395
|
*/
|
|
1396
1396
|
async upsertCustomerDetail(
|
|
1397
1397
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -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("sdk/output/javascript/code/sdk/platform/Billing/BillingPlatformModel");
|