@gooday_corp/gooday-api-client 1.2.46 → 1.2.49-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.
- package/api.ts +260 -128
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -483,11 +483,11 @@ export interface BookingEntity {
|
|
|
483
483
|
*/
|
|
484
484
|
'business': string;
|
|
485
485
|
/**
|
|
486
|
-
* List of
|
|
486
|
+
* List of collaborators in the booking
|
|
487
487
|
* @type {Array<object>}
|
|
488
488
|
* @memberof BookingEntity
|
|
489
489
|
*/
|
|
490
|
-
'
|
|
490
|
+
'collaborators': Array<object>;
|
|
491
491
|
/**
|
|
492
492
|
* Users associated with the booking
|
|
493
493
|
* @type {Array<string>}
|
|
@@ -691,11 +691,11 @@ export interface BookingResponse {
|
|
|
691
691
|
*/
|
|
692
692
|
'paymentMethodId': string;
|
|
693
693
|
/**
|
|
694
|
-
* The list of
|
|
695
|
-
* @type {Array<
|
|
694
|
+
* The list of collaborators associated with the booking
|
|
695
|
+
* @type {Array<CreateBookingCollaboratorPayload>}
|
|
696
696
|
* @memberof BookingResponse
|
|
697
697
|
*/
|
|
698
|
-
'
|
|
698
|
+
'collaborators': Array<CreateBookingCollaboratorPayload>;
|
|
699
699
|
/**
|
|
700
700
|
* Booking method
|
|
701
701
|
* @type {string}
|
|
@@ -2100,43 +2100,37 @@ export interface CategoryListResponse {
|
|
|
2100
2100
|
/**
|
|
2101
2101
|
*
|
|
2102
2102
|
* @export
|
|
2103
|
-
* @interface
|
|
2103
|
+
* @interface CreateBookingCollaboratorPayload
|
|
2104
2104
|
*/
|
|
2105
|
-
export interface
|
|
2105
|
+
export interface CreateBookingCollaboratorPayload {
|
|
2106
2106
|
/**
|
|
2107
2107
|
* The unique identifier of the customer
|
|
2108
2108
|
* @type {string}
|
|
2109
|
-
* @memberof
|
|
2109
|
+
* @memberof CreateBookingCollaboratorPayload
|
|
2110
2110
|
*/
|
|
2111
2111
|
'_id'?: string;
|
|
2112
|
-
/**
|
|
2113
|
-
* The unique identifier of the customer
|
|
2114
|
-
* @type {string}
|
|
2115
|
-
* @memberof CreateBookingCustomerPayload
|
|
2116
|
-
*/
|
|
2117
|
-
'customer'?: string;
|
|
2118
2112
|
/**
|
|
2119
2113
|
* The name of the customer
|
|
2120
2114
|
* @type {string}
|
|
2121
|
-
* @memberof
|
|
2115
|
+
* @memberof CreateBookingCollaboratorPayload
|
|
2122
2116
|
*/
|
|
2123
2117
|
'name'?: string;
|
|
2124
2118
|
/**
|
|
2125
2119
|
* The mobile phone number of the customer
|
|
2126
2120
|
* @type {string}
|
|
2127
|
-
* @memberof
|
|
2121
|
+
* @memberof CreateBookingCollaboratorPayload
|
|
2128
2122
|
*/
|
|
2129
2123
|
'mobile'?: string;
|
|
2130
2124
|
/**
|
|
2131
2125
|
* The email address of the customer
|
|
2132
2126
|
* @type {string}
|
|
2133
|
-
* @memberof
|
|
2127
|
+
* @memberof CreateBookingCollaboratorPayload
|
|
2134
2128
|
*/
|
|
2135
2129
|
'email'?: string;
|
|
2136
2130
|
/**
|
|
2137
2131
|
* The goodayId for the customer
|
|
2138
2132
|
* @type {string}
|
|
2139
|
-
* @memberof
|
|
2133
|
+
* @memberof CreateBookingCollaboratorPayload
|
|
2140
2134
|
*/
|
|
2141
2135
|
'goodayId'?: string;
|
|
2142
2136
|
}
|
|
@@ -2201,11 +2195,11 @@ export interface CreateBookingPayload {
|
|
|
2201
2195
|
*/
|
|
2202
2196
|
'paymentMethodId': string;
|
|
2203
2197
|
/**
|
|
2204
|
-
* The list of
|
|
2205
|
-
* @type {Array<
|
|
2198
|
+
* The list of collaborators associated with the booking
|
|
2199
|
+
* @type {Array<CreateBookingCollaboratorPayload>}
|
|
2206
2200
|
* @memberof CreateBookingPayload
|
|
2207
2201
|
*/
|
|
2208
|
-
'
|
|
2202
|
+
'collaborators': Array<CreateBookingCollaboratorPayload>;
|
|
2209
2203
|
/**
|
|
2210
2204
|
* Booking method
|
|
2211
2205
|
* @type {string}
|
|
@@ -2320,91 +2314,91 @@ export interface CreateCustomerPayloadDTO {
|
|
|
2320
2314
|
/**
|
|
2321
2315
|
*
|
|
2322
2316
|
* @export
|
|
2323
|
-
* @interface
|
|
2317
|
+
* @interface CreateEventCollaborator
|
|
2324
2318
|
*/
|
|
2325
|
-
export interface
|
|
2319
|
+
export interface CreateEventCollaborator {
|
|
2326
2320
|
/**
|
|
2327
2321
|
* The unique identifier of the customer
|
|
2328
2322
|
* @type {string}
|
|
2329
|
-
* @memberof
|
|
2323
|
+
* @memberof CreateEventCollaborator
|
|
2330
2324
|
*/
|
|
2331
2325
|
'_id'?: string;
|
|
2332
2326
|
/**
|
|
2333
2327
|
* The name of the customer
|
|
2334
2328
|
* @type {string}
|
|
2335
|
-
* @memberof
|
|
2329
|
+
* @memberof CreateEventCollaborator
|
|
2336
2330
|
*/
|
|
2337
2331
|
'name'?: string;
|
|
2338
2332
|
/**
|
|
2339
2333
|
* The mobile phone number of the customer
|
|
2340
2334
|
* @type {string}
|
|
2341
|
-
* @memberof
|
|
2335
|
+
* @memberof CreateEventCollaborator
|
|
2342
2336
|
*/
|
|
2343
2337
|
'mobile'?: string;
|
|
2344
2338
|
/**
|
|
2345
2339
|
* The email address of the customer
|
|
2346
2340
|
* @type {string}
|
|
2347
|
-
* @memberof
|
|
2341
|
+
* @memberof CreateEventCollaborator
|
|
2348
2342
|
*/
|
|
2349
2343
|
'email'?: string;
|
|
2350
2344
|
/**
|
|
2351
2345
|
* The goodayId for the customer
|
|
2352
2346
|
* @type {string}
|
|
2353
|
-
* @memberof
|
|
2347
|
+
* @memberof CreateEventCollaborator
|
|
2354
2348
|
*/
|
|
2355
2349
|
'goodayId'?: string;
|
|
2356
2350
|
}
|
|
2357
2351
|
/**
|
|
2358
2352
|
*
|
|
2359
2353
|
* @export
|
|
2360
|
-
* @interface
|
|
2354
|
+
* @interface CreateEventCollaboratorPayload
|
|
2361
2355
|
*/
|
|
2362
|
-
export interface
|
|
2356
|
+
export interface CreateEventCollaboratorPayload {
|
|
2363
2357
|
/**
|
|
2364
2358
|
* The unique identifier of the customer
|
|
2365
2359
|
* @type {string}
|
|
2366
|
-
* @memberof
|
|
2360
|
+
* @memberof CreateEventCollaboratorPayload
|
|
2367
2361
|
*/
|
|
2368
2362
|
'_id'?: string;
|
|
2369
2363
|
/**
|
|
2370
2364
|
* The name of the customer
|
|
2371
2365
|
* @type {string}
|
|
2372
|
-
* @memberof
|
|
2366
|
+
* @memberof CreateEventCollaboratorPayload
|
|
2373
2367
|
*/
|
|
2374
2368
|
'name'?: string;
|
|
2375
2369
|
/**
|
|
2376
2370
|
* The mobile phone number of the customer
|
|
2377
2371
|
* @type {string}
|
|
2378
|
-
* @memberof
|
|
2372
|
+
* @memberof CreateEventCollaboratorPayload
|
|
2379
2373
|
*/
|
|
2380
2374
|
'mobile'?: string;
|
|
2381
2375
|
/**
|
|
2382
2376
|
* The email address of the customer
|
|
2383
2377
|
* @type {string}
|
|
2384
|
-
* @memberof
|
|
2378
|
+
* @memberof CreateEventCollaboratorPayload
|
|
2385
2379
|
*/
|
|
2386
2380
|
'email'?: string;
|
|
2387
2381
|
/**
|
|
2388
2382
|
* The goodayId for the customer
|
|
2389
2383
|
* @type {string}
|
|
2390
|
-
* @memberof
|
|
2384
|
+
* @memberof CreateEventCollaboratorPayload
|
|
2391
2385
|
*/
|
|
2392
2386
|
'goodayId'?: string;
|
|
2393
2387
|
/**
|
|
2394
2388
|
*
|
|
2395
2389
|
* @type {string}
|
|
2396
|
-
* @memberof
|
|
2390
|
+
* @memberof CreateEventCollaboratorPayload
|
|
2397
2391
|
*/
|
|
2398
|
-
'status'?:
|
|
2392
|
+
'status'?: CreateEventCollaboratorPayloadStatusEnum;
|
|
2399
2393
|
}
|
|
2400
2394
|
|
|
2401
|
-
export const
|
|
2395
|
+
export const CreateEventCollaboratorPayloadStatusEnum = {
|
|
2402
2396
|
Confirmed: 'CONFIRMED',
|
|
2403
2397
|
Unconfirmed: 'UNCONFIRMED',
|
|
2404
2398
|
Rejected: 'REJECTED'
|
|
2405
2399
|
} as const;
|
|
2406
2400
|
|
|
2407
|
-
export type
|
|
2401
|
+
export type CreateEventCollaboratorPayloadStatusEnum = typeof CreateEventCollaboratorPayloadStatusEnum[keyof typeof CreateEventCollaboratorPayloadStatusEnum];
|
|
2408
2402
|
|
|
2409
2403
|
/**
|
|
2410
2404
|
*
|
|
@@ -2449,11 +2443,11 @@ export interface CreateEventPayload {
|
|
|
2449
2443
|
*/
|
|
2450
2444
|
'calendar': Array<string>;
|
|
2451
2445
|
/**
|
|
2452
|
-
* The list of
|
|
2453
|
-
* @type {Array<
|
|
2446
|
+
* The list of collaborators associated with the event
|
|
2447
|
+
* @type {Array<CreateEventCollaboratorPayload>}
|
|
2454
2448
|
* @memberof CreateEventPayload
|
|
2455
2449
|
*/
|
|
2456
|
-
'
|
|
2450
|
+
'collaborators': Array<CreateEventCollaboratorPayload>;
|
|
2457
2451
|
/**
|
|
2458
2452
|
*
|
|
2459
2453
|
* @type {LocationDTO}
|
|
@@ -2533,48 +2527,48 @@ export interface CreateTodoPayload {
|
|
|
2533
2527
|
/**
|
|
2534
2528
|
*
|
|
2535
2529
|
* @export
|
|
2536
|
-
* @interface
|
|
2530
|
+
* @interface CreateWaitlistBookingCollaboratorPayload
|
|
2537
2531
|
*/
|
|
2538
|
-
export interface
|
|
2532
|
+
export interface CreateWaitlistBookingCollaboratorPayload {
|
|
2539
2533
|
/**
|
|
2540
2534
|
* The unique identifier of the customer
|
|
2541
2535
|
* @type {string}
|
|
2542
|
-
* @memberof
|
|
2536
|
+
* @memberof CreateWaitlistBookingCollaboratorPayload
|
|
2543
2537
|
*/
|
|
2544
2538
|
'_id'?: string;
|
|
2545
2539
|
/**
|
|
2546
2540
|
* The name of the customer
|
|
2547
2541
|
* @type {string}
|
|
2548
|
-
* @memberof
|
|
2542
|
+
* @memberof CreateWaitlistBookingCollaboratorPayload
|
|
2549
2543
|
*/
|
|
2550
2544
|
'name'?: string;
|
|
2551
2545
|
/**
|
|
2552
2546
|
* The mobile phone number of the customer
|
|
2553
2547
|
* @type {string}
|
|
2554
|
-
* @memberof
|
|
2548
|
+
* @memberof CreateWaitlistBookingCollaboratorPayload
|
|
2555
2549
|
*/
|
|
2556
2550
|
'mobile'?: string;
|
|
2557
2551
|
/**
|
|
2558
2552
|
* The email address of the customer
|
|
2559
2553
|
* @type {string}
|
|
2560
|
-
* @memberof
|
|
2554
|
+
* @memberof CreateWaitlistBookingCollaboratorPayload
|
|
2561
2555
|
*/
|
|
2562
2556
|
'email'?: string;
|
|
2563
2557
|
/**
|
|
2564
2558
|
* The goodayId for the customer
|
|
2565
2559
|
* @type {string}
|
|
2566
|
-
* @memberof
|
|
2560
|
+
* @memberof CreateWaitlistBookingCollaboratorPayload
|
|
2567
2561
|
*/
|
|
2568
2562
|
'goodayId'?: string;
|
|
2569
2563
|
/**
|
|
2570
2564
|
* Status of the
|
|
2571
2565
|
* @type {string}
|
|
2572
|
-
* @memberof
|
|
2566
|
+
* @memberof CreateWaitlistBookingCollaboratorPayload
|
|
2573
2567
|
*/
|
|
2574
|
-
'status':
|
|
2568
|
+
'status': CreateWaitlistBookingCollaboratorPayloadStatusEnum;
|
|
2575
2569
|
}
|
|
2576
2570
|
|
|
2577
|
-
export const
|
|
2571
|
+
export const CreateWaitlistBookingCollaboratorPayloadStatusEnum = {
|
|
2578
2572
|
CheckedIn: 'CHECKED_IN',
|
|
2579
2573
|
Confirmed: 'CONFIRMED',
|
|
2580
2574
|
Unconfirmed: 'UNCONFIRMED',
|
|
@@ -2584,7 +2578,7 @@ export const CreateWaitlistBookingCustomerPayloadStatusEnum = {
|
|
|
2584
2578
|
Cancelled: 'CANCELLED'
|
|
2585
2579
|
} as const;
|
|
2586
2580
|
|
|
2587
|
-
export type
|
|
2581
|
+
export type CreateWaitlistBookingCollaboratorPayloadStatusEnum = typeof CreateWaitlistBookingCollaboratorPayloadStatusEnum[keyof typeof CreateWaitlistBookingCollaboratorPayloadStatusEnum];
|
|
2588
2582
|
|
|
2589
2583
|
/**
|
|
2590
2584
|
*
|
|
@@ -2918,10 +2912,10 @@ export interface EventResponse {
|
|
|
2918
2912
|
'endDate': string;
|
|
2919
2913
|
/**
|
|
2920
2914
|
* Create event customer
|
|
2921
|
-
* @type {Array<
|
|
2915
|
+
* @type {Array<CreateEventCollaborator>}
|
|
2922
2916
|
* @memberof EventResponse
|
|
2923
2917
|
*/
|
|
2924
|
-
'
|
|
2918
|
+
'collaborators': Array<CreateEventCollaborator>;
|
|
2925
2919
|
/**
|
|
2926
2920
|
* The user details
|
|
2927
2921
|
* @type {Array<UserEntity>}
|
|
@@ -6060,11 +6054,11 @@ export interface WaitlistEntity {
|
|
|
6060
6054
|
*/
|
|
6061
6055
|
'method': WaitlistEntityMethodEnum;
|
|
6062
6056
|
/**
|
|
6063
|
-
* The list of
|
|
6064
|
-
* @type {Array<
|
|
6057
|
+
* The list of collaborators associated with the booking
|
|
6058
|
+
* @type {Array<CreateWaitlistBookingCollaboratorPayload>}
|
|
6065
6059
|
* @memberof WaitlistEntity
|
|
6066
6060
|
*/
|
|
6067
|
-
'
|
|
6061
|
+
'collaborators': Array<CreateWaitlistBookingCollaboratorPayload>;
|
|
6068
6062
|
/**
|
|
6069
6063
|
* Status of the waitlist
|
|
6070
6064
|
* @type {string}
|
|
@@ -6144,11 +6138,11 @@ export interface WaitlistPayloadDTO {
|
|
|
6144
6138
|
*/
|
|
6145
6139
|
'business': string;
|
|
6146
6140
|
/**
|
|
6147
|
-
* The list of
|
|
6148
|
-
* @type {Array<
|
|
6141
|
+
* The list of collaborators associated with the waitlist
|
|
6142
|
+
* @type {Array<CreateWaitlistBookingCollaboratorPayload>}
|
|
6149
6143
|
* @memberof WaitlistPayloadDTO
|
|
6150
6144
|
*/
|
|
6151
|
-
'
|
|
6145
|
+
'collaborators': Array<CreateWaitlistBookingCollaboratorPayload>;
|
|
6152
6146
|
/**
|
|
6153
6147
|
*
|
|
6154
6148
|
* @type {Array<string>}
|
|
@@ -14576,10 +14570,10 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14576
14570
|
* @param {*} [options] Override http request option.
|
|
14577
14571
|
* @throws {RequiredError}
|
|
14578
14572
|
*/
|
|
14579
|
-
|
|
14573
|
+
todoControllerDeleteTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14580
14574
|
// verify required parameter 'id' is not null or undefined
|
|
14581
|
-
assertParamExists('
|
|
14582
|
-
const localVarPath = `/v1/todo/
|
|
14575
|
+
assertParamExists('todoControllerDeleteTodo', 'id', id)
|
|
14576
|
+
const localVarPath = `/v1/todo/{id}`
|
|
14583
14577
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14584
14578
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14585
14579
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -14610,13 +14604,16 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14610
14604
|
/**
|
|
14611
14605
|
*
|
|
14612
14606
|
* @param {string} id
|
|
14607
|
+
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
14613
14608
|
* @param {*} [options] Override http request option.
|
|
14614
14609
|
* @throws {RequiredError}
|
|
14615
14610
|
*/
|
|
14616
|
-
|
|
14611
|
+
todoControllerInviteCollaborator: async (id: string, addCollaboratorPayload: AddCollaboratorPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14617
14612
|
// verify required parameter 'id' is not null or undefined
|
|
14618
|
-
assertParamExists('
|
|
14619
|
-
|
|
14613
|
+
assertParamExists('todoControllerInviteCollaborator', 'id', id)
|
|
14614
|
+
// verify required parameter 'addCollaboratorPayload' is not null or undefined
|
|
14615
|
+
assertParamExists('todoControllerInviteCollaborator', 'addCollaboratorPayload', addCollaboratorPayload)
|
|
14616
|
+
const localVarPath = `/v1/todo/{id}/collaborator`
|
|
14620
14617
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14621
14618
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14622
14619
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -14625,7 +14622,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14625
14622
|
baseOptions = configuration.baseOptions;
|
|
14626
14623
|
}
|
|
14627
14624
|
|
|
14628
|
-
const localVarRequestOptions = { method: '
|
|
14625
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14629
14626
|
const localVarHeaderParameter = {} as any;
|
|
14630
14627
|
const localVarQueryParameter = {} as any;
|
|
14631
14628
|
|
|
@@ -14635,9 +14632,12 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14635
14632
|
|
|
14636
14633
|
|
|
14637
14634
|
|
|
14635
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14636
|
+
|
|
14638
14637
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14639
14638
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14640
14639
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14640
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addCollaboratorPayload, localVarRequestOptions, configuration)
|
|
14641
14641
|
|
|
14642
14642
|
return {
|
|
14643
14643
|
url: toPathString(localVarUrlObj),
|
|
@@ -14646,18 +14646,11 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14646
14646
|
},
|
|
14647
14647
|
/**
|
|
14648
14648
|
*
|
|
14649
|
-
* @param {string} id
|
|
14650
|
-
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
14651
14649
|
* @param {*} [options] Override http request option.
|
|
14652
14650
|
* @throws {RequiredError}
|
|
14653
14651
|
*/
|
|
14654
|
-
|
|
14655
|
-
|
|
14656
|
-
assertParamExists('todoControllerInviteCollaborator', 'id', id)
|
|
14657
|
-
// verify required parameter 'addCollaboratorPayload' is not null or undefined
|
|
14658
|
-
assertParamExists('todoControllerInviteCollaborator', 'addCollaboratorPayload', addCollaboratorPayload)
|
|
14659
|
-
const localVarPath = `/v1/todo/{id}/collaborator`
|
|
14660
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14652
|
+
todoControllerListDelegatedMyFriendsTasks: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14653
|
+
const localVarPath = `/v1/todo/my-friends/task/list`;
|
|
14661
14654
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14662
14655
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14663
14656
|
let baseOptions;
|
|
@@ -14675,12 +14668,9 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14675
14668
|
|
|
14676
14669
|
|
|
14677
14670
|
|
|
14678
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14679
|
-
|
|
14680
14671
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14681
14672
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14682
14673
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14683
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addCollaboratorPayload, localVarRequestOptions, configuration)
|
|
14684
14674
|
|
|
14685
14675
|
return {
|
|
14686
14676
|
url: toPathString(localVarUrlObj),
|
|
@@ -14692,8 +14682,8 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14692
14682
|
* @param {*} [options] Override http request option.
|
|
14693
14683
|
* @throws {RequiredError}
|
|
14694
14684
|
*/
|
|
14695
|
-
|
|
14696
|
-
const localVarPath = `/v1/todo/my
|
|
14685
|
+
todoControllerListDelegatedMyTasks: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14686
|
+
const localVarPath = `/v1/todo/my/task/list`;
|
|
14697
14687
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14698
14688
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14699
14689
|
let baseOptions;
|
|
@@ -14722,11 +14712,14 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14722
14712
|
},
|
|
14723
14713
|
/**
|
|
14724
14714
|
*
|
|
14715
|
+
* @param {ListTaskListPayload} listTaskListPayload
|
|
14725
14716
|
* @param {*} [options] Override http request option.
|
|
14726
14717
|
* @throws {RequiredError}
|
|
14727
14718
|
*/
|
|
14728
|
-
|
|
14729
|
-
|
|
14719
|
+
todoControllerListTasks: async (listTaskListPayload: ListTaskListPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14720
|
+
// verify required parameter 'listTaskListPayload' is not null or undefined
|
|
14721
|
+
assertParamExists('todoControllerListTasks', 'listTaskListPayload', listTaskListPayload)
|
|
14722
|
+
const localVarPath = `/v1/todo/task/list`;
|
|
14730
14723
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14731
14724
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14732
14725
|
let baseOptions;
|
|
@@ -14744,9 +14737,12 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14744
14737
|
|
|
14745
14738
|
|
|
14746
14739
|
|
|
14740
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14741
|
+
|
|
14747
14742
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14748
14743
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14749
14744
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14745
|
+
localVarRequestOptions.data = serializeDataIfNeeded(listTaskListPayload, localVarRequestOptions, configuration)
|
|
14750
14746
|
|
|
14751
14747
|
return {
|
|
14752
14748
|
url: toPathString(localVarUrlObj),
|
|
@@ -14755,14 +14751,11 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14755
14751
|
},
|
|
14756
14752
|
/**
|
|
14757
14753
|
*
|
|
14758
|
-
* @param {ListTaskListPayload} listTaskListPayload
|
|
14759
14754
|
* @param {*} [options] Override http request option.
|
|
14760
14755
|
* @throws {RequiredError}
|
|
14761
14756
|
*/
|
|
14762
|
-
|
|
14763
|
-
|
|
14764
|
-
assertParamExists('todoControllerListTasks', 'listTaskListPayload', listTaskListPayload)
|
|
14765
|
-
const localVarPath = `/v1/todo/task/list`;
|
|
14757
|
+
todoControllerListTodo: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14758
|
+
const localVarPath = `/v1/todo`;
|
|
14766
14759
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14767
14760
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14768
14761
|
let baseOptions;
|
|
@@ -14770,7 +14763,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14770
14763
|
baseOptions = configuration.baseOptions;
|
|
14771
14764
|
}
|
|
14772
14765
|
|
|
14773
|
-
const localVarRequestOptions = { method: '
|
|
14766
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14774
14767
|
const localVarHeaderParameter = {} as any;
|
|
14775
14768
|
const localVarQueryParameter = {} as any;
|
|
14776
14769
|
|
|
@@ -14780,12 +14773,9 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14780
14773
|
|
|
14781
14774
|
|
|
14782
14775
|
|
|
14783
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14784
|
-
|
|
14785
14776
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14786
14777
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14787
14778
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14788
|
-
localVarRequestOptions.data = serializeDataIfNeeded(listTaskListPayload, localVarRequestOptions, configuration)
|
|
14789
14779
|
|
|
14790
14780
|
return {
|
|
14791
14781
|
url: toPathString(localVarUrlObj),
|
|
@@ -14794,11 +14784,15 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14794
14784
|
},
|
|
14795
14785
|
/**
|
|
14796
14786
|
*
|
|
14787
|
+
* @param {string} id
|
|
14797
14788
|
* @param {*} [options] Override http request option.
|
|
14798
14789
|
* @throws {RequiredError}
|
|
14799
14790
|
*/
|
|
14800
|
-
|
|
14801
|
-
|
|
14791
|
+
todoControllerPermanentDeleteTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14792
|
+
// verify required parameter 'id' is not null or undefined
|
|
14793
|
+
assertParamExists('todoControllerPermanentDeleteTask', 'id', id)
|
|
14794
|
+
const localVarPath = `/v1/todo/task/{id}`
|
|
14795
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14802
14796
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14803
14797
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14804
14798
|
let baseOptions;
|
|
@@ -14806,7 +14800,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14806
14800
|
baseOptions = configuration.baseOptions;
|
|
14807
14801
|
}
|
|
14808
14802
|
|
|
14809
|
-
const localVarRequestOptions = { method: '
|
|
14803
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
14810
14804
|
const localVarHeaderParameter = {} as any;
|
|
14811
14805
|
const localVarQueryParameter = {} as any;
|
|
14812
14806
|
|
|
@@ -14849,6 +14843,43 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14849
14843
|
|
|
14850
14844
|
|
|
14851
14845
|
|
|
14846
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14847
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14848
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14849
|
+
|
|
14850
|
+
return {
|
|
14851
|
+
url: toPathString(localVarUrlObj),
|
|
14852
|
+
options: localVarRequestOptions,
|
|
14853
|
+
};
|
|
14854
|
+
},
|
|
14855
|
+
/**
|
|
14856
|
+
*
|
|
14857
|
+
* @param {string} id
|
|
14858
|
+
* @param {*} [options] Override http request option.
|
|
14859
|
+
* @throws {RequiredError}
|
|
14860
|
+
*/
|
|
14861
|
+
todoControllerRemoveTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14862
|
+
// verify required parameter 'id' is not null or undefined
|
|
14863
|
+
assertParamExists('todoControllerRemoveTask', 'id', id)
|
|
14864
|
+
const localVarPath = `/v1/todo/remove/task/{id}`
|
|
14865
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14866
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14867
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14868
|
+
let baseOptions;
|
|
14869
|
+
if (configuration) {
|
|
14870
|
+
baseOptions = configuration.baseOptions;
|
|
14871
|
+
}
|
|
14872
|
+
|
|
14873
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
14874
|
+
const localVarHeaderParameter = {} as any;
|
|
14875
|
+
const localVarQueryParameter = {} as any;
|
|
14876
|
+
|
|
14877
|
+
// authentication bearer required
|
|
14878
|
+
// http bearer authentication required
|
|
14879
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14880
|
+
|
|
14881
|
+
|
|
14882
|
+
|
|
14852
14883
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14853
14884
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14854
14885
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -14897,6 +14928,43 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14897
14928
|
options: localVarRequestOptions,
|
|
14898
14929
|
};
|
|
14899
14930
|
},
|
|
14931
|
+
/**
|
|
14932
|
+
*
|
|
14933
|
+
* @param {string} id
|
|
14934
|
+
* @param {*} [options] Override http request option.
|
|
14935
|
+
* @throws {RequiredError}
|
|
14936
|
+
*/
|
|
14937
|
+
todoControllerRestoreTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14938
|
+
// verify required parameter 'id' is not null or undefined
|
|
14939
|
+
assertParamExists('todoControllerRestoreTask', 'id', id)
|
|
14940
|
+
const localVarPath = `/v1/todo/restore/task/{id}`
|
|
14941
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14942
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14943
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14944
|
+
let baseOptions;
|
|
14945
|
+
if (configuration) {
|
|
14946
|
+
baseOptions = configuration.baseOptions;
|
|
14947
|
+
}
|
|
14948
|
+
|
|
14949
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
14950
|
+
const localVarHeaderParameter = {} as any;
|
|
14951
|
+
const localVarQueryParameter = {} as any;
|
|
14952
|
+
|
|
14953
|
+
// authentication bearer required
|
|
14954
|
+
// http bearer authentication required
|
|
14955
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14956
|
+
|
|
14957
|
+
|
|
14958
|
+
|
|
14959
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14960
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14961
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14962
|
+
|
|
14963
|
+
return {
|
|
14964
|
+
url: toPathString(localVarUrlObj),
|
|
14965
|
+
options: localVarRequestOptions,
|
|
14966
|
+
};
|
|
14967
|
+
},
|
|
14900
14968
|
/**
|
|
14901
14969
|
*
|
|
14902
14970
|
* @param {UndoPayloadDTO} undoPayloadDTO
|
|
@@ -15081,18 +15149,6 @@ export const TodoApiFp = function(configuration?: Configuration) {
|
|
|
15081
15149
|
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerCreateTodo']?.[localVarOperationServerIndex]?.url;
|
|
15082
15150
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15083
15151
|
},
|
|
15084
|
-
/**
|
|
15085
|
-
*
|
|
15086
|
-
* @param {string} id
|
|
15087
|
-
* @param {*} [options] Override http request option.
|
|
15088
|
-
* @throws {RequiredError}
|
|
15089
|
-
*/
|
|
15090
|
-
async todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15091
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerDeleteTask(id, options);
|
|
15092
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15093
|
-
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerDeleteTask']?.[localVarOperationServerIndex]?.url;
|
|
15094
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15095
|
-
},
|
|
15096
15152
|
/**
|
|
15097
15153
|
*
|
|
15098
15154
|
* @param {string} id
|
|
@@ -15163,6 +15219,18 @@ export const TodoApiFp = function(configuration?: Configuration) {
|
|
|
15163
15219
|
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerListTodo']?.[localVarOperationServerIndex]?.url;
|
|
15164
15220
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15165
15221
|
},
|
|
15222
|
+
/**
|
|
15223
|
+
*
|
|
15224
|
+
* @param {string} id
|
|
15225
|
+
* @param {*} [options] Override http request option.
|
|
15226
|
+
* @throws {RequiredError}
|
|
15227
|
+
*/
|
|
15228
|
+
async todoControllerPermanentDeleteTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15229
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerPermanentDeleteTask(id, options);
|
|
15230
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15231
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerPermanentDeleteTask']?.[localVarOperationServerIndex]?.url;
|
|
15232
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15233
|
+
},
|
|
15166
15234
|
/**
|
|
15167
15235
|
*
|
|
15168
15236
|
* @param {string} id
|
|
@@ -15175,6 +15243,18 @@ export const TodoApiFp = function(configuration?: Configuration) {
|
|
|
15175
15243
|
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerRejectTodo']?.[localVarOperationServerIndex]?.url;
|
|
15176
15244
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15177
15245
|
},
|
|
15246
|
+
/**
|
|
15247
|
+
*
|
|
15248
|
+
* @param {string} id
|
|
15249
|
+
* @param {*} [options] Override http request option.
|
|
15250
|
+
* @throws {RequiredError}
|
|
15251
|
+
*/
|
|
15252
|
+
async todoControllerRemoveTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15253
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerRemoveTask(id, options);
|
|
15254
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15255
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerRemoveTask']?.[localVarOperationServerIndex]?.url;
|
|
15256
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15257
|
+
},
|
|
15178
15258
|
/**
|
|
15179
15259
|
*
|
|
15180
15260
|
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
@@ -15187,6 +15267,18 @@ export const TodoApiFp = function(configuration?: Configuration) {
|
|
|
15187
15267
|
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerReorderTask']?.[localVarOperationServerIndex]?.url;
|
|
15188
15268
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15189
15269
|
},
|
|
15270
|
+
/**
|
|
15271
|
+
*
|
|
15272
|
+
* @param {string} id
|
|
15273
|
+
* @param {*} [options] Override http request option.
|
|
15274
|
+
* @throws {RequiredError}
|
|
15275
|
+
*/
|
|
15276
|
+
async todoControllerRestoreTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15277
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerRestoreTask(id, options);
|
|
15278
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15279
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerRestoreTask']?.[localVarOperationServerIndex]?.url;
|
|
15280
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15281
|
+
},
|
|
15190
15282
|
/**
|
|
15191
15283
|
*
|
|
15192
15284
|
* @param {UndoPayloadDTO} undoPayloadDTO
|
|
@@ -15272,15 +15364,6 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
|
|
|
15272
15364
|
todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
15273
15365
|
return localVarFp.todoControllerCreateTodo(createTodoPayload, options).then((request) => request(axios, basePath));
|
|
15274
15366
|
},
|
|
15275
|
-
/**
|
|
15276
|
-
*
|
|
15277
|
-
* @param {string} id
|
|
15278
|
-
* @param {*} [options] Override http request option.
|
|
15279
|
-
* @throws {RequiredError}
|
|
15280
|
-
*/
|
|
15281
|
-
todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
15282
|
-
return localVarFp.todoControllerDeleteTask(id, options).then((request) => request(axios, basePath));
|
|
15283
|
-
},
|
|
15284
15367
|
/**
|
|
15285
15368
|
*
|
|
15286
15369
|
* @param {string} id
|
|
@@ -15333,6 +15416,15 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
|
|
|
15333
15416
|
todoControllerListTodo(options?: RawAxiosRequestConfig): AxiosPromise<TodoListResponseDTO> {
|
|
15334
15417
|
return localVarFp.todoControllerListTodo(options).then((request) => request(axios, basePath));
|
|
15335
15418
|
},
|
|
15419
|
+
/**
|
|
15420
|
+
*
|
|
15421
|
+
* @param {string} id
|
|
15422
|
+
* @param {*} [options] Override http request option.
|
|
15423
|
+
* @throws {RequiredError}
|
|
15424
|
+
*/
|
|
15425
|
+
todoControllerPermanentDeleteTask(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
15426
|
+
return localVarFp.todoControllerPermanentDeleteTask(id, options).then((request) => request(axios, basePath));
|
|
15427
|
+
},
|
|
15336
15428
|
/**
|
|
15337
15429
|
*
|
|
15338
15430
|
* @param {string} id
|
|
@@ -15342,6 +15434,15 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
|
|
|
15342
15434
|
todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
15343
15435
|
return localVarFp.todoControllerRejectTodo(id, options).then((request) => request(axios, basePath));
|
|
15344
15436
|
},
|
|
15437
|
+
/**
|
|
15438
|
+
*
|
|
15439
|
+
* @param {string} id
|
|
15440
|
+
* @param {*} [options] Override http request option.
|
|
15441
|
+
* @throws {RequiredError}
|
|
15442
|
+
*/
|
|
15443
|
+
todoControllerRemoveTask(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
15444
|
+
return localVarFp.todoControllerRemoveTask(id, options).then((request) => request(axios, basePath));
|
|
15445
|
+
},
|
|
15345
15446
|
/**
|
|
15346
15447
|
*
|
|
15347
15448
|
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
@@ -15351,6 +15452,15 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
|
|
|
15351
15452
|
todoControllerReorderTask(taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
15352
15453
|
return localVarFp.todoControllerReorderTask(taskListReorderPayloadDTO, options).then((request) => request(axios, basePath));
|
|
15353
15454
|
},
|
|
15455
|
+
/**
|
|
15456
|
+
*
|
|
15457
|
+
* @param {string} id
|
|
15458
|
+
* @param {*} [options] Override http request option.
|
|
15459
|
+
* @throws {RequiredError}
|
|
15460
|
+
*/
|
|
15461
|
+
todoControllerRestoreTask(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
15462
|
+
return localVarFp.todoControllerRestoreTask(id, options).then((request) => request(axios, basePath));
|
|
15463
|
+
},
|
|
15354
15464
|
/**
|
|
15355
15465
|
*
|
|
15356
15466
|
* @param {UndoPayloadDTO} undoPayloadDTO
|
|
@@ -15435,17 +15545,6 @@ export class TodoApi extends BaseAPI {
|
|
|
15435
15545
|
return TodoApiFp(this.configuration).todoControllerCreateTodo(createTodoPayload, options).then((request) => request(this.axios, this.basePath));
|
|
15436
15546
|
}
|
|
15437
15547
|
|
|
15438
|
-
/**
|
|
15439
|
-
*
|
|
15440
|
-
* @param {string} id
|
|
15441
|
-
* @param {*} [options] Override http request option.
|
|
15442
|
-
* @throws {RequiredError}
|
|
15443
|
-
* @memberof TodoApi
|
|
15444
|
-
*/
|
|
15445
|
-
public todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig) {
|
|
15446
|
-
return TodoApiFp(this.configuration).todoControllerDeleteTask(id, options).then((request) => request(this.axios, this.basePath));
|
|
15447
|
-
}
|
|
15448
|
-
|
|
15449
15548
|
/**
|
|
15450
15549
|
*
|
|
15451
15550
|
* @param {string} id
|
|
@@ -15510,6 +15609,17 @@ export class TodoApi extends BaseAPI {
|
|
|
15510
15609
|
return TodoApiFp(this.configuration).todoControllerListTodo(options).then((request) => request(this.axios, this.basePath));
|
|
15511
15610
|
}
|
|
15512
15611
|
|
|
15612
|
+
/**
|
|
15613
|
+
*
|
|
15614
|
+
* @param {string} id
|
|
15615
|
+
* @param {*} [options] Override http request option.
|
|
15616
|
+
* @throws {RequiredError}
|
|
15617
|
+
* @memberof TodoApi
|
|
15618
|
+
*/
|
|
15619
|
+
public todoControllerPermanentDeleteTask(id: string, options?: RawAxiosRequestConfig) {
|
|
15620
|
+
return TodoApiFp(this.configuration).todoControllerPermanentDeleteTask(id, options).then((request) => request(this.axios, this.basePath));
|
|
15621
|
+
}
|
|
15622
|
+
|
|
15513
15623
|
/**
|
|
15514
15624
|
*
|
|
15515
15625
|
* @param {string} id
|
|
@@ -15521,6 +15631,17 @@ export class TodoApi extends BaseAPI {
|
|
|
15521
15631
|
return TodoApiFp(this.configuration).todoControllerRejectTodo(id, options).then((request) => request(this.axios, this.basePath));
|
|
15522
15632
|
}
|
|
15523
15633
|
|
|
15634
|
+
/**
|
|
15635
|
+
*
|
|
15636
|
+
* @param {string} id
|
|
15637
|
+
* @param {*} [options] Override http request option.
|
|
15638
|
+
* @throws {RequiredError}
|
|
15639
|
+
* @memberof TodoApi
|
|
15640
|
+
*/
|
|
15641
|
+
public todoControllerRemoveTask(id: string, options?: RawAxiosRequestConfig) {
|
|
15642
|
+
return TodoApiFp(this.configuration).todoControllerRemoveTask(id, options).then((request) => request(this.axios, this.basePath));
|
|
15643
|
+
}
|
|
15644
|
+
|
|
15524
15645
|
/**
|
|
15525
15646
|
*
|
|
15526
15647
|
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
@@ -15532,6 +15653,17 @@ export class TodoApi extends BaseAPI {
|
|
|
15532
15653
|
return TodoApiFp(this.configuration).todoControllerReorderTask(taskListReorderPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
15533
15654
|
}
|
|
15534
15655
|
|
|
15656
|
+
/**
|
|
15657
|
+
*
|
|
15658
|
+
* @param {string} id
|
|
15659
|
+
* @param {*} [options] Override http request option.
|
|
15660
|
+
* @throws {RequiredError}
|
|
15661
|
+
* @memberof TodoApi
|
|
15662
|
+
*/
|
|
15663
|
+
public todoControllerRestoreTask(id: string, options?: RawAxiosRequestConfig) {
|
|
15664
|
+
return TodoApiFp(this.configuration).todoControllerRestoreTask(id, options).then((request) => request(this.axios, this.basePath));
|
|
15665
|
+
}
|
|
15666
|
+
|
|
15535
15667
|
/**
|
|
15536
15668
|
*
|
|
15537
15669
|
* @param {UndoPayloadDTO} undoPayloadDTO
|