@gooday_corp/gooday-api-client 1.2.41 → 1.2.43
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 +170 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3443,7 +3443,7 @@ export interface ListTaskListPayload {
|
|
|
3443
3443
|
* @type {string}
|
|
3444
3444
|
* @memberof ListTaskListPayload
|
|
3445
3445
|
*/
|
|
3446
|
-
'todo'
|
|
3446
|
+
'todo'?: string;
|
|
3447
3447
|
/**
|
|
3448
3448
|
* Start date
|
|
3449
3449
|
* @type {string}
|
|
@@ -3456,7 +3456,34 @@ export interface ListTaskListPayload {
|
|
|
3456
3456
|
* @memberof ListTaskListPayload
|
|
3457
3457
|
*/
|
|
3458
3458
|
'end'?: string;
|
|
3459
|
+
/**
|
|
3460
|
+
* Status
|
|
3461
|
+
* @type {string}
|
|
3462
|
+
* @memberof ListTaskListPayload
|
|
3463
|
+
*/
|
|
3464
|
+
'status'?: ListTaskListPayloadStatusEnum;
|
|
3465
|
+
/**
|
|
3466
|
+
*
|
|
3467
|
+
* @type {boolean}
|
|
3468
|
+
* @memberof ListTaskListPayload
|
|
3469
|
+
*/
|
|
3470
|
+
'isDeleted'?: boolean;
|
|
3471
|
+
/**
|
|
3472
|
+
*
|
|
3473
|
+
* @type {boolean}
|
|
3474
|
+
* @memberof ListTaskListPayload
|
|
3475
|
+
*/
|
|
3476
|
+
'urgent'?: boolean;
|
|
3459
3477
|
}
|
|
3478
|
+
|
|
3479
|
+
export const ListTaskListPayloadStatusEnum = {
|
|
3480
|
+
Pending: 'PENDING',
|
|
3481
|
+
Completed: 'COMPLETED',
|
|
3482
|
+
Deleted: 'DELETED'
|
|
3483
|
+
} as const;
|
|
3484
|
+
|
|
3485
|
+
export type ListTaskListPayloadStatusEnum = typeof ListTaskListPayloadStatusEnum[keyof typeof ListTaskListPayloadStatusEnum];
|
|
3486
|
+
|
|
3460
3487
|
/**
|
|
3461
3488
|
*
|
|
3462
3489
|
* @export
|
|
@@ -5134,6 +5161,18 @@ export interface TaskEntity {
|
|
|
5134
5161
|
* @memberof TaskEntity
|
|
5135
5162
|
*/
|
|
5136
5163
|
'position': number;
|
|
5164
|
+
/**
|
|
5165
|
+
*
|
|
5166
|
+
* @type {boolean}
|
|
5167
|
+
* @memberof TaskEntity
|
|
5168
|
+
*/
|
|
5169
|
+
'urgent'?: boolean;
|
|
5170
|
+
/**
|
|
5171
|
+
*
|
|
5172
|
+
* @type {boolean}
|
|
5173
|
+
* @memberof TaskEntity
|
|
5174
|
+
*/
|
|
5175
|
+
'isDeleted'?: boolean;
|
|
5137
5176
|
}
|
|
5138
5177
|
/**
|
|
5139
5178
|
*
|
|
@@ -5357,6 +5396,12 @@ export interface UpdateTaskPayload {
|
|
|
5357
5396
|
* @memberof UpdateTaskPayload
|
|
5358
5397
|
*/
|
|
5359
5398
|
'status'?: string;
|
|
5399
|
+
/**
|
|
5400
|
+
*
|
|
5401
|
+
* @type {boolean}
|
|
5402
|
+
* @memberof UpdateTaskPayload
|
|
5403
|
+
*/
|
|
5404
|
+
'urgent'?: boolean;
|
|
5360
5405
|
}
|
|
5361
5406
|
/**
|
|
5362
5407
|
*
|
|
@@ -13946,6 +13991,72 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
13946
13991
|
options: localVarRequestOptions,
|
|
13947
13992
|
};
|
|
13948
13993
|
},
|
|
13994
|
+
/**
|
|
13995
|
+
*
|
|
13996
|
+
* @param {*} [options] Override http request option.
|
|
13997
|
+
* @throws {RequiredError}
|
|
13998
|
+
*/
|
|
13999
|
+
todoControllerListDelegatedMyFriendsTasks: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14000
|
+
const localVarPath = `/v1/todo/my-friends/task/list`;
|
|
14001
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14002
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14003
|
+
let baseOptions;
|
|
14004
|
+
if (configuration) {
|
|
14005
|
+
baseOptions = configuration.baseOptions;
|
|
14006
|
+
}
|
|
14007
|
+
|
|
14008
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14009
|
+
const localVarHeaderParameter = {} as any;
|
|
14010
|
+
const localVarQueryParameter = {} as any;
|
|
14011
|
+
|
|
14012
|
+
// authentication bearer required
|
|
14013
|
+
// http bearer authentication required
|
|
14014
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14015
|
+
|
|
14016
|
+
|
|
14017
|
+
|
|
14018
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14019
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14020
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14021
|
+
|
|
14022
|
+
return {
|
|
14023
|
+
url: toPathString(localVarUrlObj),
|
|
14024
|
+
options: localVarRequestOptions,
|
|
14025
|
+
};
|
|
14026
|
+
},
|
|
14027
|
+
/**
|
|
14028
|
+
*
|
|
14029
|
+
* @param {*} [options] Override http request option.
|
|
14030
|
+
* @throws {RequiredError}
|
|
14031
|
+
*/
|
|
14032
|
+
todoControllerListDelegatedMyTasks: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14033
|
+
const localVarPath = `/v1/todo/my/task/list`;
|
|
14034
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14035
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14036
|
+
let baseOptions;
|
|
14037
|
+
if (configuration) {
|
|
14038
|
+
baseOptions = configuration.baseOptions;
|
|
14039
|
+
}
|
|
14040
|
+
|
|
14041
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14042
|
+
const localVarHeaderParameter = {} as any;
|
|
14043
|
+
const localVarQueryParameter = {} as any;
|
|
14044
|
+
|
|
14045
|
+
// authentication bearer required
|
|
14046
|
+
// http bearer authentication required
|
|
14047
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14048
|
+
|
|
14049
|
+
|
|
14050
|
+
|
|
14051
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14052
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14053
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14054
|
+
|
|
14055
|
+
return {
|
|
14056
|
+
url: toPathString(localVarUrlObj),
|
|
14057
|
+
options: localVarRequestOptions,
|
|
14058
|
+
};
|
|
14059
|
+
},
|
|
13949
14060
|
/**
|
|
13950
14061
|
*
|
|
13951
14062
|
* @param {ListTaskListPayload} listTaskListPayload
|
|
@@ -14311,6 +14422,28 @@ export const TodoApiFp = function(configuration?: Configuration) {
|
|
|
14311
14422
|
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerInviteCollaborator']?.[localVarOperationServerIndex]?.url;
|
|
14312
14423
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14313
14424
|
},
|
|
14425
|
+
/**
|
|
14426
|
+
*
|
|
14427
|
+
* @param {*} [options] Override http request option.
|
|
14428
|
+
* @throws {RequiredError}
|
|
14429
|
+
*/
|
|
14430
|
+
async todoControllerListDelegatedMyFriendsTasks(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskListResponseDTO>> {
|
|
14431
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerListDelegatedMyFriendsTasks(options);
|
|
14432
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14433
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerListDelegatedMyFriendsTasks']?.[localVarOperationServerIndex]?.url;
|
|
14434
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14435
|
+
},
|
|
14436
|
+
/**
|
|
14437
|
+
*
|
|
14438
|
+
* @param {*} [options] Override http request option.
|
|
14439
|
+
* @throws {RequiredError}
|
|
14440
|
+
*/
|
|
14441
|
+
async todoControllerListDelegatedMyTasks(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskListResponseDTO>> {
|
|
14442
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerListDelegatedMyTasks(options);
|
|
14443
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14444
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerListDelegatedMyTasks']?.[localVarOperationServerIndex]?.url;
|
|
14445
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14446
|
+
},
|
|
14314
14447
|
/**
|
|
14315
14448
|
*
|
|
14316
14449
|
* @param {ListTaskListPayload} listTaskListPayload
|
|
@@ -14471,6 +14604,22 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
|
|
|
14471
14604
|
todoControllerInviteCollaborator(id: string, addCollaboratorPayload: AddCollaboratorPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
14472
14605
|
return localVarFp.todoControllerInviteCollaborator(id, addCollaboratorPayload, options).then((request) => request(axios, basePath));
|
|
14473
14606
|
},
|
|
14607
|
+
/**
|
|
14608
|
+
*
|
|
14609
|
+
* @param {*} [options] Override http request option.
|
|
14610
|
+
* @throws {RequiredError}
|
|
14611
|
+
*/
|
|
14612
|
+
todoControllerListDelegatedMyFriendsTasks(options?: RawAxiosRequestConfig): AxiosPromise<TaskListResponseDTO> {
|
|
14613
|
+
return localVarFp.todoControllerListDelegatedMyFriendsTasks(options).then((request) => request(axios, basePath));
|
|
14614
|
+
},
|
|
14615
|
+
/**
|
|
14616
|
+
*
|
|
14617
|
+
* @param {*} [options] Override http request option.
|
|
14618
|
+
* @throws {RequiredError}
|
|
14619
|
+
*/
|
|
14620
|
+
todoControllerListDelegatedMyTasks(options?: RawAxiosRequestConfig): AxiosPromise<TaskListResponseDTO> {
|
|
14621
|
+
return localVarFp.todoControllerListDelegatedMyTasks(options).then((request) => request(axios, basePath));
|
|
14622
|
+
},
|
|
14474
14623
|
/**
|
|
14475
14624
|
*
|
|
14476
14625
|
* @param {ListTaskListPayload} listTaskListPayload
|
|
@@ -14624,6 +14773,26 @@ export class TodoApi extends BaseAPI {
|
|
|
14624
14773
|
return TodoApiFp(this.configuration).todoControllerInviteCollaborator(id, addCollaboratorPayload, options).then((request) => request(this.axios, this.basePath));
|
|
14625
14774
|
}
|
|
14626
14775
|
|
|
14776
|
+
/**
|
|
14777
|
+
*
|
|
14778
|
+
* @param {*} [options] Override http request option.
|
|
14779
|
+
* @throws {RequiredError}
|
|
14780
|
+
* @memberof TodoApi
|
|
14781
|
+
*/
|
|
14782
|
+
public todoControllerListDelegatedMyFriendsTasks(options?: RawAxiosRequestConfig) {
|
|
14783
|
+
return TodoApiFp(this.configuration).todoControllerListDelegatedMyFriendsTasks(options).then((request) => request(this.axios, this.basePath));
|
|
14784
|
+
}
|
|
14785
|
+
|
|
14786
|
+
/**
|
|
14787
|
+
*
|
|
14788
|
+
* @param {*} [options] Override http request option.
|
|
14789
|
+
* @throws {RequiredError}
|
|
14790
|
+
* @memberof TodoApi
|
|
14791
|
+
*/
|
|
14792
|
+
public todoControllerListDelegatedMyTasks(options?: RawAxiosRequestConfig) {
|
|
14793
|
+
return TodoApiFp(this.configuration).todoControllerListDelegatedMyTasks(options).then((request) => request(this.axios, this.basePath));
|
|
14794
|
+
}
|
|
14795
|
+
|
|
14627
14796
|
/**
|
|
14628
14797
|
*
|
|
14629
14798
|
* @param {ListTaskListPayload} listTaskListPayload
|