@gofynd/fdk-client-javascript 1.0.1 → 1.0.2
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/documentation/application/CART.md +251 -251
- package/documentation/application/CATALOG.md +414 -414
- package/documentation/application/CONTENT.md +15 -1
- package/documentation/application/ORDER.md +290 -290
- package/documentation/application/PAYMENT.md +255 -255
- package/documentation/application/POSCART.md +297 -297
- package/documentation/platform/CART.md +499 -499
- package/documentation/platform/CATALOG.md +3088 -2702
- package/documentation/platform/COMPANYPROFILE.md +201 -201
- package/documentation/platform/CONTENT.md +123 -1
- package/documentation/platform/ORDER.md +1233 -1158
- package/documentation/platform/PARTNER.md +7 -7
- package/documentation/platform/PAYMENT.md +83 -83
- package/package.json +1 -1
- package/sdk/application/ApplicationConfig.js +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +619 -108
- package/sdk/application/Cart/CartApplicationModel.d.ts +7 -7
- package/sdk/application/Cart/CartApplicationModel.js +335 -335
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.js +730 -134
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +21 -21
- package/sdk/application/Catalog/CatalogApplicationModel.js +547 -547
- package/sdk/application/Common/CommonApplicationClient.js +48 -8
- package/sdk/application/Communication/CommunicationApplicationClient.js +75 -14
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +392 -66
- package/sdk/application/Content/ContentApplicationClient.js +444 -76
- package/sdk/application/Content/ContentApplicationModel.d.ts +1 -0
- package/sdk/application/Content/ContentApplicationModel.js +11 -1
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +74 -12
- package/sdk/application/Lead/LeadApplicationClient.js +164 -30
- package/sdk/application/Logistic/LogisticApplicationClient.js +98 -16
- package/sdk/application/Order/OrderApplicationClient.d.ts +1 -1
- package/sdk/application/Order/OrderApplicationClient.js +287 -54
- package/sdk/application/Order/OrderApplicationModel.d.ts +19 -19
- package/sdk/application/Order/OrderApplicationModel.js +357 -357
- package/sdk/application/Payment/PaymentApplicationClient.js +961 -186
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +3 -3
- package/sdk/application/Payment/PaymentApplicationModel.js +352 -352
- package/sdk/application/PosCart/PosCartApplicationClient.js +645 -114
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +15 -15
- package/sdk/application/PosCart/PosCartApplicationModel.js +389 -389
- package/sdk/application/Rewards/RewardsApplicationClient.js +168 -28
- package/sdk/application/Share/ShareApplicationClient.js +157 -32
- package/sdk/application/Theme/ThemeApplicationClient.js +94 -16
- package/sdk/application/User/UserApplicationClient.js +806 -148
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +16 -8
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +191 -34
- package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +8 -4
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +103 -16
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +103 -16
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +24 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +299 -54
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +34 -17
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +409 -72
- package/sdk/platform/Cart/CartPlatformModel.d.ts +35 -35
- package/sdk/platform/Cart/CartPlatformModel.js +617 -617
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +167 -114
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1562 -453
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +39 -39
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +314 -196
- package/sdk/platform/Catalog/CatalogPlatformClient.js +2459 -718
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +103 -94
- package/sdk/platform/Catalog/CatalogPlatformModel.js +2063 -1797
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +17 -15
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +95 -76
- package/sdk/platform/Common/CommonPlatformClient.d.ts +4 -2
- package/sdk/platform/Common/CommonPlatformClient.js +51 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -40
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1000 -168
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +28 -4
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +27 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +335 -54
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +10 -10
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +278 -278
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +56 -28
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +702 -118
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +457 -82
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +148 -67
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1724 -284
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +4 -0
- package/sdk/platform/Content/ContentPlatformModel.js +43 -1
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +21 -10
- package/sdk/platform/Discount/DiscountPlatformClient.js +270 -44
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +8 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +102 -16
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +12 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +150 -24
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +27 -14
- package/sdk/platform/Inventory/InventoryPlatformClient.js +316 -52
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +26 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +311 -52
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +266 -44
- package/sdk/platform/OAuthClient.js +8 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -3
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +78 -14
- package/sdk/platform/Order/OrderPlatformClient.d.ts +95 -43
- package/sdk/platform/Order/OrderPlatformClient.js +1062 -180
- package/sdk/platform/Order/OrderPlatformModel.d.ts +64 -60
- package/sdk/platform/Order/OrderPlatformModel.js +1481 -1425
- package/sdk/platform/Order/OrderPlatformValidator.js +5 -0
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +52 -8
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +22 -11
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +287 -56
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +21 -11
- package/sdk/platform/Payment/PaymentPlatformClient.js +263 -48
- package/sdk/platform/Payment/PaymentPlatformModel.js +122 -122
- package/sdk/platform/PlatformApplicationClient.d.ts +2959 -2787
- package/sdk/platform/PlatformApplicationClient.js +3420 -3212
- package/sdk/platform/PlatformClient.d.ts +2959 -2787
- package/sdk/platform/PlatformClient.js +3420 -3212
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +26 -13
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +308 -54
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +8 -4
- package/sdk/platform/Share/SharePlatformApplicationClient.js +94 -16
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +47 -23
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +571 -96
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +24 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +296 -48
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +12 -6
- package/sdk/platform/Webhook/WebhookPlatformClient.js +157 -30
- package/sdk/public/Configuration/ConfigurationPublicClient.js +51 -8
- package/sdk/public/Inventory/InventoryPublicClient.js +149 -26
- package/sdk/public/Webhook/WebhookPublicClient.js +51 -10
|
@@ -6,97 +6,109 @@ declare class Configuration {
|
|
|
6
6
|
/**
|
|
7
7
|
* @param {Object} arg - Arg object.
|
|
8
8
|
* @param {string} arg.platformType - Current platform name
|
|
9
|
+
* @returns {Promise<MobileAppConfiguration>} - Success response
|
|
9
10
|
* @summary: Get latest build config
|
|
10
11
|
* @description: Get latest build config
|
|
11
12
|
*/
|
|
12
13
|
getBuildConfig({ platformType }?: {
|
|
13
14
|
platformType: string;
|
|
14
|
-
}): Promise<
|
|
15
|
+
}): Promise<MobileAppConfiguration>;
|
|
15
16
|
/**
|
|
16
17
|
* @param {Object} arg - Arg object.
|
|
17
18
|
* @param {string} arg.platformType - Current platform name
|
|
18
19
|
* @param {MobileAppConfigRequest} arg.body
|
|
20
|
+
* @returns {Promise<MobileAppConfiguration>} - Success response
|
|
19
21
|
* @summary: Update build config for next build
|
|
20
22
|
* @description: Update build config for next build
|
|
21
23
|
*/
|
|
22
24
|
updateBuildConfig({ platformType, body }?: {
|
|
23
25
|
platformType: string;
|
|
24
26
|
body: MobileAppConfigRequest;
|
|
25
|
-
}): Promise<
|
|
27
|
+
}): Promise<MobileAppConfiguration>;
|
|
26
28
|
/**
|
|
27
29
|
* @param {Object} arg - Arg object.
|
|
28
30
|
* @param {string} arg.platformType - Current platform name
|
|
31
|
+
* @returns {Promise<BuildVersionHistory>} - Success response
|
|
29
32
|
* @summary: Get previous build versions
|
|
30
33
|
* @description: Get previous build versions
|
|
31
34
|
*/
|
|
32
35
|
getPreviousVersions({ platformType }?: {
|
|
33
36
|
platformType: string;
|
|
34
|
-
}): Promise<
|
|
37
|
+
}): Promise<BuildVersionHistory>;
|
|
35
38
|
/**
|
|
36
39
|
* @param {Object} arg - Arg object.
|
|
40
|
+
* @returns {Promise<AppFeatureResponse>} - Success response
|
|
37
41
|
* @summary: Get features of application
|
|
38
42
|
* @description: Get features of application
|
|
39
43
|
*/
|
|
40
|
-
getAppFeatures({}?: any): Promise<
|
|
44
|
+
getAppFeatures({}?: any): Promise<AppFeatureResponse>;
|
|
41
45
|
/**
|
|
42
46
|
* @param {Object} arg - Arg object.
|
|
43
47
|
* @param {AppFeatureRequest} arg.body
|
|
48
|
+
* @returns {Promise<AppFeature>} - Success response
|
|
44
49
|
* @summary: Update features of application
|
|
45
50
|
* @description: Update features of application
|
|
46
51
|
*/
|
|
47
52
|
updateAppFeatures({ body }?: {
|
|
48
53
|
body: AppFeatureRequest;
|
|
49
|
-
}): Promise<
|
|
54
|
+
}): Promise<AppFeature>;
|
|
50
55
|
/**
|
|
51
56
|
* @param {Object} arg - Arg object.
|
|
57
|
+
* @returns {Promise<ApplicationDetail>} - Success response
|
|
52
58
|
* @summary: Get basic application details
|
|
53
59
|
* @description: Get basic application details like name
|
|
54
60
|
*/
|
|
55
|
-
getAppBasicDetails({}?: any): Promise<
|
|
61
|
+
getAppBasicDetails({}?: any): Promise<ApplicationDetail>;
|
|
56
62
|
/**
|
|
57
63
|
* @param {Object} arg - Arg object.
|
|
58
64
|
* @param {ApplicationDetail} arg.body
|
|
65
|
+
* @returns {Promise<ApplicationDetail>} - Success response
|
|
59
66
|
* @summary: Add or update application's basic details
|
|
60
67
|
* @description: Add or update application's basic details
|
|
61
68
|
*/
|
|
62
69
|
updateAppBasicDetails({ body }?: {
|
|
63
70
|
body: ApplicationDetail;
|
|
64
|
-
}): Promise<
|
|
71
|
+
}): Promise<ApplicationDetail>;
|
|
65
72
|
/**
|
|
66
73
|
* @param {Object} arg - Arg object.
|
|
74
|
+
* @returns {Promise<ApplicationInformation>} - Success response
|
|
67
75
|
* @summary: Get application information
|
|
68
76
|
* @description: Get Application Current Information. This includes information about social links, address and contact information of company/seller/brand of the application.
|
|
69
77
|
*/
|
|
70
|
-
getAppContactInfo({}?: any): Promise<
|
|
78
|
+
getAppContactInfo({}?: any): Promise<ApplicationInformation>;
|
|
71
79
|
/**
|
|
72
80
|
* @param {Object} arg - Arg object.
|
|
73
81
|
* @param {ApplicationInformation} arg.body
|
|
82
|
+
* @returns {Promise<ApplicationInformation>} - Success response
|
|
74
83
|
* @summary: Get application information
|
|
75
84
|
* @description: Save Application Current Information. This includes information about social links, address and contact information of an application.
|
|
76
85
|
*/
|
|
77
86
|
updateAppContactInfo({ body }?: {
|
|
78
87
|
body: ApplicationInformation;
|
|
79
|
-
}): Promise<
|
|
88
|
+
}): Promise<ApplicationInformation>;
|
|
80
89
|
/**
|
|
81
90
|
* @param {Object} arg - Arg object.
|
|
91
|
+
* @returns {Promise<TokenResponse>} - Success response
|
|
82
92
|
* @summary: Get social tokens
|
|
83
93
|
* @description: Get social tokens.
|
|
84
94
|
*/
|
|
85
|
-
getAppApiTokens({}?: any): Promise<
|
|
95
|
+
getAppApiTokens({}?: any): Promise<TokenResponse>;
|
|
86
96
|
/**
|
|
87
97
|
* @param {Object} arg - Arg object.
|
|
88
98
|
* @param {TokenResponse} arg.body
|
|
99
|
+
* @returns {Promise<TokenResponse>} - Success response
|
|
89
100
|
* @summary: Add social tokens
|
|
90
101
|
* @description: Add social tokens.
|
|
91
102
|
*/
|
|
92
103
|
updateAppApiTokens({ body }?: {
|
|
93
104
|
body: TokenResponse;
|
|
94
|
-
}): Promise<
|
|
105
|
+
}): Promise<TokenResponse>;
|
|
95
106
|
/**
|
|
96
107
|
* @param {Object} arg - Arg object.
|
|
97
108
|
* @param {number} [arg.uid] - Uid of companies to be fetched
|
|
98
109
|
* @param {number} [arg.pageNo] - Current page no
|
|
99
110
|
* @param {number} [arg.pageSize] - Current request items count
|
|
111
|
+
* @returns {Promise<CompaniesResponse>} - Success response
|
|
100
112
|
* @summary: Application inventory enabled companies
|
|
101
113
|
* @description: Application inventory enabled companies.
|
|
102
114
|
*/
|
|
@@ -104,7 +116,7 @@ declare class Configuration {
|
|
|
104
116
|
uid?: number;
|
|
105
117
|
pageNo?: number;
|
|
106
118
|
pageSize?: number;
|
|
107
|
-
}): Promise<
|
|
119
|
+
}): Promise<CompaniesResponse>;
|
|
108
120
|
/**
|
|
109
121
|
* @param {Object} arg - Arg object.
|
|
110
122
|
* @param {string} arg.companyId - Current company id
|
|
@@ -124,13 +136,14 @@ declare class Configuration {
|
|
|
124
136
|
* @param {Object} arg - Arg object.
|
|
125
137
|
* @param {number} [arg.pageNo] - Current page no
|
|
126
138
|
* @param {number} [arg.pageSize] - Current request items count
|
|
139
|
+
* @returns {Promise<StoresResponse>} - Success response
|
|
127
140
|
* @summary: Application inventory enabled stores
|
|
128
141
|
* @description: Application inventory enabled stores.
|
|
129
142
|
*/
|
|
130
143
|
getAppStores({ pageNo, pageSize }?: {
|
|
131
144
|
pageNo?: number;
|
|
132
145
|
pageSize?: number;
|
|
133
|
-
}): Promise<
|
|
146
|
+
}): Promise<StoresResponse>;
|
|
134
147
|
/**
|
|
135
148
|
* @param {Object} arg - Arg object.
|
|
136
149
|
* @param {string} arg.companyId - Current company id
|
|
@@ -146,54 +159,61 @@ declare class Configuration {
|
|
|
146
159
|
}): Paginator;
|
|
147
160
|
/**
|
|
148
161
|
* @param {Object} arg - Arg object.
|
|
162
|
+
* @returns {Promise<ApplicationInventory>} - Success response
|
|
149
163
|
* @summary: Get application configuration
|
|
150
164
|
* @description: Get application configuration for various features and data
|
|
151
165
|
*/
|
|
152
|
-
getInventoryConfig({}?: any): Promise<
|
|
166
|
+
getInventoryConfig({}?: any): Promise<ApplicationInventory>;
|
|
153
167
|
/**
|
|
154
168
|
* @param {Object} arg - Arg object.
|
|
155
169
|
* @param {ApplicationInventory} arg.body
|
|
170
|
+
* @returns {Promise<ApplicationInventory>} - Success response
|
|
156
171
|
* @summary: Update application configuration
|
|
157
172
|
* @description: Update application configuration for various features and data
|
|
158
173
|
*/
|
|
159
174
|
updateInventoryConfig({ body }?: {
|
|
160
175
|
body: ApplicationInventory;
|
|
161
|
-
}): Promise<
|
|
176
|
+
}): Promise<ApplicationInventory>;
|
|
162
177
|
/**
|
|
163
178
|
* @param {Object} arg - Arg object.
|
|
164
179
|
* @param {AppInventoryPartialUpdate} arg.body
|
|
180
|
+
* @returns {Promise<ApplicationInventory>} - Success response
|
|
165
181
|
* @summary: Partially update application configuration
|
|
166
182
|
* @description: Partially update application configuration for various features and data
|
|
167
183
|
*/
|
|
168
184
|
partiallyUpdateInventoryConfig({ body }?: {
|
|
169
185
|
body: AppInventoryPartialUpdate;
|
|
170
|
-
}): Promise<
|
|
186
|
+
}): Promise<ApplicationInventory>;
|
|
171
187
|
/**
|
|
172
188
|
* @param {Object} arg - Arg object.
|
|
189
|
+
* @returns {Promise<AppSupportedCurrency>} - Success response
|
|
173
190
|
* @summary: Get application enabled currency list
|
|
174
191
|
* @description: Get application enabled currency list
|
|
175
192
|
*/
|
|
176
|
-
getAppCurrencyConfig({}?: any): Promise<
|
|
193
|
+
getAppCurrencyConfig({}?: any): Promise<AppSupportedCurrency>;
|
|
177
194
|
/**
|
|
178
195
|
* @param {Object} arg - Arg object.
|
|
179
196
|
* @param {AppSupportedCurrency} arg.body
|
|
197
|
+
* @returns {Promise<AppSupportedCurrency>} - Success response
|
|
180
198
|
* @summary: Add initial application supported currency
|
|
181
199
|
* @description: Add initial application supported currency for various features and data. Default INR will be enabled.
|
|
182
200
|
*/
|
|
183
201
|
updateAppCurrencyConfig({ body }?: {
|
|
184
202
|
body: AppSupportedCurrency;
|
|
185
|
-
}): Promise<
|
|
203
|
+
}): Promise<AppSupportedCurrency>;
|
|
186
204
|
/**
|
|
187
205
|
* @param {Object} arg - Arg object.
|
|
206
|
+
* @returns {Promise<AppCurrencyResponse>} - Success response
|
|
188
207
|
* @summary: Get currencies enabled in the application
|
|
189
208
|
* @description: Use this API to get a list of currencies allowed in the current application. Moreover, get the name, code, symbol, and the decimal digits of the currencies.
|
|
190
209
|
*/
|
|
191
|
-
getAppSupportedCurrency({}?: any): Promise<
|
|
210
|
+
getAppSupportedCurrency({}?: any): Promise<AppCurrencyResponse>;
|
|
192
211
|
/**
|
|
193
212
|
* @param {Object} arg - Arg object.
|
|
194
213
|
* @param {number} [arg.pageNo] - Current page no
|
|
195
214
|
* @param {number} [arg.pageSize] - Current request items count
|
|
196
215
|
* @param {FilterOrderingStoreRequest} arg.body
|
|
216
|
+
* @returns {Promise<OrderingStores>} - Success response
|
|
197
217
|
* @summary: Get ordering store by filter
|
|
198
218
|
* @description: Get ordering store by filter
|
|
199
219
|
*/
|
|
@@ -201,7 +221,7 @@ declare class Configuration {
|
|
|
201
221
|
pageNo?: number;
|
|
202
222
|
pageSize?: number;
|
|
203
223
|
body: FilterOrderingStoreRequest;
|
|
204
|
-
}): Promise<
|
|
224
|
+
}): Promise<OrderingStores>;
|
|
205
225
|
/**
|
|
206
226
|
* @param {Object} arg - Arg object.
|
|
207
227
|
* @param {string} arg.companyId - Current company id
|
|
@@ -220,12 +240,13 @@ declare class Configuration {
|
|
|
220
240
|
/**
|
|
221
241
|
* @param {Object} arg - Arg object.
|
|
222
242
|
* @param {OrderingStoreConfig} arg.body
|
|
243
|
+
* @returns {Promise<DeploymentMeta>} - Success response
|
|
223
244
|
* @summary: Add/Update ordering store config
|
|
224
245
|
* @description: Add/Update ordering store config.
|
|
225
246
|
*/
|
|
226
247
|
updateOrderingStoreConfig({ body }?: {
|
|
227
248
|
body: OrderingStoreConfig;
|
|
228
|
-
}): Promise<
|
|
249
|
+
}): Promise<DeploymentMeta>;
|
|
229
250
|
/**
|
|
230
251
|
* @param {Object} arg - Arg object.
|
|
231
252
|
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
@@ -233,6 +254,7 @@ declare class Configuration {
|
|
|
233
254
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
234
255
|
* page. Default value is 10.
|
|
235
256
|
* @param {string} [arg.q] - Store code or name of the ordering store.
|
|
257
|
+
* @returns {Promise<OrderingStoresResponse>} - Success response
|
|
236
258
|
* @summary: Get deployment stores
|
|
237
259
|
* @description: Use this API to retrieve the details of all stores access given to the staff member (the selling locations where the application will be utilized for placing orders).
|
|
238
260
|
*/
|
|
@@ -240,7 +262,7 @@ declare class Configuration {
|
|
|
240
262
|
pageNo?: number;
|
|
241
263
|
pageSize?: number;
|
|
242
264
|
q?: string;
|
|
243
|
-
}): Promise<
|
|
265
|
+
}): Promise<OrderingStoresResponse>;
|
|
244
266
|
/**
|
|
245
267
|
* @param {Object} arg - Arg object.
|
|
246
268
|
* @param {string} arg.companyId - Current company id
|
|
@@ -259,51 +281,57 @@ declare class Configuration {
|
|
|
259
281
|
}): Paginator;
|
|
260
282
|
/**
|
|
261
283
|
* @param {Object} arg - Arg object.
|
|
284
|
+
* @returns {Promise<DomainsResponse>} - Success response
|
|
262
285
|
* @summary: Get attached domain list
|
|
263
286
|
* @description: Get attached domain list.
|
|
264
287
|
*/
|
|
265
|
-
getDomains({}?: any): Promise<
|
|
288
|
+
getDomains({}?: any): Promise<DomainsResponse>;
|
|
266
289
|
/**
|
|
267
290
|
* @param {Object} arg - Arg object.
|
|
268
291
|
* @param {DomainAddRequest} arg.body
|
|
292
|
+
* @returns {Promise<Domain>} - Success response
|
|
269
293
|
* @summary: Add new domain to application
|
|
270
294
|
* @description: Add new domain to application.
|
|
271
295
|
*/
|
|
272
296
|
addDomain({ body }?: {
|
|
273
297
|
body: DomainAddRequest;
|
|
274
|
-
}): Promise<
|
|
298
|
+
}): Promise<Domain>;
|
|
275
299
|
/**
|
|
276
300
|
* @param {Object} arg - Arg object.
|
|
277
301
|
* @param {string} arg.id - Domain _id
|
|
302
|
+
* @returns {Promise<SuccessMessageResponse>} - Success response
|
|
278
303
|
* @summary: Remove attached domain
|
|
279
304
|
* @description: Remove attached domain.
|
|
280
305
|
*/
|
|
281
306
|
removeDomainById({ id }?: {
|
|
282
307
|
id: string;
|
|
283
|
-
}): Promise<
|
|
308
|
+
}): Promise<SuccessMessageResponse>;
|
|
284
309
|
/**
|
|
285
310
|
* @param {Object} arg - Arg object.
|
|
286
311
|
* @param {UpdateDomainTypeRequest} arg.body
|
|
312
|
+
* @returns {Promise<DomainsResponse>} - Success response
|
|
287
313
|
* @summary: Change domain type
|
|
288
314
|
* @description: Change a domain to Primary or Shortlink domain
|
|
289
315
|
*/
|
|
290
316
|
changeDomainType({ body }?: {
|
|
291
317
|
body: UpdateDomainTypeRequest;
|
|
292
|
-
}): Promise<
|
|
318
|
+
}): Promise<DomainsResponse>;
|
|
293
319
|
/**
|
|
294
320
|
* @param {Object} arg - Arg object.
|
|
295
321
|
* @param {DomainStatusRequest} arg.body
|
|
322
|
+
* @returns {Promise<DomainStatusResponse>} - Success response
|
|
296
323
|
* @summary: Get domain connected status.
|
|
297
324
|
* @description: Get domain connected status. Check if domain is live and mapped to appropriate IP to fynd servers.
|
|
298
325
|
*/
|
|
299
326
|
getDomainStatus({ body }?: {
|
|
300
327
|
body: DomainStatusRequest;
|
|
301
|
-
}): Promise<
|
|
328
|
+
}): Promise<DomainStatusResponse>;
|
|
302
329
|
/**
|
|
303
330
|
* @param {Object} arg - Arg object.
|
|
331
|
+
* @returns {Promise<Application>} - Success response
|
|
304
332
|
* @summary: Get application data from id
|
|
305
333
|
* @description: Get application data from id
|
|
306
334
|
*/
|
|
307
|
-
getApplicationById({}?: any): Promise<
|
|
335
|
+
getApplicationById({}?: any): Promise<Application>;
|
|
308
336
|
}
|
|
309
337
|
import Paginator = require("../../common/Paginator");
|