@gofynd/fdk-client-javascript 1.4.2-beta.4 → 1.4.2-beta.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/package.json +3 -2
- package/sdk/application/ApplicationClient.js +20 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +62 -62
- package/sdk/application/Cart/CartApplicationClient.js +82 -71
- package/sdk/application/Cart/CartApplicationValidator.d.ts +189 -34
- package/sdk/application/Cart/CartApplicationValidator.js +59 -34
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +78 -78
- package/sdk/application/Catalog/CatalogApplicationClient.js +78 -78
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -67
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -106
- package/sdk/application/Content/ContentApplicationClient.d.ts +34 -64
- package/sdk/application/Content/ContentApplicationClient.js +34 -115
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -42
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -42
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -14
- package/sdk/application/Lead/LeadApplicationClient.js +14 -14
- package/sdk/application/Lead/LeadApplicationModel.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +12 -12
- package/sdk/application/Logistic/LogisticApplicationClient.js +12 -12
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -24
- package/sdk/application/Order/OrderApplicationClient.js +24 -24
- package/sdk/application/Order/OrderApplicationModel.d.ts +23 -1
- package/sdk/application/Order/OrderApplicationModel.js +28 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +89 -89
- package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +498 -3
- package/sdk/application/Payment/PaymentApplicationModel.js +316 -2
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +54 -54
- package/sdk/application/PosCart/PosCartApplicationClient.js +54 -54
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -25
- package/sdk/application/Rewards/RewardsApplicationClient.js +14 -41
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -14
- package/sdk/application/Share/ShareApplicationClient.js +14 -14
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -4
- package/sdk/application/Share/ShareApplicationModel.js +0 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
- package/sdk/application/User/UserApplicationClient.d.ts +64 -64
- package/sdk/application/User/UserApplicationClient.js +64 -64
- package/sdk/common/Clickstream.d.ts +1 -0
- package/sdk/common/Clickstream.js +246 -0
- package/sdk/common/Utility.js +1 -4
- package/sdk/partner/Lead/LeadPartnerModel.js +1 -1
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +38 -38
- package/sdk/partner/Theme/ThemePartnerClient.js +38 -38
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +8 -8
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +34 -36
- package/sdk/platform/Billing/BillingPlatformClient.js +34 -36
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +98 -175
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +98 -254
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +92 -18
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +28 -18
- package/sdk/platform/Cart/CartPlatformModel.d.ts +12 -0
- package/sdk/platform/Cart/CartPlatformModel.js +12 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +195 -108
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +278 -113
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +335 -136
- package/sdk/platform/Catalog/CatalogPlatformClient.js +551 -136
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +5 -5
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3 -3
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -3
- package/sdk/platform/Common/CommonPlatformClient.js +3 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +115 -290
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +115 -510
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -13
- package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -29
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +32 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -127
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +52 -204
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +35 -111
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +35 -212
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +142 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +96 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +130 -218
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +136 -314
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
- package/sdk/platform/Content/ContentPlatformClient.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformClient.js +7 -7
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +22 -48
- package/sdk/platform/Discount/DiscountPlatformClient.js +22 -73
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +20 -56
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +20 -59
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +0 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +0 -2
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +14 -50
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +16 -55
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -14
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +12 -16
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +44 -44
- package/sdk/platform/Finance/FinancePlatformClient.js +44 -44
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -48
- package/sdk/platform/Lead/LeadPlatformClient.js +22 -72
- package/sdk/platform/Lead/LeadPlatformModel.js +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +4 -4
- package/sdk/platform/Order/OrderPlatformClient.d.ts +79 -208
- package/sdk/platform/Order/OrderPlatformClient.js +79 -294
- package/sdk/platform/Order/OrderPlatformModel.d.ts +32 -3
- package/sdk/platform/Order/OrderPlatformModel.js +34 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +81 -81
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +81 -81
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +23 -40
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +23 -61
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +5 -5
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +4 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.js +10 -10
- package/sdk/platform/Share/SharePlatformModel.d.ts +0 -4
- package/sdk/platform/Share/SharePlatformModel.js +0 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +56 -56
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +56 -56
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
- package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +33 -33
- package/sdk/platform/User/UserPlatformApplicationClient.js +33 -33
- package/sdk/platform/User/UserPlatformModel.d.ts +4 -4
- package/sdk/platform/User/UserPlatformModel.js +4 -4
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +32 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +32 -45
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +58 -1
- package/sdk/platform/Webhook/WebhookPlatformModel.js +66 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicClient.js +4 -4
|
@@ -8,8 +8,8 @@ declare class Configuration {
|
|
|
8
8
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
9
9
|
* @returns {Promise<ConfigurationPlatformModel.CreateAppResponse>} - Success response
|
|
10
10
|
* @name createApplication
|
|
11
|
-
* @summary: Create
|
|
12
|
-
* @description: Applications are sales channel websites which can be configured, personalized and customized. Use this API to create a new application in the current company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/createApplication/).
|
|
11
|
+
* @summary: Create application.
|
|
12
|
+
* @description: Generate and add a new application. Applications are sales channel websites which can be configured, personalized and customized. Use this API to create a new application in the current company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/createApplication/).
|
|
13
13
|
*/
|
|
14
14
|
createApplication({ body, requestHeaders }?: ConfigurationPlatformValidator.CreateApplicationParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.CreateAppResponse>;
|
|
15
15
|
/**
|
|
@@ -19,22 +19,10 @@ declare class Configuration {
|
|
|
19
19
|
* @returns {Promise<ConfigurationPlatformModel.ApplicationsResponse>} -
|
|
20
20
|
* Success response
|
|
21
21
|
* @name getApplications
|
|
22
|
-
* @summary: Get
|
|
23
|
-
* @description: Applications are sales channel websites which can be configured, personalized and customised. Use this API to fetch a list of applications created within a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getApplications/).
|
|
22
|
+
* @summary: Get applications.
|
|
23
|
+
* @description: Retrieve a list of available applications. Applications are sales channel websites which can be configured, personalized and customised. Use this API to fetch a list of applications created within a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getApplications/).
|
|
24
24
|
*/
|
|
25
25
|
getApplications({ pageNo, pageSize, q, requestHeaders }?: ConfigurationPlatformValidator.GetApplicationsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.ApplicationsResponse>;
|
|
26
|
-
/**
|
|
27
|
-
* @param {Object} arg - Arg object.
|
|
28
|
-
* @param {number} [arg.pageSize] -
|
|
29
|
-
* @param {string} [arg.q] - Search param by name or domain
|
|
30
|
-
* @returns {Paginator<ConfigurationPlatformModel.ApplicationsResponse>}
|
|
31
|
-
* @summary: Get list of registered sales channels under company
|
|
32
|
-
* @description: Applications are sales channel websites which can be configured, personalized and customised. Use this API to fetch a list of applications created within a company.
|
|
33
|
-
*/
|
|
34
|
-
getApplicationsPaginator({ pageSize, q }?: {
|
|
35
|
-
pageSize?: number;
|
|
36
|
-
q?: string;
|
|
37
|
-
}): Paginator<ConfigurationPlatformModel.ApplicationsResponse>;
|
|
38
26
|
/**
|
|
39
27
|
* @param {ConfigurationPlatformValidator.GetAvailableOptInsParam} arg - Arg object
|
|
40
28
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -43,21 +31,10 @@ declare class Configuration {
|
|
|
43
31
|
* - Success response
|
|
44
32
|
*
|
|
45
33
|
* @name getAvailableOptIns
|
|
46
|
-
* @summary: Get
|
|
47
|
-
* @description:
|
|
34
|
+
* @summary: Get available opt-ins.
|
|
35
|
+
* @description: Retrieve a list of available opt-ins. Retrieve a list of all available integrations in a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getAvailableOptIns/).
|
|
48
36
|
*/
|
|
49
37
|
getAvailableOptIns({ pageNo, pageSize, requestHeaders }?: ConfigurationPlatformValidator.GetAvailableOptInsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.GetIntegrationsOptInsResponse>;
|
|
50
|
-
/**
|
|
51
|
-
* @param {Object} arg - Arg object.
|
|
52
|
-
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
53
|
-
* page. Default value is 10.
|
|
54
|
-
* @returns {Paginator<ConfigurationPlatformModel.GetIntegrationsOptInsResponse>}
|
|
55
|
-
* @summary: Get all available integration opt-ins
|
|
56
|
-
* @description: Use this API to get a list of all available integrations in a company
|
|
57
|
-
*/
|
|
58
|
-
getAvailableOptInsPaginator({ pageSize }?: {
|
|
59
|
-
pageSize?: number;
|
|
60
|
-
}): Paginator<ConfigurationPlatformModel.GetIntegrationsOptInsResponse>;
|
|
61
38
|
/**
|
|
62
39
|
* @param {ConfigurationPlatformValidator.GetBrandsByCompanyParam} arg - Arg object
|
|
63
40
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -66,7 +43,7 @@ declare class Configuration {
|
|
|
66
43
|
* Success response
|
|
67
44
|
* @name getBrandsByCompany
|
|
68
45
|
* @summary: Get brands by company.
|
|
69
|
-
* @description:
|
|
46
|
+
* @description: Retrieve all the brands added in a company. Get all the brand names, along with URLs of their logo, banner, and portrait image. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getBrandsByCompany/).
|
|
70
47
|
*/
|
|
71
48
|
getBrandsByCompany({ q, requestHeaders }?: ConfigurationPlatformValidator.GetBrandsByCompanyParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.BrandsByCompanyResponse>;
|
|
72
49
|
/**
|
|
@@ -76,23 +53,10 @@ declare class Configuration {
|
|
|
76
53
|
* @returns {Promise<ConfigurationPlatformModel.CompanyByBrandsResponse>} -
|
|
77
54
|
* Success response
|
|
78
55
|
* @name getCompanyByBrands
|
|
79
|
-
* @summary: Get company by
|
|
80
|
-
* @description:
|
|
56
|
+
* @summary: Get company by brands.
|
|
57
|
+
* @description: Retrieve companies associated with specific brands. Retrieve a list of companies by the brands they deal. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getCompanyByBrands/).
|
|
81
58
|
*/
|
|
82
59
|
getCompanyByBrands({ body, pageNo, pageSize, requestHeaders }?: ConfigurationPlatformValidator.GetCompanyByBrandsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.CompanyByBrandsResponse>;
|
|
83
|
-
/**
|
|
84
|
-
* @param {Object} arg - Arg object.
|
|
85
|
-
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
86
|
-
* page. Default value is 10.
|
|
87
|
-
* @param {ConfigurationPlatformModel.CompanyByBrandsRequest} arg.body
|
|
88
|
-
* @returns {Paginator<ConfigurationPlatformModel.CompanyByBrandsResponse>}
|
|
89
|
-
* @summary: Get company by brand uids
|
|
90
|
-
* @description: Use this API to get a list of companies by the brands they deal
|
|
91
|
-
*/
|
|
92
|
-
getCompanyByBrandsPaginator({ pageSize, body }?: {
|
|
93
|
-
pageSize?: number;
|
|
94
|
-
body: ConfigurationPlatformModel.CompanyByBrandsRequest;
|
|
95
|
-
}): Paginator<ConfigurationPlatformModel.CompanyByBrandsResponse>;
|
|
96
60
|
/**
|
|
97
61
|
* @param {ConfigurationPlatformValidator.GetCurrenciesParam} arg - Arg object
|
|
98
62
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -100,8 +64,8 @@ declare class Configuration {
|
|
|
100
64
|
* @returns {Promise<ConfigurationPlatformModel.CurrenciesResponse>} -
|
|
101
65
|
* Success response
|
|
102
66
|
* @name getCurrencies
|
|
103
|
-
* @summary: Get
|
|
104
|
-
* @description: Use this API to get a list of currencies allowed in the company. Moreover, get the name, code, symbol, and the decimal digits of the currencies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getCurrencies/).
|
|
67
|
+
* @summary: Get currencies.
|
|
68
|
+
* @description: Retrieve a list of available currencies. Use this API to get a list of currencies allowed in the company. Moreover, get the name, code, symbol, and the decimal digits of the currencies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getCurrencies/).
|
|
105
69
|
*/
|
|
106
70
|
getCurrencies({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.CurrenciesResponse>;
|
|
107
71
|
/**
|
|
@@ -112,8 +76,8 @@ declare class Configuration {
|
|
|
112
76
|
* - Success response
|
|
113
77
|
*
|
|
114
78
|
* @name getDomainAvailibility
|
|
115
|
-
* @summary:
|
|
116
|
-
* @description: Use this API to check the domain availability before linking it to application. Also sends domain suggestions that are similar to the queried domain. Note - Custom domain search is currently powered by GoDaddy provider. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getDomainAvailibility/).
|
|
79
|
+
* @summary: Get domain availability.
|
|
80
|
+
* @description: Check the availability of a specific domain. Use this API to check the domain availability before linking it to application. Also sends domain suggestions that are similar to the queried domain. Note - Custom domain search is currently powered by GoDaddy provider. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getDomainAvailibility/).
|
|
117
81
|
*/
|
|
118
82
|
getDomainAvailibility({ body, requestHeaders }?: ConfigurationPlatformValidator.GetDomainAvailibilityParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.DomainSuggestionsResponse>;
|
|
119
83
|
/**
|
|
@@ -122,8 +86,8 @@ declare class Configuration {
|
|
|
122
86
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
123
87
|
* @returns {Promise<ConfigurationPlatformModel.Integration>} - Success response
|
|
124
88
|
* @name getIntegrationById
|
|
125
|
-
* @summary: Get integration
|
|
126
|
-
* @description:
|
|
89
|
+
* @summary: Get integration by ID.
|
|
90
|
+
* @description: Retrieve detailed information about a specific integration. Retrieve the details of an integration (such as Ginesys, SAP, etc.) using its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getIntegrationById/).
|
|
127
91
|
*/
|
|
128
92
|
getIntegrationById({ id, requestHeaders }?: ConfigurationPlatformValidator.GetIntegrationByIdParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.Integration>;
|
|
129
93
|
/**
|
|
@@ -134,8 +98,8 @@ declare class Configuration {
|
|
|
134
98
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
135
99
|
* @returns {Promise<ConfigurationPlatformModel.IntegrationLevel>} - Success response
|
|
136
100
|
* @name getIntegrationByLevelId
|
|
137
|
-
* @summary: Get integration
|
|
138
|
-
* @description:
|
|
101
|
+
* @summary: Get integration by level ID.
|
|
102
|
+
* @description: Retrieve integration details for a specific level. Retrieve the configuration details of an integration such as token, permissions, level, opted value, uid, meta, location ID, etc. at a particular level (store/company). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getIntegrationByLevelId/).
|
|
139
103
|
*/
|
|
140
104
|
getIntegrationByLevelId({ id, level, uid, requestHeaders }?: ConfigurationPlatformValidator.GetIntegrationByLevelIdParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.IntegrationLevel>;
|
|
141
105
|
/**
|
|
@@ -148,8 +112,8 @@ declare class Configuration {
|
|
|
148
112
|
* - Success response
|
|
149
113
|
*
|
|
150
114
|
* @name getIntegrationLevelConfig
|
|
151
|
-
* @summary: Get integration level
|
|
152
|
-
* @description:
|
|
115
|
+
* @summary: Get integration level configuration.
|
|
116
|
+
* @description: Retrieve configuration settings for integration levels. Retrieve the configuration details of an integration such as token, permissions, level, opted value, uid, meta, location ID, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getIntegrationLevelConfig/).
|
|
153
117
|
*/
|
|
154
118
|
getIntegrationLevelConfig({ id, level, opted, checkPermission, requestHeaders }?: ConfigurationPlatformValidator.GetIntegrationLevelConfigParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.IntegrationConfigResponse>;
|
|
155
119
|
/**
|
|
@@ -161,8 +125,8 @@ declare class Configuration {
|
|
|
161
125
|
* @returns {Promise<ConfigurationPlatformModel.OptedStoreIntegration>} -
|
|
162
126
|
* Success response
|
|
163
127
|
* @name getLevelActiveIntegrations
|
|
164
|
-
* @summary:
|
|
165
|
-
* @description:
|
|
128
|
+
* @summary: Get active integrations for a level.
|
|
129
|
+
* @description: Check if a store is already opted-in for any integration - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getLevelActiveIntegrations/).
|
|
166
130
|
*/
|
|
167
131
|
getLevelActiveIntegrations({ id, level, uid, requestHeaders }?: ConfigurationPlatformValidator.GetLevelActiveIntegrationsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.OptedStoreIntegration>;
|
|
168
132
|
/**
|
|
@@ -175,8 +139,8 @@ declare class Configuration {
|
|
|
175
139
|
* - Success response
|
|
176
140
|
*
|
|
177
141
|
* @name getOtherSellerApplicationById
|
|
178
|
-
* @summary: Get other seller
|
|
179
|
-
* @description:
|
|
142
|
+
* @summary: Get other seller application by ID.
|
|
143
|
+
* @description: Retrieve details of a seller application that was not created within the current company. but has opted for the current company's inventory - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getOtherSellerApplicationById/).
|
|
180
144
|
*/
|
|
181
145
|
getOtherSellerApplicationById({ id, requestHeaders }?: ConfigurationPlatformValidator.GetOtherSellerApplicationByIdParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.OptedApplicationResponse>;
|
|
182
146
|
/**
|
|
@@ -188,21 +152,10 @@ declare class Configuration {
|
|
|
188
152
|
* @returns {Promise<ConfigurationPlatformModel.OtherSellerApplications>} -
|
|
189
153
|
* Success response
|
|
190
154
|
* @name getOtherSellerApplications
|
|
191
|
-
* @summary: Get other seller
|
|
192
|
-
* @description:
|
|
155
|
+
* @summary: Get other seller applications.
|
|
156
|
+
* @description: Retrieve applications from other sellers. Retrieve all other seller applications that were not created within the current company. but have opted for the current company's inventory. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getOtherSellerApplications/).
|
|
193
157
|
*/
|
|
194
158
|
getOtherSellerApplications({ pageNo, pageSize, requestHeaders }?: ConfigurationPlatformValidator.GetOtherSellerApplicationsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.OtherSellerApplications>;
|
|
195
|
-
/**
|
|
196
|
-
* @param {Object} arg - Arg object.
|
|
197
|
-
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
198
|
-
* page. Default value is 10.
|
|
199
|
-
* @returns {Paginator<ConfigurationPlatformModel.OtherSellerApplications>}
|
|
200
|
-
* @summary: Get other seller sales channels
|
|
201
|
-
* @description: Use this API to fetch all other seller applications that were not created within the current company. but have opted for the current company's inventory
|
|
202
|
-
*/
|
|
203
|
-
getOtherSellerApplicationsPaginator({ pageSize }?: {
|
|
204
|
-
pageSize?: number;
|
|
205
|
-
}): Paginator<ConfigurationPlatformModel.OtherSellerApplications>;
|
|
206
159
|
/**
|
|
207
160
|
* @param {ConfigurationPlatformValidator.GetSelectedOptInsParam} arg - Arg object
|
|
208
161
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -211,25 +164,10 @@ declare class Configuration {
|
|
|
211
164
|
* - Success response
|
|
212
165
|
*
|
|
213
166
|
* @name getSelectedOptIns
|
|
214
|
-
* @summary: Get
|
|
215
|
-
* @description:
|
|
167
|
+
* @summary: Get selected opt-ins.
|
|
168
|
+
* @description: Retrieve a list of selected opt-ins. Retrieve the store-level/company-level integrations configured in a company - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getSelectedOptIns/).
|
|
216
169
|
*/
|
|
217
170
|
getSelectedOptIns({ level, uid, pageNo, pageSize, requestHeaders }?: ConfigurationPlatformValidator.GetSelectedOptInsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.GetIntegrationsOptInsResponse>;
|
|
218
|
-
/**
|
|
219
|
-
* @param {Object} arg - Arg object.
|
|
220
|
-
* @param {string} arg.level - Store or company
|
|
221
|
-
* @param {number} arg.uid - Unique identifier of the selected integration level.
|
|
222
|
-
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
223
|
-
* page. Default value is 10.
|
|
224
|
-
* @returns {Paginator<ConfigurationPlatformModel.GetIntegrationsOptInsResponse>}
|
|
225
|
-
* @summary: Get company/store level integration opt-ins
|
|
226
|
-
* @description: Use this API to get the store-level/company-level integrations configured in a company
|
|
227
|
-
*/
|
|
228
|
-
getSelectedOptInsPaginator({ level, uid, pageSize }?: {
|
|
229
|
-
level: string;
|
|
230
|
-
uid: number;
|
|
231
|
-
pageSize?: number;
|
|
232
|
-
}): Paginator<ConfigurationPlatformModel.GetIntegrationsOptInsResponse>;
|
|
233
171
|
/**
|
|
234
172
|
* @param {ConfigurationPlatformValidator.GetStoreByBrandsParam} arg - Arg object
|
|
235
173
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -237,23 +175,10 @@ declare class Configuration {
|
|
|
237
175
|
* @returns {Promise<ConfigurationPlatformModel.StoreByBrandsResponse>} -
|
|
238
176
|
* Success response
|
|
239
177
|
* @name getStoreByBrands
|
|
240
|
-
* @summary: Get
|
|
241
|
-
* @description:
|
|
178
|
+
* @summary: Get store by brands.
|
|
179
|
+
* @description: Retrieve stores associated with specific brands. Retrieve a list of selling locations (stores) by the brands they deal. Store has information about store name, store type, store code, store address, and company detail. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getStoreByBrands/).
|
|
242
180
|
*/
|
|
243
181
|
getStoreByBrands({ body, pageNo, pageSize, requestHeaders }?: ConfigurationPlatformValidator.GetStoreByBrandsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.StoreByBrandsResponse>;
|
|
244
|
-
/**
|
|
245
|
-
* @param {Object} arg - Arg object.
|
|
246
|
-
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
247
|
-
* page. Default value is 10.
|
|
248
|
-
* @param {ConfigurationPlatformModel.StoreByBrandsRequest} arg.body
|
|
249
|
-
* @returns {Paginator<ConfigurationPlatformModel.StoreByBrandsResponse>}
|
|
250
|
-
* @summary: Get stores by brand uids for the current company
|
|
251
|
-
* @description: Use this API to get a list of selling locations (stores) by the brands they deal. Store has information about store name, store type, store code, store address, and company detail.
|
|
252
|
-
*/
|
|
253
|
-
getStoreByBrandsPaginator({ pageSize, body }?: {
|
|
254
|
-
pageSize?: number;
|
|
255
|
-
body: ConfigurationPlatformModel.StoreByBrandsRequest;
|
|
256
|
-
}): Paginator<ConfigurationPlatformModel.StoreByBrandsResponse>;
|
|
257
182
|
/**
|
|
258
183
|
* @param {ConfigurationPlatformValidator.OptOutFromApplicationParam} arg - Arg object
|
|
259
184
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -261,8 +186,8 @@ declare class Configuration {
|
|
|
261
186
|
* @returns {Promise<ConfigurationPlatformModel.SuccessMessageResponse>} -
|
|
262
187
|
* Success response
|
|
263
188
|
* @name optOutFromApplication
|
|
264
|
-
* @summary: Opt
|
|
265
|
-
* @description:
|
|
189
|
+
* @summary: Opt out from an application.
|
|
190
|
+
* @description: Choose to opt-out your company or store from other seller application. The specific seller application will no longer fetch inventory from your company or store. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/optOutFromApplication/).
|
|
266
191
|
*/
|
|
267
192
|
optOutFromApplication({ id, body, requestHeaders }?: ConfigurationPlatformValidator.OptOutFromApplicationParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.SuccessMessageResponse>;
|
|
268
193
|
/**
|
|
@@ -273,8 +198,8 @@ declare class Configuration {
|
|
|
273
198
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
274
199
|
* @returns {Promise<ConfigurationPlatformModel.IntegrationLevel>} - Success response
|
|
275
200
|
* @name updateLevelIntegration
|
|
276
|
-
* @summary: Update
|
|
277
|
-
* @description:
|
|
201
|
+
* @summary: Update level integration.
|
|
202
|
+
* @description: Modify level integration. Update the configuration details of an integration such as token, permissions, level, opted value, uid, meta, location ID, etc. at a particular level (store/company). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/updateLevelIntegration/).
|
|
278
203
|
*/
|
|
279
204
|
updateLevelIntegration({ id, level, body, requestHeaders }?: ConfigurationPlatformValidator.UpdateLevelIntegrationParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.IntegrationLevel>;
|
|
280
205
|
/**
|
|
@@ -285,11 +210,10 @@ declare class Configuration {
|
|
|
285
210
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
286
211
|
* @returns {Promise<ConfigurationPlatformModel.IntegrationLevel>} - Success response
|
|
287
212
|
* @name updateLevelUidIntegration
|
|
288
|
-
* @summary: Update
|
|
289
|
-
* @description: Update the level of integration by store UID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/updateLevelUidIntegration/).
|
|
213
|
+
* @summary: Update level UID integration.
|
|
214
|
+
* @description: Modify UID-based integration. Update the level of integration by store UID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/updateLevelUidIntegration/).
|
|
290
215
|
*/
|
|
291
216
|
updateLevelUidIntegration({ id, level, uid, body, requestHeaders }?: ConfigurationPlatformValidator.UpdateLevelUidIntegrationParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.IntegrationLevel>;
|
|
292
217
|
}
|
|
293
218
|
import ConfigurationPlatformValidator = require("./ConfigurationPlatformValidator");
|
|
294
219
|
import ConfigurationPlatformModel = require("./ConfigurationPlatformModel");
|
|
295
|
-
import Paginator = require("../../common/Paginator");
|