@gooday_corp/gooday-api-client 1.1.15 → 1.1.20
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 +1318 -64
- 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
|
|
@@ -2203,49 +2280,19 @@ export interface NotificationEntity {
|
|
|
2203
2280
|
* @type {string}
|
|
2204
2281
|
* @memberof NotificationEntity
|
|
2205
2282
|
*/
|
|
2206
|
-
'
|
|
2207
|
-
/**
|
|
2208
|
-
* The ID of the recipient (optional)
|
|
2209
|
-
* @type {string}
|
|
2210
|
-
* @memberof NotificationEntity
|
|
2211
|
-
*/
|
|
2212
|
-
'recipientId'?: string;
|
|
2213
|
-
/**
|
|
2214
|
-
* The badge number (optional)
|
|
2215
|
-
* @type {number}
|
|
2216
|
-
* @memberof NotificationEntity
|
|
2217
|
-
*/
|
|
2218
|
-
'badge'?: number;
|
|
2283
|
+
'content': string;
|
|
2219
2284
|
/**
|
|
2220
2285
|
* The user associated with the notification
|
|
2221
2286
|
* @type {string}
|
|
2222
2287
|
* @memberof NotificationEntity
|
|
2223
2288
|
*/
|
|
2224
2289
|
'user': string;
|
|
2225
|
-
/**
|
|
2226
|
-
* The channel through which the notification is sent
|
|
2227
|
-
* @type {string}
|
|
2228
|
-
* @memberof NotificationEntity
|
|
2229
|
-
*/
|
|
2230
|
-
'channel': NotificationEntityChannelEnum;
|
|
2231
2290
|
/**
|
|
2232
2291
|
* The type of the notification (optional)
|
|
2233
2292
|
* @type {string}
|
|
2234
2293
|
* @memberof NotificationEntity
|
|
2235
2294
|
*/
|
|
2236
2295
|
'type'?: NotificationEntityTypeEnum;
|
|
2237
|
-
/**
|
|
2238
|
-
* The status of the notification
|
|
2239
|
-
* @type {string}
|
|
2240
|
-
* @memberof NotificationEntity
|
|
2241
|
-
*/
|
|
2242
|
-
'status': NotificationEntityStatusEnum;
|
|
2243
|
-
/**
|
|
2244
|
-
* The scheduled time for the notification (optional)
|
|
2245
|
-
* @type {string}
|
|
2246
|
-
* @memberof NotificationEntity
|
|
2247
|
-
*/
|
|
2248
|
-
'scheduledAt'?: string;
|
|
2249
2296
|
/**
|
|
2250
2297
|
* Additional metadata associated with the notification (optional)
|
|
2251
2298
|
* @type {object}
|
|
@@ -2260,28 +2307,18 @@ export interface NotificationEntity {
|
|
|
2260
2307
|
'isRead': boolean;
|
|
2261
2308
|
}
|
|
2262
2309
|
|
|
2263
|
-
export const NotificationEntityChannelEnum = {
|
|
2264
|
-
PushNotification: 'push-notification',
|
|
2265
|
-
Email: 'email'
|
|
2266
|
-
} as const;
|
|
2267
|
-
|
|
2268
|
-
export type NotificationEntityChannelEnum = typeof NotificationEntityChannelEnum[keyof typeof NotificationEntityChannelEnum];
|
|
2269
2310
|
export const NotificationEntityTypeEnum = {
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2311
|
+
FriendInvite: 'FRIEND_INVITE',
|
|
2312
|
+
FriendInviteAccept: 'FRIEND_INVITE_ACCEPT',
|
|
2313
|
+
FriendInviteReject: 'FRIEND_INVITE_REJECT',
|
|
2314
|
+
UserOnboard: 'USER_ONBOARD',
|
|
2315
|
+
BusinessBookingCreate: 'BUSINESS_BOOKING_CREATE',
|
|
2316
|
+
BookingCreate: 'BOOKING_CREATE',
|
|
2317
|
+
BokkingAccept: 'BOKKING_ACCEPT',
|
|
2318
|
+
BookingReject: 'BOOKING_REJECT'
|
|
2275
2319
|
} as const;
|
|
2276
2320
|
|
|
2277
2321
|
export type NotificationEntityTypeEnum = typeof NotificationEntityTypeEnum[keyof typeof NotificationEntityTypeEnum];
|
|
2278
|
-
export const NotificationEntityStatusEnum = {
|
|
2279
|
-
Pending: 'pending',
|
|
2280
|
-
Sent: 'sent',
|
|
2281
|
-
Failed: 'failed'
|
|
2282
|
-
} as const;
|
|
2283
|
-
|
|
2284
|
-
export type NotificationEntityStatusEnum = typeof NotificationEntityStatusEnum[keyof typeof NotificationEntityStatusEnum];
|
|
2285
2322
|
|
|
2286
2323
|
/**
|
|
2287
2324
|
*
|
|
@@ -2987,6 +3024,207 @@ export interface StripeSetupPaymentIntentDTO {
|
|
|
2987
3024
|
*/
|
|
2988
3025
|
'clientSecret': string;
|
|
2989
3026
|
}
|
|
3027
|
+
/**
|
|
3028
|
+
*
|
|
3029
|
+
* @export
|
|
3030
|
+
* @interface TaskDetailResponseDTO
|
|
3031
|
+
*/
|
|
3032
|
+
export interface TaskDetailResponseDTO {
|
|
3033
|
+
/**
|
|
3034
|
+
* statusCode
|
|
3035
|
+
* @type {number}
|
|
3036
|
+
* @memberof TaskDetailResponseDTO
|
|
3037
|
+
*/
|
|
3038
|
+
'statusCode': number;
|
|
3039
|
+
/**
|
|
3040
|
+
* Booking
|
|
3041
|
+
* @type {TodoEntity}
|
|
3042
|
+
* @memberof TaskDetailResponseDTO
|
|
3043
|
+
*/
|
|
3044
|
+
'data': TodoEntity;
|
|
3045
|
+
}
|
|
3046
|
+
/**
|
|
3047
|
+
*
|
|
3048
|
+
* @export
|
|
3049
|
+
* @interface TaskEntity
|
|
3050
|
+
*/
|
|
3051
|
+
export interface TaskEntity {
|
|
3052
|
+
/**
|
|
3053
|
+
* Unique identifier for the todo item
|
|
3054
|
+
* @type {string}
|
|
3055
|
+
* @memberof TaskEntity
|
|
3056
|
+
*/
|
|
3057
|
+
'id': string;
|
|
3058
|
+
/**
|
|
3059
|
+
* Content of the todo item
|
|
3060
|
+
* @type {string}
|
|
3061
|
+
* @memberof TaskEntity
|
|
3062
|
+
*/
|
|
3063
|
+
'content': string;
|
|
3064
|
+
/**
|
|
3065
|
+
* Created by of the todo item
|
|
3066
|
+
* @type {string}
|
|
3067
|
+
* @memberof TaskEntity
|
|
3068
|
+
*/
|
|
3069
|
+
'createdBy': string;
|
|
3070
|
+
/**
|
|
3071
|
+
* Assigned to
|
|
3072
|
+
* @type {Array<string>}
|
|
3073
|
+
* @memberof TaskEntity
|
|
3074
|
+
*/
|
|
3075
|
+
'assignedTo': Array<string>;
|
|
3076
|
+
/**
|
|
3077
|
+
* Status
|
|
3078
|
+
* @type {string}
|
|
3079
|
+
* @memberof TaskEntity
|
|
3080
|
+
*/
|
|
3081
|
+
'status': string;
|
|
3082
|
+
/**
|
|
3083
|
+
* Position
|
|
3084
|
+
* @type {number}
|
|
3085
|
+
* @memberof TaskEntity
|
|
3086
|
+
*/
|
|
3087
|
+
'position': number;
|
|
3088
|
+
}
|
|
3089
|
+
/**
|
|
3090
|
+
*
|
|
3091
|
+
* @export
|
|
3092
|
+
* @interface TaskListReorderPayloadDTO
|
|
3093
|
+
*/
|
|
3094
|
+
export interface TaskListReorderPayloadDTO {
|
|
3095
|
+
/**
|
|
3096
|
+
* Unique identifier for the todo item
|
|
3097
|
+
* @type {string}
|
|
3098
|
+
* @memberof TaskListReorderPayloadDTO
|
|
3099
|
+
*/
|
|
3100
|
+
'id': string;
|
|
3101
|
+
/**
|
|
3102
|
+
* Position of todo item
|
|
3103
|
+
* @type {number}
|
|
3104
|
+
* @memberof TaskListReorderPayloadDTO
|
|
3105
|
+
*/
|
|
3106
|
+
'position': number;
|
|
3107
|
+
}
|
|
3108
|
+
/**
|
|
3109
|
+
*
|
|
3110
|
+
* @export
|
|
3111
|
+
* @interface TaskListResponseDTO
|
|
3112
|
+
*/
|
|
3113
|
+
export interface TaskListResponseDTO {
|
|
3114
|
+
/**
|
|
3115
|
+
* statusCode
|
|
3116
|
+
* @type {number}
|
|
3117
|
+
* @memberof TaskListResponseDTO
|
|
3118
|
+
*/
|
|
3119
|
+
'statusCode': number;
|
|
3120
|
+
/**
|
|
3121
|
+
* Booking
|
|
3122
|
+
* @type {Array<TaskEntity>}
|
|
3123
|
+
* @memberof TaskListResponseDTO
|
|
3124
|
+
*/
|
|
3125
|
+
'data': Array<TaskEntity>;
|
|
3126
|
+
}
|
|
3127
|
+
/**
|
|
3128
|
+
*
|
|
3129
|
+
* @export
|
|
3130
|
+
* @interface TodoDetailResponseDTO
|
|
3131
|
+
*/
|
|
3132
|
+
export interface TodoDetailResponseDTO {
|
|
3133
|
+
/**
|
|
3134
|
+
* statusCode
|
|
3135
|
+
* @type {number}
|
|
3136
|
+
* @memberof TodoDetailResponseDTO
|
|
3137
|
+
*/
|
|
3138
|
+
'statusCode': number;
|
|
3139
|
+
/**
|
|
3140
|
+
* Booking
|
|
3141
|
+
* @type {TodoEntity}
|
|
3142
|
+
* @memberof TodoDetailResponseDTO
|
|
3143
|
+
*/
|
|
3144
|
+
'data': TodoEntity;
|
|
3145
|
+
}
|
|
3146
|
+
/**
|
|
3147
|
+
*
|
|
3148
|
+
* @export
|
|
3149
|
+
* @interface TodoEntity
|
|
3150
|
+
*/
|
|
3151
|
+
export interface TodoEntity {
|
|
3152
|
+
/**
|
|
3153
|
+
* Unique identifier for the todo item
|
|
3154
|
+
* @type {string}
|
|
3155
|
+
* @memberof TodoEntity
|
|
3156
|
+
*/
|
|
3157
|
+
'id': string;
|
|
3158
|
+
/**
|
|
3159
|
+
* Name of the todo item
|
|
3160
|
+
* @type {string}
|
|
3161
|
+
* @memberof TodoEntity
|
|
3162
|
+
*/
|
|
3163
|
+
'name': string;
|
|
3164
|
+
/**
|
|
3165
|
+
* List of collaborators for the todo
|
|
3166
|
+
* @type {Array<string>}
|
|
3167
|
+
* @memberof TodoEntity
|
|
3168
|
+
*/
|
|
3169
|
+
'collaborators': Array<string>;
|
|
3170
|
+
/**
|
|
3171
|
+
* Owner of the todo item
|
|
3172
|
+
* @type {string}
|
|
3173
|
+
* @memberof TodoEntity
|
|
3174
|
+
*/
|
|
3175
|
+
'owner': string;
|
|
3176
|
+
}
|
|
3177
|
+
/**
|
|
3178
|
+
*
|
|
3179
|
+
* @export
|
|
3180
|
+
* @interface TodoListResponseDTO
|
|
3181
|
+
*/
|
|
3182
|
+
export interface TodoListResponseDTO {
|
|
3183
|
+
/**
|
|
3184
|
+
* statusCode
|
|
3185
|
+
* @type {number}
|
|
3186
|
+
* @memberof TodoListResponseDTO
|
|
3187
|
+
*/
|
|
3188
|
+
'statusCode': number;
|
|
3189
|
+
/**
|
|
3190
|
+
* Booking
|
|
3191
|
+
* @type {Array<TodoEntity>}
|
|
3192
|
+
* @memberof TodoListResponseDTO
|
|
3193
|
+
*/
|
|
3194
|
+
'data': Array<TodoEntity>;
|
|
3195
|
+
}
|
|
3196
|
+
/**
|
|
3197
|
+
*
|
|
3198
|
+
* @export
|
|
3199
|
+
* @interface UpdateTaskPayload
|
|
3200
|
+
*/
|
|
3201
|
+
export interface UpdateTaskPayload {
|
|
3202
|
+
/**
|
|
3203
|
+
* Content of the task
|
|
3204
|
+
* @type {string}
|
|
3205
|
+
* @memberof UpdateTaskPayload
|
|
3206
|
+
*/
|
|
3207
|
+
'content'?: string;
|
|
3208
|
+
/**
|
|
3209
|
+
* Status of the task
|
|
3210
|
+
* @type {string}
|
|
3211
|
+
* @memberof UpdateTaskPayload
|
|
3212
|
+
*/
|
|
3213
|
+
'status'?: string;
|
|
3214
|
+
}
|
|
3215
|
+
/**
|
|
3216
|
+
*
|
|
3217
|
+
* @export
|
|
3218
|
+
* @interface UpdateTodoPayload
|
|
3219
|
+
*/
|
|
3220
|
+
export interface UpdateTodoPayload {
|
|
3221
|
+
/**
|
|
3222
|
+
* Name of the todo
|
|
3223
|
+
* @type {string}
|
|
3224
|
+
* @memberof UpdateTodoPayload
|
|
3225
|
+
*/
|
|
3226
|
+
'name': string;
|
|
3227
|
+
}
|
|
2990
3228
|
/**
|
|
2991
3229
|
*
|
|
2992
3230
|
* @export
|
|
@@ -4300,7 +4538,7 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4300
4538
|
baseOptions = configuration.baseOptions;
|
|
4301
4539
|
}
|
|
4302
4540
|
|
|
4303
|
-
const localVarRequestOptions = { method: '
|
|
4541
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4304
4542
|
const localVarHeaderParameter = {} as any;
|
|
4305
4543
|
const localVarQueryParameter = {} as any;
|
|
4306
4544
|
|
|
@@ -6724,10 +6962,17 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6724
6962
|
},
|
|
6725
6963
|
/**
|
|
6726
6964
|
*
|
|
6965
|
+
* @param {number} page
|
|
6966
|
+
* @param {number} pageSize
|
|
6967
|
+
* @param {string} [search]
|
|
6727
6968
|
* @param {*} [options] Override http request option.
|
|
6728
6969
|
* @throws {RequiredError}
|
|
6729
6970
|
*/
|
|
6730
|
-
friendControllerListMyFriends: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6971
|
+
friendControllerListMyFriends: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6972
|
+
// verify required parameter 'page' is not null or undefined
|
|
6973
|
+
assertParamExists('friendControllerListMyFriends', 'page', page)
|
|
6974
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
6975
|
+
assertParamExists('friendControllerListMyFriends', 'pageSize', pageSize)
|
|
6731
6976
|
const localVarPath = `/v1/friend/list`;
|
|
6732
6977
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6733
6978
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6744,6 +6989,18 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6744
6989
|
// http bearer authentication required
|
|
6745
6990
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6746
6991
|
|
|
6992
|
+
if (search !== undefined) {
|
|
6993
|
+
localVarQueryParameter['search'] = search;
|
|
6994
|
+
}
|
|
6995
|
+
|
|
6996
|
+
if (page !== undefined) {
|
|
6997
|
+
localVarQueryParameter['page'] = page;
|
|
6998
|
+
}
|
|
6999
|
+
|
|
7000
|
+
if (pageSize !== undefined) {
|
|
7001
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
7002
|
+
}
|
|
7003
|
+
|
|
6747
7004
|
|
|
6748
7005
|
|
|
6749
7006
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -6895,11 +7152,14 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
6895
7152
|
},
|
|
6896
7153
|
/**
|
|
6897
7154
|
*
|
|
7155
|
+
* @param {number} page
|
|
7156
|
+
* @param {number} pageSize
|
|
7157
|
+
* @param {string} [search]
|
|
6898
7158
|
* @param {*} [options] Override http request option.
|
|
6899
7159
|
* @throws {RequiredError}
|
|
6900
7160
|
*/
|
|
6901
|
-
async friendControllerListMyFriends(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
6902
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(options);
|
|
7161
|
+
async friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
7162
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(page, pageSize, search, options);
|
|
6903
7163
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6904
7164
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
|
|
6905
7165
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -6978,11 +7238,14 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
6978
7238
|
},
|
|
6979
7239
|
/**
|
|
6980
7240
|
*
|
|
7241
|
+
* @param {number} page
|
|
7242
|
+
* @param {number} pageSize
|
|
7243
|
+
* @param {string} [search]
|
|
6981
7244
|
* @param {*} [options] Override http request option.
|
|
6982
7245
|
* @throws {RequiredError}
|
|
6983
7246
|
*/
|
|
6984
|
-
friendControllerListMyFriends(options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
6985
|
-
return localVarFp.friendControllerListMyFriends(options).then((request) => request(axios, basePath));
|
|
7247
|
+
friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
7248
|
+
return localVarFp.friendControllerListMyFriends(page, pageSize, search, options).then((request) => request(axios, basePath));
|
|
6986
7249
|
},
|
|
6987
7250
|
/**
|
|
6988
7251
|
*
|
|
@@ -7060,12 +7323,15 @@ export class FriendsApi extends BaseAPI {
|
|
|
7060
7323
|
|
|
7061
7324
|
/**
|
|
7062
7325
|
*
|
|
7326
|
+
* @param {number} page
|
|
7327
|
+
* @param {number} pageSize
|
|
7328
|
+
* @param {string} [search]
|
|
7063
7329
|
* @param {*} [options] Override http request option.
|
|
7064
7330
|
* @throws {RequiredError}
|
|
7065
7331
|
* @memberof FriendsApi
|
|
7066
7332
|
*/
|
|
7067
|
-
public friendControllerListMyFriends(options?: RawAxiosRequestConfig) {
|
|
7068
|
-
return FriendsApiFp(this.configuration).friendControllerListMyFriends(options).then((request) => request(this.axios, this.basePath));
|
|
7333
|
+
public friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
7334
|
+
return FriendsApiFp(this.configuration).friendControllerListMyFriends(page, pageSize, search, options).then((request) => request(this.axios, this.basePath));
|
|
7069
7335
|
}
|
|
7070
7336
|
|
|
7071
7337
|
/**
|
|
@@ -7734,14 +8000,17 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
7734
8000
|
*
|
|
7735
8001
|
* @param {number} page
|
|
7736
8002
|
* @param {number} pageSize
|
|
8003
|
+
* @param {NotificationControllerGetNotificationCategoryEnum} category
|
|
7737
8004
|
* @param {*} [options] Override http request option.
|
|
7738
8005
|
* @throws {RequiredError}
|
|
7739
8006
|
*/
|
|
7740
|
-
notificationControllerGetNotification: async (page: number, pageSize: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8007
|
+
notificationControllerGetNotification: async (page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7741
8008
|
// verify required parameter 'page' is not null or undefined
|
|
7742
8009
|
assertParamExists('notificationControllerGetNotification', 'page', page)
|
|
7743
8010
|
// verify required parameter 'pageSize' is not null or undefined
|
|
7744
8011
|
assertParamExists('notificationControllerGetNotification', 'pageSize', pageSize)
|
|
8012
|
+
// verify required parameter 'category' is not null or undefined
|
|
8013
|
+
assertParamExists('notificationControllerGetNotification', 'category', category)
|
|
7745
8014
|
const localVarPath = `/v1/notification`;
|
|
7746
8015
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7747
8016
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -7766,6 +8035,10 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
7766
8035
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
7767
8036
|
}
|
|
7768
8037
|
|
|
8038
|
+
if (category !== undefined) {
|
|
8039
|
+
localVarQueryParameter['category'] = category;
|
|
8040
|
+
}
|
|
8041
|
+
|
|
7769
8042
|
|
|
7770
8043
|
|
|
7771
8044
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -7830,11 +8103,12 @@ export const NotificationApiFp = function(configuration?: Configuration) {
|
|
|
7830
8103
|
*
|
|
7831
8104
|
* @param {number} page
|
|
7832
8105
|
* @param {number} pageSize
|
|
8106
|
+
* @param {NotificationControllerGetNotificationCategoryEnum} category
|
|
7833
8107
|
* @param {*} [options] Override http request option.
|
|
7834
8108
|
* @throws {RequiredError}
|
|
7835
8109
|
*/
|
|
7836
|
-
async notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetNotificationDTO>> {
|
|
7837
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationControllerGetNotification(page, pageSize, options);
|
|
8110
|
+
async notificationControllerGetNotification(page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetNotificationDTO>> {
|
|
8111
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationControllerGetNotification(page, pageSize, category, options);
|
|
7838
8112
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7839
8113
|
const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerGetNotification']?.[localVarOperationServerIndex]?.url;
|
|
7840
8114
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7865,11 +8139,12 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
|
|
|
7865
8139
|
*
|
|
7866
8140
|
* @param {number} page
|
|
7867
8141
|
* @param {number} pageSize
|
|
8142
|
+
* @param {NotificationControllerGetNotificationCategoryEnum} category
|
|
7868
8143
|
* @param {*} [options] Override http request option.
|
|
7869
8144
|
* @throws {RequiredError}
|
|
7870
8145
|
*/
|
|
7871
|
-
notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig): AxiosPromise<GetNotificationDTO> {
|
|
7872
|
-
return localVarFp.notificationControllerGetNotification(page, pageSize, options).then((request) => request(axios, basePath));
|
|
8146
|
+
notificationControllerGetNotification(page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum, options?: RawAxiosRequestConfig): AxiosPromise<GetNotificationDTO> {
|
|
8147
|
+
return localVarFp.notificationControllerGetNotification(page, pageSize, category, options).then((request) => request(axios, basePath));
|
|
7873
8148
|
},
|
|
7874
8149
|
/**
|
|
7875
8150
|
*
|
|
@@ -7894,12 +8169,13 @@ export class NotificationApi extends BaseAPI {
|
|
|
7894
8169
|
*
|
|
7895
8170
|
* @param {number} page
|
|
7896
8171
|
* @param {number} pageSize
|
|
8172
|
+
* @param {NotificationControllerGetNotificationCategoryEnum} category
|
|
7897
8173
|
* @param {*} [options] Override http request option.
|
|
7898
8174
|
* @throws {RequiredError}
|
|
7899
8175
|
* @memberof NotificationApi
|
|
7900
8176
|
*/
|
|
7901
|
-
public notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig) {
|
|
7902
|
-
return NotificationApiFp(this.configuration).notificationControllerGetNotification(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
8177
|
+
public notificationControllerGetNotification(page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum, options?: RawAxiosRequestConfig) {
|
|
8178
|
+
return NotificationApiFp(this.configuration).notificationControllerGetNotification(page, pageSize, category, options).then((request) => request(this.axios, this.basePath));
|
|
7903
8179
|
}
|
|
7904
8180
|
|
|
7905
8181
|
/**
|
|
@@ -7914,6 +8190,19 @@ export class NotificationApi extends BaseAPI {
|
|
|
7914
8190
|
}
|
|
7915
8191
|
}
|
|
7916
8192
|
|
|
8193
|
+
/**
|
|
8194
|
+
* @export
|
|
8195
|
+
*/
|
|
8196
|
+
export const NotificationControllerGetNotificationCategoryEnum = {
|
|
8197
|
+
Calendar: 'CALENDAR',
|
|
8198
|
+
Tasks: 'TASKS',
|
|
8199
|
+
Reminders: 'REMINDERS',
|
|
8200
|
+
Waitlist: 'WAITLIST',
|
|
8201
|
+
Booking: 'BOOKING',
|
|
8202
|
+
Invites: 'INVITES',
|
|
8203
|
+
General: 'GENERAL'
|
|
8204
|
+
} as const;
|
|
8205
|
+
export type NotificationControllerGetNotificationCategoryEnum = typeof NotificationControllerGetNotificationCategoryEnum[keyof typeof NotificationControllerGetNotificationCategoryEnum];
|
|
7917
8206
|
|
|
7918
8207
|
|
|
7919
8208
|
/**
|
|
@@ -8517,6 +8806,971 @@ export class PlansApi extends BaseAPI {
|
|
|
8517
8806
|
|
|
8518
8807
|
|
|
8519
8808
|
|
|
8809
|
+
/**
|
|
8810
|
+
* TodoApi - axios parameter creator
|
|
8811
|
+
* @export
|
|
8812
|
+
*/
|
|
8813
|
+
export const TodoApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8814
|
+
return {
|
|
8815
|
+
/**
|
|
8816
|
+
*
|
|
8817
|
+
* @param {string} id
|
|
8818
|
+
* @param {*} [options] Override http request option.
|
|
8819
|
+
* @throws {RequiredError}
|
|
8820
|
+
*/
|
|
8821
|
+
todoControllerAcceptTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8822
|
+
// verify required parameter 'id' is not null or undefined
|
|
8823
|
+
assertParamExists('todoControllerAcceptTodo', 'id', id)
|
|
8824
|
+
const localVarPath = `/v1/todo/{id}/accept`
|
|
8825
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8826
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8827
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8828
|
+
let baseOptions;
|
|
8829
|
+
if (configuration) {
|
|
8830
|
+
baseOptions = configuration.baseOptions;
|
|
8831
|
+
}
|
|
8832
|
+
|
|
8833
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8834
|
+
const localVarHeaderParameter = {} as any;
|
|
8835
|
+
const localVarQueryParameter = {} as any;
|
|
8836
|
+
|
|
8837
|
+
// authentication bearer required
|
|
8838
|
+
// http bearer authentication required
|
|
8839
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8840
|
+
|
|
8841
|
+
|
|
8842
|
+
|
|
8843
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8844
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8845
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8846
|
+
|
|
8847
|
+
return {
|
|
8848
|
+
url: toPathString(localVarUrlObj),
|
|
8849
|
+
options: localVarRequestOptions,
|
|
8850
|
+
};
|
|
8851
|
+
},
|
|
8852
|
+
/**
|
|
8853
|
+
*
|
|
8854
|
+
* @param {string} id
|
|
8855
|
+
* @param {AssignTaskPayload} assignTaskPayload
|
|
8856
|
+
* @param {*} [options] Override http request option.
|
|
8857
|
+
* @throws {RequiredError}
|
|
8858
|
+
*/
|
|
8859
|
+
todoControllerAssignTask: async (id: string, assignTaskPayload: AssignTaskPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8860
|
+
// verify required parameter 'id' is not null or undefined
|
|
8861
|
+
assertParamExists('todoControllerAssignTask', 'id', id)
|
|
8862
|
+
// verify required parameter 'assignTaskPayload' is not null or undefined
|
|
8863
|
+
assertParamExists('todoControllerAssignTask', 'assignTaskPayload', assignTaskPayload)
|
|
8864
|
+
const localVarPath = `/v1/todo/task/{id}/assign`
|
|
8865
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8866
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8867
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8868
|
+
let baseOptions;
|
|
8869
|
+
if (configuration) {
|
|
8870
|
+
baseOptions = configuration.baseOptions;
|
|
8871
|
+
}
|
|
8872
|
+
|
|
8873
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8874
|
+
const localVarHeaderParameter = {} as any;
|
|
8875
|
+
const localVarQueryParameter = {} as any;
|
|
8876
|
+
|
|
8877
|
+
|
|
8878
|
+
|
|
8879
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8880
|
+
|
|
8881
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8882
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8883
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8884
|
+
localVarRequestOptions.data = serializeDataIfNeeded(assignTaskPayload, localVarRequestOptions, configuration)
|
|
8885
|
+
|
|
8886
|
+
return {
|
|
8887
|
+
url: toPathString(localVarUrlObj),
|
|
8888
|
+
options: localVarRequestOptions,
|
|
8889
|
+
};
|
|
8890
|
+
},
|
|
8891
|
+
/**
|
|
8892
|
+
*
|
|
8893
|
+
* @param {CreateTaskPayload} createTaskPayload
|
|
8894
|
+
* @param {*} [options] Override http request option.
|
|
8895
|
+
* @throws {RequiredError}
|
|
8896
|
+
*/
|
|
8897
|
+
todoControllerCreateTask: async (createTaskPayload: CreateTaskPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8898
|
+
// verify required parameter 'createTaskPayload' is not null or undefined
|
|
8899
|
+
assertParamExists('todoControllerCreateTask', 'createTaskPayload', createTaskPayload)
|
|
8900
|
+
const localVarPath = `/v1/todo/task`;
|
|
8901
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8902
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8903
|
+
let baseOptions;
|
|
8904
|
+
if (configuration) {
|
|
8905
|
+
baseOptions = configuration.baseOptions;
|
|
8906
|
+
}
|
|
8907
|
+
|
|
8908
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8909
|
+
const localVarHeaderParameter = {} as any;
|
|
8910
|
+
const localVarQueryParameter = {} as any;
|
|
8911
|
+
|
|
8912
|
+
// authentication bearer required
|
|
8913
|
+
// http bearer authentication required
|
|
8914
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8915
|
+
|
|
8916
|
+
|
|
8917
|
+
|
|
8918
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8919
|
+
|
|
8920
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8921
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8922
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8923
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTaskPayload, localVarRequestOptions, configuration)
|
|
8924
|
+
|
|
8925
|
+
return {
|
|
8926
|
+
url: toPathString(localVarUrlObj),
|
|
8927
|
+
options: localVarRequestOptions,
|
|
8928
|
+
};
|
|
8929
|
+
},
|
|
8930
|
+
/**
|
|
8931
|
+
*
|
|
8932
|
+
* @param {CreateTodoPayload} createTodoPayload
|
|
8933
|
+
* @param {*} [options] Override http request option.
|
|
8934
|
+
* @throws {RequiredError}
|
|
8935
|
+
*/
|
|
8936
|
+
todoControllerCreateTodo: async (createTodoPayload: CreateTodoPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8937
|
+
// verify required parameter 'createTodoPayload' is not null or undefined
|
|
8938
|
+
assertParamExists('todoControllerCreateTodo', 'createTodoPayload', createTodoPayload)
|
|
8939
|
+
const localVarPath = `/v1/todo`;
|
|
8940
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8941
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8942
|
+
let baseOptions;
|
|
8943
|
+
if (configuration) {
|
|
8944
|
+
baseOptions = configuration.baseOptions;
|
|
8945
|
+
}
|
|
8946
|
+
|
|
8947
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8948
|
+
const localVarHeaderParameter = {} as any;
|
|
8949
|
+
const localVarQueryParameter = {} as any;
|
|
8950
|
+
|
|
8951
|
+
// authentication bearer required
|
|
8952
|
+
// http bearer authentication required
|
|
8953
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8954
|
+
|
|
8955
|
+
|
|
8956
|
+
|
|
8957
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8958
|
+
|
|
8959
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8960
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8961
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8962
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTodoPayload, localVarRequestOptions, configuration)
|
|
8963
|
+
|
|
8964
|
+
return {
|
|
8965
|
+
url: toPathString(localVarUrlObj),
|
|
8966
|
+
options: localVarRequestOptions,
|
|
8967
|
+
};
|
|
8968
|
+
},
|
|
8969
|
+
/**
|
|
8970
|
+
*
|
|
8971
|
+
* @param {string} id
|
|
8972
|
+
* @param {*} [options] Override http request option.
|
|
8973
|
+
* @throws {RequiredError}
|
|
8974
|
+
*/
|
|
8975
|
+
todoControllerDeleteTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8976
|
+
// verify required parameter 'id' is not null or undefined
|
|
8977
|
+
assertParamExists('todoControllerDeleteTask', 'id', id)
|
|
8978
|
+
const localVarPath = `/v1/todo/task/{id}`
|
|
8979
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8980
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8981
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8982
|
+
let baseOptions;
|
|
8983
|
+
if (configuration) {
|
|
8984
|
+
baseOptions = configuration.baseOptions;
|
|
8985
|
+
}
|
|
8986
|
+
|
|
8987
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
8988
|
+
const localVarHeaderParameter = {} as any;
|
|
8989
|
+
const localVarQueryParameter = {} as any;
|
|
8990
|
+
|
|
8991
|
+
// authentication bearer required
|
|
8992
|
+
// http bearer authentication required
|
|
8993
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8994
|
+
|
|
8995
|
+
|
|
8996
|
+
|
|
8997
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8998
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8999
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9000
|
+
|
|
9001
|
+
return {
|
|
9002
|
+
url: toPathString(localVarUrlObj),
|
|
9003
|
+
options: localVarRequestOptions,
|
|
9004
|
+
};
|
|
9005
|
+
},
|
|
9006
|
+
/**
|
|
9007
|
+
*
|
|
9008
|
+
* @param {string} id
|
|
9009
|
+
* @param {*} [options] Override http request option.
|
|
9010
|
+
* @throws {RequiredError}
|
|
9011
|
+
*/
|
|
9012
|
+
todoControllerDeleteTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9013
|
+
// verify required parameter 'id' is not null or undefined
|
|
9014
|
+
assertParamExists('todoControllerDeleteTodo', 'id', id)
|
|
9015
|
+
const localVarPath = `/v1/todo/{id}`
|
|
9016
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9017
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9018
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9019
|
+
let baseOptions;
|
|
9020
|
+
if (configuration) {
|
|
9021
|
+
baseOptions = configuration.baseOptions;
|
|
9022
|
+
}
|
|
9023
|
+
|
|
9024
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
9025
|
+
const localVarHeaderParameter = {} as any;
|
|
9026
|
+
const localVarQueryParameter = {} as any;
|
|
9027
|
+
|
|
9028
|
+
// authentication bearer required
|
|
9029
|
+
// http bearer authentication required
|
|
9030
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9031
|
+
|
|
9032
|
+
|
|
9033
|
+
|
|
9034
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9035
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9036
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9037
|
+
|
|
9038
|
+
return {
|
|
9039
|
+
url: toPathString(localVarUrlObj),
|
|
9040
|
+
options: localVarRequestOptions,
|
|
9041
|
+
};
|
|
9042
|
+
},
|
|
9043
|
+
/**
|
|
9044
|
+
*
|
|
9045
|
+
* @param {string} id
|
|
9046
|
+
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
9047
|
+
* @param {*} [options] Override http request option.
|
|
9048
|
+
* @throws {RequiredError}
|
|
9049
|
+
*/
|
|
9050
|
+
todoControllerInviteCollaborator: async (id: string, addCollaboratorPayload: AddCollaboratorPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9051
|
+
// verify required parameter 'id' is not null or undefined
|
|
9052
|
+
assertParamExists('todoControllerInviteCollaborator', 'id', id)
|
|
9053
|
+
// verify required parameter 'addCollaboratorPayload' is not null or undefined
|
|
9054
|
+
assertParamExists('todoControllerInviteCollaborator', 'addCollaboratorPayload', addCollaboratorPayload)
|
|
9055
|
+
const localVarPath = `/v1/todo/{id}/collaborator`
|
|
9056
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9057
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9058
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9059
|
+
let baseOptions;
|
|
9060
|
+
if (configuration) {
|
|
9061
|
+
baseOptions = configuration.baseOptions;
|
|
9062
|
+
}
|
|
9063
|
+
|
|
9064
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9065
|
+
const localVarHeaderParameter = {} as any;
|
|
9066
|
+
const localVarQueryParameter = {} as any;
|
|
9067
|
+
|
|
9068
|
+
// authentication bearer required
|
|
9069
|
+
// http bearer authentication required
|
|
9070
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9071
|
+
|
|
9072
|
+
|
|
9073
|
+
|
|
9074
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9075
|
+
|
|
9076
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9077
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9078
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9079
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addCollaboratorPayload, localVarRequestOptions, configuration)
|
|
9080
|
+
|
|
9081
|
+
return {
|
|
9082
|
+
url: toPathString(localVarUrlObj),
|
|
9083
|
+
options: localVarRequestOptions,
|
|
9084
|
+
};
|
|
9085
|
+
},
|
|
9086
|
+
/**
|
|
9087
|
+
*
|
|
9088
|
+
* @param {ListTaskListPayload} listTaskListPayload
|
|
9089
|
+
* @param {*} [options] Override http request option.
|
|
9090
|
+
* @throws {RequiredError}
|
|
9091
|
+
*/
|
|
9092
|
+
todoControllerListTasks: async (listTaskListPayload: ListTaskListPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9093
|
+
// verify required parameter 'listTaskListPayload' is not null or undefined
|
|
9094
|
+
assertParamExists('todoControllerListTasks', 'listTaskListPayload', listTaskListPayload)
|
|
9095
|
+
const localVarPath = `/v1/todo/task/list`;
|
|
9096
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9097
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9098
|
+
let baseOptions;
|
|
9099
|
+
if (configuration) {
|
|
9100
|
+
baseOptions = configuration.baseOptions;
|
|
9101
|
+
}
|
|
9102
|
+
|
|
9103
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9104
|
+
const localVarHeaderParameter = {} as any;
|
|
9105
|
+
const localVarQueryParameter = {} as any;
|
|
9106
|
+
|
|
9107
|
+
// authentication bearer required
|
|
9108
|
+
// http bearer authentication required
|
|
9109
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9110
|
+
|
|
9111
|
+
|
|
9112
|
+
|
|
9113
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9114
|
+
|
|
9115
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9116
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9117
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9118
|
+
localVarRequestOptions.data = serializeDataIfNeeded(listTaskListPayload, localVarRequestOptions, configuration)
|
|
9119
|
+
|
|
9120
|
+
return {
|
|
9121
|
+
url: toPathString(localVarUrlObj),
|
|
9122
|
+
options: localVarRequestOptions,
|
|
9123
|
+
};
|
|
9124
|
+
},
|
|
9125
|
+
/**
|
|
9126
|
+
*
|
|
9127
|
+
* @param {*} [options] Override http request option.
|
|
9128
|
+
* @throws {RequiredError}
|
|
9129
|
+
*/
|
|
9130
|
+
todoControllerListTodo: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9131
|
+
const localVarPath = `/v1/todo`;
|
|
9132
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9133
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9134
|
+
let baseOptions;
|
|
9135
|
+
if (configuration) {
|
|
9136
|
+
baseOptions = configuration.baseOptions;
|
|
9137
|
+
}
|
|
9138
|
+
|
|
9139
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9140
|
+
const localVarHeaderParameter = {} as any;
|
|
9141
|
+
const localVarQueryParameter = {} as any;
|
|
9142
|
+
|
|
9143
|
+
// authentication bearer required
|
|
9144
|
+
// http bearer authentication required
|
|
9145
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9146
|
+
|
|
9147
|
+
|
|
9148
|
+
|
|
9149
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9150
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9151
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9152
|
+
|
|
9153
|
+
return {
|
|
9154
|
+
url: toPathString(localVarUrlObj),
|
|
9155
|
+
options: localVarRequestOptions,
|
|
9156
|
+
};
|
|
9157
|
+
},
|
|
9158
|
+
/**
|
|
9159
|
+
*
|
|
9160
|
+
* @param {string} id
|
|
9161
|
+
* @param {*} [options] Override http request option.
|
|
9162
|
+
* @throws {RequiredError}
|
|
9163
|
+
*/
|
|
9164
|
+
todoControllerRejectTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9165
|
+
// verify required parameter 'id' is not null or undefined
|
|
9166
|
+
assertParamExists('todoControllerRejectTodo', 'id', id)
|
|
9167
|
+
const localVarPath = `/v1/todo/{id}/reject`
|
|
9168
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9169
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9170
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9171
|
+
let baseOptions;
|
|
9172
|
+
if (configuration) {
|
|
9173
|
+
baseOptions = configuration.baseOptions;
|
|
9174
|
+
}
|
|
9175
|
+
|
|
9176
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9177
|
+
const localVarHeaderParameter = {} as any;
|
|
9178
|
+
const localVarQueryParameter = {} as any;
|
|
9179
|
+
|
|
9180
|
+
|
|
9181
|
+
|
|
9182
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9183
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9184
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9185
|
+
|
|
9186
|
+
return {
|
|
9187
|
+
url: toPathString(localVarUrlObj),
|
|
9188
|
+
options: localVarRequestOptions,
|
|
9189
|
+
};
|
|
9190
|
+
},
|
|
9191
|
+
/**
|
|
9192
|
+
*
|
|
9193
|
+
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
9194
|
+
* @param {*} [options] Override http request option.
|
|
9195
|
+
* @throws {RequiredError}
|
|
9196
|
+
*/
|
|
9197
|
+
todoControllerReorderTask: async (taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9198
|
+
// verify required parameter 'taskListReorderPayloadDTO' is not null or undefined
|
|
9199
|
+
assertParamExists('todoControllerReorderTask', 'taskListReorderPayloadDTO', taskListReorderPayloadDTO)
|
|
9200
|
+
const localVarPath = `/v1/todo/task/reorder`;
|
|
9201
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9202
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9203
|
+
let baseOptions;
|
|
9204
|
+
if (configuration) {
|
|
9205
|
+
baseOptions = configuration.baseOptions;
|
|
9206
|
+
}
|
|
9207
|
+
|
|
9208
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9209
|
+
const localVarHeaderParameter = {} as any;
|
|
9210
|
+
const localVarQueryParameter = {} as any;
|
|
9211
|
+
|
|
9212
|
+
// authentication bearer required
|
|
9213
|
+
// http bearer authentication required
|
|
9214
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9215
|
+
|
|
9216
|
+
|
|
9217
|
+
|
|
9218
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9219
|
+
|
|
9220
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9221
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9222
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9223
|
+
localVarRequestOptions.data = serializeDataIfNeeded(taskListReorderPayloadDTO, localVarRequestOptions, configuration)
|
|
9224
|
+
|
|
9225
|
+
return {
|
|
9226
|
+
url: toPathString(localVarUrlObj),
|
|
9227
|
+
options: localVarRequestOptions,
|
|
9228
|
+
};
|
|
9229
|
+
},
|
|
9230
|
+
/**
|
|
9231
|
+
*
|
|
9232
|
+
* @param {string} id
|
|
9233
|
+
* @param {UpdateTaskPayload} updateTaskPayload
|
|
9234
|
+
* @param {*} [options] Override http request option.
|
|
9235
|
+
* @throws {RequiredError}
|
|
9236
|
+
*/
|
|
9237
|
+
todoControllerUpdateTask: async (id: string, updateTaskPayload: UpdateTaskPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9238
|
+
// verify required parameter 'id' is not null or undefined
|
|
9239
|
+
assertParamExists('todoControllerUpdateTask', 'id', id)
|
|
9240
|
+
// verify required parameter 'updateTaskPayload' is not null or undefined
|
|
9241
|
+
assertParamExists('todoControllerUpdateTask', 'updateTaskPayload', updateTaskPayload)
|
|
9242
|
+
const localVarPath = `/v1/todo/task/{id}`
|
|
9243
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9244
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9245
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9246
|
+
let baseOptions;
|
|
9247
|
+
if (configuration) {
|
|
9248
|
+
baseOptions = configuration.baseOptions;
|
|
9249
|
+
}
|
|
9250
|
+
|
|
9251
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9252
|
+
const localVarHeaderParameter = {} as any;
|
|
9253
|
+
const localVarQueryParameter = {} as any;
|
|
9254
|
+
|
|
9255
|
+
// authentication bearer required
|
|
9256
|
+
// http bearer authentication required
|
|
9257
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9258
|
+
|
|
9259
|
+
|
|
9260
|
+
|
|
9261
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9262
|
+
|
|
9263
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9264
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9265
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9266
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTaskPayload, localVarRequestOptions, configuration)
|
|
9267
|
+
|
|
9268
|
+
return {
|
|
9269
|
+
url: toPathString(localVarUrlObj),
|
|
9270
|
+
options: localVarRequestOptions,
|
|
9271
|
+
};
|
|
9272
|
+
},
|
|
9273
|
+
/**
|
|
9274
|
+
*
|
|
9275
|
+
* @param {string} id
|
|
9276
|
+
* @param {UpdateTodoPayload} updateTodoPayload
|
|
9277
|
+
* @param {*} [options] Override http request option.
|
|
9278
|
+
* @throws {RequiredError}
|
|
9279
|
+
*/
|
|
9280
|
+
todoControllerUpdateTodo: async (id: string, updateTodoPayload: UpdateTodoPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9281
|
+
// verify required parameter 'id' is not null or undefined
|
|
9282
|
+
assertParamExists('todoControllerUpdateTodo', 'id', id)
|
|
9283
|
+
// verify required parameter 'updateTodoPayload' is not null or undefined
|
|
9284
|
+
assertParamExists('todoControllerUpdateTodo', 'updateTodoPayload', updateTodoPayload)
|
|
9285
|
+
const localVarPath = `/v1/todo/{id}`
|
|
9286
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9287
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9288
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9289
|
+
let baseOptions;
|
|
9290
|
+
if (configuration) {
|
|
9291
|
+
baseOptions = configuration.baseOptions;
|
|
9292
|
+
}
|
|
9293
|
+
|
|
9294
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9295
|
+
const localVarHeaderParameter = {} as any;
|
|
9296
|
+
const localVarQueryParameter = {} as any;
|
|
9297
|
+
|
|
9298
|
+
// authentication bearer required
|
|
9299
|
+
// http bearer authentication required
|
|
9300
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9301
|
+
|
|
9302
|
+
|
|
9303
|
+
|
|
9304
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9305
|
+
|
|
9306
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9307
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9308
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9309
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTodoPayload, localVarRequestOptions, configuration)
|
|
9310
|
+
|
|
9311
|
+
return {
|
|
9312
|
+
url: toPathString(localVarUrlObj),
|
|
9313
|
+
options: localVarRequestOptions,
|
|
9314
|
+
};
|
|
9315
|
+
},
|
|
9316
|
+
}
|
|
9317
|
+
};
|
|
9318
|
+
|
|
9319
|
+
/**
|
|
9320
|
+
* TodoApi - functional programming interface
|
|
9321
|
+
* @export
|
|
9322
|
+
*/
|
|
9323
|
+
export const TodoApiFp = function(configuration?: Configuration) {
|
|
9324
|
+
const localVarAxiosParamCreator = TodoApiAxiosParamCreator(configuration)
|
|
9325
|
+
return {
|
|
9326
|
+
/**
|
|
9327
|
+
*
|
|
9328
|
+
* @param {string} id
|
|
9329
|
+
* @param {*} [options] Override http request option.
|
|
9330
|
+
* @throws {RequiredError}
|
|
9331
|
+
*/
|
|
9332
|
+
async todoControllerAcceptTodo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9333
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerAcceptTodo(id, options);
|
|
9334
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9335
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerAcceptTodo']?.[localVarOperationServerIndex]?.url;
|
|
9336
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9337
|
+
},
|
|
9338
|
+
/**
|
|
9339
|
+
*
|
|
9340
|
+
* @param {string} id
|
|
9341
|
+
* @param {AssignTaskPayload} assignTaskPayload
|
|
9342
|
+
* @param {*} [options] Override http request option.
|
|
9343
|
+
* @throws {RequiredError}
|
|
9344
|
+
*/
|
|
9345
|
+
async todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9346
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerAssignTask(id, assignTaskPayload, options);
|
|
9347
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9348
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerAssignTask']?.[localVarOperationServerIndex]?.url;
|
|
9349
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9350
|
+
},
|
|
9351
|
+
/**
|
|
9352
|
+
*
|
|
9353
|
+
* @param {CreateTaskPayload} createTaskPayload
|
|
9354
|
+
* @param {*} [options] Override http request option.
|
|
9355
|
+
* @throws {RequiredError}
|
|
9356
|
+
*/
|
|
9357
|
+
async todoControllerCreateTask(createTaskPayload: CreateTaskPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskDetailResponseDTO>> {
|
|
9358
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerCreateTask(createTaskPayload, options);
|
|
9359
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9360
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerCreateTask']?.[localVarOperationServerIndex]?.url;
|
|
9361
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9362
|
+
},
|
|
9363
|
+
/**
|
|
9364
|
+
*
|
|
9365
|
+
* @param {CreateTodoPayload} createTodoPayload
|
|
9366
|
+
* @param {*} [options] Override http request option.
|
|
9367
|
+
* @throws {RequiredError}
|
|
9368
|
+
*/
|
|
9369
|
+
async todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9370
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerCreateTodo(createTodoPayload, options);
|
|
9371
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9372
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerCreateTodo']?.[localVarOperationServerIndex]?.url;
|
|
9373
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9374
|
+
},
|
|
9375
|
+
/**
|
|
9376
|
+
*
|
|
9377
|
+
* @param {string} id
|
|
9378
|
+
* @param {*} [options] Override http request option.
|
|
9379
|
+
* @throws {RequiredError}
|
|
9380
|
+
*/
|
|
9381
|
+
async todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9382
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerDeleteTask(id, options);
|
|
9383
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9384
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerDeleteTask']?.[localVarOperationServerIndex]?.url;
|
|
9385
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9386
|
+
},
|
|
9387
|
+
/**
|
|
9388
|
+
*
|
|
9389
|
+
* @param {string} id
|
|
9390
|
+
* @param {*} [options] Override http request option.
|
|
9391
|
+
* @throws {RequiredError}
|
|
9392
|
+
*/
|
|
9393
|
+
async todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9394
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerDeleteTodo(id, options);
|
|
9395
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9396
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerDeleteTodo']?.[localVarOperationServerIndex]?.url;
|
|
9397
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9398
|
+
},
|
|
9399
|
+
/**
|
|
9400
|
+
*
|
|
9401
|
+
* @param {string} id
|
|
9402
|
+
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
9403
|
+
* @param {*} [options] Override http request option.
|
|
9404
|
+
* @throws {RequiredError}
|
|
9405
|
+
*/
|
|
9406
|
+
async todoControllerInviteCollaborator(id: string, addCollaboratorPayload: AddCollaboratorPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9407
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerInviteCollaborator(id, addCollaboratorPayload, options);
|
|
9408
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9409
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerInviteCollaborator']?.[localVarOperationServerIndex]?.url;
|
|
9410
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9411
|
+
},
|
|
9412
|
+
/**
|
|
9413
|
+
*
|
|
9414
|
+
* @param {ListTaskListPayload} listTaskListPayload
|
|
9415
|
+
* @param {*} [options] Override http request option.
|
|
9416
|
+
* @throws {RequiredError}
|
|
9417
|
+
*/
|
|
9418
|
+
async todoControllerListTasks(listTaskListPayload: ListTaskListPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskListResponseDTO>> {
|
|
9419
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerListTasks(listTaskListPayload, options);
|
|
9420
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9421
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerListTasks']?.[localVarOperationServerIndex]?.url;
|
|
9422
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9423
|
+
},
|
|
9424
|
+
/**
|
|
9425
|
+
*
|
|
9426
|
+
* @param {*} [options] Override http request option.
|
|
9427
|
+
* @throws {RequiredError}
|
|
9428
|
+
*/
|
|
9429
|
+
async todoControllerListTodo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoListResponseDTO>> {
|
|
9430
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerListTodo(options);
|
|
9431
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9432
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerListTodo']?.[localVarOperationServerIndex]?.url;
|
|
9433
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9434
|
+
},
|
|
9435
|
+
/**
|
|
9436
|
+
*
|
|
9437
|
+
* @param {string} id
|
|
9438
|
+
* @param {*} [options] Override http request option.
|
|
9439
|
+
* @throws {RequiredError}
|
|
9440
|
+
*/
|
|
9441
|
+
async todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9442
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerRejectTodo(id, options);
|
|
9443
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9444
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerRejectTodo']?.[localVarOperationServerIndex]?.url;
|
|
9445
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9446
|
+
},
|
|
9447
|
+
/**
|
|
9448
|
+
*
|
|
9449
|
+
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
9450
|
+
* @param {*} [options] Override http request option.
|
|
9451
|
+
* @throws {RequiredError}
|
|
9452
|
+
*/
|
|
9453
|
+
async todoControllerReorderTask(taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9454
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerReorderTask(taskListReorderPayloadDTO, options);
|
|
9455
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9456
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerReorderTask']?.[localVarOperationServerIndex]?.url;
|
|
9457
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9458
|
+
},
|
|
9459
|
+
/**
|
|
9460
|
+
*
|
|
9461
|
+
* @param {string} id
|
|
9462
|
+
* @param {UpdateTaskPayload} updateTaskPayload
|
|
9463
|
+
* @param {*} [options] Override http request option.
|
|
9464
|
+
* @throws {RequiredError}
|
|
9465
|
+
*/
|
|
9466
|
+
async todoControllerUpdateTask(id: string, updateTaskPayload: UpdateTaskPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskDetailResponseDTO>> {
|
|
9467
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerUpdateTask(id, updateTaskPayload, options);
|
|
9468
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9469
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerUpdateTask']?.[localVarOperationServerIndex]?.url;
|
|
9470
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9471
|
+
},
|
|
9472
|
+
/**
|
|
9473
|
+
*
|
|
9474
|
+
* @param {string} id
|
|
9475
|
+
* @param {UpdateTodoPayload} updateTodoPayload
|
|
9476
|
+
* @param {*} [options] Override http request option.
|
|
9477
|
+
* @throws {RequiredError}
|
|
9478
|
+
*/
|
|
9479
|
+
async todoControllerUpdateTodo(id: string, updateTodoPayload: UpdateTodoPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9480
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerUpdateTodo(id, updateTodoPayload, options);
|
|
9481
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9482
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerUpdateTodo']?.[localVarOperationServerIndex]?.url;
|
|
9483
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9484
|
+
},
|
|
9485
|
+
}
|
|
9486
|
+
};
|
|
9487
|
+
|
|
9488
|
+
/**
|
|
9489
|
+
* TodoApi - factory interface
|
|
9490
|
+
* @export
|
|
9491
|
+
*/
|
|
9492
|
+
export const TodoApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
9493
|
+
const localVarFp = TodoApiFp(configuration)
|
|
9494
|
+
return {
|
|
9495
|
+
/**
|
|
9496
|
+
*
|
|
9497
|
+
* @param {string} id
|
|
9498
|
+
* @param {*} [options] Override http request option.
|
|
9499
|
+
* @throws {RequiredError}
|
|
9500
|
+
*/
|
|
9501
|
+
todoControllerAcceptTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9502
|
+
return localVarFp.todoControllerAcceptTodo(id, options).then((request) => request(axios, basePath));
|
|
9503
|
+
},
|
|
9504
|
+
/**
|
|
9505
|
+
*
|
|
9506
|
+
* @param {string} id
|
|
9507
|
+
* @param {AssignTaskPayload} assignTaskPayload
|
|
9508
|
+
* @param {*} [options] Override http request option.
|
|
9509
|
+
* @throws {RequiredError}
|
|
9510
|
+
*/
|
|
9511
|
+
todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9512
|
+
return localVarFp.todoControllerAssignTask(id, assignTaskPayload, options).then((request) => request(axios, basePath));
|
|
9513
|
+
},
|
|
9514
|
+
/**
|
|
9515
|
+
*
|
|
9516
|
+
* @param {CreateTaskPayload} createTaskPayload
|
|
9517
|
+
* @param {*} [options] Override http request option.
|
|
9518
|
+
* @throws {RequiredError}
|
|
9519
|
+
*/
|
|
9520
|
+
todoControllerCreateTask(createTaskPayload: CreateTaskPayload, options?: RawAxiosRequestConfig): AxiosPromise<TaskDetailResponseDTO> {
|
|
9521
|
+
return localVarFp.todoControllerCreateTask(createTaskPayload, options).then((request) => request(axios, basePath));
|
|
9522
|
+
},
|
|
9523
|
+
/**
|
|
9524
|
+
*
|
|
9525
|
+
* @param {CreateTodoPayload} createTodoPayload
|
|
9526
|
+
* @param {*} [options] Override http request option.
|
|
9527
|
+
* @throws {RequiredError}
|
|
9528
|
+
*/
|
|
9529
|
+
todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9530
|
+
return localVarFp.todoControllerCreateTodo(createTodoPayload, options).then((request) => request(axios, basePath));
|
|
9531
|
+
},
|
|
9532
|
+
/**
|
|
9533
|
+
*
|
|
9534
|
+
* @param {string} id
|
|
9535
|
+
* @param {*} [options] Override http request option.
|
|
9536
|
+
* @throws {RequiredError}
|
|
9537
|
+
*/
|
|
9538
|
+
todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9539
|
+
return localVarFp.todoControllerDeleteTask(id, options).then((request) => request(axios, basePath));
|
|
9540
|
+
},
|
|
9541
|
+
/**
|
|
9542
|
+
*
|
|
9543
|
+
* @param {string} id
|
|
9544
|
+
* @param {*} [options] Override http request option.
|
|
9545
|
+
* @throws {RequiredError}
|
|
9546
|
+
*/
|
|
9547
|
+
todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9548
|
+
return localVarFp.todoControllerDeleteTodo(id, options).then((request) => request(axios, basePath));
|
|
9549
|
+
},
|
|
9550
|
+
/**
|
|
9551
|
+
*
|
|
9552
|
+
* @param {string} id
|
|
9553
|
+
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
9554
|
+
* @param {*} [options] Override http request option.
|
|
9555
|
+
* @throws {RequiredError}
|
|
9556
|
+
*/
|
|
9557
|
+
todoControllerInviteCollaborator(id: string, addCollaboratorPayload: AddCollaboratorPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9558
|
+
return localVarFp.todoControllerInviteCollaborator(id, addCollaboratorPayload, options).then((request) => request(axios, basePath));
|
|
9559
|
+
},
|
|
9560
|
+
/**
|
|
9561
|
+
*
|
|
9562
|
+
* @param {ListTaskListPayload} listTaskListPayload
|
|
9563
|
+
* @param {*} [options] Override http request option.
|
|
9564
|
+
* @throws {RequiredError}
|
|
9565
|
+
*/
|
|
9566
|
+
todoControllerListTasks(listTaskListPayload: ListTaskListPayload, options?: RawAxiosRequestConfig): AxiosPromise<TaskListResponseDTO> {
|
|
9567
|
+
return localVarFp.todoControllerListTasks(listTaskListPayload, options).then((request) => request(axios, basePath));
|
|
9568
|
+
},
|
|
9569
|
+
/**
|
|
9570
|
+
*
|
|
9571
|
+
* @param {*} [options] Override http request option.
|
|
9572
|
+
* @throws {RequiredError}
|
|
9573
|
+
*/
|
|
9574
|
+
todoControllerListTodo(options?: RawAxiosRequestConfig): AxiosPromise<TodoListResponseDTO> {
|
|
9575
|
+
return localVarFp.todoControllerListTodo(options).then((request) => request(axios, basePath));
|
|
9576
|
+
},
|
|
9577
|
+
/**
|
|
9578
|
+
*
|
|
9579
|
+
* @param {string} id
|
|
9580
|
+
* @param {*} [options] Override http request option.
|
|
9581
|
+
* @throws {RequiredError}
|
|
9582
|
+
*/
|
|
9583
|
+
todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9584
|
+
return localVarFp.todoControllerRejectTodo(id, options).then((request) => request(axios, basePath));
|
|
9585
|
+
},
|
|
9586
|
+
/**
|
|
9587
|
+
*
|
|
9588
|
+
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
9589
|
+
* @param {*} [options] Override http request option.
|
|
9590
|
+
* @throws {RequiredError}
|
|
9591
|
+
*/
|
|
9592
|
+
todoControllerReorderTask(taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9593
|
+
return localVarFp.todoControllerReorderTask(taskListReorderPayloadDTO, options).then((request) => request(axios, basePath));
|
|
9594
|
+
},
|
|
9595
|
+
/**
|
|
9596
|
+
*
|
|
9597
|
+
* @param {string} id
|
|
9598
|
+
* @param {UpdateTaskPayload} updateTaskPayload
|
|
9599
|
+
* @param {*} [options] Override http request option.
|
|
9600
|
+
* @throws {RequiredError}
|
|
9601
|
+
*/
|
|
9602
|
+
todoControllerUpdateTask(id: string, updateTaskPayload: UpdateTaskPayload, options?: RawAxiosRequestConfig): AxiosPromise<TaskDetailResponseDTO> {
|
|
9603
|
+
return localVarFp.todoControllerUpdateTask(id, updateTaskPayload, options).then((request) => request(axios, basePath));
|
|
9604
|
+
},
|
|
9605
|
+
/**
|
|
9606
|
+
*
|
|
9607
|
+
* @param {string} id
|
|
9608
|
+
* @param {UpdateTodoPayload} updateTodoPayload
|
|
9609
|
+
* @param {*} [options] Override http request option.
|
|
9610
|
+
* @throws {RequiredError}
|
|
9611
|
+
*/
|
|
9612
|
+
todoControllerUpdateTodo(id: string, updateTodoPayload: UpdateTodoPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9613
|
+
return localVarFp.todoControllerUpdateTodo(id, updateTodoPayload, options).then((request) => request(axios, basePath));
|
|
9614
|
+
},
|
|
9615
|
+
};
|
|
9616
|
+
};
|
|
9617
|
+
|
|
9618
|
+
/**
|
|
9619
|
+
* TodoApi - object-oriented interface
|
|
9620
|
+
* @export
|
|
9621
|
+
* @class TodoApi
|
|
9622
|
+
* @extends {BaseAPI}
|
|
9623
|
+
*/
|
|
9624
|
+
export class TodoApi extends BaseAPI {
|
|
9625
|
+
/**
|
|
9626
|
+
*
|
|
9627
|
+
* @param {string} id
|
|
9628
|
+
* @param {*} [options] Override http request option.
|
|
9629
|
+
* @throws {RequiredError}
|
|
9630
|
+
* @memberof TodoApi
|
|
9631
|
+
*/
|
|
9632
|
+
public todoControllerAcceptTodo(id: string, options?: RawAxiosRequestConfig) {
|
|
9633
|
+
return TodoApiFp(this.configuration).todoControllerAcceptTodo(id, options).then((request) => request(this.axios, this.basePath));
|
|
9634
|
+
}
|
|
9635
|
+
|
|
9636
|
+
/**
|
|
9637
|
+
*
|
|
9638
|
+
* @param {string} id
|
|
9639
|
+
* @param {AssignTaskPayload} assignTaskPayload
|
|
9640
|
+
* @param {*} [options] Override http request option.
|
|
9641
|
+
* @throws {RequiredError}
|
|
9642
|
+
* @memberof TodoApi
|
|
9643
|
+
*/
|
|
9644
|
+
public todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig) {
|
|
9645
|
+
return TodoApiFp(this.configuration).todoControllerAssignTask(id, assignTaskPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9646
|
+
}
|
|
9647
|
+
|
|
9648
|
+
/**
|
|
9649
|
+
*
|
|
9650
|
+
* @param {CreateTaskPayload} createTaskPayload
|
|
9651
|
+
* @param {*} [options] Override http request option.
|
|
9652
|
+
* @throws {RequiredError}
|
|
9653
|
+
* @memberof TodoApi
|
|
9654
|
+
*/
|
|
9655
|
+
public todoControllerCreateTask(createTaskPayload: CreateTaskPayload, options?: RawAxiosRequestConfig) {
|
|
9656
|
+
return TodoApiFp(this.configuration).todoControllerCreateTask(createTaskPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9657
|
+
}
|
|
9658
|
+
|
|
9659
|
+
/**
|
|
9660
|
+
*
|
|
9661
|
+
* @param {CreateTodoPayload} createTodoPayload
|
|
9662
|
+
* @param {*} [options] Override http request option.
|
|
9663
|
+
* @throws {RequiredError}
|
|
9664
|
+
* @memberof TodoApi
|
|
9665
|
+
*/
|
|
9666
|
+
public todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig) {
|
|
9667
|
+
return TodoApiFp(this.configuration).todoControllerCreateTodo(createTodoPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9668
|
+
}
|
|
9669
|
+
|
|
9670
|
+
/**
|
|
9671
|
+
*
|
|
9672
|
+
* @param {string} id
|
|
9673
|
+
* @param {*} [options] Override http request option.
|
|
9674
|
+
* @throws {RequiredError}
|
|
9675
|
+
* @memberof TodoApi
|
|
9676
|
+
*/
|
|
9677
|
+
public todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig) {
|
|
9678
|
+
return TodoApiFp(this.configuration).todoControllerDeleteTask(id, options).then((request) => request(this.axios, this.basePath));
|
|
9679
|
+
}
|
|
9680
|
+
|
|
9681
|
+
/**
|
|
9682
|
+
*
|
|
9683
|
+
* @param {string} id
|
|
9684
|
+
* @param {*} [options] Override http request option.
|
|
9685
|
+
* @throws {RequiredError}
|
|
9686
|
+
* @memberof TodoApi
|
|
9687
|
+
*/
|
|
9688
|
+
public todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig) {
|
|
9689
|
+
return TodoApiFp(this.configuration).todoControllerDeleteTodo(id, options).then((request) => request(this.axios, this.basePath));
|
|
9690
|
+
}
|
|
9691
|
+
|
|
9692
|
+
/**
|
|
9693
|
+
*
|
|
9694
|
+
* @param {string} id
|
|
9695
|
+
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
9696
|
+
* @param {*} [options] Override http request option.
|
|
9697
|
+
* @throws {RequiredError}
|
|
9698
|
+
* @memberof TodoApi
|
|
9699
|
+
*/
|
|
9700
|
+
public todoControllerInviteCollaborator(id: string, addCollaboratorPayload: AddCollaboratorPayload, options?: RawAxiosRequestConfig) {
|
|
9701
|
+
return TodoApiFp(this.configuration).todoControllerInviteCollaborator(id, addCollaboratorPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9702
|
+
}
|
|
9703
|
+
|
|
9704
|
+
/**
|
|
9705
|
+
*
|
|
9706
|
+
* @param {ListTaskListPayload} listTaskListPayload
|
|
9707
|
+
* @param {*} [options] Override http request option.
|
|
9708
|
+
* @throws {RequiredError}
|
|
9709
|
+
* @memberof TodoApi
|
|
9710
|
+
*/
|
|
9711
|
+
public todoControllerListTasks(listTaskListPayload: ListTaskListPayload, options?: RawAxiosRequestConfig) {
|
|
9712
|
+
return TodoApiFp(this.configuration).todoControllerListTasks(listTaskListPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9713
|
+
}
|
|
9714
|
+
|
|
9715
|
+
/**
|
|
9716
|
+
*
|
|
9717
|
+
* @param {*} [options] Override http request option.
|
|
9718
|
+
* @throws {RequiredError}
|
|
9719
|
+
* @memberof TodoApi
|
|
9720
|
+
*/
|
|
9721
|
+
public todoControllerListTodo(options?: RawAxiosRequestConfig) {
|
|
9722
|
+
return TodoApiFp(this.configuration).todoControllerListTodo(options).then((request) => request(this.axios, this.basePath));
|
|
9723
|
+
}
|
|
9724
|
+
|
|
9725
|
+
/**
|
|
9726
|
+
*
|
|
9727
|
+
* @param {string} id
|
|
9728
|
+
* @param {*} [options] Override http request option.
|
|
9729
|
+
* @throws {RequiredError}
|
|
9730
|
+
* @memberof TodoApi
|
|
9731
|
+
*/
|
|
9732
|
+
public todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig) {
|
|
9733
|
+
return TodoApiFp(this.configuration).todoControllerRejectTodo(id, options).then((request) => request(this.axios, this.basePath));
|
|
9734
|
+
}
|
|
9735
|
+
|
|
9736
|
+
/**
|
|
9737
|
+
*
|
|
9738
|
+
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
9739
|
+
* @param {*} [options] Override http request option.
|
|
9740
|
+
* @throws {RequiredError}
|
|
9741
|
+
* @memberof TodoApi
|
|
9742
|
+
*/
|
|
9743
|
+
public todoControllerReorderTask(taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
9744
|
+
return TodoApiFp(this.configuration).todoControllerReorderTask(taskListReorderPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
9745
|
+
}
|
|
9746
|
+
|
|
9747
|
+
/**
|
|
9748
|
+
*
|
|
9749
|
+
* @param {string} id
|
|
9750
|
+
* @param {UpdateTaskPayload} updateTaskPayload
|
|
9751
|
+
* @param {*} [options] Override http request option.
|
|
9752
|
+
* @throws {RequiredError}
|
|
9753
|
+
* @memberof TodoApi
|
|
9754
|
+
*/
|
|
9755
|
+
public todoControllerUpdateTask(id: string, updateTaskPayload: UpdateTaskPayload, options?: RawAxiosRequestConfig) {
|
|
9756
|
+
return TodoApiFp(this.configuration).todoControllerUpdateTask(id, updateTaskPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9757
|
+
}
|
|
9758
|
+
|
|
9759
|
+
/**
|
|
9760
|
+
*
|
|
9761
|
+
* @param {string} id
|
|
9762
|
+
* @param {UpdateTodoPayload} updateTodoPayload
|
|
9763
|
+
* @param {*} [options] Override http request option.
|
|
9764
|
+
* @throws {RequiredError}
|
|
9765
|
+
* @memberof TodoApi
|
|
9766
|
+
*/
|
|
9767
|
+
public todoControllerUpdateTodo(id: string, updateTodoPayload: UpdateTodoPayload, options?: RawAxiosRequestConfig) {
|
|
9768
|
+
return TodoApiFp(this.configuration).todoControllerUpdateTodo(id, updateTodoPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9769
|
+
}
|
|
9770
|
+
}
|
|
9771
|
+
|
|
9772
|
+
|
|
9773
|
+
|
|
8520
9774
|
/**
|
|
8521
9775
|
* UsersApi - axios parameter creator
|
|
8522
9776
|
* @export
|