@gooday_corp/gooday-api-client 1.1.8 → 1.1.10
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 +895 -38
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -147,6 +147,243 @@ 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 cancellationFee
|
|
176
|
+
* @type {number}
|
|
177
|
+
* @memberof BusinessEntity
|
|
178
|
+
*/
|
|
179
|
+
'cancellationFee'?: 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 Venue
|
|
194
|
+
* @type {Array<object>}
|
|
195
|
+
* @memberof BusinessEntity
|
|
196
|
+
*/
|
|
197
|
+
'venues'?: Array<object>;
|
|
198
|
+
/**
|
|
199
|
+
* Business Verification Document
|
|
200
|
+
* @type {string}
|
|
201
|
+
* @memberof BusinessEntity
|
|
202
|
+
*/
|
|
203
|
+
'verificationDoc'?: string;
|
|
204
|
+
/**
|
|
205
|
+
* Business Type
|
|
206
|
+
* @type {string}
|
|
207
|
+
* @memberof BusinessEntity
|
|
208
|
+
*/
|
|
209
|
+
'businessType'?: string;
|
|
210
|
+
/**
|
|
211
|
+
* Business Category
|
|
212
|
+
* @type {Array<string>}
|
|
213
|
+
* @memberof BusinessEntity
|
|
214
|
+
*/
|
|
215
|
+
'businessCategory'?: Array<string>;
|
|
216
|
+
/**
|
|
217
|
+
* Business Employee
|
|
218
|
+
* @type {string}
|
|
219
|
+
* @memberof BusinessEntity
|
|
220
|
+
*/
|
|
221
|
+
'numberOfEmployees'?: string;
|
|
222
|
+
/**
|
|
223
|
+
* Business Type
|
|
224
|
+
* @type {string}
|
|
225
|
+
* @memberof BusinessEntity
|
|
226
|
+
*/
|
|
227
|
+
'priceRange'?: string;
|
|
228
|
+
/**
|
|
229
|
+
* Business Account Confirmation
|
|
230
|
+
* @type {string}
|
|
231
|
+
* @memberof BusinessEntity
|
|
232
|
+
*/
|
|
233
|
+
'isVerifiedFromAdmin'?: BusinessEntityIsVerifiedFromAdminEnum;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export const BusinessEntityIsVerifiedFromAdminEnum = {
|
|
237
|
+
ApplicationSubmitted: 'application_submitted',
|
|
238
|
+
UnderVerification: 'under_verification',
|
|
239
|
+
PaymentProcessing: 'payment_processing',
|
|
240
|
+
Completed: 'completed'
|
|
241
|
+
} as const;
|
|
242
|
+
|
|
243
|
+
export type BusinessEntityIsVerifiedFromAdminEnum = typeof BusinessEntityIsVerifiedFromAdminEnum[keyof typeof BusinessEntityIsVerifiedFromAdminEnum];
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @export
|
|
248
|
+
* @interface BusinessOnBoardingDTO
|
|
249
|
+
*/
|
|
250
|
+
export interface BusinessOnBoardingDTO {
|
|
251
|
+
/**
|
|
252
|
+
* Business Timing
|
|
253
|
+
* @type {Array<BusinessTiming>}
|
|
254
|
+
* @memberof BusinessOnBoardingDTO
|
|
255
|
+
*/
|
|
256
|
+
'timing'?: Array<BusinessTiming>;
|
|
257
|
+
/**
|
|
258
|
+
* Business Venue
|
|
259
|
+
* @type {Array<BusinessVenueDTO>}
|
|
260
|
+
* @memberof BusinessOnBoardingDTO
|
|
261
|
+
*/
|
|
262
|
+
'venue'?: Array<BusinessVenueDTO>;
|
|
263
|
+
/**
|
|
264
|
+
*
|
|
265
|
+
* @type {string}
|
|
266
|
+
* @memberof BusinessOnBoardingDTO
|
|
267
|
+
*/
|
|
268
|
+
'verificationDoc'?: string;
|
|
269
|
+
/**
|
|
270
|
+
* Business policies
|
|
271
|
+
* @type {string}
|
|
272
|
+
* @memberof BusinessOnBoardingDTO
|
|
273
|
+
*/
|
|
274
|
+
'policies'?: string;
|
|
275
|
+
/**
|
|
276
|
+
* Business cancellationFee
|
|
277
|
+
* @type {number}
|
|
278
|
+
* @memberof BusinessOnBoardingDTO
|
|
279
|
+
*/
|
|
280
|
+
'cancellationFee'?: number;
|
|
281
|
+
/**
|
|
282
|
+
* Business ID
|
|
283
|
+
* @type {string}
|
|
284
|
+
* @memberof BusinessOnBoardingDTO
|
|
285
|
+
*/
|
|
286
|
+
'businessID'?: string;
|
|
287
|
+
/**
|
|
288
|
+
* Business Country
|
|
289
|
+
* @type {string}
|
|
290
|
+
* @memberof BusinessOnBoardingDTO
|
|
291
|
+
*/
|
|
292
|
+
'businessCountry'?: string;
|
|
293
|
+
/**
|
|
294
|
+
* Business Type
|
|
295
|
+
* @type {string}
|
|
296
|
+
* @memberof BusinessOnBoardingDTO
|
|
297
|
+
*/
|
|
298
|
+
'businessType'?: string;
|
|
299
|
+
/**
|
|
300
|
+
* Business Category
|
|
301
|
+
* @type {Array<string>}
|
|
302
|
+
* @memberof BusinessOnBoardingDTO
|
|
303
|
+
*/
|
|
304
|
+
'businessCategory'?: Array<string>;
|
|
305
|
+
/**
|
|
306
|
+
* Business Employee
|
|
307
|
+
* @type {string}
|
|
308
|
+
* @memberof BusinessOnBoardingDTO
|
|
309
|
+
*/
|
|
310
|
+
'numberOfEmployees'?: string;
|
|
311
|
+
/**
|
|
312
|
+
* Assistant ID
|
|
313
|
+
* @type {string}
|
|
314
|
+
* @memberof BusinessOnBoardingDTO
|
|
315
|
+
*/
|
|
316
|
+
'assistant'?: string;
|
|
317
|
+
/**
|
|
318
|
+
* Business Type
|
|
319
|
+
* @type {string}
|
|
320
|
+
* @memberof BusinessOnBoardingDTO
|
|
321
|
+
*/
|
|
322
|
+
'priceRange'?: string;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
326
|
+
* @export
|
|
327
|
+
* @interface BusinessOnBoardingResponseDTO
|
|
328
|
+
*/
|
|
329
|
+
export interface BusinessOnBoardingResponseDTO {
|
|
330
|
+
/**
|
|
331
|
+
* statusCode
|
|
332
|
+
* @type {number}
|
|
333
|
+
* @memberof BusinessOnBoardingResponseDTO
|
|
334
|
+
*/
|
|
335
|
+
'statusCode': number;
|
|
336
|
+
/**
|
|
337
|
+
* Business entity
|
|
338
|
+
* @type {BusinessEntity}
|
|
339
|
+
* @memberof BusinessOnBoardingResponseDTO
|
|
340
|
+
*/
|
|
341
|
+
'data': BusinessEntity;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* @export
|
|
346
|
+
* @interface BusinessTime
|
|
347
|
+
*/
|
|
348
|
+
export interface BusinessTime {
|
|
349
|
+
/**
|
|
350
|
+
* Business open time
|
|
351
|
+
* @type {string}
|
|
352
|
+
* @memberof BusinessTime
|
|
353
|
+
*/
|
|
354
|
+
'openAt': string;
|
|
355
|
+
/**
|
|
356
|
+
* Business close time
|
|
357
|
+
* @type {string}
|
|
358
|
+
* @memberof BusinessTime
|
|
359
|
+
*/
|
|
360
|
+
'closeAt': string;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @export
|
|
365
|
+
* @interface BusinessTiming
|
|
366
|
+
*/
|
|
367
|
+
export interface BusinessTiming {
|
|
368
|
+
/**
|
|
369
|
+
*
|
|
370
|
+
* @type {Array<BusinessTime>}
|
|
371
|
+
* @memberof BusinessTiming
|
|
372
|
+
*/
|
|
373
|
+
'time'?: Array<BusinessTime>;
|
|
374
|
+
/**
|
|
375
|
+
* Day name
|
|
376
|
+
* @type {string}
|
|
377
|
+
* @memberof BusinessTiming
|
|
378
|
+
*/
|
|
379
|
+
'day': string;
|
|
380
|
+
/**
|
|
381
|
+
* Business close flag
|
|
382
|
+
* @type {boolean}
|
|
383
|
+
* @memberof BusinessTiming
|
|
384
|
+
*/
|
|
385
|
+
'isClose': boolean;
|
|
386
|
+
}
|
|
150
387
|
/**
|
|
151
388
|
*
|
|
152
389
|
* @export
|
|
@@ -154,13 +391,13 @@ export interface AttributesDto {
|
|
|
154
391
|
*/
|
|
155
392
|
export interface BusinessTypeEntity {
|
|
156
393
|
/**
|
|
157
|
-
* Unique identifier for the
|
|
394
|
+
* Unique identifier for the business type
|
|
158
395
|
* @type {string}
|
|
159
396
|
* @memberof BusinessTypeEntity
|
|
160
397
|
*/
|
|
161
398
|
'_id': string;
|
|
162
399
|
/**
|
|
163
|
-
* name of the
|
|
400
|
+
* name of the business type
|
|
164
401
|
* @type {string}
|
|
165
402
|
* @memberof BusinessTypeEntity
|
|
166
403
|
*/
|
|
@@ -179,12 +416,37 @@ export interface BusinessTypeListResponse {
|
|
|
179
416
|
*/
|
|
180
417
|
'statusCode': number;
|
|
181
418
|
/**
|
|
182
|
-
*
|
|
419
|
+
* businessTypes
|
|
183
420
|
* @type {Array<BusinessTypeEntity>}
|
|
184
421
|
* @memberof BusinessTypeListResponse
|
|
185
422
|
*/
|
|
186
423
|
'data': Array<BusinessTypeEntity>;
|
|
187
424
|
}
|
|
425
|
+
/**
|
|
426
|
+
*
|
|
427
|
+
* @export
|
|
428
|
+
* @interface BusinessVenueDTO
|
|
429
|
+
*/
|
|
430
|
+
export interface BusinessVenueDTO {
|
|
431
|
+
/**
|
|
432
|
+
*
|
|
433
|
+
* @type {string}
|
|
434
|
+
* @memberof BusinessVenueDTO
|
|
435
|
+
*/
|
|
436
|
+
'coverPhotos': string;
|
|
437
|
+
/**
|
|
438
|
+
*
|
|
439
|
+
* @type {string}
|
|
440
|
+
* @memberof BusinessVenueDTO
|
|
441
|
+
*/
|
|
442
|
+
'priceRange': string;
|
|
443
|
+
/**
|
|
444
|
+
*
|
|
445
|
+
* @type {string}
|
|
446
|
+
* @memberof BusinessVenueDTO
|
|
447
|
+
*/
|
|
448
|
+
'location': string;
|
|
449
|
+
}
|
|
188
450
|
/**
|
|
189
451
|
*
|
|
190
452
|
* @export
|
|
@@ -217,6 +479,35 @@ export interface BusinessVerificationResponse {
|
|
|
217
479
|
*/
|
|
218
480
|
'data': BusinessVerificationEntity;
|
|
219
481
|
}
|
|
482
|
+
/**
|
|
483
|
+
*
|
|
484
|
+
* @export
|
|
485
|
+
* @interface BusinessVerifiedDTO
|
|
486
|
+
*/
|
|
487
|
+
export interface BusinessVerifiedDTO {
|
|
488
|
+
/**
|
|
489
|
+
* User Id
|
|
490
|
+
* @type {string}
|
|
491
|
+
* @memberof BusinessVerifiedDTO
|
|
492
|
+
*/
|
|
493
|
+
'user'?: string;
|
|
494
|
+
/**
|
|
495
|
+
* Business Account Confirmation
|
|
496
|
+
* @type {string}
|
|
497
|
+
* @memberof BusinessVerifiedDTO
|
|
498
|
+
*/
|
|
499
|
+
'isVerifiedFromAdmin'?: BusinessVerifiedDTOIsVerifiedFromAdminEnum;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export const BusinessVerifiedDTOIsVerifiedFromAdminEnum = {
|
|
503
|
+
ApplicationSubmitted: 'application_submitted',
|
|
504
|
+
UnderVerification: 'under_verification',
|
|
505
|
+
PaymentProcessing: 'payment_processing',
|
|
506
|
+
Completed: 'completed'
|
|
507
|
+
} as const;
|
|
508
|
+
|
|
509
|
+
export type BusinessVerifiedDTOIsVerifiedFromAdminEnum = typeof BusinessVerifiedDTOIsVerifiedFromAdminEnum[keyof typeof BusinessVerifiedDTOIsVerifiedFromAdminEnum];
|
|
510
|
+
|
|
220
511
|
/**
|
|
221
512
|
*
|
|
222
513
|
* @export
|
|
@@ -255,7 +546,7 @@ export interface CategoryListResponse {
|
|
|
255
546
|
*/
|
|
256
547
|
'statusCode': number;
|
|
257
548
|
/**
|
|
258
|
-
*
|
|
549
|
+
* Categories
|
|
259
550
|
* @type {Array<CategoryEntity>}
|
|
260
551
|
* @memberof CategoryListResponse
|
|
261
552
|
*/
|
|
@@ -317,6 +608,50 @@ export interface DeviceEntity {
|
|
|
317
608
|
*/
|
|
318
609
|
'status': string;
|
|
319
610
|
}
|
|
611
|
+
/**
|
|
612
|
+
*
|
|
613
|
+
* @export
|
|
614
|
+
* @interface EmployeesSizeEntity
|
|
615
|
+
*/
|
|
616
|
+
export interface EmployeesSizeEntity {
|
|
617
|
+
/**
|
|
618
|
+
* Unique identifier for the employee size
|
|
619
|
+
* @type {string}
|
|
620
|
+
* @memberof EmployeesSizeEntity
|
|
621
|
+
*/
|
|
622
|
+
'id': string;
|
|
623
|
+
/**
|
|
624
|
+
* Title of the employee size
|
|
625
|
+
* @type {string}
|
|
626
|
+
* @memberof EmployeesSizeEntity
|
|
627
|
+
*/
|
|
628
|
+
'title': string;
|
|
629
|
+
/**
|
|
630
|
+
* Value of the employee size
|
|
631
|
+
* @type {string}
|
|
632
|
+
* @memberof EmployeesSizeEntity
|
|
633
|
+
*/
|
|
634
|
+
'value': string;
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
*
|
|
638
|
+
* @export
|
|
639
|
+
* @interface EmployeesSizeListResponse
|
|
640
|
+
*/
|
|
641
|
+
export interface EmployeesSizeListResponse {
|
|
642
|
+
/**
|
|
643
|
+
* statusCode
|
|
644
|
+
* @type {number}
|
|
645
|
+
* @memberof EmployeesSizeListResponse
|
|
646
|
+
*/
|
|
647
|
+
'statusCode': number;
|
|
648
|
+
/**
|
|
649
|
+
* Employees Size
|
|
650
|
+
* @type {Array<EmployeesSizeEntity>}
|
|
651
|
+
* @memberof EmployeesSizeListResponse
|
|
652
|
+
*/
|
|
653
|
+
'data': Array<EmployeesSizeEntity>;
|
|
654
|
+
}
|
|
320
655
|
/**
|
|
321
656
|
*
|
|
322
657
|
* @export
|
|
@@ -705,6 +1040,50 @@ export const PriceEntityIntervalEnum = {
|
|
|
705
1040
|
|
|
706
1041
|
export type PriceEntityIntervalEnum = typeof PriceEntityIntervalEnum[keyof typeof PriceEntityIntervalEnum];
|
|
707
1042
|
|
|
1043
|
+
/**
|
|
1044
|
+
*
|
|
1045
|
+
* @export
|
|
1046
|
+
* @interface PriceRangeEntity
|
|
1047
|
+
*/
|
|
1048
|
+
export interface PriceRangeEntity {
|
|
1049
|
+
/**
|
|
1050
|
+
* Unique identifier for the price range
|
|
1051
|
+
* @type {string}
|
|
1052
|
+
* @memberof PriceRangeEntity
|
|
1053
|
+
*/
|
|
1054
|
+
'id': string;
|
|
1055
|
+
/**
|
|
1056
|
+
* Title of the price range
|
|
1057
|
+
* @type {string}
|
|
1058
|
+
* @memberof PriceRangeEntity
|
|
1059
|
+
*/
|
|
1060
|
+
'title': string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Value of the price range
|
|
1063
|
+
* @type {string}
|
|
1064
|
+
* @memberof PriceRangeEntity
|
|
1065
|
+
*/
|
|
1066
|
+
'value': string;
|
|
1067
|
+
}
|
|
1068
|
+
/**
|
|
1069
|
+
*
|
|
1070
|
+
* @export
|
|
1071
|
+
* @interface PriceRangeListResponse
|
|
1072
|
+
*/
|
|
1073
|
+
export interface PriceRangeListResponse {
|
|
1074
|
+
/**
|
|
1075
|
+
* statusCode
|
|
1076
|
+
* @type {number}
|
|
1077
|
+
* @memberof PriceRangeListResponse
|
|
1078
|
+
*/
|
|
1079
|
+
'statusCode': number;
|
|
1080
|
+
/**
|
|
1081
|
+
* Price Range
|
|
1082
|
+
* @type {Array<PriceRangeEntity>}
|
|
1083
|
+
* @memberof PriceRangeListResponse
|
|
1084
|
+
*/
|
|
1085
|
+
'data': Array<PriceRangeEntity>;
|
|
1086
|
+
}
|
|
708
1087
|
/**
|
|
709
1088
|
*
|
|
710
1089
|
* @export
|
|
@@ -978,7 +1357,7 @@ export interface UserEntity {
|
|
|
978
1357
|
* @type {string}
|
|
979
1358
|
* @memberof UserEntity
|
|
980
1359
|
*/
|
|
981
|
-
'role':
|
|
1360
|
+
'role': UserEntityRoleEnum;
|
|
982
1361
|
/**
|
|
983
1362
|
* Goals why user is using the product
|
|
984
1363
|
* @type {Array<string>}
|
|
@@ -996,8 +1375,16 @@ export interface UserEntity {
|
|
|
996
1375
|
* @type {Array<string>}
|
|
997
1376
|
* @memberof UserEntity
|
|
998
1377
|
*/
|
|
999
|
-
'pendingAction'
|
|
1378
|
+
'pendingAction'?: Array<string>;
|
|
1000
1379
|
}
|
|
1380
|
+
|
|
1381
|
+
export const UserEntityRoleEnum = {
|
|
1382
|
+
BusinessOwner: 'business_owner',
|
|
1383
|
+
User: 'user'
|
|
1384
|
+
} as const;
|
|
1385
|
+
|
|
1386
|
+
export type UserEntityRoleEnum = typeof UserEntityRoleEnum[keyof typeof UserEntityRoleEnum];
|
|
1387
|
+
|
|
1001
1388
|
/**
|
|
1002
1389
|
*
|
|
1003
1390
|
* @export
|
|
@@ -1248,6 +1635,41 @@ export class AIApi extends BaseAPI {
|
|
|
1248
1635
|
*/
|
|
1249
1636
|
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1250
1637
|
return {
|
|
1638
|
+
/**
|
|
1639
|
+
*
|
|
1640
|
+
* @param {SignupDto} signupDto
|
|
1641
|
+
* @param {*} [options] Override http request option.
|
|
1642
|
+
* @throws {RequiredError}
|
|
1643
|
+
*/
|
|
1644
|
+
authControllerBusinessRegister: async (signupDto: SignupDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1645
|
+
// verify required parameter 'signupDto' is not null or undefined
|
|
1646
|
+
assertParamExists('authControllerBusinessRegister', 'signupDto', signupDto)
|
|
1647
|
+
const localVarPath = `/v1/auth/business-register`;
|
|
1648
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1649
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1650
|
+
let baseOptions;
|
|
1651
|
+
if (configuration) {
|
|
1652
|
+
baseOptions = configuration.baseOptions;
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1656
|
+
const localVarHeaderParameter = {} as any;
|
|
1657
|
+
const localVarQueryParameter = {} as any;
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1662
|
+
|
|
1663
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1664
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1665
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1666
|
+
localVarRequestOptions.data = serializeDataIfNeeded(signupDto, localVarRequestOptions, configuration)
|
|
1667
|
+
|
|
1668
|
+
return {
|
|
1669
|
+
url: toPathString(localVarUrlObj),
|
|
1670
|
+
options: localVarRequestOptions,
|
|
1671
|
+
};
|
|
1672
|
+
},
|
|
1251
1673
|
/**
|
|
1252
1674
|
*
|
|
1253
1675
|
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
@@ -1548,7 +1970,19 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
1548
1970
|
return {
|
|
1549
1971
|
/**
|
|
1550
1972
|
*
|
|
1551
|
-
* @param {
|
|
1973
|
+
* @param {SignupDto} signupDto
|
|
1974
|
+
* @param {*} [options] Override http request option.
|
|
1975
|
+
* @throws {RequiredError}
|
|
1976
|
+
*/
|
|
1977
|
+
async authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignupResponseDto>> {
|
|
1978
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerBusinessRegister(signupDto, options);
|
|
1979
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1980
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerBusinessRegister']?.[localVarOperationServerIndex]?.url;
|
|
1981
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1982
|
+
},
|
|
1983
|
+
/**
|
|
1984
|
+
*
|
|
1985
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
1552
1986
|
* @param {*} [options] Override http request option.
|
|
1553
1987
|
* @throws {RequiredError}
|
|
1554
1988
|
*/
|
|
@@ -1652,6 +2086,15 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
1652
2086
|
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1653
2087
|
const localVarFp = AuthApiFp(configuration)
|
|
1654
2088
|
return {
|
|
2089
|
+
/**
|
|
2090
|
+
*
|
|
2091
|
+
* @param {SignupDto} signupDto
|
|
2092
|
+
* @param {*} [options] Override http request option.
|
|
2093
|
+
* @throws {RequiredError}
|
|
2094
|
+
*/
|
|
2095
|
+
authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig): AxiosPromise<SignupResponseDto> {
|
|
2096
|
+
return localVarFp.authControllerBusinessRegister(signupDto, options).then((request) => request(axios, basePath));
|
|
2097
|
+
},
|
|
1655
2098
|
/**
|
|
1656
2099
|
*
|
|
1657
2100
|
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
@@ -1734,6 +2177,17 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
1734
2177
|
* @extends {BaseAPI}
|
|
1735
2178
|
*/
|
|
1736
2179
|
export class AuthApi extends BaseAPI {
|
|
2180
|
+
/**
|
|
2181
|
+
*
|
|
2182
|
+
* @param {SignupDto} signupDto
|
|
2183
|
+
* @param {*} [options] Override http request option.
|
|
2184
|
+
* @throws {RequiredError}
|
|
2185
|
+
* @memberof AuthApi
|
|
2186
|
+
*/
|
|
2187
|
+
public authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig) {
|
|
2188
|
+
return AuthApiFp(this.configuration).authControllerBusinessRegister(signupDto, options).then((request) => request(this.axios, this.basePath));
|
|
2189
|
+
}
|
|
2190
|
+
|
|
1737
2191
|
/**
|
|
1738
2192
|
*
|
|
1739
2193
|
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
@@ -1826,11 +2280,122 @@ export class AuthApi extends BaseAPI {
|
|
|
1826
2280
|
|
|
1827
2281
|
|
|
1828
2282
|
/**
|
|
1829
|
-
*
|
|
2283
|
+
* BusinessApi - axios parameter creator
|
|
1830
2284
|
* @export
|
|
1831
2285
|
*/
|
|
1832
|
-
export const
|
|
2286
|
+
export const BusinessApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1833
2287
|
return {
|
|
2288
|
+
/**
|
|
2289
|
+
*
|
|
2290
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
2291
|
+
* @param {*} [options] Override http request option.
|
|
2292
|
+
* @throws {RequiredError}
|
|
2293
|
+
*/
|
|
2294
|
+
businessControllerBusinessOnboarding: async (businessOnBoardingDTO: BusinessOnBoardingDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2295
|
+
// verify required parameter 'businessOnBoardingDTO' is not null or undefined
|
|
2296
|
+
assertParamExists('businessControllerBusinessOnboarding', 'businessOnBoardingDTO', businessOnBoardingDTO)
|
|
2297
|
+
const localVarPath = `/v1/business/onboarding`;
|
|
2298
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2299
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2300
|
+
let baseOptions;
|
|
2301
|
+
if (configuration) {
|
|
2302
|
+
baseOptions = configuration.baseOptions;
|
|
2303
|
+
}
|
|
2304
|
+
|
|
2305
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2306
|
+
const localVarHeaderParameter = {} as any;
|
|
2307
|
+
const localVarQueryParameter = {} as any;
|
|
2308
|
+
|
|
2309
|
+
// authentication bearer required
|
|
2310
|
+
// http bearer authentication required
|
|
2311
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2312
|
+
|
|
2313
|
+
|
|
2314
|
+
|
|
2315
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2316
|
+
|
|
2317
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2318
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2319
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2320
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessOnBoardingDTO, localVarRequestOptions, configuration)
|
|
2321
|
+
|
|
2322
|
+
return {
|
|
2323
|
+
url: toPathString(localVarUrlObj),
|
|
2324
|
+
options: localVarRequestOptions,
|
|
2325
|
+
};
|
|
2326
|
+
},
|
|
2327
|
+
/**
|
|
2328
|
+
*
|
|
2329
|
+
* @param {BusinessVerifiedDTO} businessVerifiedDTO
|
|
2330
|
+
* @param {*} [options] Override http request option.
|
|
2331
|
+
* @throws {RequiredError}
|
|
2332
|
+
*/
|
|
2333
|
+
businessControllerBusinessVerified: async (businessVerifiedDTO: BusinessVerifiedDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2334
|
+
// verify required parameter 'businessVerifiedDTO' is not null or undefined
|
|
2335
|
+
assertParamExists('businessControllerBusinessVerified', 'businessVerifiedDTO', businessVerifiedDTO)
|
|
2336
|
+
const localVarPath = `/v1/business/verified`;
|
|
2337
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2338
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2339
|
+
let baseOptions;
|
|
2340
|
+
if (configuration) {
|
|
2341
|
+
baseOptions = configuration.baseOptions;
|
|
2342
|
+
}
|
|
2343
|
+
|
|
2344
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
2345
|
+
const localVarHeaderParameter = {} as any;
|
|
2346
|
+
const localVarQueryParameter = {} as any;
|
|
2347
|
+
|
|
2348
|
+
// authentication bearer required
|
|
2349
|
+
// http bearer authentication required
|
|
2350
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
|
|
2354
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2355
|
+
|
|
2356
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2357
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2358
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2359
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessVerifiedDTO, localVarRequestOptions, configuration)
|
|
2360
|
+
|
|
2361
|
+
return {
|
|
2362
|
+
url: toPathString(localVarUrlObj),
|
|
2363
|
+
options: localVarRequestOptions,
|
|
2364
|
+
};
|
|
2365
|
+
},
|
|
2366
|
+
/**
|
|
2367
|
+
*
|
|
2368
|
+
* @param {*} [options] Override http request option.
|
|
2369
|
+
* @throws {RequiredError}
|
|
2370
|
+
*/
|
|
2371
|
+
businessControllerGetMe: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2372
|
+
const localVarPath = `/v1/business/me`;
|
|
2373
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2374
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2375
|
+
let baseOptions;
|
|
2376
|
+
if (configuration) {
|
|
2377
|
+
baseOptions = configuration.baseOptions;
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2381
|
+
const localVarHeaderParameter = {} as any;
|
|
2382
|
+
const localVarQueryParameter = {} as any;
|
|
2383
|
+
|
|
2384
|
+
// authentication bearer required
|
|
2385
|
+
// http bearer authentication required
|
|
2386
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2387
|
+
|
|
2388
|
+
|
|
2389
|
+
|
|
2390
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2391
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2392
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2393
|
+
|
|
2394
|
+
return {
|
|
2395
|
+
url: toPathString(localVarUrlObj),
|
|
2396
|
+
options: localVarRequestOptions,
|
|
2397
|
+
};
|
|
2398
|
+
},
|
|
1834
2399
|
/**
|
|
1835
2400
|
*
|
|
1836
2401
|
* @param {*} [options] Override http request option.
|
|
@@ -1849,6 +2414,10 @@ export const BusinessCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
1849
2414
|
const localVarHeaderParameter = {} as any;
|
|
1850
2415
|
const localVarQueryParameter = {} as any;
|
|
1851
2416
|
|
|
2417
|
+
// authentication bearer required
|
|
2418
|
+
// http bearer authentication required
|
|
2419
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2420
|
+
|
|
1852
2421
|
|
|
1853
2422
|
|
|
1854
2423
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1862,15 +2431,81 @@ export const BusinessCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
1862
2431
|
},
|
|
1863
2432
|
/**
|
|
1864
2433
|
*
|
|
1865
|
-
* @param {string}
|
|
2434
|
+
* @param {string} businessType
|
|
1866
2435
|
* @param {*} [options] Override http request option.
|
|
1867
2436
|
* @throws {RequiredError}
|
|
1868
2437
|
*/
|
|
1869
|
-
businessTypeControllerListCategories: async (
|
|
1870
|
-
// verify required parameter '
|
|
1871
|
-
assertParamExists('businessTypeControllerListCategories', '
|
|
1872
|
-
const localVarPath = `/v1/business/{
|
|
1873
|
-
.replace(`{${"
|
|
2438
|
+
businessTypeControllerListCategories: async (businessType: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2439
|
+
// verify required parameter 'businessType' is not null or undefined
|
|
2440
|
+
assertParamExists('businessTypeControllerListCategories', 'businessType', businessType)
|
|
2441
|
+
const localVarPath = `/v1/business/{businessType}/categories`
|
|
2442
|
+
.replace(`{${"businessType"}}`, encodeURIComponent(String(businessType)));
|
|
2443
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2444
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2445
|
+
let baseOptions;
|
|
2446
|
+
if (configuration) {
|
|
2447
|
+
baseOptions = configuration.baseOptions;
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2450
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2451
|
+
const localVarHeaderParameter = {} as any;
|
|
2452
|
+
const localVarQueryParameter = {} as any;
|
|
2453
|
+
|
|
2454
|
+
// authentication bearer required
|
|
2455
|
+
// http bearer authentication required
|
|
2456
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2457
|
+
|
|
2458
|
+
|
|
2459
|
+
|
|
2460
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2461
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2462
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2463
|
+
|
|
2464
|
+
return {
|
|
2465
|
+
url: toPathString(localVarUrlObj),
|
|
2466
|
+
options: localVarRequestOptions,
|
|
2467
|
+
};
|
|
2468
|
+
},
|
|
2469
|
+
/**
|
|
2470
|
+
*
|
|
2471
|
+
* @param {*} [options] Override http request option.
|
|
2472
|
+
* @throws {RequiredError}
|
|
2473
|
+
*/
|
|
2474
|
+
businessTypeControllerListEmployeesSize: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2475
|
+
const localVarPath = `/v1/business/employee-size`;
|
|
2476
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2477
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2478
|
+
let baseOptions;
|
|
2479
|
+
if (configuration) {
|
|
2480
|
+
baseOptions = configuration.baseOptions;
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2483
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2484
|
+
const localVarHeaderParameter = {} as any;
|
|
2485
|
+
const localVarQueryParameter = {} as any;
|
|
2486
|
+
|
|
2487
|
+
// authentication bearer required
|
|
2488
|
+
// http bearer authentication required
|
|
2489
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2490
|
+
|
|
2491
|
+
|
|
2492
|
+
|
|
2493
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2494
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2495
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2496
|
+
|
|
2497
|
+
return {
|
|
2498
|
+
url: toPathString(localVarUrlObj),
|
|
2499
|
+
options: localVarRequestOptions,
|
|
2500
|
+
};
|
|
2501
|
+
},
|
|
2502
|
+
/**
|
|
2503
|
+
*
|
|
2504
|
+
* @param {*} [options] Override http request option.
|
|
2505
|
+
* @throws {RequiredError}
|
|
2506
|
+
*/
|
|
2507
|
+
businessTypeControllerListPriceRange: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2508
|
+
const localVarPath = `/v1/business/price-range`;
|
|
1874
2509
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1875
2510
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1876
2511
|
let baseOptions;
|
|
@@ -1882,6 +2517,10 @@ export const BusinessCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
1882
2517
|
const localVarHeaderParameter = {} as any;
|
|
1883
2518
|
const localVarQueryParameter = {} as any;
|
|
1884
2519
|
|
|
2520
|
+
// authentication bearer required
|
|
2521
|
+
// http bearer authentication required
|
|
2522
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2523
|
+
|
|
1885
2524
|
|
|
1886
2525
|
|
|
1887
2526
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1897,12 +2536,47 @@ export const BusinessCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
1897
2536
|
};
|
|
1898
2537
|
|
|
1899
2538
|
/**
|
|
1900
|
-
*
|
|
2539
|
+
* BusinessApi - functional programming interface
|
|
1901
2540
|
* @export
|
|
1902
2541
|
*/
|
|
1903
|
-
export const
|
|
1904
|
-
const localVarAxiosParamCreator =
|
|
2542
|
+
export const BusinessApiFp = function(configuration?: Configuration) {
|
|
2543
|
+
const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
|
|
1905
2544
|
return {
|
|
2545
|
+
/**
|
|
2546
|
+
*
|
|
2547
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
2548
|
+
* @param {*} [options] Override http request option.
|
|
2549
|
+
* @throws {RequiredError}
|
|
2550
|
+
*/
|
|
2551
|
+
async businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
2552
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessOnboarding(businessOnBoardingDTO, options);
|
|
2553
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2554
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
2555
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2556
|
+
},
|
|
2557
|
+
/**
|
|
2558
|
+
*
|
|
2559
|
+
* @param {BusinessVerifiedDTO} businessVerifiedDTO
|
|
2560
|
+
* @param {*} [options] Override http request option.
|
|
2561
|
+
* @throws {RequiredError}
|
|
2562
|
+
*/
|
|
2563
|
+
async businessControllerBusinessVerified(businessVerifiedDTO: BusinessVerifiedDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
2564
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessVerified(businessVerifiedDTO, options);
|
|
2565
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2566
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessVerified']?.[localVarOperationServerIndex]?.url;
|
|
2567
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2568
|
+
},
|
|
2569
|
+
/**
|
|
2570
|
+
*
|
|
2571
|
+
* @param {*} [options] Override http request option.
|
|
2572
|
+
* @throws {RequiredError}
|
|
2573
|
+
*/
|
|
2574
|
+
async businessControllerGetMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
2575
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerGetMe(options);
|
|
2576
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2577
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerGetMe']?.[localVarOperationServerIndex]?.url;
|
|
2578
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2579
|
+
},
|
|
1906
2580
|
/**
|
|
1907
2581
|
*
|
|
1908
2582
|
* @param {*} [options] Override http request option.
|
|
@@ -1911,31 +2585,79 @@ export const BusinessCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
1911
2585
|
async businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessTypeListResponse>> {
|
|
1912
2586
|
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListBusinessType(options);
|
|
1913
2587
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1914
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
2588
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListBusinessType']?.[localVarOperationServerIndex]?.url;
|
|
1915
2589
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1916
2590
|
},
|
|
1917
2591
|
/**
|
|
1918
2592
|
*
|
|
1919
|
-
* @param {string}
|
|
2593
|
+
* @param {string} businessType
|
|
1920
2594
|
* @param {*} [options] Override http request option.
|
|
1921
2595
|
* @throws {RequiredError}
|
|
1922
2596
|
*/
|
|
1923
|
-
async businessTypeControllerListCategories(
|
|
1924
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(
|
|
2597
|
+
async businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
2598
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(businessType, options);
|
|
1925
2599
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1926
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
2600
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListCategories']?.[localVarOperationServerIndex]?.url;
|
|
2601
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2602
|
+
},
|
|
2603
|
+
/**
|
|
2604
|
+
*
|
|
2605
|
+
* @param {*} [options] Override http request option.
|
|
2606
|
+
* @throws {RequiredError}
|
|
2607
|
+
*/
|
|
2608
|
+
async businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmployeesSizeListResponse>> {
|
|
2609
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListEmployeesSize(options);
|
|
2610
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2611
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListEmployeesSize']?.[localVarOperationServerIndex]?.url;
|
|
2612
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2613
|
+
},
|
|
2614
|
+
/**
|
|
2615
|
+
*
|
|
2616
|
+
* @param {*} [options] Override http request option.
|
|
2617
|
+
* @throws {RequiredError}
|
|
2618
|
+
*/
|
|
2619
|
+
async businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PriceRangeListResponse>> {
|
|
2620
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListPriceRange(options);
|
|
2621
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2622
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListPriceRange']?.[localVarOperationServerIndex]?.url;
|
|
1927
2623
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1928
2624
|
},
|
|
1929
2625
|
}
|
|
1930
2626
|
};
|
|
1931
2627
|
|
|
1932
2628
|
/**
|
|
1933
|
-
*
|
|
2629
|
+
* BusinessApi - factory interface
|
|
1934
2630
|
* @export
|
|
1935
2631
|
*/
|
|
1936
|
-
export const
|
|
1937
|
-
const localVarFp =
|
|
2632
|
+
export const BusinessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
2633
|
+
const localVarFp = BusinessApiFp(configuration)
|
|
1938
2634
|
return {
|
|
2635
|
+
/**
|
|
2636
|
+
*
|
|
2637
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
2638
|
+
* @param {*} [options] Override http request option.
|
|
2639
|
+
* @throws {RequiredError}
|
|
2640
|
+
*/
|
|
2641
|
+
businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
2642
|
+
return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
|
|
2643
|
+
},
|
|
2644
|
+
/**
|
|
2645
|
+
*
|
|
2646
|
+
* @param {BusinessVerifiedDTO} businessVerifiedDTO
|
|
2647
|
+
* @param {*} [options] Override http request option.
|
|
2648
|
+
* @throws {RequiredError}
|
|
2649
|
+
*/
|
|
2650
|
+
businessControllerBusinessVerified(businessVerifiedDTO: BusinessVerifiedDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
2651
|
+
return localVarFp.businessControllerBusinessVerified(businessVerifiedDTO, options).then((request) => request(axios, basePath));
|
|
2652
|
+
},
|
|
2653
|
+
/**
|
|
2654
|
+
*
|
|
2655
|
+
* @param {*} [options] Override http request option.
|
|
2656
|
+
* @throws {RequiredError}
|
|
2657
|
+
*/
|
|
2658
|
+
businessControllerGetMe(options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
2659
|
+
return localVarFp.businessControllerGetMe(options).then((request) => request(axios, basePath));
|
|
2660
|
+
},
|
|
1939
2661
|
/**
|
|
1940
2662
|
*
|
|
1941
2663
|
* @param {*} [options] Override http request option.
|
|
@@ -1946,42 +2668,110 @@ export const BusinessCategoriesApiFactory = function (configuration?: Configurat
|
|
|
1946
2668
|
},
|
|
1947
2669
|
/**
|
|
1948
2670
|
*
|
|
1949
|
-
* @param {string}
|
|
2671
|
+
* @param {string} businessType
|
|
2672
|
+
* @param {*} [options] Override http request option.
|
|
2673
|
+
* @throws {RequiredError}
|
|
2674
|
+
*/
|
|
2675
|
+
businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
2676
|
+
return localVarFp.businessTypeControllerListCategories(businessType, options).then((request) => request(axios, basePath));
|
|
2677
|
+
},
|
|
2678
|
+
/**
|
|
2679
|
+
*
|
|
1950
2680
|
* @param {*} [options] Override http request option.
|
|
1951
2681
|
* @throws {RequiredError}
|
|
1952
2682
|
*/
|
|
1953
|
-
|
|
1954
|
-
return localVarFp.
|
|
2683
|
+
businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig): AxiosPromise<EmployeesSizeListResponse> {
|
|
2684
|
+
return localVarFp.businessTypeControllerListEmployeesSize(options).then((request) => request(axios, basePath));
|
|
2685
|
+
},
|
|
2686
|
+
/**
|
|
2687
|
+
*
|
|
2688
|
+
* @param {*} [options] Override http request option.
|
|
2689
|
+
* @throws {RequiredError}
|
|
2690
|
+
*/
|
|
2691
|
+
businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): AxiosPromise<PriceRangeListResponse> {
|
|
2692
|
+
return localVarFp.businessTypeControllerListPriceRange(options).then((request) => request(axios, basePath));
|
|
1955
2693
|
},
|
|
1956
2694
|
};
|
|
1957
2695
|
};
|
|
1958
2696
|
|
|
1959
2697
|
/**
|
|
1960
|
-
*
|
|
2698
|
+
* BusinessApi - object-oriented interface
|
|
1961
2699
|
* @export
|
|
1962
|
-
* @class
|
|
2700
|
+
* @class BusinessApi
|
|
1963
2701
|
* @extends {BaseAPI}
|
|
1964
2702
|
*/
|
|
1965
|
-
export class
|
|
2703
|
+
export class BusinessApi extends BaseAPI {
|
|
1966
2704
|
/**
|
|
1967
2705
|
*
|
|
2706
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
1968
2707
|
* @param {*} [options] Override http request option.
|
|
1969
2708
|
* @throws {RequiredError}
|
|
1970
|
-
* @memberof
|
|
2709
|
+
* @memberof BusinessApi
|
|
2710
|
+
*/
|
|
2711
|
+
public businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
2712
|
+
return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
/**
|
|
2716
|
+
*
|
|
2717
|
+
* @param {BusinessVerifiedDTO} businessVerifiedDTO
|
|
2718
|
+
* @param {*} [options] Override http request option.
|
|
2719
|
+
* @throws {RequiredError}
|
|
2720
|
+
* @memberof BusinessApi
|
|
2721
|
+
*/
|
|
2722
|
+
public businessControllerBusinessVerified(businessVerifiedDTO: BusinessVerifiedDTO, options?: RawAxiosRequestConfig) {
|
|
2723
|
+
return BusinessApiFp(this.configuration).businessControllerBusinessVerified(businessVerifiedDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
/**
|
|
2727
|
+
*
|
|
2728
|
+
* @param {*} [options] Override http request option.
|
|
2729
|
+
* @throws {RequiredError}
|
|
2730
|
+
* @memberof BusinessApi
|
|
2731
|
+
*/
|
|
2732
|
+
public businessControllerGetMe(options?: RawAxiosRequestConfig) {
|
|
2733
|
+
return BusinessApiFp(this.configuration).businessControllerGetMe(options).then((request) => request(this.axios, this.basePath));
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2736
|
+
/**
|
|
2737
|
+
*
|
|
2738
|
+
* @param {*} [options] Override http request option.
|
|
2739
|
+
* @throws {RequiredError}
|
|
2740
|
+
* @memberof BusinessApi
|
|
1971
2741
|
*/
|
|
1972
2742
|
public businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig) {
|
|
1973
|
-
return
|
|
2743
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(options).then((request) => request(this.axios, this.basePath));
|
|
2744
|
+
}
|
|
2745
|
+
|
|
2746
|
+
/**
|
|
2747
|
+
*
|
|
2748
|
+
* @param {string} businessType
|
|
2749
|
+
* @param {*} [options] Override http request option.
|
|
2750
|
+
* @throws {RequiredError}
|
|
2751
|
+
* @memberof BusinessApi
|
|
2752
|
+
*/
|
|
2753
|
+
public businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig) {
|
|
2754
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(businessType, options).then((request) => request(this.axios, this.basePath));
|
|
1974
2755
|
}
|
|
1975
2756
|
|
|
1976
2757
|
/**
|
|
1977
2758
|
*
|
|
1978
|
-
* @param {string} type
|
|
1979
2759
|
* @param {*} [options] Override http request option.
|
|
1980
2760
|
* @throws {RequiredError}
|
|
1981
|
-
* @memberof
|
|
2761
|
+
* @memberof BusinessApi
|
|
1982
2762
|
*/
|
|
1983
|
-
public
|
|
1984
|
-
return
|
|
2763
|
+
public businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig) {
|
|
2764
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListEmployeesSize(options).then((request) => request(this.axios, this.basePath));
|
|
2765
|
+
}
|
|
2766
|
+
|
|
2767
|
+
/**
|
|
2768
|
+
*
|
|
2769
|
+
* @param {*} [options] Override http request option.
|
|
2770
|
+
* @throws {RequiredError}
|
|
2771
|
+
* @memberof BusinessApi
|
|
2772
|
+
*/
|
|
2773
|
+
public businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig) {
|
|
2774
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListPriceRange(options).then((request) => request(this.axios, this.basePath));
|
|
1985
2775
|
}
|
|
1986
2776
|
}
|
|
1987
2777
|
|
|
@@ -2450,6 +3240,41 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2450
3240
|
|
|
2451
3241
|
|
|
2452
3242
|
|
|
3243
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3244
|
+
|
|
3245
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3246
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3247
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3248
|
+
localVarRequestOptions.data = serializeDataIfNeeded(googleVerificationPayloadDTO, localVarRequestOptions, configuration)
|
|
3249
|
+
|
|
3250
|
+
return {
|
|
3251
|
+
url: toPathString(localVarUrlObj),
|
|
3252
|
+
options: localVarRequestOptions,
|
|
3253
|
+
};
|
|
3254
|
+
},
|
|
3255
|
+
/**
|
|
3256
|
+
*
|
|
3257
|
+
* @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
|
|
3258
|
+
* @param {*} [options] Override http request option.
|
|
3259
|
+
* @throws {RequiredError}
|
|
3260
|
+
*/
|
|
3261
|
+
oAuthControllerValidateGoogleTokenBusiness: async (googleVerificationPayloadDTO: GoogleVerificationPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3262
|
+
// verify required parameter 'googleVerificationPayloadDTO' is not null or undefined
|
|
3263
|
+
assertParamExists('oAuthControllerValidateGoogleTokenBusiness', 'googleVerificationPayloadDTO', googleVerificationPayloadDTO)
|
|
3264
|
+
const localVarPath = `/v1/oauth/google/business`;
|
|
3265
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3266
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3267
|
+
let baseOptions;
|
|
3268
|
+
if (configuration) {
|
|
3269
|
+
baseOptions = configuration.baseOptions;
|
|
3270
|
+
}
|
|
3271
|
+
|
|
3272
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3273
|
+
const localVarHeaderParameter = {} as any;
|
|
3274
|
+
const localVarQueryParameter = {} as any;
|
|
3275
|
+
|
|
3276
|
+
|
|
3277
|
+
|
|
2453
3278
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2454
3279
|
|
|
2455
3280
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2484,6 +3309,18 @@ export const OAuthApiFp = function(configuration?: Configuration) {
|
|
|
2484
3309
|
const localVarOperationServerBasePath = operationServerMap['OAuthApi.oAuthControllerValidateGoogleToken']?.[localVarOperationServerIndex]?.url;
|
|
2485
3310
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2486
3311
|
},
|
|
3312
|
+
/**
|
|
3313
|
+
*
|
|
3314
|
+
* @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
|
|
3315
|
+
* @param {*} [options] Override http request option.
|
|
3316
|
+
* @throws {RequiredError}
|
|
3317
|
+
*/
|
|
3318
|
+
async oAuthControllerValidateGoogleTokenBusiness(googleVerificationPayloadDTO: GoogleVerificationPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GoogleOAuthResponseDTO>> {
|
|
3319
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.oAuthControllerValidateGoogleTokenBusiness(googleVerificationPayloadDTO, options);
|
|
3320
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3321
|
+
const localVarOperationServerBasePath = operationServerMap['OAuthApi.oAuthControllerValidateGoogleTokenBusiness']?.[localVarOperationServerIndex]?.url;
|
|
3322
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3323
|
+
},
|
|
2487
3324
|
}
|
|
2488
3325
|
};
|
|
2489
3326
|
|
|
@@ -2503,6 +3340,15 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath
|
|
|
2503
3340
|
oAuthControllerValidateGoogleToken(googleVerificationPayloadDTO: GoogleVerificationPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<GoogleOAuthResponseDTO> {
|
|
2504
3341
|
return localVarFp.oAuthControllerValidateGoogleToken(googleVerificationPayloadDTO, options).then((request) => request(axios, basePath));
|
|
2505
3342
|
},
|
|
3343
|
+
/**
|
|
3344
|
+
*
|
|
3345
|
+
* @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
|
|
3346
|
+
* @param {*} [options] Override http request option.
|
|
3347
|
+
* @throws {RequiredError}
|
|
3348
|
+
*/
|
|
3349
|
+
oAuthControllerValidateGoogleTokenBusiness(googleVerificationPayloadDTO: GoogleVerificationPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<GoogleOAuthResponseDTO> {
|
|
3350
|
+
return localVarFp.oAuthControllerValidateGoogleTokenBusiness(googleVerificationPayloadDTO, options).then((request) => request(axios, basePath));
|
|
3351
|
+
},
|
|
2506
3352
|
};
|
|
2507
3353
|
};
|
|
2508
3354
|
|
|
@@ -2523,6 +3369,17 @@ export class OAuthApi extends BaseAPI {
|
|
|
2523
3369
|
public oAuthControllerValidateGoogleToken(googleVerificationPayloadDTO: GoogleVerificationPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
2524
3370
|
return OAuthApiFp(this.configuration).oAuthControllerValidateGoogleToken(googleVerificationPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2525
3371
|
}
|
|
3372
|
+
|
|
3373
|
+
/**
|
|
3374
|
+
*
|
|
3375
|
+
* @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
|
|
3376
|
+
* @param {*} [options] Override http request option.
|
|
3377
|
+
* @throws {RequiredError}
|
|
3378
|
+
* @memberof OAuthApi
|
|
3379
|
+
*/
|
|
3380
|
+
public oAuthControllerValidateGoogleTokenBusiness(googleVerificationPayloadDTO: GoogleVerificationPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
3381
|
+
return OAuthApiFp(this.configuration).oAuthControllerValidateGoogleTokenBusiness(googleVerificationPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3382
|
+
}
|
|
2526
3383
|
}
|
|
2527
3384
|
|
|
2528
3385
|
|