@gooday_corp/gooday-api-client 1.1.12 → 1.1.26
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/.openapi-generator/VERSION +1 -1
- package/api.ts +1022 -199
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -165,12 +165,24 @@ export interface BusinessEntity {
|
|
|
165
165
|
* @memberof BusinessEntity
|
|
166
166
|
*/
|
|
167
167
|
'timing'?: Array<BusinessTiming>;
|
|
168
|
+
/**
|
|
169
|
+
* Business Current Timing
|
|
170
|
+
* @type {BusinessTiming}
|
|
171
|
+
* @memberof BusinessEntity
|
|
172
|
+
*/
|
|
173
|
+
'currentTime'?: BusinessTiming;
|
|
168
174
|
/**
|
|
169
175
|
* Business policies
|
|
170
176
|
* @type {string}
|
|
171
177
|
* @memberof BusinessEntity
|
|
172
178
|
*/
|
|
173
179
|
'policies'?: string;
|
|
180
|
+
/**
|
|
181
|
+
* Business Name
|
|
182
|
+
* @type {string}
|
|
183
|
+
* @memberof BusinessEntity
|
|
184
|
+
*/
|
|
185
|
+
'name'?: string;
|
|
174
186
|
/**
|
|
175
187
|
* Business cancellationFee
|
|
176
188
|
* @type {number}
|
|
@@ -191,10 +203,10 @@ export interface BusinessEntity {
|
|
|
191
203
|
'businessCountry'?: string;
|
|
192
204
|
/**
|
|
193
205
|
* Business Venue
|
|
194
|
-
* @type {Array<
|
|
206
|
+
* @type {Array<string>}
|
|
195
207
|
* @memberof BusinessEntity
|
|
196
208
|
*/
|
|
197
|
-
'venues'?: Array<
|
|
209
|
+
'venues'?: Array<string>;
|
|
198
210
|
/**
|
|
199
211
|
* Business Type
|
|
200
212
|
* @type {string}
|
|
@@ -223,12 +235,45 @@ export interface BusinessEntity {
|
|
|
223
235
|
|
|
224
236
|
export const BusinessEntityStatusEnum = {
|
|
225
237
|
Verified: 'VERIFIED',
|
|
238
|
+
InProgress: 'IN_PROGRESS',
|
|
226
239
|
Pending: 'PENDING',
|
|
227
240
|
QuoteRequested: 'QUOTE_REQUESTED'
|
|
228
241
|
} as const;
|
|
229
242
|
|
|
230
243
|
export type BusinessEntityStatusEnum = typeof BusinessEntityStatusEnum[keyof typeof BusinessEntityStatusEnum];
|
|
231
244
|
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @export
|
|
248
|
+
* @interface BusinessFavoriteDTO
|
|
249
|
+
*/
|
|
250
|
+
export interface BusinessFavoriteDTO {
|
|
251
|
+
/**
|
|
252
|
+
* Business Venue Id
|
|
253
|
+
* @type {string}
|
|
254
|
+
* @memberof BusinessFavoriteDTO
|
|
255
|
+
*/
|
|
256
|
+
'venue': string;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* @export
|
|
261
|
+
* @interface BusinessFavoriteResponse
|
|
262
|
+
*/
|
|
263
|
+
export interface BusinessFavoriteResponse {
|
|
264
|
+
/**
|
|
265
|
+
* statusCode
|
|
266
|
+
* @type {number}
|
|
267
|
+
* @memberof BusinessFavoriteResponse
|
|
268
|
+
*/
|
|
269
|
+
'statusCode': number;
|
|
270
|
+
/**
|
|
271
|
+
* Business Favorite
|
|
272
|
+
* @type {BusinessFavoriteDTO}
|
|
273
|
+
* @memberof BusinessFavoriteResponse
|
|
274
|
+
*/
|
|
275
|
+
'data': BusinessFavoriteDTO;
|
|
276
|
+
}
|
|
232
277
|
/**
|
|
233
278
|
*
|
|
234
279
|
* @export
|
|
@@ -253,6 +298,12 @@ export interface BusinessOnBoardingDTO {
|
|
|
253
298
|
* @memberof BusinessOnBoardingDTO
|
|
254
299
|
*/
|
|
255
300
|
'policies'?: string;
|
|
301
|
+
/**
|
|
302
|
+
* Business Name
|
|
303
|
+
* @type {string}
|
|
304
|
+
* @memberof BusinessOnBoardingDTO
|
|
305
|
+
*/
|
|
306
|
+
'name'?: string;
|
|
256
307
|
/**
|
|
257
308
|
* Business cancellationFee
|
|
258
309
|
* @type {number}
|
|
@@ -371,6 +422,37 @@ export interface BusinessTypeEntity {
|
|
|
371
422
|
* @memberof BusinessTypeEntity
|
|
372
423
|
*/
|
|
373
424
|
'name': string;
|
|
425
|
+
/**
|
|
426
|
+
* Image background color
|
|
427
|
+
* @type {string}
|
|
428
|
+
* @memberof BusinessTypeEntity
|
|
429
|
+
*/
|
|
430
|
+
'backgroundColor': string;
|
|
431
|
+
/**
|
|
432
|
+
* Business Image
|
|
433
|
+
* @type {BusinessTypeImageDTO}
|
|
434
|
+
* @memberof BusinessTypeEntity
|
|
435
|
+
*/
|
|
436
|
+
'images': BusinessTypeImageDTO;
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
*
|
|
440
|
+
* @export
|
|
441
|
+
* @interface BusinessTypeImageDTO
|
|
442
|
+
*/
|
|
443
|
+
export interface BusinessTypeImageDTO {
|
|
444
|
+
/**
|
|
445
|
+
* Business Type Image Small
|
|
446
|
+
* @type {string}
|
|
447
|
+
* @memberof BusinessTypeImageDTO
|
|
448
|
+
*/
|
|
449
|
+
'small': string;
|
|
450
|
+
/**
|
|
451
|
+
* Business Type Image Large
|
|
452
|
+
* @type {string}
|
|
453
|
+
* @memberof BusinessTypeImageDTO
|
|
454
|
+
*/
|
|
455
|
+
'large': string;
|
|
374
456
|
}
|
|
375
457
|
/**
|
|
376
458
|
*
|
|
@@ -391,6 +473,25 @@ export interface BusinessTypeListResponse {
|
|
|
391
473
|
*/
|
|
392
474
|
'data': Array<BusinessTypeEntity>;
|
|
393
475
|
}
|
|
476
|
+
/**
|
|
477
|
+
*
|
|
478
|
+
* @export
|
|
479
|
+
* @interface BusinessUnFavoriteResponse
|
|
480
|
+
*/
|
|
481
|
+
export interface BusinessUnFavoriteResponse {
|
|
482
|
+
/**
|
|
483
|
+
* statusCode
|
|
484
|
+
* @type {number}
|
|
485
|
+
* @memberof BusinessUnFavoriteResponse
|
|
486
|
+
*/
|
|
487
|
+
'statusCode': number;
|
|
488
|
+
/**
|
|
489
|
+
* Business Favorite Rule
|
|
490
|
+
* @type {string}
|
|
491
|
+
* @memberof BusinessUnFavoriteResponse
|
|
492
|
+
*/
|
|
493
|
+
'message': string;
|
|
494
|
+
}
|
|
394
495
|
/**
|
|
395
496
|
*
|
|
396
497
|
* @export
|
|
@@ -398,23 +499,97 @@ export interface BusinessTypeListResponse {
|
|
|
398
499
|
*/
|
|
399
500
|
export interface BusinessVenueDTO {
|
|
400
501
|
/**
|
|
401
|
-
*
|
|
502
|
+
* coverPhots
|
|
402
503
|
* @type {string}
|
|
403
504
|
* @memberof BusinessVenueDTO
|
|
404
505
|
*/
|
|
405
|
-
'
|
|
506
|
+
'coverPhoto': string;
|
|
406
507
|
/**
|
|
407
508
|
*
|
|
408
509
|
* @type {string}
|
|
409
510
|
* @memberof BusinessVenueDTO
|
|
410
511
|
*/
|
|
411
512
|
'priceRange': string;
|
|
513
|
+
/**
|
|
514
|
+
*
|
|
515
|
+
* @type {LocationDTO}
|
|
516
|
+
* @memberof BusinessVenueDTO
|
|
517
|
+
*/
|
|
518
|
+
'location': LocationDTO;
|
|
412
519
|
/**
|
|
413
520
|
*
|
|
414
521
|
* @type {string}
|
|
415
522
|
* @memberof BusinessVenueDTO
|
|
416
523
|
*/
|
|
417
|
-
'
|
|
524
|
+
'numberOfEmployee': string;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
*
|
|
528
|
+
* @export
|
|
529
|
+
* @interface BusinessVenueDetailsEntity
|
|
530
|
+
*/
|
|
531
|
+
export interface BusinessVenueDetailsEntity {
|
|
532
|
+
/**
|
|
533
|
+
* Unique identifier for the business venue
|
|
534
|
+
* @type {string}
|
|
535
|
+
* @memberof BusinessVenueDetailsEntity
|
|
536
|
+
*/
|
|
537
|
+
'_id'?: string;
|
|
538
|
+
/**
|
|
539
|
+
* coverPhots
|
|
540
|
+
* @type {string}
|
|
541
|
+
* @memberof BusinessVenueDetailsEntity
|
|
542
|
+
*/
|
|
543
|
+
'coverPhoto': string;
|
|
544
|
+
/**
|
|
545
|
+
*
|
|
546
|
+
* @type {string}
|
|
547
|
+
* @memberof BusinessVenueDetailsEntity
|
|
548
|
+
*/
|
|
549
|
+
'priceRange': string;
|
|
550
|
+
/**
|
|
551
|
+
*
|
|
552
|
+
* @type {LocationDTO}
|
|
553
|
+
* @memberof BusinessVenueDetailsEntity
|
|
554
|
+
*/
|
|
555
|
+
'location': LocationDTO;
|
|
556
|
+
/**
|
|
557
|
+
*
|
|
558
|
+
* @type {string}
|
|
559
|
+
* @memberof BusinessVenueDetailsEntity
|
|
560
|
+
*/
|
|
561
|
+
'numberOfEmployee': string;
|
|
562
|
+
/**
|
|
563
|
+
*
|
|
564
|
+
* @type {UserEntity}
|
|
565
|
+
* @memberof BusinessVenueDetailsEntity
|
|
566
|
+
*/
|
|
567
|
+
'user': UserEntity;
|
|
568
|
+
/**
|
|
569
|
+
*
|
|
570
|
+
* @type {BusinessEntity}
|
|
571
|
+
* @memberof BusinessVenueDetailsEntity
|
|
572
|
+
*/
|
|
573
|
+
'business': BusinessEntity;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
*
|
|
577
|
+
* @export
|
|
578
|
+
* @interface BusinessVenueResponseDTO
|
|
579
|
+
*/
|
|
580
|
+
export interface BusinessVenueResponseDTO {
|
|
581
|
+
/**
|
|
582
|
+
* statusCode
|
|
583
|
+
* @type {number}
|
|
584
|
+
* @memberof BusinessVenueResponseDTO
|
|
585
|
+
*/
|
|
586
|
+
'statusCode': number;
|
|
587
|
+
/**
|
|
588
|
+
* Business verification
|
|
589
|
+
* @type {Array<BusinessVenueDetailsEntity>}
|
|
590
|
+
* @memberof BusinessVenueResponseDTO
|
|
591
|
+
*/
|
|
592
|
+
'data': Array<BusinessVenueDetailsEntity>;
|
|
418
593
|
}
|
|
419
594
|
/**
|
|
420
595
|
*
|
|
@@ -479,6 +654,12 @@ export interface CategoryEntity {
|
|
|
479
654
|
* @memberof CategoryEntity
|
|
480
655
|
*/
|
|
481
656
|
'name': string;
|
|
657
|
+
/**
|
|
658
|
+
* Image of category
|
|
659
|
+
* @type {string}
|
|
660
|
+
* @memberof CategoryEntity
|
|
661
|
+
*/
|
|
662
|
+
'image': string;
|
|
482
663
|
/**
|
|
483
664
|
* Unique identifier or reference of the business Type
|
|
484
665
|
* @type {string}
|
|
@@ -693,6 +874,43 @@ export interface ForgotPasswordResponseDTO {
|
|
|
693
874
|
*/
|
|
694
875
|
'message': string;
|
|
695
876
|
}
|
|
877
|
+
/**
|
|
878
|
+
*
|
|
879
|
+
* @export
|
|
880
|
+
* @interface GetBusinessVenueDto
|
|
881
|
+
*/
|
|
882
|
+
export interface GetBusinessVenueDto {
|
|
883
|
+
/**
|
|
884
|
+
* Business type ID
|
|
885
|
+
* @type {string}
|
|
886
|
+
* @memberof GetBusinessVenueDto
|
|
887
|
+
*/
|
|
888
|
+
'type'?: string;
|
|
889
|
+
/**
|
|
890
|
+
* Business name search
|
|
891
|
+
* @type {string}
|
|
892
|
+
* @memberof GetBusinessVenueDto
|
|
893
|
+
*/
|
|
894
|
+
'search'?: string;
|
|
895
|
+
/**
|
|
896
|
+
* Business category ID
|
|
897
|
+
* @type {string}
|
|
898
|
+
* @memberof GetBusinessVenueDto
|
|
899
|
+
*/
|
|
900
|
+
'category'?: string;
|
|
901
|
+
/**
|
|
902
|
+
* Page number for pagination
|
|
903
|
+
* @type {number}
|
|
904
|
+
* @memberof GetBusinessVenueDto
|
|
905
|
+
*/
|
|
906
|
+
'page'?: number;
|
|
907
|
+
/**
|
|
908
|
+
* Number of items per page for pagination
|
|
909
|
+
* @type {number}
|
|
910
|
+
* @memberof GetBusinessVenueDto
|
|
911
|
+
*/
|
|
912
|
+
'limit'?: number;
|
|
913
|
+
}
|
|
696
914
|
/**
|
|
697
915
|
*
|
|
698
916
|
* @export
|
|
@@ -846,6 +1064,101 @@ export interface IntegrationsResponse {
|
|
|
846
1064
|
*/
|
|
847
1065
|
'data': Array<IntegrationEntity>;
|
|
848
1066
|
}
|
|
1067
|
+
/**
|
|
1068
|
+
*
|
|
1069
|
+
* @export
|
|
1070
|
+
* @interface LocationCoordinatesResponse
|
|
1071
|
+
*/
|
|
1072
|
+
export interface LocationCoordinatesResponse {
|
|
1073
|
+
/**
|
|
1074
|
+
* statusCode
|
|
1075
|
+
* @type {number}
|
|
1076
|
+
* @memberof LocationCoordinatesResponse
|
|
1077
|
+
*/
|
|
1078
|
+
'statusCode': number;
|
|
1079
|
+
/**
|
|
1080
|
+
* Location coordinate
|
|
1081
|
+
* @type {LocationDTO}
|
|
1082
|
+
* @memberof LocationCoordinatesResponse
|
|
1083
|
+
*/
|
|
1084
|
+
'data': LocationDTO;
|
|
1085
|
+
}
|
|
1086
|
+
/**
|
|
1087
|
+
*
|
|
1088
|
+
* @export
|
|
1089
|
+
* @interface LocationDTO
|
|
1090
|
+
*/
|
|
1091
|
+
export interface LocationDTO {
|
|
1092
|
+
/**
|
|
1093
|
+
*
|
|
1094
|
+
* @type {string}
|
|
1095
|
+
* @memberof LocationDTO
|
|
1096
|
+
*/
|
|
1097
|
+
'type': LocationDTOTypeEnum;
|
|
1098
|
+
/**
|
|
1099
|
+
*
|
|
1100
|
+
* @type {Array<number>}
|
|
1101
|
+
* @memberof LocationDTO
|
|
1102
|
+
*/
|
|
1103
|
+
'coordinates': Array<number>;
|
|
1104
|
+
/**
|
|
1105
|
+
*
|
|
1106
|
+
* @type {string}
|
|
1107
|
+
* @memberof LocationDTO
|
|
1108
|
+
*/
|
|
1109
|
+
'distance'?: string;
|
|
1110
|
+
/**
|
|
1111
|
+
*
|
|
1112
|
+
* @type {LocationMetaDTO}
|
|
1113
|
+
* @memberof LocationDTO
|
|
1114
|
+
*/
|
|
1115
|
+
'meta': LocationMetaDTO;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
export const LocationDTOTypeEnum = {
|
|
1119
|
+
Point: 'Point'
|
|
1120
|
+
} as const;
|
|
1121
|
+
|
|
1122
|
+
export type LocationDTOTypeEnum = typeof LocationDTOTypeEnum[keyof typeof LocationDTOTypeEnum];
|
|
1123
|
+
|
|
1124
|
+
/**
|
|
1125
|
+
*
|
|
1126
|
+
* @export
|
|
1127
|
+
* @interface LocationEntityResponse
|
|
1128
|
+
*/
|
|
1129
|
+
export interface LocationEntityResponse {
|
|
1130
|
+
/**
|
|
1131
|
+
* statusCode
|
|
1132
|
+
* @type {number}
|
|
1133
|
+
* @memberof LocationEntityResponse
|
|
1134
|
+
*/
|
|
1135
|
+
'statusCode': number;
|
|
1136
|
+
/**
|
|
1137
|
+
* Location places
|
|
1138
|
+
* @type {Array<Places>}
|
|
1139
|
+
* @memberof LocationEntityResponse
|
|
1140
|
+
*/
|
|
1141
|
+
'data': Array<Places>;
|
|
1142
|
+
}
|
|
1143
|
+
/**
|
|
1144
|
+
*
|
|
1145
|
+
* @export
|
|
1146
|
+
* @interface LocationMetaDTO
|
|
1147
|
+
*/
|
|
1148
|
+
export interface LocationMetaDTO {
|
|
1149
|
+
/**
|
|
1150
|
+
*
|
|
1151
|
+
* @type {string}
|
|
1152
|
+
* @memberof LocationMetaDTO
|
|
1153
|
+
*/
|
|
1154
|
+
'formattedAddress'?: string;
|
|
1155
|
+
/**
|
|
1156
|
+
*
|
|
1157
|
+
* @type {string}
|
|
1158
|
+
* @memberof LocationMetaDTO
|
|
1159
|
+
*/
|
|
1160
|
+
'shortFormattedAddress': string;
|
|
1161
|
+
}
|
|
849
1162
|
/**
|
|
850
1163
|
*
|
|
851
1164
|
* @export
|
|
@@ -1010,6 +1323,25 @@ export interface OnBoardingResponseDTO {
|
|
|
1010
1323
|
*/
|
|
1011
1324
|
'data': UserEntity;
|
|
1012
1325
|
}
|
|
1326
|
+
/**
|
|
1327
|
+
*
|
|
1328
|
+
* @export
|
|
1329
|
+
* @interface Places
|
|
1330
|
+
*/
|
|
1331
|
+
export interface Places {
|
|
1332
|
+
/**
|
|
1333
|
+
*
|
|
1334
|
+
* @type {string}
|
|
1335
|
+
* @memberof Places
|
|
1336
|
+
*/
|
|
1337
|
+
'label': string;
|
|
1338
|
+
/**
|
|
1339
|
+
*
|
|
1340
|
+
* @type {string}
|
|
1341
|
+
* @memberof Places
|
|
1342
|
+
*/
|
|
1343
|
+
'value': string;
|
|
1344
|
+
}
|
|
1013
1345
|
/**
|
|
1014
1346
|
*
|
|
1015
1347
|
* @export
|
|
@@ -1097,6 +1429,19 @@ export interface PlanResponseDTO {
|
|
|
1097
1429
|
*/
|
|
1098
1430
|
'data': Array<PlanEntity>;
|
|
1099
1431
|
}
|
|
1432
|
+
/**
|
|
1433
|
+
*
|
|
1434
|
+
* @export
|
|
1435
|
+
* @interface PlanUpsertPayloadDTO
|
|
1436
|
+
*/
|
|
1437
|
+
export interface PlanUpsertPayloadDTO {
|
|
1438
|
+
/**
|
|
1439
|
+
* Plan id
|
|
1440
|
+
* @type {string}
|
|
1441
|
+
* @memberof PlanUpsertPayloadDTO
|
|
1442
|
+
*/
|
|
1443
|
+
'plan': string;
|
|
1444
|
+
}
|
|
1100
1445
|
/**
|
|
1101
1446
|
*
|
|
1102
1447
|
* @export
|
|
@@ -1320,6 +1665,18 @@ export interface SignupDto {
|
|
|
1320
1665
|
* @memberof SignupDto
|
|
1321
1666
|
*/
|
|
1322
1667
|
'lastName': string;
|
|
1668
|
+
/**
|
|
1669
|
+
* Contact Number For User
|
|
1670
|
+
* @type {string}
|
|
1671
|
+
* @memberof SignupDto
|
|
1672
|
+
*/
|
|
1673
|
+
'mobileNumber'?: string;
|
|
1674
|
+
/**
|
|
1675
|
+
* User gender
|
|
1676
|
+
* @type {string}
|
|
1677
|
+
* @memberof SignupDto
|
|
1678
|
+
*/
|
|
1679
|
+
'gender'?: string;
|
|
1323
1680
|
/**
|
|
1324
1681
|
* The email of the user
|
|
1325
1682
|
* @type {string}
|
|
@@ -1399,46 +1756,40 @@ export interface SkillDto {
|
|
|
1399
1756
|
/**
|
|
1400
1757
|
*
|
|
1401
1758
|
* @export
|
|
1402
|
-
* @interface
|
|
1759
|
+
* @interface StripePaymentDTO
|
|
1403
1760
|
*/
|
|
1404
|
-
export interface
|
|
1405
|
-
/**
|
|
1406
|
-
* Strip Customer ID
|
|
1407
|
-
* @type {string}
|
|
1408
|
-
* @memberof StripPaymentDTO
|
|
1409
|
-
*/
|
|
1410
|
-
'customerId': string;
|
|
1761
|
+
export interface StripePaymentDTO {
|
|
1411
1762
|
/**
|
|
1412
|
-
*
|
|
1763
|
+
* Stripe ephemeral Key
|
|
1413
1764
|
* @type {string}
|
|
1414
|
-
* @memberof
|
|
1765
|
+
* @memberof StripePaymentDTO
|
|
1415
1766
|
*/
|
|
1416
1767
|
'ephemeralKey': string;
|
|
1417
1768
|
/**
|
|
1418
|
-
*
|
|
1769
|
+
* Stripe ClientSecret
|
|
1419
1770
|
* @type {string}
|
|
1420
|
-
* @memberof
|
|
1771
|
+
* @memberof StripePaymentDTO
|
|
1421
1772
|
*/
|
|
1422
1773
|
'clientSecret': string;
|
|
1423
1774
|
}
|
|
1424
1775
|
/**
|
|
1425
1776
|
*
|
|
1426
1777
|
* @export
|
|
1427
|
-
* @interface
|
|
1778
|
+
* @interface StripePlanUpsertResponseDTO
|
|
1428
1779
|
*/
|
|
1429
|
-
export interface
|
|
1780
|
+
export interface StripePlanUpsertResponseDTO {
|
|
1430
1781
|
/**
|
|
1431
1782
|
* statuscCode
|
|
1432
1783
|
* @type {number}
|
|
1433
|
-
* @memberof
|
|
1784
|
+
* @memberof StripePlanUpsertResponseDTO
|
|
1434
1785
|
*/
|
|
1435
1786
|
'statusCode': number;
|
|
1436
1787
|
/**
|
|
1437
1788
|
* Strip Intent Data
|
|
1438
|
-
* @type {
|
|
1439
|
-
* @memberof
|
|
1789
|
+
* @type {StripePaymentDTO}
|
|
1790
|
+
* @memberof StripePlanUpsertResponseDTO
|
|
1440
1791
|
*/
|
|
1441
|
-
'data':
|
|
1792
|
+
'data': StripePaymentDTO;
|
|
1442
1793
|
}
|
|
1443
1794
|
/**
|
|
1444
1795
|
*
|
|
@@ -1452,6 +1803,12 @@ export interface UserEntity {
|
|
|
1452
1803
|
* @memberof UserEntity
|
|
1453
1804
|
*/
|
|
1454
1805
|
'_id': string;
|
|
1806
|
+
/**
|
|
1807
|
+
* Unique identifier for the Gooday user
|
|
1808
|
+
* @type {string}
|
|
1809
|
+
* @memberof UserEntity
|
|
1810
|
+
*/
|
|
1811
|
+
'goodayId': string;
|
|
1455
1812
|
/**
|
|
1456
1813
|
* First name of the user
|
|
1457
1814
|
* @type {string}
|
|
@@ -1470,6 +1827,12 @@ export interface UserEntity {
|
|
|
1470
1827
|
* @memberof UserEntity
|
|
1471
1828
|
*/
|
|
1472
1829
|
'email': string;
|
|
1830
|
+
/**
|
|
1831
|
+
* User location
|
|
1832
|
+
* @type {Array<number>}
|
|
1833
|
+
* @memberof UserEntity
|
|
1834
|
+
*/
|
|
1835
|
+
'location'?: Array<number>;
|
|
1473
1836
|
/**
|
|
1474
1837
|
* Nickname of the user
|
|
1475
1838
|
* @type {string}
|
|
@@ -1488,6 +1851,18 @@ export interface UserEntity {
|
|
|
1488
1851
|
* @memberof UserEntity
|
|
1489
1852
|
*/
|
|
1490
1853
|
'assistant': string;
|
|
1854
|
+
/**
|
|
1855
|
+
* Phone No
|
|
1856
|
+
* @type {string}
|
|
1857
|
+
* @memberof UserEntity
|
|
1858
|
+
*/
|
|
1859
|
+
'mobileNumber'?: string;
|
|
1860
|
+
/**
|
|
1861
|
+
* User gender
|
|
1862
|
+
* @type {string}
|
|
1863
|
+
* @memberof UserEntity
|
|
1864
|
+
*/
|
|
1865
|
+
'gender'?: string;
|
|
1491
1866
|
/**
|
|
1492
1867
|
* Indicates whether the user\'s email has been verified
|
|
1493
1868
|
* @type {boolean}
|
|
@@ -1512,6 +1887,12 @@ export interface UserEntity {
|
|
|
1512
1887
|
* @memberof UserEntity
|
|
1513
1888
|
*/
|
|
1514
1889
|
'plan': UserPlanDTO;
|
|
1890
|
+
/**
|
|
1891
|
+
* Plan subscribed by the user
|
|
1892
|
+
* @type {BusinessEntity}
|
|
1893
|
+
* @memberof UserEntity
|
|
1894
|
+
*/
|
|
1895
|
+
'business'?: BusinessEntity;
|
|
1515
1896
|
/**
|
|
1516
1897
|
* Action user has to perform
|
|
1517
1898
|
* @type {Array<string>}
|
|
@@ -1576,11 +1957,24 @@ export type UserPlanDTONameEnum = typeof UserPlanDTONameEnum[keyof typeof UserPl
|
|
|
1576
1957
|
/**
|
|
1577
1958
|
*
|
|
1578
1959
|
* @export
|
|
1579
|
-
* @interface
|
|
1960
|
+
* @interface UserSyncLocationDTO
|
|
1580
1961
|
*/
|
|
1581
|
-
export interface
|
|
1962
|
+
export interface UserSyncLocationDTO {
|
|
1582
1963
|
/**
|
|
1583
|
-
*
|
|
1964
|
+
* User location
|
|
1965
|
+
* @type {Array<number>}
|
|
1966
|
+
* @memberof UserSyncLocationDTO
|
|
1967
|
+
*/
|
|
1968
|
+
'location': Array<number>;
|
|
1969
|
+
}
|
|
1970
|
+
/**
|
|
1971
|
+
*
|
|
1972
|
+
* @export
|
|
1973
|
+
* @interface VerifyOTPPayloadDTO
|
|
1974
|
+
*/
|
|
1975
|
+
export interface VerifyOTPPayloadDTO {
|
|
1976
|
+
/**
|
|
1977
|
+
* 6 digit otp from mail
|
|
1584
1978
|
* @type {string}
|
|
1585
1979
|
* @memberof VerifyOTPPayloadDTO
|
|
1586
1980
|
*/
|
|
@@ -2505,7 +2899,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2505
2899
|
* @throws {RequiredError}
|
|
2506
2900
|
*/
|
|
2507
2901
|
businessControllerListBusinesses: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2508
|
-
const localVarPath = `/business`;
|
|
2902
|
+
const localVarPath = `/v1/business`;
|
|
2509
2903
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2510
2904
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2511
2905
|
let baseOptions;
|
|
@@ -2528,6 +2922,45 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2528
2922
|
options: localVarRequestOptions,
|
|
2529
2923
|
};
|
|
2530
2924
|
},
|
|
2925
|
+
/**
|
|
2926
|
+
*
|
|
2927
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
2928
|
+
* @param {*} [options] Override http request option.
|
|
2929
|
+
* @throws {RequiredError}
|
|
2930
|
+
*/
|
|
2931
|
+
businessTypeControllerGetBusinessVenue: async (getBusinessVenueDto: GetBusinessVenueDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2932
|
+
// verify required parameter 'getBusinessVenueDto' is not null or undefined
|
|
2933
|
+
assertParamExists('businessTypeControllerGetBusinessVenue', 'getBusinessVenueDto', getBusinessVenueDto)
|
|
2934
|
+
const localVarPath = `/v1/business/business-venue`;
|
|
2935
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2936
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2937
|
+
let baseOptions;
|
|
2938
|
+
if (configuration) {
|
|
2939
|
+
baseOptions = configuration.baseOptions;
|
|
2940
|
+
}
|
|
2941
|
+
|
|
2942
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2943
|
+
const localVarHeaderParameter = {} as any;
|
|
2944
|
+
const localVarQueryParameter = {} as any;
|
|
2945
|
+
|
|
2946
|
+
// authentication bearer required
|
|
2947
|
+
// http bearer authentication required
|
|
2948
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2949
|
+
|
|
2950
|
+
|
|
2951
|
+
|
|
2952
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2953
|
+
|
|
2954
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2955
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2956
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2957
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getBusinessVenueDto, localVarRequestOptions, configuration)
|
|
2958
|
+
|
|
2959
|
+
return {
|
|
2960
|
+
url: toPathString(localVarUrlObj),
|
|
2961
|
+
options: localVarRequestOptions,
|
|
2962
|
+
};
|
|
2963
|
+
},
|
|
2531
2964
|
/**
|
|
2532
2965
|
*
|
|
2533
2966
|
* @param {*} [options] Override http request option.
|
|
@@ -2563,15 +2996,15 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2563
2996
|
},
|
|
2564
2997
|
/**
|
|
2565
2998
|
*
|
|
2566
|
-
* @param {string}
|
|
2999
|
+
* @param {string} businessTypeId ID of the business type
|
|
2567
3000
|
* @param {*} [options] Override http request option.
|
|
2568
3001
|
* @throws {RequiredError}
|
|
2569
3002
|
*/
|
|
2570
|
-
businessTypeControllerListCategories: async (
|
|
2571
|
-
// verify required parameter '
|
|
2572
|
-
assertParamExists('businessTypeControllerListCategories', '
|
|
2573
|
-
const localVarPath = `/v1/business/{
|
|
2574
|
-
.replace(`{${"
|
|
3003
|
+
businessTypeControllerListCategories: async (businessTypeId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3004
|
+
// verify required parameter 'businessTypeId' is not null or undefined
|
|
3005
|
+
assertParamExists('businessTypeControllerListCategories', 'businessTypeId', businessTypeId)
|
|
3006
|
+
const localVarPath = `/v1/business/{businessTypeId}/categories`
|
|
3007
|
+
.replace(`{${"businessTypeId"}}`, encodeURIComponent(String(businessTypeId)));
|
|
2575
3008
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2576
3009
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2577
3010
|
let baseOptions;
|
|
@@ -2655,6 +3088,121 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2655
3088
|
|
|
2656
3089
|
|
|
2657
3090
|
|
|
3091
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3092
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3093
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3094
|
+
|
|
3095
|
+
return {
|
|
3096
|
+
url: toPathString(localVarUrlObj),
|
|
3097
|
+
options: localVarRequestOptions,
|
|
3098
|
+
};
|
|
3099
|
+
},
|
|
3100
|
+
/**
|
|
3101
|
+
*
|
|
3102
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3103
|
+
* @param {*} [options] Override http request option.
|
|
3104
|
+
* @throws {RequiredError}
|
|
3105
|
+
*/
|
|
3106
|
+
businessTypeControllerMarkBusinessAsFavorite: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3107
|
+
// verify required parameter 'businessFavoriteDTO' is not null or undefined
|
|
3108
|
+
assertParamExists('businessTypeControllerMarkBusinessAsFavorite', 'businessFavoriteDTO', businessFavoriteDTO)
|
|
3109
|
+
const localVarPath = `/v1/business/favorite`;
|
|
3110
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3111
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3112
|
+
let baseOptions;
|
|
3113
|
+
if (configuration) {
|
|
3114
|
+
baseOptions = configuration.baseOptions;
|
|
3115
|
+
}
|
|
3116
|
+
|
|
3117
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3118
|
+
const localVarHeaderParameter = {} as any;
|
|
3119
|
+
const localVarQueryParameter = {} as any;
|
|
3120
|
+
|
|
3121
|
+
// authentication bearer required
|
|
3122
|
+
// http bearer authentication required
|
|
3123
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3124
|
+
|
|
3125
|
+
|
|
3126
|
+
|
|
3127
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3128
|
+
|
|
3129
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3130
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3131
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3132
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
|
|
3133
|
+
|
|
3134
|
+
return {
|
|
3135
|
+
url: toPathString(localVarUrlObj),
|
|
3136
|
+
options: localVarRequestOptions,
|
|
3137
|
+
};
|
|
3138
|
+
},
|
|
3139
|
+
/**
|
|
3140
|
+
*
|
|
3141
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3142
|
+
* @param {*} [options] Override http request option.
|
|
3143
|
+
* @throws {RequiredError}
|
|
3144
|
+
*/
|
|
3145
|
+
businessTypeControllerUnFavoriteBusiness: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3146
|
+
// verify required parameter 'businessFavoriteDTO' is not null or undefined
|
|
3147
|
+
assertParamExists('businessTypeControllerUnFavoriteBusiness', 'businessFavoriteDTO', businessFavoriteDTO)
|
|
3148
|
+
const localVarPath = `/v1/business/unfavorite`;
|
|
3149
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3150
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3151
|
+
let baseOptions;
|
|
3152
|
+
if (configuration) {
|
|
3153
|
+
baseOptions = configuration.baseOptions;
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3156
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3157
|
+
const localVarHeaderParameter = {} as any;
|
|
3158
|
+
const localVarQueryParameter = {} as any;
|
|
3159
|
+
|
|
3160
|
+
// authentication bearer required
|
|
3161
|
+
// http bearer authentication required
|
|
3162
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3163
|
+
|
|
3164
|
+
|
|
3165
|
+
|
|
3166
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3167
|
+
|
|
3168
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3169
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3170
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3171
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
|
|
3172
|
+
|
|
3173
|
+
return {
|
|
3174
|
+
url: toPathString(localVarUrlObj),
|
|
3175
|
+
options: localVarRequestOptions,
|
|
3176
|
+
};
|
|
3177
|
+
},
|
|
3178
|
+
/**
|
|
3179
|
+
*
|
|
3180
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3181
|
+
* @param {string} businessNumber
|
|
3182
|
+
* @param {*} [options] Override http request option.
|
|
3183
|
+
* @throws {RequiredError}
|
|
3184
|
+
*/
|
|
3185
|
+
businessVerificationControllerABNVerification: async (type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3186
|
+
// verify required parameter 'type' is not null or undefined
|
|
3187
|
+
assertParamExists('businessVerificationControllerABNVerification', 'type', type)
|
|
3188
|
+
// verify required parameter 'businessNumber' is not null or undefined
|
|
3189
|
+
assertParamExists('businessVerificationControllerABNVerification', 'businessNumber', businessNumber)
|
|
3190
|
+
const localVarPath = `/v1/business/verify/{type}/{businessNumber}`
|
|
3191
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
3192
|
+
.replace(`{${"businessNumber"}}`, encodeURIComponent(String(businessNumber)));
|
|
3193
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3194
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3195
|
+
let baseOptions;
|
|
3196
|
+
if (configuration) {
|
|
3197
|
+
baseOptions = configuration.baseOptions;
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3201
|
+
const localVarHeaderParameter = {} as any;
|
|
3202
|
+
const localVarQueryParameter = {} as any;
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
|
|
2658
3206
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2659
3207
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2660
3208
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2702,12 +3250,24 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
2702
3250
|
* @param {*} [options] Override http request option.
|
|
2703
3251
|
* @throws {RequiredError}
|
|
2704
3252
|
*/
|
|
2705
|
-
async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3253
|
+
async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessOnBoardingResponseDTO>>> {
|
|
2706
3254
|
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerListBusinesses(options);
|
|
2707
3255
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2708
3256
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerListBusinesses']?.[localVarOperationServerIndex]?.url;
|
|
2709
3257
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2710
3258
|
},
|
|
3259
|
+
/**
|
|
3260
|
+
*
|
|
3261
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3262
|
+
* @param {*} [options] Override http request option.
|
|
3263
|
+
* @throws {RequiredError}
|
|
3264
|
+
*/
|
|
3265
|
+
async businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
|
|
3266
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options);
|
|
3267
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3268
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
3269
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3270
|
+
},
|
|
2711
3271
|
/**
|
|
2712
3272
|
*
|
|
2713
3273
|
* @param {*} [options] Override http request option.
|
|
@@ -2721,12 +3281,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
2721
3281
|
},
|
|
2722
3282
|
/**
|
|
2723
3283
|
*
|
|
2724
|
-
* @param {string}
|
|
3284
|
+
* @param {string} businessTypeId ID of the business type
|
|
2725
3285
|
* @param {*} [options] Override http request option.
|
|
2726
3286
|
* @throws {RequiredError}
|
|
2727
3287
|
*/
|
|
2728
|
-
async businessTypeControllerListCategories(
|
|
2729
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(
|
|
3288
|
+
async businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
3289
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(businessTypeId, options);
|
|
2730
3290
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2731
3291
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListCategories']?.[localVarOperationServerIndex]?.url;
|
|
2732
3292
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2753,6 +3313,43 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
2753
3313
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListPriceRange']?.[localVarOperationServerIndex]?.url;
|
|
2754
3314
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2755
3315
|
},
|
|
3316
|
+
/**
|
|
3317
|
+
*
|
|
3318
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3319
|
+
* @param {*} [options] Override http request option.
|
|
3320
|
+
* @throws {RequiredError}
|
|
3321
|
+
*/
|
|
3322
|
+
async businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessFavoriteResponse>> {
|
|
3323
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options);
|
|
3324
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3325
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerMarkBusinessAsFavorite']?.[localVarOperationServerIndex]?.url;
|
|
3326
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3327
|
+
},
|
|
3328
|
+
/**
|
|
3329
|
+
*
|
|
3330
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3331
|
+
* @param {*} [options] Override http request option.
|
|
3332
|
+
* @throws {RequiredError}
|
|
3333
|
+
*/
|
|
3334
|
+
async businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessUnFavoriteResponse>> {
|
|
3335
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options);
|
|
3336
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3337
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerUnFavoriteBusiness']?.[localVarOperationServerIndex]?.url;
|
|
3338
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3339
|
+
},
|
|
3340
|
+
/**
|
|
3341
|
+
*
|
|
3342
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3343
|
+
* @param {string} businessNumber
|
|
3344
|
+
* @param {*} [options] Override http request option.
|
|
3345
|
+
* @throws {RequiredError}
|
|
3346
|
+
*/
|
|
3347
|
+
async businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVerificationResponse>> {
|
|
3348
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessVerificationControllerABNVerification(type, businessNumber, options);
|
|
3349
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3350
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessVerificationControllerABNVerification']?.[localVarOperationServerIndex]?.url;
|
|
3351
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3352
|
+
},
|
|
2756
3353
|
}
|
|
2757
3354
|
};
|
|
2758
3355
|
|
|
@@ -2785,9 +3382,18 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
2785
3382
|
* @param {*} [options] Override http request option.
|
|
2786
3383
|
* @throws {RequiredError}
|
|
2787
3384
|
*/
|
|
2788
|
-
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3385
|
+
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<Array<BusinessOnBoardingResponseDTO>> {
|
|
2789
3386
|
return localVarFp.businessControllerListBusinesses(options).then((request) => request(axios, basePath));
|
|
2790
3387
|
},
|
|
3388
|
+
/**
|
|
3389
|
+
*
|
|
3390
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3391
|
+
* @param {*} [options] Override http request option.
|
|
3392
|
+
* @throws {RequiredError}
|
|
3393
|
+
*/
|
|
3394
|
+
businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
3395
|
+
return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
|
|
3396
|
+
},
|
|
2791
3397
|
/**
|
|
2792
3398
|
*
|
|
2793
3399
|
* @param {*} [options] Override http request option.
|
|
@@ -2798,12 +3404,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
2798
3404
|
},
|
|
2799
3405
|
/**
|
|
2800
3406
|
*
|
|
2801
|
-
* @param {string}
|
|
3407
|
+
* @param {string} businessTypeId ID of the business type
|
|
2802
3408
|
* @param {*} [options] Override http request option.
|
|
2803
3409
|
* @throws {RequiredError}
|
|
2804
3410
|
*/
|
|
2805
|
-
businessTypeControllerListCategories(
|
|
2806
|
-
return localVarFp.businessTypeControllerListCategories(
|
|
3411
|
+
businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
3412
|
+
return localVarFp.businessTypeControllerListCategories(businessTypeId, options).then((request) => request(axios, basePath));
|
|
2807
3413
|
},
|
|
2808
3414
|
/**
|
|
2809
3415
|
*
|
|
@@ -2821,6 +3427,34 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
2821
3427
|
businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): AxiosPromise<PriceRangeListResponse> {
|
|
2822
3428
|
return localVarFp.businessTypeControllerListPriceRange(options).then((request) => request(axios, basePath));
|
|
2823
3429
|
},
|
|
3430
|
+
/**
|
|
3431
|
+
*
|
|
3432
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3433
|
+
* @param {*} [options] Override http request option.
|
|
3434
|
+
* @throws {RequiredError}
|
|
3435
|
+
*/
|
|
3436
|
+
businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteResponse> {
|
|
3437
|
+
return localVarFp.businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options).then((request) => request(axios, basePath));
|
|
3438
|
+
},
|
|
3439
|
+
/**
|
|
3440
|
+
*
|
|
3441
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3442
|
+
* @param {*} [options] Override http request option.
|
|
3443
|
+
* @throws {RequiredError}
|
|
3444
|
+
*/
|
|
3445
|
+
businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessUnFavoriteResponse> {
|
|
3446
|
+
return localVarFp.businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options).then((request) => request(axios, basePath));
|
|
3447
|
+
},
|
|
3448
|
+
/**
|
|
3449
|
+
*
|
|
3450
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3451
|
+
* @param {string} businessNumber
|
|
3452
|
+
* @param {*} [options] Override http request option.
|
|
3453
|
+
* @throws {RequiredError}
|
|
3454
|
+
*/
|
|
3455
|
+
businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVerificationResponse> {
|
|
3456
|
+
return localVarFp.businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(axios, basePath));
|
|
3457
|
+
},
|
|
2824
3458
|
};
|
|
2825
3459
|
};
|
|
2826
3460
|
|
|
@@ -2862,6 +3496,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
2862
3496
|
return BusinessApiFp(this.configuration).businessControllerListBusinesses(options).then((request) => request(this.axios, this.basePath));
|
|
2863
3497
|
}
|
|
2864
3498
|
|
|
3499
|
+
/**
|
|
3500
|
+
*
|
|
3501
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3502
|
+
* @param {*} [options] Override http request option.
|
|
3503
|
+
* @throws {RequiredError}
|
|
3504
|
+
* @memberof BusinessApi
|
|
3505
|
+
*/
|
|
3506
|
+
public businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig) {
|
|
3507
|
+
return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
3508
|
+
}
|
|
3509
|
+
|
|
2865
3510
|
/**
|
|
2866
3511
|
*
|
|
2867
3512
|
* @param {*} [options] Override http request option.
|
|
@@ -2874,13 +3519,13 @@ export class BusinessApi extends BaseAPI {
|
|
|
2874
3519
|
|
|
2875
3520
|
/**
|
|
2876
3521
|
*
|
|
2877
|
-
* @param {string}
|
|
3522
|
+
* @param {string} businessTypeId ID of the business type
|
|
2878
3523
|
* @param {*} [options] Override http request option.
|
|
2879
3524
|
* @throws {RequiredError}
|
|
2880
3525
|
* @memberof BusinessApi
|
|
2881
3526
|
*/
|
|
2882
|
-
public businessTypeControllerListCategories(
|
|
2883
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(
|
|
3527
|
+
public businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig) {
|
|
3528
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(businessTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
2884
3529
|
}
|
|
2885
3530
|
|
|
2886
3531
|
/**
|
|
@@ -2902,133 +3547,56 @@ export class BusinessApi extends BaseAPI {
|
|
|
2902
3547
|
public businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig) {
|
|
2903
3548
|
return BusinessApiFp(this.configuration).businessTypeControllerListPriceRange(options).then((request) => request(this.axios, this.basePath));
|
|
2904
3549
|
}
|
|
3550
|
+
|
|
3551
|
+
/**
|
|
3552
|
+
*
|
|
3553
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3554
|
+
* @param {*} [options] Override http request option.
|
|
3555
|
+
* @throws {RequiredError}
|
|
3556
|
+
* @memberof BusinessApi
|
|
3557
|
+
*/
|
|
3558
|
+
public businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig) {
|
|
3559
|
+
return BusinessApiFp(this.configuration).businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3560
|
+
}
|
|
3561
|
+
|
|
3562
|
+
/**
|
|
3563
|
+
*
|
|
3564
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3565
|
+
* @param {*} [options] Override http request option.
|
|
3566
|
+
* @throws {RequiredError}
|
|
3567
|
+
* @memberof BusinessApi
|
|
3568
|
+
*/
|
|
3569
|
+
public businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig) {
|
|
3570
|
+
return BusinessApiFp(this.configuration).businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3573
|
+
/**
|
|
3574
|
+
*
|
|
3575
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3576
|
+
* @param {string} businessNumber
|
|
3577
|
+
* @param {*} [options] Override http request option.
|
|
3578
|
+
* @throws {RequiredError}
|
|
3579
|
+
* @memberof BusinessApi
|
|
3580
|
+
*/
|
|
3581
|
+
public businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig) {
|
|
3582
|
+
return BusinessApiFp(this.configuration).businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(this.axios, this.basePath));
|
|
3583
|
+
}
|
|
2905
3584
|
}
|
|
2906
3585
|
|
|
3586
|
+
/**
|
|
3587
|
+
* @export
|
|
3588
|
+
*/
|
|
3589
|
+
export const BusinessVerificationControllerABNVerificationTypeEnum = {
|
|
3590
|
+
Abn: 'ABN',
|
|
3591
|
+
Nzbn: 'NZBN',
|
|
3592
|
+
Crn: 'CRN',
|
|
3593
|
+
Ein: 'EIN'
|
|
3594
|
+
} as const;
|
|
3595
|
+
export type BusinessVerificationControllerABNVerificationTypeEnum = typeof BusinessVerificationControllerABNVerificationTypeEnum[keyof typeof BusinessVerificationControllerABNVerificationTypeEnum];
|
|
2907
3596
|
|
|
2908
3597
|
|
|
2909
3598
|
/**
|
|
2910
|
-
*
|
|
2911
|
-
* @export
|
|
2912
|
-
*/
|
|
2913
|
-
export const BusinessVerificationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2914
|
-
return {
|
|
2915
|
-
/**
|
|
2916
|
-
*
|
|
2917
|
-
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
2918
|
-
* @param {string} businessNumber
|
|
2919
|
-
* @param {*} [options] Override http request option.
|
|
2920
|
-
* @throws {RequiredError}
|
|
2921
|
-
*/
|
|
2922
|
-
businessVerificationControllerABNVerification: async (type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2923
|
-
// verify required parameter 'type' is not null or undefined
|
|
2924
|
-
assertParamExists('businessVerificationControllerABNVerification', 'type', type)
|
|
2925
|
-
// verify required parameter 'businessNumber' is not null or undefined
|
|
2926
|
-
assertParamExists('businessVerificationControllerABNVerification', 'businessNumber', businessNumber)
|
|
2927
|
-
const localVarPath = `/v1/business/verify/{type}/{businessNumber}`
|
|
2928
|
-
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
2929
|
-
.replace(`{${"businessNumber"}}`, encodeURIComponent(String(businessNumber)));
|
|
2930
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2931
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2932
|
-
let baseOptions;
|
|
2933
|
-
if (configuration) {
|
|
2934
|
-
baseOptions = configuration.baseOptions;
|
|
2935
|
-
}
|
|
2936
|
-
|
|
2937
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2938
|
-
const localVarHeaderParameter = {} as any;
|
|
2939
|
-
const localVarQueryParameter = {} as any;
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2944
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2945
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2946
|
-
|
|
2947
|
-
return {
|
|
2948
|
-
url: toPathString(localVarUrlObj),
|
|
2949
|
-
options: localVarRequestOptions,
|
|
2950
|
-
};
|
|
2951
|
-
},
|
|
2952
|
-
}
|
|
2953
|
-
};
|
|
2954
|
-
|
|
2955
|
-
/**
|
|
2956
|
-
* BusinessVerificationApi - functional programming interface
|
|
2957
|
-
* @export
|
|
2958
|
-
*/
|
|
2959
|
-
export const BusinessVerificationApiFp = function(configuration?: Configuration) {
|
|
2960
|
-
const localVarAxiosParamCreator = BusinessVerificationApiAxiosParamCreator(configuration)
|
|
2961
|
-
return {
|
|
2962
|
-
/**
|
|
2963
|
-
*
|
|
2964
|
-
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
2965
|
-
* @param {string} businessNumber
|
|
2966
|
-
* @param {*} [options] Override http request option.
|
|
2967
|
-
* @throws {RequiredError}
|
|
2968
|
-
*/
|
|
2969
|
-
async businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVerificationResponse>> {
|
|
2970
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessVerificationControllerABNVerification(type, businessNumber, options);
|
|
2971
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2972
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessVerificationApi.businessVerificationControllerABNVerification']?.[localVarOperationServerIndex]?.url;
|
|
2973
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2974
|
-
},
|
|
2975
|
-
}
|
|
2976
|
-
};
|
|
2977
|
-
|
|
2978
|
-
/**
|
|
2979
|
-
* BusinessVerificationApi - factory interface
|
|
2980
|
-
* @export
|
|
2981
|
-
*/
|
|
2982
|
-
export const BusinessVerificationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
2983
|
-
const localVarFp = BusinessVerificationApiFp(configuration)
|
|
2984
|
-
return {
|
|
2985
|
-
/**
|
|
2986
|
-
*
|
|
2987
|
-
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
2988
|
-
* @param {string} businessNumber
|
|
2989
|
-
* @param {*} [options] Override http request option.
|
|
2990
|
-
* @throws {RequiredError}
|
|
2991
|
-
*/
|
|
2992
|
-
businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVerificationResponse> {
|
|
2993
|
-
return localVarFp.businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(axios, basePath));
|
|
2994
|
-
},
|
|
2995
|
-
};
|
|
2996
|
-
};
|
|
2997
|
-
|
|
2998
|
-
/**
|
|
2999
|
-
* BusinessVerificationApi - object-oriented interface
|
|
3000
|
-
* @export
|
|
3001
|
-
* @class BusinessVerificationApi
|
|
3002
|
-
* @extends {BaseAPI}
|
|
3003
|
-
*/
|
|
3004
|
-
export class BusinessVerificationApi extends BaseAPI {
|
|
3005
|
-
/**
|
|
3006
|
-
*
|
|
3007
|
-
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3008
|
-
* @param {string} businessNumber
|
|
3009
|
-
* @param {*} [options] Override http request option.
|
|
3010
|
-
* @throws {RequiredError}
|
|
3011
|
-
* @memberof BusinessVerificationApi
|
|
3012
|
-
*/
|
|
3013
|
-
public businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig) {
|
|
3014
|
-
return BusinessVerificationApiFp(this.configuration).businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(this.axios, this.basePath));
|
|
3015
|
-
}
|
|
3016
|
-
}
|
|
3017
|
-
|
|
3018
|
-
/**
|
|
3019
|
-
* @export
|
|
3020
|
-
*/
|
|
3021
|
-
export const BusinessVerificationControllerABNVerificationTypeEnum = {
|
|
3022
|
-
Abn: 'ABN',
|
|
3023
|
-
Nzbn: 'NZBN',
|
|
3024
|
-
Crn: 'CRN',
|
|
3025
|
-
Ein: 'EIN'
|
|
3026
|
-
} as const;
|
|
3027
|
-
export type BusinessVerificationControllerABNVerificationTypeEnum = typeof BusinessVerificationControllerABNVerificationTypeEnum[keyof typeof BusinessVerificationControllerABNVerificationTypeEnum];
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
/**
|
|
3031
|
-
* DeviceApi - axios parameter creator
|
|
3599
|
+
* DeviceApi - axios parameter creator
|
|
3032
3600
|
* @export
|
|
3033
3601
|
*/
|
|
3034
3602
|
export const DeviceApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
@@ -3583,6 +4151,191 @@ export class IntegrationApi extends BaseAPI {
|
|
|
3583
4151
|
|
|
3584
4152
|
|
|
3585
4153
|
|
|
4154
|
+
/**
|
|
4155
|
+
* LocationApi - axios parameter creator
|
|
4156
|
+
* @export
|
|
4157
|
+
*/
|
|
4158
|
+
export const LocationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4159
|
+
return {
|
|
4160
|
+
/**
|
|
4161
|
+
*
|
|
4162
|
+
* @param {string} place
|
|
4163
|
+
* @param {string} label
|
|
4164
|
+
* @param {*} [options] Override http request option.
|
|
4165
|
+
* @throws {RequiredError}
|
|
4166
|
+
*/
|
|
4167
|
+
locationControllerFetchCoordinates: async (place: string, label: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4168
|
+
// verify required parameter 'place' is not null or undefined
|
|
4169
|
+
assertParamExists('locationControllerFetchCoordinates', 'place', place)
|
|
4170
|
+
// verify required parameter 'label' is not null or undefined
|
|
4171
|
+
assertParamExists('locationControllerFetchCoordinates', 'label', label)
|
|
4172
|
+
const localVarPath = `/v1/locations-coordinates`;
|
|
4173
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4174
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4175
|
+
let baseOptions;
|
|
4176
|
+
if (configuration) {
|
|
4177
|
+
baseOptions = configuration.baseOptions;
|
|
4178
|
+
}
|
|
4179
|
+
|
|
4180
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4181
|
+
const localVarHeaderParameter = {} as any;
|
|
4182
|
+
const localVarQueryParameter = {} as any;
|
|
4183
|
+
|
|
4184
|
+
if (place !== undefined) {
|
|
4185
|
+
localVarQueryParameter['place'] = place;
|
|
4186
|
+
}
|
|
4187
|
+
|
|
4188
|
+
if (label !== undefined) {
|
|
4189
|
+
localVarQueryParameter['label'] = label;
|
|
4190
|
+
}
|
|
4191
|
+
|
|
4192
|
+
|
|
4193
|
+
|
|
4194
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4195
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4196
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4197
|
+
|
|
4198
|
+
return {
|
|
4199
|
+
url: toPathString(localVarUrlObj),
|
|
4200
|
+
options: localVarRequestOptions,
|
|
4201
|
+
};
|
|
4202
|
+
},
|
|
4203
|
+
/**
|
|
4204
|
+
*
|
|
4205
|
+
* @param {string} place
|
|
4206
|
+
* @param {*} [options] Override http request option.
|
|
4207
|
+
* @throws {RequiredError}
|
|
4208
|
+
*/
|
|
4209
|
+
locationControllerFetchLocations: async (place: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4210
|
+
// verify required parameter 'place' is not null or undefined
|
|
4211
|
+
assertParamExists('locationControllerFetchLocations', 'place', place)
|
|
4212
|
+
const localVarPath = `/v1/locations`;
|
|
4213
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4214
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4215
|
+
let baseOptions;
|
|
4216
|
+
if (configuration) {
|
|
4217
|
+
baseOptions = configuration.baseOptions;
|
|
4218
|
+
}
|
|
4219
|
+
|
|
4220
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4221
|
+
const localVarHeaderParameter = {} as any;
|
|
4222
|
+
const localVarQueryParameter = {} as any;
|
|
4223
|
+
|
|
4224
|
+
if (place !== undefined) {
|
|
4225
|
+
localVarQueryParameter['place'] = place;
|
|
4226
|
+
}
|
|
4227
|
+
|
|
4228
|
+
|
|
4229
|
+
|
|
4230
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4231
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4232
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4233
|
+
|
|
4234
|
+
return {
|
|
4235
|
+
url: toPathString(localVarUrlObj),
|
|
4236
|
+
options: localVarRequestOptions,
|
|
4237
|
+
};
|
|
4238
|
+
},
|
|
4239
|
+
}
|
|
4240
|
+
};
|
|
4241
|
+
|
|
4242
|
+
/**
|
|
4243
|
+
* LocationApi - functional programming interface
|
|
4244
|
+
* @export
|
|
4245
|
+
*/
|
|
4246
|
+
export const LocationApiFp = function(configuration?: Configuration) {
|
|
4247
|
+
const localVarAxiosParamCreator = LocationApiAxiosParamCreator(configuration)
|
|
4248
|
+
return {
|
|
4249
|
+
/**
|
|
4250
|
+
*
|
|
4251
|
+
* @param {string} place
|
|
4252
|
+
* @param {string} label
|
|
4253
|
+
* @param {*} [options] Override http request option.
|
|
4254
|
+
* @throws {RequiredError}
|
|
4255
|
+
*/
|
|
4256
|
+
async locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponse>> {
|
|
4257
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchCoordinates(place, label, options);
|
|
4258
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4259
|
+
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchCoordinates']?.[localVarOperationServerIndex]?.url;
|
|
4260
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4261
|
+
},
|
|
4262
|
+
/**
|
|
4263
|
+
*
|
|
4264
|
+
* @param {string} place
|
|
4265
|
+
* @param {*} [options] Override http request option.
|
|
4266
|
+
* @throws {RequiredError}
|
|
4267
|
+
*/
|
|
4268
|
+
async locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationEntityResponse>> {
|
|
4269
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchLocations(place, options);
|
|
4270
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4271
|
+
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchLocations']?.[localVarOperationServerIndex]?.url;
|
|
4272
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4273
|
+
},
|
|
4274
|
+
}
|
|
4275
|
+
};
|
|
4276
|
+
|
|
4277
|
+
/**
|
|
4278
|
+
* LocationApi - factory interface
|
|
4279
|
+
* @export
|
|
4280
|
+
*/
|
|
4281
|
+
export const LocationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4282
|
+
const localVarFp = LocationApiFp(configuration)
|
|
4283
|
+
return {
|
|
4284
|
+
/**
|
|
4285
|
+
*
|
|
4286
|
+
* @param {string} place
|
|
4287
|
+
* @param {string} label
|
|
4288
|
+
* @param {*} [options] Override http request option.
|
|
4289
|
+
* @throws {RequiredError}
|
|
4290
|
+
*/
|
|
4291
|
+
locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponse> {
|
|
4292
|
+
return localVarFp.locationControllerFetchCoordinates(place, label, options).then((request) => request(axios, basePath));
|
|
4293
|
+
},
|
|
4294
|
+
/**
|
|
4295
|
+
*
|
|
4296
|
+
* @param {string} place
|
|
4297
|
+
* @param {*} [options] Override http request option.
|
|
4298
|
+
* @throws {RequiredError}
|
|
4299
|
+
*/
|
|
4300
|
+
locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationEntityResponse> {
|
|
4301
|
+
return localVarFp.locationControllerFetchLocations(place, options).then((request) => request(axios, basePath));
|
|
4302
|
+
},
|
|
4303
|
+
};
|
|
4304
|
+
};
|
|
4305
|
+
|
|
4306
|
+
/**
|
|
4307
|
+
* LocationApi - object-oriented interface
|
|
4308
|
+
* @export
|
|
4309
|
+
* @class LocationApi
|
|
4310
|
+
* @extends {BaseAPI}
|
|
4311
|
+
*/
|
|
4312
|
+
export class LocationApi extends BaseAPI {
|
|
4313
|
+
/**
|
|
4314
|
+
*
|
|
4315
|
+
* @param {string} place
|
|
4316
|
+
* @param {string} label
|
|
4317
|
+
* @param {*} [options] Override http request option.
|
|
4318
|
+
* @throws {RequiredError}
|
|
4319
|
+
* @memberof LocationApi
|
|
4320
|
+
*/
|
|
4321
|
+
public locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig) {
|
|
4322
|
+
return LocationApiFp(this.configuration).locationControllerFetchCoordinates(place, label, options).then((request) => request(this.axios, this.basePath));
|
|
4323
|
+
}
|
|
4324
|
+
|
|
4325
|
+
/**
|
|
4326
|
+
*
|
|
4327
|
+
* @param {string} place
|
|
4328
|
+
* @param {*} [options] Override http request option.
|
|
4329
|
+
* @throws {RequiredError}
|
|
4330
|
+
* @memberof LocationApi
|
|
4331
|
+
*/
|
|
4332
|
+
public locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig) {
|
|
4333
|
+
return LocationApiFp(this.configuration).locationControllerFetchLocations(place, options).then((request) => request(this.axios, this.basePath));
|
|
4334
|
+
}
|
|
4335
|
+
}
|
|
4336
|
+
|
|
4337
|
+
|
|
4338
|
+
|
|
3586
4339
|
/**
|
|
3587
4340
|
* OAuthApi - axios parameter creator
|
|
3588
4341
|
* @export
|
|
@@ -3799,14 +4552,11 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3799
4552
|
},
|
|
3800
4553
|
/**
|
|
3801
4554
|
*
|
|
3802
|
-
* @param {string} planId Strip Plan ID
|
|
3803
4555
|
* @param {*} [options] Override http request option.
|
|
3804
4556
|
* @throws {RequiredError}
|
|
3805
4557
|
*/
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
assertParamExists('paymentControllerGetPaymentSecretForIntent', 'planId', planId)
|
|
3809
|
-
const localVarPath = `/v1/payment/payment-secret-for-intent`;
|
|
4558
|
+
paymentControllerGetPlans: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4559
|
+
const localVarPath = `/v1/payment/plans`;
|
|
3810
4560
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3811
4561
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3812
4562
|
let baseOptions;
|
|
@@ -3818,14 +4568,6 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3818
4568
|
const localVarHeaderParameter = {} as any;
|
|
3819
4569
|
const localVarQueryParameter = {} as any;
|
|
3820
4570
|
|
|
3821
|
-
// authentication bearer required
|
|
3822
|
-
// http bearer authentication required
|
|
3823
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3824
|
-
|
|
3825
|
-
if (planId !== undefined) {
|
|
3826
|
-
localVarQueryParameter['planId'] = planId;
|
|
3827
|
-
}
|
|
3828
|
-
|
|
3829
4571
|
|
|
3830
4572
|
|
|
3831
4573
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3839,11 +4581,14 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3839
4581
|
},
|
|
3840
4582
|
/**
|
|
3841
4583
|
*
|
|
4584
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
3842
4585
|
* @param {*} [options] Override http request option.
|
|
3843
4586
|
* @throws {RequiredError}
|
|
3844
4587
|
*/
|
|
3845
|
-
|
|
3846
|
-
|
|
4588
|
+
paymentControllerPlanUpsert: async (planUpsertPayloadDTO: PlanUpsertPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4589
|
+
// verify required parameter 'planUpsertPayloadDTO' is not null or undefined
|
|
4590
|
+
assertParamExists('paymentControllerPlanUpsert', 'planUpsertPayloadDTO', planUpsertPayloadDTO)
|
|
4591
|
+
const localVarPath = `/v1/payment/plan`;
|
|
3847
4592
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3848
4593
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3849
4594
|
let baseOptions;
|
|
@@ -3851,15 +4596,22 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3851
4596
|
baseOptions = configuration.baseOptions;
|
|
3852
4597
|
}
|
|
3853
4598
|
|
|
3854
|
-
const localVarRequestOptions = { method: '
|
|
4599
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3855
4600
|
const localVarHeaderParameter = {} as any;
|
|
3856
4601
|
const localVarQueryParameter = {} as any;
|
|
3857
4602
|
|
|
4603
|
+
// authentication bearer required
|
|
4604
|
+
// http bearer authentication required
|
|
4605
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4606
|
+
|
|
3858
4607
|
|
|
3859
4608
|
|
|
4609
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4610
|
+
|
|
3860
4611
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3861
4612
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3862
4613
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4614
|
+
localVarRequestOptions.data = serializeDataIfNeeded(planUpsertPayloadDTO, localVarRequestOptions, configuration)
|
|
3863
4615
|
|
|
3864
4616
|
return {
|
|
3865
4617
|
url: toPathString(localVarUrlObj),
|
|
@@ -3926,25 +4678,25 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
3926
4678
|
},
|
|
3927
4679
|
/**
|
|
3928
4680
|
*
|
|
3929
|
-
* @param {string} planId Strip Plan ID
|
|
3930
4681
|
* @param {*} [options] Override http request option.
|
|
3931
4682
|
* @throws {RequiredError}
|
|
3932
4683
|
*/
|
|
3933
|
-
async
|
|
3934
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4684
|
+
async paymentControllerGetPlans(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanResponseDTO>> {
|
|
4685
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerGetPlans(options);
|
|
3935
4686
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3936
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.
|
|
4687
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
|
|
3937
4688
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3938
4689
|
},
|
|
3939
4690
|
/**
|
|
3940
4691
|
*
|
|
4692
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
3941
4693
|
* @param {*} [options] Override http request option.
|
|
3942
4694
|
* @throws {RequiredError}
|
|
3943
4695
|
*/
|
|
3944
|
-
async
|
|
3945
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4696
|
+
async paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePlanUpsertResponseDTO>> {
|
|
4697
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerPlanUpsert(planUpsertPayloadDTO, options);
|
|
3946
4698
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3947
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.
|
|
4699
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPlanUpsert']?.[localVarOperationServerIndex]?.url;
|
|
3948
4700
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3949
4701
|
},
|
|
3950
4702
|
/**
|
|
@@ -3980,20 +4732,20 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
3980
4732
|
},
|
|
3981
4733
|
/**
|
|
3982
4734
|
*
|
|
3983
|
-
* @param {string} planId Strip Plan ID
|
|
3984
4735
|
* @param {*} [options] Override http request option.
|
|
3985
4736
|
* @throws {RequiredError}
|
|
3986
4737
|
*/
|
|
3987
|
-
|
|
3988
|
-
return localVarFp.
|
|
4738
|
+
paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
|
|
4739
|
+
return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
|
|
3989
4740
|
},
|
|
3990
4741
|
/**
|
|
3991
4742
|
*
|
|
4743
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
3992
4744
|
* @param {*} [options] Override http request option.
|
|
3993
4745
|
* @throws {RequiredError}
|
|
3994
4746
|
*/
|
|
3995
|
-
|
|
3996
|
-
return localVarFp.
|
|
4747
|
+
paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripePlanUpsertResponseDTO> {
|
|
4748
|
+
return localVarFp.paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(axios, basePath));
|
|
3997
4749
|
},
|
|
3998
4750
|
/**
|
|
3999
4751
|
*
|
|
@@ -4027,23 +4779,23 @@ export class PlansApi extends BaseAPI {
|
|
|
4027
4779
|
|
|
4028
4780
|
/**
|
|
4029
4781
|
*
|
|
4030
|
-
* @param {string} planId Strip Plan ID
|
|
4031
4782
|
* @param {*} [options] Override http request option.
|
|
4032
4783
|
* @throws {RequiredError}
|
|
4033
4784
|
* @memberof PlansApi
|
|
4034
4785
|
*/
|
|
4035
|
-
public
|
|
4036
|
-
return PlansApiFp(this.configuration).
|
|
4786
|
+
public paymentControllerGetPlans(options?: RawAxiosRequestConfig) {
|
|
4787
|
+
return PlansApiFp(this.configuration).paymentControllerGetPlans(options).then((request) => request(this.axios, this.basePath));
|
|
4037
4788
|
}
|
|
4038
4789
|
|
|
4039
4790
|
/**
|
|
4040
4791
|
*
|
|
4792
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
4041
4793
|
* @param {*} [options] Override http request option.
|
|
4042
4794
|
* @throws {RequiredError}
|
|
4043
4795
|
* @memberof PlansApi
|
|
4044
4796
|
*/
|
|
4045
|
-
public
|
|
4046
|
-
return PlansApiFp(this.configuration).
|
|
4797
|
+
public paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
4798
|
+
return PlansApiFp(this.configuration).paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
4047
4799
|
}
|
|
4048
4800
|
|
|
4049
4801
|
/**
|
|
@@ -4133,6 +4885,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4133
4885
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4134
4886
|
localVarRequestOptions.data = serializeDataIfNeeded(onBoardingDTO, localVarRequestOptions, configuration)
|
|
4135
4887
|
|
|
4888
|
+
return {
|
|
4889
|
+
url: toPathString(localVarUrlObj),
|
|
4890
|
+
options: localVarRequestOptions,
|
|
4891
|
+
};
|
|
4892
|
+
},
|
|
4893
|
+
/**
|
|
4894
|
+
*
|
|
4895
|
+
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
4896
|
+
* @param {*} [options] Override http request option.
|
|
4897
|
+
* @throws {RequiredError}
|
|
4898
|
+
*/
|
|
4899
|
+
usersControllerSyncUserLocation: async (userSyncLocationDTO: UserSyncLocationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4900
|
+
// verify required parameter 'userSyncLocationDTO' is not null or undefined
|
|
4901
|
+
assertParamExists('usersControllerSyncUserLocation', 'userSyncLocationDTO', userSyncLocationDTO)
|
|
4902
|
+
const localVarPath = `/v1/user/sync/user/location`;
|
|
4903
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4904
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4905
|
+
let baseOptions;
|
|
4906
|
+
if (configuration) {
|
|
4907
|
+
baseOptions = configuration.baseOptions;
|
|
4908
|
+
}
|
|
4909
|
+
|
|
4910
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4911
|
+
const localVarHeaderParameter = {} as any;
|
|
4912
|
+
const localVarQueryParameter = {} as any;
|
|
4913
|
+
|
|
4914
|
+
// authentication bearer required
|
|
4915
|
+
// http bearer authentication required
|
|
4916
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4917
|
+
|
|
4918
|
+
|
|
4919
|
+
|
|
4920
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4921
|
+
|
|
4922
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4923
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4924
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4925
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userSyncLocationDTO, localVarRequestOptions, configuration)
|
|
4926
|
+
|
|
4136
4927
|
return {
|
|
4137
4928
|
url: toPathString(localVarUrlObj),
|
|
4138
4929
|
options: localVarRequestOptions,
|
|
@@ -4171,6 +4962,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
4171
4962
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerOnBoarded']?.[localVarOperationServerIndex]?.url;
|
|
4172
4963
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4173
4964
|
},
|
|
4965
|
+
/**
|
|
4966
|
+
*
|
|
4967
|
+
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
4968
|
+
* @param {*} [options] Override http request option.
|
|
4969
|
+
* @throws {RequiredError}
|
|
4970
|
+
*/
|
|
4971
|
+
async usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
4972
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserLocation(userSyncLocationDTO, options);
|
|
4973
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4974
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserLocation']?.[localVarOperationServerIndex]?.url;
|
|
4975
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4976
|
+
},
|
|
4174
4977
|
}
|
|
4175
4978
|
};
|
|
4176
4979
|
|
|
@@ -4198,6 +5001,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
4198
5001
|
usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
4199
5002
|
return localVarFp.usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(axios, basePath));
|
|
4200
5003
|
},
|
|
5004
|
+
/**
|
|
5005
|
+
*
|
|
5006
|
+
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
5007
|
+
* @param {*} [options] Override http request option.
|
|
5008
|
+
* @throws {RequiredError}
|
|
5009
|
+
*/
|
|
5010
|
+
usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
5011
|
+
return localVarFp.usersControllerSyncUserLocation(userSyncLocationDTO, options).then((request) => request(axios, basePath));
|
|
5012
|
+
},
|
|
4201
5013
|
};
|
|
4202
5014
|
};
|
|
4203
5015
|
|
|
@@ -4228,6 +5040,17 @@ export class UsersApi extends BaseAPI {
|
|
|
4228
5040
|
public usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
4229
5041
|
return UsersApiFp(this.configuration).usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
4230
5042
|
}
|
|
5043
|
+
|
|
5044
|
+
/**
|
|
5045
|
+
*
|
|
5046
|
+
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
5047
|
+
* @param {*} [options] Override http request option.
|
|
5048
|
+
* @throws {RequiredError}
|
|
5049
|
+
* @memberof UsersApi
|
|
5050
|
+
*/
|
|
5051
|
+
public usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig) {
|
|
5052
|
+
return UsersApiFp(this.configuration).usersControllerSyncUserLocation(userSyncLocationDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5053
|
+
}
|
|
4231
5054
|
}
|
|
4232
5055
|
|
|
4233
5056
|
|