@gooday_corp/gooday-api-client 1.1.15 → 1.1.16
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 +1278 -7
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -62,6 +62,19 @@ export interface AcceptEventInvitePayload {
|
|
|
62
62
|
*/
|
|
63
63
|
'event': string;
|
|
64
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @export
|
|
68
|
+
* @interface AddCollaboratorPayload
|
|
69
|
+
*/
|
|
70
|
+
export interface AddCollaboratorPayload {
|
|
71
|
+
/**
|
|
72
|
+
* List of collaborators for the todo
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof AddCollaboratorPayload
|
|
75
|
+
*/
|
|
76
|
+
'collaborators': Array<string>;
|
|
77
|
+
}
|
|
65
78
|
/**
|
|
66
79
|
*
|
|
67
80
|
* @export
|
|
@@ -156,6 +169,25 @@ export interface ApproveFriendshipRequestPayload {
|
|
|
156
169
|
*/
|
|
157
170
|
'from': string;
|
|
158
171
|
}
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @export
|
|
175
|
+
* @interface AssignTaskPayload
|
|
176
|
+
*/
|
|
177
|
+
export interface AssignTaskPayload {
|
|
178
|
+
/**
|
|
179
|
+
* List of assignee for the task
|
|
180
|
+
* @type {Array<string>}
|
|
181
|
+
* @memberof AssignTaskPayload
|
|
182
|
+
*/
|
|
183
|
+
'assignee': Array<string>;
|
|
184
|
+
/**
|
|
185
|
+
* Note of task
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof AssignTaskPayload
|
|
188
|
+
*/
|
|
189
|
+
'note': string;
|
|
190
|
+
}
|
|
159
191
|
/**
|
|
160
192
|
*
|
|
161
193
|
* @export
|
|
@@ -1357,6 +1389,38 @@ export interface CreatePaymentLinkDTO {
|
|
|
1357
1389
|
*/
|
|
1358
1390
|
'user': string;
|
|
1359
1391
|
}
|
|
1392
|
+
/**
|
|
1393
|
+
*
|
|
1394
|
+
* @export
|
|
1395
|
+
* @interface CreateTaskPayload
|
|
1396
|
+
*/
|
|
1397
|
+
export interface CreateTaskPayload {
|
|
1398
|
+
/**
|
|
1399
|
+
* ID of the associated todo item
|
|
1400
|
+
* @type {string}
|
|
1401
|
+
* @memberof CreateTaskPayload
|
|
1402
|
+
*/
|
|
1403
|
+
'todo': string;
|
|
1404
|
+
/**
|
|
1405
|
+
* Content of the task
|
|
1406
|
+
* @type {string}
|
|
1407
|
+
* @memberof CreateTaskPayload
|
|
1408
|
+
*/
|
|
1409
|
+
'content': string;
|
|
1410
|
+
}
|
|
1411
|
+
/**
|
|
1412
|
+
*
|
|
1413
|
+
* @export
|
|
1414
|
+
* @interface CreateTodoPayload
|
|
1415
|
+
*/
|
|
1416
|
+
export interface CreateTodoPayload {
|
|
1417
|
+
/**
|
|
1418
|
+
* Name of the todo
|
|
1419
|
+
* @type {string}
|
|
1420
|
+
* @memberof CreateTodoPayload
|
|
1421
|
+
*/
|
|
1422
|
+
'name': string;
|
|
1423
|
+
}
|
|
1360
1424
|
/**
|
|
1361
1425
|
*
|
|
1362
1426
|
* @export
|
|
@@ -1977,6 +2041,19 @@ export interface IntegrationsResponse {
|
|
|
1977
2041
|
*/
|
|
1978
2042
|
'data': Array<IntegrationEntity>;
|
|
1979
2043
|
}
|
|
2044
|
+
/**
|
|
2045
|
+
*
|
|
2046
|
+
* @export
|
|
2047
|
+
* @interface ListTaskListPayload
|
|
2048
|
+
*/
|
|
2049
|
+
export interface ListTaskListPayload {
|
|
2050
|
+
/**
|
|
2051
|
+
* ID of the associated todo item
|
|
2052
|
+
* @type {string}
|
|
2053
|
+
* @memberof ListTaskListPayload
|
|
2054
|
+
*/
|
|
2055
|
+
'todo': string;
|
|
2056
|
+
}
|
|
1980
2057
|
/**
|
|
1981
2058
|
*
|
|
1982
2059
|
* @export
|
|
@@ -2987,6 +3064,207 @@ export interface StripeSetupPaymentIntentDTO {
|
|
|
2987
3064
|
*/
|
|
2988
3065
|
'clientSecret': string;
|
|
2989
3066
|
}
|
|
3067
|
+
/**
|
|
3068
|
+
*
|
|
3069
|
+
* @export
|
|
3070
|
+
* @interface TaskDetailResponseDTO
|
|
3071
|
+
*/
|
|
3072
|
+
export interface TaskDetailResponseDTO {
|
|
3073
|
+
/**
|
|
3074
|
+
* statusCode
|
|
3075
|
+
* @type {number}
|
|
3076
|
+
* @memberof TaskDetailResponseDTO
|
|
3077
|
+
*/
|
|
3078
|
+
'statusCode': number;
|
|
3079
|
+
/**
|
|
3080
|
+
* Booking
|
|
3081
|
+
* @type {TodoEntity}
|
|
3082
|
+
* @memberof TaskDetailResponseDTO
|
|
3083
|
+
*/
|
|
3084
|
+
'data': TodoEntity;
|
|
3085
|
+
}
|
|
3086
|
+
/**
|
|
3087
|
+
*
|
|
3088
|
+
* @export
|
|
3089
|
+
* @interface TaskEntity
|
|
3090
|
+
*/
|
|
3091
|
+
export interface TaskEntity {
|
|
3092
|
+
/**
|
|
3093
|
+
* Unique identifier for the todo item
|
|
3094
|
+
* @type {string}
|
|
3095
|
+
* @memberof TaskEntity
|
|
3096
|
+
*/
|
|
3097
|
+
'id': string;
|
|
3098
|
+
/**
|
|
3099
|
+
* Content of the todo item
|
|
3100
|
+
* @type {string}
|
|
3101
|
+
* @memberof TaskEntity
|
|
3102
|
+
*/
|
|
3103
|
+
'content': string;
|
|
3104
|
+
/**
|
|
3105
|
+
* Created by of the todo item
|
|
3106
|
+
* @type {string}
|
|
3107
|
+
* @memberof TaskEntity
|
|
3108
|
+
*/
|
|
3109
|
+
'createdBy': string;
|
|
3110
|
+
/**
|
|
3111
|
+
* Assigned to
|
|
3112
|
+
* @type {Array<string>}
|
|
3113
|
+
* @memberof TaskEntity
|
|
3114
|
+
*/
|
|
3115
|
+
'assignedTo': Array<string>;
|
|
3116
|
+
/**
|
|
3117
|
+
* Status
|
|
3118
|
+
* @type {string}
|
|
3119
|
+
* @memberof TaskEntity
|
|
3120
|
+
*/
|
|
3121
|
+
'status': string;
|
|
3122
|
+
/**
|
|
3123
|
+
* Position
|
|
3124
|
+
* @type {number}
|
|
3125
|
+
* @memberof TaskEntity
|
|
3126
|
+
*/
|
|
3127
|
+
'position': number;
|
|
3128
|
+
}
|
|
3129
|
+
/**
|
|
3130
|
+
*
|
|
3131
|
+
* @export
|
|
3132
|
+
* @interface TaskListReorderPayloadDTO
|
|
3133
|
+
*/
|
|
3134
|
+
export interface TaskListReorderPayloadDTO {
|
|
3135
|
+
/**
|
|
3136
|
+
* Unique identifier for the todo item
|
|
3137
|
+
* @type {string}
|
|
3138
|
+
* @memberof TaskListReorderPayloadDTO
|
|
3139
|
+
*/
|
|
3140
|
+
'id': string;
|
|
3141
|
+
/**
|
|
3142
|
+
* Position of todo item
|
|
3143
|
+
* @type {number}
|
|
3144
|
+
* @memberof TaskListReorderPayloadDTO
|
|
3145
|
+
*/
|
|
3146
|
+
'position': number;
|
|
3147
|
+
}
|
|
3148
|
+
/**
|
|
3149
|
+
*
|
|
3150
|
+
* @export
|
|
3151
|
+
* @interface TaskListResponseDTO
|
|
3152
|
+
*/
|
|
3153
|
+
export interface TaskListResponseDTO {
|
|
3154
|
+
/**
|
|
3155
|
+
* statusCode
|
|
3156
|
+
* @type {number}
|
|
3157
|
+
* @memberof TaskListResponseDTO
|
|
3158
|
+
*/
|
|
3159
|
+
'statusCode': number;
|
|
3160
|
+
/**
|
|
3161
|
+
* Booking
|
|
3162
|
+
* @type {Array<TaskEntity>}
|
|
3163
|
+
* @memberof TaskListResponseDTO
|
|
3164
|
+
*/
|
|
3165
|
+
'data': Array<TaskEntity>;
|
|
3166
|
+
}
|
|
3167
|
+
/**
|
|
3168
|
+
*
|
|
3169
|
+
* @export
|
|
3170
|
+
* @interface TodoDetailResponseDTO
|
|
3171
|
+
*/
|
|
3172
|
+
export interface TodoDetailResponseDTO {
|
|
3173
|
+
/**
|
|
3174
|
+
* statusCode
|
|
3175
|
+
* @type {number}
|
|
3176
|
+
* @memberof TodoDetailResponseDTO
|
|
3177
|
+
*/
|
|
3178
|
+
'statusCode': number;
|
|
3179
|
+
/**
|
|
3180
|
+
* Booking
|
|
3181
|
+
* @type {TodoEntity}
|
|
3182
|
+
* @memberof TodoDetailResponseDTO
|
|
3183
|
+
*/
|
|
3184
|
+
'data': TodoEntity;
|
|
3185
|
+
}
|
|
3186
|
+
/**
|
|
3187
|
+
*
|
|
3188
|
+
* @export
|
|
3189
|
+
* @interface TodoEntity
|
|
3190
|
+
*/
|
|
3191
|
+
export interface TodoEntity {
|
|
3192
|
+
/**
|
|
3193
|
+
* Unique identifier for the todo item
|
|
3194
|
+
* @type {string}
|
|
3195
|
+
* @memberof TodoEntity
|
|
3196
|
+
*/
|
|
3197
|
+
'id': string;
|
|
3198
|
+
/**
|
|
3199
|
+
* Name of the todo item
|
|
3200
|
+
* @type {string}
|
|
3201
|
+
* @memberof TodoEntity
|
|
3202
|
+
*/
|
|
3203
|
+
'name': string;
|
|
3204
|
+
/**
|
|
3205
|
+
* List of collaborators for the todo
|
|
3206
|
+
* @type {Array<string>}
|
|
3207
|
+
* @memberof TodoEntity
|
|
3208
|
+
*/
|
|
3209
|
+
'collaborators': Array<string>;
|
|
3210
|
+
/**
|
|
3211
|
+
* Owner of the todo item
|
|
3212
|
+
* @type {string}
|
|
3213
|
+
* @memberof TodoEntity
|
|
3214
|
+
*/
|
|
3215
|
+
'owner': string;
|
|
3216
|
+
}
|
|
3217
|
+
/**
|
|
3218
|
+
*
|
|
3219
|
+
* @export
|
|
3220
|
+
* @interface TodoListResponseDTO
|
|
3221
|
+
*/
|
|
3222
|
+
export interface TodoListResponseDTO {
|
|
3223
|
+
/**
|
|
3224
|
+
* statusCode
|
|
3225
|
+
* @type {number}
|
|
3226
|
+
* @memberof TodoListResponseDTO
|
|
3227
|
+
*/
|
|
3228
|
+
'statusCode': number;
|
|
3229
|
+
/**
|
|
3230
|
+
* Booking
|
|
3231
|
+
* @type {Array<TodoEntity>}
|
|
3232
|
+
* @memberof TodoListResponseDTO
|
|
3233
|
+
*/
|
|
3234
|
+
'data': Array<TodoEntity>;
|
|
3235
|
+
}
|
|
3236
|
+
/**
|
|
3237
|
+
*
|
|
3238
|
+
* @export
|
|
3239
|
+
* @interface UpdateTaskPayload
|
|
3240
|
+
*/
|
|
3241
|
+
export interface UpdateTaskPayload {
|
|
3242
|
+
/**
|
|
3243
|
+
* Content of the task
|
|
3244
|
+
* @type {string}
|
|
3245
|
+
* @memberof UpdateTaskPayload
|
|
3246
|
+
*/
|
|
3247
|
+
'content'?: string;
|
|
3248
|
+
/**
|
|
3249
|
+
* Status of the task
|
|
3250
|
+
* @type {string}
|
|
3251
|
+
* @memberof UpdateTaskPayload
|
|
3252
|
+
*/
|
|
3253
|
+
'status'?: string;
|
|
3254
|
+
}
|
|
3255
|
+
/**
|
|
3256
|
+
*
|
|
3257
|
+
* @export
|
|
3258
|
+
* @interface UpdateTodoPayload
|
|
3259
|
+
*/
|
|
3260
|
+
export interface UpdateTodoPayload {
|
|
3261
|
+
/**
|
|
3262
|
+
* Name of the todo
|
|
3263
|
+
* @type {string}
|
|
3264
|
+
* @memberof UpdateTodoPayload
|
|
3265
|
+
*/
|
|
3266
|
+
'name': string;
|
|
3267
|
+
}
|
|
2990
3268
|
/**
|
|
2991
3269
|
*
|
|
2992
3270
|
* @export
|
|
@@ -6724,10 +7002,17 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6724
7002
|
},
|
|
6725
7003
|
/**
|
|
6726
7004
|
*
|
|
7005
|
+
* @param {number} page
|
|
7006
|
+
* @param {number} pageSize
|
|
7007
|
+
* @param {string} [search]
|
|
6727
7008
|
* @param {*} [options] Override http request option.
|
|
6728
7009
|
* @throws {RequiredError}
|
|
6729
7010
|
*/
|
|
6730
|
-
friendControllerListMyFriends: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7011
|
+
friendControllerListMyFriends: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7012
|
+
// verify required parameter 'page' is not null or undefined
|
|
7013
|
+
assertParamExists('friendControllerListMyFriends', 'page', page)
|
|
7014
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
7015
|
+
assertParamExists('friendControllerListMyFriends', 'pageSize', pageSize)
|
|
6731
7016
|
const localVarPath = `/v1/friend/list`;
|
|
6732
7017
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6733
7018
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6744,6 +7029,18 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6744
7029
|
// http bearer authentication required
|
|
6745
7030
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6746
7031
|
|
|
7032
|
+
if (search !== undefined) {
|
|
7033
|
+
localVarQueryParameter['search'] = search;
|
|
7034
|
+
}
|
|
7035
|
+
|
|
7036
|
+
if (page !== undefined) {
|
|
7037
|
+
localVarQueryParameter['page'] = page;
|
|
7038
|
+
}
|
|
7039
|
+
|
|
7040
|
+
if (pageSize !== undefined) {
|
|
7041
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
7042
|
+
}
|
|
7043
|
+
|
|
6747
7044
|
|
|
6748
7045
|
|
|
6749
7046
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -6895,11 +7192,14 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
6895
7192
|
},
|
|
6896
7193
|
/**
|
|
6897
7194
|
*
|
|
7195
|
+
* @param {number} page
|
|
7196
|
+
* @param {number} pageSize
|
|
7197
|
+
* @param {string} [search]
|
|
6898
7198
|
* @param {*} [options] Override http request option.
|
|
6899
7199
|
* @throws {RequiredError}
|
|
6900
7200
|
*/
|
|
6901
|
-
async friendControllerListMyFriends(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
6902
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(options);
|
|
7201
|
+
async friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
7202
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(page, pageSize, search, options);
|
|
6903
7203
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6904
7204
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
|
|
6905
7205
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -6978,11 +7278,14 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
6978
7278
|
},
|
|
6979
7279
|
/**
|
|
6980
7280
|
*
|
|
7281
|
+
* @param {number} page
|
|
7282
|
+
* @param {number} pageSize
|
|
7283
|
+
* @param {string} [search]
|
|
6981
7284
|
* @param {*} [options] Override http request option.
|
|
6982
7285
|
* @throws {RequiredError}
|
|
6983
7286
|
*/
|
|
6984
|
-
friendControllerListMyFriends(options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
6985
|
-
return localVarFp.friendControllerListMyFriends(options).then((request) => request(axios, basePath));
|
|
7287
|
+
friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
7288
|
+
return localVarFp.friendControllerListMyFriends(page, pageSize, search, options).then((request) => request(axios, basePath));
|
|
6986
7289
|
},
|
|
6987
7290
|
/**
|
|
6988
7291
|
*
|
|
@@ -7060,12 +7363,15 @@ export class FriendsApi extends BaseAPI {
|
|
|
7060
7363
|
|
|
7061
7364
|
/**
|
|
7062
7365
|
*
|
|
7366
|
+
* @param {number} page
|
|
7367
|
+
* @param {number} pageSize
|
|
7368
|
+
* @param {string} [search]
|
|
7063
7369
|
* @param {*} [options] Override http request option.
|
|
7064
7370
|
* @throws {RequiredError}
|
|
7065
7371
|
* @memberof FriendsApi
|
|
7066
7372
|
*/
|
|
7067
|
-
public friendControllerListMyFriends(options?: RawAxiosRequestConfig) {
|
|
7068
|
-
return FriendsApiFp(this.configuration).friendControllerListMyFriends(options).then((request) => request(this.axios, this.basePath));
|
|
7373
|
+
public friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
7374
|
+
return FriendsApiFp(this.configuration).friendControllerListMyFriends(page, pageSize, search, options).then((request) => request(this.axios, this.basePath));
|
|
7069
7375
|
}
|
|
7070
7376
|
|
|
7071
7377
|
/**
|
|
@@ -8517,6 +8823,971 @@ export class PlansApi extends BaseAPI {
|
|
|
8517
8823
|
|
|
8518
8824
|
|
|
8519
8825
|
|
|
8826
|
+
/**
|
|
8827
|
+
* TodoApi - axios parameter creator
|
|
8828
|
+
* @export
|
|
8829
|
+
*/
|
|
8830
|
+
export const TodoApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8831
|
+
return {
|
|
8832
|
+
/**
|
|
8833
|
+
*
|
|
8834
|
+
* @param {string} id
|
|
8835
|
+
* @param {*} [options] Override http request option.
|
|
8836
|
+
* @throws {RequiredError}
|
|
8837
|
+
*/
|
|
8838
|
+
todoControllerAcceptTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8839
|
+
// verify required parameter 'id' is not null or undefined
|
|
8840
|
+
assertParamExists('todoControllerAcceptTodo', 'id', id)
|
|
8841
|
+
const localVarPath = `/v1/todo/{id}/accept`
|
|
8842
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8843
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8844
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8845
|
+
let baseOptions;
|
|
8846
|
+
if (configuration) {
|
|
8847
|
+
baseOptions = configuration.baseOptions;
|
|
8848
|
+
}
|
|
8849
|
+
|
|
8850
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8851
|
+
const localVarHeaderParameter = {} as any;
|
|
8852
|
+
const localVarQueryParameter = {} as any;
|
|
8853
|
+
|
|
8854
|
+
// authentication bearer required
|
|
8855
|
+
// http bearer authentication required
|
|
8856
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8857
|
+
|
|
8858
|
+
|
|
8859
|
+
|
|
8860
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8861
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8862
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8863
|
+
|
|
8864
|
+
return {
|
|
8865
|
+
url: toPathString(localVarUrlObj),
|
|
8866
|
+
options: localVarRequestOptions,
|
|
8867
|
+
};
|
|
8868
|
+
},
|
|
8869
|
+
/**
|
|
8870
|
+
*
|
|
8871
|
+
* @param {string} id
|
|
8872
|
+
* @param {AssignTaskPayload} assignTaskPayload
|
|
8873
|
+
* @param {*} [options] Override http request option.
|
|
8874
|
+
* @throws {RequiredError}
|
|
8875
|
+
*/
|
|
8876
|
+
todoControllerAssignTask: async (id: string, assignTaskPayload: AssignTaskPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8877
|
+
// verify required parameter 'id' is not null or undefined
|
|
8878
|
+
assertParamExists('todoControllerAssignTask', 'id', id)
|
|
8879
|
+
// verify required parameter 'assignTaskPayload' is not null or undefined
|
|
8880
|
+
assertParamExists('todoControllerAssignTask', 'assignTaskPayload', assignTaskPayload)
|
|
8881
|
+
const localVarPath = `/v1/todo/task/{id}/assign`
|
|
8882
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8883
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8884
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8885
|
+
let baseOptions;
|
|
8886
|
+
if (configuration) {
|
|
8887
|
+
baseOptions = configuration.baseOptions;
|
|
8888
|
+
}
|
|
8889
|
+
|
|
8890
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8891
|
+
const localVarHeaderParameter = {} as any;
|
|
8892
|
+
const localVarQueryParameter = {} as any;
|
|
8893
|
+
|
|
8894
|
+
|
|
8895
|
+
|
|
8896
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8897
|
+
|
|
8898
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8899
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8900
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8901
|
+
localVarRequestOptions.data = serializeDataIfNeeded(assignTaskPayload, localVarRequestOptions, configuration)
|
|
8902
|
+
|
|
8903
|
+
return {
|
|
8904
|
+
url: toPathString(localVarUrlObj),
|
|
8905
|
+
options: localVarRequestOptions,
|
|
8906
|
+
};
|
|
8907
|
+
},
|
|
8908
|
+
/**
|
|
8909
|
+
*
|
|
8910
|
+
* @param {CreateTaskPayload} createTaskPayload
|
|
8911
|
+
* @param {*} [options] Override http request option.
|
|
8912
|
+
* @throws {RequiredError}
|
|
8913
|
+
*/
|
|
8914
|
+
todoControllerCreateTask: async (createTaskPayload: CreateTaskPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8915
|
+
// verify required parameter 'createTaskPayload' is not null or undefined
|
|
8916
|
+
assertParamExists('todoControllerCreateTask', 'createTaskPayload', createTaskPayload)
|
|
8917
|
+
const localVarPath = `/v1/todo/task`;
|
|
8918
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8919
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8920
|
+
let baseOptions;
|
|
8921
|
+
if (configuration) {
|
|
8922
|
+
baseOptions = configuration.baseOptions;
|
|
8923
|
+
}
|
|
8924
|
+
|
|
8925
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8926
|
+
const localVarHeaderParameter = {} as any;
|
|
8927
|
+
const localVarQueryParameter = {} as any;
|
|
8928
|
+
|
|
8929
|
+
// authentication bearer required
|
|
8930
|
+
// http bearer authentication required
|
|
8931
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8932
|
+
|
|
8933
|
+
|
|
8934
|
+
|
|
8935
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8936
|
+
|
|
8937
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8938
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8939
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8940
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTaskPayload, localVarRequestOptions, configuration)
|
|
8941
|
+
|
|
8942
|
+
return {
|
|
8943
|
+
url: toPathString(localVarUrlObj),
|
|
8944
|
+
options: localVarRequestOptions,
|
|
8945
|
+
};
|
|
8946
|
+
},
|
|
8947
|
+
/**
|
|
8948
|
+
*
|
|
8949
|
+
* @param {CreateTodoPayload} createTodoPayload
|
|
8950
|
+
* @param {*} [options] Override http request option.
|
|
8951
|
+
* @throws {RequiredError}
|
|
8952
|
+
*/
|
|
8953
|
+
todoControllerCreateTodo: async (createTodoPayload: CreateTodoPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8954
|
+
// verify required parameter 'createTodoPayload' is not null or undefined
|
|
8955
|
+
assertParamExists('todoControllerCreateTodo', 'createTodoPayload', createTodoPayload)
|
|
8956
|
+
const localVarPath = `/v1/todo`;
|
|
8957
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8958
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8959
|
+
let baseOptions;
|
|
8960
|
+
if (configuration) {
|
|
8961
|
+
baseOptions = configuration.baseOptions;
|
|
8962
|
+
}
|
|
8963
|
+
|
|
8964
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8965
|
+
const localVarHeaderParameter = {} as any;
|
|
8966
|
+
const localVarQueryParameter = {} as any;
|
|
8967
|
+
|
|
8968
|
+
// authentication bearer required
|
|
8969
|
+
// http bearer authentication required
|
|
8970
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8971
|
+
|
|
8972
|
+
|
|
8973
|
+
|
|
8974
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8975
|
+
|
|
8976
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8977
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8978
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8979
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTodoPayload, localVarRequestOptions, configuration)
|
|
8980
|
+
|
|
8981
|
+
return {
|
|
8982
|
+
url: toPathString(localVarUrlObj),
|
|
8983
|
+
options: localVarRequestOptions,
|
|
8984
|
+
};
|
|
8985
|
+
},
|
|
8986
|
+
/**
|
|
8987
|
+
*
|
|
8988
|
+
* @param {string} id
|
|
8989
|
+
* @param {*} [options] Override http request option.
|
|
8990
|
+
* @throws {RequiredError}
|
|
8991
|
+
*/
|
|
8992
|
+
todoControllerDeleteTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8993
|
+
// verify required parameter 'id' is not null or undefined
|
|
8994
|
+
assertParamExists('todoControllerDeleteTask', 'id', id)
|
|
8995
|
+
const localVarPath = `/v1/todo/task/{id}`
|
|
8996
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8997
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8998
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8999
|
+
let baseOptions;
|
|
9000
|
+
if (configuration) {
|
|
9001
|
+
baseOptions = configuration.baseOptions;
|
|
9002
|
+
}
|
|
9003
|
+
|
|
9004
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
9005
|
+
const localVarHeaderParameter = {} as any;
|
|
9006
|
+
const localVarQueryParameter = {} as any;
|
|
9007
|
+
|
|
9008
|
+
// authentication bearer required
|
|
9009
|
+
// http bearer authentication required
|
|
9010
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9011
|
+
|
|
9012
|
+
|
|
9013
|
+
|
|
9014
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9015
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9016
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9017
|
+
|
|
9018
|
+
return {
|
|
9019
|
+
url: toPathString(localVarUrlObj),
|
|
9020
|
+
options: localVarRequestOptions,
|
|
9021
|
+
};
|
|
9022
|
+
},
|
|
9023
|
+
/**
|
|
9024
|
+
*
|
|
9025
|
+
* @param {string} id
|
|
9026
|
+
* @param {*} [options] Override http request option.
|
|
9027
|
+
* @throws {RequiredError}
|
|
9028
|
+
*/
|
|
9029
|
+
todoControllerDeleteTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9030
|
+
// verify required parameter 'id' is not null or undefined
|
|
9031
|
+
assertParamExists('todoControllerDeleteTodo', 'id', id)
|
|
9032
|
+
const localVarPath = `/v1/todo/{id}`
|
|
9033
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9034
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9035
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9036
|
+
let baseOptions;
|
|
9037
|
+
if (configuration) {
|
|
9038
|
+
baseOptions = configuration.baseOptions;
|
|
9039
|
+
}
|
|
9040
|
+
|
|
9041
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
9042
|
+
const localVarHeaderParameter = {} as any;
|
|
9043
|
+
const localVarQueryParameter = {} as any;
|
|
9044
|
+
|
|
9045
|
+
// authentication bearer required
|
|
9046
|
+
// http bearer authentication required
|
|
9047
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9048
|
+
|
|
9049
|
+
|
|
9050
|
+
|
|
9051
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9052
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9053
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9054
|
+
|
|
9055
|
+
return {
|
|
9056
|
+
url: toPathString(localVarUrlObj),
|
|
9057
|
+
options: localVarRequestOptions,
|
|
9058
|
+
};
|
|
9059
|
+
},
|
|
9060
|
+
/**
|
|
9061
|
+
*
|
|
9062
|
+
* @param {string} id
|
|
9063
|
+
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
9064
|
+
* @param {*} [options] Override http request option.
|
|
9065
|
+
* @throws {RequiredError}
|
|
9066
|
+
*/
|
|
9067
|
+
todoControllerInviteCollaborator: async (id: string, addCollaboratorPayload: AddCollaboratorPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9068
|
+
// verify required parameter 'id' is not null or undefined
|
|
9069
|
+
assertParamExists('todoControllerInviteCollaborator', 'id', id)
|
|
9070
|
+
// verify required parameter 'addCollaboratorPayload' is not null or undefined
|
|
9071
|
+
assertParamExists('todoControllerInviteCollaborator', 'addCollaboratorPayload', addCollaboratorPayload)
|
|
9072
|
+
const localVarPath = `/v1/todo/{id}/collaborator`
|
|
9073
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9074
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9075
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9076
|
+
let baseOptions;
|
|
9077
|
+
if (configuration) {
|
|
9078
|
+
baseOptions = configuration.baseOptions;
|
|
9079
|
+
}
|
|
9080
|
+
|
|
9081
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9082
|
+
const localVarHeaderParameter = {} as any;
|
|
9083
|
+
const localVarQueryParameter = {} as any;
|
|
9084
|
+
|
|
9085
|
+
// authentication bearer required
|
|
9086
|
+
// http bearer authentication required
|
|
9087
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9088
|
+
|
|
9089
|
+
|
|
9090
|
+
|
|
9091
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9092
|
+
|
|
9093
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9094
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9095
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9096
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addCollaboratorPayload, localVarRequestOptions, configuration)
|
|
9097
|
+
|
|
9098
|
+
return {
|
|
9099
|
+
url: toPathString(localVarUrlObj),
|
|
9100
|
+
options: localVarRequestOptions,
|
|
9101
|
+
};
|
|
9102
|
+
},
|
|
9103
|
+
/**
|
|
9104
|
+
*
|
|
9105
|
+
* @param {ListTaskListPayload} listTaskListPayload
|
|
9106
|
+
* @param {*} [options] Override http request option.
|
|
9107
|
+
* @throws {RequiredError}
|
|
9108
|
+
*/
|
|
9109
|
+
todoControllerListTasks: async (listTaskListPayload: ListTaskListPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9110
|
+
// verify required parameter 'listTaskListPayload' is not null or undefined
|
|
9111
|
+
assertParamExists('todoControllerListTasks', 'listTaskListPayload', listTaskListPayload)
|
|
9112
|
+
const localVarPath = `/v1/todo/task/list`;
|
|
9113
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9114
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9115
|
+
let baseOptions;
|
|
9116
|
+
if (configuration) {
|
|
9117
|
+
baseOptions = configuration.baseOptions;
|
|
9118
|
+
}
|
|
9119
|
+
|
|
9120
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9121
|
+
const localVarHeaderParameter = {} as any;
|
|
9122
|
+
const localVarQueryParameter = {} as any;
|
|
9123
|
+
|
|
9124
|
+
// authentication bearer required
|
|
9125
|
+
// http bearer authentication required
|
|
9126
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9127
|
+
|
|
9128
|
+
|
|
9129
|
+
|
|
9130
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9131
|
+
|
|
9132
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9133
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9134
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9135
|
+
localVarRequestOptions.data = serializeDataIfNeeded(listTaskListPayload, localVarRequestOptions, configuration)
|
|
9136
|
+
|
|
9137
|
+
return {
|
|
9138
|
+
url: toPathString(localVarUrlObj),
|
|
9139
|
+
options: localVarRequestOptions,
|
|
9140
|
+
};
|
|
9141
|
+
},
|
|
9142
|
+
/**
|
|
9143
|
+
*
|
|
9144
|
+
* @param {*} [options] Override http request option.
|
|
9145
|
+
* @throws {RequiredError}
|
|
9146
|
+
*/
|
|
9147
|
+
todoControllerListTodo: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9148
|
+
const localVarPath = `/v1/todo`;
|
|
9149
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9150
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9151
|
+
let baseOptions;
|
|
9152
|
+
if (configuration) {
|
|
9153
|
+
baseOptions = configuration.baseOptions;
|
|
9154
|
+
}
|
|
9155
|
+
|
|
9156
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9157
|
+
const localVarHeaderParameter = {} as any;
|
|
9158
|
+
const localVarQueryParameter = {} as any;
|
|
9159
|
+
|
|
9160
|
+
// authentication bearer required
|
|
9161
|
+
// http bearer authentication required
|
|
9162
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9163
|
+
|
|
9164
|
+
|
|
9165
|
+
|
|
9166
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9167
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9168
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9169
|
+
|
|
9170
|
+
return {
|
|
9171
|
+
url: toPathString(localVarUrlObj),
|
|
9172
|
+
options: localVarRequestOptions,
|
|
9173
|
+
};
|
|
9174
|
+
},
|
|
9175
|
+
/**
|
|
9176
|
+
*
|
|
9177
|
+
* @param {string} id
|
|
9178
|
+
* @param {*} [options] Override http request option.
|
|
9179
|
+
* @throws {RequiredError}
|
|
9180
|
+
*/
|
|
9181
|
+
todoControllerRejectTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9182
|
+
// verify required parameter 'id' is not null or undefined
|
|
9183
|
+
assertParamExists('todoControllerRejectTodo', 'id', id)
|
|
9184
|
+
const localVarPath = `/v1/todo/{id}/reject`
|
|
9185
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9186
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9187
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9188
|
+
let baseOptions;
|
|
9189
|
+
if (configuration) {
|
|
9190
|
+
baseOptions = configuration.baseOptions;
|
|
9191
|
+
}
|
|
9192
|
+
|
|
9193
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9194
|
+
const localVarHeaderParameter = {} as any;
|
|
9195
|
+
const localVarQueryParameter = {} as any;
|
|
9196
|
+
|
|
9197
|
+
|
|
9198
|
+
|
|
9199
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9200
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9201
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9202
|
+
|
|
9203
|
+
return {
|
|
9204
|
+
url: toPathString(localVarUrlObj),
|
|
9205
|
+
options: localVarRequestOptions,
|
|
9206
|
+
};
|
|
9207
|
+
},
|
|
9208
|
+
/**
|
|
9209
|
+
*
|
|
9210
|
+
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
9211
|
+
* @param {*} [options] Override http request option.
|
|
9212
|
+
* @throws {RequiredError}
|
|
9213
|
+
*/
|
|
9214
|
+
todoControllerReorderTask: async (taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9215
|
+
// verify required parameter 'taskListReorderPayloadDTO' is not null or undefined
|
|
9216
|
+
assertParamExists('todoControllerReorderTask', 'taskListReorderPayloadDTO', taskListReorderPayloadDTO)
|
|
9217
|
+
const localVarPath = `/v1/todo/task/reorder`;
|
|
9218
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9219
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9220
|
+
let baseOptions;
|
|
9221
|
+
if (configuration) {
|
|
9222
|
+
baseOptions = configuration.baseOptions;
|
|
9223
|
+
}
|
|
9224
|
+
|
|
9225
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9226
|
+
const localVarHeaderParameter = {} as any;
|
|
9227
|
+
const localVarQueryParameter = {} as any;
|
|
9228
|
+
|
|
9229
|
+
// authentication bearer required
|
|
9230
|
+
// http bearer authentication required
|
|
9231
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9232
|
+
|
|
9233
|
+
|
|
9234
|
+
|
|
9235
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9236
|
+
|
|
9237
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9238
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9239
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9240
|
+
localVarRequestOptions.data = serializeDataIfNeeded(taskListReorderPayloadDTO, localVarRequestOptions, configuration)
|
|
9241
|
+
|
|
9242
|
+
return {
|
|
9243
|
+
url: toPathString(localVarUrlObj),
|
|
9244
|
+
options: localVarRequestOptions,
|
|
9245
|
+
};
|
|
9246
|
+
},
|
|
9247
|
+
/**
|
|
9248
|
+
*
|
|
9249
|
+
* @param {string} id
|
|
9250
|
+
* @param {UpdateTaskPayload} updateTaskPayload
|
|
9251
|
+
* @param {*} [options] Override http request option.
|
|
9252
|
+
* @throws {RequiredError}
|
|
9253
|
+
*/
|
|
9254
|
+
todoControllerUpdateTask: async (id: string, updateTaskPayload: UpdateTaskPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9255
|
+
// verify required parameter 'id' is not null or undefined
|
|
9256
|
+
assertParamExists('todoControllerUpdateTask', 'id', id)
|
|
9257
|
+
// verify required parameter 'updateTaskPayload' is not null or undefined
|
|
9258
|
+
assertParamExists('todoControllerUpdateTask', 'updateTaskPayload', updateTaskPayload)
|
|
9259
|
+
const localVarPath = `/v1/todo/task/{id}`
|
|
9260
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9261
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9262
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9263
|
+
let baseOptions;
|
|
9264
|
+
if (configuration) {
|
|
9265
|
+
baseOptions = configuration.baseOptions;
|
|
9266
|
+
}
|
|
9267
|
+
|
|
9268
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9269
|
+
const localVarHeaderParameter = {} as any;
|
|
9270
|
+
const localVarQueryParameter = {} as any;
|
|
9271
|
+
|
|
9272
|
+
// authentication bearer required
|
|
9273
|
+
// http bearer authentication required
|
|
9274
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9275
|
+
|
|
9276
|
+
|
|
9277
|
+
|
|
9278
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9279
|
+
|
|
9280
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9281
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9282
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9283
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTaskPayload, localVarRequestOptions, configuration)
|
|
9284
|
+
|
|
9285
|
+
return {
|
|
9286
|
+
url: toPathString(localVarUrlObj),
|
|
9287
|
+
options: localVarRequestOptions,
|
|
9288
|
+
};
|
|
9289
|
+
},
|
|
9290
|
+
/**
|
|
9291
|
+
*
|
|
9292
|
+
* @param {string} id
|
|
9293
|
+
* @param {UpdateTodoPayload} updateTodoPayload
|
|
9294
|
+
* @param {*} [options] Override http request option.
|
|
9295
|
+
* @throws {RequiredError}
|
|
9296
|
+
*/
|
|
9297
|
+
todoControllerUpdateTodo: async (id: string, updateTodoPayload: UpdateTodoPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9298
|
+
// verify required parameter 'id' is not null or undefined
|
|
9299
|
+
assertParamExists('todoControllerUpdateTodo', 'id', id)
|
|
9300
|
+
// verify required parameter 'updateTodoPayload' is not null or undefined
|
|
9301
|
+
assertParamExists('todoControllerUpdateTodo', 'updateTodoPayload', updateTodoPayload)
|
|
9302
|
+
const localVarPath = `/v1/todo/{id}`
|
|
9303
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9304
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9305
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9306
|
+
let baseOptions;
|
|
9307
|
+
if (configuration) {
|
|
9308
|
+
baseOptions = configuration.baseOptions;
|
|
9309
|
+
}
|
|
9310
|
+
|
|
9311
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9312
|
+
const localVarHeaderParameter = {} as any;
|
|
9313
|
+
const localVarQueryParameter = {} as any;
|
|
9314
|
+
|
|
9315
|
+
// authentication bearer required
|
|
9316
|
+
// http bearer authentication required
|
|
9317
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9318
|
+
|
|
9319
|
+
|
|
9320
|
+
|
|
9321
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9322
|
+
|
|
9323
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9324
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9325
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9326
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTodoPayload, localVarRequestOptions, configuration)
|
|
9327
|
+
|
|
9328
|
+
return {
|
|
9329
|
+
url: toPathString(localVarUrlObj),
|
|
9330
|
+
options: localVarRequestOptions,
|
|
9331
|
+
};
|
|
9332
|
+
},
|
|
9333
|
+
}
|
|
9334
|
+
};
|
|
9335
|
+
|
|
9336
|
+
/**
|
|
9337
|
+
* TodoApi - functional programming interface
|
|
9338
|
+
* @export
|
|
9339
|
+
*/
|
|
9340
|
+
export const TodoApiFp = function(configuration?: Configuration) {
|
|
9341
|
+
const localVarAxiosParamCreator = TodoApiAxiosParamCreator(configuration)
|
|
9342
|
+
return {
|
|
9343
|
+
/**
|
|
9344
|
+
*
|
|
9345
|
+
* @param {string} id
|
|
9346
|
+
* @param {*} [options] Override http request option.
|
|
9347
|
+
* @throws {RequiredError}
|
|
9348
|
+
*/
|
|
9349
|
+
async todoControllerAcceptTodo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9350
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerAcceptTodo(id, options);
|
|
9351
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9352
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerAcceptTodo']?.[localVarOperationServerIndex]?.url;
|
|
9353
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9354
|
+
},
|
|
9355
|
+
/**
|
|
9356
|
+
*
|
|
9357
|
+
* @param {string} id
|
|
9358
|
+
* @param {AssignTaskPayload} assignTaskPayload
|
|
9359
|
+
* @param {*} [options] Override http request option.
|
|
9360
|
+
* @throws {RequiredError}
|
|
9361
|
+
*/
|
|
9362
|
+
async todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9363
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerAssignTask(id, assignTaskPayload, options);
|
|
9364
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9365
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerAssignTask']?.[localVarOperationServerIndex]?.url;
|
|
9366
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9367
|
+
},
|
|
9368
|
+
/**
|
|
9369
|
+
*
|
|
9370
|
+
* @param {CreateTaskPayload} createTaskPayload
|
|
9371
|
+
* @param {*} [options] Override http request option.
|
|
9372
|
+
* @throws {RequiredError}
|
|
9373
|
+
*/
|
|
9374
|
+
async todoControllerCreateTask(createTaskPayload: CreateTaskPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskDetailResponseDTO>> {
|
|
9375
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerCreateTask(createTaskPayload, options);
|
|
9376
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9377
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerCreateTask']?.[localVarOperationServerIndex]?.url;
|
|
9378
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9379
|
+
},
|
|
9380
|
+
/**
|
|
9381
|
+
*
|
|
9382
|
+
* @param {CreateTodoPayload} createTodoPayload
|
|
9383
|
+
* @param {*} [options] Override http request option.
|
|
9384
|
+
* @throws {RequiredError}
|
|
9385
|
+
*/
|
|
9386
|
+
async todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9387
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerCreateTodo(createTodoPayload, options);
|
|
9388
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9389
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerCreateTodo']?.[localVarOperationServerIndex]?.url;
|
|
9390
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9391
|
+
},
|
|
9392
|
+
/**
|
|
9393
|
+
*
|
|
9394
|
+
* @param {string} id
|
|
9395
|
+
* @param {*} [options] Override http request option.
|
|
9396
|
+
* @throws {RequiredError}
|
|
9397
|
+
*/
|
|
9398
|
+
async todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9399
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerDeleteTask(id, options);
|
|
9400
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9401
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerDeleteTask']?.[localVarOperationServerIndex]?.url;
|
|
9402
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9403
|
+
},
|
|
9404
|
+
/**
|
|
9405
|
+
*
|
|
9406
|
+
* @param {string} id
|
|
9407
|
+
* @param {*} [options] Override http request option.
|
|
9408
|
+
* @throws {RequiredError}
|
|
9409
|
+
*/
|
|
9410
|
+
async todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9411
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerDeleteTodo(id, options);
|
|
9412
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9413
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerDeleteTodo']?.[localVarOperationServerIndex]?.url;
|
|
9414
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9415
|
+
},
|
|
9416
|
+
/**
|
|
9417
|
+
*
|
|
9418
|
+
* @param {string} id
|
|
9419
|
+
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
9420
|
+
* @param {*} [options] Override http request option.
|
|
9421
|
+
* @throws {RequiredError}
|
|
9422
|
+
*/
|
|
9423
|
+
async todoControllerInviteCollaborator(id: string, addCollaboratorPayload: AddCollaboratorPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerInviteCollaborator(id, addCollaboratorPayload, options);
|
|
9425
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9426
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerInviteCollaborator']?.[localVarOperationServerIndex]?.url;
|
|
9427
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9428
|
+
},
|
|
9429
|
+
/**
|
|
9430
|
+
*
|
|
9431
|
+
* @param {ListTaskListPayload} listTaskListPayload
|
|
9432
|
+
* @param {*} [options] Override http request option.
|
|
9433
|
+
* @throws {RequiredError}
|
|
9434
|
+
*/
|
|
9435
|
+
async todoControllerListTasks(listTaskListPayload: ListTaskListPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskListResponseDTO>> {
|
|
9436
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerListTasks(listTaskListPayload, options);
|
|
9437
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9438
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerListTasks']?.[localVarOperationServerIndex]?.url;
|
|
9439
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9440
|
+
},
|
|
9441
|
+
/**
|
|
9442
|
+
*
|
|
9443
|
+
* @param {*} [options] Override http request option.
|
|
9444
|
+
* @throws {RequiredError}
|
|
9445
|
+
*/
|
|
9446
|
+
async todoControllerListTodo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoListResponseDTO>> {
|
|
9447
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerListTodo(options);
|
|
9448
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9449
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerListTodo']?.[localVarOperationServerIndex]?.url;
|
|
9450
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9451
|
+
},
|
|
9452
|
+
/**
|
|
9453
|
+
*
|
|
9454
|
+
* @param {string} id
|
|
9455
|
+
* @param {*} [options] Override http request option.
|
|
9456
|
+
* @throws {RequiredError}
|
|
9457
|
+
*/
|
|
9458
|
+
async todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9459
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerRejectTodo(id, options);
|
|
9460
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9461
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerRejectTodo']?.[localVarOperationServerIndex]?.url;
|
|
9462
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9463
|
+
},
|
|
9464
|
+
/**
|
|
9465
|
+
*
|
|
9466
|
+
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
9467
|
+
* @param {*} [options] Override http request option.
|
|
9468
|
+
* @throws {RequiredError}
|
|
9469
|
+
*/
|
|
9470
|
+
async todoControllerReorderTask(taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9471
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerReorderTask(taskListReorderPayloadDTO, options);
|
|
9472
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9473
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerReorderTask']?.[localVarOperationServerIndex]?.url;
|
|
9474
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9475
|
+
},
|
|
9476
|
+
/**
|
|
9477
|
+
*
|
|
9478
|
+
* @param {string} id
|
|
9479
|
+
* @param {UpdateTaskPayload} updateTaskPayload
|
|
9480
|
+
* @param {*} [options] Override http request option.
|
|
9481
|
+
* @throws {RequiredError}
|
|
9482
|
+
*/
|
|
9483
|
+
async todoControllerUpdateTask(id: string, updateTaskPayload: UpdateTaskPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskDetailResponseDTO>> {
|
|
9484
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerUpdateTask(id, updateTaskPayload, options);
|
|
9485
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9486
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerUpdateTask']?.[localVarOperationServerIndex]?.url;
|
|
9487
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9488
|
+
},
|
|
9489
|
+
/**
|
|
9490
|
+
*
|
|
9491
|
+
* @param {string} id
|
|
9492
|
+
* @param {UpdateTodoPayload} updateTodoPayload
|
|
9493
|
+
* @param {*} [options] Override http request option.
|
|
9494
|
+
* @throws {RequiredError}
|
|
9495
|
+
*/
|
|
9496
|
+
async todoControllerUpdateTodo(id: string, updateTodoPayload: UpdateTodoPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9497
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerUpdateTodo(id, updateTodoPayload, options);
|
|
9498
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9499
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerUpdateTodo']?.[localVarOperationServerIndex]?.url;
|
|
9500
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9501
|
+
},
|
|
9502
|
+
}
|
|
9503
|
+
};
|
|
9504
|
+
|
|
9505
|
+
/**
|
|
9506
|
+
* TodoApi - factory interface
|
|
9507
|
+
* @export
|
|
9508
|
+
*/
|
|
9509
|
+
export const TodoApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
9510
|
+
const localVarFp = TodoApiFp(configuration)
|
|
9511
|
+
return {
|
|
9512
|
+
/**
|
|
9513
|
+
*
|
|
9514
|
+
* @param {string} id
|
|
9515
|
+
* @param {*} [options] Override http request option.
|
|
9516
|
+
* @throws {RequiredError}
|
|
9517
|
+
*/
|
|
9518
|
+
todoControllerAcceptTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9519
|
+
return localVarFp.todoControllerAcceptTodo(id, options).then((request) => request(axios, basePath));
|
|
9520
|
+
},
|
|
9521
|
+
/**
|
|
9522
|
+
*
|
|
9523
|
+
* @param {string} id
|
|
9524
|
+
* @param {AssignTaskPayload} assignTaskPayload
|
|
9525
|
+
* @param {*} [options] Override http request option.
|
|
9526
|
+
* @throws {RequiredError}
|
|
9527
|
+
*/
|
|
9528
|
+
todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9529
|
+
return localVarFp.todoControllerAssignTask(id, assignTaskPayload, options).then((request) => request(axios, basePath));
|
|
9530
|
+
},
|
|
9531
|
+
/**
|
|
9532
|
+
*
|
|
9533
|
+
* @param {CreateTaskPayload} createTaskPayload
|
|
9534
|
+
* @param {*} [options] Override http request option.
|
|
9535
|
+
* @throws {RequiredError}
|
|
9536
|
+
*/
|
|
9537
|
+
todoControllerCreateTask(createTaskPayload: CreateTaskPayload, options?: RawAxiosRequestConfig): AxiosPromise<TaskDetailResponseDTO> {
|
|
9538
|
+
return localVarFp.todoControllerCreateTask(createTaskPayload, options).then((request) => request(axios, basePath));
|
|
9539
|
+
},
|
|
9540
|
+
/**
|
|
9541
|
+
*
|
|
9542
|
+
* @param {CreateTodoPayload} createTodoPayload
|
|
9543
|
+
* @param {*} [options] Override http request option.
|
|
9544
|
+
* @throws {RequiredError}
|
|
9545
|
+
*/
|
|
9546
|
+
todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9547
|
+
return localVarFp.todoControllerCreateTodo(createTodoPayload, options).then((request) => request(axios, basePath));
|
|
9548
|
+
},
|
|
9549
|
+
/**
|
|
9550
|
+
*
|
|
9551
|
+
* @param {string} id
|
|
9552
|
+
* @param {*} [options] Override http request option.
|
|
9553
|
+
* @throws {RequiredError}
|
|
9554
|
+
*/
|
|
9555
|
+
todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9556
|
+
return localVarFp.todoControllerDeleteTask(id, options).then((request) => request(axios, basePath));
|
|
9557
|
+
},
|
|
9558
|
+
/**
|
|
9559
|
+
*
|
|
9560
|
+
* @param {string} id
|
|
9561
|
+
* @param {*} [options] Override http request option.
|
|
9562
|
+
* @throws {RequiredError}
|
|
9563
|
+
*/
|
|
9564
|
+
todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9565
|
+
return localVarFp.todoControllerDeleteTodo(id, options).then((request) => request(axios, basePath));
|
|
9566
|
+
},
|
|
9567
|
+
/**
|
|
9568
|
+
*
|
|
9569
|
+
* @param {string} id
|
|
9570
|
+
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
9571
|
+
* @param {*} [options] Override http request option.
|
|
9572
|
+
* @throws {RequiredError}
|
|
9573
|
+
*/
|
|
9574
|
+
todoControllerInviteCollaborator(id: string, addCollaboratorPayload: AddCollaboratorPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9575
|
+
return localVarFp.todoControllerInviteCollaborator(id, addCollaboratorPayload, options).then((request) => request(axios, basePath));
|
|
9576
|
+
},
|
|
9577
|
+
/**
|
|
9578
|
+
*
|
|
9579
|
+
* @param {ListTaskListPayload} listTaskListPayload
|
|
9580
|
+
* @param {*} [options] Override http request option.
|
|
9581
|
+
* @throws {RequiredError}
|
|
9582
|
+
*/
|
|
9583
|
+
todoControllerListTasks(listTaskListPayload: ListTaskListPayload, options?: RawAxiosRequestConfig): AxiosPromise<TaskListResponseDTO> {
|
|
9584
|
+
return localVarFp.todoControllerListTasks(listTaskListPayload, options).then((request) => request(axios, basePath));
|
|
9585
|
+
},
|
|
9586
|
+
/**
|
|
9587
|
+
*
|
|
9588
|
+
* @param {*} [options] Override http request option.
|
|
9589
|
+
* @throws {RequiredError}
|
|
9590
|
+
*/
|
|
9591
|
+
todoControllerListTodo(options?: RawAxiosRequestConfig): AxiosPromise<TodoListResponseDTO> {
|
|
9592
|
+
return localVarFp.todoControllerListTodo(options).then((request) => request(axios, basePath));
|
|
9593
|
+
},
|
|
9594
|
+
/**
|
|
9595
|
+
*
|
|
9596
|
+
* @param {string} id
|
|
9597
|
+
* @param {*} [options] Override http request option.
|
|
9598
|
+
* @throws {RequiredError}
|
|
9599
|
+
*/
|
|
9600
|
+
todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9601
|
+
return localVarFp.todoControllerRejectTodo(id, options).then((request) => request(axios, basePath));
|
|
9602
|
+
},
|
|
9603
|
+
/**
|
|
9604
|
+
*
|
|
9605
|
+
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
9606
|
+
* @param {*} [options] Override http request option.
|
|
9607
|
+
* @throws {RequiredError}
|
|
9608
|
+
*/
|
|
9609
|
+
todoControllerReorderTask(taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9610
|
+
return localVarFp.todoControllerReorderTask(taskListReorderPayloadDTO, options).then((request) => request(axios, basePath));
|
|
9611
|
+
},
|
|
9612
|
+
/**
|
|
9613
|
+
*
|
|
9614
|
+
* @param {string} id
|
|
9615
|
+
* @param {UpdateTaskPayload} updateTaskPayload
|
|
9616
|
+
* @param {*} [options] Override http request option.
|
|
9617
|
+
* @throws {RequiredError}
|
|
9618
|
+
*/
|
|
9619
|
+
todoControllerUpdateTask(id: string, updateTaskPayload: UpdateTaskPayload, options?: RawAxiosRequestConfig): AxiosPromise<TaskDetailResponseDTO> {
|
|
9620
|
+
return localVarFp.todoControllerUpdateTask(id, updateTaskPayload, options).then((request) => request(axios, basePath));
|
|
9621
|
+
},
|
|
9622
|
+
/**
|
|
9623
|
+
*
|
|
9624
|
+
* @param {string} id
|
|
9625
|
+
* @param {UpdateTodoPayload} updateTodoPayload
|
|
9626
|
+
* @param {*} [options] Override http request option.
|
|
9627
|
+
* @throws {RequiredError}
|
|
9628
|
+
*/
|
|
9629
|
+
todoControllerUpdateTodo(id: string, updateTodoPayload: UpdateTodoPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9630
|
+
return localVarFp.todoControllerUpdateTodo(id, updateTodoPayload, options).then((request) => request(axios, basePath));
|
|
9631
|
+
},
|
|
9632
|
+
};
|
|
9633
|
+
};
|
|
9634
|
+
|
|
9635
|
+
/**
|
|
9636
|
+
* TodoApi - object-oriented interface
|
|
9637
|
+
* @export
|
|
9638
|
+
* @class TodoApi
|
|
9639
|
+
* @extends {BaseAPI}
|
|
9640
|
+
*/
|
|
9641
|
+
export class TodoApi extends BaseAPI {
|
|
9642
|
+
/**
|
|
9643
|
+
*
|
|
9644
|
+
* @param {string} id
|
|
9645
|
+
* @param {*} [options] Override http request option.
|
|
9646
|
+
* @throws {RequiredError}
|
|
9647
|
+
* @memberof TodoApi
|
|
9648
|
+
*/
|
|
9649
|
+
public todoControllerAcceptTodo(id: string, options?: RawAxiosRequestConfig) {
|
|
9650
|
+
return TodoApiFp(this.configuration).todoControllerAcceptTodo(id, options).then((request) => request(this.axios, this.basePath));
|
|
9651
|
+
}
|
|
9652
|
+
|
|
9653
|
+
/**
|
|
9654
|
+
*
|
|
9655
|
+
* @param {string} id
|
|
9656
|
+
* @param {AssignTaskPayload} assignTaskPayload
|
|
9657
|
+
* @param {*} [options] Override http request option.
|
|
9658
|
+
* @throws {RequiredError}
|
|
9659
|
+
* @memberof TodoApi
|
|
9660
|
+
*/
|
|
9661
|
+
public todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig) {
|
|
9662
|
+
return TodoApiFp(this.configuration).todoControllerAssignTask(id, assignTaskPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9663
|
+
}
|
|
9664
|
+
|
|
9665
|
+
/**
|
|
9666
|
+
*
|
|
9667
|
+
* @param {CreateTaskPayload} createTaskPayload
|
|
9668
|
+
* @param {*} [options] Override http request option.
|
|
9669
|
+
* @throws {RequiredError}
|
|
9670
|
+
* @memberof TodoApi
|
|
9671
|
+
*/
|
|
9672
|
+
public todoControllerCreateTask(createTaskPayload: CreateTaskPayload, options?: RawAxiosRequestConfig) {
|
|
9673
|
+
return TodoApiFp(this.configuration).todoControllerCreateTask(createTaskPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9674
|
+
}
|
|
9675
|
+
|
|
9676
|
+
/**
|
|
9677
|
+
*
|
|
9678
|
+
* @param {CreateTodoPayload} createTodoPayload
|
|
9679
|
+
* @param {*} [options] Override http request option.
|
|
9680
|
+
* @throws {RequiredError}
|
|
9681
|
+
* @memberof TodoApi
|
|
9682
|
+
*/
|
|
9683
|
+
public todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig) {
|
|
9684
|
+
return TodoApiFp(this.configuration).todoControllerCreateTodo(createTodoPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9685
|
+
}
|
|
9686
|
+
|
|
9687
|
+
/**
|
|
9688
|
+
*
|
|
9689
|
+
* @param {string} id
|
|
9690
|
+
* @param {*} [options] Override http request option.
|
|
9691
|
+
* @throws {RequiredError}
|
|
9692
|
+
* @memberof TodoApi
|
|
9693
|
+
*/
|
|
9694
|
+
public todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig) {
|
|
9695
|
+
return TodoApiFp(this.configuration).todoControllerDeleteTask(id, options).then((request) => request(this.axios, this.basePath));
|
|
9696
|
+
}
|
|
9697
|
+
|
|
9698
|
+
/**
|
|
9699
|
+
*
|
|
9700
|
+
* @param {string} id
|
|
9701
|
+
* @param {*} [options] Override http request option.
|
|
9702
|
+
* @throws {RequiredError}
|
|
9703
|
+
* @memberof TodoApi
|
|
9704
|
+
*/
|
|
9705
|
+
public todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig) {
|
|
9706
|
+
return TodoApiFp(this.configuration).todoControllerDeleteTodo(id, options).then((request) => request(this.axios, this.basePath));
|
|
9707
|
+
}
|
|
9708
|
+
|
|
9709
|
+
/**
|
|
9710
|
+
*
|
|
9711
|
+
* @param {string} id
|
|
9712
|
+
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
9713
|
+
* @param {*} [options] Override http request option.
|
|
9714
|
+
* @throws {RequiredError}
|
|
9715
|
+
* @memberof TodoApi
|
|
9716
|
+
*/
|
|
9717
|
+
public todoControllerInviteCollaborator(id: string, addCollaboratorPayload: AddCollaboratorPayload, options?: RawAxiosRequestConfig) {
|
|
9718
|
+
return TodoApiFp(this.configuration).todoControllerInviteCollaborator(id, addCollaboratorPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9719
|
+
}
|
|
9720
|
+
|
|
9721
|
+
/**
|
|
9722
|
+
*
|
|
9723
|
+
* @param {ListTaskListPayload} listTaskListPayload
|
|
9724
|
+
* @param {*} [options] Override http request option.
|
|
9725
|
+
* @throws {RequiredError}
|
|
9726
|
+
* @memberof TodoApi
|
|
9727
|
+
*/
|
|
9728
|
+
public todoControllerListTasks(listTaskListPayload: ListTaskListPayload, options?: RawAxiosRequestConfig) {
|
|
9729
|
+
return TodoApiFp(this.configuration).todoControllerListTasks(listTaskListPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9730
|
+
}
|
|
9731
|
+
|
|
9732
|
+
/**
|
|
9733
|
+
*
|
|
9734
|
+
* @param {*} [options] Override http request option.
|
|
9735
|
+
* @throws {RequiredError}
|
|
9736
|
+
* @memberof TodoApi
|
|
9737
|
+
*/
|
|
9738
|
+
public todoControllerListTodo(options?: RawAxiosRequestConfig) {
|
|
9739
|
+
return TodoApiFp(this.configuration).todoControllerListTodo(options).then((request) => request(this.axios, this.basePath));
|
|
9740
|
+
}
|
|
9741
|
+
|
|
9742
|
+
/**
|
|
9743
|
+
*
|
|
9744
|
+
* @param {string} id
|
|
9745
|
+
* @param {*} [options] Override http request option.
|
|
9746
|
+
* @throws {RequiredError}
|
|
9747
|
+
* @memberof TodoApi
|
|
9748
|
+
*/
|
|
9749
|
+
public todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig) {
|
|
9750
|
+
return TodoApiFp(this.configuration).todoControllerRejectTodo(id, options).then((request) => request(this.axios, this.basePath));
|
|
9751
|
+
}
|
|
9752
|
+
|
|
9753
|
+
/**
|
|
9754
|
+
*
|
|
9755
|
+
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
9756
|
+
* @param {*} [options] Override http request option.
|
|
9757
|
+
* @throws {RequiredError}
|
|
9758
|
+
* @memberof TodoApi
|
|
9759
|
+
*/
|
|
9760
|
+
public todoControllerReorderTask(taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
9761
|
+
return TodoApiFp(this.configuration).todoControllerReorderTask(taskListReorderPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
9762
|
+
}
|
|
9763
|
+
|
|
9764
|
+
/**
|
|
9765
|
+
*
|
|
9766
|
+
* @param {string} id
|
|
9767
|
+
* @param {UpdateTaskPayload} updateTaskPayload
|
|
9768
|
+
* @param {*} [options] Override http request option.
|
|
9769
|
+
* @throws {RequiredError}
|
|
9770
|
+
* @memberof TodoApi
|
|
9771
|
+
*/
|
|
9772
|
+
public todoControllerUpdateTask(id: string, updateTaskPayload: UpdateTaskPayload, options?: RawAxiosRequestConfig) {
|
|
9773
|
+
return TodoApiFp(this.configuration).todoControllerUpdateTask(id, updateTaskPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9774
|
+
}
|
|
9775
|
+
|
|
9776
|
+
/**
|
|
9777
|
+
*
|
|
9778
|
+
* @param {string} id
|
|
9779
|
+
* @param {UpdateTodoPayload} updateTodoPayload
|
|
9780
|
+
* @param {*} [options] Override http request option.
|
|
9781
|
+
* @throws {RequiredError}
|
|
9782
|
+
* @memberof TodoApi
|
|
9783
|
+
*/
|
|
9784
|
+
public todoControllerUpdateTodo(id: string, updateTodoPayload: UpdateTodoPayload, options?: RawAxiosRequestConfig) {
|
|
9785
|
+
return TodoApiFp(this.configuration).todoControllerUpdateTodo(id, updateTodoPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9786
|
+
}
|
|
9787
|
+
}
|
|
9788
|
+
|
|
9789
|
+
|
|
9790
|
+
|
|
8520
9791
|
/**
|
|
8521
9792
|
* UsersApi - axios parameter creator
|
|
8522
9793
|
* @export
|