@gooday_corp/gooday-api-client 1.0.16-zeta → 1.0.17-alpha

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