@gooday_corp/gooday-api-client 1.2.44 → 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.
Files changed (2) hide show
  1. package/api.ts +337 -122
  2. 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 customers in the booking
486
+ * List of collaborators in the booking
487
487
  * @type {Array<object>}
488
488
  * @memberof BookingEntity
489
489
  */
490
- 'customers': Array<object>;
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 customers associated with the booking
695
- * @type {Array<CreateBookingCustomerPayload>}
694
+ * The list of collaborators associated with the booking
695
+ * @type {Array<CreateBookingCollaboratorPayload>}
696
696
  * @memberof BookingResponse
697
697
  */
698
- 'customers': Array<CreateBookingCustomerPayload>;
698
+ 'collaborators': Array<CreateBookingCollaboratorPayload>;
699
699
  /**
700
700
  * Booking method
701
701
  * @type {string}
@@ -2100,37 +2100,37 @@ export interface CategoryListResponse {
2100
2100
  /**
2101
2101
  *
2102
2102
  * @export
2103
- * @interface CreateBookingCustomerPayload
2103
+ * @interface CreateBookingCollaboratorPayload
2104
2104
  */
2105
- export interface CreateBookingCustomerPayload {
2105
+ export interface CreateBookingCollaboratorPayload {
2106
2106
  /**
2107
2107
  * The unique identifier of the customer
2108
2108
  * @type {string}
2109
- * @memberof CreateBookingCustomerPayload
2109
+ * @memberof CreateBookingCollaboratorPayload
2110
2110
  */
2111
2111
  '_id'?: string;
2112
2112
  /**
2113
2113
  * The name of the customer
2114
2114
  * @type {string}
2115
- * @memberof CreateBookingCustomerPayload
2115
+ * @memberof CreateBookingCollaboratorPayload
2116
2116
  */
2117
2117
  'name'?: string;
2118
2118
  /**
2119
2119
  * The mobile phone number of the customer
2120
2120
  * @type {string}
2121
- * @memberof CreateBookingCustomerPayload
2121
+ * @memberof CreateBookingCollaboratorPayload
2122
2122
  */
2123
2123
  'mobile'?: string;
2124
2124
  /**
2125
2125
  * The email address of the customer
2126
2126
  * @type {string}
2127
- * @memberof CreateBookingCustomerPayload
2127
+ * @memberof CreateBookingCollaboratorPayload
2128
2128
  */
2129
2129
  'email'?: string;
2130
2130
  /**
2131
2131
  * The goodayId for the customer
2132
2132
  * @type {string}
2133
- * @memberof CreateBookingCustomerPayload
2133
+ * @memberof CreateBookingCollaboratorPayload
2134
2134
  */
2135
2135
  'goodayId'?: string;
2136
2136
  }
@@ -2195,11 +2195,11 @@ export interface CreateBookingPayload {
2195
2195
  */
2196
2196
  'paymentMethodId': string;
2197
2197
  /**
2198
- * The list of customers associated with the booking
2199
- * @type {Array<CreateBookingCustomerPayload>}
2198
+ * The list of collaborators associated with the booking
2199
+ * @type {Array<CreateBookingCollaboratorPayload>}
2200
2200
  * @memberof CreateBookingPayload
2201
2201
  */
2202
- 'customers': Array<CreateBookingCustomerPayload>;
2202
+ 'collaborators': Array<CreateBookingCollaboratorPayload>;
2203
2203
  /**
2204
2204
  * Booking method
2205
2205
  * @type {string}
@@ -2314,91 +2314,91 @@ export interface CreateCustomerPayloadDTO {
2314
2314
  /**
2315
2315
  *
2316
2316
  * @export
2317
- * @interface CreateEventCustomer
2317
+ * @interface CreateEventCollaborator
2318
2318
  */
2319
- export interface CreateEventCustomer {
2319
+ export interface CreateEventCollaborator {
2320
2320
  /**
2321
2321
  * The unique identifier of the customer
2322
2322
  * @type {string}
2323
- * @memberof CreateEventCustomer
2323
+ * @memberof CreateEventCollaborator
2324
2324
  */
2325
2325
  '_id'?: string;
2326
2326
  /**
2327
2327
  * The name of the customer
2328
2328
  * @type {string}
2329
- * @memberof CreateEventCustomer
2329
+ * @memberof CreateEventCollaborator
2330
2330
  */
2331
2331
  'name'?: string;
2332
2332
  /**
2333
2333
  * The mobile phone number of the customer
2334
2334
  * @type {string}
2335
- * @memberof CreateEventCustomer
2335
+ * @memberof CreateEventCollaborator
2336
2336
  */
2337
2337
  'mobile'?: string;
2338
2338
  /**
2339
2339
  * The email address of the customer
2340
2340
  * @type {string}
2341
- * @memberof CreateEventCustomer
2341
+ * @memberof CreateEventCollaborator
2342
2342
  */
2343
2343
  'email'?: string;
2344
2344
  /**
2345
2345
  * The goodayId for the customer
2346
2346
  * @type {string}
2347
- * @memberof CreateEventCustomer
2347
+ * @memberof CreateEventCollaborator
2348
2348
  */
2349
2349
  'goodayId'?: string;
2350
2350
  }
2351
2351
  /**
2352
2352
  *
2353
2353
  * @export
2354
- * @interface CreateEventCustomerPayload
2354
+ * @interface CreateEventCollaboratorPayload
2355
2355
  */
2356
- export interface CreateEventCustomerPayload {
2356
+ export interface CreateEventCollaboratorPayload {
2357
2357
  /**
2358
2358
  * The unique identifier of the customer
2359
2359
  * @type {string}
2360
- * @memberof CreateEventCustomerPayload
2360
+ * @memberof CreateEventCollaboratorPayload
2361
2361
  */
2362
2362
  '_id'?: string;
2363
2363
  /**
2364
2364
  * The name of the customer
2365
2365
  * @type {string}
2366
- * @memberof CreateEventCustomerPayload
2366
+ * @memberof CreateEventCollaboratorPayload
2367
2367
  */
2368
2368
  'name'?: string;
2369
2369
  /**
2370
2370
  * The mobile phone number of the customer
2371
2371
  * @type {string}
2372
- * @memberof CreateEventCustomerPayload
2372
+ * @memberof CreateEventCollaboratorPayload
2373
2373
  */
2374
2374
  'mobile'?: string;
2375
2375
  /**
2376
2376
  * The email address of the customer
2377
2377
  * @type {string}
2378
- * @memberof CreateEventCustomerPayload
2378
+ * @memberof CreateEventCollaboratorPayload
2379
2379
  */
2380
2380
  'email'?: string;
2381
2381
  /**
2382
2382
  * The goodayId for the customer
2383
2383
  * @type {string}
2384
- * @memberof CreateEventCustomerPayload
2384
+ * @memberof CreateEventCollaboratorPayload
2385
2385
  */
2386
2386
  'goodayId'?: string;
2387
2387
  /**
2388
2388
  *
2389
2389
  * @type {string}
2390
- * @memberof CreateEventCustomerPayload
2390
+ * @memberof CreateEventCollaboratorPayload
2391
2391
  */
2392
- 'status'?: CreateEventCustomerPayloadStatusEnum;
2392
+ 'status'?: CreateEventCollaboratorPayloadStatusEnum;
2393
2393
  }
2394
2394
 
2395
- export const CreateEventCustomerPayloadStatusEnum = {
2395
+ export const CreateEventCollaboratorPayloadStatusEnum = {
2396
2396
  Confirmed: 'CONFIRMED',
2397
2397
  Unconfirmed: 'UNCONFIRMED',
2398
2398
  Rejected: 'REJECTED'
2399
2399
  } as const;
2400
2400
 
2401
- export type CreateEventCustomerPayloadStatusEnum = typeof CreateEventCustomerPayloadStatusEnum[keyof typeof CreateEventCustomerPayloadStatusEnum];
2401
+ export type CreateEventCollaboratorPayloadStatusEnum = typeof CreateEventCollaboratorPayloadStatusEnum[keyof typeof CreateEventCollaboratorPayloadStatusEnum];
2402
2402
 
2403
2403
  /**
2404
2404
  *
@@ -2443,11 +2443,11 @@ export interface CreateEventPayload {
2443
2443
  */
2444
2444
  'calendar': Array<string>;
2445
2445
  /**
2446
- * The list of customers associated with the event
2447
- * @type {Array<CreateEventCustomerPayload>}
2446
+ * The list of collaborators associated with the event
2447
+ * @type {Array<CreateEventCollaboratorPayload>}
2448
2448
  * @memberof CreateEventPayload
2449
2449
  */
2450
- 'customers': Array<CreateEventCustomerPayload>;
2450
+ 'collaborators': Array<CreateEventCollaboratorPayload>;
2451
2451
  /**
2452
2452
  *
2453
2453
  * @type {LocationDTO}
@@ -2527,48 +2527,48 @@ export interface CreateTodoPayload {
2527
2527
  /**
2528
2528
  *
2529
2529
  * @export
2530
- * @interface CreateWaitlistBookingCustomerPayload
2530
+ * @interface CreateWaitlistBookingCollaboratorPayload
2531
2531
  */
2532
- export interface CreateWaitlistBookingCustomerPayload {
2532
+ export interface CreateWaitlistBookingCollaboratorPayload {
2533
2533
  /**
2534
2534
  * The unique identifier of the customer
2535
2535
  * @type {string}
2536
- * @memberof CreateWaitlistBookingCustomerPayload
2536
+ * @memberof CreateWaitlistBookingCollaboratorPayload
2537
2537
  */
2538
2538
  '_id'?: string;
2539
2539
  /**
2540
2540
  * The name of the customer
2541
2541
  * @type {string}
2542
- * @memberof CreateWaitlistBookingCustomerPayload
2542
+ * @memberof CreateWaitlistBookingCollaboratorPayload
2543
2543
  */
2544
2544
  'name'?: string;
2545
2545
  /**
2546
2546
  * The mobile phone number of the customer
2547
2547
  * @type {string}
2548
- * @memberof CreateWaitlistBookingCustomerPayload
2548
+ * @memberof CreateWaitlistBookingCollaboratorPayload
2549
2549
  */
2550
2550
  'mobile'?: string;
2551
2551
  /**
2552
2552
  * The email address of the customer
2553
2553
  * @type {string}
2554
- * @memberof CreateWaitlistBookingCustomerPayload
2554
+ * @memberof CreateWaitlistBookingCollaboratorPayload
2555
2555
  */
2556
2556
  'email'?: string;
2557
2557
  /**
2558
2558
  * The goodayId for the customer
2559
2559
  * @type {string}
2560
- * @memberof CreateWaitlistBookingCustomerPayload
2560
+ * @memberof CreateWaitlistBookingCollaboratorPayload
2561
2561
  */
2562
2562
  'goodayId'?: string;
2563
2563
  /**
2564
2564
  * Status of the
2565
2565
  * @type {string}
2566
- * @memberof CreateWaitlistBookingCustomerPayload
2566
+ * @memberof CreateWaitlistBookingCollaboratorPayload
2567
2567
  */
2568
- 'status': CreateWaitlistBookingCustomerPayloadStatusEnum;
2568
+ 'status': CreateWaitlistBookingCollaboratorPayloadStatusEnum;
2569
2569
  }
2570
2570
 
2571
- export const CreateWaitlistBookingCustomerPayloadStatusEnum = {
2571
+ export const CreateWaitlistBookingCollaboratorPayloadStatusEnum = {
2572
2572
  CheckedIn: 'CHECKED_IN',
2573
2573
  Confirmed: 'CONFIRMED',
2574
2574
  Unconfirmed: 'UNCONFIRMED',
@@ -2578,7 +2578,7 @@ export const CreateWaitlistBookingCustomerPayloadStatusEnum = {
2578
2578
  Cancelled: 'CANCELLED'
2579
2579
  } as const;
2580
2580
 
2581
- export type CreateWaitlistBookingCustomerPayloadStatusEnum = typeof CreateWaitlistBookingCustomerPayloadStatusEnum[keyof typeof CreateWaitlistBookingCustomerPayloadStatusEnum];
2581
+ export type CreateWaitlistBookingCollaboratorPayloadStatusEnum = typeof CreateWaitlistBookingCollaboratorPayloadStatusEnum[keyof typeof CreateWaitlistBookingCollaboratorPayloadStatusEnum];
2582
2582
 
2583
2583
  /**
2584
2584
  *
@@ -2912,10 +2912,10 @@ export interface EventResponse {
2912
2912
  'endDate': string;
2913
2913
  /**
2914
2914
  * Create event customer
2915
- * @type {Array<CreateEventCustomer>}
2915
+ * @type {Array<CreateEventCollaborator>}
2916
2916
  * @memberof EventResponse
2917
2917
  */
2918
- 'customers': Array<CreateEventCustomer>;
2918
+ 'collaborators': Array<CreateEventCollaborator>;
2919
2919
  /**
2920
2920
  * The user details
2921
2921
  * @type {Array<UserEntity>}
@@ -5389,6 +5389,12 @@ export interface TaskEntity {
5389
5389
  * @memberof TaskEntity
5390
5390
  */
5391
5391
  'isDeleted'?: boolean;
5392
+ /**
5393
+ *
5394
+ * @type {string}
5395
+ * @memberof TaskEntity
5396
+ */
5397
+ 'todo'?: string;
5392
5398
  }
5393
5399
  /**
5394
5400
  *
@@ -6048,11 +6054,11 @@ export interface WaitlistEntity {
6048
6054
  */
6049
6055
  'method': WaitlistEntityMethodEnum;
6050
6056
  /**
6051
- * The list of customers associated with the booking
6052
- * @type {Array<CreateWaitlistBookingCustomerPayload>}
6057
+ * The list of collaborators associated with the booking
6058
+ * @type {Array<CreateWaitlistBookingCollaboratorPayload>}
6053
6059
  * @memberof WaitlistEntity
6054
6060
  */
6055
- 'customers': Array<CreateWaitlistBookingCustomerPayload>;
6061
+ 'collaborators': Array<CreateWaitlistBookingCollaboratorPayload>;
6056
6062
  /**
6057
6063
  * Status of the waitlist
6058
6064
  * @type {string}
@@ -6132,11 +6138,11 @@ export interface WaitlistPayloadDTO {
6132
6138
  */
6133
6139
  'business': string;
6134
6140
  /**
6135
- * The list of customers associated with the waitlist
6136
- * @type {Array<CreateWaitlistBookingCustomerPayload>}
6141
+ * The list of collaborators associated with the waitlist
6142
+ * @type {Array<CreateWaitlistBookingCollaboratorPayload>}
6137
6143
  * @memberof WaitlistPayloadDTO
6138
6144
  */
6139
- 'customers': Array<CreateWaitlistBookingCustomerPayload>;
6145
+ 'collaborators': Array<CreateWaitlistBookingCollaboratorPayload>;
6140
6146
  /**
6141
6147
  *
6142
6148
  * @type {Array<string>}
@@ -7667,6 +7673,45 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
7667
7673
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7668
7674
  localVarRequestOptions.data = serializeDataIfNeeded(rejectBookingInvitePayload, localVarRequestOptions, configuration)
7669
7675
 
7676
+ return {
7677
+ url: toPathString(localVarUrlObj),
7678
+ options: localVarRequestOptions,
7679
+ };
7680
+ },
7681
+ /**
7682
+ *
7683
+ * @param {CreateBookingPayload} createBookingPayload
7684
+ * @param {*} [options] Override http request option.
7685
+ * @throws {RequiredError}
7686
+ */
7687
+ bookingVersion2ControllerCreateBooking: async (createBookingPayload: CreateBookingPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7688
+ // verify required parameter 'createBookingPayload' is not null or undefined
7689
+ assertParamExists('bookingVersion2ControllerCreateBooking', 'createBookingPayload', createBookingPayload)
7690
+ const localVarPath = `/v2/booking`;
7691
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7692
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7693
+ let baseOptions;
7694
+ if (configuration) {
7695
+ baseOptions = configuration.baseOptions;
7696
+ }
7697
+
7698
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
7699
+ const localVarHeaderParameter = {} as any;
7700
+ const localVarQueryParameter = {} as any;
7701
+
7702
+ // authentication bearer required
7703
+ // http bearer authentication required
7704
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
7705
+
7706
+
7707
+
7708
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7709
+
7710
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7711
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7712
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7713
+ localVarRequestOptions.data = serializeDataIfNeeded(createBookingPayload, localVarRequestOptions, configuration)
7714
+
7670
7715
  return {
7671
7716
  url: toPathString(localVarUrlObj),
7672
7717
  options: localVarRequestOptions,
@@ -7766,6 +7811,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
7766
7811
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRejectBookingInvite']?.[localVarOperationServerIndex]?.url;
7767
7812
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7768
7813
  },
7814
+ /**
7815
+ *
7816
+ * @param {CreateBookingPayload} createBookingPayload
7817
+ * @param {*} [options] Override http request option.
7818
+ * @throws {RequiredError}
7819
+ */
7820
+ async bookingVersion2ControllerCreateBooking(createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponseDTO>> {
7821
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingVersion2ControllerCreateBooking(createBookingPayload, options);
7822
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7823
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingVersion2ControllerCreateBooking']?.[localVarOperationServerIndex]?.url;
7824
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7825
+ },
7769
7826
  }
7770
7827
  };
7771
7828
 
@@ -7839,6 +7896,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
7839
7896
  bookingControllerRejectBookingInvite(rejectBookingInvitePayload: RejectBookingInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRequestResponseDTO> {
7840
7897
  return localVarFp.bookingControllerRejectBookingInvite(rejectBookingInvitePayload, options).then((request) => request(axios, basePath));
7841
7898
  },
7899
+ /**
7900
+ *
7901
+ * @param {CreateBookingPayload} createBookingPayload
7902
+ * @param {*} [options] Override http request option.
7903
+ * @throws {RequiredError}
7904
+ */
7905
+ bookingVersion2ControllerCreateBooking(createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
7906
+ return localVarFp.bookingVersion2ControllerCreateBooking(createBookingPayload, options).then((request) => request(axios, basePath));
7907
+ },
7842
7908
  };
7843
7909
  };
7844
7910
 
@@ -7925,6 +7991,17 @@ export class BookingApi extends BaseAPI {
7925
7991
  public bookingControllerRejectBookingInvite(rejectBookingInvitePayload: RejectBookingInvitePayload, options?: RawAxiosRequestConfig) {
7926
7992
  return BookingApiFp(this.configuration).bookingControllerRejectBookingInvite(rejectBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
7927
7993
  }
7994
+
7995
+ /**
7996
+ *
7997
+ * @param {CreateBookingPayload} createBookingPayload
7998
+ * @param {*} [options] Override http request option.
7999
+ * @throws {RequiredError}
8000
+ * @memberof BookingApi
8001
+ */
8002
+ public bookingVersion2ControllerCreateBooking(createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig) {
8003
+ return BookingApiFp(this.configuration).bookingVersion2ControllerCreateBooking(createBookingPayload, options).then((request) => request(this.axios, this.basePath));
8004
+ }
7928
8005
  }
7929
8006
 
7930
8007
 
@@ -14493,10 +14570,10 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14493
14570
  * @param {*} [options] Override http request option.
14494
14571
  * @throws {RequiredError}
14495
14572
  */
14496
- todoControllerDeleteTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14573
+ todoControllerDeleteTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14497
14574
  // verify required parameter 'id' is not null or undefined
14498
- assertParamExists('todoControllerDeleteTask', 'id', id)
14499
- const localVarPath = `/v1/todo/task/{id}`
14575
+ assertParamExists('todoControllerDeleteTodo', 'id', id)
14576
+ const localVarPath = `/v1/todo/{id}`
14500
14577
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
14501
14578
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14502
14579
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -14527,13 +14604,16 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14527
14604
  /**
14528
14605
  *
14529
14606
  * @param {string} id
14607
+ * @param {AddCollaboratorPayload} addCollaboratorPayload
14530
14608
  * @param {*} [options] Override http request option.
14531
14609
  * @throws {RequiredError}
14532
14610
  */
14533
- todoControllerDeleteTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14611
+ todoControllerInviteCollaborator: async (id: string, addCollaboratorPayload: AddCollaboratorPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14534
14612
  // verify required parameter 'id' is not null or undefined
14535
- assertParamExists('todoControllerDeleteTodo', 'id', id)
14536
- const localVarPath = `/v1/todo/{id}`
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`
14537
14617
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
14538
14618
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14539
14619
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -14542,7 +14622,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14542
14622
  baseOptions = configuration.baseOptions;
14543
14623
  }
14544
14624
 
14545
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
14625
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
14546
14626
  const localVarHeaderParameter = {} as any;
14547
14627
  const localVarQueryParameter = {} as any;
14548
14628
 
@@ -14552,9 +14632,12 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14552
14632
 
14553
14633
 
14554
14634
 
14635
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14636
+
14555
14637
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14556
14638
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14557
14639
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14640
+ localVarRequestOptions.data = serializeDataIfNeeded(addCollaboratorPayload, localVarRequestOptions, configuration)
14558
14641
 
14559
14642
  return {
14560
14643
  url: toPathString(localVarUrlObj),
@@ -14563,18 +14646,11 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14563
14646
  },
14564
14647
  /**
14565
14648
  *
14566
- * @param {string} id
14567
- * @param {AddCollaboratorPayload} addCollaboratorPayload
14568
14649
  * @param {*} [options] Override http request option.
14569
14650
  * @throws {RequiredError}
14570
14651
  */
14571
- todoControllerInviteCollaborator: async (id: string, addCollaboratorPayload: AddCollaboratorPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14572
- // verify required parameter 'id' is not null or undefined
14573
- assertParamExists('todoControllerInviteCollaborator', 'id', id)
14574
- // verify required parameter 'addCollaboratorPayload' is not null or undefined
14575
- assertParamExists('todoControllerInviteCollaborator', 'addCollaboratorPayload', addCollaboratorPayload)
14576
- const localVarPath = `/v1/todo/{id}/collaborator`
14577
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
14652
+ todoControllerListDelegatedMyFriendsTasks: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14653
+ const localVarPath = `/v1/todo/my-friends/task/list`;
14578
14654
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14579
14655
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14580
14656
  let baseOptions;
@@ -14592,12 +14668,9 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14592
14668
 
14593
14669
 
14594
14670
 
14595
- localVarHeaderParameter['Content-Type'] = 'application/json';
14596
-
14597
14671
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14598
14672
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14599
14673
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14600
- localVarRequestOptions.data = serializeDataIfNeeded(addCollaboratorPayload, localVarRequestOptions, configuration)
14601
14674
 
14602
14675
  return {
14603
14676
  url: toPathString(localVarUrlObj),
@@ -14609,8 +14682,8 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14609
14682
  * @param {*} [options] Override http request option.
14610
14683
  * @throws {RequiredError}
14611
14684
  */
14612
- todoControllerListDelegatedMyFriendsTasks: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14613
- const localVarPath = `/v1/todo/my-friends/task/list`;
14685
+ todoControllerListDelegatedMyTasks: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14686
+ const localVarPath = `/v1/todo/my/task/list`;
14614
14687
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14615
14688
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14616
14689
  let baseOptions;
@@ -14639,11 +14712,14 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14639
14712
  },
14640
14713
  /**
14641
14714
  *
14715
+ * @param {ListTaskListPayload} listTaskListPayload
14642
14716
  * @param {*} [options] Override http request option.
14643
14717
  * @throws {RequiredError}
14644
14718
  */
14645
- todoControllerListDelegatedMyTasks: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14646
- const localVarPath = `/v1/todo/my/task/list`;
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`;
14647
14723
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14648
14724
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14649
14725
  let baseOptions;
@@ -14661,9 +14737,12 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14661
14737
 
14662
14738
 
14663
14739
 
14740
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14741
+
14664
14742
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14665
14743
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14666
14744
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14745
+ localVarRequestOptions.data = serializeDataIfNeeded(listTaskListPayload, localVarRequestOptions, configuration)
14667
14746
 
14668
14747
  return {
14669
14748
  url: toPathString(localVarUrlObj),
@@ -14672,14 +14751,11 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14672
14751
  },
14673
14752
  /**
14674
14753
  *
14675
- * @param {ListTaskListPayload} listTaskListPayload
14676
14754
  * @param {*} [options] Override http request option.
14677
14755
  * @throws {RequiredError}
14678
14756
  */
14679
- todoControllerListTasks: async (listTaskListPayload: ListTaskListPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14680
- // verify required parameter 'listTaskListPayload' is not null or undefined
14681
- assertParamExists('todoControllerListTasks', 'listTaskListPayload', listTaskListPayload)
14682
- const localVarPath = `/v1/todo/task/list`;
14757
+ todoControllerListTodo: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14758
+ const localVarPath = `/v1/todo`;
14683
14759
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14684
14760
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14685
14761
  let baseOptions;
@@ -14687,7 +14763,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14687
14763
  baseOptions = configuration.baseOptions;
14688
14764
  }
14689
14765
 
14690
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
14766
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
14691
14767
  const localVarHeaderParameter = {} as any;
14692
14768
  const localVarQueryParameter = {} as any;
14693
14769
 
@@ -14697,12 +14773,9 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14697
14773
 
14698
14774
 
14699
14775
 
14700
- localVarHeaderParameter['Content-Type'] = 'application/json';
14701
-
14702
14776
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14703
14777
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14704
14778
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14705
- localVarRequestOptions.data = serializeDataIfNeeded(listTaskListPayload, localVarRequestOptions, configuration)
14706
14779
 
14707
14780
  return {
14708
14781
  url: toPathString(localVarUrlObj),
@@ -14711,11 +14784,15 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14711
14784
  },
14712
14785
  /**
14713
14786
  *
14787
+ * @param {string} id
14714
14788
  * @param {*} [options] Override http request option.
14715
14789
  * @throws {RequiredError}
14716
14790
  */
14717
- todoControllerListTodo: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14718
- const localVarPath = `/v1/todo`;
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)));
14719
14796
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14720
14797
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14721
14798
  let baseOptions;
@@ -14723,7 +14800,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14723
14800
  baseOptions = configuration.baseOptions;
14724
14801
  }
14725
14802
 
14726
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
14803
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
14727
14804
  const localVarHeaderParameter = {} as any;
14728
14805
  const localVarQueryParameter = {} as any;
14729
14806
 
@@ -14766,6 +14843,43 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14766
14843
 
14767
14844
 
14768
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
+
14769
14883
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14770
14884
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14771
14885
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -14814,6 +14928,43 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14814
14928
  options: localVarRequestOptions,
14815
14929
  };
14816
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
+ },
14817
14968
  /**
14818
14969
  *
14819
14970
  * @param {UndoPayloadDTO} undoPayloadDTO
@@ -14998,18 +15149,6 @@ export const TodoApiFp = function(configuration?: Configuration) {
14998
15149
  const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerCreateTodo']?.[localVarOperationServerIndex]?.url;
14999
15150
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15000
15151
  },
15001
- /**
15002
- *
15003
- * @param {string} id
15004
- * @param {*} [options] Override http request option.
15005
- * @throws {RequiredError}
15006
- */
15007
- async todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15008
- const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerDeleteTask(id, options);
15009
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15010
- const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerDeleteTask']?.[localVarOperationServerIndex]?.url;
15011
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15012
- },
15013
15152
  /**
15014
15153
  *
15015
15154
  * @param {string} id
@@ -15080,6 +15219,18 @@ export const TodoApiFp = function(configuration?: Configuration) {
15080
15219
  const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerListTodo']?.[localVarOperationServerIndex]?.url;
15081
15220
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15082
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
+ },
15083
15234
  /**
15084
15235
  *
15085
15236
  * @param {string} id
@@ -15092,6 +15243,18 @@ export const TodoApiFp = function(configuration?: Configuration) {
15092
15243
  const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerRejectTodo']?.[localVarOperationServerIndex]?.url;
15093
15244
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15094
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
+ },
15095
15258
  /**
15096
15259
  *
15097
15260
  * @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
@@ -15104,6 +15267,18 @@ export const TodoApiFp = function(configuration?: Configuration) {
15104
15267
  const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerReorderTask']?.[localVarOperationServerIndex]?.url;
15105
15268
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15106
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
+ },
15107
15282
  /**
15108
15283
  *
15109
15284
  * @param {UndoPayloadDTO} undoPayloadDTO
@@ -15189,15 +15364,6 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
15189
15364
  todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
15190
15365
  return localVarFp.todoControllerCreateTodo(createTodoPayload, options).then((request) => request(axios, basePath));
15191
15366
  },
15192
- /**
15193
- *
15194
- * @param {string} id
15195
- * @param {*} [options] Override http request option.
15196
- * @throws {RequiredError}
15197
- */
15198
- todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
15199
- return localVarFp.todoControllerDeleteTask(id, options).then((request) => request(axios, basePath));
15200
- },
15201
15367
  /**
15202
15368
  *
15203
15369
  * @param {string} id
@@ -15250,6 +15416,15 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
15250
15416
  todoControllerListTodo(options?: RawAxiosRequestConfig): AxiosPromise<TodoListResponseDTO> {
15251
15417
  return localVarFp.todoControllerListTodo(options).then((request) => request(axios, basePath));
15252
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
+ },
15253
15428
  /**
15254
15429
  *
15255
15430
  * @param {string} id
@@ -15259,6 +15434,15 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
15259
15434
  todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
15260
15435
  return localVarFp.todoControllerRejectTodo(id, options).then((request) => request(axios, basePath));
15261
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
+ },
15262
15446
  /**
15263
15447
  *
15264
15448
  * @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
@@ -15268,6 +15452,15 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
15268
15452
  todoControllerReorderTask(taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
15269
15453
  return localVarFp.todoControllerReorderTask(taskListReorderPayloadDTO, options).then((request) => request(axios, basePath));
15270
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
+ },
15271
15464
  /**
15272
15465
  *
15273
15466
  * @param {UndoPayloadDTO} undoPayloadDTO
@@ -15352,17 +15545,6 @@ export class TodoApi extends BaseAPI {
15352
15545
  return TodoApiFp(this.configuration).todoControllerCreateTodo(createTodoPayload, options).then((request) => request(this.axios, this.basePath));
15353
15546
  }
15354
15547
 
15355
- /**
15356
- *
15357
- * @param {string} id
15358
- * @param {*} [options] Override http request option.
15359
- * @throws {RequiredError}
15360
- * @memberof TodoApi
15361
- */
15362
- public todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig) {
15363
- return TodoApiFp(this.configuration).todoControllerDeleteTask(id, options).then((request) => request(this.axios, this.basePath));
15364
- }
15365
-
15366
15548
  /**
15367
15549
  *
15368
15550
  * @param {string} id
@@ -15427,6 +15609,17 @@ export class TodoApi extends BaseAPI {
15427
15609
  return TodoApiFp(this.configuration).todoControllerListTodo(options).then((request) => request(this.axios, this.basePath));
15428
15610
  }
15429
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
+
15430
15623
  /**
15431
15624
  *
15432
15625
  * @param {string} id
@@ -15438,6 +15631,17 @@ export class TodoApi extends BaseAPI {
15438
15631
  return TodoApiFp(this.configuration).todoControllerRejectTodo(id, options).then((request) => request(this.axios, this.basePath));
15439
15632
  }
15440
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
+
15441
15645
  /**
15442
15646
  *
15443
15647
  * @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
@@ -15449,6 +15653,17 @@ export class TodoApi extends BaseAPI {
15449
15653
  return TodoApiFp(this.configuration).todoControllerReorderTask(taskListReorderPayloadDTO, options).then((request) => request(this.axios, this.basePath));
15450
15654
  }
15451
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
+
15452
15667
  /**
15453
15668
  *
15454
15669
  * @param {UndoPayloadDTO} undoPayloadDTO
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.2.44",
3
+ "version": "1.2.49-alpha",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},