@gooday_corp/gooday-api-client 1.0.16-beta → 1.0.16-zeta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +662 -467
- 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
|
-
'
|
|
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,293 @@ export interface AssistantListResponse {
|
|
|
125
119
|
/**
|
|
126
120
|
*
|
|
127
121
|
* @export
|
|
128
|
-
* @interface
|
|
122
|
+
* @interface BusinessEntity
|
|
129
123
|
*/
|
|
130
|
-
export interface
|
|
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;
|
|
131
161
|
/**
|
|
132
|
-
*
|
|
133
|
-
* @type {
|
|
134
|
-
* @memberof
|
|
162
|
+
* Business Type
|
|
163
|
+
* @type {string}
|
|
164
|
+
* @memberof BusinessEntity
|
|
135
165
|
*/
|
|
136
|
-
'
|
|
166
|
+
'businessType'?: string;
|
|
137
167
|
/**
|
|
138
|
-
*
|
|
168
|
+
* Business Category
|
|
139
169
|
* @type {Array<string>}
|
|
140
|
-
* @memberof
|
|
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
|
|
141
226
|
*/
|
|
142
|
-
'
|
|
227
|
+
'businessType'?: string;
|
|
143
228
|
/**
|
|
144
|
-
*
|
|
229
|
+
* Business Category
|
|
145
230
|
* @type {Array<string>}
|
|
146
|
-
* @memberof
|
|
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
|
|
147
407
|
*/
|
|
148
|
-
'
|
|
408
|
+
'data': Array<CategoryEntity>;
|
|
149
409
|
}
|
|
150
410
|
/**
|
|
151
411
|
*
|
|
@@ -206,53 +466,46 @@ export interface DeviceEntity {
|
|
|
206
466
|
/**
|
|
207
467
|
*
|
|
208
468
|
* @export
|
|
209
|
-
* @interface
|
|
469
|
+
* @interface EmployeesSizeEntity
|
|
210
470
|
*/
|
|
211
|
-
export interface
|
|
471
|
+
export interface EmployeesSizeEntity {
|
|
212
472
|
/**
|
|
213
|
-
*
|
|
473
|
+
* Unique identifier for the employee size
|
|
214
474
|
* @type {string}
|
|
215
|
-
* @memberof
|
|
475
|
+
* @memberof EmployeesSizeEntity
|
|
216
476
|
*/
|
|
217
|
-
'
|
|
477
|
+
'id': string;
|
|
218
478
|
/**
|
|
219
|
-
*
|
|
479
|
+
* Title of the employee size
|
|
220
480
|
* @type {string}
|
|
221
|
-
* @memberof
|
|
481
|
+
* @memberof EmployeesSizeEntity
|
|
222
482
|
*/
|
|
223
|
-
'
|
|
224
|
-
}
|
|
225
|
-
/**
|
|
226
|
-
*
|
|
227
|
-
* @export
|
|
228
|
-
* @interface ForgotPasswordPayloadDTO
|
|
229
|
-
*/
|
|
230
|
-
export interface ForgotPasswordPayloadDTO {
|
|
483
|
+
'title': string;
|
|
231
484
|
/**
|
|
232
|
-
*
|
|
485
|
+
* Value of the employee size
|
|
233
486
|
* @type {string}
|
|
234
|
-
* @memberof
|
|
487
|
+
* @memberof EmployeesSizeEntity
|
|
235
488
|
*/
|
|
236
|
-
'
|
|
489
|
+
'value': string;
|
|
237
490
|
}
|
|
238
491
|
/**
|
|
239
492
|
*
|
|
240
493
|
* @export
|
|
241
|
-
* @interface
|
|
494
|
+
* @interface EmployeesSizeListResponse
|
|
242
495
|
*/
|
|
243
|
-
export interface
|
|
496
|
+
export interface EmployeesSizeListResponse {
|
|
244
497
|
/**
|
|
245
498
|
* statusCode
|
|
246
499
|
* @type {number}
|
|
247
|
-
* @memberof
|
|
500
|
+
* @memberof EmployeesSizeListResponse
|
|
248
501
|
*/
|
|
249
502
|
'statusCode': number;
|
|
250
503
|
/**
|
|
251
|
-
*
|
|
252
|
-
* @type {
|
|
253
|
-
* @memberof
|
|
504
|
+
* Employees Size
|
|
505
|
+
* @type {Array<EmployeesSizeEntity>}
|
|
506
|
+
* @memberof EmployeesSizeListResponse
|
|
254
507
|
*/
|
|
255
|
-
'
|
|
508
|
+
'data': Array<EmployeesSizeEntity>;
|
|
256
509
|
}
|
|
257
510
|
/**
|
|
258
511
|
*
|
|
@@ -375,44 +628,6 @@ export interface MyAssistantResponse {
|
|
|
375
628
|
*/
|
|
376
629
|
'data': AssistantEntity;
|
|
377
630
|
}
|
|
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
631
|
/**
|
|
417
632
|
*
|
|
418
633
|
* @export
|
|
@@ -594,40 +809,46 @@ export type PriceEntityIntervalEnum = typeof PriceEntityIntervalEnum[keyof typeo
|
|
|
594
809
|
/**
|
|
595
810
|
*
|
|
596
811
|
* @export
|
|
597
|
-
* @interface
|
|
812
|
+
* @interface PriceRangeEntity
|
|
598
813
|
*/
|
|
599
|
-
export interface
|
|
814
|
+
export interface PriceRangeEntity {
|
|
815
|
+
/**
|
|
816
|
+
* Unique identifier for the price range
|
|
817
|
+
* @type {string}
|
|
818
|
+
* @memberof PriceRangeEntity
|
|
819
|
+
*/
|
|
820
|
+
'id': string;
|
|
600
821
|
/**
|
|
601
|
-
*
|
|
822
|
+
* Title of the price range
|
|
602
823
|
* @type {string}
|
|
603
|
-
* @memberof
|
|
824
|
+
* @memberof PriceRangeEntity
|
|
604
825
|
*/
|
|
605
|
-
'
|
|
826
|
+
'title': string;
|
|
606
827
|
/**
|
|
607
|
-
*
|
|
828
|
+
* Value of the price range
|
|
608
829
|
* @type {string}
|
|
609
|
-
* @memberof
|
|
830
|
+
* @memberof PriceRangeEntity
|
|
610
831
|
*/
|
|
611
|
-
'
|
|
832
|
+
'value': string;
|
|
612
833
|
}
|
|
613
834
|
/**
|
|
614
835
|
*
|
|
615
836
|
* @export
|
|
616
|
-
* @interface
|
|
837
|
+
* @interface PriceRangeListResponse
|
|
617
838
|
*/
|
|
618
|
-
export interface
|
|
839
|
+
export interface PriceRangeListResponse {
|
|
619
840
|
/**
|
|
620
|
-
*
|
|
841
|
+
* statusCode
|
|
621
842
|
* @type {number}
|
|
622
|
-
* @memberof
|
|
843
|
+
* @memberof PriceRangeListResponse
|
|
623
844
|
*/
|
|
624
845
|
'statusCode': number;
|
|
625
846
|
/**
|
|
626
|
-
*
|
|
627
|
-
* @type {
|
|
628
|
-
* @memberof
|
|
847
|
+
* Price Range
|
|
848
|
+
* @type {Array<PriceRangeEntity>}
|
|
849
|
+
* @memberof PriceRangeListResponse
|
|
629
850
|
*/
|
|
630
|
-
'
|
|
851
|
+
'data': Array<PriceRangeEntity>;
|
|
631
852
|
}
|
|
632
853
|
/**
|
|
633
854
|
*
|
|
@@ -636,7 +857,7 @@ export interface ResetPasswordResponseDTO {
|
|
|
636
857
|
*/
|
|
637
858
|
export interface SignInDto {
|
|
638
859
|
/**
|
|
639
|
-
* Email
|
|
860
|
+
* Email of user
|
|
640
861
|
* @type {string}
|
|
641
862
|
* @memberof SignInDto
|
|
642
863
|
*/
|
|
@@ -692,25 +913,6 @@ export interface SignInResponseDto {
|
|
|
692
913
|
*/
|
|
693
914
|
'data': SignInResponse;
|
|
694
915
|
}
|
|
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
916
|
/**
|
|
715
917
|
*
|
|
716
918
|
* @export
|
|
@@ -735,12 +937,6 @@ export interface SignupDto {
|
|
|
735
937
|
* @memberof SignupDto
|
|
736
938
|
*/
|
|
737
939
|
'email': string;
|
|
738
|
-
/**
|
|
739
|
-
* User Profile Name
|
|
740
|
-
* @type {string}
|
|
741
|
-
* @memberof SignupDto
|
|
742
|
-
*/
|
|
743
|
-
'profile': string;
|
|
744
940
|
/**
|
|
745
941
|
* The password for the user account
|
|
746
942
|
* @type {string}
|
|
@@ -792,25 +988,6 @@ export interface SignupResponseDto {
|
|
|
792
988
|
*/
|
|
793
989
|
'data': SignupResponse;
|
|
794
990
|
}
|
|
795
|
-
/**
|
|
796
|
-
*
|
|
797
|
-
* @export
|
|
798
|
-
* @interface SkillDto
|
|
799
|
-
*/
|
|
800
|
-
export interface SkillDto {
|
|
801
|
-
/**
|
|
802
|
-
* Title of the skill
|
|
803
|
-
* @type {string}
|
|
804
|
-
* @memberof SkillDto
|
|
805
|
-
*/
|
|
806
|
-
'title': string;
|
|
807
|
-
/**
|
|
808
|
-
* Value or rating of the skill out of 1
|
|
809
|
-
* @type {number}
|
|
810
|
-
* @memberof SkillDto
|
|
811
|
-
*/
|
|
812
|
-
'weightage': number;
|
|
813
|
-
}
|
|
814
991
|
/**
|
|
815
992
|
*
|
|
816
993
|
* @export
|
|
@@ -835,12 +1012,6 @@ export interface UserEntity {
|
|
|
835
1012
|
* @memberof UserEntity
|
|
836
1013
|
*/
|
|
837
1014
|
'lastName': string;
|
|
838
|
-
/**
|
|
839
|
-
* Profile Picture of User
|
|
840
|
-
* @type {string}
|
|
841
|
-
* @memberof UserEntity
|
|
842
|
-
*/
|
|
843
|
-
'profile': string;
|
|
844
1015
|
/**
|
|
845
1016
|
* Email address of the user
|
|
846
1017
|
* @type {string}
|
|
@@ -876,7 +1047,7 @@ export interface UserEntity {
|
|
|
876
1047
|
* @type {string}
|
|
877
1048
|
* @memberof UserEntity
|
|
878
1049
|
*/
|
|
879
|
-
'role':
|
|
1050
|
+
'role': UserEntityRoleEnum;
|
|
880
1051
|
/**
|
|
881
1052
|
* Goals why user is using the product
|
|
882
1053
|
* @type {Array<string>}
|
|
@@ -894,8 +1065,16 @@ export interface UserEntity {
|
|
|
894
1065
|
* @type {Array<string>}
|
|
895
1066
|
* @memberof UserEntity
|
|
896
1067
|
*/
|
|
897
|
-
'pendingAction'
|
|
1068
|
+
'pendingAction'?: Array<string>;
|
|
898
1069
|
}
|
|
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
|
+
|
|
899
1078
|
/**
|
|
900
1079
|
*
|
|
901
1080
|
* @export
|
|
@@ -915,47 +1094,9 @@ export interface UserMeDTO {
|
|
|
915
1094
|
*/
|
|
916
1095
|
'data': UserEntity;
|
|
917
1096
|
}
|
|
1097
|
+
|
|
918
1098
|
/**
|
|
919
|
-
*
|
|
920
|
-
* @export
|
|
921
|
-
* @interface VerifyOTPPayloadDTO
|
|
922
|
-
*/
|
|
923
|
-
export interface VerifyOTPPayloadDTO {
|
|
924
|
-
/**
|
|
925
|
-
* 6 digit otp from mail
|
|
926
|
-
* @type {string}
|
|
927
|
-
* @memberof VerifyOTPPayloadDTO
|
|
928
|
-
*/
|
|
929
|
-
'otp': string;
|
|
930
|
-
/**
|
|
931
|
-
* Email of user
|
|
932
|
-
* @type {string}
|
|
933
|
-
* @memberof VerifyOTPPayloadDTO
|
|
934
|
-
*/
|
|
935
|
-
'email': string;
|
|
936
|
-
}
|
|
937
|
-
/**
|
|
938
|
-
*
|
|
939
|
-
* @export
|
|
940
|
-
* @interface VerifyOTPResponseDTO
|
|
941
|
-
*/
|
|
942
|
-
export interface VerifyOTPResponseDTO {
|
|
943
|
-
/**
|
|
944
|
-
* The HTTP status code
|
|
945
|
-
* @type {number}
|
|
946
|
-
* @memberof VerifyOTPResponseDTO
|
|
947
|
-
*/
|
|
948
|
-
'statusCode': number;
|
|
949
|
-
/**
|
|
950
|
-
* The
|
|
951
|
-
* @type {string}
|
|
952
|
-
* @memberof VerifyOTPResponseDTO
|
|
953
|
-
*/
|
|
954
|
-
'message': string;
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
/**
|
|
958
|
-
* AIApi - axios parameter creator
|
|
1099
|
+
* AIApi - axios parameter creator
|
|
959
1100
|
* @export
|
|
960
1101
|
*/
|
|
961
1102
|
export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
@@ -1121,14 +1262,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1121
1262
|
return {
|
|
1122
1263
|
/**
|
|
1123
1264
|
*
|
|
1124
|
-
* @param {
|
|
1265
|
+
* @param {SignupDto} signupDto
|
|
1125
1266
|
* @param {*} [options] Override http request option.
|
|
1126
1267
|
* @throws {RequiredError}
|
|
1127
1268
|
*/
|
|
1128
|
-
|
|
1129
|
-
// verify required parameter '
|
|
1130
|
-
assertParamExists('
|
|
1131
|
-
const localVarPath = `/v1/auth/
|
|
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`;
|
|
1132
1273
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1133
1274
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1134
1275
|
let baseOptions;
|
|
@@ -1147,7 +1288,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1147
1288
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1148
1289
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1149
1290
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1150
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1291
|
+
localVarRequestOptions.data = serializeDataIfNeeded(signupDto, localVarRequestOptions, configuration)
|
|
1151
1292
|
|
|
1152
1293
|
return {
|
|
1153
1294
|
url: toPathString(localVarUrlObj),
|
|
@@ -1156,14 +1297,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1156
1297
|
},
|
|
1157
1298
|
/**
|
|
1158
1299
|
*
|
|
1159
|
-
* @param {
|
|
1300
|
+
* @param {SignInDto} signInDto
|
|
1160
1301
|
* @param {*} [options] Override http request option.
|
|
1161
1302
|
* @throws {RequiredError}
|
|
1162
1303
|
*/
|
|
1163
|
-
|
|
1164
|
-
// verify required parameter '
|
|
1165
|
-
assertParamExists('
|
|
1166
|
-
const localVarPath = `/v1/auth/
|
|
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`;
|
|
1167
1308
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1168
1309
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1169
1310
|
let baseOptions;
|
|
@@ -1182,7 +1323,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1182
1323
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1183
1324
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1184
1325
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1185
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1326
|
+
localVarRequestOptions.data = serializeDataIfNeeded(signInDto, localVarRequestOptions, configuration)
|
|
1186
1327
|
|
|
1187
1328
|
return {
|
|
1188
1329
|
url: toPathString(localVarUrlObj),
|
|
@@ -1191,14 +1332,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1191
1332
|
},
|
|
1192
1333
|
/**
|
|
1193
1334
|
*
|
|
1194
|
-
* @param {
|
|
1335
|
+
* @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
|
|
1195
1336
|
* @param {*} [options] Override http request option.
|
|
1196
1337
|
* @throws {RequiredError}
|
|
1197
1338
|
*/
|
|
1198
|
-
|
|
1199
|
-
// verify required parameter '
|
|
1200
|
-
assertParamExists('
|
|
1201
|
-
const localVarPath = `/v1/auth/
|
|
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`;
|
|
1202
1343
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1203
1344
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1204
1345
|
let baseOptions;
|
|
@@ -1221,7 +1362,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1221
1362
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1222
1363
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1223
1364
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1224
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1365
|
+
localVarRequestOptions.data = serializeDataIfNeeded(loggedOutPayloadDTO, localVarRequestOptions, configuration)
|
|
1225
1366
|
|
|
1226
1367
|
return {
|
|
1227
1368
|
url: toPathString(localVarUrlObj),
|
|
@@ -1230,14 +1371,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1230
1371
|
},
|
|
1231
1372
|
/**
|
|
1232
1373
|
*
|
|
1233
|
-
* @param {
|
|
1374
|
+
* @param {SignupDto} signupDto
|
|
1234
1375
|
* @param {*} [options] Override http request option.
|
|
1235
1376
|
* @throws {RequiredError}
|
|
1236
1377
|
*/
|
|
1237
|
-
|
|
1238
|
-
// verify required parameter '
|
|
1239
|
-
assertParamExists('
|
|
1240
|
-
const localVarPath = `/v1/auth/user-
|
|
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`;
|
|
1241
1382
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1242
1383
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1243
1384
|
let baseOptions;
|
|
@@ -1256,23 +1397,190 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1256
1397
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1257
1398
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1258
1399
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1259
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1400
|
+
localVarRequestOptions.data = serializeDataIfNeeded(signupDto, localVarRequestOptions, configuration)
|
|
1260
1401
|
|
|
1261
1402
|
return {
|
|
1262
1403
|
url: toPathString(localVarUrlObj),
|
|
1263
1404
|
options: localVarRequestOptions,
|
|
1264
1405
|
};
|
|
1265
1406
|
},
|
|
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
|
+
},
|
|
1266
1441
|
/**
|
|
1267
1442
|
*
|
|
1268
1443
|
* @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
|
|
1269
1444
|
* @param {*} [options] Override http request option.
|
|
1270
1445
|
* @throws {RequiredError}
|
|
1271
1446
|
*/
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
const
|
|
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
|
+
/**
|
|
1485
|
+
*
|
|
1486
|
+
* @param {SignInDto} signInDto
|
|
1487
|
+
* @param {*} [options] Override http request option.
|
|
1488
|
+
* @throws {RequiredError}
|
|
1489
|
+
*/
|
|
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`;
|
|
1276
1584
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1277
1585
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1278
1586
|
let baseOptions;
|
|
@@ -1295,7 +1603,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1295
1603
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1296
1604
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1297
1605
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1298
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1606
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessOnBoardingDTO, localVarRequestOptions, configuration)
|
|
1299
1607
|
|
|
1300
1608
|
return {
|
|
1301
1609
|
url: toPathString(localVarUrlObj),
|
|
@@ -1304,14 +1612,11 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1304
1612
|
},
|
|
1305
1613
|
/**
|
|
1306
1614
|
*
|
|
1307
|
-
* @param {SignupDto} signupDto
|
|
1308
1615
|
* @param {*} [options] Override http request option.
|
|
1309
1616
|
* @throws {RequiredError}
|
|
1310
1617
|
*/
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
assertParamExists('authControllerSignUp', 'signupDto', signupDto)
|
|
1314
|
-
const localVarPath = `/v1/auth/user-register`;
|
|
1618
|
+
businessTypeControllerListBusinessType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1619
|
+
const localVarPath = `/v1/business/list`;
|
|
1315
1620
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1316
1621
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1317
1622
|
let baseOptions;
|
|
@@ -1319,18 +1624,19 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1319
1624
|
baseOptions = configuration.baseOptions;
|
|
1320
1625
|
}
|
|
1321
1626
|
|
|
1322
|
-
const localVarRequestOptions = { method: '
|
|
1627
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1323
1628
|
const localVarHeaderParameter = {} as any;
|
|
1324
1629
|
const localVarQueryParameter = {} as any;
|
|
1325
1630
|
|
|
1631
|
+
// authentication bearer required
|
|
1632
|
+
// http bearer authentication required
|
|
1633
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1634
|
+
|
|
1326
1635
|
|
|
1327
1636
|
|
|
1328
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1329
|
-
|
|
1330
1637
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1331
1638
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1332
1639
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1333
|
-
localVarRequestOptions.data = serializeDataIfNeeded(signupDto, localVarRequestOptions, configuration)
|
|
1334
1640
|
|
|
1335
1641
|
return {
|
|
1336
1642
|
url: toPathString(localVarUrlObj),
|
|
@@ -1339,14 +1645,15 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1339
1645
|
},
|
|
1340
1646
|
/**
|
|
1341
1647
|
*
|
|
1342
|
-
* @param {
|
|
1648
|
+
* @param {string} businessType
|
|
1343
1649
|
* @param {*} [options] Override http request option.
|
|
1344
1650
|
* @throws {RequiredError}
|
|
1345
1651
|
*/
|
|
1346
|
-
|
|
1347
|
-
// verify required parameter '
|
|
1348
|
-
assertParamExists('
|
|
1349
|
-
const localVarPath = `/v1/
|
|
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)));
|
|
1350
1657
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1351
1658
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1352
1659
|
let baseOptions;
|
|
@@ -1354,276 +1661,270 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1354
1661
|
baseOptions = configuration.baseOptions;
|
|
1355
1662
|
}
|
|
1356
1663
|
|
|
1357
|
-
const localVarRequestOptions = { method: '
|
|
1664
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1358
1665
|
const localVarHeaderParameter = {} as any;
|
|
1359
1666
|
const localVarQueryParameter = {} as any;
|
|
1360
1667
|
|
|
1668
|
+
// authentication bearer required
|
|
1669
|
+
// http bearer authentication required
|
|
1670
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1361
1671
|
|
|
1362
|
-
|
|
1363
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1364
1672
|
|
|
1673
|
+
|
|
1365
1674
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1366
1675
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1367
1676
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1368
|
-
localVarRequestOptions.data = serializeDataIfNeeded(verifyOTPPayloadDTO, localVarRequestOptions, configuration)
|
|
1369
1677
|
|
|
1370
1678
|
return {
|
|
1371
1679
|
url: toPathString(localVarUrlObj),
|
|
1372
1680
|
options: localVarRequestOptions,
|
|
1373
1681
|
};
|
|
1374
1682
|
},
|
|
1375
|
-
}
|
|
1376
|
-
};
|
|
1377
|
-
|
|
1378
|
-
/**
|
|
1379
|
-
* AuthApi - functional programming interface
|
|
1380
|
-
* @export
|
|
1381
|
-
*/
|
|
1382
|
-
export const AuthApiFp = function(configuration?: Configuration) {
|
|
1383
|
-
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
|
1384
|
-
return {
|
|
1385
1683
|
/**
|
|
1386
1684
|
*
|
|
1387
|
-
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
1388
1685
|
* @param {*} [options] Override http request option.
|
|
1389
1686
|
* @throws {RequiredError}
|
|
1390
1687
|
*/
|
|
1391
|
-
async
|
|
1392
|
-
const
|
|
1393
|
-
|
|
1394
|
-
const
|
|
1395
|
-
|
|
1688
|
+
businessTypeControllerListEmployeesSize: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1689
|
+
const localVarPath = `/v1/business/employee-size`;
|
|
1690
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1691
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1692
|
+
let baseOptions;
|
|
1693
|
+
if (configuration) {
|
|
1694
|
+
baseOptions = configuration.baseOptions;
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1698
|
+
const localVarHeaderParameter = {} as any;
|
|
1699
|
+
const localVarQueryParameter = {} as any;
|
|
1700
|
+
|
|
1701
|
+
// authentication bearer required
|
|
1702
|
+
// http bearer authentication required
|
|
1703
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
|
|
1707
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1708
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1709
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1710
|
+
|
|
1711
|
+
return {
|
|
1712
|
+
url: toPathString(localVarUrlObj),
|
|
1713
|
+
options: localVarRequestOptions,
|
|
1714
|
+
};
|
|
1396
1715
|
},
|
|
1397
1716
|
/**
|
|
1398
1717
|
*
|
|
1399
|
-
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
1400
1718
|
* @param {*} [options] Override http request option.
|
|
1401
1719
|
* @throws {RequiredError}
|
|
1402
1720
|
*/
|
|
1403
|
-
async
|
|
1404
|
-
const
|
|
1405
|
-
|
|
1406
|
-
const
|
|
1407
|
-
|
|
1721
|
+
businessTypeControllerListPriceRange: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1722
|
+
const localVarPath = `/v1/business/price-range`;
|
|
1723
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1724
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1725
|
+
let baseOptions;
|
|
1726
|
+
if (configuration) {
|
|
1727
|
+
baseOptions = configuration.baseOptions;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1731
|
+
const localVarHeaderParameter = {} as any;
|
|
1732
|
+
const localVarQueryParameter = {} as any;
|
|
1733
|
+
|
|
1734
|
+
// authentication bearer required
|
|
1735
|
+
// http bearer authentication required
|
|
1736
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
|
|
1740
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1741
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1742
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1743
|
+
|
|
1744
|
+
return {
|
|
1745
|
+
url: toPathString(localVarUrlObj),
|
|
1746
|
+
options: localVarRequestOptions,
|
|
1747
|
+
};
|
|
1408
1748
|
},
|
|
1749
|
+
}
|
|
1750
|
+
};
|
|
1751
|
+
|
|
1752
|
+
/**
|
|
1753
|
+
* BusinessApi - functional programming interface
|
|
1754
|
+
* @export
|
|
1755
|
+
*/
|
|
1756
|
+
export const BusinessApiFp = function(configuration?: Configuration) {
|
|
1757
|
+
const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
|
|
1758
|
+
return {
|
|
1409
1759
|
/**
|
|
1410
1760
|
*
|
|
1411
|
-
* @param {
|
|
1761
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
1412
1762
|
* @param {*} [options] Override http request option.
|
|
1413
1763
|
* @throws {RequiredError}
|
|
1414
1764
|
*/
|
|
1415
|
-
async
|
|
1416
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1765
|
+
async businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
1766
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessOnboarding(businessOnBoardingDTO, options);
|
|
1417
1767
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1418
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
1768
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
1419
1769
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1420
1770
|
},
|
|
1421
1771
|
/**
|
|
1422
1772
|
*
|
|
1423
|
-
* @param {SignInDto} signInDto
|
|
1424
1773
|
* @param {*} [options] Override http request option.
|
|
1425
1774
|
* @throws {RequiredError}
|
|
1426
1775
|
*/
|
|
1427
|
-
async
|
|
1428
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1776
|
+
async businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessTypeListResponse>> {
|
|
1777
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListBusinessType(options);
|
|
1429
1778
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1430
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
1779
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListBusinessType']?.[localVarOperationServerIndex]?.url;
|
|
1431
1780
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1432
1781
|
},
|
|
1433
1782
|
/**
|
|
1434
1783
|
*
|
|
1435
|
-
* @param {
|
|
1784
|
+
* @param {string} businessType
|
|
1436
1785
|
* @param {*} [options] Override http request option.
|
|
1437
1786
|
* @throws {RequiredError}
|
|
1438
1787
|
*/
|
|
1439
|
-
async
|
|
1440
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1788
|
+
async businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
1789
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(businessType, options);
|
|
1441
1790
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1442
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
1791
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListCategories']?.[localVarOperationServerIndex]?.url;
|
|
1443
1792
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1444
1793
|
},
|
|
1445
1794
|
/**
|
|
1446
1795
|
*
|
|
1447
|
-
* @param {SignupDto} signupDto
|
|
1448
1796
|
* @param {*} [options] Override http request option.
|
|
1449
1797
|
* @throws {RequiredError}
|
|
1450
1798
|
*/
|
|
1451
|
-
async
|
|
1452
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1799
|
+
async businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmployeesSizeListResponse>> {
|
|
1800
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListEmployeesSize(options);
|
|
1453
1801
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1454
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
1802
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListEmployeesSize']?.[localVarOperationServerIndex]?.url;
|
|
1455
1803
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1456
1804
|
},
|
|
1457
1805
|
/**
|
|
1458
1806
|
*
|
|
1459
|
-
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
1460
1807
|
* @param {*} [options] Override http request option.
|
|
1461
1808
|
* @throws {RequiredError}
|
|
1462
1809
|
*/
|
|
1463
|
-
async
|
|
1464
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1810
|
+
async businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PriceRangeListResponse>> {
|
|
1811
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListPriceRange(options);
|
|
1465
1812
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1466
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
1813
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListPriceRange']?.[localVarOperationServerIndex]?.url;
|
|
1467
1814
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1468
1815
|
},
|
|
1469
1816
|
}
|
|
1470
1817
|
};
|
|
1471
1818
|
|
|
1472
1819
|
/**
|
|
1473
|
-
*
|
|
1820
|
+
* BusinessApi - factory interface
|
|
1474
1821
|
* @export
|
|
1475
1822
|
*/
|
|
1476
|
-
export const
|
|
1477
|
-
const localVarFp =
|
|
1823
|
+
export const BusinessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1824
|
+
const localVarFp = BusinessApiFp(configuration)
|
|
1478
1825
|
return {
|
|
1479
1826
|
/**
|
|
1480
1827
|
*
|
|
1481
|
-
* @param {
|
|
1482
|
-
* @param {*} [options] Override http request option.
|
|
1483
|
-
* @throws {RequiredError}
|
|
1484
|
-
*/
|
|
1485
|
-
authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<NewPasswordResponseDTO> {
|
|
1486
|
-
return localVarFp.authControllerCreateNewPassword(newPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
1487
|
-
},
|
|
1488
|
-
/**
|
|
1489
|
-
*
|
|
1490
|
-
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
1828
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
1491
1829
|
* @param {*} [options] Override http request option.
|
|
1492
1830
|
* @throws {RequiredError}
|
|
1493
1831
|
*/
|
|
1494
|
-
|
|
1495
|
-
return localVarFp.
|
|
1832
|
+
businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
1833
|
+
return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
|
|
1496
1834
|
},
|
|
1497
1835
|
/**
|
|
1498
1836
|
*
|
|
1499
|
-
* @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
|
|
1500
1837
|
* @param {*} [options] Override http request option.
|
|
1501
1838
|
* @throws {RequiredError}
|
|
1502
1839
|
*/
|
|
1503
|
-
|
|
1504
|
-
return localVarFp.
|
|
1840
|
+
businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): AxiosPromise<BusinessTypeListResponse> {
|
|
1841
|
+
return localVarFp.businessTypeControllerListBusinessType(options).then((request) => request(axios, basePath));
|
|
1505
1842
|
},
|
|
1506
1843
|
/**
|
|
1507
1844
|
*
|
|
1508
|
-
* @param {
|
|
1509
|
-
* @param {*} [options] Override http request option.
|
|
1510
|
-
* @throws {RequiredError}
|
|
1511
|
-
*/
|
|
1512
|
-
authControllerSignIn(signInDto: SignInDto, options?: RawAxiosRequestConfig): AxiosPromise<SignInResponseDto> {
|
|
1513
|
-
return localVarFp.authControllerSignIn(signInDto, options).then((request) => request(axios, basePath));
|
|
1514
|
-
},
|
|
1515
|
-
/**
|
|
1516
|
-
*
|
|
1517
|
-
* @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
|
|
1845
|
+
* @param {string} businessType
|
|
1518
1846
|
* @param {*} [options] Override http request option.
|
|
1519
1847
|
* @throws {RequiredError}
|
|
1520
1848
|
*/
|
|
1521
|
-
|
|
1522
|
-
return localVarFp.
|
|
1849
|
+
businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
1850
|
+
return localVarFp.businessTypeControllerListCategories(businessType, options).then((request) => request(axios, basePath));
|
|
1523
1851
|
},
|
|
1524
1852
|
/**
|
|
1525
1853
|
*
|
|
1526
|
-
* @param {SignupDto} signupDto
|
|
1527
1854
|
* @param {*} [options] Override http request option.
|
|
1528
1855
|
* @throws {RequiredError}
|
|
1529
1856
|
*/
|
|
1530
|
-
|
|
1531
|
-
return localVarFp.
|
|
1857
|
+
businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig): AxiosPromise<EmployeesSizeListResponse> {
|
|
1858
|
+
return localVarFp.businessTypeControllerListEmployeesSize(options).then((request) => request(axios, basePath));
|
|
1532
1859
|
},
|
|
1533
1860
|
/**
|
|
1534
1861
|
*
|
|
1535
|
-
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
1536
1862
|
* @param {*} [options] Override http request option.
|
|
1537
1863
|
* @throws {RequiredError}
|
|
1538
1864
|
*/
|
|
1539
|
-
|
|
1540
|
-
return localVarFp.
|
|
1865
|
+
businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): AxiosPromise<PriceRangeListResponse> {
|
|
1866
|
+
return localVarFp.businessTypeControllerListPriceRange(options).then((request) => request(axios, basePath));
|
|
1541
1867
|
},
|
|
1542
1868
|
};
|
|
1543
1869
|
};
|
|
1544
1870
|
|
|
1545
1871
|
/**
|
|
1546
|
-
*
|
|
1872
|
+
* BusinessApi - object-oriented interface
|
|
1547
1873
|
* @export
|
|
1548
|
-
* @class
|
|
1874
|
+
* @class BusinessApi
|
|
1549
1875
|
* @extends {BaseAPI}
|
|
1550
1876
|
*/
|
|
1551
|
-
export class
|
|
1552
|
-
/**
|
|
1553
|
-
*
|
|
1554
|
-
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
1555
|
-
* @param {*} [options] Override http request option.
|
|
1556
|
-
* @throws {RequiredError}
|
|
1557
|
-
* @memberof AuthApi
|
|
1558
|
-
*/
|
|
1559
|
-
public authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
1560
|
-
return AuthApiFp(this.configuration).authControllerCreateNewPassword(newPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1561
|
-
}
|
|
1562
|
-
|
|
1563
|
-
/**
|
|
1564
|
-
*
|
|
1565
|
-
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
1566
|
-
* @param {*} [options] Override http request option.
|
|
1567
|
-
* @throws {RequiredError}
|
|
1568
|
-
* @memberof AuthApi
|
|
1569
|
-
*/
|
|
1570
|
-
public authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
1571
|
-
return AuthApiFp(this.configuration).authControllerForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1572
|
-
}
|
|
1573
|
-
|
|
1877
|
+
export class BusinessApi extends BaseAPI {
|
|
1574
1878
|
/**
|
|
1575
1879
|
*
|
|
1576
|
-
* @param {
|
|
1880
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
1577
1881
|
* @param {*} [options] Override http request option.
|
|
1578
1882
|
* @throws {RequiredError}
|
|
1579
|
-
* @memberof
|
|
1883
|
+
* @memberof BusinessApi
|
|
1580
1884
|
*/
|
|
1581
|
-
public
|
|
1582
|
-
return
|
|
1885
|
+
public businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
1886
|
+
return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1583
1887
|
}
|
|
1584
1888
|
|
|
1585
1889
|
/**
|
|
1586
1890
|
*
|
|
1587
|
-
* @param {SignInDto} signInDto
|
|
1588
1891
|
* @param {*} [options] Override http request option.
|
|
1589
1892
|
* @throws {RequiredError}
|
|
1590
|
-
* @memberof
|
|
1893
|
+
* @memberof BusinessApi
|
|
1591
1894
|
*/
|
|
1592
|
-
public
|
|
1593
|
-
return
|
|
1895
|
+
public businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig) {
|
|
1896
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(options).then((request) => request(this.axios, this.basePath));
|
|
1594
1897
|
}
|
|
1595
1898
|
|
|
1596
1899
|
/**
|
|
1597
1900
|
*
|
|
1598
|
-
* @param {
|
|
1901
|
+
* @param {string} businessType
|
|
1599
1902
|
* @param {*} [options] Override http request option.
|
|
1600
1903
|
* @throws {RequiredError}
|
|
1601
|
-
* @memberof
|
|
1904
|
+
* @memberof BusinessApi
|
|
1602
1905
|
*/
|
|
1603
|
-
public
|
|
1604
|
-
return
|
|
1906
|
+
public businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig) {
|
|
1907
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(businessType, options).then((request) => request(this.axios, this.basePath));
|
|
1605
1908
|
}
|
|
1606
1909
|
|
|
1607
1910
|
/**
|
|
1608
1911
|
*
|
|
1609
|
-
* @param {SignupDto} signupDto
|
|
1610
1912
|
* @param {*} [options] Override http request option.
|
|
1611
1913
|
* @throws {RequiredError}
|
|
1612
|
-
* @memberof
|
|
1914
|
+
* @memberof BusinessApi
|
|
1613
1915
|
*/
|
|
1614
|
-
public
|
|
1615
|
-
return
|
|
1916
|
+
public businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig) {
|
|
1917
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListEmployeesSize(options).then((request) => request(this.axios, this.basePath));
|
|
1616
1918
|
}
|
|
1617
1919
|
|
|
1618
1920
|
/**
|
|
1619
1921
|
*
|
|
1620
|
-
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
1621
1922
|
* @param {*} [options] Override http request option.
|
|
1622
1923
|
* @throws {RequiredError}
|
|
1623
|
-
* @memberof
|
|
1924
|
+
* @memberof BusinessApi
|
|
1624
1925
|
*/
|
|
1625
|
-
public
|
|
1626
|
-
return
|
|
1926
|
+
public businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig) {
|
|
1927
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListPriceRange(options).then((request) => request(this.axios, this.basePath));
|
|
1627
1928
|
}
|
|
1628
1929
|
}
|
|
1629
1930
|
|
|
@@ -1739,112 +2040,6 @@ export class DeviceApi extends BaseAPI {
|
|
|
1739
2040
|
|
|
1740
2041
|
|
|
1741
2042
|
|
|
1742
|
-
/**
|
|
1743
|
-
* GcsApi - axios parameter creator
|
|
1744
|
-
* @export
|
|
1745
|
-
*/
|
|
1746
|
-
export const GcsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1747
|
-
return {
|
|
1748
|
-
/**
|
|
1749
|
-
*
|
|
1750
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
1751
|
-
* @param {*} [options] Override http request option.
|
|
1752
|
-
* @throws {RequiredError}
|
|
1753
|
-
*/
|
|
1754
|
-
gcpControllerUploadFile: async (fileNameUploadDTO: FileNameUploadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1755
|
-
// verify required parameter 'fileNameUploadDTO' is not null or undefined
|
|
1756
|
-
assertParamExists('gcpControllerUploadFile', 'fileNameUploadDTO', fileNameUploadDTO)
|
|
1757
|
-
const localVarPath = `/v1/gcs/file`;
|
|
1758
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1759
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1760
|
-
let baseOptions;
|
|
1761
|
-
if (configuration) {
|
|
1762
|
-
baseOptions = configuration.baseOptions;
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1766
|
-
const localVarHeaderParameter = {} as any;
|
|
1767
|
-
const localVarQueryParameter = {} as any;
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1772
|
-
|
|
1773
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1774
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1775
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1776
|
-
localVarRequestOptions.data = serializeDataIfNeeded(fileNameUploadDTO, localVarRequestOptions, configuration)
|
|
1777
|
-
|
|
1778
|
-
return {
|
|
1779
|
-
url: toPathString(localVarUrlObj),
|
|
1780
|
-
options: localVarRequestOptions,
|
|
1781
|
-
};
|
|
1782
|
-
},
|
|
1783
|
-
}
|
|
1784
|
-
};
|
|
1785
|
-
|
|
1786
|
-
/**
|
|
1787
|
-
* GcsApi - functional programming interface
|
|
1788
|
-
* @export
|
|
1789
|
-
*/
|
|
1790
|
-
export const GcsApiFp = function(configuration?: Configuration) {
|
|
1791
|
-
const localVarAxiosParamCreator = GcsApiAxiosParamCreator(configuration)
|
|
1792
|
-
return {
|
|
1793
|
-
/**
|
|
1794
|
-
*
|
|
1795
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
1796
|
-
* @param {*} [options] Override http request option.
|
|
1797
|
-
* @throws {RequiredError}
|
|
1798
|
-
*/
|
|
1799
|
-
async gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignedUrlResponseDTO>> {
|
|
1800
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gcpControllerUploadFile(fileNameUploadDTO, options);
|
|
1801
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1802
|
-
const localVarOperationServerBasePath = operationServerMap['GcsApi.gcpControllerUploadFile']?.[localVarOperationServerIndex]?.url;
|
|
1803
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1804
|
-
},
|
|
1805
|
-
}
|
|
1806
|
-
};
|
|
1807
|
-
|
|
1808
|
-
/**
|
|
1809
|
-
* GcsApi - factory interface
|
|
1810
|
-
* @export
|
|
1811
|
-
*/
|
|
1812
|
-
export const GcsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1813
|
-
const localVarFp = GcsApiFp(configuration)
|
|
1814
|
-
return {
|
|
1815
|
-
/**
|
|
1816
|
-
*
|
|
1817
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
1818
|
-
* @param {*} [options] Override http request option.
|
|
1819
|
-
* @throws {RequiredError}
|
|
1820
|
-
*/
|
|
1821
|
-
gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): AxiosPromise<SignedUrlResponseDTO> {
|
|
1822
|
-
return localVarFp.gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(axios, basePath));
|
|
1823
|
-
},
|
|
1824
|
-
};
|
|
1825
|
-
};
|
|
1826
|
-
|
|
1827
|
-
/**
|
|
1828
|
-
* GcsApi - object-oriented interface
|
|
1829
|
-
* @export
|
|
1830
|
-
* @class GcsApi
|
|
1831
|
-
* @extends {BaseAPI}
|
|
1832
|
-
*/
|
|
1833
|
-
export class GcsApi extends BaseAPI {
|
|
1834
|
-
/**
|
|
1835
|
-
*
|
|
1836
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
1837
|
-
* @param {*} [options] Override http request option.
|
|
1838
|
-
* @throws {RequiredError}
|
|
1839
|
-
* @memberof GcsApi
|
|
1840
|
-
*/
|
|
1841
|
-
public gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig) {
|
|
1842
|
-
return GcsApiFp(this.configuration).gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1843
|
-
}
|
|
1844
|
-
}
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
2043
|
/**
|
|
1849
2044
|
* GoalsApi - axios parameter creator
|
|
1850
2045
|
* @export
|