@gooday_corp/gooday-api-client 1.2.46 → 1.2.49

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 +195 -63
  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,43 +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
- /**
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 CreateBookingCustomerPayload
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 CreateBookingCustomerPayload
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 CreateBookingCustomerPayload
2127
+ * @memberof CreateBookingCollaboratorPayload
2134
2128
  */
2135
2129
  'email'?: string;
2136
2130
  /**
2137
2131
  * The goodayId for the customer
2138
2132
  * @type {string}
2139
- * @memberof CreateBookingCustomerPayload
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 customers associated with the booking
2205
- * @type {Array<CreateBookingCustomerPayload>}
2198
+ * The list of collaborators associated with the booking
2199
+ * @type {Array<CreateBookingCollaboratorPayload>}
2206
2200
  * @memberof CreateBookingPayload
2207
2201
  */
2208
- 'customers': Array<CreateBookingCustomerPayload>;
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 CreateEventCustomer
2317
+ * @interface CreateEventCollaborator
2324
2318
  */
2325
- export interface CreateEventCustomer {
2319
+ export interface CreateEventCollaborator {
2326
2320
  /**
2327
2321
  * The unique identifier of the customer
2328
2322
  * @type {string}
2329
- * @memberof CreateEventCustomer
2323
+ * @memberof CreateEventCollaborator
2330
2324
  */
2331
2325
  '_id'?: string;
2332
2326
  /**
2333
2327
  * The name of the customer
2334
2328
  * @type {string}
2335
- * @memberof CreateEventCustomer
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 CreateEventCustomer
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 CreateEventCustomer
2341
+ * @memberof CreateEventCollaborator
2348
2342
  */
2349
2343
  'email'?: string;
2350
2344
  /**
2351
2345
  * The goodayId for the customer
2352
2346
  * @type {string}
2353
- * @memberof CreateEventCustomer
2347
+ * @memberof CreateEventCollaborator
2354
2348
  */
2355
2349
  'goodayId'?: string;
2356
2350
  }
2357
2351
  /**
2358
2352
  *
2359
2353
  * @export
2360
- * @interface CreateEventCustomerPayload
2354
+ * @interface CreateEventCollaboratorPayload
2361
2355
  */
2362
- export interface CreateEventCustomerPayload {
2356
+ export interface CreateEventCollaboratorPayload {
2363
2357
  /**
2364
2358
  * The unique identifier of the customer
2365
2359
  * @type {string}
2366
- * @memberof CreateEventCustomerPayload
2360
+ * @memberof CreateEventCollaboratorPayload
2367
2361
  */
2368
2362
  '_id'?: string;
2369
2363
  /**
2370
2364
  * The name of the customer
2371
2365
  * @type {string}
2372
- * @memberof CreateEventCustomerPayload
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 CreateEventCustomerPayload
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 CreateEventCustomerPayload
2378
+ * @memberof CreateEventCollaboratorPayload
2385
2379
  */
2386
2380
  'email'?: string;
2387
2381
  /**
2388
2382
  * The goodayId for the customer
2389
2383
  * @type {string}
2390
- * @memberof CreateEventCustomerPayload
2384
+ * @memberof CreateEventCollaboratorPayload
2391
2385
  */
2392
2386
  'goodayId'?: string;
2393
2387
  /**
2394
2388
  *
2395
2389
  * @type {string}
2396
- * @memberof CreateEventCustomerPayload
2390
+ * @memberof CreateEventCollaboratorPayload
2397
2391
  */
2398
- 'status'?: CreateEventCustomerPayloadStatusEnum;
2392
+ 'status'?: CreateEventCollaboratorPayloadStatusEnum;
2399
2393
  }
2400
2394
 
2401
- export const CreateEventCustomerPayloadStatusEnum = {
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 CreateEventCustomerPayloadStatusEnum = typeof CreateEventCustomerPayloadStatusEnum[keyof typeof CreateEventCustomerPayloadStatusEnum];
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 customers associated with the event
2453
- * @type {Array<CreateEventCustomerPayload>}
2446
+ * The list of collaborators associated with the event
2447
+ * @type {Array<CreateEventCollaboratorPayload>}
2454
2448
  * @memberof CreateEventPayload
2455
2449
  */
2456
- 'customers': Array<CreateEventCustomerPayload>;
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 CreateWaitlistBookingCustomerPayload
2530
+ * @interface CreateWaitlistBookingCollaboratorPayload
2537
2531
  */
2538
- export interface CreateWaitlistBookingCustomerPayload {
2532
+ export interface CreateWaitlistBookingCollaboratorPayload {
2539
2533
  /**
2540
2534
  * The unique identifier of the customer
2541
2535
  * @type {string}
2542
- * @memberof CreateWaitlistBookingCustomerPayload
2536
+ * @memberof CreateWaitlistBookingCollaboratorPayload
2543
2537
  */
2544
2538
  '_id'?: string;
2545
2539
  /**
2546
2540
  * The name of the customer
2547
2541
  * @type {string}
2548
- * @memberof CreateWaitlistBookingCustomerPayload
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 CreateWaitlistBookingCustomerPayload
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 CreateWaitlistBookingCustomerPayload
2554
+ * @memberof CreateWaitlistBookingCollaboratorPayload
2561
2555
  */
2562
2556
  'email'?: string;
2563
2557
  /**
2564
2558
  * The goodayId for the customer
2565
2559
  * @type {string}
2566
- * @memberof CreateWaitlistBookingCustomerPayload
2560
+ * @memberof CreateWaitlistBookingCollaboratorPayload
2567
2561
  */
2568
2562
  'goodayId'?: string;
2569
2563
  /**
2570
2564
  * Status of the
2571
2565
  * @type {string}
2572
- * @memberof CreateWaitlistBookingCustomerPayload
2566
+ * @memberof CreateWaitlistBookingCollaboratorPayload
2573
2567
  */
2574
- 'status': CreateWaitlistBookingCustomerPayloadStatusEnum;
2568
+ 'status': CreateWaitlistBookingCollaboratorPayloadStatusEnum;
2575
2569
  }
2576
2570
 
2577
- export const CreateWaitlistBookingCustomerPayloadStatusEnum = {
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 CreateWaitlistBookingCustomerPayloadStatusEnum = typeof CreateWaitlistBookingCustomerPayloadStatusEnum[keyof typeof CreateWaitlistBookingCustomerPayloadStatusEnum];
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<CreateEventCustomer>}
2915
+ * @type {Array<CreateEventCollaborator>}
2922
2916
  * @memberof EventResponse
2923
2917
  */
2924
- 'customers': Array<CreateEventCustomer>;
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 customers associated with the booking
6064
- * @type {Array<CreateWaitlistBookingCustomerPayload>}
6057
+ * The list of collaborators associated with the booking
6058
+ * @type {Array<CreateWaitlistBookingCollaboratorPayload>}
6065
6059
  * @memberof WaitlistEntity
6066
6060
  */
6067
- 'customers': Array<CreateWaitlistBookingCustomerPayload>;
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 customers associated with the waitlist
6148
- * @type {Array<CreateWaitlistBookingCustomerPayload>}
6141
+ * The list of collaborators associated with the waitlist
6142
+ * @type {Array<CreateWaitlistBookingCollaboratorPayload>}
6149
6143
  * @memberof WaitlistPayloadDTO
6150
6144
  */
6151
- 'customers': Array<CreateWaitlistBookingCustomerPayload>;
6145
+ 'collaborators': Array<CreateWaitlistBookingCollaboratorPayload>;
6152
6146
  /**
6153
6147
  *
6154
6148
  * @type {Array<string>}
@@ -14579,7 +14573,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14579
14573
  todoControllerDeleteTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14580
14574
  // verify required parameter 'id' is not null or undefined
14581
14575
  assertParamExists('todoControllerDeleteTask', 'id', id)
14582
- const localVarPath = `/v1/todo/task/{id}`
14576
+ const localVarPath = `/v1/todo/remove/task/{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);
@@ -14588,7 +14582,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14588
14582
  baseOptions = configuration.baseOptions;
14589
14583
  }
14590
14584
 
14591
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
14585
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
14592
14586
  const localVarHeaderParameter = {} as any;
14593
14587
  const localVarQueryParameter = {} as any;
14594
14588
 
@@ -14816,6 +14810,43 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
14816
14810
 
14817
14811
 
14818
14812
 
14813
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14814
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14815
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14816
+
14817
+ return {
14818
+ url: toPathString(localVarUrlObj),
14819
+ options: localVarRequestOptions,
14820
+ };
14821
+ },
14822
+ /**
14823
+ *
14824
+ * @param {string} id
14825
+ * @param {*} [options] Override http request option.
14826
+ * @throws {RequiredError}
14827
+ */
14828
+ todoControllerPermentDeleteTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14829
+ // verify required parameter 'id' is not null or undefined
14830
+ assertParamExists('todoControllerPermentDeleteTask', 'id', id)
14831
+ const localVarPath = `/v1/todo/task/{id}`
14832
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
14833
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14834
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14835
+ let baseOptions;
14836
+ if (configuration) {
14837
+ baseOptions = configuration.baseOptions;
14838
+ }
14839
+
14840
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
14841
+ const localVarHeaderParameter = {} as any;
14842
+ const localVarQueryParameter = {} as any;
14843
+
14844
+ // authentication bearer required
14845
+ // http bearer authentication required
14846
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
14847
+
14848
+
14849
+
14819
14850
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14820
14851
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14821
14852
  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
@@ -15163,6 +15231,18 @@ export const TodoApiFp = function(configuration?: Configuration) {
15163
15231
  const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerListTodo']?.[localVarOperationServerIndex]?.url;
15164
15232
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15165
15233
  },
15234
+ /**
15235
+ *
15236
+ * @param {string} id
15237
+ * @param {*} [options] Override http request option.
15238
+ * @throws {RequiredError}
15239
+ */
15240
+ async todoControllerPermentDeleteTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
15241
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerPermentDeleteTask(id, options);
15242
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15243
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerPermentDeleteTask']?.[localVarOperationServerIndex]?.url;
15244
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15245
+ },
15166
15246
  /**
15167
15247
  *
15168
15248
  * @param {string} id
@@ -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
@@ -15333,6 +15425,15 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
15333
15425
  todoControllerListTodo(options?: RawAxiosRequestConfig): AxiosPromise<TodoListResponseDTO> {
15334
15426
  return localVarFp.todoControllerListTodo(options).then((request) => request(axios, basePath));
15335
15427
  },
15428
+ /**
15429
+ *
15430
+ * @param {string} id
15431
+ * @param {*} [options] Override http request option.
15432
+ * @throws {RequiredError}
15433
+ */
15434
+ todoControllerPermentDeleteTask(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
15435
+ return localVarFp.todoControllerPermentDeleteTask(id, options).then((request) => request(axios, basePath));
15436
+ },
15336
15437
  /**
15337
15438
  *
15338
15439
  * @param {string} id
@@ -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
@@ -15510,6 +15620,17 @@ export class TodoApi extends BaseAPI {
15510
15620
  return TodoApiFp(this.configuration).todoControllerListTodo(options).then((request) => request(this.axios, this.basePath));
15511
15621
  }
15512
15622
 
15623
+ /**
15624
+ *
15625
+ * @param {string} id
15626
+ * @param {*} [options] Override http request option.
15627
+ * @throws {RequiredError}
15628
+ * @memberof TodoApi
15629
+ */
15630
+ public todoControllerPermentDeleteTask(id: string, options?: RawAxiosRequestConfig) {
15631
+ return TodoApiFp(this.configuration).todoControllerPermentDeleteTask(id, options).then((request) => request(this.axios, this.basePath));
15632
+ }
15633
+
15513
15634
  /**
15514
15635
  *
15515
15636
  * @param {string} id
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.2.46",
3
+ "version": "1.2.49",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},