@gooday_corp/gooday-api-client 1.0.16 → 1.0.17-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.
Files changed (2) hide show
  1. package/api.ts +692 -484
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -89,19 +89,13 @@ export interface AssistantEntity {
89
89
  * @type {Array<string>}
90
90
  * @memberof AssistantEntity
91
91
  */
92
- 'availability': Array<string>;
92
+ 'availablity': Array<string>;
93
93
  /**
94
94
  * Configuration object for the assistant
95
95
  * @type {object}
96
96
  * @memberof AssistantEntity
97
97
  */
98
98
  'configuration': object;
99
- /**
100
- * Attributes object for the assistant
101
- * @type {AttributesDto}
102
- * @memberof AssistantEntity
103
- */
104
- 'attributes': AttributesDto;
105
99
  }
106
100
  /**
107
101
  *
@@ -125,27 +119,299 @@ export interface AssistantListResponse {
125
119
  /**
126
120
  *
127
121
  * @export
128
- * @interface AttributesDto
122
+ * @interface BusinessEntity
129
123
  */
130
- export interface AttributesDto {
124
+ export interface BusinessEntity {
125
+ /**
126
+ * Unique identifier for the Business
127
+ * @type {string}
128
+ * @memberof BusinessEntity
129
+ */
130
+ '_id': string;
131
+ /**
132
+ * Unique identifier for the User
133
+ * @type {string}
134
+ * @memberof BusinessEntity
135
+ */
136
+ 'user': string;
137
+ /**
138
+ * Business Timing
139
+ * @type {Array<BusinessTiming>}
140
+ * @memberof BusinessEntity
141
+ */
142
+ 'timing'?: Array<BusinessTiming>;
143
+ /**
144
+ * Business policies
145
+ * @type {string}
146
+ * @memberof BusinessEntity
147
+ */
148
+ 'policies'?: string;
149
+ /**
150
+ * Business cancellationFree
151
+ * @type {number}
152
+ * @memberof BusinessEntity
153
+ */
154
+ 'cancellationFree'?: number;
155
+ /**
156
+ * Business ID
157
+ * @type {string}
158
+ * @memberof BusinessEntity
159
+ */
160
+ 'businessID'?: string;
161
+ /**
162
+ * Business Country
163
+ * @type {string}
164
+ * @memberof BusinessEntity
165
+ */
166
+ 'businessCountry'?: string;
131
167
  /**
132
- * List of skills with their titles and values
133
- * @type {Array<SkillDto>}
134
- * @memberof AttributesDto
168
+ * Business Type
169
+ * @type {string}
170
+ * @memberof BusinessEntity
135
171
  */
136
- 'skills': Array<SkillDto>;
172
+ 'businessType'?: string;
137
173
  /**
138
- * List of likes of assistants
174
+ * Business Category
139
175
  * @type {Array<string>}
140
- * @memberof AttributesDto
176
+ * @memberof BusinessEntity
177
+ */
178
+ 'businessCategory'?: Array<string>;
179
+ /**
180
+ * Business Employee
181
+ * @type {string}
182
+ * @memberof BusinessEntity
183
+ */
184
+ 'numberOfEmployees'?: string;
185
+ /**
186
+ * Business Type
187
+ * @type {string}
188
+ * @memberof BusinessEntity
189
+ */
190
+ 'priceRange'?: string;
191
+ }
192
+ /**
193
+ *
194
+ * @export
195
+ * @interface BusinessOnBoardingDTO
196
+ */
197
+ export interface BusinessOnBoardingDTO {
198
+ /**
199
+ * Business Timing
200
+ * @type {Array<BusinessTiming>}
201
+ * @memberof BusinessOnBoardingDTO
202
+ */
203
+ 'timing'?: Array<BusinessTiming>;
204
+ /**
205
+ * Business policies
206
+ * @type {string}
207
+ * @memberof BusinessOnBoardingDTO
208
+ */
209
+ 'policies'?: string;
210
+ /**
211
+ * Business cancellationFree
212
+ * @type {number}
213
+ * @memberof BusinessOnBoardingDTO
214
+ */
215
+ 'cancellationFree'?: number;
216
+ /**
217
+ * Business ID
218
+ * @type {string}
219
+ * @memberof BusinessOnBoardingDTO
220
+ */
221
+ 'businessID'?: string;
222
+ /**
223
+ * Business Country
224
+ * @type {string}
225
+ * @memberof BusinessOnBoardingDTO
226
+ */
227
+ 'businessCountry'?: string;
228
+ /**
229
+ * Business Type
230
+ * @type {string}
231
+ * @memberof BusinessOnBoardingDTO
141
232
  */
142
- 'likes': Array<string>;
233
+ 'businessType'?: string;
143
234
  /**
144
- * List of disliking of assistants
235
+ * Business Category
145
236
  * @type {Array<string>}
146
- * @memberof AttributesDto
237
+ * @memberof BusinessOnBoardingDTO
238
+ */
239
+ 'businessCategory'?: Array<string>;
240
+ /**
241
+ * Business Employee
242
+ * @type {string}
243
+ * @memberof BusinessOnBoardingDTO
244
+ */
245
+ 'numberOfEmployees'?: string;
246
+ /**
247
+ * Assistant ID
248
+ * @type {string}
249
+ * @memberof BusinessOnBoardingDTO
250
+ */
251
+ 'assistant'?: string;
252
+ /**
253
+ * Business Type
254
+ * @type {string}
255
+ * @memberof BusinessOnBoardingDTO
256
+ */
257
+ 'priceRange'?: string;
258
+ /**
259
+ * Business Active
260
+ * @type {boolean}
261
+ * @memberof BusinessOnBoardingDTO
262
+ */
263
+ 'isActive'?: boolean;
264
+ /**
265
+ * Business Account Confirmation
266
+ * @type {boolean}
267
+ * @memberof BusinessOnBoardingDTO
268
+ */
269
+ 'accountConfirmation'?: boolean;
270
+ }
271
+ /**
272
+ *
273
+ * @export
274
+ * @interface BusinessOnBoardingResponseDTO
275
+ */
276
+ export interface BusinessOnBoardingResponseDTO {
277
+ /**
278
+ * statusCode
279
+ * @type {number}
280
+ * @memberof BusinessOnBoardingResponseDTO
281
+ */
282
+ 'statusCode': number;
283
+ /**
284
+ * User
285
+ * @type {BusinessEntity}
286
+ * @memberof BusinessOnBoardingResponseDTO
287
+ */
288
+ 'data': BusinessEntity;
289
+ }
290
+ /**
291
+ *
292
+ * @export
293
+ * @interface BusinessTime
294
+ */
295
+ export interface BusinessTime {
296
+ /**
297
+ * Business open time
298
+ * @type {string}
299
+ * @memberof BusinessTime
300
+ */
301
+ 'openAt': string;
302
+ /**
303
+ * Business close time
304
+ * @type {string}
305
+ * @memberof BusinessTime
306
+ */
307
+ 'closeAt': string;
308
+ }
309
+ /**
310
+ *
311
+ * @export
312
+ * @interface BusinessTiming
313
+ */
314
+ export interface BusinessTiming {
315
+ /**
316
+ *
317
+ * @type {Array<BusinessTime>}
318
+ * @memberof BusinessTiming
319
+ */
320
+ 'time'?: Array<BusinessTime>;
321
+ /**
322
+ * Day name
323
+ * @type {string}
324
+ * @memberof BusinessTiming
325
+ */
326
+ 'day': string;
327
+ /**
328
+ * Business close flag
329
+ * @type {boolean}
330
+ * @memberof BusinessTiming
331
+ */
332
+ 'isClose': boolean;
333
+ }
334
+ /**
335
+ *
336
+ * @export
337
+ * @interface BusinessTypeEntity
338
+ */
339
+ export interface BusinessTypeEntity {
340
+ /**
341
+ * Unique identifier for the business type
342
+ * @type {string}
343
+ * @memberof BusinessTypeEntity
344
+ */
345
+ '_id': string;
346
+ /**
347
+ * name of the business type
348
+ * @type {string}
349
+ * @memberof BusinessTypeEntity
350
+ */
351
+ 'name': string;
352
+ }
353
+ /**
354
+ *
355
+ * @export
356
+ * @interface BusinessTypeListResponse
357
+ */
358
+ export interface BusinessTypeListResponse {
359
+ /**
360
+ * statusCode
361
+ * @type {number}
362
+ * @memberof BusinessTypeListResponse
363
+ */
364
+ 'statusCode': number;
365
+ /**
366
+ * businessTypes
367
+ * @type {Array<BusinessTypeEntity>}
368
+ * @memberof BusinessTypeListResponse
369
+ */
370
+ 'data': Array<BusinessTypeEntity>;
371
+ }
372
+ /**
373
+ *
374
+ * @export
375
+ * @interface CategoryEntity
376
+ */
377
+ export interface CategoryEntity {
378
+ /**
379
+ * Unique identifier for the category
380
+ * @type {string}
381
+ * @memberof CategoryEntity
382
+ */
383
+ '_id': string;
384
+ /**
385
+ * name of the category
386
+ * @type {string}
387
+ * @memberof CategoryEntity
388
+ */
389
+ 'name': string;
390
+ /**
391
+ * Unique identifier or reference of the business Type
392
+ * @type {string}
393
+ * @memberof CategoryEntity
394
+ */
395
+ 'businessTypeId': string;
396
+ }
397
+ /**
398
+ *
399
+ * @export
400
+ * @interface CategoryListResponse
401
+ */
402
+ export interface CategoryListResponse {
403
+ /**
404
+ * statusCode
405
+ * @type {number}
406
+ * @memberof CategoryListResponse
407
+ */
408
+ 'statusCode': number;
409
+ /**
410
+ * Categories
411
+ * @type {Array<CategoryEntity>}
412
+ * @memberof CategoryListResponse
147
413
  */
148
- 'dislikes': Array<string>;
414
+ 'data': Array<CategoryEntity>;
149
415
  }
150
416
  /**
151
417
  *
@@ -206,53 +472,46 @@ export interface DeviceEntity {
206
472
  /**
207
473
  *
208
474
  * @export
209
- * @interface FileNameUploadDTO
475
+ * @interface EmployeesSizeEntity
210
476
  */
211
- export interface FileNameUploadDTO {
477
+ export interface EmployeesSizeEntity {
212
478
  /**
213
- * A message providing additional details about the response
479
+ * Unique identifier for the employee size
214
480
  * @type {string}
215
- * @memberof FileNameUploadDTO
481
+ * @memberof EmployeesSizeEntity
216
482
  */
217
- 'fileName': string;
483
+ 'id': string;
218
484
  /**
219
- * A name of bucket where you have to upload the image
485
+ * Title of the employee size
220
486
  * @type {string}
221
- * @memberof FileNameUploadDTO
487
+ * @memberof EmployeesSizeEntity
222
488
  */
223
- 'bucketName': string;
224
- }
225
- /**
226
- *
227
- * @export
228
- * @interface ForgotPasswordPayloadDTO
229
- */
230
- export interface ForgotPasswordPayloadDTO {
489
+ 'title': string;
231
490
  /**
232
- * User Email
491
+ * Value of the employee size
233
492
  * @type {string}
234
- * @memberof ForgotPasswordPayloadDTO
493
+ * @memberof EmployeesSizeEntity
235
494
  */
236
- 'email': string;
495
+ 'value': string;
237
496
  }
238
497
  /**
239
498
  *
240
499
  * @export
241
- * @interface ForgotPasswordResponseDTO
500
+ * @interface EmployeesSizeListResponse
242
501
  */
243
- export interface ForgotPasswordResponseDTO {
502
+ export interface EmployeesSizeListResponse {
244
503
  /**
245
504
  * statusCode
246
505
  * @type {number}
247
- * @memberof ForgotPasswordResponseDTO
506
+ * @memberof EmployeesSizeListResponse
248
507
  */
249
508
  'statusCode': number;
250
509
  /**
251
- * message
252
- * @type {string}
253
- * @memberof ForgotPasswordResponseDTO
510
+ * Employees Size
511
+ * @type {Array<EmployeesSizeEntity>}
512
+ * @memberof EmployeesSizeListResponse
254
513
  */
255
- 'message': string;
514
+ 'data': Array<EmployeesSizeEntity>;
256
515
  }
257
516
  /**
258
517
  *
@@ -375,44 +634,6 @@ export interface MyAssistantResponse {
375
634
  */
376
635
  'data': AssistantEntity;
377
636
  }
378
- /**
379
- *
380
- * @export
381
- * @interface NewPasswordPayloadDTO
382
- */
383
- export interface NewPasswordPayloadDTO {
384
- /**
385
- * email
386
- * @type {string}
387
- * @memberof NewPasswordPayloadDTO
388
- */
389
- 'email': string;
390
- /**
391
- * New password User
392
- * @type {string}
393
- * @memberof NewPasswordPayloadDTO
394
- */
395
- 'password': string;
396
- }
397
- /**
398
- *
399
- * @export
400
- * @interface NewPasswordResponseDTO
401
- */
402
- export interface NewPasswordResponseDTO {
403
- /**
404
- * statuscCode
405
- * @type {number}
406
- * @memberof NewPasswordResponseDTO
407
- */
408
- 'statusCode': number;
409
- /**
410
- * message
411
- * @type {string}
412
- * @memberof NewPasswordResponseDTO
413
- */
414
- 'message': string;
415
- }
416
637
  /**
417
638
  *
418
639
  * @export
@@ -433,10 +654,10 @@ export interface OnBoardingDTO {
433
654
  'assistant'?: string;
434
655
  /**
435
656
  * Plan
436
- * @type {object}
657
+ * @type {string}
437
658
  * @memberof OnBoardingDTO
438
659
  */
439
- 'plan'?: object;
660
+ 'plan'?: string;
440
661
  /**
441
662
  * Date of Birth
442
663
  * @type {string}
@@ -594,40 +815,46 @@ export type PriceEntityIntervalEnum = typeof PriceEntityIntervalEnum[keyof typeo
594
815
  /**
595
816
  *
596
817
  * @export
597
- * @interface ResetPasswordPayloadDTO
818
+ * @interface PriceRangeEntity
598
819
  */
599
- export interface ResetPasswordPayloadDTO {
820
+ export interface PriceRangeEntity {
821
+ /**
822
+ * Unique identifier for the price range
823
+ * @type {string}
824
+ * @memberof PriceRangeEntity
825
+ */
826
+ 'id': string;
600
827
  /**
601
- * Old password for the user
828
+ * Title of the price range
602
829
  * @type {string}
603
- * @memberof ResetPasswordPayloadDTO
830
+ * @memberof PriceRangeEntity
604
831
  */
605
- 'currentPasword': string;
832
+ 'title': string;
606
833
  /**
607
- * The New password for the user account
834
+ * Value of the price range
608
835
  * @type {string}
609
- * @memberof ResetPasswordPayloadDTO
836
+ * @memberof PriceRangeEntity
610
837
  */
611
- 'newPassword': string;
838
+ 'value': string;
612
839
  }
613
840
  /**
614
841
  *
615
842
  * @export
616
- * @interface ResetPasswordResponseDTO
843
+ * @interface PriceRangeListResponse
617
844
  */
618
- export interface ResetPasswordResponseDTO {
845
+ export interface PriceRangeListResponse {
619
846
  /**
620
- * statuscCode
847
+ * statusCode
621
848
  * @type {number}
622
- * @memberof ResetPasswordResponseDTO
849
+ * @memberof PriceRangeListResponse
623
850
  */
624
851
  'statusCode': number;
625
852
  /**
626
- * message
627
- * @type {string}
628
- * @memberof ResetPasswordResponseDTO
853
+ * Price Range
854
+ * @type {Array<PriceRangeEntity>}
855
+ * @memberof PriceRangeListResponse
629
856
  */
630
- 'message': string;
857
+ 'data': Array<PriceRangeEntity>;
631
858
  }
632
859
  /**
633
860
  *
@@ -636,7 +863,7 @@ export interface ResetPasswordResponseDTO {
636
863
  */
637
864
  export interface SignInDto {
638
865
  /**
639
- * Email
866
+ * Email of user
640
867
  * @type {string}
641
868
  * @memberof SignInDto
642
869
  */
@@ -692,25 +919,6 @@ export interface SignInResponseDto {
692
919
  */
693
920
  'data': SignInResponse;
694
921
  }
695
- /**
696
- *
697
- * @export
698
- * @interface SignedUrlResponseDTO
699
- */
700
- export interface SignedUrlResponseDTO {
701
- /**
702
- * Status code of the response
703
- * @type {number}
704
- * @memberof SignedUrlResponseDTO
705
- */
706
- 'statusCode': number;
707
- /**
708
- * A pre-signed Url from the Google..
709
- * @type {string}
710
- * @memberof SignedUrlResponseDTO
711
- */
712
- 'signedUrl': string;
713
- }
714
922
  /**
715
923
  *
716
924
  * @export
@@ -736,7 +944,7 @@ export interface SignupDto {
736
944
  */
737
945
  'email': string;
738
946
  /**
739
- * User Profile Name
947
+ * The password for the user account
740
948
  * @type {string}
741
949
  * @memberof SignupDto
742
950
  */
@@ -786,25 +994,6 @@ export interface SignupResponseDto {
786
994
  */
787
995
  'data': SignupResponse;
788
996
  }
789
- /**
790
- *
791
- * @export
792
- * @interface SkillDto
793
- */
794
- export interface SkillDto {
795
- /**
796
- * Title of the skill
797
- * @type {string}
798
- * @memberof SkillDto
799
- */
800
- 'title': string;
801
- /**
802
- * Value or rating of the skill out of 1
803
- * @type {number}
804
- * @memberof SkillDto
805
- */
806
- 'weightage': number;
807
- }
808
997
  /**
809
998
  *
810
999
  * @export
@@ -864,7 +1053,7 @@ export interface UserEntity {
864
1053
  * @type {string}
865
1054
  * @memberof UserEntity
866
1055
  */
867
- 'role': string;
1056
+ 'role': UserEntityRoleEnum;
868
1057
  /**
869
1058
  * Goals why user is using the product
870
1059
  * @type {Array<string>}
@@ -873,17 +1062,25 @@ export interface UserEntity {
873
1062
  'goals': Array<string>;
874
1063
  /**
875
1064
  * Plan subscribed by the user
876
- * @type {object}
1065
+ * @type {string}
877
1066
  * @memberof UserEntity
878
1067
  */
879
- 'plan': object;
1068
+ 'plan': string;
880
1069
  /**
881
1070
  * Action user has to perform
882
1071
  * @type {Array<string>}
883
1072
  * @memberof UserEntity
884
1073
  */
885
- 'pendingAction': Array<string>;
1074
+ 'pendingAction'?: Array<string>;
886
1075
  }
1076
+
1077
+ export const UserEntityRoleEnum = {
1078
+ BusinessOwner: 'business_owner',
1079
+ User: 'user'
1080
+ } as const;
1081
+
1082
+ export type UserEntityRoleEnum = typeof UserEntityRoleEnum[keyof typeof UserEntityRoleEnum];
1083
+
887
1084
  /**
888
1085
  *
889
1086
  * @export
@@ -903,47 +1100,9 @@ export interface UserMeDTO {
903
1100
  */
904
1101
  'data': UserEntity;
905
1102
  }
1103
+
906
1104
  /**
907
- *
908
- * @export
909
- * @interface VerifyOTPPayloadDTO
910
- */
911
- export interface VerifyOTPPayloadDTO {
912
- /**
913
- * 6 digit otp from mail
914
- * @type {string}
915
- * @memberof VerifyOTPPayloadDTO
916
- */
917
- 'otp': string;
918
- /**
919
- * Email of user
920
- * @type {string}
921
- * @memberof VerifyOTPPayloadDTO
922
- */
923
- 'email': string;
924
- }
925
- /**
926
- *
927
- * @export
928
- * @interface VerifyOTPResponseDTO
929
- */
930
- export interface VerifyOTPResponseDTO {
931
- /**
932
- * The HTTP status code
933
- * @type {number}
934
- * @memberof VerifyOTPResponseDTO
935
- */
936
- 'statusCode': number;
937
- /**
938
- * The
939
- * @type {string}
940
- * @memberof VerifyOTPResponseDTO
941
- */
942
- 'message': string;
943
- }
944
-
945
- /**
946
- * AIApi - axios parameter creator
1105
+ * AIApi - axios parameter creator
947
1106
  * @export
948
1107
  */
949
1108
  export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
@@ -1109,14 +1268,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1109
1268
  return {
1110
1269
  /**
1111
1270
  *
1112
- * @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
1271
+ * @param {SignupDto} signupDto
1113
1272
  * @param {*} [options] Override http request option.
1114
1273
  * @throws {RequiredError}
1115
1274
  */
1116
- authControllerCreateNewPassword: async (newPasswordPayloadDTO: NewPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1117
- // verify required parameter 'newPasswordPayloadDTO' is not null or undefined
1118
- assertParamExists('authControllerCreateNewPassword', 'newPasswordPayloadDTO', newPasswordPayloadDTO)
1119
- const localVarPath = `/v1/auth/new-password`;
1275
+ authControllerBusinessRegister: async (signupDto: SignupDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1276
+ // verify required parameter 'signupDto' is not null or undefined
1277
+ assertParamExists('authControllerBusinessRegister', 'signupDto', signupDto)
1278
+ const localVarPath = `/v1/auth/business-register`;
1120
1279
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1121
1280
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1122
1281
  let baseOptions;
@@ -1135,7 +1294,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1135
1294
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1136
1295
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1137
1296
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1138
- localVarRequestOptions.data = serializeDataIfNeeded(newPasswordPayloadDTO, localVarRequestOptions, configuration)
1297
+ localVarRequestOptions.data = serializeDataIfNeeded(signupDto, localVarRequestOptions, configuration)
1139
1298
 
1140
1299
  return {
1141
1300
  url: toPathString(localVarUrlObj),
@@ -1144,14 +1303,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1144
1303
  },
1145
1304
  /**
1146
1305
  *
1147
- * @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
1306
+ * @param {SignInDto} signInDto
1148
1307
  * @param {*} [options] Override http request option.
1149
1308
  * @throws {RequiredError}
1150
1309
  */
1151
- authControllerForgotPassword: async (forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1152
- // verify required parameter 'forgotPasswordPayloadDTO' is not null or undefined
1153
- assertParamExists('authControllerForgotPassword', 'forgotPasswordPayloadDTO', forgotPasswordPayloadDTO)
1154
- const localVarPath = `/v1/auth/forgot-password`;
1310
+ authControllerSignIn: async (signInDto: SignInDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1311
+ // verify required parameter 'signInDto' is not null or undefined
1312
+ assertParamExists('authControllerSignIn', 'signInDto', signInDto)
1313
+ const localVarPath = `/v1/auth/user-login`;
1155
1314
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1156
1315
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1157
1316
  let baseOptions;
@@ -1170,7 +1329,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1170
1329
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1171
1330
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1172
1331
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1173
- localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordPayloadDTO, localVarRequestOptions, configuration)
1332
+ localVarRequestOptions.data = serializeDataIfNeeded(signInDto, localVarRequestOptions, configuration)
1174
1333
 
1175
1334
  return {
1176
1335
  url: toPathString(localVarUrlObj),
@@ -1179,14 +1338,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1179
1338
  },
1180
1339
  /**
1181
1340
  *
1182
- * @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
1341
+ * @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
1183
1342
  * @param {*} [options] Override http request option.
1184
1343
  * @throws {RequiredError}
1185
1344
  */
1186
- authControllerResentOTP: async (forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1187
- // verify required parameter 'forgotPasswordPayloadDTO' is not null or undefined
1188
- assertParamExists('authControllerResentOTP', 'forgotPasswordPayloadDTO', forgotPasswordPayloadDTO)
1189
- const localVarPath = `/v1/auth/resend-otp`;
1345
+ authControllerSignOut: async (loggedOutPayloadDTO: LoggedOutPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1346
+ // verify required parameter 'loggedOutPayloadDTO' is not null or undefined
1347
+ assertParamExists('authControllerSignOut', 'loggedOutPayloadDTO', loggedOutPayloadDTO)
1348
+ const localVarPath = `/v1/auth/user-logout`;
1190
1349
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1191
1350
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1192
1351
  let baseOptions;
@@ -1198,6 +1357,10 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1198
1357
  const localVarHeaderParameter = {} as any;
1199
1358
  const localVarQueryParameter = {} as any;
1200
1359
 
1360
+ // authentication bearer required
1361
+ // http bearer authentication required
1362
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1363
+
1201
1364
 
1202
1365
 
1203
1366
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -1205,7 +1368,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1205
1368
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1206
1369
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1207
1370
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1208
- localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordPayloadDTO, localVarRequestOptions, configuration)
1371
+ localVarRequestOptions.data = serializeDataIfNeeded(loggedOutPayloadDTO, localVarRequestOptions, configuration)
1209
1372
 
1210
1373
  return {
1211
1374
  url: toPathString(localVarUrlObj),
@@ -1214,14 +1377,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1214
1377
  },
1215
1378
  /**
1216
1379
  *
1217
- * @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
1380
+ * @param {SignupDto} signupDto
1218
1381
  * @param {*} [options] Override http request option.
1219
1382
  * @throws {RequiredError}
1220
1383
  */
1221
- authControllerResetPassword: async (resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1222
- // verify required parameter 'resetPasswordPayloadDTO' is not null or undefined
1223
- assertParamExists('authControllerResetPassword', 'resetPasswordPayloadDTO', resetPasswordPayloadDTO)
1224
- const localVarPath = `/v1/auth/reset-password`;
1384
+ authControllerSignUp: async (signupDto: SignupDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1385
+ // verify required parameter 'signupDto' is not null or undefined
1386
+ assertParamExists('authControllerSignUp', 'signupDto', signupDto)
1387
+ const localVarPath = `/v1/auth/user-register`;
1225
1388
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1226
1389
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1227
1390
  let baseOptions;
@@ -1233,10 +1396,6 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1233
1396
  const localVarHeaderParameter = {} as any;
1234
1397
  const localVarQueryParameter = {} as any;
1235
1398
 
1236
- // authentication bearer required
1237
- // http bearer authentication required
1238
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
1239
-
1240
1399
 
1241
1400
 
1242
1401
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -1244,23 +1403,187 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1244
1403
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1245
1404
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1246
1405
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1247
- localVarRequestOptions.data = serializeDataIfNeeded(resetPasswordPayloadDTO, localVarRequestOptions, configuration)
1406
+ localVarRequestOptions.data = serializeDataIfNeeded(signupDto, localVarRequestOptions, configuration)
1248
1407
 
1249
1408
  return {
1250
1409
  url: toPathString(localVarUrlObj),
1251
1410
  options: localVarRequestOptions,
1252
1411
  };
1253
1412
  },
1413
+ }
1414
+ };
1415
+
1416
+ /**
1417
+ * AuthApi - functional programming interface
1418
+ * @export
1419
+ */
1420
+ export const AuthApiFp = function(configuration?: Configuration) {
1421
+ const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
1422
+ return {
1423
+ /**
1424
+ *
1425
+ * @param {SignupDto} signupDto
1426
+ * @param {*} [options] Override http request option.
1427
+ * @throws {RequiredError}
1428
+ */
1429
+ async authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignupResponseDto>> {
1430
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerBusinessRegister(signupDto, options);
1431
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1432
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerBusinessRegister']?.[localVarOperationServerIndex]?.url;
1433
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1434
+ },
1254
1435
  /**
1255
1436
  *
1256
1437
  * @param {SignInDto} signInDto
1257
1438
  * @param {*} [options] Override http request option.
1258
1439
  * @throws {RequiredError}
1259
1440
  */
1260
- authControllerSignIn: async (signInDto: SignInDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1261
- // verify required parameter 'signInDto' is not null or undefined
1262
- assertParamExists('authControllerSignIn', 'signInDto', signInDto)
1263
- const localVarPath = `/v1/auth/user-login`;
1441
+ async authControllerSignIn(signInDto: SignInDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignInResponseDto>> {
1442
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerSignIn(signInDto, options);
1443
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1444
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignIn']?.[localVarOperationServerIndex]?.url;
1445
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1446
+ },
1447
+ /**
1448
+ *
1449
+ * @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
1450
+ * @param {*} [options] Override http request option.
1451
+ * @throws {RequiredError}
1452
+ */
1453
+ async authControllerSignOut(loggedOutPayloadDTO: LoggedOutPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoggedOutResponse>> {
1454
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerSignOut(loggedOutPayloadDTO, options);
1455
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1456
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignOut']?.[localVarOperationServerIndex]?.url;
1457
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1458
+ },
1459
+ /**
1460
+ *
1461
+ * @param {SignupDto} signupDto
1462
+ * @param {*} [options] Override http request option.
1463
+ * @throws {RequiredError}
1464
+ */
1465
+ async authControllerSignUp(signupDto: SignupDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignupResponseDto>> {
1466
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerSignUp(signupDto, options);
1467
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1468
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignUp']?.[localVarOperationServerIndex]?.url;
1469
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1470
+ },
1471
+ }
1472
+ };
1473
+
1474
+ /**
1475
+ * AuthApi - factory interface
1476
+ * @export
1477
+ */
1478
+ export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1479
+ const localVarFp = AuthApiFp(configuration)
1480
+ return {
1481
+ /**
1482
+ *
1483
+ * @param {SignupDto} signupDto
1484
+ * @param {*} [options] Override http request option.
1485
+ * @throws {RequiredError}
1486
+ */
1487
+ authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig): AxiosPromise<SignupResponseDto> {
1488
+ return localVarFp.authControllerBusinessRegister(signupDto, options).then((request) => request(axios, basePath));
1489
+ },
1490
+ /**
1491
+ *
1492
+ * @param {SignInDto} signInDto
1493
+ * @param {*} [options] Override http request option.
1494
+ * @throws {RequiredError}
1495
+ */
1496
+ authControllerSignIn(signInDto: SignInDto, options?: RawAxiosRequestConfig): AxiosPromise<SignInResponseDto> {
1497
+ return localVarFp.authControllerSignIn(signInDto, options).then((request) => request(axios, basePath));
1498
+ },
1499
+ /**
1500
+ *
1501
+ * @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
1502
+ * @param {*} [options] Override http request option.
1503
+ * @throws {RequiredError}
1504
+ */
1505
+ authControllerSignOut(loggedOutPayloadDTO: LoggedOutPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<LoggedOutResponse> {
1506
+ return localVarFp.authControllerSignOut(loggedOutPayloadDTO, options).then((request) => request(axios, basePath));
1507
+ },
1508
+ /**
1509
+ *
1510
+ * @param {SignupDto} signupDto
1511
+ * @param {*} [options] Override http request option.
1512
+ * @throws {RequiredError}
1513
+ */
1514
+ authControllerSignUp(signupDto: SignupDto, options?: RawAxiosRequestConfig): AxiosPromise<SignupResponseDto> {
1515
+ return localVarFp.authControllerSignUp(signupDto, options).then((request) => request(axios, basePath));
1516
+ },
1517
+ };
1518
+ };
1519
+
1520
+ /**
1521
+ * AuthApi - object-oriented interface
1522
+ * @export
1523
+ * @class AuthApi
1524
+ * @extends {BaseAPI}
1525
+ */
1526
+ export class AuthApi extends BaseAPI {
1527
+ /**
1528
+ *
1529
+ * @param {SignupDto} signupDto
1530
+ * @param {*} [options] Override http request option.
1531
+ * @throws {RequiredError}
1532
+ * @memberof AuthApi
1533
+ */
1534
+ public authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig) {
1535
+ return AuthApiFp(this.configuration).authControllerBusinessRegister(signupDto, options).then((request) => request(this.axios, this.basePath));
1536
+ }
1537
+
1538
+ /**
1539
+ *
1540
+ * @param {SignInDto} signInDto
1541
+ * @param {*} [options] Override http request option.
1542
+ * @throws {RequiredError}
1543
+ * @memberof AuthApi
1544
+ */
1545
+ public authControllerSignIn(signInDto: SignInDto, options?: RawAxiosRequestConfig) {
1546
+ return AuthApiFp(this.configuration).authControllerSignIn(signInDto, options).then((request) => request(this.axios, this.basePath));
1547
+ }
1548
+
1549
+ /**
1550
+ *
1551
+ * @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
1552
+ * @param {*} [options] Override http request option.
1553
+ * @throws {RequiredError}
1554
+ * @memberof AuthApi
1555
+ */
1556
+ public authControllerSignOut(loggedOutPayloadDTO: LoggedOutPayloadDTO, options?: RawAxiosRequestConfig) {
1557
+ return AuthApiFp(this.configuration).authControllerSignOut(loggedOutPayloadDTO, options).then((request) => request(this.axios, this.basePath));
1558
+ }
1559
+
1560
+ /**
1561
+ *
1562
+ * @param {SignupDto} signupDto
1563
+ * @param {*} [options] Override http request option.
1564
+ * @throws {RequiredError}
1565
+ * @memberof AuthApi
1566
+ */
1567
+ public authControllerSignUp(signupDto: SignupDto, options?: RawAxiosRequestConfig) {
1568
+ return AuthApiFp(this.configuration).authControllerSignUp(signupDto, options).then((request) => request(this.axios, this.basePath));
1569
+ }
1570
+ }
1571
+
1572
+
1573
+
1574
+ /**
1575
+ * BusinessApi - axios parameter creator
1576
+ * @export
1577
+ */
1578
+ export const BusinessApiAxiosParamCreator = function (configuration?: Configuration) {
1579
+ return {
1580
+ /**
1581
+ *
1582
+ * @param {*} [options] Override http request option.
1583
+ * @throws {RequiredError}
1584
+ */
1585
+ businessControllerBusinessMe: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1586
+ const localVarPath = `/v1/business/me`;
1264
1587
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1265
1588
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1266
1589
  let baseOptions;
@@ -1268,18 +1591,19 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1268
1591
  baseOptions = configuration.baseOptions;
1269
1592
  }
1270
1593
 
1271
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1594
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1272
1595
  const localVarHeaderParameter = {} as any;
1273
1596
  const localVarQueryParameter = {} as any;
1274
1597
 
1598
+ // authentication bearer required
1599
+ // http bearer authentication required
1600
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1275
1601
 
1276
-
1277
- localVarHeaderParameter['Content-Type'] = 'application/json';
1278
1602
 
1603
+
1279
1604
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1280
1605
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1281
1606
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1282
- localVarRequestOptions.data = serializeDataIfNeeded(signInDto, localVarRequestOptions, configuration)
1283
1607
 
1284
1608
  return {
1285
1609
  url: toPathString(localVarUrlObj),
@@ -1288,14 +1612,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1288
1612
  },
1289
1613
  /**
1290
1614
  *
1291
- * @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
1615
+ * @param {BusinessOnBoardingDTO} businessOnBoardingDTO
1292
1616
  * @param {*} [options] Override http request option.
1293
1617
  * @throws {RequiredError}
1294
1618
  */
1295
- authControllerSignOut: async (loggedOutPayloadDTO: LoggedOutPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1296
- // verify required parameter 'loggedOutPayloadDTO' is not null or undefined
1297
- assertParamExists('authControllerSignOut', 'loggedOutPayloadDTO', loggedOutPayloadDTO)
1298
- const localVarPath = `/v1/auth/user-logout`;
1619
+ businessControllerBusinessOnboarding: async (businessOnBoardingDTO: BusinessOnBoardingDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1620
+ // verify required parameter 'businessOnBoardingDTO' is not null or undefined
1621
+ assertParamExists('businessControllerBusinessOnboarding', 'businessOnBoardingDTO', businessOnBoardingDTO)
1622
+ const localVarPath = `/v1/business/onboarding`;
1299
1623
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1300
1624
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1301
1625
  let baseOptions;
@@ -1318,7 +1642,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1318
1642
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1319
1643
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1320
1644
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1321
- localVarRequestOptions.data = serializeDataIfNeeded(loggedOutPayloadDTO, localVarRequestOptions, configuration)
1645
+ localVarRequestOptions.data = serializeDataIfNeeded(businessOnBoardingDTO, localVarRequestOptions, configuration)
1322
1646
 
1323
1647
  return {
1324
1648
  url: toPathString(localVarUrlObj),
@@ -1327,14 +1651,11 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1327
1651
  },
1328
1652
  /**
1329
1653
  *
1330
- * @param {SignupDto} signupDto
1331
1654
  * @param {*} [options] Override http request option.
1332
1655
  * @throws {RequiredError}
1333
1656
  */
1334
- authControllerSignUp: async (signupDto: SignupDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1335
- // verify required parameter 'signupDto' is not null or undefined
1336
- assertParamExists('authControllerSignUp', 'signupDto', signupDto)
1337
- const localVarPath = `/v1/auth/user-register`;
1657
+ businessTypeControllerListBusinessType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1658
+ const localVarPath = `/v1/business/list`;
1338
1659
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1339
1660
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1340
1661
  let baseOptions;
@@ -1342,18 +1663,19 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1342
1663
  baseOptions = configuration.baseOptions;
1343
1664
  }
1344
1665
 
1345
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1666
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1346
1667
  const localVarHeaderParameter = {} as any;
1347
1668
  const localVarQueryParameter = {} as any;
1348
1669
 
1670
+ // authentication bearer required
1671
+ // http bearer authentication required
1672
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1673
+
1349
1674
 
1350
1675
 
1351
- localVarHeaderParameter['Content-Type'] = 'application/json';
1352
-
1353
1676
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1354
1677
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1355
1678
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1356
- localVarRequestOptions.data = serializeDataIfNeeded(signupDto, localVarRequestOptions, configuration)
1357
1679
 
1358
1680
  return {
1359
1681
  url: toPathString(localVarUrlObj),
@@ -1362,14 +1684,15 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1362
1684
  },
1363
1685
  /**
1364
1686
  *
1365
- * @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
1687
+ * @param {string} businessType
1366
1688
  * @param {*} [options] Override http request option.
1367
1689
  * @throws {RequiredError}
1368
1690
  */
1369
- authControllerVerifyOTP: async (verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1370
- // verify required parameter 'verifyOTPPayloadDTO' is not null or undefined
1371
- assertParamExists('authControllerVerifyOTP', 'verifyOTPPayloadDTO', verifyOTPPayloadDTO)
1372
- const localVarPath = `/v1/auth/verify-otp`;
1691
+ businessTypeControllerListCategories: async (businessType: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1692
+ // verify required parameter 'businessType' is not null or undefined
1693
+ assertParamExists('businessTypeControllerListCategories', 'businessType', businessType)
1694
+ const localVarPath = `/v1/business/{businessType}/categories`
1695
+ .replace(`{${"businessType"}}`, encodeURIComponent(String(businessType)));
1373
1696
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1374
1697
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1375
1698
  let baseOptions;
@@ -1377,308 +1700,299 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1377
1700
  baseOptions = configuration.baseOptions;
1378
1701
  }
1379
1702
 
1380
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1703
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1381
1704
  const localVarHeaderParameter = {} as any;
1382
1705
  const localVarQueryParameter = {} as any;
1383
1706
 
1707
+ // authentication bearer required
1708
+ // http bearer authentication required
1709
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1384
1710
 
1385
-
1386
- localVarHeaderParameter['Content-Type'] = 'application/json';
1387
1711
 
1712
+
1388
1713
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1389
1714
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1390
1715
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1391
- localVarRequestOptions.data = serializeDataIfNeeded(verifyOTPPayloadDTO, localVarRequestOptions, configuration)
1392
1716
 
1393
1717
  return {
1394
1718
  url: toPathString(localVarUrlObj),
1395
1719
  options: localVarRequestOptions,
1396
1720
  };
1397
1721
  },
1398
- }
1399
- };
1400
-
1401
- /**
1402
- * AuthApi - functional programming interface
1403
- * @export
1404
- */
1405
- export const AuthApiFp = function(configuration?: Configuration) {
1406
- const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
1407
- return {
1408
1722
  /**
1409
1723
  *
1410
- * @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
1411
1724
  * @param {*} [options] Override http request option.
1412
1725
  * @throws {RequiredError}
1413
1726
  */
1414
- async authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NewPasswordResponseDTO>> {
1415
- const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCreateNewPassword(newPasswordPayloadDTO, options);
1416
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1417
- const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerCreateNewPassword']?.[localVarOperationServerIndex]?.url;
1418
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1727
+ businessTypeControllerListEmployeesSize: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1728
+ const localVarPath = `/v1/business/employee-size`;
1729
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1730
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1731
+ let baseOptions;
1732
+ if (configuration) {
1733
+ baseOptions = configuration.baseOptions;
1734
+ }
1735
+
1736
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1737
+ const localVarHeaderParameter = {} as any;
1738
+ const localVarQueryParameter = {} as any;
1739
+
1740
+ // authentication bearer required
1741
+ // http bearer authentication required
1742
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1743
+
1744
+
1745
+
1746
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1747
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1748
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1749
+
1750
+ return {
1751
+ url: toPathString(localVarUrlObj),
1752
+ options: localVarRequestOptions,
1753
+ };
1419
1754
  },
1420
1755
  /**
1421
1756
  *
1422
- * @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
1423
1757
  * @param {*} [options] Override http request option.
1424
1758
  * @throws {RequiredError}
1425
1759
  */
1426
- async authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResponseDTO>> {
1427
- const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerForgotPassword(forgotPasswordPayloadDTO, options);
1428
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1429
- const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerForgotPassword']?.[localVarOperationServerIndex]?.url;
1430
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1760
+ businessTypeControllerListPriceRange: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1761
+ const localVarPath = `/v1/business/price-range`;
1762
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1763
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1764
+ let baseOptions;
1765
+ if (configuration) {
1766
+ baseOptions = configuration.baseOptions;
1767
+ }
1768
+
1769
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1770
+ const localVarHeaderParameter = {} as any;
1771
+ const localVarQueryParameter = {} as any;
1772
+
1773
+ // authentication bearer required
1774
+ // http bearer authentication required
1775
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1776
+
1777
+
1778
+
1779
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1780
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1781
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1782
+
1783
+ return {
1784
+ url: toPathString(localVarUrlObj),
1785
+ options: localVarRequestOptions,
1786
+ };
1431
1787
  },
1788
+ }
1789
+ };
1790
+
1791
+ /**
1792
+ * BusinessApi - functional programming interface
1793
+ * @export
1794
+ */
1795
+ export const BusinessApiFp = function(configuration?: Configuration) {
1796
+ const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
1797
+ return {
1432
1798
  /**
1433
1799
  *
1434
- * @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
1435
1800
  * @param {*} [options] Override http request option.
1436
1801
  * @throws {RequiredError}
1437
1802
  */
1438
- async authControllerResentOTP(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResponseDTO>> {
1439
- const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerResentOTP(forgotPasswordPayloadDTO, options);
1803
+ async businessControllerBusinessMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
1804
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessMe(options);
1440
1805
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1441
- const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerResentOTP']?.[localVarOperationServerIndex]?.url;
1806
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessMe']?.[localVarOperationServerIndex]?.url;
1442
1807
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1443
1808
  },
1444
1809
  /**
1445
1810
  *
1446
- * @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
1811
+ * @param {BusinessOnBoardingDTO} businessOnBoardingDTO
1447
1812
  * @param {*} [options] Override http request option.
1448
1813
  * @throws {RequiredError}
1449
1814
  */
1450
- async authControllerResetPassword(resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResetPasswordResponseDTO>> {
1451
- const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerResetPassword(resetPasswordPayloadDTO, options);
1815
+ async businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
1816
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessOnboarding(businessOnBoardingDTO, options);
1452
1817
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1453
- const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerResetPassword']?.[localVarOperationServerIndex]?.url;
1818
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
1454
1819
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1455
1820
  },
1456
1821
  /**
1457
1822
  *
1458
- * @param {SignInDto} signInDto
1459
1823
  * @param {*} [options] Override http request option.
1460
1824
  * @throws {RequiredError}
1461
1825
  */
1462
- async authControllerSignIn(signInDto: SignInDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignInResponseDto>> {
1463
- const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerSignIn(signInDto, options);
1826
+ async businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessTypeListResponse>> {
1827
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListBusinessType(options);
1464
1828
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1465
- const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignIn']?.[localVarOperationServerIndex]?.url;
1829
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListBusinessType']?.[localVarOperationServerIndex]?.url;
1466
1830
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1467
1831
  },
1468
1832
  /**
1469
1833
  *
1470
- * @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
1834
+ * @param {string} businessType
1471
1835
  * @param {*} [options] Override http request option.
1472
1836
  * @throws {RequiredError}
1473
1837
  */
1474
- async authControllerSignOut(loggedOutPayloadDTO: LoggedOutPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoggedOutResponse>> {
1475
- const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerSignOut(loggedOutPayloadDTO, options);
1838
+ async businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
1839
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(businessType, options);
1476
1840
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1477
- const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignOut']?.[localVarOperationServerIndex]?.url;
1841
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListCategories']?.[localVarOperationServerIndex]?.url;
1478
1842
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1479
1843
  },
1480
1844
  /**
1481
1845
  *
1482
- * @param {SignupDto} signupDto
1483
1846
  * @param {*} [options] Override http request option.
1484
1847
  * @throws {RequiredError}
1485
1848
  */
1486
- async authControllerSignUp(signupDto: SignupDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignupResponseDto>> {
1487
- const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerSignUp(signupDto, options);
1849
+ async businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmployeesSizeListResponse>> {
1850
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListEmployeesSize(options);
1488
1851
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1489
- const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignUp']?.[localVarOperationServerIndex]?.url;
1852
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListEmployeesSize']?.[localVarOperationServerIndex]?.url;
1490
1853
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1491
1854
  },
1492
1855
  /**
1493
1856
  *
1494
- * @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
1495
1857
  * @param {*} [options] Override http request option.
1496
1858
  * @throws {RequiredError}
1497
1859
  */
1498
- async authControllerVerifyOTP(verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyOTPResponseDTO>> {
1499
- const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerVerifyOTP(verifyOTPPayloadDTO, options);
1860
+ async businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PriceRangeListResponse>> {
1861
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListPriceRange(options);
1500
1862
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1501
- const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerVerifyOTP']?.[localVarOperationServerIndex]?.url;
1863
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListPriceRange']?.[localVarOperationServerIndex]?.url;
1502
1864
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1503
1865
  },
1504
1866
  }
1505
1867
  };
1506
1868
 
1507
1869
  /**
1508
- * AuthApi - factory interface
1870
+ * BusinessApi - factory interface
1509
1871
  * @export
1510
1872
  */
1511
- export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1512
- const localVarFp = AuthApiFp(configuration)
1873
+ export const BusinessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1874
+ const localVarFp = BusinessApiFp(configuration)
1513
1875
  return {
1514
1876
  /**
1515
1877
  *
1516
- * @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
1517
1878
  * @param {*} [options] Override http request option.
1518
1879
  * @throws {RequiredError}
1519
1880
  */
1520
- authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<NewPasswordResponseDTO> {
1521
- return localVarFp.authControllerCreateNewPassword(newPasswordPayloadDTO, options).then((request) => request(axios, basePath));
1881
+ businessControllerBusinessMe(options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
1882
+ return localVarFp.businessControllerBusinessMe(options).then((request) => request(axios, basePath));
1522
1883
  },
1523
1884
  /**
1524
1885
  *
1525
- * @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
1886
+ * @param {BusinessOnBoardingDTO} businessOnBoardingDTO
1526
1887
  * @param {*} [options] Override http request option.
1527
1888
  * @throws {RequiredError}
1528
1889
  */
1529
- authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ForgotPasswordResponseDTO> {
1530
- return localVarFp.authControllerForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(axios, basePath));
1890
+ businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
1891
+ return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
1531
1892
  },
1532
1893
  /**
1533
1894
  *
1534
- * @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
1535
1895
  * @param {*} [options] Override http request option.
1536
1896
  * @throws {RequiredError}
1537
1897
  */
1538
- authControllerResentOTP(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ForgotPasswordResponseDTO> {
1539
- return localVarFp.authControllerResentOTP(forgotPasswordPayloadDTO, options).then((request) => request(axios, basePath));
1898
+ businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): AxiosPromise<BusinessTypeListResponse> {
1899
+ return localVarFp.businessTypeControllerListBusinessType(options).then((request) => request(axios, basePath));
1540
1900
  },
1541
1901
  /**
1542
1902
  *
1543
- * @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
1903
+ * @param {string} businessType
1544
1904
  * @param {*} [options] Override http request option.
1545
1905
  * @throws {RequiredError}
1546
1906
  */
1547
- authControllerResetPassword(resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ResetPasswordResponseDTO> {
1548
- return localVarFp.authControllerResetPassword(resetPasswordPayloadDTO, options).then((request) => request(axios, basePath));
1549
- },
1550
- /**
1551
- *
1552
- * @param {SignInDto} signInDto
1553
- * @param {*} [options] Override http request option.
1554
- * @throws {RequiredError}
1555
- */
1556
- authControllerSignIn(signInDto: SignInDto, options?: RawAxiosRequestConfig): AxiosPromise<SignInResponseDto> {
1557
- return localVarFp.authControllerSignIn(signInDto, options).then((request) => request(axios, basePath));
1558
- },
1559
- /**
1560
- *
1561
- * @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
1562
- * @param {*} [options] Override http request option.
1563
- * @throws {RequiredError}
1564
- */
1565
- authControllerSignOut(loggedOutPayloadDTO: LoggedOutPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<LoggedOutResponse> {
1566
- return localVarFp.authControllerSignOut(loggedOutPayloadDTO, options).then((request) => request(axios, basePath));
1907
+ businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
1908
+ return localVarFp.businessTypeControllerListCategories(businessType, options).then((request) => request(axios, basePath));
1567
1909
  },
1568
1910
  /**
1569
1911
  *
1570
- * @param {SignupDto} signupDto
1571
1912
  * @param {*} [options] Override http request option.
1572
1913
  * @throws {RequiredError}
1573
1914
  */
1574
- authControllerSignUp(signupDto: SignupDto, options?: RawAxiosRequestConfig): AxiosPromise<SignupResponseDto> {
1575
- return localVarFp.authControllerSignUp(signupDto, options).then((request) => request(axios, basePath));
1915
+ businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig): AxiosPromise<EmployeesSizeListResponse> {
1916
+ return localVarFp.businessTypeControllerListEmployeesSize(options).then((request) => request(axios, basePath));
1576
1917
  },
1577
1918
  /**
1578
1919
  *
1579
- * @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
1580
1920
  * @param {*} [options] Override http request option.
1581
1921
  * @throws {RequiredError}
1582
1922
  */
1583
- authControllerVerifyOTP(verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<VerifyOTPResponseDTO> {
1584
- return localVarFp.authControllerVerifyOTP(verifyOTPPayloadDTO, options).then((request) => request(axios, basePath));
1923
+ businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): AxiosPromise<PriceRangeListResponse> {
1924
+ return localVarFp.businessTypeControllerListPriceRange(options).then((request) => request(axios, basePath));
1585
1925
  },
1586
1926
  };
1587
1927
  };
1588
1928
 
1589
1929
  /**
1590
- * AuthApi - object-oriented interface
1930
+ * BusinessApi - object-oriented interface
1591
1931
  * @export
1592
- * @class AuthApi
1932
+ * @class BusinessApi
1593
1933
  * @extends {BaseAPI}
1594
1934
  */
1595
- export class AuthApi extends BaseAPI {
1935
+ export class BusinessApi extends BaseAPI {
1596
1936
  /**
1597
1937
  *
1598
- * @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
1599
1938
  * @param {*} [options] Override http request option.
1600
1939
  * @throws {RequiredError}
1601
- * @memberof AuthApi
1940
+ * @memberof BusinessApi
1602
1941
  */
1603
- public authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
1604
- return AuthApiFp(this.configuration).authControllerCreateNewPassword(newPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
1942
+ public businessControllerBusinessMe(options?: RawAxiosRequestConfig) {
1943
+ return BusinessApiFp(this.configuration).businessControllerBusinessMe(options).then((request) => request(this.axios, this.basePath));
1605
1944
  }
1606
1945
 
1607
1946
  /**
1608
1947
  *
1609
- * @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
1948
+ * @param {BusinessOnBoardingDTO} businessOnBoardingDTO
1610
1949
  * @param {*} [options] Override http request option.
1611
1950
  * @throws {RequiredError}
1612
- * @memberof AuthApi
1951
+ * @memberof BusinessApi
1613
1952
  */
1614
- public authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
1615
- return AuthApiFp(this.configuration).authControllerForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
1953
+ public businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig) {
1954
+ return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
1616
1955
  }
1617
1956
 
1618
1957
  /**
1619
1958
  *
1620
- * @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
1621
1959
  * @param {*} [options] Override http request option.
1622
1960
  * @throws {RequiredError}
1623
- * @memberof AuthApi
1961
+ * @memberof BusinessApi
1624
1962
  */
1625
- public authControllerResentOTP(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
1626
- return AuthApiFp(this.configuration).authControllerResentOTP(forgotPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
1627
- }
1628
-
1629
- /**
1630
- *
1631
- * @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
1632
- * @param {*} [options] Override http request option.
1633
- * @throws {RequiredError}
1634
- * @memberof AuthApi
1635
- */
1636
- public authControllerResetPassword(resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
1637
- return AuthApiFp(this.configuration).authControllerResetPassword(resetPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
1638
- }
1639
-
1640
- /**
1641
- *
1642
- * @param {SignInDto} signInDto
1643
- * @param {*} [options] Override http request option.
1644
- * @throws {RequiredError}
1645
- * @memberof AuthApi
1646
- */
1647
- public authControllerSignIn(signInDto: SignInDto, options?: RawAxiosRequestConfig) {
1648
- return AuthApiFp(this.configuration).authControllerSignIn(signInDto, options).then((request) => request(this.axios, this.basePath));
1963
+ public businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig) {
1964
+ return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(options).then((request) => request(this.axios, this.basePath));
1649
1965
  }
1650
1966
 
1651
1967
  /**
1652
1968
  *
1653
- * @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
1969
+ * @param {string} businessType
1654
1970
  * @param {*} [options] Override http request option.
1655
1971
  * @throws {RequiredError}
1656
- * @memberof AuthApi
1972
+ * @memberof BusinessApi
1657
1973
  */
1658
- public authControllerSignOut(loggedOutPayloadDTO: LoggedOutPayloadDTO, options?: RawAxiosRequestConfig) {
1659
- return AuthApiFp(this.configuration).authControllerSignOut(loggedOutPayloadDTO, options).then((request) => request(this.axios, this.basePath));
1974
+ public businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig) {
1975
+ return BusinessApiFp(this.configuration).businessTypeControllerListCategories(businessType, options).then((request) => request(this.axios, this.basePath));
1660
1976
  }
1661
1977
 
1662
1978
  /**
1663
1979
  *
1664
- * @param {SignupDto} signupDto
1665
1980
  * @param {*} [options] Override http request option.
1666
1981
  * @throws {RequiredError}
1667
- * @memberof AuthApi
1982
+ * @memberof BusinessApi
1668
1983
  */
1669
- public authControllerSignUp(signupDto: SignupDto, options?: RawAxiosRequestConfig) {
1670
- return AuthApiFp(this.configuration).authControllerSignUp(signupDto, options).then((request) => request(this.axios, this.basePath));
1984
+ public businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig) {
1985
+ return BusinessApiFp(this.configuration).businessTypeControllerListEmployeesSize(options).then((request) => request(this.axios, this.basePath));
1671
1986
  }
1672
1987
 
1673
1988
  /**
1674
1989
  *
1675
- * @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
1676
1990
  * @param {*} [options] Override http request option.
1677
1991
  * @throws {RequiredError}
1678
- * @memberof AuthApi
1992
+ * @memberof BusinessApi
1679
1993
  */
1680
- public authControllerVerifyOTP(verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options?: RawAxiosRequestConfig) {
1681
- return AuthApiFp(this.configuration).authControllerVerifyOTP(verifyOTPPayloadDTO, options).then((request) => request(this.axios, this.basePath));
1994
+ public businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig) {
1995
+ return BusinessApiFp(this.configuration).businessTypeControllerListPriceRange(options).then((request) => request(this.axios, this.basePath));
1682
1996
  }
1683
1997
  }
1684
1998
 
@@ -1794,112 +2108,6 @@ export class DeviceApi extends BaseAPI {
1794
2108
 
1795
2109
 
1796
2110
 
1797
- /**
1798
- * GcsApi - axios parameter creator
1799
- * @export
1800
- */
1801
- export const GcsApiAxiosParamCreator = function (configuration?: Configuration) {
1802
- return {
1803
- /**
1804
- *
1805
- * @param {FileNameUploadDTO} fileNameUploadDTO
1806
- * @param {*} [options] Override http request option.
1807
- * @throws {RequiredError}
1808
- */
1809
- gcpControllerUploadFile: async (fileNameUploadDTO: FileNameUploadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1810
- // verify required parameter 'fileNameUploadDTO' is not null or undefined
1811
- assertParamExists('gcpControllerUploadFile', 'fileNameUploadDTO', fileNameUploadDTO)
1812
- const localVarPath = `/v1/gcs/file`;
1813
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1814
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1815
- let baseOptions;
1816
- if (configuration) {
1817
- baseOptions = configuration.baseOptions;
1818
- }
1819
-
1820
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1821
- const localVarHeaderParameter = {} as any;
1822
- const localVarQueryParameter = {} as any;
1823
-
1824
-
1825
-
1826
- localVarHeaderParameter['Content-Type'] = 'application/json';
1827
-
1828
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1829
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1830
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1831
- localVarRequestOptions.data = serializeDataIfNeeded(fileNameUploadDTO, localVarRequestOptions, configuration)
1832
-
1833
- return {
1834
- url: toPathString(localVarUrlObj),
1835
- options: localVarRequestOptions,
1836
- };
1837
- },
1838
- }
1839
- };
1840
-
1841
- /**
1842
- * GcsApi - functional programming interface
1843
- * @export
1844
- */
1845
- export const GcsApiFp = function(configuration?: Configuration) {
1846
- const localVarAxiosParamCreator = GcsApiAxiosParamCreator(configuration)
1847
- return {
1848
- /**
1849
- *
1850
- * @param {FileNameUploadDTO} fileNameUploadDTO
1851
- * @param {*} [options] Override http request option.
1852
- * @throws {RequiredError}
1853
- */
1854
- async gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignedUrlResponseDTO>> {
1855
- const localVarAxiosArgs = await localVarAxiosParamCreator.gcpControllerUploadFile(fileNameUploadDTO, options);
1856
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1857
- const localVarOperationServerBasePath = operationServerMap['GcsApi.gcpControllerUploadFile']?.[localVarOperationServerIndex]?.url;
1858
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1859
- },
1860
- }
1861
- };
1862
-
1863
- /**
1864
- * GcsApi - factory interface
1865
- * @export
1866
- */
1867
- export const GcsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1868
- const localVarFp = GcsApiFp(configuration)
1869
- return {
1870
- /**
1871
- *
1872
- * @param {FileNameUploadDTO} fileNameUploadDTO
1873
- * @param {*} [options] Override http request option.
1874
- * @throws {RequiredError}
1875
- */
1876
- gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): AxiosPromise<SignedUrlResponseDTO> {
1877
- return localVarFp.gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(axios, basePath));
1878
- },
1879
- };
1880
- };
1881
-
1882
- /**
1883
- * GcsApi - object-oriented interface
1884
- * @export
1885
- * @class GcsApi
1886
- * @extends {BaseAPI}
1887
- */
1888
- export class GcsApi extends BaseAPI {
1889
- /**
1890
- *
1891
- * @param {FileNameUploadDTO} fileNameUploadDTO
1892
- * @param {*} [options] Override http request option.
1893
- * @throws {RequiredError}
1894
- * @memberof GcsApi
1895
- */
1896
- public gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig) {
1897
- return GcsApiFp(this.configuration).gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(this.axios, this.basePath));
1898
- }
1899
- }
1900
-
1901
-
1902
-
1903
2111
  /**
1904
2112
  * GoalsApi - axios parameter creator
1905
2113
  * @export