@gooday_corp/gooday-api-client 1.1.12 → 1.1.25
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 +941 -124
- 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
|
|
@@ -1320,6 +1652,18 @@ export interface SignupDto {
|
|
|
1320
1652
|
* @memberof SignupDto
|
|
1321
1653
|
*/
|
|
1322
1654
|
'lastName': string;
|
|
1655
|
+
/**
|
|
1656
|
+
* Contact Number For User
|
|
1657
|
+
* @type {string}
|
|
1658
|
+
* @memberof SignupDto
|
|
1659
|
+
*/
|
|
1660
|
+
'mobileNumber'?: string;
|
|
1661
|
+
/**
|
|
1662
|
+
* User gender
|
|
1663
|
+
* @type {string}
|
|
1664
|
+
* @memberof SignupDto
|
|
1665
|
+
*/
|
|
1666
|
+
'gender'?: string;
|
|
1323
1667
|
/**
|
|
1324
1668
|
* The email of the user
|
|
1325
1669
|
* @type {string}
|
|
@@ -1452,6 +1796,12 @@ export interface UserEntity {
|
|
|
1452
1796
|
* @memberof UserEntity
|
|
1453
1797
|
*/
|
|
1454
1798
|
'_id': string;
|
|
1799
|
+
/**
|
|
1800
|
+
* Unique identifier for the Gooday user
|
|
1801
|
+
* @type {string}
|
|
1802
|
+
* @memberof UserEntity
|
|
1803
|
+
*/
|
|
1804
|
+
'goodayId': string;
|
|
1455
1805
|
/**
|
|
1456
1806
|
* First name of the user
|
|
1457
1807
|
* @type {string}
|
|
@@ -1470,6 +1820,12 @@ export interface UserEntity {
|
|
|
1470
1820
|
* @memberof UserEntity
|
|
1471
1821
|
*/
|
|
1472
1822
|
'email': string;
|
|
1823
|
+
/**
|
|
1824
|
+
* User location
|
|
1825
|
+
* @type {Array<number>}
|
|
1826
|
+
* @memberof UserEntity
|
|
1827
|
+
*/
|
|
1828
|
+
'location'?: Array<number>;
|
|
1473
1829
|
/**
|
|
1474
1830
|
* Nickname of the user
|
|
1475
1831
|
* @type {string}
|
|
@@ -1488,6 +1844,18 @@ export interface UserEntity {
|
|
|
1488
1844
|
* @memberof UserEntity
|
|
1489
1845
|
*/
|
|
1490
1846
|
'assistant': string;
|
|
1847
|
+
/**
|
|
1848
|
+
* Phone No
|
|
1849
|
+
* @type {string}
|
|
1850
|
+
* @memberof UserEntity
|
|
1851
|
+
*/
|
|
1852
|
+
'mobileNumber'?: string;
|
|
1853
|
+
/**
|
|
1854
|
+
* User gender
|
|
1855
|
+
* @type {string}
|
|
1856
|
+
* @memberof UserEntity
|
|
1857
|
+
*/
|
|
1858
|
+
'gender'?: string;
|
|
1491
1859
|
/**
|
|
1492
1860
|
* Indicates whether the user\'s email has been verified
|
|
1493
1861
|
* @type {boolean}
|
|
@@ -1512,6 +1880,12 @@ export interface UserEntity {
|
|
|
1512
1880
|
* @memberof UserEntity
|
|
1513
1881
|
*/
|
|
1514
1882
|
'plan': UserPlanDTO;
|
|
1883
|
+
/**
|
|
1884
|
+
* Plan subscribed by the user
|
|
1885
|
+
* @type {BusinessEntity}
|
|
1886
|
+
* @memberof UserEntity
|
|
1887
|
+
*/
|
|
1888
|
+
'business'?: BusinessEntity;
|
|
1515
1889
|
/**
|
|
1516
1890
|
* Action user has to perform
|
|
1517
1891
|
* @type {Array<string>}
|
|
@@ -1573,6 +1947,19 @@ export const UserPlanDTONameEnum = {
|
|
|
1573
1947
|
|
|
1574
1948
|
export type UserPlanDTONameEnum = typeof UserPlanDTONameEnum[keyof typeof UserPlanDTONameEnum];
|
|
1575
1949
|
|
|
1950
|
+
/**
|
|
1951
|
+
*
|
|
1952
|
+
* @export
|
|
1953
|
+
* @interface UserSyncLocationDTO
|
|
1954
|
+
*/
|
|
1955
|
+
export interface UserSyncLocationDTO {
|
|
1956
|
+
/**
|
|
1957
|
+
* User location
|
|
1958
|
+
* @type {Array<number>}
|
|
1959
|
+
* @memberof UserSyncLocationDTO
|
|
1960
|
+
*/
|
|
1961
|
+
'location': Array<number>;
|
|
1962
|
+
}
|
|
1576
1963
|
/**
|
|
1577
1964
|
*
|
|
1578
1965
|
* @export
|
|
@@ -2505,7 +2892,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2505
2892
|
* @throws {RequiredError}
|
|
2506
2893
|
*/
|
|
2507
2894
|
businessControllerListBusinesses: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2508
|
-
const localVarPath = `/business`;
|
|
2895
|
+
const localVarPath = `/v1/business`;
|
|
2509
2896
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2510
2897
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2511
2898
|
let baseOptions;
|
|
@@ -2530,11 +2917,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2530
2917
|
},
|
|
2531
2918
|
/**
|
|
2532
2919
|
*
|
|
2920
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
2533
2921
|
* @param {*} [options] Override http request option.
|
|
2534
2922
|
* @throws {RequiredError}
|
|
2535
2923
|
*/
|
|
2536
|
-
|
|
2537
|
-
|
|
2924
|
+
businessTypeControllerGetBusinessVenue: async (getBusinessVenueDto: GetBusinessVenueDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2925
|
+
// verify required parameter 'getBusinessVenueDto' is not null or undefined
|
|
2926
|
+
assertParamExists('businessTypeControllerGetBusinessVenue', 'getBusinessVenueDto', getBusinessVenueDto)
|
|
2927
|
+
const localVarPath = `/v1/business/business-venue`;
|
|
2538
2928
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2539
2929
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2540
2930
|
let baseOptions;
|
|
@@ -2542,7 +2932,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2542
2932
|
baseOptions = configuration.baseOptions;
|
|
2543
2933
|
}
|
|
2544
2934
|
|
|
2545
|
-
const localVarRequestOptions = { method: '
|
|
2935
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2546
2936
|
const localVarHeaderParameter = {} as any;
|
|
2547
2937
|
const localVarQueryParameter = {} as any;
|
|
2548
2938
|
|
|
@@ -2552,9 +2942,12 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2552
2942
|
|
|
2553
2943
|
|
|
2554
2944
|
|
|
2945
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2946
|
+
|
|
2555
2947
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2556
2948
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2557
2949
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2950
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getBusinessVenueDto, localVarRequestOptions, configuration)
|
|
2558
2951
|
|
|
2559
2952
|
return {
|
|
2560
2953
|
url: toPathString(localVarUrlObj),
|
|
@@ -2563,16 +2956,49 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2563
2956
|
},
|
|
2564
2957
|
/**
|
|
2565
2958
|
*
|
|
2566
|
-
* @param {string} businessType
|
|
2567
2959
|
* @param {*} [options] Override http request option.
|
|
2568
2960
|
* @throws {RequiredError}
|
|
2569
2961
|
*/
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
const
|
|
2574
|
-
|
|
2575
|
-
|
|
2962
|
+
businessTypeControllerListBusinessType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2963
|
+
const localVarPath = `/v1/business/list`;
|
|
2964
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2965
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2966
|
+
let baseOptions;
|
|
2967
|
+
if (configuration) {
|
|
2968
|
+
baseOptions = configuration.baseOptions;
|
|
2969
|
+
}
|
|
2970
|
+
|
|
2971
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2972
|
+
const localVarHeaderParameter = {} as any;
|
|
2973
|
+
const localVarQueryParameter = {} as any;
|
|
2974
|
+
|
|
2975
|
+
// authentication bearer required
|
|
2976
|
+
// http bearer authentication required
|
|
2977
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2978
|
+
|
|
2979
|
+
|
|
2980
|
+
|
|
2981
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2982
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2983
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2984
|
+
|
|
2985
|
+
return {
|
|
2986
|
+
url: toPathString(localVarUrlObj),
|
|
2987
|
+
options: localVarRequestOptions,
|
|
2988
|
+
};
|
|
2989
|
+
},
|
|
2990
|
+
/**
|
|
2991
|
+
*
|
|
2992
|
+
* @param {string} businessTypeId ID of the business type
|
|
2993
|
+
* @param {*} [options] Override http request option.
|
|
2994
|
+
* @throws {RequiredError}
|
|
2995
|
+
*/
|
|
2996
|
+
businessTypeControllerListCategories: async (businessTypeId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2997
|
+
// verify required parameter 'businessTypeId' is not null or undefined
|
|
2998
|
+
assertParamExists('businessTypeControllerListCategories', 'businessTypeId', businessTypeId)
|
|
2999
|
+
const localVarPath = `/v1/business/{businessTypeId}/categories`
|
|
3000
|
+
.replace(`{${"businessTypeId"}}`, encodeURIComponent(String(businessTypeId)));
|
|
3001
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2576
3002
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2577
3003
|
let baseOptions;
|
|
2578
3004
|
if (configuration) {
|
|
@@ -2655,6 +3081,121 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2655
3081
|
|
|
2656
3082
|
|
|
2657
3083
|
|
|
3084
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3085
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3086
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3087
|
+
|
|
3088
|
+
return {
|
|
3089
|
+
url: toPathString(localVarUrlObj),
|
|
3090
|
+
options: localVarRequestOptions,
|
|
3091
|
+
};
|
|
3092
|
+
},
|
|
3093
|
+
/**
|
|
3094
|
+
*
|
|
3095
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3096
|
+
* @param {*} [options] Override http request option.
|
|
3097
|
+
* @throws {RequiredError}
|
|
3098
|
+
*/
|
|
3099
|
+
businessTypeControllerMarkBusinessAsFavorite: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3100
|
+
// verify required parameter 'businessFavoriteDTO' is not null or undefined
|
|
3101
|
+
assertParamExists('businessTypeControllerMarkBusinessAsFavorite', 'businessFavoriteDTO', businessFavoriteDTO)
|
|
3102
|
+
const localVarPath = `/v1/business/favorite`;
|
|
3103
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3104
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3105
|
+
let baseOptions;
|
|
3106
|
+
if (configuration) {
|
|
3107
|
+
baseOptions = configuration.baseOptions;
|
|
3108
|
+
}
|
|
3109
|
+
|
|
3110
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3111
|
+
const localVarHeaderParameter = {} as any;
|
|
3112
|
+
const localVarQueryParameter = {} as any;
|
|
3113
|
+
|
|
3114
|
+
// authentication bearer required
|
|
3115
|
+
// http bearer authentication required
|
|
3116
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3117
|
+
|
|
3118
|
+
|
|
3119
|
+
|
|
3120
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3121
|
+
|
|
3122
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3123
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3124
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3125
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
|
|
3126
|
+
|
|
3127
|
+
return {
|
|
3128
|
+
url: toPathString(localVarUrlObj),
|
|
3129
|
+
options: localVarRequestOptions,
|
|
3130
|
+
};
|
|
3131
|
+
},
|
|
3132
|
+
/**
|
|
3133
|
+
*
|
|
3134
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3135
|
+
* @param {*} [options] Override http request option.
|
|
3136
|
+
* @throws {RequiredError}
|
|
3137
|
+
*/
|
|
3138
|
+
businessTypeControllerUnFavoriteBusiness: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3139
|
+
// verify required parameter 'businessFavoriteDTO' is not null or undefined
|
|
3140
|
+
assertParamExists('businessTypeControllerUnFavoriteBusiness', 'businessFavoriteDTO', businessFavoriteDTO)
|
|
3141
|
+
const localVarPath = `/v1/business/unfavorite`;
|
|
3142
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3143
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3144
|
+
let baseOptions;
|
|
3145
|
+
if (configuration) {
|
|
3146
|
+
baseOptions = configuration.baseOptions;
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3149
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3150
|
+
const localVarHeaderParameter = {} as any;
|
|
3151
|
+
const localVarQueryParameter = {} as any;
|
|
3152
|
+
|
|
3153
|
+
// authentication bearer required
|
|
3154
|
+
// http bearer authentication required
|
|
3155
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3156
|
+
|
|
3157
|
+
|
|
3158
|
+
|
|
3159
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3160
|
+
|
|
3161
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3162
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3163
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3164
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
|
|
3165
|
+
|
|
3166
|
+
return {
|
|
3167
|
+
url: toPathString(localVarUrlObj),
|
|
3168
|
+
options: localVarRequestOptions,
|
|
3169
|
+
};
|
|
3170
|
+
},
|
|
3171
|
+
/**
|
|
3172
|
+
*
|
|
3173
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3174
|
+
* @param {string} businessNumber
|
|
3175
|
+
* @param {*} [options] Override http request option.
|
|
3176
|
+
* @throws {RequiredError}
|
|
3177
|
+
*/
|
|
3178
|
+
businessVerificationControllerABNVerification: async (type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3179
|
+
// verify required parameter 'type' is not null or undefined
|
|
3180
|
+
assertParamExists('businessVerificationControllerABNVerification', 'type', type)
|
|
3181
|
+
// verify required parameter 'businessNumber' is not null or undefined
|
|
3182
|
+
assertParamExists('businessVerificationControllerABNVerification', 'businessNumber', businessNumber)
|
|
3183
|
+
const localVarPath = `/v1/business/verify/{type}/{businessNumber}`
|
|
3184
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
3185
|
+
.replace(`{${"businessNumber"}}`, encodeURIComponent(String(businessNumber)));
|
|
3186
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3187
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3188
|
+
let baseOptions;
|
|
3189
|
+
if (configuration) {
|
|
3190
|
+
baseOptions = configuration.baseOptions;
|
|
3191
|
+
}
|
|
3192
|
+
|
|
3193
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3194
|
+
const localVarHeaderParameter = {} as any;
|
|
3195
|
+
const localVarQueryParameter = {} as any;
|
|
3196
|
+
|
|
3197
|
+
|
|
3198
|
+
|
|
2658
3199
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2659
3200
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2660
3201
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2702,12 +3243,24 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
2702
3243
|
* @param {*} [options] Override http request option.
|
|
2703
3244
|
* @throws {RequiredError}
|
|
2704
3245
|
*/
|
|
2705
|
-
async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3246
|
+
async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessOnBoardingResponseDTO>>> {
|
|
2706
3247
|
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerListBusinesses(options);
|
|
2707
3248
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2708
3249
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerListBusinesses']?.[localVarOperationServerIndex]?.url;
|
|
2709
3250
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2710
3251
|
},
|
|
3252
|
+
/**
|
|
3253
|
+
*
|
|
3254
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3255
|
+
* @param {*} [options] Override http request option.
|
|
3256
|
+
* @throws {RequiredError}
|
|
3257
|
+
*/
|
|
3258
|
+
async businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
|
|
3259
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options);
|
|
3260
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3261
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
3262
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3263
|
+
},
|
|
2711
3264
|
/**
|
|
2712
3265
|
*
|
|
2713
3266
|
* @param {*} [options] Override http request option.
|
|
@@ -2721,12 +3274,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
2721
3274
|
},
|
|
2722
3275
|
/**
|
|
2723
3276
|
*
|
|
2724
|
-
* @param {string}
|
|
3277
|
+
* @param {string} businessTypeId ID of the business type
|
|
2725
3278
|
* @param {*} [options] Override http request option.
|
|
2726
3279
|
* @throws {RequiredError}
|
|
2727
3280
|
*/
|
|
2728
|
-
async businessTypeControllerListCategories(
|
|
2729
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(
|
|
3281
|
+
async businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
3282
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(businessTypeId, options);
|
|
2730
3283
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2731
3284
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListCategories']?.[localVarOperationServerIndex]?.url;
|
|
2732
3285
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2753,6 +3306,43 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
2753
3306
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListPriceRange']?.[localVarOperationServerIndex]?.url;
|
|
2754
3307
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2755
3308
|
},
|
|
3309
|
+
/**
|
|
3310
|
+
*
|
|
3311
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3312
|
+
* @param {*} [options] Override http request option.
|
|
3313
|
+
* @throws {RequiredError}
|
|
3314
|
+
*/
|
|
3315
|
+
async businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessFavoriteResponse>> {
|
|
3316
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options);
|
|
3317
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3318
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerMarkBusinessAsFavorite']?.[localVarOperationServerIndex]?.url;
|
|
3319
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3320
|
+
},
|
|
3321
|
+
/**
|
|
3322
|
+
*
|
|
3323
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3324
|
+
* @param {*} [options] Override http request option.
|
|
3325
|
+
* @throws {RequiredError}
|
|
3326
|
+
*/
|
|
3327
|
+
async businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessUnFavoriteResponse>> {
|
|
3328
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options);
|
|
3329
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3330
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerUnFavoriteBusiness']?.[localVarOperationServerIndex]?.url;
|
|
3331
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3332
|
+
},
|
|
3333
|
+
/**
|
|
3334
|
+
*
|
|
3335
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3336
|
+
* @param {string} businessNumber
|
|
3337
|
+
* @param {*} [options] Override http request option.
|
|
3338
|
+
* @throws {RequiredError}
|
|
3339
|
+
*/
|
|
3340
|
+
async businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVerificationResponse>> {
|
|
3341
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessVerificationControllerABNVerification(type, businessNumber, options);
|
|
3342
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3343
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessVerificationControllerABNVerification']?.[localVarOperationServerIndex]?.url;
|
|
3344
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3345
|
+
},
|
|
2756
3346
|
}
|
|
2757
3347
|
};
|
|
2758
3348
|
|
|
@@ -2785,9 +3375,18 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
2785
3375
|
* @param {*} [options] Override http request option.
|
|
2786
3376
|
* @throws {RequiredError}
|
|
2787
3377
|
*/
|
|
2788
|
-
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3378
|
+
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<Array<BusinessOnBoardingResponseDTO>> {
|
|
2789
3379
|
return localVarFp.businessControllerListBusinesses(options).then((request) => request(axios, basePath));
|
|
2790
3380
|
},
|
|
3381
|
+
/**
|
|
3382
|
+
*
|
|
3383
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3384
|
+
* @param {*} [options] Override http request option.
|
|
3385
|
+
* @throws {RequiredError}
|
|
3386
|
+
*/
|
|
3387
|
+
businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
3388
|
+
return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
|
|
3389
|
+
},
|
|
2791
3390
|
/**
|
|
2792
3391
|
*
|
|
2793
3392
|
* @param {*} [options] Override http request option.
|
|
@@ -2798,12 +3397,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
2798
3397
|
},
|
|
2799
3398
|
/**
|
|
2800
3399
|
*
|
|
2801
|
-
* @param {string}
|
|
3400
|
+
* @param {string} businessTypeId ID of the business type
|
|
2802
3401
|
* @param {*} [options] Override http request option.
|
|
2803
3402
|
* @throws {RequiredError}
|
|
2804
3403
|
*/
|
|
2805
|
-
businessTypeControllerListCategories(
|
|
2806
|
-
return localVarFp.businessTypeControllerListCategories(
|
|
3404
|
+
businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
3405
|
+
return localVarFp.businessTypeControllerListCategories(businessTypeId, options).then((request) => request(axios, basePath));
|
|
2807
3406
|
},
|
|
2808
3407
|
/**
|
|
2809
3408
|
*
|
|
@@ -2821,6 +3420,34 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
2821
3420
|
businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): AxiosPromise<PriceRangeListResponse> {
|
|
2822
3421
|
return localVarFp.businessTypeControllerListPriceRange(options).then((request) => request(axios, basePath));
|
|
2823
3422
|
},
|
|
3423
|
+
/**
|
|
3424
|
+
*
|
|
3425
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3426
|
+
* @param {*} [options] Override http request option.
|
|
3427
|
+
* @throws {RequiredError}
|
|
3428
|
+
*/
|
|
3429
|
+
businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteResponse> {
|
|
3430
|
+
return localVarFp.businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options).then((request) => request(axios, basePath));
|
|
3431
|
+
},
|
|
3432
|
+
/**
|
|
3433
|
+
*
|
|
3434
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3435
|
+
* @param {*} [options] Override http request option.
|
|
3436
|
+
* @throws {RequiredError}
|
|
3437
|
+
*/
|
|
3438
|
+
businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessUnFavoriteResponse> {
|
|
3439
|
+
return localVarFp.businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options).then((request) => request(axios, basePath));
|
|
3440
|
+
},
|
|
3441
|
+
/**
|
|
3442
|
+
*
|
|
3443
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3444
|
+
* @param {string} businessNumber
|
|
3445
|
+
* @param {*} [options] Override http request option.
|
|
3446
|
+
* @throws {RequiredError}
|
|
3447
|
+
*/
|
|
3448
|
+
businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVerificationResponse> {
|
|
3449
|
+
return localVarFp.businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(axios, basePath));
|
|
3450
|
+
},
|
|
2824
3451
|
};
|
|
2825
3452
|
};
|
|
2826
3453
|
|
|
@@ -2862,6 +3489,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
2862
3489
|
return BusinessApiFp(this.configuration).businessControllerListBusinesses(options).then((request) => request(this.axios, this.basePath));
|
|
2863
3490
|
}
|
|
2864
3491
|
|
|
3492
|
+
/**
|
|
3493
|
+
*
|
|
3494
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3495
|
+
* @param {*} [options] Override http request option.
|
|
3496
|
+
* @throws {RequiredError}
|
|
3497
|
+
* @memberof BusinessApi
|
|
3498
|
+
*/
|
|
3499
|
+
public businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig) {
|
|
3500
|
+
return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
3501
|
+
}
|
|
3502
|
+
|
|
2865
3503
|
/**
|
|
2866
3504
|
*
|
|
2867
3505
|
* @param {*} [options] Override http request option.
|
|
@@ -2874,13 +3512,13 @@ export class BusinessApi extends BaseAPI {
|
|
|
2874
3512
|
|
|
2875
3513
|
/**
|
|
2876
3514
|
*
|
|
2877
|
-
* @param {string}
|
|
3515
|
+
* @param {string} businessTypeId ID of the business type
|
|
2878
3516
|
* @param {*} [options] Override http request option.
|
|
2879
3517
|
* @throws {RequiredError}
|
|
2880
3518
|
* @memberof BusinessApi
|
|
2881
3519
|
*/
|
|
2882
|
-
public businessTypeControllerListCategories(
|
|
2883
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(
|
|
3520
|
+
public businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig) {
|
|
3521
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(businessTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
2884
3522
|
}
|
|
2885
3523
|
|
|
2886
3524
|
/**
|
|
@@ -2902,116 +3540,39 @@ export class BusinessApi extends BaseAPI {
|
|
|
2902
3540
|
public businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig) {
|
|
2903
3541
|
return BusinessApiFp(this.configuration).businessTypeControllerListPriceRange(options).then((request) => request(this.axios, this.basePath));
|
|
2904
3542
|
}
|
|
2905
|
-
}
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
/**
|
|
2910
|
-
* BusinessVerificationApi - axios parameter creator
|
|
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
3543
|
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
3544
|
+
/**
|
|
3545
|
+
*
|
|
3546
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3547
|
+
* @param {*} [options] Override http request option.
|
|
3548
|
+
* @throws {RequiredError}
|
|
3549
|
+
* @memberof BusinessApi
|
|
3550
|
+
*/
|
|
3551
|
+
public businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig) {
|
|
3552
|
+
return BusinessApiFp(this.configuration).businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2952
3553
|
}
|
|
2953
|
-
};
|
|
2954
3554
|
|
|
2955
|
-
/**
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
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
|
-
},
|
|
3555
|
+
/**
|
|
3556
|
+
*
|
|
3557
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3558
|
+
* @param {*} [options] Override http request option.
|
|
3559
|
+
* @throws {RequiredError}
|
|
3560
|
+
* @memberof BusinessApi
|
|
3561
|
+
*/
|
|
3562
|
+
public businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig) {
|
|
3563
|
+
return BusinessApiFp(this.configuration).businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2975
3564
|
}
|
|
2976
|
-
};
|
|
2977
3565
|
|
|
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
3566
|
/**
|
|
3006
3567
|
*
|
|
3007
3568
|
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3008
3569
|
* @param {string} businessNumber
|
|
3009
3570
|
* @param {*} [options] Override http request option.
|
|
3010
3571
|
* @throws {RequiredError}
|
|
3011
|
-
* @memberof
|
|
3572
|
+
* @memberof BusinessApi
|
|
3012
3573
|
*/
|
|
3013
3574
|
public businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig) {
|
|
3014
|
-
return
|
|
3575
|
+
return BusinessApiFp(this.configuration).businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(this.axios, this.basePath));
|
|
3015
3576
|
}
|
|
3016
3577
|
}
|
|
3017
3578
|
|
|
@@ -3583,6 +4144,191 @@ export class IntegrationApi extends BaseAPI {
|
|
|
3583
4144
|
|
|
3584
4145
|
|
|
3585
4146
|
|
|
4147
|
+
/**
|
|
4148
|
+
* LocationApi - axios parameter creator
|
|
4149
|
+
* @export
|
|
4150
|
+
*/
|
|
4151
|
+
export const LocationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4152
|
+
return {
|
|
4153
|
+
/**
|
|
4154
|
+
*
|
|
4155
|
+
* @param {string} place
|
|
4156
|
+
* @param {string} label
|
|
4157
|
+
* @param {*} [options] Override http request option.
|
|
4158
|
+
* @throws {RequiredError}
|
|
4159
|
+
*/
|
|
4160
|
+
locationControllerFetchCoordinates: async (place: string, label: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4161
|
+
// verify required parameter 'place' is not null or undefined
|
|
4162
|
+
assertParamExists('locationControllerFetchCoordinates', 'place', place)
|
|
4163
|
+
// verify required parameter 'label' is not null or undefined
|
|
4164
|
+
assertParamExists('locationControllerFetchCoordinates', 'label', label)
|
|
4165
|
+
const localVarPath = `/v1/locations-coordinates`;
|
|
4166
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4167
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4168
|
+
let baseOptions;
|
|
4169
|
+
if (configuration) {
|
|
4170
|
+
baseOptions = configuration.baseOptions;
|
|
4171
|
+
}
|
|
4172
|
+
|
|
4173
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4174
|
+
const localVarHeaderParameter = {} as any;
|
|
4175
|
+
const localVarQueryParameter = {} as any;
|
|
4176
|
+
|
|
4177
|
+
if (place !== undefined) {
|
|
4178
|
+
localVarQueryParameter['place'] = place;
|
|
4179
|
+
}
|
|
4180
|
+
|
|
4181
|
+
if (label !== undefined) {
|
|
4182
|
+
localVarQueryParameter['label'] = label;
|
|
4183
|
+
}
|
|
4184
|
+
|
|
4185
|
+
|
|
4186
|
+
|
|
4187
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4188
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4189
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4190
|
+
|
|
4191
|
+
return {
|
|
4192
|
+
url: toPathString(localVarUrlObj),
|
|
4193
|
+
options: localVarRequestOptions,
|
|
4194
|
+
};
|
|
4195
|
+
},
|
|
4196
|
+
/**
|
|
4197
|
+
*
|
|
4198
|
+
* @param {string} place
|
|
4199
|
+
* @param {*} [options] Override http request option.
|
|
4200
|
+
* @throws {RequiredError}
|
|
4201
|
+
*/
|
|
4202
|
+
locationControllerFetchLocations: async (place: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4203
|
+
// verify required parameter 'place' is not null or undefined
|
|
4204
|
+
assertParamExists('locationControllerFetchLocations', 'place', place)
|
|
4205
|
+
const localVarPath = `/v1/locations`;
|
|
4206
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4207
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4208
|
+
let baseOptions;
|
|
4209
|
+
if (configuration) {
|
|
4210
|
+
baseOptions = configuration.baseOptions;
|
|
4211
|
+
}
|
|
4212
|
+
|
|
4213
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4214
|
+
const localVarHeaderParameter = {} as any;
|
|
4215
|
+
const localVarQueryParameter = {} as any;
|
|
4216
|
+
|
|
4217
|
+
if (place !== undefined) {
|
|
4218
|
+
localVarQueryParameter['place'] = place;
|
|
4219
|
+
}
|
|
4220
|
+
|
|
4221
|
+
|
|
4222
|
+
|
|
4223
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4224
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4225
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4226
|
+
|
|
4227
|
+
return {
|
|
4228
|
+
url: toPathString(localVarUrlObj),
|
|
4229
|
+
options: localVarRequestOptions,
|
|
4230
|
+
};
|
|
4231
|
+
},
|
|
4232
|
+
}
|
|
4233
|
+
};
|
|
4234
|
+
|
|
4235
|
+
/**
|
|
4236
|
+
* LocationApi - functional programming interface
|
|
4237
|
+
* @export
|
|
4238
|
+
*/
|
|
4239
|
+
export const LocationApiFp = function(configuration?: Configuration) {
|
|
4240
|
+
const localVarAxiosParamCreator = LocationApiAxiosParamCreator(configuration)
|
|
4241
|
+
return {
|
|
4242
|
+
/**
|
|
4243
|
+
*
|
|
4244
|
+
* @param {string} place
|
|
4245
|
+
* @param {string} label
|
|
4246
|
+
* @param {*} [options] Override http request option.
|
|
4247
|
+
* @throws {RequiredError}
|
|
4248
|
+
*/
|
|
4249
|
+
async locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponse>> {
|
|
4250
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchCoordinates(place, label, options);
|
|
4251
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4252
|
+
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchCoordinates']?.[localVarOperationServerIndex]?.url;
|
|
4253
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4254
|
+
},
|
|
4255
|
+
/**
|
|
4256
|
+
*
|
|
4257
|
+
* @param {string} place
|
|
4258
|
+
* @param {*} [options] Override http request option.
|
|
4259
|
+
* @throws {RequiredError}
|
|
4260
|
+
*/
|
|
4261
|
+
async locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationEntityResponse>> {
|
|
4262
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchLocations(place, options);
|
|
4263
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4264
|
+
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchLocations']?.[localVarOperationServerIndex]?.url;
|
|
4265
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4266
|
+
},
|
|
4267
|
+
}
|
|
4268
|
+
};
|
|
4269
|
+
|
|
4270
|
+
/**
|
|
4271
|
+
* LocationApi - factory interface
|
|
4272
|
+
* @export
|
|
4273
|
+
*/
|
|
4274
|
+
export const LocationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4275
|
+
const localVarFp = LocationApiFp(configuration)
|
|
4276
|
+
return {
|
|
4277
|
+
/**
|
|
4278
|
+
*
|
|
4279
|
+
* @param {string} place
|
|
4280
|
+
* @param {string} label
|
|
4281
|
+
* @param {*} [options] Override http request option.
|
|
4282
|
+
* @throws {RequiredError}
|
|
4283
|
+
*/
|
|
4284
|
+
locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponse> {
|
|
4285
|
+
return localVarFp.locationControllerFetchCoordinates(place, label, options).then((request) => request(axios, basePath));
|
|
4286
|
+
},
|
|
4287
|
+
/**
|
|
4288
|
+
*
|
|
4289
|
+
* @param {string} place
|
|
4290
|
+
* @param {*} [options] Override http request option.
|
|
4291
|
+
* @throws {RequiredError}
|
|
4292
|
+
*/
|
|
4293
|
+
locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationEntityResponse> {
|
|
4294
|
+
return localVarFp.locationControllerFetchLocations(place, options).then((request) => request(axios, basePath));
|
|
4295
|
+
},
|
|
4296
|
+
};
|
|
4297
|
+
};
|
|
4298
|
+
|
|
4299
|
+
/**
|
|
4300
|
+
* LocationApi - object-oriented interface
|
|
4301
|
+
* @export
|
|
4302
|
+
* @class LocationApi
|
|
4303
|
+
* @extends {BaseAPI}
|
|
4304
|
+
*/
|
|
4305
|
+
export class LocationApi extends BaseAPI {
|
|
4306
|
+
/**
|
|
4307
|
+
*
|
|
4308
|
+
* @param {string} place
|
|
4309
|
+
* @param {string} label
|
|
4310
|
+
* @param {*} [options] Override http request option.
|
|
4311
|
+
* @throws {RequiredError}
|
|
4312
|
+
* @memberof LocationApi
|
|
4313
|
+
*/
|
|
4314
|
+
public locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig) {
|
|
4315
|
+
return LocationApiFp(this.configuration).locationControllerFetchCoordinates(place, label, options).then((request) => request(this.axios, this.basePath));
|
|
4316
|
+
}
|
|
4317
|
+
|
|
4318
|
+
/**
|
|
4319
|
+
*
|
|
4320
|
+
* @param {string} place
|
|
4321
|
+
* @param {*} [options] Override http request option.
|
|
4322
|
+
* @throws {RequiredError}
|
|
4323
|
+
* @memberof LocationApi
|
|
4324
|
+
*/
|
|
4325
|
+
public locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig) {
|
|
4326
|
+
return LocationApiFp(this.configuration).locationControllerFetchLocations(place, options).then((request) => request(this.axios, this.basePath));
|
|
4327
|
+
}
|
|
4328
|
+
}
|
|
4329
|
+
|
|
4330
|
+
|
|
4331
|
+
|
|
3586
4332
|
/**
|
|
3587
4333
|
* OAuthApi - axios parameter creator
|
|
3588
4334
|
* @export
|
|
@@ -4133,6 +4879,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4133
4879
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4134
4880
|
localVarRequestOptions.data = serializeDataIfNeeded(onBoardingDTO, localVarRequestOptions, configuration)
|
|
4135
4881
|
|
|
4882
|
+
return {
|
|
4883
|
+
url: toPathString(localVarUrlObj),
|
|
4884
|
+
options: localVarRequestOptions,
|
|
4885
|
+
};
|
|
4886
|
+
},
|
|
4887
|
+
/**
|
|
4888
|
+
*
|
|
4889
|
+
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
4890
|
+
* @param {*} [options] Override http request option.
|
|
4891
|
+
* @throws {RequiredError}
|
|
4892
|
+
*/
|
|
4893
|
+
usersControllerSyncUserLocation: async (userSyncLocationDTO: UserSyncLocationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4894
|
+
// verify required parameter 'userSyncLocationDTO' is not null or undefined
|
|
4895
|
+
assertParamExists('usersControllerSyncUserLocation', 'userSyncLocationDTO', userSyncLocationDTO)
|
|
4896
|
+
const localVarPath = `/v1/user/sync/user/location`;
|
|
4897
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4898
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4899
|
+
let baseOptions;
|
|
4900
|
+
if (configuration) {
|
|
4901
|
+
baseOptions = configuration.baseOptions;
|
|
4902
|
+
}
|
|
4903
|
+
|
|
4904
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4905
|
+
const localVarHeaderParameter = {} as any;
|
|
4906
|
+
const localVarQueryParameter = {} as any;
|
|
4907
|
+
|
|
4908
|
+
// authentication bearer required
|
|
4909
|
+
// http bearer authentication required
|
|
4910
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4911
|
+
|
|
4912
|
+
|
|
4913
|
+
|
|
4914
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4915
|
+
|
|
4916
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4917
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4918
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4919
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userSyncLocationDTO, localVarRequestOptions, configuration)
|
|
4920
|
+
|
|
4136
4921
|
return {
|
|
4137
4922
|
url: toPathString(localVarUrlObj),
|
|
4138
4923
|
options: localVarRequestOptions,
|
|
@@ -4171,6 +4956,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
4171
4956
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerOnBoarded']?.[localVarOperationServerIndex]?.url;
|
|
4172
4957
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4173
4958
|
},
|
|
4959
|
+
/**
|
|
4960
|
+
*
|
|
4961
|
+
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
4962
|
+
* @param {*} [options] Override http request option.
|
|
4963
|
+
* @throws {RequiredError}
|
|
4964
|
+
*/
|
|
4965
|
+
async usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
4966
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserLocation(userSyncLocationDTO, options);
|
|
4967
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4968
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserLocation']?.[localVarOperationServerIndex]?.url;
|
|
4969
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4970
|
+
},
|
|
4174
4971
|
}
|
|
4175
4972
|
};
|
|
4176
4973
|
|
|
@@ -4198,6 +4995,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
4198
4995
|
usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
4199
4996
|
return localVarFp.usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(axios, basePath));
|
|
4200
4997
|
},
|
|
4998
|
+
/**
|
|
4999
|
+
*
|
|
5000
|
+
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
5001
|
+
* @param {*} [options] Override http request option.
|
|
5002
|
+
* @throws {RequiredError}
|
|
5003
|
+
*/
|
|
5004
|
+
usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
5005
|
+
return localVarFp.usersControllerSyncUserLocation(userSyncLocationDTO, options).then((request) => request(axios, basePath));
|
|
5006
|
+
},
|
|
4201
5007
|
};
|
|
4202
5008
|
};
|
|
4203
5009
|
|
|
@@ -4228,6 +5034,17 @@ export class UsersApi extends BaseAPI {
|
|
|
4228
5034
|
public usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
4229
5035
|
return UsersApiFp(this.configuration).usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
4230
5036
|
}
|
|
5037
|
+
|
|
5038
|
+
/**
|
|
5039
|
+
*
|
|
5040
|
+
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
5041
|
+
* @param {*} [options] Override http request option.
|
|
5042
|
+
* @throws {RequiredError}
|
|
5043
|
+
* @memberof UsersApi
|
|
5044
|
+
*/
|
|
5045
|
+
public usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig) {
|
|
5046
|
+
return UsersApiFp(this.configuration).usersControllerSyncUserLocation(userSyncLocationDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5047
|
+
}
|
|
4231
5048
|
}
|
|
4232
5049
|
|
|
4233
5050
|
|