@gooday_corp/gooday-api-client 1.1.27 → 1.1.28-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +280 -1135
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -60,6 +60,50 @@ export interface AddDevicePayload {
|
|
|
60
60
|
*/
|
|
61
61
|
'version': string;
|
|
62
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @export
|
|
66
|
+
* @interface AppleOAuthResponseDTO
|
|
67
|
+
*/
|
|
68
|
+
export interface AppleOAuthResponseDTO {
|
|
69
|
+
/**
|
|
70
|
+
* statusCode
|
|
71
|
+
* @type {number}
|
|
72
|
+
* @memberof AppleOAuthResponseDTO
|
|
73
|
+
*/
|
|
74
|
+
'statusCode': number;
|
|
75
|
+
/**
|
|
76
|
+
* User
|
|
77
|
+
* @type {SignupResponse}
|
|
78
|
+
* @memberof AppleOAuthResponseDTO
|
|
79
|
+
*/
|
|
80
|
+
'data': SignupResponse;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @export
|
|
85
|
+
* @interface AppleVerificationPayloadDTO
|
|
86
|
+
*/
|
|
87
|
+
export interface AppleVerificationPayloadDTO {
|
|
88
|
+
/**
|
|
89
|
+
* The ID token provided by apple after authentication
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof AppleVerificationPayloadDTO
|
|
92
|
+
*/
|
|
93
|
+
'token': string;
|
|
94
|
+
/**
|
|
95
|
+
* First name of the user
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof AppleVerificationPayloadDTO
|
|
98
|
+
*/
|
|
99
|
+
'firstName': string;
|
|
100
|
+
/**
|
|
101
|
+
* Last name of the user
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof AppleVerificationPayloadDTO
|
|
104
|
+
*/
|
|
105
|
+
'lastName': string;
|
|
106
|
+
}
|
|
63
107
|
/**
|
|
64
108
|
*
|
|
65
109
|
* @export
|
|
@@ -165,24 +209,12 @@ export interface BusinessEntity {
|
|
|
165
209
|
* @memberof BusinessEntity
|
|
166
210
|
*/
|
|
167
211
|
'timing'?: Array<BusinessTiming>;
|
|
168
|
-
/**
|
|
169
|
-
* Business Current Timing
|
|
170
|
-
* @type {BusinessTiming}
|
|
171
|
-
* @memberof BusinessEntity
|
|
172
|
-
*/
|
|
173
|
-
'currentTime'?: BusinessTiming;
|
|
174
212
|
/**
|
|
175
213
|
* Business policies
|
|
176
214
|
* @type {string}
|
|
177
215
|
* @memberof BusinessEntity
|
|
178
216
|
*/
|
|
179
217
|
'policies'?: string;
|
|
180
|
-
/**
|
|
181
|
-
* Business Name
|
|
182
|
-
* @type {string}
|
|
183
|
-
* @memberof BusinessEntity
|
|
184
|
-
*/
|
|
185
|
-
'name'?: string;
|
|
186
218
|
/**
|
|
187
219
|
* Business cancellationFee
|
|
188
220
|
* @type {number}
|
|
@@ -203,10 +235,10 @@ export interface BusinessEntity {
|
|
|
203
235
|
'businessCountry'?: string;
|
|
204
236
|
/**
|
|
205
237
|
* Business Venue
|
|
206
|
-
* @type {Array<
|
|
238
|
+
* @type {Array<object>}
|
|
207
239
|
* @memberof BusinessEntity
|
|
208
240
|
*/
|
|
209
|
-
'venues'?: Array<
|
|
241
|
+
'venues'?: Array<object>;
|
|
210
242
|
/**
|
|
211
243
|
* Business Type
|
|
212
244
|
* @type {string}
|
|
@@ -235,45 +267,12 @@ export interface BusinessEntity {
|
|
|
235
267
|
|
|
236
268
|
export const BusinessEntityStatusEnum = {
|
|
237
269
|
Verified: 'VERIFIED',
|
|
238
|
-
InProgress: 'IN_PROGRESS',
|
|
239
270
|
Pending: 'PENDING',
|
|
240
271
|
QuoteRequested: 'QUOTE_REQUESTED'
|
|
241
272
|
} as const;
|
|
242
273
|
|
|
243
274
|
export type BusinessEntityStatusEnum = typeof BusinessEntityStatusEnum[keyof typeof BusinessEntityStatusEnum];
|
|
244
275
|
|
|
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
|
-
}
|
|
277
276
|
/**
|
|
278
277
|
*
|
|
279
278
|
* @export
|
|
@@ -298,12 +297,6 @@ export interface BusinessOnBoardingDTO {
|
|
|
298
297
|
* @memberof BusinessOnBoardingDTO
|
|
299
298
|
*/
|
|
300
299
|
'policies'?: string;
|
|
301
|
-
/**
|
|
302
|
-
* Business Name
|
|
303
|
-
* @type {string}
|
|
304
|
-
* @memberof BusinessOnBoardingDTO
|
|
305
|
-
*/
|
|
306
|
-
'name'?: string;
|
|
307
300
|
/**
|
|
308
301
|
* Business cancellationFee
|
|
309
302
|
* @type {number}
|
|
@@ -422,37 +415,6 @@ export interface BusinessTypeEntity {
|
|
|
422
415
|
* @memberof BusinessTypeEntity
|
|
423
416
|
*/
|
|
424
417
|
'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;
|
|
456
418
|
}
|
|
457
419
|
/**
|
|
458
420
|
*
|
|
@@ -473,123 +435,30 @@ export interface BusinessTypeListResponse {
|
|
|
473
435
|
*/
|
|
474
436
|
'data': Array<BusinessTypeEntity>;
|
|
475
437
|
}
|
|
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
|
-
}
|
|
495
438
|
/**
|
|
496
439
|
*
|
|
497
440
|
* @export
|
|
498
441
|
* @interface BusinessVenueDTO
|
|
499
442
|
*/
|
|
500
443
|
export interface BusinessVenueDTO {
|
|
501
|
-
/**
|
|
502
|
-
* coverPhots
|
|
503
|
-
* @type {string}
|
|
504
|
-
* @memberof BusinessVenueDTO
|
|
505
|
-
*/
|
|
506
|
-
'coverPhoto': string;
|
|
507
444
|
/**
|
|
508
445
|
*
|
|
509
446
|
* @type {string}
|
|
510
447
|
* @memberof BusinessVenueDTO
|
|
511
448
|
*/
|
|
512
|
-
'
|
|
513
|
-
/**
|
|
514
|
-
*
|
|
515
|
-
* @type {LocationDTO}
|
|
516
|
-
* @memberof BusinessVenueDTO
|
|
517
|
-
*/
|
|
518
|
-
'location': LocationDTO;
|
|
449
|
+
'coverPhotos': string;
|
|
519
450
|
/**
|
|
520
451
|
*
|
|
521
452
|
* @type {string}
|
|
522
453
|
* @memberof BusinessVenueDTO
|
|
523
454
|
*/
|
|
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
455
|
'priceRange': string;
|
|
550
|
-
/**
|
|
551
|
-
*
|
|
552
|
-
* @type {LocationDTO}
|
|
553
|
-
* @memberof BusinessVenueDetailsEntity
|
|
554
|
-
*/
|
|
555
|
-
'location': LocationDTO;
|
|
556
456
|
/**
|
|
557
457
|
*
|
|
558
458
|
* @type {string}
|
|
559
|
-
* @memberof
|
|
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
|
|
459
|
+
* @memberof BusinessVenueDTO
|
|
591
460
|
*/
|
|
592
|
-
'
|
|
461
|
+
'location': string;
|
|
593
462
|
}
|
|
594
463
|
/**
|
|
595
464
|
*
|
|
@@ -654,12 +523,6 @@ export interface CategoryEntity {
|
|
|
654
523
|
* @memberof CategoryEntity
|
|
655
524
|
*/
|
|
656
525
|
'name': string;
|
|
657
|
-
/**
|
|
658
|
-
* Image of category
|
|
659
|
-
* @type {string}
|
|
660
|
-
* @memberof CategoryEntity
|
|
661
|
-
*/
|
|
662
|
-
'image': string;
|
|
663
526
|
/**
|
|
664
527
|
* Unique identifier or reference of the business Type
|
|
665
528
|
* @type {string}
|
|
@@ -874,43 +737,6 @@ export interface ForgotPasswordResponseDTO {
|
|
|
874
737
|
*/
|
|
875
738
|
'message': string;
|
|
876
739
|
}
|
|
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
|
-
}
|
|
914
740
|
/**
|
|
915
741
|
*
|
|
916
742
|
* @export
|
|
@@ -956,7 +782,7 @@ export interface GoalListResponse {
|
|
|
956
782
|
*/
|
|
957
783
|
export interface GoogleOAuthResponseDTO {
|
|
958
784
|
/**
|
|
959
|
-
*
|
|
785
|
+
* statusCode
|
|
960
786
|
* @type {number}
|
|
961
787
|
* @memberof GoogleOAuthResponseDTO
|
|
962
788
|
*/
|
|
@@ -1021,7 +847,8 @@ export interface IntegrationEntity {
|
|
|
1021
847
|
|
|
1022
848
|
export const IntegrationEntityIntegrationTypeEnum = {
|
|
1023
849
|
Google: 'google',
|
|
1024
|
-
Microsoft: 'microsoft'
|
|
850
|
+
Microsoft: 'microsoft',
|
|
851
|
+
Apple: 'apple'
|
|
1025
852
|
} as const;
|
|
1026
853
|
|
|
1027
854
|
export type IntegrationEntityIntegrationTypeEnum = typeof IntegrationEntityIntegrationTypeEnum[keyof typeof IntegrationEntityIntegrationTypeEnum];
|
|
@@ -1064,101 +891,6 @@ export interface IntegrationsResponse {
|
|
|
1064
891
|
*/
|
|
1065
892
|
'data': Array<IntegrationEntity>;
|
|
1066
893
|
}
|
|
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
|
-
}
|
|
1162
894
|
/**
|
|
1163
895
|
*
|
|
1164
896
|
* @export
|
|
@@ -1323,25 +1055,6 @@ export interface OnBoardingResponseDTO {
|
|
|
1323
1055
|
*/
|
|
1324
1056
|
'data': UserEntity;
|
|
1325
1057
|
}
|
|
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
|
-
}
|
|
1345
1058
|
/**
|
|
1346
1059
|
*
|
|
1347
1060
|
* @export
|
|
@@ -1432,26 +1145,13 @@ export interface PlanResponseDTO {
|
|
|
1432
1145
|
/**
|
|
1433
1146
|
*
|
|
1434
1147
|
* @export
|
|
1435
|
-
* @interface
|
|
1148
|
+
* @interface PriceEntity
|
|
1436
1149
|
*/
|
|
1437
|
-
export interface
|
|
1150
|
+
export interface PriceEntity {
|
|
1438
1151
|
/**
|
|
1439
|
-
*
|
|
1152
|
+
*
|
|
1440
1153
|
* @type {string}
|
|
1441
|
-
* @memberof
|
|
1442
|
-
*/
|
|
1443
|
-
'plan': string;
|
|
1444
|
-
}
|
|
1445
|
-
/**
|
|
1446
|
-
*
|
|
1447
|
-
* @export
|
|
1448
|
-
* @interface PriceEntity
|
|
1449
|
-
*/
|
|
1450
|
-
export interface PriceEntity {
|
|
1451
|
-
/**
|
|
1452
|
-
*
|
|
1453
|
-
* @type {string}
|
|
1454
|
-
* @memberof PriceEntity
|
|
1154
|
+
* @memberof PriceEntity
|
|
1455
1155
|
*/
|
|
1456
1156
|
'_id': string;
|
|
1457
1157
|
/**
|
|
@@ -1665,18 +1365,6 @@ export interface SignupDto {
|
|
|
1665
1365
|
* @memberof SignupDto
|
|
1666
1366
|
*/
|
|
1667
1367
|
'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;
|
|
1680
1368
|
/**
|
|
1681
1369
|
* The email of the user
|
|
1682
1370
|
* @type {string}
|
|
@@ -1756,40 +1444,46 @@ export interface SkillDto {
|
|
|
1756
1444
|
/**
|
|
1757
1445
|
*
|
|
1758
1446
|
* @export
|
|
1759
|
-
* @interface
|
|
1447
|
+
* @interface StripPaymentDTO
|
|
1760
1448
|
*/
|
|
1761
|
-
export interface
|
|
1449
|
+
export interface StripPaymentDTO {
|
|
1450
|
+
/**
|
|
1451
|
+
* Strip Customer ID
|
|
1452
|
+
* @type {string}
|
|
1453
|
+
* @memberof StripPaymentDTO
|
|
1454
|
+
*/
|
|
1455
|
+
'customerId': string;
|
|
1762
1456
|
/**
|
|
1763
|
-
*
|
|
1457
|
+
* Strip ephemeral Key
|
|
1764
1458
|
* @type {string}
|
|
1765
|
-
* @memberof
|
|
1459
|
+
* @memberof StripPaymentDTO
|
|
1766
1460
|
*/
|
|
1767
1461
|
'ephemeralKey': string;
|
|
1768
1462
|
/**
|
|
1769
|
-
*
|
|
1463
|
+
* Strip ClientSecret
|
|
1770
1464
|
* @type {string}
|
|
1771
|
-
* @memberof
|
|
1465
|
+
* @memberof StripPaymentDTO
|
|
1772
1466
|
*/
|
|
1773
1467
|
'clientSecret': string;
|
|
1774
1468
|
}
|
|
1775
1469
|
/**
|
|
1776
1470
|
*
|
|
1777
1471
|
* @export
|
|
1778
|
-
* @interface
|
|
1472
|
+
* @interface StripePaymentIntentResponseDTO
|
|
1779
1473
|
*/
|
|
1780
|
-
export interface
|
|
1474
|
+
export interface StripePaymentIntentResponseDTO {
|
|
1781
1475
|
/**
|
|
1782
1476
|
* statuscCode
|
|
1783
1477
|
* @type {number}
|
|
1784
|
-
* @memberof
|
|
1478
|
+
* @memberof StripePaymentIntentResponseDTO
|
|
1785
1479
|
*/
|
|
1786
1480
|
'statusCode': number;
|
|
1787
1481
|
/**
|
|
1788
1482
|
* Strip Intent Data
|
|
1789
|
-
* @type {
|
|
1790
|
-
* @memberof
|
|
1483
|
+
* @type {StripPaymentDTO}
|
|
1484
|
+
* @memberof StripePaymentIntentResponseDTO
|
|
1791
1485
|
*/
|
|
1792
|
-
'data':
|
|
1486
|
+
'data': StripPaymentDTO;
|
|
1793
1487
|
}
|
|
1794
1488
|
/**
|
|
1795
1489
|
*
|
|
@@ -1803,12 +1497,6 @@ export interface UserEntity {
|
|
|
1803
1497
|
* @memberof UserEntity
|
|
1804
1498
|
*/
|
|
1805
1499
|
'_id': string;
|
|
1806
|
-
/**
|
|
1807
|
-
* Unique identifier for the Gooday user
|
|
1808
|
-
* @type {string}
|
|
1809
|
-
* @memberof UserEntity
|
|
1810
|
-
*/
|
|
1811
|
-
'goodayId': string;
|
|
1812
1500
|
/**
|
|
1813
1501
|
* First name of the user
|
|
1814
1502
|
* @type {string}
|
|
@@ -1827,12 +1515,6 @@ export interface UserEntity {
|
|
|
1827
1515
|
* @memberof UserEntity
|
|
1828
1516
|
*/
|
|
1829
1517
|
'email': string;
|
|
1830
|
-
/**
|
|
1831
|
-
* User location
|
|
1832
|
-
* @type {Array<number>}
|
|
1833
|
-
* @memberof UserEntity
|
|
1834
|
-
*/
|
|
1835
|
-
'location'?: Array<number>;
|
|
1836
1518
|
/**
|
|
1837
1519
|
* Nickname of the user
|
|
1838
1520
|
* @type {string}
|
|
@@ -1851,18 +1533,6 @@ export interface UserEntity {
|
|
|
1851
1533
|
* @memberof UserEntity
|
|
1852
1534
|
*/
|
|
1853
1535
|
'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;
|
|
1866
1536
|
/**
|
|
1867
1537
|
* Indicates whether the user\'s email has been verified
|
|
1868
1538
|
* @type {boolean}
|
|
@@ -1887,18 +1557,6 @@ export interface UserEntity {
|
|
|
1887
1557
|
* @memberof UserEntity
|
|
1888
1558
|
*/
|
|
1889
1559
|
'plan': UserPlanDTO;
|
|
1890
|
-
/**
|
|
1891
|
-
* Plan subscribed by the user
|
|
1892
|
-
* @type {BusinessEntity}
|
|
1893
|
-
* @memberof UserEntity
|
|
1894
|
-
*/
|
|
1895
|
-
'business'?: BusinessEntity;
|
|
1896
|
-
/**
|
|
1897
|
-
* User permissions
|
|
1898
|
-
* @type {UserPermissionDTO}
|
|
1899
|
-
* @memberof UserEntity
|
|
1900
|
-
*/
|
|
1901
|
-
'permissions': UserPermissionDTO;
|
|
1902
1560
|
/**
|
|
1903
1561
|
* Action user has to perform
|
|
1904
1562
|
* @type {Array<string>}
|
|
@@ -1933,67 +1591,6 @@ export interface UserMeDTO {
|
|
|
1933
1591
|
*/
|
|
1934
1592
|
'data': UserEntity;
|
|
1935
1593
|
}
|
|
1936
|
-
/**
|
|
1937
|
-
*
|
|
1938
|
-
* @export
|
|
1939
|
-
* @interface UserPermissionDTO
|
|
1940
|
-
*/
|
|
1941
|
-
export interface UserPermissionDTO {
|
|
1942
|
-
/**
|
|
1943
|
-
* Specifies if the user has granted location access permission.
|
|
1944
|
-
* @type {boolean}
|
|
1945
|
-
* @memberof UserPermissionDTO
|
|
1946
|
-
*/
|
|
1947
|
-
'locationAccessPermission'?: boolean;
|
|
1948
|
-
/**
|
|
1949
|
-
* Specifies if the user has granted access to the device timezone.
|
|
1950
|
-
* @type {boolean}
|
|
1951
|
-
* @memberof UserPermissionDTO
|
|
1952
|
-
*/
|
|
1953
|
-
'deviceTimezone'?: boolean;
|
|
1954
|
-
/**
|
|
1955
|
-
* Specifies if the user has granted permission for timezone settings.
|
|
1956
|
-
* @type {boolean}
|
|
1957
|
-
* @memberof UserPermissionDTO
|
|
1958
|
-
*/
|
|
1959
|
-
'timezone'?: boolean;
|
|
1960
|
-
/**
|
|
1961
|
-
* Specifies if the user has granted calendar access permission.
|
|
1962
|
-
* @type {boolean}
|
|
1963
|
-
* @memberof UserPermissionDTO
|
|
1964
|
-
*/
|
|
1965
|
-
'calendar'?: boolean;
|
|
1966
|
-
/**
|
|
1967
|
-
* Specifies if the user has granted access to tasks.
|
|
1968
|
-
* @type {boolean}
|
|
1969
|
-
* @memberof UserPermissionDTO
|
|
1970
|
-
*/
|
|
1971
|
-
'tasks'?: boolean;
|
|
1972
|
-
/**
|
|
1973
|
-
* Specifies if the user has granted access to reminders.
|
|
1974
|
-
* @type {boolean}
|
|
1975
|
-
* @memberof UserPermissionDTO
|
|
1976
|
-
*/
|
|
1977
|
-
'reminders'?: boolean;
|
|
1978
|
-
/**
|
|
1979
|
-
* Specifies if the user has granted access to the waitlist feature.
|
|
1980
|
-
* @type {boolean}
|
|
1981
|
-
* @memberof UserPermissionDTO
|
|
1982
|
-
*/
|
|
1983
|
-
'waitlist'?: boolean;
|
|
1984
|
-
/**
|
|
1985
|
-
* Specifies if the user has granted access to the booking feature.
|
|
1986
|
-
* @type {boolean}
|
|
1987
|
-
* @memberof UserPermissionDTO
|
|
1988
|
-
*/
|
|
1989
|
-
'booking'?: boolean;
|
|
1990
|
-
/**
|
|
1991
|
-
* Specifies if the user has granted access to the invites feature.
|
|
1992
|
-
* @type {boolean}
|
|
1993
|
-
* @memberof UserPermissionDTO
|
|
1994
|
-
*/
|
|
1995
|
-
'invites'?: boolean;
|
|
1996
|
-
}
|
|
1997
1594
|
/**
|
|
1998
1595
|
*
|
|
1999
1596
|
* @export
|
|
@@ -2021,25 +1618,6 @@ export const UserPlanDTONameEnum = {
|
|
|
2021
1618
|
|
|
2022
1619
|
export type UserPlanDTONameEnum = typeof UserPlanDTONameEnum[keyof typeof UserPlanDTONameEnum];
|
|
2023
1620
|
|
|
2024
|
-
/**
|
|
2025
|
-
*
|
|
2026
|
-
* @export
|
|
2027
|
-
* @interface UserSyncDTO
|
|
2028
|
-
*/
|
|
2029
|
-
export interface UserSyncDTO {
|
|
2030
|
-
/**
|
|
2031
|
-
* User location
|
|
2032
|
-
* @type {Array<number>}
|
|
2033
|
-
* @memberof UserSyncDTO
|
|
2034
|
-
*/
|
|
2035
|
-
'location': Array<number>;
|
|
2036
|
-
/**
|
|
2037
|
-
* Timezone
|
|
2038
|
-
* @type {string}
|
|
2039
|
-
* @memberof UserSyncDTO
|
|
2040
|
-
*/
|
|
2041
|
-
'timezone'?: string;
|
|
2042
|
-
}
|
|
2043
1621
|
/**
|
|
2044
1622
|
*
|
|
2045
1623
|
* @export
|
|
@@ -2972,7 +2550,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2972
2550
|
* @throws {RequiredError}
|
|
2973
2551
|
*/
|
|
2974
2552
|
businessControllerListBusinesses: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2975
|
-
const localVarPath = `/
|
|
2553
|
+
const localVarPath = `/business`;
|
|
2976
2554
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2977
2555
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2978
2556
|
let baseOptions;
|
|
@@ -2995,45 +2573,6 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2995
2573
|
options: localVarRequestOptions,
|
|
2996
2574
|
};
|
|
2997
2575
|
},
|
|
2998
|
-
/**
|
|
2999
|
-
*
|
|
3000
|
-
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3001
|
-
* @param {*} [options] Override http request option.
|
|
3002
|
-
* @throws {RequiredError}
|
|
3003
|
-
*/
|
|
3004
|
-
businessTypeControllerGetBusinessVenue: async (getBusinessVenueDto: GetBusinessVenueDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3005
|
-
// verify required parameter 'getBusinessVenueDto' is not null or undefined
|
|
3006
|
-
assertParamExists('businessTypeControllerGetBusinessVenue', 'getBusinessVenueDto', getBusinessVenueDto)
|
|
3007
|
-
const localVarPath = `/v1/business/business-venue`;
|
|
3008
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3009
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3010
|
-
let baseOptions;
|
|
3011
|
-
if (configuration) {
|
|
3012
|
-
baseOptions = configuration.baseOptions;
|
|
3013
|
-
}
|
|
3014
|
-
|
|
3015
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3016
|
-
const localVarHeaderParameter = {} as any;
|
|
3017
|
-
const localVarQueryParameter = {} as any;
|
|
3018
|
-
|
|
3019
|
-
// authentication bearer required
|
|
3020
|
-
// http bearer authentication required
|
|
3021
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3026
|
-
|
|
3027
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3028
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3029
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3030
|
-
localVarRequestOptions.data = serializeDataIfNeeded(getBusinessVenueDto, localVarRequestOptions, configuration)
|
|
3031
|
-
|
|
3032
|
-
return {
|
|
3033
|
-
url: toPathString(localVarUrlObj),
|
|
3034
|
-
options: localVarRequestOptions,
|
|
3035
|
-
};
|
|
3036
|
-
},
|
|
3037
2576
|
/**
|
|
3038
2577
|
*
|
|
3039
2578
|
* @param {*} [options] Override http request option.
|
|
@@ -3069,15 +2608,15 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3069
2608
|
},
|
|
3070
2609
|
/**
|
|
3071
2610
|
*
|
|
3072
|
-
* @param {string}
|
|
2611
|
+
* @param {string} businessType
|
|
3073
2612
|
* @param {*} [options] Override http request option.
|
|
3074
2613
|
* @throws {RequiredError}
|
|
3075
2614
|
*/
|
|
3076
|
-
businessTypeControllerListCategories: async (
|
|
3077
|
-
// verify required parameter '
|
|
3078
|
-
assertParamExists('businessTypeControllerListCategories', '
|
|
3079
|
-
const localVarPath = `/v1/business/{
|
|
3080
|
-
.replace(`{${"
|
|
2615
|
+
businessTypeControllerListCategories: async (businessType: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2616
|
+
// verify required parameter 'businessType' is not null or undefined
|
|
2617
|
+
assertParamExists('businessTypeControllerListCategories', 'businessType', businessType)
|
|
2618
|
+
const localVarPath = `/v1/business/{businessType}/categories`
|
|
2619
|
+
.replace(`{${"businessType"}}`, encodeURIComponent(String(businessType)));
|
|
3081
2620
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3082
2621
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3083
2622
|
let baseOptions;
|
|
@@ -3161,121 +2700,6 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3161
2700
|
|
|
3162
2701
|
|
|
3163
2702
|
|
|
3164
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3165
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3166
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3167
|
-
|
|
3168
|
-
return {
|
|
3169
|
-
url: toPathString(localVarUrlObj),
|
|
3170
|
-
options: localVarRequestOptions,
|
|
3171
|
-
};
|
|
3172
|
-
},
|
|
3173
|
-
/**
|
|
3174
|
-
*
|
|
3175
|
-
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3176
|
-
* @param {*} [options] Override http request option.
|
|
3177
|
-
* @throws {RequiredError}
|
|
3178
|
-
*/
|
|
3179
|
-
businessTypeControllerMarkBusinessAsFavorite: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3180
|
-
// verify required parameter 'businessFavoriteDTO' is not null or undefined
|
|
3181
|
-
assertParamExists('businessTypeControllerMarkBusinessAsFavorite', 'businessFavoriteDTO', businessFavoriteDTO)
|
|
3182
|
-
const localVarPath = `/v1/business/favorite`;
|
|
3183
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3184
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3185
|
-
let baseOptions;
|
|
3186
|
-
if (configuration) {
|
|
3187
|
-
baseOptions = configuration.baseOptions;
|
|
3188
|
-
}
|
|
3189
|
-
|
|
3190
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3191
|
-
const localVarHeaderParameter = {} as any;
|
|
3192
|
-
const localVarQueryParameter = {} as any;
|
|
3193
|
-
|
|
3194
|
-
// authentication bearer required
|
|
3195
|
-
// http bearer authentication required
|
|
3196
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3201
|
-
|
|
3202
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3203
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3204
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3205
|
-
localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
|
|
3206
|
-
|
|
3207
|
-
return {
|
|
3208
|
-
url: toPathString(localVarUrlObj),
|
|
3209
|
-
options: localVarRequestOptions,
|
|
3210
|
-
};
|
|
3211
|
-
},
|
|
3212
|
-
/**
|
|
3213
|
-
*
|
|
3214
|
-
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3215
|
-
* @param {*} [options] Override http request option.
|
|
3216
|
-
* @throws {RequiredError}
|
|
3217
|
-
*/
|
|
3218
|
-
businessTypeControllerUnFavoriteBusiness: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3219
|
-
// verify required parameter 'businessFavoriteDTO' is not null or undefined
|
|
3220
|
-
assertParamExists('businessTypeControllerUnFavoriteBusiness', 'businessFavoriteDTO', businessFavoriteDTO)
|
|
3221
|
-
const localVarPath = `/v1/business/unfavorite`;
|
|
3222
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3223
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3224
|
-
let baseOptions;
|
|
3225
|
-
if (configuration) {
|
|
3226
|
-
baseOptions = configuration.baseOptions;
|
|
3227
|
-
}
|
|
3228
|
-
|
|
3229
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3230
|
-
const localVarHeaderParameter = {} as any;
|
|
3231
|
-
const localVarQueryParameter = {} as any;
|
|
3232
|
-
|
|
3233
|
-
// authentication bearer required
|
|
3234
|
-
// http bearer authentication required
|
|
3235
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3240
|
-
|
|
3241
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3242
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3243
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3244
|
-
localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
|
|
3245
|
-
|
|
3246
|
-
return {
|
|
3247
|
-
url: toPathString(localVarUrlObj),
|
|
3248
|
-
options: localVarRequestOptions,
|
|
3249
|
-
};
|
|
3250
|
-
},
|
|
3251
|
-
/**
|
|
3252
|
-
*
|
|
3253
|
-
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3254
|
-
* @param {string} businessNumber
|
|
3255
|
-
* @param {*} [options] Override http request option.
|
|
3256
|
-
* @throws {RequiredError}
|
|
3257
|
-
*/
|
|
3258
|
-
businessVerificationControllerABNVerification: async (type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3259
|
-
// verify required parameter 'type' is not null or undefined
|
|
3260
|
-
assertParamExists('businessVerificationControllerABNVerification', 'type', type)
|
|
3261
|
-
// verify required parameter 'businessNumber' is not null or undefined
|
|
3262
|
-
assertParamExists('businessVerificationControllerABNVerification', 'businessNumber', businessNumber)
|
|
3263
|
-
const localVarPath = `/v1/business/verify/{type}/{businessNumber}`
|
|
3264
|
-
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
3265
|
-
.replace(`{${"businessNumber"}}`, encodeURIComponent(String(businessNumber)));
|
|
3266
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3267
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3268
|
-
let baseOptions;
|
|
3269
|
-
if (configuration) {
|
|
3270
|
-
baseOptions = configuration.baseOptions;
|
|
3271
|
-
}
|
|
3272
|
-
|
|
3273
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3274
|
-
const localVarHeaderParameter = {} as any;
|
|
3275
|
-
const localVarQueryParameter = {} as any;
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
2703
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3280
2704
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3281
2705
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3323,24 +2747,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
3323
2747
|
* @param {*} [options] Override http request option.
|
|
3324
2748
|
* @throws {RequiredError}
|
|
3325
2749
|
*/
|
|
3326
|
-
async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2750
|
+
async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
3327
2751
|
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerListBusinesses(options);
|
|
3328
2752
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3329
2753
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerListBusinesses']?.[localVarOperationServerIndex]?.url;
|
|
3330
2754
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3331
2755
|
},
|
|
3332
|
-
/**
|
|
3333
|
-
*
|
|
3334
|
-
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3335
|
-
* @param {*} [options] Override http request option.
|
|
3336
|
-
* @throws {RequiredError}
|
|
3337
|
-
*/
|
|
3338
|
-
async businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
|
|
3339
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options);
|
|
3340
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3341
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
3342
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3343
|
-
},
|
|
3344
2756
|
/**
|
|
3345
2757
|
*
|
|
3346
2758
|
* @param {*} [options] Override http request option.
|
|
@@ -3354,12 +2766,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
3354
2766
|
},
|
|
3355
2767
|
/**
|
|
3356
2768
|
*
|
|
3357
|
-
* @param {string}
|
|
2769
|
+
* @param {string} businessType
|
|
3358
2770
|
* @param {*} [options] Override http request option.
|
|
3359
2771
|
* @throws {RequiredError}
|
|
3360
2772
|
*/
|
|
3361
|
-
async businessTypeControllerListCategories(
|
|
3362
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(
|
|
2773
|
+
async businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
2774
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(businessType, options);
|
|
3363
2775
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3364
2776
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListCategories']?.[localVarOperationServerIndex]?.url;
|
|
3365
2777
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3386,86 +2798,40 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
3386
2798
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListPriceRange']?.[localVarOperationServerIndex]?.url;
|
|
3387
2799
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3388
2800
|
},
|
|
2801
|
+
}
|
|
2802
|
+
};
|
|
2803
|
+
|
|
2804
|
+
/**
|
|
2805
|
+
* BusinessApi - factory interface
|
|
2806
|
+
* @export
|
|
2807
|
+
*/
|
|
2808
|
+
export const BusinessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
2809
|
+
const localVarFp = BusinessApiFp(configuration)
|
|
2810
|
+
return {
|
|
3389
2811
|
/**
|
|
3390
2812
|
*
|
|
3391
|
-
* @param {
|
|
2813
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
3392
2814
|
* @param {*} [options] Override http request option.
|
|
3393
2815
|
* @throws {RequiredError}
|
|
3394
2816
|
*/
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3398
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerMarkBusinessAsFavorite']?.[localVarOperationServerIndex]?.url;
|
|
3399
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2817
|
+
businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
2818
|
+
return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
|
|
3400
2819
|
},
|
|
3401
2820
|
/**
|
|
3402
2821
|
*
|
|
3403
|
-
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3404
2822
|
* @param {*} [options] Override http request option.
|
|
3405
2823
|
* @throws {RequiredError}
|
|
3406
2824
|
*/
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3410
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerUnFavoriteBusiness']?.[localVarOperationServerIndex]?.url;
|
|
3411
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2825
|
+
businessControllerGetMe(options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
2826
|
+
return localVarFp.businessControllerGetMe(options).then((request) => request(axios, basePath));
|
|
3412
2827
|
},
|
|
3413
2828
|
/**
|
|
3414
2829
|
*
|
|
3415
|
-
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3416
|
-
* @param {string} businessNumber
|
|
3417
2830
|
* @param {*} [options] Override http request option.
|
|
3418
2831
|
* @throws {RequiredError}
|
|
3419
2832
|
*/
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3423
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessVerificationControllerABNVerification']?.[localVarOperationServerIndex]?.url;
|
|
3424
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3425
|
-
},
|
|
3426
|
-
}
|
|
3427
|
-
};
|
|
3428
|
-
|
|
3429
|
-
/**
|
|
3430
|
-
* BusinessApi - factory interface
|
|
3431
|
-
* @export
|
|
3432
|
-
*/
|
|
3433
|
-
export const BusinessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3434
|
-
const localVarFp = BusinessApiFp(configuration)
|
|
3435
|
-
return {
|
|
3436
|
-
/**
|
|
3437
|
-
*
|
|
3438
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
3439
|
-
* @param {*} [options] Override http request option.
|
|
3440
|
-
* @throws {RequiredError}
|
|
3441
|
-
*/
|
|
3442
|
-
businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
3443
|
-
return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
|
|
3444
|
-
},
|
|
3445
|
-
/**
|
|
3446
|
-
*
|
|
3447
|
-
* @param {*} [options] Override http request option.
|
|
3448
|
-
* @throws {RequiredError}
|
|
3449
|
-
*/
|
|
3450
|
-
businessControllerGetMe(options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
3451
|
-
return localVarFp.businessControllerGetMe(options).then((request) => request(axios, basePath));
|
|
3452
|
-
},
|
|
3453
|
-
/**
|
|
3454
|
-
*
|
|
3455
|
-
* @param {*} [options] Override http request option.
|
|
3456
|
-
* @throws {RequiredError}
|
|
3457
|
-
*/
|
|
3458
|
-
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<Array<BusinessOnBoardingResponseDTO>> {
|
|
3459
|
-
return localVarFp.businessControllerListBusinesses(options).then((request) => request(axios, basePath));
|
|
3460
|
-
},
|
|
3461
|
-
/**
|
|
3462
|
-
*
|
|
3463
|
-
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3464
|
-
* @param {*} [options] Override http request option.
|
|
3465
|
-
* @throws {RequiredError}
|
|
3466
|
-
*/
|
|
3467
|
-
businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
3468
|
-
return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
|
|
2833
|
+
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2834
|
+
return localVarFp.businessControllerListBusinesses(options).then((request) => request(axios, basePath));
|
|
3469
2835
|
},
|
|
3470
2836
|
/**
|
|
3471
2837
|
*
|
|
@@ -3477,12 +2843,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
3477
2843
|
},
|
|
3478
2844
|
/**
|
|
3479
2845
|
*
|
|
3480
|
-
* @param {string}
|
|
2846
|
+
* @param {string} businessType
|
|
3481
2847
|
* @param {*} [options] Override http request option.
|
|
3482
2848
|
* @throws {RequiredError}
|
|
3483
2849
|
*/
|
|
3484
|
-
businessTypeControllerListCategories(
|
|
3485
|
-
return localVarFp.businessTypeControllerListCategories(
|
|
2850
|
+
businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
2851
|
+
return localVarFp.businessTypeControllerListCategories(businessType, options).then((request) => request(axios, basePath));
|
|
3486
2852
|
},
|
|
3487
2853
|
/**
|
|
3488
2854
|
*
|
|
@@ -3500,34 +2866,6 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
3500
2866
|
businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): AxiosPromise<PriceRangeListResponse> {
|
|
3501
2867
|
return localVarFp.businessTypeControllerListPriceRange(options).then((request) => request(axios, basePath));
|
|
3502
2868
|
},
|
|
3503
|
-
/**
|
|
3504
|
-
*
|
|
3505
|
-
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3506
|
-
* @param {*} [options] Override http request option.
|
|
3507
|
-
* @throws {RequiredError}
|
|
3508
|
-
*/
|
|
3509
|
-
businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteResponse> {
|
|
3510
|
-
return localVarFp.businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options).then((request) => request(axios, basePath));
|
|
3511
|
-
},
|
|
3512
|
-
/**
|
|
3513
|
-
*
|
|
3514
|
-
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3515
|
-
* @param {*} [options] Override http request option.
|
|
3516
|
-
* @throws {RequiredError}
|
|
3517
|
-
*/
|
|
3518
|
-
businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessUnFavoriteResponse> {
|
|
3519
|
-
return localVarFp.businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options).then((request) => request(axios, basePath));
|
|
3520
|
-
},
|
|
3521
|
-
/**
|
|
3522
|
-
*
|
|
3523
|
-
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3524
|
-
* @param {string} businessNumber
|
|
3525
|
-
* @param {*} [options] Override http request option.
|
|
3526
|
-
* @throws {RequiredError}
|
|
3527
|
-
*/
|
|
3528
|
-
businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVerificationResponse> {
|
|
3529
|
-
return localVarFp.businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(axios, basePath));
|
|
3530
|
-
},
|
|
3531
2869
|
};
|
|
3532
2870
|
};
|
|
3533
2871
|
|
|
@@ -3569,17 +2907,6 @@ export class BusinessApi extends BaseAPI {
|
|
|
3569
2907
|
return BusinessApiFp(this.configuration).businessControllerListBusinesses(options).then((request) => request(this.axios, this.basePath));
|
|
3570
2908
|
}
|
|
3571
2909
|
|
|
3572
|
-
/**
|
|
3573
|
-
*
|
|
3574
|
-
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3575
|
-
* @param {*} [options] Override http request option.
|
|
3576
|
-
* @throws {RequiredError}
|
|
3577
|
-
* @memberof BusinessApi
|
|
3578
|
-
*/
|
|
3579
|
-
public businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig) {
|
|
3580
|
-
return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
3581
|
-
}
|
|
3582
|
-
|
|
3583
2910
|
/**
|
|
3584
2911
|
*
|
|
3585
2912
|
* @param {*} [options] Override http request option.
|
|
@@ -3592,13 +2919,13 @@ export class BusinessApi extends BaseAPI {
|
|
|
3592
2919
|
|
|
3593
2920
|
/**
|
|
3594
2921
|
*
|
|
3595
|
-
* @param {string}
|
|
2922
|
+
* @param {string} businessType
|
|
3596
2923
|
* @param {*} [options] Override http request option.
|
|
3597
2924
|
* @throws {RequiredError}
|
|
3598
2925
|
* @memberof BusinessApi
|
|
3599
2926
|
*/
|
|
3600
|
-
public businessTypeControllerListCategories(
|
|
3601
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(
|
|
2927
|
+
public businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig) {
|
|
2928
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(businessType, options).then((request) => request(this.axios, this.basePath));
|
|
3602
2929
|
}
|
|
3603
2930
|
|
|
3604
2931
|
/**
|
|
@@ -3620,39 +2947,116 @@ export class BusinessApi extends BaseAPI {
|
|
|
3620
2947
|
public businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig) {
|
|
3621
2948
|
return BusinessApiFp(this.configuration).businessTypeControllerListPriceRange(options).then((request) => request(this.axios, this.basePath));
|
|
3622
2949
|
}
|
|
2950
|
+
}
|
|
3623
2951
|
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
/**
|
|
2955
|
+
* BusinessVerificationApi - axios parameter creator
|
|
2956
|
+
* @export
|
|
2957
|
+
*/
|
|
2958
|
+
export const BusinessVerificationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2959
|
+
return {
|
|
2960
|
+
/**
|
|
2961
|
+
*
|
|
2962
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
2963
|
+
* @param {string} businessNumber
|
|
2964
|
+
* @param {*} [options] Override http request option.
|
|
2965
|
+
* @throws {RequiredError}
|
|
2966
|
+
*/
|
|
2967
|
+
businessVerificationControllerABNVerification: async (type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2968
|
+
// verify required parameter 'type' is not null or undefined
|
|
2969
|
+
assertParamExists('businessVerificationControllerABNVerification', 'type', type)
|
|
2970
|
+
// verify required parameter 'businessNumber' is not null or undefined
|
|
2971
|
+
assertParamExists('businessVerificationControllerABNVerification', 'businessNumber', businessNumber)
|
|
2972
|
+
const localVarPath = `/v1/business/verify/{type}/{businessNumber}`
|
|
2973
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
2974
|
+
.replace(`{${"businessNumber"}}`, encodeURIComponent(String(businessNumber)));
|
|
2975
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2976
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2977
|
+
let baseOptions;
|
|
2978
|
+
if (configuration) {
|
|
2979
|
+
baseOptions = configuration.baseOptions;
|
|
2980
|
+
}
|
|
2981
|
+
|
|
2982
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2983
|
+
const localVarHeaderParameter = {} as any;
|
|
2984
|
+
const localVarQueryParameter = {} as any;
|
|
2985
|
+
|
|
2986
|
+
|
|
2987
|
+
|
|
2988
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2989
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2990
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2991
|
+
|
|
2992
|
+
return {
|
|
2993
|
+
url: toPathString(localVarUrlObj),
|
|
2994
|
+
options: localVarRequestOptions,
|
|
2995
|
+
};
|
|
2996
|
+
},
|
|
3633
2997
|
}
|
|
2998
|
+
};
|
|
3634
2999
|
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3000
|
+
/**
|
|
3001
|
+
* BusinessVerificationApi - functional programming interface
|
|
3002
|
+
* @export
|
|
3003
|
+
*/
|
|
3004
|
+
export const BusinessVerificationApiFp = function(configuration?: Configuration) {
|
|
3005
|
+
const localVarAxiosParamCreator = BusinessVerificationApiAxiosParamCreator(configuration)
|
|
3006
|
+
return {
|
|
3007
|
+
/**
|
|
3008
|
+
*
|
|
3009
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3010
|
+
* @param {string} businessNumber
|
|
3011
|
+
* @param {*} [options] Override http request option.
|
|
3012
|
+
* @throws {RequiredError}
|
|
3013
|
+
*/
|
|
3014
|
+
async businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVerificationResponse>> {
|
|
3015
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessVerificationControllerABNVerification(type, businessNumber, options);
|
|
3016
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3017
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessVerificationApi.businessVerificationControllerABNVerification']?.[localVarOperationServerIndex]?.url;
|
|
3018
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3019
|
+
},
|
|
3644
3020
|
}
|
|
3021
|
+
};
|
|
3645
3022
|
|
|
3023
|
+
/**
|
|
3024
|
+
* BusinessVerificationApi - factory interface
|
|
3025
|
+
* @export
|
|
3026
|
+
*/
|
|
3027
|
+
export const BusinessVerificationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3028
|
+
const localVarFp = BusinessVerificationApiFp(configuration)
|
|
3029
|
+
return {
|
|
3030
|
+
/**
|
|
3031
|
+
*
|
|
3032
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3033
|
+
* @param {string} businessNumber
|
|
3034
|
+
* @param {*} [options] Override http request option.
|
|
3035
|
+
* @throws {RequiredError}
|
|
3036
|
+
*/
|
|
3037
|
+
businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVerificationResponse> {
|
|
3038
|
+
return localVarFp.businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(axios, basePath));
|
|
3039
|
+
},
|
|
3040
|
+
};
|
|
3041
|
+
};
|
|
3042
|
+
|
|
3043
|
+
/**
|
|
3044
|
+
* BusinessVerificationApi - object-oriented interface
|
|
3045
|
+
* @export
|
|
3046
|
+
* @class BusinessVerificationApi
|
|
3047
|
+
* @extends {BaseAPI}
|
|
3048
|
+
*/
|
|
3049
|
+
export class BusinessVerificationApi extends BaseAPI {
|
|
3646
3050
|
/**
|
|
3647
3051
|
*
|
|
3648
3052
|
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3649
3053
|
* @param {string} businessNumber
|
|
3650
3054
|
* @param {*} [options] Override http request option.
|
|
3651
3055
|
* @throws {RequiredError}
|
|
3652
|
-
* @memberof
|
|
3056
|
+
* @memberof BusinessVerificationApi
|
|
3653
3057
|
*/
|
|
3654
3058
|
public businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig) {
|
|
3655
|
-
return
|
|
3059
|
+
return BusinessVerificationApiFp(this.configuration).businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(this.axios, this.basePath));
|
|
3656
3060
|
}
|
|
3657
3061
|
}
|
|
3658
3062
|
|
|
@@ -4225,24 +3629,21 @@ export class IntegrationApi extends BaseAPI {
|
|
|
4225
3629
|
|
|
4226
3630
|
|
|
4227
3631
|
/**
|
|
4228
|
-
*
|
|
3632
|
+
* OAuthApi - axios parameter creator
|
|
4229
3633
|
* @export
|
|
4230
3634
|
*/
|
|
4231
|
-
export const
|
|
3635
|
+
export const OAuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4232
3636
|
return {
|
|
4233
3637
|
/**
|
|
4234
3638
|
*
|
|
4235
|
-
* @param {
|
|
4236
|
-
* @param {string} label
|
|
3639
|
+
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
4237
3640
|
* @param {*} [options] Override http request option.
|
|
4238
3641
|
* @throws {RequiredError}
|
|
4239
3642
|
*/
|
|
4240
|
-
|
|
4241
|
-
// verify required parameter '
|
|
4242
|
-
assertParamExists('
|
|
4243
|
-
|
|
4244
|
-
assertParamExists('locationControllerFetchCoordinates', 'label', label)
|
|
4245
|
-
const localVarPath = `/v1/locations-coordinates`;
|
|
3643
|
+
oAuthControllerValidateAppleToken: async (appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3644
|
+
// verify required parameter 'appleVerificationPayloadDTO' is not null or undefined
|
|
3645
|
+
assertParamExists('oAuthControllerValidateAppleToken', 'appleVerificationPayloadDTO', appleVerificationPayloadDTO)
|
|
3646
|
+
const localVarPath = `/v1/oauth/apple`;
|
|
4246
3647
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4247
3648
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4248
3649
|
let baseOptions;
|
|
@@ -4250,171 +3651,24 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4250
3651
|
baseOptions = configuration.baseOptions;
|
|
4251
3652
|
}
|
|
4252
3653
|
|
|
4253
|
-
const localVarRequestOptions = { method: '
|
|
3654
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4254
3655
|
const localVarHeaderParameter = {} as any;
|
|
4255
3656
|
const localVarQueryParameter = {} as any;
|
|
4256
3657
|
|
|
4257
|
-
if (place !== undefined) {
|
|
4258
|
-
localVarQueryParameter['place'] = place;
|
|
4259
|
-
}
|
|
4260
|
-
|
|
4261
|
-
if (label !== undefined) {
|
|
4262
|
-
localVarQueryParameter['label'] = label;
|
|
4263
|
-
}
|
|
4264
|
-
|
|
4265
3658
|
|
|
4266
3659
|
|
|
4267
|
-
|
|
4268
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4269
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4270
|
-
|
|
4271
|
-
return {
|
|
4272
|
-
url: toPathString(localVarUrlObj),
|
|
4273
|
-
options: localVarRequestOptions,
|
|
4274
|
-
};
|
|
4275
|
-
},
|
|
4276
|
-
/**
|
|
4277
|
-
*
|
|
4278
|
-
* @param {string} place
|
|
4279
|
-
* @param {*} [options] Override http request option.
|
|
4280
|
-
* @throws {RequiredError}
|
|
4281
|
-
*/
|
|
4282
|
-
locationControllerFetchLocations: async (place: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4283
|
-
// verify required parameter 'place' is not null or undefined
|
|
4284
|
-
assertParamExists('locationControllerFetchLocations', 'place', place)
|
|
4285
|
-
const localVarPath = `/v1/locations`;
|
|
4286
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4287
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4288
|
-
let baseOptions;
|
|
4289
|
-
if (configuration) {
|
|
4290
|
-
baseOptions = configuration.baseOptions;
|
|
4291
|
-
}
|
|
4292
|
-
|
|
4293
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4294
|
-
const localVarHeaderParameter = {} as any;
|
|
4295
|
-
const localVarQueryParameter = {} as any;
|
|
4296
|
-
|
|
4297
|
-
if (place !== undefined) {
|
|
4298
|
-
localVarQueryParameter['place'] = place;
|
|
4299
|
-
}
|
|
4300
|
-
|
|
3660
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4301
3661
|
|
|
4302
|
-
|
|
4303
3662
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4304
3663
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4305
3664
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3665
|
+
localVarRequestOptions.data = serializeDataIfNeeded(appleVerificationPayloadDTO, localVarRequestOptions, configuration)
|
|
4306
3666
|
|
|
4307
3667
|
return {
|
|
4308
3668
|
url: toPathString(localVarUrlObj),
|
|
4309
3669
|
options: localVarRequestOptions,
|
|
4310
3670
|
};
|
|
4311
3671
|
},
|
|
4312
|
-
}
|
|
4313
|
-
};
|
|
4314
|
-
|
|
4315
|
-
/**
|
|
4316
|
-
* LocationApi - functional programming interface
|
|
4317
|
-
* @export
|
|
4318
|
-
*/
|
|
4319
|
-
export const LocationApiFp = function(configuration?: Configuration) {
|
|
4320
|
-
const localVarAxiosParamCreator = LocationApiAxiosParamCreator(configuration)
|
|
4321
|
-
return {
|
|
4322
|
-
/**
|
|
4323
|
-
*
|
|
4324
|
-
* @param {string} place
|
|
4325
|
-
* @param {string} label
|
|
4326
|
-
* @param {*} [options] Override http request option.
|
|
4327
|
-
* @throws {RequiredError}
|
|
4328
|
-
*/
|
|
4329
|
-
async locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponse>> {
|
|
4330
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchCoordinates(place, label, options);
|
|
4331
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4332
|
-
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchCoordinates']?.[localVarOperationServerIndex]?.url;
|
|
4333
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4334
|
-
},
|
|
4335
|
-
/**
|
|
4336
|
-
*
|
|
4337
|
-
* @param {string} place
|
|
4338
|
-
* @param {*} [options] Override http request option.
|
|
4339
|
-
* @throws {RequiredError}
|
|
4340
|
-
*/
|
|
4341
|
-
async locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationEntityResponse>> {
|
|
4342
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchLocations(place, options);
|
|
4343
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4344
|
-
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchLocations']?.[localVarOperationServerIndex]?.url;
|
|
4345
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4346
|
-
},
|
|
4347
|
-
}
|
|
4348
|
-
};
|
|
4349
|
-
|
|
4350
|
-
/**
|
|
4351
|
-
* LocationApi - factory interface
|
|
4352
|
-
* @export
|
|
4353
|
-
*/
|
|
4354
|
-
export const LocationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4355
|
-
const localVarFp = LocationApiFp(configuration)
|
|
4356
|
-
return {
|
|
4357
|
-
/**
|
|
4358
|
-
*
|
|
4359
|
-
* @param {string} place
|
|
4360
|
-
* @param {string} label
|
|
4361
|
-
* @param {*} [options] Override http request option.
|
|
4362
|
-
* @throws {RequiredError}
|
|
4363
|
-
*/
|
|
4364
|
-
locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponse> {
|
|
4365
|
-
return localVarFp.locationControllerFetchCoordinates(place, label, options).then((request) => request(axios, basePath));
|
|
4366
|
-
},
|
|
4367
|
-
/**
|
|
4368
|
-
*
|
|
4369
|
-
* @param {string} place
|
|
4370
|
-
* @param {*} [options] Override http request option.
|
|
4371
|
-
* @throws {RequiredError}
|
|
4372
|
-
*/
|
|
4373
|
-
locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationEntityResponse> {
|
|
4374
|
-
return localVarFp.locationControllerFetchLocations(place, options).then((request) => request(axios, basePath));
|
|
4375
|
-
},
|
|
4376
|
-
};
|
|
4377
|
-
};
|
|
4378
|
-
|
|
4379
|
-
/**
|
|
4380
|
-
* LocationApi - object-oriented interface
|
|
4381
|
-
* @export
|
|
4382
|
-
* @class LocationApi
|
|
4383
|
-
* @extends {BaseAPI}
|
|
4384
|
-
*/
|
|
4385
|
-
export class LocationApi extends BaseAPI {
|
|
4386
|
-
/**
|
|
4387
|
-
*
|
|
4388
|
-
* @param {string} place
|
|
4389
|
-
* @param {string} label
|
|
4390
|
-
* @param {*} [options] Override http request option.
|
|
4391
|
-
* @throws {RequiredError}
|
|
4392
|
-
* @memberof LocationApi
|
|
4393
|
-
*/
|
|
4394
|
-
public locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig) {
|
|
4395
|
-
return LocationApiFp(this.configuration).locationControllerFetchCoordinates(place, label, options).then((request) => request(this.axios, this.basePath));
|
|
4396
|
-
}
|
|
4397
|
-
|
|
4398
|
-
/**
|
|
4399
|
-
*
|
|
4400
|
-
* @param {string} place
|
|
4401
|
-
* @param {*} [options] Override http request option.
|
|
4402
|
-
* @throws {RequiredError}
|
|
4403
|
-
* @memberof LocationApi
|
|
4404
|
-
*/
|
|
4405
|
-
public locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig) {
|
|
4406
|
-
return LocationApiFp(this.configuration).locationControllerFetchLocations(place, options).then((request) => request(this.axios, this.basePath));
|
|
4407
|
-
}
|
|
4408
|
-
}
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
/**
|
|
4413
|
-
* OAuthApi - axios parameter creator
|
|
4414
|
-
* @export
|
|
4415
|
-
*/
|
|
4416
|
-
export const OAuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4417
|
-
return {
|
|
4418
3672
|
/**
|
|
4419
3673
|
*
|
|
4420
3674
|
* @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
|
|
@@ -4495,6 +3749,18 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4495
3749
|
export const OAuthApiFp = function(configuration?: Configuration) {
|
|
4496
3750
|
const localVarAxiosParamCreator = OAuthApiAxiosParamCreator(configuration)
|
|
4497
3751
|
return {
|
|
3752
|
+
/**
|
|
3753
|
+
*
|
|
3754
|
+
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
3755
|
+
* @param {*} [options] Override http request option.
|
|
3756
|
+
* @throws {RequiredError}
|
|
3757
|
+
*/
|
|
3758
|
+
async oAuthControllerValidateAppleToken(appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppleOAuthResponseDTO>> {
|
|
3759
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.oAuthControllerValidateAppleToken(appleVerificationPayloadDTO, options);
|
|
3760
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3761
|
+
const localVarOperationServerBasePath = operationServerMap['OAuthApi.oAuthControllerValidateAppleToken']?.[localVarOperationServerIndex]?.url;
|
|
3762
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3763
|
+
},
|
|
4498
3764
|
/**
|
|
4499
3765
|
*
|
|
4500
3766
|
* @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
|
|
@@ -4529,6 +3795,15 @@ export const OAuthApiFp = function(configuration?: Configuration) {
|
|
|
4529
3795
|
export const OAuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4530
3796
|
const localVarFp = OAuthApiFp(configuration)
|
|
4531
3797
|
return {
|
|
3798
|
+
/**
|
|
3799
|
+
*
|
|
3800
|
+
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
3801
|
+
* @param {*} [options] Override http request option.
|
|
3802
|
+
* @throws {RequiredError}
|
|
3803
|
+
*/
|
|
3804
|
+
oAuthControllerValidateAppleToken(appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<AppleOAuthResponseDTO> {
|
|
3805
|
+
return localVarFp.oAuthControllerValidateAppleToken(appleVerificationPayloadDTO, options).then((request) => request(axios, basePath));
|
|
3806
|
+
},
|
|
4532
3807
|
/**
|
|
4533
3808
|
*
|
|
4534
3809
|
* @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
|
|
@@ -4557,6 +3832,17 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath
|
|
|
4557
3832
|
* @extends {BaseAPI}
|
|
4558
3833
|
*/
|
|
4559
3834
|
export class OAuthApi extends BaseAPI {
|
|
3835
|
+
/**
|
|
3836
|
+
*
|
|
3837
|
+
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
3838
|
+
* @param {*} [options] Override http request option.
|
|
3839
|
+
* @throws {RequiredError}
|
|
3840
|
+
* @memberof OAuthApi
|
|
3841
|
+
*/
|
|
3842
|
+
public oAuthControllerValidateAppleToken(appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
3843
|
+
return OAuthApiFp(this.configuration).oAuthControllerValidateAppleToken(appleVerificationPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3844
|
+
}
|
|
3845
|
+
|
|
4560
3846
|
/**
|
|
4561
3847
|
*
|
|
4562
3848
|
* @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
|
|
@@ -4625,11 +3911,14 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4625
3911
|
},
|
|
4626
3912
|
/**
|
|
4627
3913
|
*
|
|
3914
|
+
* @param {string} planId Strip Plan ID
|
|
4628
3915
|
* @param {*} [options] Override http request option.
|
|
4629
3916
|
* @throws {RequiredError}
|
|
4630
3917
|
*/
|
|
4631
|
-
|
|
4632
|
-
|
|
3918
|
+
paymentControllerGetPaymentSecretForIntent: async (planId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3919
|
+
// verify required parameter 'planId' is not null or undefined
|
|
3920
|
+
assertParamExists('paymentControllerGetPaymentSecretForIntent', 'planId', planId)
|
|
3921
|
+
const localVarPath = `/v1/payment/payment-secret-for-intent`;
|
|
4633
3922
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4634
3923
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4635
3924
|
let baseOptions;
|
|
@@ -4641,6 +3930,14 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4641
3930
|
const localVarHeaderParameter = {} as any;
|
|
4642
3931
|
const localVarQueryParameter = {} as any;
|
|
4643
3932
|
|
|
3933
|
+
// authentication bearer required
|
|
3934
|
+
// http bearer authentication required
|
|
3935
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3936
|
+
|
|
3937
|
+
if (planId !== undefined) {
|
|
3938
|
+
localVarQueryParameter['planId'] = planId;
|
|
3939
|
+
}
|
|
3940
|
+
|
|
4644
3941
|
|
|
4645
3942
|
|
|
4646
3943
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4654,14 +3951,11 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4654
3951
|
},
|
|
4655
3952
|
/**
|
|
4656
3953
|
*
|
|
4657
|
-
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
4658
3954
|
* @param {*} [options] Override http request option.
|
|
4659
3955
|
* @throws {RequiredError}
|
|
4660
3956
|
*/
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
assertParamExists('paymentControllerPlanUpsert', 'planUpsertPayloadDTO', planUpsertPayloadDTO)
|
|
4664
|
-
const localVarPath = `/v1/payment/plan`;
|
|
3957
|
+
paymentControllerGetPlans: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3958
|
+
const localVarPath = `/v1/payment/plans`;
|
|
4665
3959
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4666
3960
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4667
3961
|
let baseOptions;
|
|
@@ -4669,22 +3963,15 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4669
3963
|
baseOptions = configuration.baseOptions;
|
|
4670
3964
|
}
|
|
4671
3965
|
|
|
4672
|
-
const localVarRequestOptions = { method: '
|
|
3966
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4673
3967
|
const localVarHeaderParameter = {} as any;
|
|
4674
3968
|
const localVarQueryParameter = {} as any;
|
|
4675
3969
|
|
|
4676
|
-
// authentication bearer required
|
|
4677
|
-
// http bearer authentication required
|
|
4678
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4679
|
-
|
|
4680
3970
|
|
|
4681
3971
|
|
|
4682
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4683
|
-
|
|
4684
3972
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4685
3973
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4686
3974
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4687
|
-
localVarRequestOptions.data = serializeDataIfNeeded(planUpsertPayloadDTO, localVarRequestOptions, configuration)
|
|
4688
3975
|
|
|
4689
3976
|
return {
|
|
4690
3977
|
url: toPathString(localVarUrlObj),
|
|
@@ -4751,25 +4038,25 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
4751
4038
|
},
|
|
4752
4039
|
/**
|
|
4753
4040
|
*
|
|
4041
|
+
* @param {string} planId Strip Plan ID
|
|
4754
4042
|
* @param {*} [options] Override http request option.
|
|
4755
4043
|
* @throws {RequiredError}
|
|
4756
4044
|
*/
|
|
4757
|
-
async
|
|
4758
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4045
|
+
async paymentControllerGetPaymentSecretForIntent(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePaymentIntentResponseDTO>> {
|
|
4046
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerGetPaymentSecretForIntent(planId, options);
|
|
4759
4047
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4760
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.
|
|
4048
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPaymentSecretForIntent']?.[localVarOperationServerIndex]?.url;
|
|
4761
4049
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4762
4050
|
},
|
|
4763
4051
|
/**
|
|
4764
4052
|
*
|
|
4765
|
-
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
4766
4053
|
* @param {*} [options] Override http request option.
|
|
4767
4054
|
* @throws {RequiredError}
|
|
4768
4055
|
*/
|
|
4769
|
-
async
|
|
4770
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4056
|
+
async paymentControllerGetPlans(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanResponseDTO>> {
|
|
4057
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerGetPlans(options);
|
|
4771
4058
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4772
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.
|
|
4059
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
|
|
4773
4060
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4774
4061
|
},
|
|
4775
4062
|
/**
|
|
@@ -4805,20 +4092,20 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
4805
4092
|
},
|
|
4806
4093
|
/**
|
|
4807
4094
|
*
|
|
4095
|
+
* @param {string} planId Strip Plan ID
|
|
4808
4096
|
* @param {*} [options] Override http request option.
|
|
4809
4097
|
* @throws {RequiredError}
|
|
4810
4098
|
*/
|
|
4811
|
-
|
|
4812
|
-
return localVarFp.
|
|
4099
|
+
paymentControllerGetPaymentSecretForIntent(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<StripePaymentIntentResponseDTO> {
|
|
4100
|
+
return localVarFp.paymentControllerGetPaymentSecretForIntent(planId, options).then((request) => request(axios, basePath));
|
|
4813
4101
|
},
|
|
4814
4102
|
/**
|
|
4815
4103
|
*
|
|
4816
|
-
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
4817
4104
|
* @param {*} [options] Override http request option.
|
|
4818
4105
|
* @throws {RequiredError}
|
|
4819
4106
|
*/
|
|
4820
|
-
|
|
4821
|
-
return localVarFp.
|
|
4107
|
+
paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
|
|
4108
|
+
return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
|
|
4822
4109
|
},
|
|
4823
4110
|
/**
|
|
4824
4111
|
*
|
|
@@ -4852,23 +4139,23 @@ export class PlansApi extends BaseAPI {
|
|
|
4852
4139
|
|
|
4853
4140
|
/**
|
|
4854
4141
|
*
|
|
4142
|
+
* @param {string} planId Strip Plan ID
|
|
4855
4143
|
* @param {*} [options] Override http request option.
|
|
4856
4144
|
* @throws {RequiredError}
|
|
4857
4145
|
* @memberof PlansApi
|
|
4858
4146
|
*/
|
|
4859
|
-
public
|
|
4860
|
-
return PlansApiFp(this.configuration).
|
|
4147
|
+
public paymentControllerGetPaymentSecretForIntent(planId: string, options?: RawAxiosRequestConfig) {
|
|
4148
|
+
return PlansApiFp(this.configuration).paymentControllerGetPaymentSecretForIntent(planId, options).then((request) => request(this.axios, this.basePath));
|
|
4861
4149
|
}
|
|
4862
4150
|
|
|
4863
4151
|
/**
|
|
4864
4152
|
*
|
|
4865
|
-
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
4866
4153
|
* @param {*} [options] Override http request option.
|
|
4867
4154
|
* @throws {RequiredError}
|
|
4868
4155
|
* @memberof PlansApi
|
|
4869
4156
|
*/
|
|
4870
|
-
public
|
|
4871
|
-
return PlansApiFp(this.configuration).
|
|
4157
|
+
public paymentControllerGetPlans(options?: RawAxiosRequestConfig) {
|
|
4158
|
+
return PlansApiFp(this.configuration).paymentControllerGetPlans(options).then((request) => request(this.axios, this.basePath));
|
|
4872
4159
|
}
|
|
4873
4160
|
|
|
4874
4161
|
/**
|
|
@@ -4958,84 +4245,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4958
4245
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4959
4246
|
localVarRequestOptions.data = serializeDataIfNeeded(onBoardingDTO, localVarRequestOptions, configuration)
|
|
4960
4247
|
|
|
4961
|
-
return {
|
|
4962
|
-
url: toPathString(localVarUrlObj),
|
|
4963
|
-
options: localVarRequestOptions,
|
|
4964
|
-
};
|
|
4965
|
-
},
|
|
4966
|
-
/**
|
|
4967
|
-
*
|
|
4968
|
-
* @param {UserSyncDTO} userSyncDTO
|
|
4969
|
-
* @param {*} [options] Override http request option.
|
|
4970
|
-
* @throws {RequiredError}
|
|
4971
|
-
*/
|
|
4972
|
-
usersControllerSyncUserInfo: async (userSyncDTO: UserSyncDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4973
|
-
// verify required parameter 'userSyncDTO' is not null or undefined
|
|
4974
|
-
assertParamExists('usersControllerSyncUserInfo', 'userSyncDTO', userSyncDTO)
|
|
4975
|
-
const localVarPath = `/v1/user/sync-info`;
|
|
4976
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4977
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4978
|
-
let baseOptions;
|
|
4979
|
-
if (configuration) {
|
|
4980
|
-
baseOptions = configuration.baseOptions;
|
|
4981
|
-
}
|
|
4982
|
-
|
|
4983
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4984
|
-
const localVarHeaderParameter = {} as any;
|
|
4985
|
-
const localVarQueryParameter = {} as any;
|
|
4986
|
-
|
|
4987
|
-
// authentication bearer required
|
|
4988
|
-
// http bearer authentication required
|
|
4989
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4994
|
-
|
|
4995
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4996
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4997
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4998
|
-
localVarRequestOptions.data = serializeDataIfNeeded(userSyncDTO, localVarRequestOptions, configuration)
|
|
4999
|
-
|
|
5000
|
-
return {
|
|
5001
|
-
url: toPathString(localVarUrlObj),
|
|
5002
|
-
options: localVarRequestOptions,
|
|
5003
|
-
};
|
|
5004
|
-
},
|
|
5005
|
-
/**
|
|
5006
|
-
*
|
|
5007
|
-
* @param {UserPermissionDTO} userPermissionDTO
|
|
5008
|
-
* @param {*} [options] Override http request option.
|
|
5009
|
-
* @throws {RequiredError}
|
|
5010
|
-
*/
|
|
5011
|
-
usersControllerSyncUserPermissions: async (userPermissionDTO: UserPermissionDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5012
|
-
// verify required parameter 'userPermissionDTO' is not null or undefined
|
|
5013
|
-
assertParamExists('usersControllerSyncUserPermissions', 'userPermissionDTO', userPermissionDTO)
|
|
5014
|
-
const localVarPath = `/v1/user/permissions`;
|
|
5015
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5016
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5017
|
-
let baseOptions;
|
|
5018
|
-
if (configuration) {
|
|
5019
|
-
baseOptions = configuration.baseOptions;
|
|
5020
|
-
}
|
|
5021
|
-
|
|
5022
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
5023
|
-
const localVarHeaderParameter = {} as any;
|
|
5024
|
-
const localVarQueryParameter = {} as any;
|
|
5025
|
-
|
|
5026
|
-
// authentication bearer required
|
|
5027
|
-
// http bearer authentication required
|
|
5028
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5033
|
-
|
|
5034
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5035
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5036
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5037
|
-
localVarRequestOptions.data = serializeDataIfNeeded(userPermissionDTO, localVarRequestOptions, configuration)
|
|
5038
|
-
|
|
5039
4248
|
return {
|
|
5040
4249
|
url: toPathString(localVarUrlObj),
|
|
5041
4250
|
options: localVarRequestOptions,
|
|
@@ -5074,30 +4283,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
5074
4283
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerOnBoarded']?.[localVarOperationServerIndex]?.url;
|
|
5075
4284
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5076
4285
|
},
|
|
5077
|
-
/**
|
|
5078
|
-
*
|
|
5079
|
-
* @param {UserSyncDTO} userSyncDTO
|
|
5080
|
-
* @param {*} [options] Override http request option.
|
|
5081
|
-
* @throws {RequiredError}
|
|
5082
|
-
*/
|
|
5083
|
-
async usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
5084
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserInfo(userSyncDTO, options);
|
|
5085
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5086
|
-
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserInfo']?.[localVarOperationServerIndex]?.url;
|
|
5087
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5088
|
-
},
|
|
5089
|
-
/**
|
|
5090
|
-
*
|
|
5091
|
-
* @param {UserPermissionDTO} userPermissionDTO
|
|
5092
|
-
* @param {*} [options] Override http request option.
|
|
5093
|
-
* @throws {RequiredError}
|
|
5094
|
-
*/
|
|
5095
|
-
async usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
5096
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserPermissions(userPermissionDTO, options);
|
|
5097
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5098
|
-
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserPermissions']?.[localVarOperationServerIndex]?.url;
|
|
5099
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5100
|
-
},
|
|
5101
4286
|
}
|
|
5102
4287
|
};
|
|
5103
4288
|
|
|
@@ -5125,24 +4310,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
5125
4310
|
usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
5126
4311
|
return localVarFp.usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(axios, basePath));
|
|
5127
4312
|
},
|
|
5128
|
-
/**
|
|
5129
|
-
*
|
|
5130
|
-
* @param {UserSyncDTO} userSyncDTO
|
|
5131
|
-
* @param {*} [options] Override http request option.
|
|
5132
|
-
* @throws {RequiredError}
|
|
5133
|
-
*/
|
|
5134
|
-
usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
5135
|
-
return localVarFp.usersControllerSyncUserInfo(userSyncDTO, options).then((request) => request(axios, basePath));
|
|
5136
|
-
},
|
|
5137
|
-
/**
|
|
5138
|
-
*
|
|
5139
|
-
* @param {UserPermissionDTO} userPermissionDTO
|
|
5140
|
-
* @param {*} [options] Override http request option.
|
|
5141
|
-
* @throws {RequiredError}
|
|
5142
|
-
*/
|
|
5143
|
-
usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
5144
|
-
return localVarFp.usersControllerSyncUserPermissions(userPermissionDTO, options).then((request) => request(axios, basePath));
|
|
5145
|
-
},
|
|
5146
4313
|
};
|
|
5147
4314
|
};
|
|
5148
4315
|
|
|
@@ -5173,28 +4340,6 @@ export class UsersApi extends BaseAPI {
|
|
|
5173
4340
|
public usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
5174
4341
|
return UsersApiFp(this.configuration).usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5175
4342
|
}
|
|
5176
|
-
|
|
5177
|
-
/**
|
|
5178
|
-
*
|
|
5179
|
-
* @param {UserSyncDTO} userSyncDTO
|
|
5180
|
-
* @param {*} [options] Override http request option.
|
|
5181
|
-
* @throws {RequiredError}
|
|
5182
|
-
* @memberof UsersApi
|
|
5183
|
-
*/
|
|
5184
|
-
public usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig) {
|
|
5185
|
-
return UsersApiFp(this.configuration).usersControllerSyncUserInfo(userSyncDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5186
|
-
}
|
|
5187
|
-
|
|
5188
|
-
/**
|
|
5189
|
-
*
|
|
5190
|
-
* @param {UserPermissionDTO} userPermissionDTO
|
|
5191
|
-
* @param {*} [options] Override http request option.
|
|
5192
|
-
* @throws {RequiredError}
|
|
5193
|
-
* @memberof UsersApi
|
|
5194
|
-
*/
|
|
5195
|
-
public usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig) {
|
|
5196
|
-
return UsersApiFp(this.configuration).usersControllerSyncUserPermissions(userPermissionDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5197
|
-
}
|
|
5198
4343
|
}
|
|
5199
4344
|
|
|
5200
4345
|
|