@gooday_corp/gooday-api-client 1.0.17 → 1.1.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/api.ts +17 -898
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -147,297 +147,6 @@ export interface AttributesDto {
|
|
|
147
147
|
*/
|
|
148
148
|
'dislikes': Array<string>;
|
|
149
149
|
}
|
|
150
|
-
/**
|
|
151
|
-
*
|
|
152
|
-
* @export
|
|
153
|
-
* @interface BusinessEntity
|
|
154
|
-
*/
|
|
155
|
-
export interface BusinessEntity {
|
|
156
|
-
/**
|
|
157
|
-
* Unique identifier for the Business
|
|
158
|
-
* @type {string}
|
|
159
|
-
* @memberof BusinessEntity
|
|
160
|
-
*/
|
|
161
|
-
'_id': string;
|
|
162
|
-
/**
|
|
163
|
-
* Business Timing
|
|
164
|
-
* @type {Array<BusinessTiming>}
|
|
165
|
-
* @memberof BusinessEntity
|
|
166
|
-
*/
|
|
167
|
-
'timing'?: Array<BusinessTiming>;
|
|
168
|
-
/**
|
|
169
|
-
* Business policies
|
|
170
|
-
* @type {string}
|
|
171
|
-
* @memberof BusinessEntity
|
|
172
|
-
*/
|
|
173
|
-
'policies'?: string;
|
|
174
|
-
/**
|
|
175
|
-
* Business cancellationFree
|
|
176
|
-
* @type {number}
|
|
177
|
-
* @memberof BusinessEntity
|
|
178
|
-
*/
|
|
179
|
-
'cancellationFree'?: number;
|
|
180
|
-
/**
|
|
181
|
-
* Business ID
|
|
182
|
-
* @type {string}
|
|
183
|
-
* @memberof BusinessEntity
|
|
184
|
-
*/
|
|
185
|
-
'businessID'?: string;
|
|
186
|
-
/**
|
|
187
|
-
* Business Country
|
|
188
|
-
* @type {string}
|
|
189
|
-
* @memberof BusinessEntity
|
|
190
|
-
*/
|
|
191
|
-
'businessCountry'?: string;
|
|
192
|
-
/**
|
|
193
|
-
* Business Type
|
|
194
|
-
* @type {string}
|
|
195
|
-
* @memberof BusinessEntity
|
|
196
|
-
*/
|
|
197
|
-
'businessType'?: string;
|
|
198
|
-
/**
|
|
199
|
-
* Business Category
|
|
200
|
-
* @type {Array<string>}
|
|
201
|
-
* @memberof BusinessEntity
|
|
202
|
-
*/
|
|
203
|
-
'businessCategory'?: Array<string>;
|
|
204
|
-
/**
|
|
205
|
-
* Business Employee
|
|
206
|
-
* @type {string}
|
|
207
|
-
* @memberof BusinessEntity
|
|
208
|
-
*/
|
|
209
|
-
'numberOfEmployees'?: string;
|
|
210
|
-
/**
|
|
211
|
-
* Business Type
|
|
212
|
-
* @type {string}
|
|
213
|
-
* @memberof BusinessEntity
|
|
214
|
-
*/
|
|
215
|
-
'priceRange'?: string;
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
*
|
|
219
|
-
* @export
|
|
220
|
-
* @interface BusinessOnBoardingDTO
|
|
221
|
-
*/
|
|
222
|
-
export interface BusinessOnBoardingDTO {
|
|
223
|
-
/**
|
|
224
|
-
* Business Timing
|
|
225
|
-
* @type {Array<BusinessTiming>}
|
|
226
|
-
* @memberof BusinessOnBoardingDTO
|
|
227
|
-
*/
|
|
228
|
-
'timing'?: Array<BusinessTiming>;
|
|
229
|
-
/**
|
|
230
|
-
* Business policies
|
|
231
|
-
* @type {string}
|
|
232
|
-
* @memberof BusinessOnBoardingDTO
|
|
233
|
-
*/
|
|
234
|
-
'policies'?: string;
|
|
235
|
-
/**
|
|
236
|
-
* Business cancellationFree
|
|
237
|
-
* @type {number}
|
|
238
|
-
* @memberof BusinessOnBoardingDTO
|
|
239
|
-
*/
|
|
240
|
-
'cancellationFree'?: number;
|
|
241
|
-
/**
|
|
242
|
-
* Business ID
|
|
243
|
-
* @type {string}
|
|
244
|
-
* @memberof BusinessOnBoardingDTO
|
|
245
|
-
*/
|
|
246
|
-
'businessID'?: string;
|
|
247
|
-
/**
|
|
248
|
-
* Business Country
|
|
249
|
-
* @type {string}
|
|
250
|
-
* @memberof BusinessOnBoardingDTO
|
|
251
|
-
*/
|
|
252
|
-
'businessCountry'?: string;
|
|
253
|
-
/**
|
|
254
|
-
* Business Type
|
|
255
|
-
* @type {string}
|
|
256
|
-
* @memberof BusinessOnBoardingDTO
|
|
257
|
-
*/
|
|
258
|
-
'businessType'?: string;
|
|
259
|
-
/**
|
|
260
|
-
* Business Category
|
|
261
|
-
* @type {Array<string>}
|
|
262
|
-
* @memberof BusinessOnBoardingDTO
|
|
263
|
-
*/
|
|
264
|
-
'businessCategory'?: Array<string>;
|
|
265
|
-
/**
|
|
266
|
-
* Business Employee
|
|
267
|
-
* @type {string}
|
|
268
|
-
* @memberof BusinessOnBoardingDTO
|
|
269
|
-
*/
|
|
270
|
-
'numberOfEmployees'?: string;
|
|
271
|
-
/**
|
|
272
|
-
* Assistant ID
|
|
273
|
-
* @type {string}
|
|
274
|
-
* @memberof BusinessOnBoardingDTO
|
|
275
|
-
*/
|
|
276
|
-
'assistant'?: string;
|
|
277
|
-
/**
|
|
278
|
-
* Business Type
|
|
279
|
-
* @type {string}
|
|
280
|
-
* @memberof BusinessOnBoardingDTO
|
|
281
|
-
*/
|
|
282
|
-
'priceRange'?: string;
|
|
283
|
-
/**
|
|
284
|
-
* Business Active
|
|
285
|
-
* @type {boolean}
|
|
286
|
-
* @memberof BusinessOnBoardingDTO
|
|
287
|
-
*/
|
|
288
|
-
'isActive'?: boolean;
|
|
289
|
-
/**
|
|
290
|
-
* Business Account Confirmation
|
|
291
|
-
* @type {boolean}
|
|
292
|
-
* @memberof BusinessOnBoardingDTO
|
|
293
|
-
*/
|
|
294
|
-
'accountConfirmation'?: boolean;
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
*
|
|
298
|
-
* @export
|
|
299
|
-
* @interface BusinessOnBoardingResponseDTO
|
|
300
|
-
*/
|
|
301
|
-
export interface BusinessOnBoardingResponseDTO {
|
|
302
|
-
/**
|
|
303
|
-
* statusCode
|
|
304
|
-
* @type {number}
|
|
305
|
-
* @memberof BusinessOnBoardingResponseDTO
|
|
306
|
-
*/
|
|
307
|
-
'statusCode': number;
|
|
308
|
-
/**
|
|
309
|
-
* User
|
|
310
|
-
* @type {BusinessEntity}
|
|
311
|
-
* @memberof BusinessOnBoardingResponseDTO
|
|
312
|
-
*/
|
|
313
|
-
'data': BusinessEntity;
|
|
314
|
-
}
|
|
315
|
-
/**
|
|
316
|
-
*
|
|
317
|
-
* @export
|
|
318
|
-
* @interface BusinessTime
|
|
319
|
-
*/
|
|
320
|
-
export interface BusinessTime {
|
|
321
|
-
/**
|
|
322
|
-
* Business open time
|
|
323
|
-
* @type {string}
|
|
324
|
-
* @memberof BusinessTime
|
|
325
|
-
*/
|
|
326
|
-
'openAt': string;
|
|
327
|
-
/**
|
|
328
|
-
* Business close time
|
|
329
|
-
* @type {string}
|
|
330
|
-
* @memberof BusinessTime
|
|
331
|
-
*/
|
|
332
|
-
'closeAt': string;
|
|
333
|
-
}
|
|
334
|
-
/**
|
|
335
|
-
*
|
|
336
|
-
* @export
|
|
337
|
-
* @interface BusinessTiming
|
|
338
|
-
*/
|
|
339
|
-
export interface BusinessTiming {
|
|
340
|
-
/**
|
|
341
|
-
*
|
|
342
|
-
* @type {Array<BusinessTime>}
|
|
343
|
-
* @memberof BusinessTiming
|
|
344
|
-
*/
|
|
345
|
-
'time'?: Array<BusinessTime>;
|
|
346
|
-
/**
|
|
347
|
-
* Day name
|
|
348
|
-
* @type {string}
|
|
349
|
-
* @memberof BusinessTiming
|
|
350
|
-
*/
|
|
351
|
-
'day': string;
|
|
352
|
-
/**
|
|
353
|
-
* Business close flag
|
|
354
|
-
* @type {boolean}
|
|
355
|
-
* @memberof BusinessTiming
|
|
356
|
-
*/
|
|
357
|
-
'isClose': boolean;
|
|
358
|
-
}
|
|
359
|
-
/**
|
|
360
|
-
*
|
|
361
|
-
* @export
|
|
362
|
-
* @interface BusinessTypeEntity
|
|
363
|
-
*/
|
|
364
|
-
export interface BusinessTypeEntity {
|
|
365
|
-
/**
|
|
366
|
-
* Unique identifier for the business type
|
|
367
|
-
* @type {string}
|
|
368
|
-
* @memberof BusinessTypeEntity
|
|
369
|
-
*/
|
|
370
|
-
'_id': string;
|
|
371
|
-
/**
|
|
372
|
-
* name of the business type
|
|
373
|
-
* @type {string}
|
|
374
|
-
* @memberof BusinessTypeEntity
|
|
375
|
-
*/
|
|
376
|
-
'name': string;
|
|
377
|
-
}
|
|
378
|
-
/**
|
|
379
|
-
*
|
|
380
|
-
* @export
|
|
381
|
-
* @interface BusinessTypeListResponse
|
|
382
|
-
*/
|
|
383
|
-
export interface BusinessTypeListResponse {
|
|
384
|
-
/**
|
|
385
|
-
* statusCode
|
|
386
|
-
* @type {number}
|
|
387
|
-
* @memberof BusinessTypeListResponse
|
|
388
|
-
*/
|
|
389
|
-
'statusCode': number;
|
|
390
|
-
/**
|
|
391
|
-
* businessTypes
|
|
392
|
-
* @type {Array<BusinessTypeEntity>}
|
|
393
|
-
* @memberof BusinessTypeListResponse
|
|
394
|
-
*/
|
|
395
|
-
'data': Array<BusinessTypeEntity>;
|
|
396
|
-
}
|
|
397
|
-
/**
|
|
398
|
-
*
|
|
399
|
-
* @export
|
|
400
|
-
* @interface CategoryEntity
|
|
401
|
-
*/
|
|
402
|
-
export interface CategoryEntity {
|
|
403
|
-
/**
|
|
404
|
-
* Unique identifier for the category
|
|
405
|
-
* @type {string}
|
|
406
|
-
* @memberof CategoryEntity
|
|
407
|
-
*/
|
|
408
|
-
'_id': string;
|
|
409
|
-
/**
|
|
410
|
-
* name of the category
|
|
411
|
-
* @type {string}
|
|
412
|
-
* @memberof CategoryEntity
|
|
413
|
-
*/
|
|
414
|
-
'name': string;
|
|
415
|
-
/**
|
|
416
|
-
* Unique identifier or reference of the business Type
|
|
417
|
-
* @type {string}
|
|
418
|
-
* @memberof CategoryEntity
|
|
419
|
-
*/
|
|
420
|
-
'businessTypeId': string;
|
|
421
|
-
}
|
|
422
|
-
/**
|
|
423
|
-
*
|
|
424
|
-
* @export
|
|
425
|
-
* @interface CategoryListResponse
|
|
426
|
-
*/
|
|
427
|
-
export interface CategoryListResponse {
|
|
428
|
-
/**
|
|
429
|
-
* statusCode
|
|
430
|
-
* @type {number}
|
|
431
|
-
* @memberof CategoryListResponse
|
|
432
|
-
*/
|
|
433
|
-
'statusCode': number;
|
|
434
|
-
/**
|
|
435
|
-
* Categories
|
|
436
|
-
* @type {Array<CategoryEntity>}
|
|
437
|
-
* @memberof CategoryListResponse
|
|
438
|
-
*/
|
|
439
|
-
'data': Array<CategoryEntity>;
|
|
440
|
-
}
|
|
441
150
|
/**
|
|
442
151
|
*
|
|
443
152
|
* @export
|
|
@@ -494,50 +203,6 @@ export interface DeviceEntity {
|
|
|
494
203
|
*/
|
|
495
204
|
'status': string;
|
|
496
205
|
}
|
|
497
|
-
/**
|
|
498
|
-
*
|
|
499
|
-
* @export
|
|
500
|
-
* @interface EmployeesSizeEntity
|
|
501
|
-
*/
|
|
502
|
-
export interface EmployeesSizeEntity {
|
|
503
|
-
/**
|
|
504
|
-
* Unique identifier for the employee size
|
|
505
|
-
* @type {string}
|
|
506
|
-
* @memberof EmployeesSizeEntity
|
|
507
|
-
*/
|
|
508
|
-
'id': string;
|
|
509
|
-
/**
|
|
510
|
-
* Title of the employee size
|
|
511
|
-
* @type {string}
|
|
512
|
-
* @memberof EmployeesSizeEntity
|
|
513
|
-
*/
|
|
514
|
-
'title': string;
|
|
515
|
-
/**
|
|
516
|
-
* Value of the employee size
|
|
517
|
-
* @type {string}
|
|
518
|
-
* @memberof EmployeesSizeEntity
|
|
519
|
-
*/
|
|
520
|
-
'value': string;
|
|
521
|
-
}
|
|
522
|
-
/**
|
|
523
|
-
*
|
|
524
|
-
* @export
|
|
525
|
-
* @interface EmployeesSizeListResponse
|
|
526
|
-
*/
|
|
527
|
-
export interface EmployeesSizeListResponse {
|
|
528
|
-
/**
|
|
529
|
-
* statusCode
|
|
530
|
-
* @type {number}
|
|
531
|
-
* @memberof EmployeesSizeListResponse
|
|
532
|
-
*/
|
|
533
|
-
'statusCode': number;
|
|
534
|
-
/**
|
|
535
|
-
* Employees Size
|
|
536
|
-
* @type {Array<EmployeesSizeEntity>}
|
|
537
|
-
* @memberof EmployeesSizeListResponse
|
|
538
|
-
*/
|
|
539
|
-
'data': Array<EmployeesSizeEntity>;
|
|
540
|
-
}
|
|
541
206
|
/**
|
|
542
207
|
*
|
|
543
208
|
* @export
|
|
@@ -926,50 +591,6 @@ export const PriceEntityIntervalEnum = {
|
|
|
926
591
|
|
|
927
592
|
export type PriceEntityIntervalEnum = typeof PriceEntityIntervalEnum[keyof typeof PriceEntityIntervalEnum];
|
|
928
593
|
|
|
929
|
-
/**
|
|
930
|
-
*
|
|
931
|
-
* @export
|
|
932
|
-
* @interface PriceRangeEntity
|
|
933
|
-
*/
|
|
934
|
-
export interface PriceRangeEntity {
|
|
935
|
-
/**
|
|
936
|
-
* Unique identifier for the price range
|
|
937
|
-
* @type {string}
|
|
938
|
-
* @memberof PriceRangeEntity
|
|
939
|
-
*/
|
|
940
|
-
'id': string;
|
|
941
|
-
/**
|
|
942
|
-
* Title of the price range
|
|
943
|
-
* @type {string}
|
|
944
|
-
* @memberof PriceRangeEntity
|
|
945
|
-
*/
|
|
946
|
-
'title': string;
|
|
947
|
-
/**
|
|
948
|
-
* Value of the price range
|
|
949
|
-
* @type {string}
|
|
950
|
-
* @memberof PriceRangeEntity
|
|
951
|
-
*/
|
|
952
|
-
'value': string;
|
|
953
|
-
}
|
|
954
|
-
/**
|
|
955
|
-
*
|
|
956
|
-
* @export
|
|
957
|
-
* @interface PriceRangeListResponse
|
|
958
|
-
*/
|
|
959
|
-
export interface PriceRangeListResponse {
|
|
960
|
-
/**
|
|
961
|
-
* statusCode
|
|
962
|
-
* @type {number}
|
|
963
|
-
* @memberof PriceRangeListResponse
|
|
964
|
-
*/
|
|
965
|
-
'statusCode': number;
|
|
966
|
-
/**
|
|
967
|
-
* Price Range
|
|
968
|
-
* @type {Array<PriceRangeEntity>}
|
|
969
|
-
* @memberof PriceRangeListResponse
|
|
970
|
-
*/
|
|
971
|
-
'data': Array<PriceRangeEntity>;
|
|
972
|
-
}
|
|
973
594
|
/**
|
|
974
595
|
*
|
|
975
596
|
* @export
|
|
@@ -1243,7 +864,7 @@ export interface UserEntity {
|
|
|
1243
864
|
* @type {string}
|
|
1244
865
|
* @memberof UserEntity
|
|
1245
866
|
*/
|
|
1246
|
-
'role':
|
|
867
|
+
'role': string;
|
|
1247
868
|
/**
|
|
1248
869
|
* Goals why user is using the product
|
|
1249
870
|
* @type {Array<string>}
|
|
@@ -1261,16 +882,8 @@ export interface UserEntity {
|
|
|
1261
882
|
* @type {Array<string>}
|
|
1262
883
|
* @memberof UserEntity
|
|
1263
884
|
*/
|
|
1264
|
-
'pendingAction'
|
|
885
|
+
'pendingAction': Array<string>;
|
|
1265
886
|
}
|
|
1266
|
-
|
|
1267
|
-
export const UserEntityRoleEnum = {
|
|
1268
|
-
BusinessOwner: 'business_owner',
|
|
1269
|
-
User: 'user'
|
|
1270
|
-
} as const;
|
|
1271
|
-
|
|
1272
|
-
export type UserEntityRoleEnum = typeof UserEntityRoleEnum[keyof typeof UserEntityRoleEnum];
|
|
1273
|
-
|
|
1274
887
|
/**
|
|
1275
888
|
*
|
|
1276
889
|
* @export
|
|
@@ -1523,14 +1136,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1523
1136
|
return {
|
|
1524
1137
|
/**
|
|
1525
1138
|
*
|
|
1526
|
-
* @param {
|
|
1139
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
1527
1140
|
* @param {*} [options] Override http request option.
|
|
1528
1141
|
* @throws {RequiredError}
|
|
1529
1142
|
*/
|
|
1530
|
-
|
|
1531
|
-
// verify required parameter '
|
|
1532
|
-
assertParamExists('
|
|
1533
|
-
const localVarPath = `/v1/auth/
|
|
1143
|
+
authControllerCreateNewPassword: async (newPasswordPayloadDTO: NewPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1144
|
+
// verify required parameter 'newPasswordPayloadDTO' is not null or undefined
|
|
1145
|
+
assertParamExists('authControllerCreateNewPassword', 'newPasswordPayloadDTO', newPasswordPayloadDTO)
|
|
1146
|
+
const localVarPath = `/v1/auth/new-password`;
|
|
1534
1147
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1535
1148
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1536
1149
|
let baseOptions;
|
|
@@ -1549,7 +1162,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1549
1162
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1550
1163
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1551
1164
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1552
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1165
|
+
localVarRequestOptions.data = serializeDataIfNeeded(newPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
1553
1166
|
|
|
1554
1167
|
return {
|
|
1555
1168
|
url: toPathString(localVarUrlObj),
|
|
@@ -1558,14 +1171,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1558
1171
|
},
|
|
1559
1172
|
/**
|
|
1560
1173
|
*
|
|
1561
|
-
* @param {
|
|
1174
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
1562
1175
|
* @param {*} [options] Override http request option.
|
|
1563
1176
|
* @throws {RequiredError}
|
|
1564
1177
|
*/
|
|
1565
|
-
|
|
1566
|
-
// verify required parameter '
|
|
1567
|
-
assertParamExists('
|
|
1568
|
-
const localVarPath = `/v1/auth/
|
|
1178
|
+
authControllerForgotPassword: async (forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1179
|
+
// verify required parameter 'forgotPasswordPayloadDTO' is not null or undefined
|
|
1180
|
+
assertParamExists('authControllerForgotPassword', 'forgotPasswordPayloadDTO', forgotPasswordPayloadDTO)
|
|
1181
|
+
const localVarPath = `/v1/auth/forgot-password`;
|
|
1569
1182
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1570
1183
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1571
1184
|
let baseOptions;
|
|
@@ -1584,7 +1197,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1584
1197
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1585
1198
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1586
1199
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1587
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1200
|
+
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
1588
1201
|
|
|
1589
1202
|
return {
|
|
1590
1203
|
url: toPathString(localVarUrlObj),
|
|
@@ -1597,45 +1210,10 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1597
1210
|
* @param {*} [options] Override http request option.
|
|
1598
1211
|
* @throws {RequiredError}
|
|
1599
1212
|
*/
|
|
1600
|
-
|
|
1213
|
+
authControllerResentOTP: async (forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1601
1214
|
// verify required parameter 'forgotPasswordPayloadDTO' is not null or undefined
|
|
1602
|
-
assertParamExists('
|
|
1603
|
-
const localVarPath = `/v1/auth/
|
|
1604
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1605
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1606
|
-
let baseOptions;
|
|
1607
|
-
if (configuration) {
|
|
1608
|
-
baseOptions = configuration.baseOptions;
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1611
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1612
|
-
const localVarHeaderParameter = {} as any;
|
|
1613
|
-
const localVarQueryParameter = {} as any;
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1618
|
-
|
|
1619
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1620
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1621
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1622
|
-
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
1623
|
-
|
|
1624
|
-
return {
|
|
1625
|
-
url: toPathString(localVarUrlObj),
|
|
1626
|
-
options: localVarRequestOptions,
|
|
1627
|
-
};
|
|
1628
|
-
},
|
|
1629
|
-
/**
|
|
1630
|
-
*
|
|
1631
|
-
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
1632
|
-
* @param {*} [options] Override http request option.
|
|
1633
|
-
* @throws {RequiredError}
|
|
1634
|
-
*/
|
|
1635
|
-
authControllerResentOTP: async (forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1636
|
-
// verify required parameter 'forgotPasswordPayloadDTO' is not null or undefined
|
|
1637
|
-
assertParamExists('authControllerResentOTP', 'forgotPasswordPayloadDTO', forgotPasswordPayloadDTO)
|
|
1638
|
-
const localVarPath = `/v1/auth/resend-otp`;
|
|
1215
|
+
assertParamExists('authControllerResentOTP', 'forgotPasswordPayloadDTO', forgotPasswordPayloadDTO)
|
|
1216
|
+
const localVarPath = `/v1/auth/resend-otp`;
|
|
1639
1217
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1640
1218
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1641
1219
|
let baseOptions;
|
|
@@ -1854,18 +1432,6 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1854
1432
|
export const AuthApiFp = function(configuration?: Configuration) {
|
|
1855
1433
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
|
1856
1434
|
return {
|
|
1857
|
-
/**
|
|
1858
|
-
*
|
|
1859
|
-
* @param {SignupDto} signupDto
|
|
1860
|
-
* @param {*} [options] Override http request option.
|
|
1861
|
-
* @throws {RequiredError}
|
|
1862
|
-
*/
|
|
1863
|
-
async authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignupResponseDto>> {
|
|
1864
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerBusinessRegister(signupDto, options);
|
|
1865
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1866
|
-
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerBusinessRegister']?.[localVarOperationServerIndex]?.url;
|
|
1867
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1868
|
-
},
|
|
1869
1435
|
/**
|
|
1870
1436
|
*
|
|
1871
1437
|
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
@@ -1972,15 +1538,6 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
1972
1538
|
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1973
1539
|
const localVarFp = AuthApiFp(configuration)
|
|
1974
1540
|
return {
|
|
1975
|
-
/**
|
|
1976
|
-
*
|
|
1977
|
-
* @param {SignupDto} signupDto
|
|
1978
|
-
* @param {*} [options] Override http request option.
|
|
1979
|
-
* @throws {RequiredError}
|
|
1980
|
-
*/
|
|
1981
|
-
authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig): AxiosPromise<SignupResponseDto> {
|
|
1982
|
-
return localVarFp.authControllerBusinessRegister(signupDto, options).then((request) => request(axios, basePath));
|
|
1983
|
-
},
|
|
1984
1541
|
/**
|
|
1985
1542
|
*
|
|
1986
1543
|
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
@@ -2063,17 +1620,6 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
2063
1620
|
* @extends {BaseAPI}
|
|
2064
1621
|
*/
|
|
2065
1622
|
export class AuthApi extends BaseAPI {
|
|
2066
|
-
/**
|
|
2067
|
-
*
|
|
2068
|
-
* @param {SignupDto} signupDto
|
|
2069
|
-
* @param {*} [options] Override http request option.
|
|
2070
|
-
* @throws {RequiredError}
|
|
2071
|
-
* @memberof AuthApi
|
|
2072
|
-
*/
|
|
2073
|
-
public authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig) {
|
|
2074
|
-
return AuthApiFp(this.configuration).authControllerBusinessRegister(signupDto, options).then((request) => request(this.axios, this.basePath));
|
|
2075
|
-
}
|
|
2076
|
-
|
|
2077
1623
|
/**
|
|
2078
1624
|
*
|
|
2079
1625
|
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
@@ -2165,433 +1711,6 @@ export class AuthApi extends BaseAPI {
|
|
|
2165
1711
|
|
|
2166
1712
|
|
|
2167
1713
|
|
|
2168
|
-
/**
|
|
2169
|
-
* BusinessApi - axios parameter creator
|
|
2170
|
-
* @export
|
|
2171
|
-
*/
|
|
2172
|
-
export const BusinessApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2173
|
-
return {
|
|
2174
|
-
/**
|
|
2175
|
-
*
|
|
2176
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
2177
|
-
* @param {*} [options] Override http request option.
|
|
2178
|
-
* @throws {RequiredError}
|
|
2179
|
-
*/
|
|
2180
|
-
businessControllerBusinessOnboarding: async (businessOnBoardingDTO: BusinessOnBoardingDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2181
|
-
// verify required parameter 'businessOnBoardingDTO' is not null or undefined
|
|
2182
|
-
assertParamExists('businessControllerBusinessOnboarding', 'businessOnBoardingDTO', businessOnBoardingDTO)
|
|
2183
|
-
const localVarPath = `/v1/business/onboarding`;
|
|
2184
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2185
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2186
|
-
let baseOptions;
|
|
2187
|
-
if (configuration) {
|
|
2188
|
-
baseOptions = configuration.baseOptions;
|
|
2189
|
-
}
|
|
2190
|
-
|
|
2191
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2192
|
-
const localVarHeaderParameter = {} as any;
|
|
2193
|
-
const localVarQueryParameter = {} as any;
|
|
2194
|
-
|
|
2195
|
-
// authentication bearer required
|
|
2196
|
-
// http bearer authentication required
|
|
2197
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2202
|
-
|
|
2203
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2204
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2205
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2206
|
-
localVarRequestOptions.data = serializeDataIfNeeded(businessOnBoardingDTO, localVarRequestOptions, configuration)
|
|
2207
|
-
|
|
2208
|
-
return {
|
|
2209
|
-
url: toPathString(localVarUrlObj),
|
|
2210
|
-
options: localVarRequestOptions,
|
|
2211
|
-
};
|
|
2212
|
-
},
|
|
2213
|
-
/**
|
|
2214
|
-
*
|
|
2215
|
-
* @param {*} [options] Override http request option.
|
|
2216
|
-
* @throws {RequiredError}
|
|
2217
|
-
*/
|
|
2218
|
-
businessControllerGetMe: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2219
|
-
const localVarPath = `/v1/business/me`;
|
|
2220
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2221
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2222
|
-
let baseOptions;
|
|
2223
|
-
if (configuration) {
|
|
2224
|
-
baseOptions = configuration.baseOptions;
|
|
2225
|
-
}
|
|
2226
|
-
|
|
2227
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2228
|
-
const localVarHeaderParameter = {} as any;
|
|
2229
|
-
const localVarQueryParameter = {} as any;
|
|
2230
|
-
|
|
2231
|
-
// authentication bearer required
|
|
2232
|
-
// http bearer authentication required
|
|
2233
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2238
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2239
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2240
|
-
|
|
2241
|
-
return {
|
|
2242
|
-
url: toPathString(localVarUrlObj),
|
|
2243
|
-
options: localVarRequestOptions,
|
|
2244
|
-
};
|
|
2245
|
-
},
|
|
2246
|
-
/**
|
|
2247
|
-
*
|
|
2248
|
-
* @param {*} [options] Override http request option.
|
|
2249
|
-
* @throws {RequiredError}
|
|
2250
|
-
*/
|
|
2251
|
-
businessTypeControllerListBusinessType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2252
|
-
const localVarPath = `/v1/business/list`;
|
|
2253
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2254
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2255
|
-
let baseOptions;
|
|
2256
|
-
if (configuration) {
|
|
2257
|
-
baseOptions = configuration.baseOptions;
|
|
2258
|
-
}
|
|
2259
|
-
|
|
2260
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2261
|
-
const localVarHeaderParameter = {} as any;
|
|
2262
|
-
const localVarQueryParameter = {} as any;
|
|
2263
|
-
|
|
2264
|
-
// authentication bearer required
|
|
2265
|
-
// http bearer authentication required
|
|
2266
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2271
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2272
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2273
|
-
|
|
2274
|
-
return {
|
|
2275
|
-
url: toPathString(localVarUrlObj),
|
|
2276
|
-
options: localVarRequestOptions,
|
|
2277
|
-
};
|
|
2278
|
-
},
|
|
2279
|
-
/**
|
|
2280
|
-
*
|
|
2281
|
-
* @param {string} businessType
|
|
2282
|
-
* @param {*} [options] Override http request option.
|
|
2283
|
-
* @throws {RequiredError}
|
|
2284
|
-
*/
|
|
2285
|
-
businessTypeControllerListCategories: async (businessType: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2286
|
-
// verify required parameter 'businessType' is not null or undefined
|
|
2287
|
-
assertParamExists('businessTypeControllerListCategories', 'businessType', businessType)
|
|
2288
|
-
const localVarPath = `/v1/business/{businessType}/categories`
|
|
2289
|
-
.replace(`{${"businessType"}}`, encodeURIComponent(String(businessType)));
|
|
2290
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2291
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2292
|
-
let baseOptions;
|
|
2293
|
-
if (configuration) {
|
|
2294
|
-
baseOptions = configuration.baseOptions;
|
|
2295
|
-
}
|
|
2296
|
-
|
|
2297
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2298
|
-
const localVarHeaderParameter = {} as any;
|
|
2299
|
-
const localVarQueryParameter = {} as any;
|
|
2300
|
-
|
|
2301
|
-
// authentication bearer required
|
|
2302
|
-
// http bearer authentication required
|
|
2303
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2308
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2309
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2310
|
-
|
|
2311
|
-
return {
|
|
2312
|
-
url: toPathString(localVarUrlObj),
|
|
2313
|
-
options: localVarRequestOptions,
|
|
2314
|
-
};
|
|
2315
|
-
},
|
|
2316
|
-
/**
|
|
2317
|
-
*
|
|
2318
|
-
* @param {*} [options] Override http request option.
|
|
2319
|
-
* @throws {RequiredError}
|
|
2320
|
-
*/
|
|
2321
|
-
businessTypeControllerListEmployeesSize: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2322
|
-
const localVarPath = `/v1/business/employee-size`;
|
|
2323
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2324
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2325
|
-
let baseOptions;
|
|
2326
|
-
if (configuration) {
|
|
2327
|
-
baseOptions = configuration.baseOptions;
|
|
2328
|
-
}
|
|
2329
|
-
|
|
2330
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2331
|
-
const localVarHeaderParameter = {} as any;
|
|
2332
|
-
const localVarQueryParameter = {} as any;
|
|
2333
|
-
|
|
2334
|
-
// authentication bearer required
|
|
2335
|
-
// http bearer authentication required
|
|
2336
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2341
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2342
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2343
|
-
|
|
2344
|
-
return {
|
|
2345
|
-
url: toPathString(localVarUrlObj),
|
|
2346
|
-
options: localVarRequestOptions,
|
|
2347
|
-
};
|
|
2348
|
-
},
|
|
2349
|
-
/**
|
|
2350
|
-
*
|
|
2351
|
-
* @param {*} [options] Override http request option.
|
|
2352
|
-
* @throws {RequiredError}
|
|
2353
|
-
*/
|
|
2354
|
-
businessTypeControllerListPriceRange: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2355
|
-
const localVarPath = `/v1/business/price-range`;
|
|
2356
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2357
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2358
|
-
let baseOptions;
|
|
2359
|
-
if (configuration) {
|
|
2360
|
-
baseOptions = configuration.baseOptions;
|
|
2361
|
-
}
|
|
2362
|
-
|
|
2363
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2364
|
-
const localVarHeaderParameter = {} as any;
|
|
2365
|
-
const localVarQueryParameter = {} as any;
|
|
2366
|
-
|
|
2367
|
-
// authentication bearer required
|
|
2368
|
-
// http bearer authentication required
|
|
2369
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2374
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2375
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2376
|
-
|
|
2377
|
-
return {
|
|
2378
|
-
url: toPathString(localVarUrlObj),
|
|
2379
|
-
options: localVarRequestOptions,
|
|
2380
|
-
};
|
|
2381
|
-
},
|
|
2382
|
-
}
|
|
2383
|
-
};
|
|
2384
|
-
|
|
2385
|
-
/**
|
|
2386
|
-
* BusinessApi - functional programming interface
|
|
2387
|
-
* @export
|
|
2388
|
-
*/
|
|
2389
|
-
export const BusinessApiFp = function(configuration?: Configuration) {
|
|
2390
|
-
const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
|
|
2391
|
-
return {
|
|
2392
|
-
/**
|
|
2393
|
-
*
|
|
2394
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
2395
|
-
* @param {*} [options] Override http request option.
|
|
2396
|
-
* @throws {RequiredError}
|
|
2397
|
-
*/
|
|
2398
|
-
async businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
2399
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessOnboarding(businessOnBoardingDTO, options);
|
|
2400
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2401
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
2402
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2403
|
-
},
|
|
2404
|
-
/**
|
|
2405
|
-
*
|
|
2406
|
-
* @param {*} [options] Override http request option.
|
|
2407
|
-
* @throws {RequiredError}
|
|
2408
|
-
*/
|
|
2409
|
-
async businessControllerGetMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
2410
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerGetMe(options);
|
|
2411
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2412
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerGetMe']?.[localVarOperationServerIndex]?.url;
|
|
2413
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2414
|
-
},
|
|
2415
|
-
/**
|
|
2416
|
-
*
|
|
2417
|
-
* @param {*} [options] Override http request option.
|
|
2418
|
-
* @throws {RequiredError}
|
|
2419
|
-
*/
|
|
2420
|
-
async businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessTypeListResponse>> {
|
|
2421
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListBusinessType(options);
|
|
2422
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2423
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListBusinessType']?.[localVarOperationServerIndex]?.url;
|
|
2424
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2425
|
-
},
|
|
2426
|
-
/**
|
|
2427
|
-
*
|
|
2428
|
-
* @param {string} businessType
|
|
2429
|
-
* @param {*} [options] Override http request option.
|
|
2430
|
-
* @throws {RequiredError}
|
|
2431
|
-
*/
|
|
2432
|
-
async businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
2433
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(businessType, options);
|
|
2434
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2435
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListCategories']?.[localVarOperationServerIndex]?.url;
|
|
2436
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2437
|
-
},
|
|
2438
|
-
/**
|
|
2439
|
-
*
|
|
2440
|
-
* @param {*} [options] Override http request option.
|
|
2441
|
-
* @throws {RequiredError}
|
|
2442
|
-
*/
|
|
2443
|
-
async businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmployeesSizeListResponse>> {
|
|
2444
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListEmployeesSize(options);
|
|
2445
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2446
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListEmployeesSize']?.[localVarOperationServerIndex]?.url;
|
|
2447
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2448
|
-
},
|
|
2449
|
-
/**
|
|
2450
|
-
*
|
|
2451
|
-
* @param {*} [options] Override http request option.
|
|
2452
|
-
* @throws {RequiredError}
|
|
2453
|
-
*/
|
|
2454
|
-
async businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PriceRangeListResponse>> {
|
|
2455
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListPriceRange(options);
|
|
2456
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2457
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListPriceRange']?.[localVarOperationServerIndex]?.url;
|
|
2458
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2459
|
-
},
|
|
2460
|
-
}
|
|
2461
|
-
};
|
|
2462
|
-
|
|
2463
|
-
/**
|
|
2464
|
-
* BusinessApi - factory interface
|
|
2465
|
-
* @export
|
|
2466
|
-
*/
|
|
2467
|
-
export const BusinessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
2468
|
-
const localVarFp = BusinessApiFp(configuration)
|
|
2469
|
-
return {
|
|
2470
|
-
/**
|
|
2471
|
-
*
|
|
2472
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
2473
|
-
* @param {*} [options] Override http request option.
|
|
2474
|
-
* @throws {RequiredError}
|
|
2475
|
-
*/
|
|
2476
|
-
businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
2477
|
-
return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
|
|
2478
|
-
},
|
|
2479
|
-
/**
|
|
2480
|
-
*
|
|
2481
|
-
* @param {*} [options] Override http request option.
|
|
2482
|
-
* @throws {RequiredError}
|
|
2483
|
-
*/
|
|
2484
|
-
businessControllerGetMe(options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
2485
|
-
return localVarFp.businessControllerGetMe(options).then((request) => request(axios, basePath));
|
|
2486
|
-
},
|
|
2487
|
-
/**
|
|
2488
|
-
*
|
|
2489
|
-
* @param {*} [options] Override http request option.
|
|
2490
|
-
* @throws {RequiredError}
|
|
2491
|
-
*/
|
|
2492
|
-
businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): AxiosPromise<BusinessTypeListResponse> {
|
|
2493
|
-
return localVarFp.businessTypeControllerListBusinessType(options).then((request) => request(axios, basePath));
|
|
2494
|
-
},
|
|
2495
|
-
/**
|
|
2496
|
-
*
|
|
2497
|
-
* @param {string} businessType
|
|
2498
|
-
* @param {*} [options] Override http request option.
|
|
2499
|
-
* @throws {RequiredError}
|
|
2500
|
-
*/
|
|
2501
|
-
businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
2502
|
-
return localVarFp.businessTypeControllerListCategories(businessType, options).then((request) => request(axios, basePath));
|
|
2503
|
-
},
|
|
2504
|
-
/**
|
|
2505
|
-
*
|
|
2506
|
-
* @param {*} [options] Override http request option.
|
|
2507
|
-
* @throws {RequiredError}
|
|
2508
|
-
*/
|
|
2509
|
-
businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig): AxiosPromise<EmployeesSizeListResponse> {
|
|
2510
|
-
return localVarFp.businessTypeControllerListEmployeesSize(options).then((request) => request(axios, basePath));
|
|
2511
|
-
},
|
|
2512
|
-
/**
|
|
2513
|
-
*
|
|
2514
|
-
* @param {*} [options] Override http request option.
|
|
2515
|
-
* @throws {RequiredError}
|
|
2516
|
-
*/
|
|
2517
|
-
businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): AxiosPromise<PriceRangeListResponse> {
|
|
2518
|
-
return localVarFp.businessTypeControllerListPriceRange(options).then((request) => request(axios, basePath));
|
|
2519
|
-
},
|
|
2520
|
-
};
|
|
2521
|
-
};
|
|
2522
|
-
|
|
2523
|
-
/**
|
|
2524
|
-
* BusinessApi - object-oriented interface
|
|
2525
|
-
* @export
|
|
2526
|
-
* @class BusinessApi
|
|
2527
|
-
* @extends {BaseAPI}
|
|
2528
|
-
*/
|
|
2529
|
-
export class BusinessApi extends BaseAPI {
|
|
2530
|
-
/**
|
|
2531
|
-
*
|
|
2532
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
2533
|
-
* @param {*} [options] Override http request option.
|
|
2534
|
-
* @throws {RequiredError}
|
|
2535
|
-
* @memberof BusinessApi
|
|
2536
|
-
*/
|
|
2537
|
-
public businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
2538
|
-
return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2539
|
-
}
|
|
2540
|
-
|
|
2541
|
-
/**
|
|
2542
|
-
*
|
|
2543
|
-
* @param {*} [options] Override http request option.
|
|
2544
|
-
* @throws {RequiredError}
|
|
2545
|
-
* @memberof BusinessApi
|
|
2546
|
-
*/
|
|
2547
|
-
public businessControllerGetMe(options?: RawAxiosRequestConfig) {
|
|
2548
|
-
return BusinessApiFp(this.configuration).businessControllerGetMe(options).then((request) => request(this.axios, this.basePath));
|
|
2549
|
-
}
|
|
2550
|
-
|
|
2551
|
-
/**
|
|
2552
|
-
*
|
|
2553
|
-
* @param {*} [options] Override http request option.
|
|
2554
|
-
* @throws {RequiredError}
|
|
2555
|
-
* @memberof BusinessApi
|
|
2556
|
-
*/
|
|
2557
|
-
public businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig) {
|
|
2558
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(options).then((request) => request(this.axios, this.basePath));
|
|
2559
|
-
}
|
|
2560
|
-
|
|
2561
|
-
/**
|
|
2562
|
-
*
|
|
2563
|
-
* @param {string} businessType
|
|
2564
|
-
* @param {*} [options] Override http request option.
|
|
2565
|
-
* @throws {RequiredError}
|
|
2566
|
-
* @memberof BusinessApi
|
|
2567
|
-
*/
|
|
2568
|
-
public businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig) {
|
|
2569
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(businessType, options).then((request) => request(this.axios, this.basePath));
|
|
2570
|
-
}
|
|
2571
|
-
|
|
2572
|
-
/**
|
|
2573
|
-
*
|
|
2574
|
-
* @param {*} [options] Override http request option.
|
|
2575
|
-
* @throws {RequiredError}
|
|
2576
|
-
* @memberof BusinessApi
|
|
2577
|
-
*/
|
|
2578
|
-
public businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig) {
|
|
2579
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListEmployeesSize(options).then((request) => request(this.axios, this.basePath));
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2582
|
-
/**
|
|
2583
|
-
*
|
|
2584
|
-
* @param {*} [options] Override http request option.
|
|
2585
|
-
* @throws {RequiredError}
|
|
2586
|
-
* @memberof BusinessApi
|
|
2587
|
-
*/
|
|
2588
|
-
public businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig) {
|
|
2589
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListPriceRange(options).then((request) => request(this.axios, this.basePath));
|
|
2590
|
-
}
|
|
2591
|
-
}
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
1714
|
/**
|
|
2596
1715
|
* DeviceApi - axios parameter creator
|
|
2597
1716
|
* @export
|