@gofynd/fdk-client-javascript 1.1.2 → 1.1.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 +2 -2
- package/index.d.ts +7 -7
- package/index.js +12 -12
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +20 -20
- package/sdk/application/ApplicationClient.js +26 -26
- package/sdk/application/Cart/CartApplicationClient.d.ts +36 -6
- package/sdk/application/Cart/CartApplicationClient.js +105 -10
- package/sdk/application/Cart/CartApplicationModel.d.ts +9 -0
- package/sdk/application/Cart/CartApplicationModel.js +105 -1
- package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -0
- package/sdk/application/Cart/CartApplicationValidator.js +15 -1
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1 -0
- package/sdk/application/Catalog/CatalogApplicationModel.js +13 -0
- package/sdk/application/Common/CommonApplicationModel.js +4 -0
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +14 -10
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -10
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +6 -5
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +1 -0
- package/sdk/application/Content/ContentApplicationModel.js +3 -1
- package/sdk/application/Lead/LeadApplicationModel.js +4 -1
- package/sdk/application/Logistic/LogisticApplicationModel.js +3 -2
- package/sdk/application/Order/OrderApplicationClient.d.ts +2 -2
- package/sdk/application/Order/OrderApplicationClient.js +2 -2
- package/sdk/application/Order/OrderApplicationModel.js +18 -8
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +35 -0
- package/sdk/application/Payment/PaymentApplicationClient.js +200 -0
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +4 -0
- package/sdk/application/Payment/PaymentApplicationModel.js +58 -7
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +3 -0
- package/sdk/application/Payment/PaymentApplicationValidator.js +19 -0
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +16 -3
- package/sdk/application/PosCart/PosCartApplicationClient.js +39 -6
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +6 -0
- package/sdk/application/PosCart/PosCartApplicationModel.js +63 -1
- package/sdk/application/PosCart/PosCartApplicationValidator.js +6 -0
- package/sdk/application/index.d.ts +10 -10
- package/sdk/application/index.js +13 -13
- package/sdk/common/Constant.d.ts +5 -0
- package/sdk/common/Constant.js +5 -0
- package/sdk/partner/OAuthClient.js +1 -1
- package/sdk/platform/Billing/BillingPlatformModel.js +6 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +491 -2
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +2661 -337
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +32 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +269 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +58 -0
- package/sdk/platform/Cart/CartPlatformModel.js +652 -3
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +8 -2
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +10 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +1 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.js +2 -2
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.js +43 -31
- package/sdk/platform/Common/CommonPlatformModel.js +4 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.js +9 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +2 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +5 -4
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +99 -78
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +99 -78
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +87 -71
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +87 -71
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +34 -7
- package/sdk/platform/Content/ContentPlatformModel.js +3 -1
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +135 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +853 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +51 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +342 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +16 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +84 -0
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +11 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +66 -2
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -0
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +161 -79
- package/sdk/platform/Order/OrderPlatformClient.js +546 -114
- package/sdk/platform/Order/OrderPlatformModel.d.ts +42 -6
- package/sdk/platform/Order/OrderPlatformModel.js +569 -159
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +6 -0
- package/sdk/platform/Order/OrderPlatformValidator.js +52 -9
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +22 -0
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +127 -0
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +2 -0
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +13 -0
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +145 -0
- package/sdk/platform/Partner/PartnerPlatformClient.js +799 -0
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +39 -0
- package/sdk/platform/Partner/PartnerPlatformModel.js +367 -0
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +14 -0
- package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -0
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +221 -0
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +1476 -190
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +20 -0
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +126 -0
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +48 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +452 -7
- package/sdk/platform/PlatformApplicationClient.d.ts +1249 -937
- package/sdk/platform/PlatformApplicationClient.js +1366 -1033
- package/sdk/platform/PlatformClient.d.ts +10979 -8771
- package/sdk/platform/PlatformClient.js +11874 -9197
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +134 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +852 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +16 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +81 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +223 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1296 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +97 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +778 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +21 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +130 -0
- package/sdk/platform/index.d.ts +16 -14
- package/sdk/platform/index.js +22 -18
- package/sdk/public/Configuration/ConfigurationPublicModel.js +5 -0
- package/sdk/public/PublicClient.d.ts +2 -2
- package/sdk/public/PublicClient.js +4 -4
- package/sdk/public/index.d.ts +1 -1
- package/sdk/public/index.js +2 -2
|
@@ -7,8 +7,8 @@ declare class Configuration {
|
|
|
7
7
|
* @param {Object} arg - Arg object.
|
|
8
8
|
* @param {DomainAddRequest} arg.body
|
|
9
9
|
* @returns {Promise<Domain>} - Success response
|
|
10
|
-
* @summary: Add new domain to
|
|
11
|
-
* @description: Add new domain to
|
|
10
|
+
* @summary: Add new domain to current sales channel
|
|
11
|
+
* @description: Add a new domain to current sales channel, including pre-defined domain (free domain) or custom domain (owned by the brand)
|
|
12
12
|
*/
|
|
13
13
|
addDomain({ body }?: {
|
|
14
14
|
body: DomainAddRequest;
|
|
@@ -17,8 +17,8 @@ declare class Configuration {
|
|
|
17
17
|
* @param {Object} arg - Arg object.
|
|
18
18
|
* @param {UpdateDomainTypeRequest} arg.body
|
|
19
19
|
* @returns {Promise<DomainsResponse>} - Success response
|
|
20
|
-
* @summary: Change domain
|
|
21
|
-
* @description:
|
|
20
|
+
* @summary: Change the type of domain in the current sales channel
|
|
21
|
+
* @description: Primary domain is used as the URL of your website. Short link domain is comparatively smaller and used while generating short links. Use this API to change a domain to either Primary or a Shortlink domain.
|
|
22
22
|
*/
|
|
23
23
|
changeDomainType({ body }?: {
|
|
24
24
|
body: UpdateDomainTypeRequest;
|
|
@@ -26,25 +26,27 @@ declare class Configuration {
|
|
|
26
26
|
/**
|
|
27
27
|
* @param {Object} arg - Arg object.
|
|
28
28
|
* @returns {Promise<TokenResponse>} - Success response
|
|
29
|
-
* @summary: Get social tokens
|
|
30
|
-
* @description:
|
|
29
|
+
* @summary: Get social tokens for the sales channel
|
|
30
|
+
* @description: Use this API to retrieve the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google, and Facebook auth. **Note** - Token values are encrypted with AES encryption using a secret key.
|
|
31
31
|
*/
|
|
32
32
|
getAppApiTokens({}?: any): Promise<TokenResponse>;
|
|
33
33
|
/**
|
|
34
34
|
* @param {Object} arg - Arg object.
|
|
35
35
|
* @returns {Promise<ApplicationDetail>} - Success response
|
|
36
|
-
* @summary: Get
|
|
37
|
-
* @description:
|
|
36
|
+
* @summary: Get sales channel details
|
|
37
|
+
* @description: Shows basic sales channel details like name, description, logo, domain, company ID, and other related information.
|
|
38
38
|
*/
|
|
39
39
|
getAppBasicDetails({}?: any): Promise<ApplicationDetail>;
|
|
40
40
|
/**
|
|
41
41
|
* @param {Object} arg - Arg object.
|
|
42
|
-
* @param {number} [arg.uid] -
|
|
43
|
-
* @param {number} [arg.pageNo] -
|
|
44
|
-
*
|
|
42
|
+
* @param {number} [arg.uid] - UID of companies to be fetched
|
|
43
|
+
* @param {number} [arg.pageNo] - The current page number to navigate
|
|
44
|
+
* through the given set of results. Default value is 1.
|
|
45
|
+
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
46
|
+
* page. Default value is 10.
|
|
45
47
|
* @returns {Promise<CompaniesResponse>} - Success response
|
|
46
|
-
* @summary:
|
|
47
|
-
* @description:
|
|
48
|
+
* @summary: Get companies enabled in the sales channel inventory
|
|
49
|
+
* @description: Fetch info of all the companies (e.g. name, uid, and company type) whose inventory is fetched into the current sales channel application
|
|
48
50
|
*/
|
|
49
51
|
getAppCompanies({ uid, pageNo, pageSize }?: {
|
|
50
52
|
uid?: number;
|
|
@@ -53,12 +55,15 @@ declare class Configuration {
|
|
|
53
55
|
}): Promise<CompaniesResponse>;
|
|
54
56
|
/**
|
|
55
57
|
* @param {Object} arg - Arg object.
|
|
56
|
-
* @param {string} arg.companyId -
|
|
57
|
-
*
|
|
58
|
-
* @param {
|
|
59
|
-
*
|
|
60
|
-
* @
|
|
61
|
-
* @
|
|
58
|
+
* @param {string} arg.companyId - Numeric ID allotted to a business account
|
|
59
|
+
* on Fynd Platform
|
|
60
|
+
* @param {string} arg.applicationId - Alphanumeric ID allotted to an
|
|
61
|
+
* application (sales channel website) created within a business account
|
|
62
|
+
* @param {number} [arg.uid] - UID of companies to be fetched
|
|
63
|
+
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
64
|
+
* page. Default value is 10.
|
|
65
|
+
* @summary: Get companies enabled in the sales channel inventory
|
|
66
|
+
* @description: Fetch info of all the companies (e.g. name, uid, and company type) whose inventory is fetched into the current sales channel application
|
|
62
67
|
*/
|
|
63
68
|
getAppCompaniesPaginator({ companyId, applicationId, uid, pageSize }?: {
|
|
64
69
|
companyId: string;
|
|
@@ -69,31 +74,33 @@ declare class Configuration {
|
|
|
69
74
|
/**
|
|
70
75
|
* @param {Object} arg - Arg object.
|
|
71
76
|
* @returns {Promise<ApplicationInformation>} - Success response
|
|
72
|
-
* @summary: Get
|
|
73
|
-
* @description:
|
|
77
|
+
* @summary: Get current information of the sales channel
|
|
78
|
+
* @description: Fetch data such as social links, copyright text, business highlights, address and contact information of the company/seller/brand operating the application.
|
|
74
79
|
*/
|
|
75
80
|
getAppContactInfo({}?: any): Promise<ApplicationInformation>;
|
|
76
81
|
/**
|
|
77
82
|
* @param {Object} arg - Arg object.
|
|
78
83
|
* @returns {Promise<AppSupportedCurrency>} - Success response
|
|
79
|
-
* @summary: Get
|
|
80
|
-
* @description: Get
|
|
84
|
+
* @summary: Get currencies supported in the application
|
|
85
|
+
* @description: Get a list of currencies supported in the current sales channel. Moreover, get the cuurency that is set as the default one in the application.
|
|
81
86
|
*/
|
|
82
87
|
getAppCurrencyConfig({}?: any): Promise<AppSupportedCurrency>;
|
|
83
88
|
/**
|
|
84
89
|
* @param {Object} arg - Arg object.
|
|
85
90
|
* @returns {Promise<AppFeatureResponse>} - Success response
|
|
86
|
-
* @summary: Get
|
|
87
|
-
* @description:
|
|
91
|
+
* @summary: Get the sales channel configuration and features
|
|
92
|
+
* @description: Shows feature configuration of sales channel websites, such as product detail, landing page, options in the login/registration screen, home page, listing page, reward points, communication opt-in, cart options and many more.
|
|
88
93
|
*/
|
|
89
94
|
getAppFeatures({}?: any): Promise<AppFeatureResponse>;
|
|
90
95
|
/**
|
|
91
96
|
* @param {Object} arg - Arg object.
|
|
92
|
-
* @param {number} [arg.pageNo] -
|
|
93
|
-
*
|
|
97
|
+
* @param {number} [arg.pageNo] - The current page number to navigate
|
|
98
|
+
* through the given set of results. Default value is 1.
|
|
99
|
+
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
100
|
+
* page. Default value is 10.
|
|
94
101
|
* @returns {Promise<StoresResponse>} - Success response
|
|
95
|
-
* @summary:
|
|
96
|
-
* @description:
|
|
102
|
+
* @summary: Get stores enabled in the sales channel inventory
|
|
103
|
+
* @description: Fetch info of all the companies (e.g. uid, name, display name, store type, store code and company id) whose inventory is fetched into the current sales channel application
|
|
97
104
|
*/
|
|
98
105
|
getAppStores({ pageNo, pageSize }?: {
|
|
99
106
|
pageNo?: number;
|
|
@@ -101,11 +108,14 @@ declare class Configuration {
|
|
|
101
108
|
}): Promise<StoresResponse>;
|
|
102
109
|
/**
|
|
103
110
|
* @param {Object} arg - Arg object.
|
|
104
|
-
* @param {string} arg.companyId -
|
|
105
|
-
*
|
|
106
|
-
* @param {
|
|
107
|
-
*
|
|
108
|
-
* @
|
|
111
|
+
* @param {string} arg.companyId - Numeric ID allotted to a business account
|
|
112
|
+
* on Fynd Platform
|
|
113
|
+
* @param {string} arg.applicationId - Alphanumeric ID allotted to an
|
|
114
|
+
* application (sales channel website) created within a business account
|
|
115
|
+
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
116
|
+
* page. Default value is 10.
|
|
117
|
+
* @summary: Get stores enabled in the sales channel inventory
|
|
118
|
+
* @description: Fetch info of all the companies (e.g. uid, name, display name, store type, store code and company id) whose inventory is fetched into the current sales channel application
|
|
109
119
|
*/
|
|
110
120
|
getAppStoresPaginator({ companyId, applicationId, pageSize }?: {
|
|
111
121
|
companyId: string;
|
|
@@ -122,16 +132,17 @@ declare class Configuration {
|
|
|
122
132
|
/**
|
|
123
133
|
* @param {Object} arg - Arg object.
|
|
124
134
|
* @returns {Promise<Application>} - Success response
|
|
125
|
-
* @summary: Get
|
|
126
|
-
* @description:
|
|
135
|
+
* @summary: Get sales channel data by ID
|
|
136
|
+
* @description: Use application ID to get the current sales channel details which includes channel name, description, banner, logo, favicon, domain details, token, etc.
|
|
127
137
|
*/
|
|
128
138
|
getApplicationById({}?: any): Promise<Application>;
|
|
129
139
|
/**
|
|
130
140
|
* @param {Object} arg - Arg object.
|
|
131
|
-
* @param {string} arg.platformType -
|
|
141
|
+
* @param {string} arg.platformType - The device platform for which the
|
|
142
|
+
* mobile app is built, e.g. android, ios.
|
|
132
143
|
* @returns {Promise<MobileAppConfiguration>} - Success response
|
|
133
|
-
* @summary: Get latest build
|
|
134
|
-
* @description:
|
|
144
|
+
* @summary: Get configuration of latest mobile build
|
|
145
|
+
* @description: Fetch latest build configuration, such as app name, landing page image, splash image used in a mobile build.
|
|
135
146
|
*/
|
|
136
147
|
getBuildConfig({ platformType }?: {
|
|
137
148
|
platformType: string;
|
|
@@ -140,8 +151,8 @@ declare class Configuration {
|
|
|
140
151
|
* @param {Object} arg - Arg object.
|
|
141
152
|
* @param {DomainStatusRequest} arg.body
|
|
142
153
|
* @returns {Promise<DomainStatusResponse>} - Success response
|
|
143
|
-
* @summary: Get
|
|
144
|
-
* @description:
|
|
154
|
+
* @summary: Get the status of connected domain
|
|
155
|
+
* @description: Shows if the A records and TXT records of the domain correctly points to appropriate IP on Fynd Servers.
|
|
145
156
|
*/
|
|
146
157
|
getDomainStatus({ body }?: {
|
|
147
158
|
body: DomainStatusRequest;
|
|
@@ -149,25 +160,27 @@ declare class Configuration {
|
|
|
149
160
|
/**
|
|
150
161
|
* @param {Object} arg - Arg object.
|
|
151
162
|
* @returns {Promise<DomainsResponse>} - Success response
|
|
152
|
-
* @summary:
|
|
153
|
-
* @description: Get
|
|
163
|
+
* @summary: Fetch all the domains added to an application (sales channel website), including pre-defined domain (free domain) or custom domain (owned by the brand). Know the verification status of each domain name, and find out which one is the primary domain, short link domain, or both.
|
|
164
|
+
* @description: Get list of domains
|
|
154
165
|
*/
|
|
155
166
|
getDomains({}?: any): Promise<DomainsResponse>;
|
|
156
167
|
/**
|
|
157
168
|
* @param {Object} arg - Arg object.
|
|
158
169
|
* @returns {Promise<ApplicationInventory>} - Success response
|
|
159
|
-
* @summary: Get
|
|
160
|
-
* @description:
|
|
170
|
+
* @summary: Get sales channel configuration
|
|
171
|
+
* @description: Use this API to fetch configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc.
|
|
161
172
|
*/
|
|
162
173
|
getInventoryConfig({}?: any): Promise<ApplicationInventory>;
|
|
163
174
|
/**
|
|
164
175
|
* @param {Object} arg - Arg object.
|
|
165
|
-
* @param {number} [arg.pageNo] -
|
|
166
|
-
*
|
|
176
|
+
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
177
|
+
* given set of results. Default value is 1.
|
|
178
|
+
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
179
|
+
* page. Default value is 10.
|
|
167
180
|
* @param {FilterOrderingStoreRequest} arg.body
|
|
168
181
|
* @returns {Promise<OrderingStores>} - Success response
|
|
169
182
|
* @summary: Get ordering store by filter
|
|
170
|
-
* @description:
|
|
183
|
+
* @description: Use this API to use filters and retrieve the details of the deployment stores (the selling locations where the application will be utilised for placing orders).
|
|
171
184
|
*/
|
|
172
185
|
getOrderingStoresByFilter({ body, pageNo, pageSize }?: {
|
|
173
186
|
pageNo?: number;
|
|
@@ -176,12 +189,15 @@ declare class Configuration {
|
|
|
176
189
|
}): Promise<OrderingStores>;
|
|
177
190
|
/**
|
|
178
191
|
* @param {Object} arg - Arg object.
|
|
179
|
-
* @param {string} arg.companyId -
|
|
180
|
-
*
|
|
181
|
-
* @param {
|
|
192
|
+
* @param {string} arg.companyId - Numeric ID allotted to a business account
|
|
193
|
+
* on Fynd Platform
|
|
194
|
+
* @param {string} arg.applicationId - Alphanumeric ID allotted to an
|
|
195
|
+
* application (sales channel website) created within a business account
|
|
196
|
+
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
197
|
+
* page. Default value is 10.
|
|
182
198
|
* @param {FilterOrderingStoreRequest} arg.body
|
|
183
199
|
* @summary: Get ordering store by filter
|
|
184
|
-
* @description:
|
|
200
|
+
* @description: Use this API to use filters and retrieve the details of the deployment stores (the selling locations where the application will be utilised for placing orders).
|
|
185
201
|
*/
|
|
186
202
|
getOrderingStoresByFilterPaginator({ companyId, applicationId, pageSize, body, }?: {
|
|
187
203
|
companyId: string;
|
|
@@ -191,10 +207,11 @@ declare class Configuration {
|
|
|
191
207
|
}): Paginator;
|
|
192
208
|
/**
|
|
193
209
|
* @param {Object} arg - Arg object.
|
|
194
|
-
* @param {string} arg.platformType -
|
|
210
|
+
* @param {string} arg.platformType - The device platform for which the
|
|
211
|
+
* mobile app is built, e.g. android, ios.
|
|
195
212
|
* @returns {Promise<BuildVersionHistory>} - Success response
|
|
196
|
-
* @summary: Get previous
|
|
197
|
-
* @description:
|
|
213
|
+
* @summary: Get details of previous mobile builds
|
|
214
|
+
* @description: Fetch version details of the app, this includes the build status, build date, version name, latest version, and a lot more.
|
|
198
215
|
*/
|
|
199
216
|
getPreviousVersions({ platformType }?: {
|
|
200
217
|
platformType: string;
|
|
@@ -217,8 +234,10 @@ declare class Configuration {
|
|
|
217
234
|
}): Promise<OrderingStoresResponse>;
|
|
218
235
|
/**
|
|
219
236
|
* @param {Object} arg - Arg object.
|
|
220
|
-
* @param {string} arg.companyId -
|
|
221
|
-
*
|
|
237
|
+
* @param {string} arg.companyId - Numeric ID allotted to a business account
|
|
238
|
+
* on Fynd Platform
|
|
239
|
+
* @param {string} arg.applicationId - Alphanumeric ID allotted to an
|
|
240
|
+
* application (sales channel website) created within a business account
|
|
222
241
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
223
242
|
* page. Default value is 10.
|
|
224
243
|
* @param {string} [arg.q] - Store code or name of the ordering store.
|
|
@@ -245,18 +264,19 @@ declare class Configuration {
|
|
|
245
264
|
* @param {Object} arg - Arg object.
|
|
246
265
|
* @param {AppInventoryPartialUpdate} arg.body
|
|
247
266
|
* @returns {Promise<ApplicationInventory>} - Success response
|
|
248
|
-
* @summary: Partially update
|
|
249
|
-
* @description: Partially update
|
|
267
|
+
* @summary: Partially update sales channel configuration
|
|
268
|
+
* @description: Partially update the configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc.
|
|
250
269
|
*/
|
|
251
270
|
partiallyUpdateInventoryConfig({ body }?: {
|
|
252
271
|
body: AppInventoryPartialUpdate;
|
|
253
272
|
}): Promise<ApplicationInventory>;
|
|
254
273
|
/**
|
|
255
274
|
* @param {Object} arg - Arg object.
|
|
256
|
-
* @param {string} arg.id -
|
|
275
|
+
* @param {string} arg.id - The unique identifier (24-digit Mongo Object ID)
|
|
276
|
+
* of the domain
|
|
257
277
|
* @returns {Promise<SuccessMessageResponse>} - Success response
|
|
258
|
-
* @summary: Remove attached domain
|
|
259
|
-
* @description:
|
|
278
|
+
* @summary: Remove attached domain from current sales channel
|
|
279
|
+
* @description: Delete a domain (secondary or shortlink domain) added to a sales channel. It will disable user's access to website, shared links, and other features associated with this domain.
|
|
260
280
|
*/
|
|
261
281
|
removeDomainById({ id }?: {
|
|
262
282
|
id: string;
|
|
@@ -265,8 +285,8 @@ declare class Configuration {
|
|
|
265
285
|
* @param {Object} arg - Arg object.
|
|
266
286
|
* @param {TokenResponse} arg.body
|
|
267
287
|
* @returns {Promise<TokenResponse>} - Success response
|
|
268
|
-
* @summary: Add social tokens
|
|
269
|
-
* @description:
|
|
288
|
+
* @summary: Add or update social tokens for the sales channel
|
|
289
|
+
* @description: Use this API to add or edit the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google and Facebook auth.
|
|
270
290
|
*/
|
|
271
291
|
updateAppApiTokens({ body }?: {
|
|
272
292
|
body: TokenResponse;
|
|
@@ -275,8 +295,8 @@ declare class Configuration {
|
|
|
275
295
|
* @param {Object} arg - Arg object.
|
|
276
296
|
* @param {ApplicationDetail} arg.body
|
|
277
297
|
* @returns {Promise<ApplicationDetail>} - Success response
|
|
278
|
-
* @summary:
|
|
279
|
-
* @description:
|
|
298
|
+
* @summary: Update sales channel details
|
|
299
|
+
* @description: Modify sales channel details like name, description, logo, domain, company ID, and other related information.
|
|
280
300
|
*/
|
|
281
301
|
updateAppBasicDetails({ body }?: {
|
|
282
302
|
body: ApplicationDetail;
|
|
@@ -285,8 +305,8 @@ declare class Configuration {
|
|
|
285
305
|
* @param {Object} arg - Arg object.
|
|
286
306
|
* @param {ApplicationInformation} arg.body
|
|
287
307
|
* @returns {Promise<ApplicationInformation>} - Success response
|
|
288
|
-
* @summary:
|
|
289
|
-
* @description:
|
|
308
|
+
* @summary: Save or update current information of the sales channel
|
|
309
|
+
* @description: Modify the social links, copyright text, business highlights, address and contact information of the company/seller/brand operating the application.
|
|
290
310
|
*/
|
|
291
311
|
updateAppContactInfo({ body }?: {
|
|
292
312
|
body: ApplicationInformation;
|
|
@@ -295,8 +315,8 @@ declare class Configuration {
|
|
|
295
315
|
* @param {Object} arg - Arg object.
|
|
296
316
|
* @param {AppSupportedCurrency} arg.body
|
|
297
317
|
* @returns {Promise<AppSupportedCurrency>} - Success response
|
|
298
|
-
* @summary:
|
|
299
|
-
* @description:
|
|
318
|
+
* @summary: Update initial sales channel supported currency
|
|
319
|
+
* @description: Use this API to add and edit the currencies supported in the application. Initially, INR will be enabled by default.
|
|
300
320
|
*/
|
|
301
321
|
updateAppCurrencyConfig({ body }?: {
|
|
302
322
|
body: AppSupportedCurrency;
|
|
@@ -305,19 +325,20 @@ declare class Configuration {
|
|
|
305
325
|
* @param {Object} arg - Arg object.
|
|
306
326
|
* @param {AppFeatureRequest} arg.body
|
|
307
327
|
* @returns {Promise<AppFeature>} - Success response
|
|
308
|
-
* @summary: Update
|
|
309
|
-
* @description:
|
|
328
|
+
* @summary: Update the sales channel configuration and features
|
|
329
|
+
* @description: Modify the feature configuration of sales channel websites, such as product detail, landing page, options in the login/registration screen, home page, listing page, reward points, communication opt-in, cart options and many more.
|
|
310
330
|
*/
|
|
311
331
|
updateAppFeatures({ body }?: {
|
|
312
332
|
body: AppFeatureRequest;
|
|
313
333
|
}): Promise<AppFeature>;
|
|
314
334
|
/**
|
|
315
335
|
* @param {Object} arg - Arg object.
|
|
316
|
-
* @param {string} arg.platformType -
|
|
336
|
+
* @param {string} arg.platformType - The device platform for which the
|
|
337
|
+
* mobile app is built, e.g. android, ios.
|
|
317
338
|
* @param {MobileAppConfigRequest} arg.body
|
|
318
339
|
* @returns {Promise<MobileAppConfiguration>} - Success response
|
|
319
|
-
* @summary: Update
|
|
320
|
-
* @description:
|
|
340
|
+
* @summary: Update the configuration for next mobile build
|
|
341
|
+
* @description: Modify the existing build configuration, such as app name, landing page image, splash image used in a mobile build.
|
|
321
342
|
*/
|
|
322
343
|
updateBuildConfig({ platformType, body }?: {
|
|
323
344
|
platformType: string;
|
|
@@ -327,8 +348,8 @@ declare class Configuration {
|
|
|
327
348
|
* @param {Object} arg - Arg object.
|
|
328
349
|
* @param {ApplicationInventory} arg.body
|
|
329
350
|
* @returns {Promise<ApplicationInventory>} - Success response
|
|
330
|
-
* @summary: Update
|
|
331
|
-
* @description:
|
|
351
|
+
* @summary: Update sales channel configuration
|
|
352
|
+
* @description: Modify the configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc.
|
|
332
353
|
*/
|
|
333
354
|
updateInventoryConfig({ body }?: {
|
|
334
355
|
body: ApplicationInventory;
|
|
@@ -338,7 +359,7 @@ declare class Configuration {
|
|
|
338
359
|
* @param {OrderingStoreConfig} arg.body
|
|
339
360
|
* @returns {Promise<DeploymentMeta>} - Success response
|
|
340
361
|
* @summary: Add/Update ordering store config
|
|
341
|
-
* @description:
|
|
362
|
+
* @description: Use this API to edit the details of the deployment stores (the selling locations where the application will be utilised for placing orders)
|
|
342
363
|
*/
|
|
343
364
|
updateOrderingStoreConfig({ body }?: {
|
|
344
365
|
body: OrderingStoreConfig;
|