@gooday_corp/gooday-api-client 1.1.15 → 1.1.18
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 +1339 -71
- 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
|
*
|
|
@@ -2333,6 +2370,12 @@ export interface OnBoardingDTO {
|
|
|
2333
2370
|
* @memberof OnBoardingDTO
|
|
2334
2371
|
*/
|
|
2335
2372
|
'assistant'?: string;
|
|
2373
|
+
/**
|
|
2374
|
+
* Profile For user
|
|
2375
|
+
* @type {string}
|
|
2376
|
+
* @memberof OnBoardingDTO
|
|
2377
|
+
*/
|
|
2378
|
+
'profile'?: string;
|
|
2336
2379
|
/**
|
|
2337
2380
|
*
|
|
2338
2381
|
* @type {UserPlanDTO}
|
|
@@ -2987,6 +3030,207 @@ export interface StripeSetupPaymentIntentDTO {
|
|
|
2987
3030
|
*/
|
|
2988
3031
|
'clientSecret': string;
|
|
2989
3032
|
}
|
|
3033
|
+
/**
|
|
3034
|
+
*
|
|
3035
|
+
* @export
|
|
3036
|
+
* @interface TaskDetailResponseDTO
|
|
3037
|
+
*/
|
|
3038
|
+
export interface TaskDetailResponseDTO {
|
|
3039
|
+
/**
|
|
3040
|
+
* statusCode
|
|
3041
|
+
* @type {number}
|
|
3042
|
+
* @memberof TaskDetailResponseDTO
|
|
3043
|
+
*/
|
|
3044
|
+
'statusCode': number;
|
|
3045
|
+
/**
|
|
3046
|
+
* Booking
|
|
3047
|
+
* @type {TodoEntity}
|
|
3048
|
+
* @memberof TaskDetailResponseDTO
|
|
3049
|
+
*/
|
|
3050
|
+
'data': TodoEntity;
|
|
3051
|
+
}
|
|
3052
|
+
/**
|
|
3053
|
+
*
|
|
3054
|
+
* @export
|
|
3055
|
+
* @interface TaskEntity
|
|
3056
|
+
*/
|
|
3057
|
+
export interface TaskEntity {
|
|
3058
|
+
/**
|
|
3059
|
+
* Unique identifier for the todo item
|
|
3060
|
+
* @type {string}
|
|
3061
|
+
* @memberof TaskEntity
|
|
3062
|
+
*/
|
|
3063
|
+
'id': string;
|
|
3064
|
+
/**
|
|
3065
|
+
* Content of the todo item
|
|
3066
|
+
* @type {string}
|
|
3067
|
+
* @memberof TaskEntity
|
|
3068
|
+
*/
|
|
3069
|
+
'content': string;
|
|
3070
|
+
/**
|
|
3071
|
+
* Created by of the todo item
|
|
3072
|
+
* @type {string}
|
|
3073
|
+
* @memberof TaskEntity
|
|
3074
|
+
*/
|
|
3075
|
+
'createdBy': string;
|
|
3076
|
+
/**
|
|
3077
|
+
* Assigned to
|
|
3078
|
+
* @type {Array<string>}
|
|
3079
|
+
* @memberof TaskEntity
|
|
3080
|
+
*/
|
|
3081
|
+
'assignedTo': Array<string>;
|
|
3082
|
+
/**
|
|
3083
|
+
* Status
|
|
3084
|
+
* @type {string}
|
|
3085
|
+
* @memberof TaskEntity
|
|
3086
|
+
*/
|
|
3087
|
+
'status': string;
|
|
3088
|
+
/**
|
|
3089
|
+
* Position
|
|
3090
|
+
* @type {number}
|
|
3091
|
+
* @memberof TaskEntity
|
|
3092
|
+
*/
|
|
3093
|
+
'position': number;
|
|
3094
|
+
}
|
|
3095
|
+
/**
|
|
3096
|
+
*
|
|
3097
|
+
* @export
|
|
3098
|
+
* @interface TaskListReorderPayloadDTO
|
|
3099
|
+
*/
|
|
3100
|
+
export interface TaskListReorderPayloadDTO {
|
|
3101
|
+
/**
|
|
3102
|
+
* Unique identifier for the todo item
|
|
3103
|
+
* @type {string}
|
|
3104
|
+
* @memberof TaskListReorderPayloadDTO
|
|
3105
|
+
*/
|
|
3106
|
+
'id': string;
|
|
3107
|
+
/**
|
|
3108
|
+
* Position of todo item
|
|
3109
|
+
* @type {number}
|
|
3110
|
+
* @memberof TaskListReorderPayloadDTO
|
|
3111
|
+
*/
|
|
3112
|
+
'position': number;
|
|
3113
|
+
}
|
|
3114
|
+
/**
|
|
3115
|
+
*
|
|
3116
|
+
* @export
|
|
3117
|
+
* @interface TaskListResponseDTO
|
|
3118
|
+
*/
|
|
3119
|
+
export interface TaskListResponseDTO {
|
|
3120
|
+
/**
|
|
3121
|
+
* statusCode
|
|
3122
|
+
* @type {number}
|
|
3123
|
+
* @memberof TaskListResponseDTO
|
|
3124
|
+
*/
|
|
3125
|
+
'statusCode': number;
|
|
3126
|
+
/**
|
|
3127
|
+
* Booking
|
|
3128
|
+
* @type {Array<TaskEntity>}
|
|
3129
|
+
* @memberof TaskListResponseDTO
|
|
3130
|
+
*/
|
|
3131
|
+
'data': Array<TaskEntity>;
|
|
3132
|
+
}
|
|
3133
|
+
/**
|
|
3134
|
+
*
|
|
3135
|
+
* @export
|
|
3136
|
+
* @interface TodoDetailResponseDTO
|
|
3137
|
+
*/
|
|
3138
|
+
export interface TodoDetailResponseDTO {
|
|
3139
|
+
/**
|
|
3140
|
+
* statusCode
|
|
3141
|
+
* @type {number}
|
|
3142
|
+
* @memberof TodoDetailResponseDTO
|
|
3143
|
+
*/
|
|
3144
|
+
'statusCode': number;
|
|
3145
|
+
/**
|
|
3146
|
+
* Booking
|
|
3147
|
+
* @type {TodoEntity}
|
|
3148
|
+
* @memberof TodoDetailResponseDTO
|
|
3149
|
+
*/
|
|
3150
|
+
'data': TodoEntity;
|
|
3151
|
+
}
|
|
3152
|
+
/**
|
|
3153
|
+
*
|
|
3154
|
+
* @export
|
|
3155
|
+
* @interface TodoEntity
|
|
3156
|
+
*/
|
|
3157
|
+
export interface TodoEntity {
|
|
3158
|
+
/**
|
|
3159
|
+
* Unique identifier for the todo item
|
|
3160
|
+
* @type {string}
|
|
3161
|
+
* @memberof TodoEntity
|
|
3162
|
+
*/
|
|
3163
|
+
'id': string;
|
|
3164
|
+
/**
|
|
3165
|
+
* Name of the todo item
|
|
3166
|
+
* @type {string}
|
|
3167
|
+
* @memberof TodoEntity
|
|
3168
|
+
*/
|
|
3169
|
+
'name': string;
|
|
3170
|
+
/**
|
|
3171
|
+
* List of collaborators for the todo
|
|
3172
|
+
* @type {Array<string>}
|
|
3173
|
+
* @memberof TodoEntity
|
|
3174
|
+
*/
|
|
3175
|
+
'collaborators': Array<string>;
|
|
3176
|
+
/**
|
|
3177
|
+
* Owner of the todo item
|
|
3178
|
+
* @type {string}
|
|
3179
|
+
* @memberof TodoEntity
|
|
3180
|
+
*/
|
|
3181
|
+
'owner': string;
|
|
3182
|
+
}
|
|
3183
|
+
/**
|
|
3184
|
+
*
|
|
3185
|
+
* @export
|
|
3186
|
+
* @interface TodoListResponseDTO
|
|
3187
|
+
*/
|
|
3188
|
+
export interface TodoListResponseDTO {
|
|
3189
|
+
/**
|
|
3190
|
+
* statusCode
|
|
3191
|
+
* @type {number}
|
|
3192
|
+
* @memberof TodoListResponseDTO
|
|
3193
|
+
*/
|
|
3194
|
+
'statusCode': number;
|
|
3195
|
+
/**
|
|
3196
|
+
* Booking
|
|
3197
|
+
* @type {Array<TodoEntity>}
|
|
3198
|
+
* @memberof TodoListResponseDTO
|
|
3199
|
+
*/
|
|
3200
|
+
'data': Array<TodoEntity>;
|
|
3201
|
+
}
|
|
3202
|
+
/**
|
|
3203
|
+
*
|
|
3204
|
+
* @export
|
|
3205
|
+
* @interface UpdateTaskPayload
|
|
3206
|
+
*/
|
|
3207
|
+
export interface UpdateTaskPayload {
|
|
3208
|
+
/**
|
|
3209
|
+
* Content of the task
|
|
3210
|
+
* @type {string}
|
|
3211
|
+
* @memberof UpdateTaskPayload
|
|
3212
|
+
*/
|
|
3213
|
+
'content'?: string;
|
|
3214
|
+
/**
|
|
3215
|
+
* Status of the task
|
|
3216
|
+
* @type {string}
|
|
3217
|
+
* @memberof UpdateTaskPayload
|
|
3218
|
+
*/
|
|
3219
|
+
'status'?: string;
|
|
3220
|
+
}
|
|
3221
|
+
/**
|
|
3222
|
+
*
|
|
3223
|
+
* @export
|
|
3224
|
+
* @interface UpdateTodoPayload
|
|
3225
|
+
*/
|
|
3226
|
+
export interface UpdateTodoPayload {
|
|
3227
|
+
/**
|
|
3228
|
+
* Name of the todo
|
|
3229
|
+
* @type {string}
|
|
3230
|
+
* @memberof UpdateTodoPayload
|
|
3231
|
+
*/
|
|
3232
|
+
'name': string;
|
|
3233
|
+
}
|
|
2990
3234
|
/**
|
|
2991
3235
|
*
|
|
2992
3236
|
* @export
|
|
@@ -4300,7 +4544,7 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4300
4544
|
baseOptions = configuration.baseOptions;
|
|
4301
4545
|
}
|
|
4302
4546
|
|
|
4303
|
-
const localVarRequestOptions = { method: '
|
|
4547
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4304
4548
|
const localVarHeaderParameter = {} as any;
|
|
4305
4549
|
const localVarQueryParameter = {} as any;
|
|
4306
4550
|
|
|
@@ -4746,10 +4990,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4746
4990
|
},
|
|
4747
4991
|
/**
|
|
4748
4992
|
*
|
|
4993
|
+
* @param {boolean} [favorite] Business Type Allow Return Favourite
|
|
4749
4994
|
* @param {*} [options] Override http request option.
|
|
4750
4995
|
* @throws {RequiredError}
|
|
4751
4996
|
*/
|
|
4752
|
-
businessTypeControllerListBusinessType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4997
|
+
businessTypeControllerListBusinessType: async (favorite?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4753
4998
|
const localVarPath = `/v1/business/list`;
|
|
4754
4999
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4755
5000
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4766,6 +5011,10 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4766
5011
|
// http bearer authentication required
|
|
4767
5012
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4768
5013
|
|
|
5014
|
+
if (favorite !== undefined) {
|
|
5015
|
+
localVarQueryParameter['favorite'] = favorite;
|
|
5016
|
+
}
|
|
5017
|
+
|
|
4769
5018
|
|
|
4770
5019
|
|
|
4771
5020
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -5053,11 +5302,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
5053
5302
|
},
|
|
5054
5303
|
/**
|
|
5055
5304
|
*
|
|
5305
|
+
* @param {boolean} [favorite] Business Type Allow Return Favourite
|
|
5056
5306
|
* @param {*} [options] Override http request option.
|
|
5057
5307
|
* @throws {RequiredError}
|
|
5058
5308
|
*/
|
|
5059
|
-
async businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessTypeListResponse>> {
|
|
5060
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListBusinessType(options);
|
|
5309
|
+
async businessTypeControllerListBusinessType(favorite?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessTypeListResponse>> {
|
|
5310
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListBusinessType(favorite, options);
|
|
5061
5311
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5062
5312
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListBusinessType']?.[localVarOperationServerIndex]?.url;
|
|
5063
5313
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5179,11 +5429,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
5179
5429
|
},
|
|
5180
5430
|
/**
|
|
5181
5431
|
*
|
|
5432
|
+
* @param {boolean} [favorite] Business Type Allow Return Favourite
|
|
5182
5433
|
* @param {*} [options] Override http request option.
|
|
5183
5434
|
* @throws {RequiredError}
|
|
5184
5435
|
*/
|
|
5185
|
-
businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): AxiosPromise<BusinessTypeListResponse> {
|
|
5186
|
-
return localVarFp.businessTypeControllerListBusinessType(options).then((request) => request(axios, basePath));
|
|
5436
|
+
businessTypeControllerListBusinessType(favorite?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BusinessTypeListResponse> {
|
|
5437
|
+
return localVarFp.businessTypeControllerListBusinessType(favorite, options).then((request) => request(axios, basePath));
|
|
5187
5438
|
},
|
|
5188
5439
|
/**
|
|
5189
5440
|
*
|
|
@@ -5292,12 +5543,13 @@ export class BusinessApi extends BaseAPI {
|
|
|
5292
5543
|
|
|
5293
5544
|
/**
|
|
5294
5545
|
*
|
|
5546
|
+
* @param {boolean} [favorite] Business Type Allow Return Favourite
|
|
5295
5547
|
* @param {*} [options] Override http request option.
|
|
5296
5548
|
* @throws {RequiredError}
|
|
5297
5549
|
* @memberof BusinessApi
|
|
5298
5550
|
*/
|
|
5299
|
-
public businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig) {
|
|
5300
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(options).then((request) => request(this.axios, this.basePath));
|
|
5551
|
+
public businessTypeControllerListBusinessType(favorite?: boolean, options?: RawAxiosRequestConfig) {
|
|
5552
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(favorite, options).then((request) => request(this.axios, this.basePath));
|
|
5301
5553
|
}
|
|
5302
5554
|
|
|
5303
5555
|
/**
|
|
@@ -6724,10 +6976,17 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6724
6976
|
},
|
|
6725
6977
|
/**
|
|
6726
6978
|
*
|
|
6979
|
+
* @param {number} page
|
|
6980
|
+
* @param {number} pageSize
|
|
6981
|
+
* @param {string} [search]
|
|
6727
6982
|
* @param {*} [options] Override http request option.
|
|
6728
6983
|
* @throws {RequiredError}
|
|
6729
6984
|
*/
|
|
6730
|
-
friendControllerListMyFriends: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6985
|
+
friendControllerListMyFriends: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6986
|
+
// verify required parameter 'page' is not null or undefined
|
|
6987
|
+
assertParamExists('friendControllerListMyFriends', 'page', page)
|
|
6988
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
6989
|
+
assertParamExists('friendControllerListMyFriends', 'pageSize', pageSize)
|
|
6731
6990
|
const localVarPath = `/v1/friend/list`;
|
|
6732
6991
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6733
6992
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6744,6 +7003,18 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6744
7003
|
// http bearer authentication required
|
|
6745
7004
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6746
7005
|
|
|
7006
|
+
if (search !== undefined) {
|
|
7007
|
+
localVarQueryParameter['search'] = search;
|
|
7008
|
+
}
|
|
7009
|
+
|
|
7010
|
+
if (page !== undefined) {
|
|
7011
|
+
localVarQueryParameter['page'] = page;
|
|
7012
|
+
}
|
|
7013
|
+
|
|
7014
|
+
if (pageSize !== undefined) {
|
|
7015
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
7016
|
+
}
|
|
7017
|
+
|
|
6747
7018
|
|
|
6748
7019
|
|
|
6749
7020
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -6895,11 +7166,14 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
6895
7166
|
},
|
|
6896
7167
|
/**
|
|
6897
7168
|
*
|
|
7169
|
+
* @param {number} page
|
|
7170
|
+
* @param {number} pageSize
|
|
7171
|
+
* @param {string} [search]
|
|
6898
7172
|
* @param {*} [options] Override http request option.
|
|
6899
7173
|
* @throws {RequiredError}
|
|
6900
7174
|
*/
|
|
6901
|
-
async friendControllerListMyFriends(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
6902
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(options);
|
|
7175
|
+
async friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
7176
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(page, pageSize, search, options);
|
|
6903
7177
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6904
7178
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
|
|
6905
7179
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -6978,11 +7252,14 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
6978
7252
|
},
|
|
6979
7253
|
/**
|
|
6980
7254
|
*
|
|
7255
|
+
* @param {number} page
|
|
7256
|
+
* @param {number} pageSize
|
|
7257
|
+
* @param {string} [search]
|
|
6981
7258
|
* @param {*} [options] Override http request option.
|
|
6982
7259
|
* @throws {RequiredError}
|
|
6983
7260
|
*/
|
|
6984
|
-
friendControllerListMyFriends(options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
6985
|
-
return localVarFp.friendControllerListMyFriends(options).then((request) => request(axios, basePath));
|
|
7261
|
+
friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
7262
|
+
return localVarFp.friendControllerListMyFriends(page, pageSize, search, options).then((request) => request(axios, basePath));
|
|
6986
7263
|
},
|
|
6987
7264
|
/**
|
|
6988
7265
|
*
|
|
@@ -7060,12 +7337,15 @@ export class FriendsApi extends BaseAPI {
|
|
|
7060
7337
|
|
|
7061
7338
|
/**
|
|
7062
7339
|
*
|
|
7340
|
+
* @param {number} page
|
|
7341
|
+
* @param {number} pageSize
|
|
7342
|
+
* @param {string} [search]
|
|
7063
7343
|
* @param {*} [options] Override http request option.
|
|
7064
7344
|
* @throws {RequiredError}
|
|
7065
7345
|
* @memberof FriendsApi
|
|
7066
7346
|
*/
|
|
7067
|
-
public friendControllerListMyFriends(options?: RawAxiosRequestConfig) {
|
|
7068
|
-
return FriendsApiFp(this.configuration).friendControllerListMyFriends(options).then((request) => request(this.axios, this.basePath));
|
|
7347
|
+
public friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
7348
|
+
return FriendsApiFp(this.configuration).friendControllerListMyFriends(page, pageSize, search, options).then((request) => request(this.axios, this.basePath));
|
|
7069
7349
|
}
|
|
7070
7350
|
|
|
7071
7351
|
/**
|
|
@@ -7734,14 +8014,17 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
7734
8014
|
*
|
|
7735
8015
|
* @param {number} page
|
|
7736
8016
|
* @param {number} pageSize
|
|
8017
|
+
* @param {NotificationControllerGetNotificationCategoryEnum} category
|
|
7737
8018
|
* @param {*} [options] Override http request option.
|
|
7738
8019
|
* @throws {RequiredError}
|
|
7739
8020
|
*/
|
|
7740
|
-
notificationControllerGetNotification: async (page: number, pageSize: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8021
|
+
notificationControllerGetNotification: async (page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7741
8022
|
// verify required parameter 'page' is not null or undefined
|
|
7742
8023
|
assertParamExists('notificationControllerGetNotification', 'page', page)
|
|
7743
8024
|
// verify required parameter 'pageSize' is not null or undefined
|
|
7744
8025
|
assertParamExists('notificationControllerGetNotification', 'pageSize', pageSize)
|
|
8026
|
+
// verify required parameter 'category' is not null or undefined
|
|
8027
|
+
assertParamExists('notificationControllerGetNotification', 'category', category)
|
|
7745
8028
|
const localVarPath = `/v1/notification`;
|
|
7746
8029
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7747
8030
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -7766,6 +8049,10 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
7766
8049
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
7767
8050
|
}
|
|
7768
8051
|
|
|
8052
|
+
if (category !== undefined) {
|
|
8053
|
+
localVarQueryParameter['category'] = category;
|
|
8054
|
+
}
|
|
8055
|
+
|
|
7769
8056
|
|
|
7770
8057
|
|
|
7771
8058
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -7830,11 +8117,12 @@ export const NotificationApiFp = function(configuration?: Configuration) {
|
|
|
7830
8117
|
*
|
|
7831
8118
|
* @param {number} page
|
|
7832
8119
|
* @param {number} pageSize
|
|
8120
|
+
* @param {NotificationControllerGetNotificationCategoryEnum} category
|
|
7833
8121
|
* @param {*} [options] Override http request option.
|
|
7834
8122
|
* @throws {RequiredError}
|
|
7835
8123
|
*/
|
|
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);
|
|
8124
|
+
async notificationControllerGetNotification(page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetNotificationDTO>> {
|
|
8125
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationControllerGetNotification(page, pageSize, category, options);
|
|
7838
8126
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7839
8127
|
const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerGetNotification']?.[localVarOperationServerIndex]?.url;
|
|
7840
8128
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7865,11 +8153,12 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
|
|
|
7865
8153
|
*
|
|
7866
8154
|
* @param {number} page
|
|
7867
8155
|
* @param {number} pageSize
|
|
8156
|
+
* @param {NotificationControllerGetNotificationCategoryEnum} category
|
|
7868
8157
|
* @param {*} [options] Override http request option.
|
|
7869
8158
|
* @throws {RequiredError}
|
|
7870
8159
|
*/
|
|
7871
|
-
notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig): AxiosPromise<GetNotificationDTO> {
|
|
7872
|
-
return localVarFp.notificationControllerGetNotification(page, pageSize, options).then((request) => request(axios, basePath));
|
|
8160
|
+
notificationControllerGetNotification(page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum, options?: RawAxiosRequestConfig): AxiosPromise<GetNotificationDTO> {
|
|
8161
|
+
return localVarFp.notificationControllerGetNotification(page, pageSize, category, options).then((request) => request(axios, basePath));
|
|
7873
8162
|
},
|
|
7874
8163
|
/**
|
|
7875
8164
|
*
|
|
@@ -7894,12 +8183,13 @@ export class NotificationApi extends BaseAPI {
|
|
|
7894
8183
|
*
|
|
7895
8184
|
* @param {number} page
|
|
7896
8185
|
* @param {number} pageSize
|
|
8186
|
+
* @param {NotificationControllerGetNotificationCategoryEnum} category
|
|
7897
8187
|
* @param {*} [options] Override http request option.
|
|
7898
8188
|
* @throws {RequiredError}
|
|
7899
8189
|
* @memberof NotificationApi
|
|
7900
8190
|
*/
|
|
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));
|
|
8191
|
+
public notificationControllerGetNotification(page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum, options?: RawAxiosRequestConfig) {
|
|
8192
|
+
return NotificationApiFp(this.configuration).notificationControllerGetNotification(page, pageSize, category, options).then((request) => request(this.axios, this.basePath));
|
|
7903
8193
|
}
|
|
7904
8194
|
|
|
7905
8195
|
/**
|
|
@@ -7914,6 +8204,19 @@ export class NotificationApi extends BaseAPI {
|
|
|
7914
8204
|
}
|
|
7915
8205
|
}
|
|
7916
8206
|
|
|
8207
|
+
/**
|
|
8208
|
+
* @export
|
|
8209
|
+
*/
|
|
8210
|
+
export const NotificationControllerGetNotificationCategoryEnum = {
|
|
8211
|
+
Calendar: 'CALENDAR',
|
|
8212
|
+
Tasks: 'TASKS',
|
|
8213
|
+
Reminders: 'REMINDERS',
|
|
8214
|
+
Waitlist: 'WAITLIST',
|
|
8215
|
+
Booking: 'BOOKING',
|
|
8216
|
+
Invites: 'INVITES',
|
|
8217
|
+
General: 'GENERAL'
|
|
8218
|
+
} as const;
|
|
8219
|
+
export type NotificationControllerGetNotificationCategoryEnum = typeof NotificationControllerGetNotificationCategoryEnum[keyof typeof NotificationControllerGetNotificationCategoryEnum];
|
|
7917
8220
|
|
|
7918
8221
|
|
|
7919
8222
|
/**
|
|
@@ -8517,6 +8820,971 @@ export class PlansApi extends BaseAPI {
|
|
|
8517
8820
|
|
|
8518
8821
|
|
|
8519
8822
|
|
|
8823
|
+
/**
|
|
8824
|
+
* TodoApi - axios parameter creator
|
|
8825
|
+
* @export
|
|
8826
|
+
*/
|
|
8827
|
+
export const TodoApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8828
|
+
return {
|
|
8829
|
+
/**
|
|
8830
|
+
*
|
|
8831
|
+
* @param {string} id
|
|
8832
|
+
* @param {*} [options] Override http request option.
|
|
8833
|
+
* @throws {RequiredError}
|
|
8834
|
+
*/
|
|
8835
|
+
todoControllerAcceptTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8836
|
+
// verify required parameter 'id' is not null or undefined
|
|
8837
|
+
assertParamExists('todoControllerAcceptTodo', 'id', id)
|
|
8838
|
+
const localVarPath = `/v1/todo/{id}/accept`
|
|
8839
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8840
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8841
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8842
|
+
let baseOptions;
|
|
8843
|
+
if (configuration) {
|
|
8844
|
+
baseOptions = configuration.baseOptions;
|
|
8845
|
+
}
|
|
8846
|
+
|
|
8847
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8848
|
+
const localVarHeaderParameter = {} as any;
|
|
8849
|
+
const localVarQueryParameter = {} as any;
|
|
8850
|
+
|
|
8851
|
+
// authentication bearer required
|
|
8852
|
+
// http bearer authentication required
|
|
8853
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8854
|
+
|
|
8855
|
+
|
|
8856
|
+
|
|
8857
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8858
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8859
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8860
|
+
|
|
8861
|
+
return {
|
|
8862
|
+
url: toPathString(localVarUrlObj),
|
|
8863
|
+
options: localVarRequestOptions,
|
|
8864
|
+
};
|
|
8865
|
+
},
|
|
8866
|
+
/**
|
|
8867
|
+
*
|
|
8868
|
+
* @param {string} id
|
|
8869
|
+
* @param {AssignTaskPayload} assignTaskPayload
|
|
8870
|
+
* @param {*} [options] Override http request option.
|
|
8871
|
+
* @throws {RequiredError}
|
|
8872
|
+
*/
|
|
8873
|
+
todoControllerAssignTask: async (id: string, assignTaskPayload: AssignTaskPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8874
|
+
// verify required parameter 'id' is not null or undefined
|
|
8875
|
+
assertParamExists('todoControllerAssignTask', 'id', id)
|
|
8876
|
+
// verify required parameter 'assignTaskPayload' is not null or undefined
|
|
8877
|
+
assertParamExists('todoControllerAssignTask', 'assignTaskPayload', assignTaskPayload)
|
|
8878
|
+
const localVarPath = `/v1/todo/task/{id}/assign`
|
|
8879
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8880
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8881
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8882
|
+
let baseOptions;
|
|
8883
|
+
if (configuration) {
|
|
8884
|
+
baseOptions = configuration.baseOptions;
|
|
8885
|
+
}
|
|
8886
|
+
|
|
8887
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8888
|
+
const localVarHeaderParameter = {} as any;
|
|
8889
|
+
const localVarQueryParameter = {} as any;
|
|
8890
|
+
|
|
8891
|
+
|
|
8892
|
+
|
|
8893
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8894
|
+
|
|
8895
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8896
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8897
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8898
|
+
localVarRequestOptions.data = serializeDataIfNeeded(assignTaskPayload, localVarRequestOptions, configuration)
|
|
8899
|
+
|
|
8900
|
+
return {
|
|
8901
|
+
url: toPathString(localVarUrlObj),
|
|
8902
|
+
options: localVarRequestOptions,
|
|
8903
|
+
};
|
|
8904
|
+
},
|
|
8905
|
+
/**
|
|
8906
|
+
*
|
|
8907
|
+
* @param {CreateTaskPayload} createTaskPayload
|
|
8908
|
+
* @param {*} [options] Override http request option.
|
|
8909
|
+
* @throws {RequiredError}
|
|
8910
|
+
*/
|
|
8911
|
+
todoControllerCreateTask: async (createTaskPayload: CreateTaskPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8912
|
+
// verify required parameter 'createTaskPayload' is not null or undefined
|
|
8913
|
+
assertParamExists('todoControllerCreateTask', 'createTaskPayload', createTaskPayload)
|
|
8914
|
+
const localVarPath = `/v1/todo/task`;
|
|
8915
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8916
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8917
|
+
let baseOptions;
|
|
8918
|
+
if (configuration) {
|
|
8919
|
+
baseOptions = configuration.baseOptions;
|
|
8920
|
+
}
|
|
8921
|
+
|
|
8922
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8923
|
+
const localVarHeaderParameter = {} as any;
|
|
8924
|
+
const localVarQueryParameter = {} as any;
|
|
8925
|
+
|
|
8926
|
+
// authentication bearer required
|
|
8927
|
+
// http bearer authentication required
|
|
8928
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8929
|
+
|
|
8930
|
+
|
|
8931
|
+
|
|
8932
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8933
|
+
|
|
8934
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8935
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8936
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8937
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTaskPayload, localVarRequestOptions, configuration)
|
|
8938
|
+
|
|
8939
|
+
return {
|
|
8940
|
+
url: toPathString(localVarUrlObj),
|
|
8941
|
+
options: localVarRequestOptions,
|
|
8942
|
+
};
|
|
8943
|
+
},
|
|
8944
|
+
/**
|
|
8945
|
+
*
|
|
8946
|
+
* @param {CreateTodoPayload} createTodoPayload
|
|
8947
|
+
* @param {*} [options] Override http request option.
|
|
8948
|
+
* @throws {RequiredError}
|
|
8949
|
+
*/
|
|
8950
|
+
todoControllerCreateTodo: async (createTodoPayload: CreateTodoPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8951
|
+
// verify required parameter 'createTodoPayload' is not null or undefined
|
|
8952
|
+
assertParamExists('todoControllerCreateTodo', 'createTodoPayload', createTodoPayload)
|
|
8953
|
+
const localVarPath = `/v1/todo`;
|
|
8954
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8955
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8956
|
+
let baseOptions;
|
|
8957
|
+
if (configuration) {
|
|
8958
|
+
baseOptions = configuration.baseOptions;
|
|
8959
|
+
}
|
|
8960
|
+
|
|
8961
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8962
|
+
const localVarHeaderParameter = {} as any;
|
|
8963
|
+
const localVarQueryParameter = {} as any;
|
|
8964
|
+
|
|
8965
|
+
// authentication bearer required
|
|
8966
|
+
// http bearer authentication required
|
|
8967
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8968
|
+
|
|
8969
|
+
|
|
8970
|
+
|
|
8971
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8972
|
+
|
|
8973
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8974
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8975
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8976
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTodoPayload, localVarRequestOptions, configuration)
|
|
8977
|
+
|
|
8978
|
+
return {
|
|
8979
|
+
url: toPathString(localVarUrlObj),
|
|
8980
|
+
options: localVarRequestOptions,
|
|
8981
|
+
};
|
|
8982
|
+
},
|
|
8983
|
+
/**
|
|
8984
|
+
*
|
|
8985
|
+
* @param {string} id
|
|
8986
|
+
* @param {*} [options] Override http request option.
|
|
8987
|
+
* @throws {RequiredError}
|
|
8988
|
+
*/
|
|
8989
|
+
todoControllerDeleteTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8990
|
+
// verify required parameter 'id' is not null or undefined
|
|
8991
|
+
assertParamExists('todoControllerDeleteTask', 'id', id)
|
|
8992
|
+
const localVarPath = `/v1/todo/task/{id}`
|
|
8993
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8994
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8995
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8996
|
+
let baseOptions;
|
|
8997
|
+
if (configuration) {
|
|
8998
|
+
baseOptions = configuration.baseOptions;
|
|
8999
|
+
}
|
|
9000
|
+
|
|
9001
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
9002
|
+
const localVarHeaderParameter = {} as any;
|
|
9003
|
+
const localVarQueryParameter = {} as any;
|
|
9004
|
+
|
|
9005
|
+
// authentication bearer required
|
|
9006
|
+
// http bearer authentication required
|
|
9007
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9008
|
+
|
|
9009
|
+
|
|
9010
|
+
|
|
9011
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9012
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9013
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9014
|
+
|
|
9015
|
+
return {
|
|
9016
|
+
url: toPathString(localVarUrlObj),
|
|
9017
|
+
options: localVarRequestOptions,
|
|
9018
|
+
};
|
|
9019
|
+
},
|
|
9020
|
+
/**
|
|
9021
|
+
*
|
|
9022
|
+
* @param {string} id
|
|
9023
|
+
* @param {*} [options] Override http request option.
|
|
9024
|
+
* @throws {RequiredError}
|
|
9025
|
+
*/
|
|
9026
|
+
todoControllerDeleteTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9027
|
+
// verify required parameter 'id' is not null or undefined
|
|
9028
|
+
assertParamExists('todoControllerDeleteTodo', 'id', id)
|
|
9029
|
+
const localVarPath = `/v1/todo/{id}`
|
|
9030
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9031
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9032
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9033
|
+
let baseOptions;
|
|
9034
|
+
if (configuration) {
|
|
9035
|
+
baseOptions = configuration.baseOptions;
|
|
9036
|
+
}
|
|
9037
|
+
|
|
9038
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
9039
|
+
const localVarHeaderParameter = {} as any;
|
|
9040
|
+
const localVarQueryParameter = {} as any;
|
|
9041
|
+
|
|
9042
|
+
// authentication bearer required
|
|
9043
|
+
// http bearer authentication required
|
|
9044
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9045
|
+
|
|
9046
|
+
|
|
9047
|
+
|
|
9048
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9049
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9050
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9051
|
+
|
|
9052
|
+
return {
|
|
9053
|
+
url: toPathString(localVarUrlObj),
|
|
9054
|
+
options: localVarRequestOptions,
|
|
9055
|
+
};
|
|
9056
|
+
},
|
|
9057
|
+
/**
|
|
9058
|
+
*
|
|
9059
|
+
* @param {string} id
|
|
9060
|
+
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
9061
|
+
* @param {*} [options] Override http request option.
|
|
9062
|
+
* @throws {RequiredError}
|
|
9063
|
+
*/
|
|
9064
|
+
todoControllerInviteCollaborator: async (id: string, addCollaboratorPayload: AddCollaboratorPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9065
|
+
// verify required parameter 'id' is not null or undefined
|
|
9066
|
+
assertParamExists('todoControllerInviteCollaborator', 'id', id)
|
|
9067
|
+
// verify required parameter 'addCollaboratorPayload' is not null or undefined
|
|
9068
|
+
assertParamExists('todoControllerInviteCollaborator', 'addCollaboratorPayload', addCollaboratorPayload)
|
|
9069
|
+
const localVarPath = `/v1/todo/{id}/collaborator`
|
|
9070
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9071
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9072
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9073
|
+
let baseOptions;
|
|
9074
|
+
if (configuration) {
|
|
9075
|
+
baseOptions = configuration.baseOptions;
|
|
9076
|
+
}
|
|
9077
|
+
|
|
9078
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9079
|
+
const localVarHeaderParameter = {} as any;
|
|
9080
|
+
const localVarQueryParameter = {} as any;
|
|
9081
|
+
|
|
9082
|
+
// authentication bearer required
|
|
9083
|
+
// http bearer authentication required
|
|
9084
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9085
|
+
|
|
9086
|
+
|
|
9087
|
+
|
|
9088
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9089
|
+
|
|
9090
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9091
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9092
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9093
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addCollaboratorPayload, localVarRequestOptions, configuration)
|
|
9094
|
+
|
|
9095
|
+
return {
|
|
9096
|
+
url: toPathString(localVarUrlObj),
|
|
9097
|
+
options: localVarRequestOptions,
|
|
9098
|
+
};
|
|
9099
|
+
},
|
|
9100
|
+
/**
|
|
9101
|
+
*
|
|
9102
|
+
* @param {ListTaskListPayload} listTaskListPayload
|
|
9103
|
+
* @param {*} [options] Override http request option.
|
|
9104
|
+
* @throws {RequiredError}
|
|
9105
|
+
*/
|
|
9106
|
+
todoControllerListTasks: async (listTaskListPayload: ListTaskListPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9107
|
+
// verify required parameter 'listTaskListPayload' is not null or undefined
|
|
9108
|
+
assertParamExists('todoControllerListTasks', 'listTaskListPayload', listTaskListPayload)
|
|
9109
|
+
const localVarPath = `/v1/todo/task/list`;
|
|
9110
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9111
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9112
|
+
let baseOptions;
|
|
9113
|
+
if (configuration) {
|
|
9114
|
+
baseOptions = configuration.baseOptions;
|
|
9115
|
+
}
|
|
9116
|
+
|
|
9117
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9118
|
+
const localVarHeaderParameter = {} as any;
|
|
9119
|
+
const localVarQueryParameter = {} as any;
|
|
9120
|
+
|
|
9121
|
+
// authentication bearer required
|
|
9122
|
+
// http bearer authentication required
|
|
9123
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9124
|
+
|
|
9125
|
+
|
|
9126
|
+
|
|
9127
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9128
|
+
|
|
9129
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9130
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9131
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9132
|
+
localVarRequestOptions.data = serializeDataIfNeeded(listTaskListPayload, localVarRequestOptions, configuration)
|
|
9133
|
+
|
|
9134
|
+
return {
|
|
9135
|
+
url: toPathString(localVarUrlObj),
|
|
9136
|
+
options: localVarRequestOptions,
|
|
9137
|
+
};
|
|
9138
|
+
},
|
|
9139
|
+
/**
|
|
9140
|
+
*
|
|
9141
|
+
* @param {*} [options] Override http request option.
|
|
9142
|
+
* @throws {RequiredError}
|
|
9143
|
+
*/
|
|
9144
|
+
todoControllerListTodo: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9145
|
+
const localVarPath = `/v1/todo`;
|
|
9146
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9147
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9148
|
+
let baseOptions;
|
|
9149
|
+
if (configuration) {
|
|
9150
|
+
baseOptions = configuration.baseOptions;
|
|
9151
|
+
}
|
|
9152
|
+
|
|
9153
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9154
|
+
const localVarHeaderParameter = {} as any;
|
|
9155
|
+
const localVarQueryParameter = {} as any;
|
|
9156
|
+
|
|
9157
|
+
// authentication bearer required
|
|
9158
|
+
// http bearer authentication required
|
|
9159
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9160
|
+
|
|
9161
|
+
|
|
9162
|
+
|
|
9163
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9164
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9165
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9166
|
+
|
|
9167
|
+
return {
|
|
9168
|
+
url: toPathString(localVarUrlObj),
|
|
9169
|
+
options: localVarRequestOptions,
|
|
9170
|
+
};
|
|
9171
|
+
},
|
|
9172
|
+
/**
|
|
9173
|
+
*
|
|
9174
|
+
* @param {string} id
|
|
9175
|
+
* @param {*} [options] Override http request option.
|
|
9176
|
+
* @throws {RequiredError}
|
|
9177
|
+
*/
|
|
9178
|
+
todoControllerRejectTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9179
|
+
// verify required parameter 'id' is not null or undefined
|
|
9180
|
+
assertParamExists('todoControllerRejectTodo', 'id', id)
|
|
9181
|
+
const localVarPath = `/v1/todo/{id}/reject`
|
|
9182
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9183
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9184
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9185
|
+
let baseOptions;
|
|
9186
|
+
if (configuration) {
|
|
9187
|
+
baseOptions = configuration.baseOptions;
|
|
9188
|
+
}
|
|
9189
|
+
|
|
9190
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9191
|
+
const localVarHeaderParameter = {} as any;
|
|
9192
|
+
const localVarQueryParameter = {} as any;
|
|
9193
|
+
|
|
9194
|
+
|
|
9195
|
+
|
|
9196
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9198
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9199
|
+
|
|
9200
|
+
return {
|
|
9201
|
+
url: toPathString(localVarUrlObj),
|
|
9202
|
+
options: localVarRequestOptions,
|
|
9203
|
+
};
|
|
9204
|
+
},
|
|
9205
|
+
/**
|
|
9206
|
+
*
|
|
9207
|
+
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
9208
|
+
* @param {*} [options] Override http request option.
|
|
9209
|
+
* @throws {RequiredError}
|
|
9210
|
+
*/
|
|
9211
|
+
todoControllerReorderTask: async (taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9212
|
+
// verify required parameter 'taskListReorderPayloadDTO' is not null or undefined
|
|
9213
|
+
assertParamExists('todoControllerReorderTask', 'taskListReorderPayloadDTO', taskListReorderPayloadDTO)
|
|
9214
|
+
const localVarPath = `/v1/todo/task/reorder`;
|
|
9215
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9216
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9217
|
+
let baseOptions;
|
|
9218
|
+
if (configuration) {
|
|
9219
|
+
baseOptions = configuration.baseOptions;
|
|
9220
|
+
}
|
|
9221
|
+
|
|
9222
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9223
|
+
const localVarHeaderParameter = {} as any;
|
|
9224
|
+
const localVarQueryParameter = {} as any;
|
|
9225
|
+
|
|
9226
|
+
// authentication bearer required
|
|
9227
|
+
// http bearer authentication required
|
|
9228
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9229
|
+
|
|
9230
|
+
|
|
9231
|
+
|
|
9232
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9233
|
+
|
|
9234
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9235
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9236
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9237
|
+
localVarRequestOptions.data = serializeDataIfNeeded(taskListReorderPayloadDTO, localVarRequestOptions, configuration)
|
|
9238
|
+
|
|
9239
|
+
return {
|
|
9240
|
+
url: toPathString(localVarUrlObj),
|
|
9241
|
+
options: localVarRequestOptions,
|
|
9242
|
+
};
|
|
9243
|
+
},
|
|
9244
|
+
/**
|
|
9245
|
+
*
|
|
9246
|
+
* @param {string} id
|
|
9247
|
+
* @param {UpdateTaskPayload} updateTaskPayload
|
|
9248
|
+
* @param {*} [options] Override http request option.
|
|
9249
|
+
* @throws {RequiredError}
|
|
9250
|
+
*/
|
|
9251
|
+
todoControllerUpdateTask: async (id: string, updateTaskPayload: UpdateTaskPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9252
|
+
// verify required parameter 'id' is not null or undefined
|
|
9253
|
+
assertParamExists('todoControllerUpdateTask', 'id', id)
|
|
9254
|
+
// verify required parameter 'updateTaskPayload' is not null or undefined
|
|
9255
|
+
assertParamExists('todoControllerUpdateTask', 'updateTaskPayload', updateTaskPayload)
|
|
9256
|
+
const localVarPath = `/v1/todo/task/{id}`
|
|
9257
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9258
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9259
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9260
|
+
let baseOptions;
|
|
9261
|
+
if (configuration) {
|
|
9262
|
+
baseOptions = configuration.baseOptions;
|
|
9263
|
+
}
|
|
9264
|
+
|
|
9265
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9266
|
+
const localVarHeaderParameter = {} as any;
|
|
9267
|
+
const localVarQueryParameter = {} as any;
|
|
9268
|
+
|
|
9269
|
+
// authentication bearer required
|
|
9270
|
+
// http bearer authentication required
|
|
9271
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9272
|
+
|
|
9273
|
+
|
|
9274
|
+
|
|
9275
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9276
|
+
|
|
9277
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9278
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9279
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9280
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTaskPayload, localVarRequestOptions, configuration)
|
|
9281
|
+
|
|
9282
|
+
return {
|
|
9283
|
+
url: toPathString(localVarUrlObj),
|
|
9284
|
+
options: localVarRequestOptions,
|
|
9285
|
+
};
|
|
9286
|
+
},
|
|
9287
|
+
/**
|
|
9288
|
+
*
|
|
9289
|
+
* @param {string} id
|
|
9290
|
+
* @param {UpdateTodoPayload} updateTodoPayload
|
|
9291
|
+
* @param {*} [options] Override http request option.
|
|
9292
|
+
* @throws {RequiredError}
|
|
9293
|
+
*/
|
|
9294
|
+
todoControllerUpdateTodo: async (id: string, updateTodoPayload: UpdateTodoPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9295
|
+
// verify required parameter 'id' is not null or undefined
|
|
9296
|
+
assertParamExists('todoControllerUpdateTodo', 'id', id)
|
|
9297
|
+
// verify required parameter 'updateTodoPayload' is not null or undefined
|
|
9298
|
+
assertParamExists('todoControllerUpdateTodo', 'updateTodoPayload', updateTodoPayload)
|
|
9299
|
+
const localVarPath = `/v1/todo/{id}`
|
|
9300
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9301
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9302
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9303
|
+
let baseOptions;
|
|
9304
|
+
if (configuration) {
|
|
9305
|
+
baseOptions = configuration.baseOptions;
|
|
9306
|
+
}
|
|
9307
|
+
|
|
9308
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9309
|
+
const localVarHeaderParameter = {} as any;
|
|
9310
|
+
const localVarQueryParameter = {} as any;
|
|
9311
|
+
|
|
9312
|
+
// authentication bearer required
|
|
9313
|
+
// http bearer authentication required
|
|
9314
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9315
|
+
|
|
9316
|
+
|
|
9317
|
+
|
|
9318
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9319
|
+
|
|
9320
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9321
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9322
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9323
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTodoPayload, localVarRequestOptions, configuration)
|
|
9324
|
+
|
|
9325
|
+
return {
|
|
9326
|
+
url: toPathString(localVarUrlObj),
|
|
9327
|
+
options: localVarRequestOptions,
|
|
9328
|
+
};
|
|
9329
|
+
},
|
|
9330
|
+
}
|
|
9331
|
+
};
|
|
9332
|
+
|
|
9333
|
+
/**
|
|
9334
|
+
* TodoApi - functional programming interface
|
|
9335
|
+
* @export
|
|
9336
|
+
*/
|
|
9337
|
+
export const TodoApiFp = function(configuration?: Configuration) {
|
|
9338
|
+
const localVarAxiosParamCreator = TodoApiAxiosParamCreator(configuration)
|
|
9339
|
+
return {
|
|
9340
|
+
/**
|
|
9341
|
+
*
|
|
9342
|
+
* @param {string} id
|
|
9343
|
+
* @param {*} [options] Override http request option.
|
|
9344
|
+
* @throws {RequiredError}
|
|
9345
|
+
*/
|
|
9346
|
+
async todoControllerAcceptTodo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9347
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerAcceptTodo(id, options);
|
|
9348
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9349
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerAcceptTodo']?.[localVarOperationServerIndex]?.url;
|
|
9350
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9351
|
+
},
|
|
9352
|
+
/**
|
|
9353
|
+
*
|
|
9354
|
+
* @param {string} id
|
|
9355
|
+
* @param {AssignTaskPayload} assignTaskPayload
|
|
9356
|
+
* @param {*} [options] Override http request option.
|
|
9357
|
+
* @throws {RequiredError}
|
|
9358
|
+
*/
|
|
9359
|
+
async todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9360
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerAssignTask(id, assignTaskPayload, options);
|
|
9361
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9362
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerAssignTask']?.[localVarOperationServerIndex]?.url;
|
|
9363
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9364
|
+
},
|
|
9365
|
+
/**
|
|
9366
|
+
*
|
|
9367
|
+
* @param {CreateTaskPayload} createTaskPayload
|
|
9368
|
+
* @param {*} [options] Override http request option.
|
|
9369
|
+
* @throws {RequiredError}
|
|
9370
|
+
*/
|
|
9371
|
+
async todoControllerCreateTask(createTaskPayload: CreateTaskPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskDetailResponseDTO>> {
|
|
9372
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerCreateTask(createTaskPayload, options);
|
|
9373
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9374
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerCreateTask']?.[localVarOperationServerIndex]?.url;
|
|
9375
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9376
|
+
},
|
|
9377
|
+
/**
|
|
9378
|
+
*
|
|
9379
|
+
* @param {CreateTodoPayload} createTodoPayload
|
|
9380
|
+
* @param {*} [options] Override http request option.
|
|
9381
|
+
* @throws {RequiredError}
|
|
9382
|
+
*/
|
|
9383
|
+
async todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9384
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerCreateTodo(createTodoPayload, options);
|
|
9385
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9386
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerCreateTodo']?.[localVarOperationServerIndex]?.url;
|
|
9387
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9388
|
+
},
|
|
9389
|
+
/**
|
|
9390
|
+
*
|
|
9391
|
+
* @param {string} id
|
|
9392
|
+
* @param {*} [options] Override http request option.
|
|
9393
|
+
* @throws {RequiredError}
|
|
9394
|
+
*/
|
|
9395
|
+
async todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9396
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerDeleteTask(id, options);
|
|
9397
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9398
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerDeleteTask']?.[localVarOperationServerIndex]?.url;
|
|
9399
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9400
|
+
},
|
|
9401
|
+
/**
|
|
9402
|
+
*
|
|
9403
|
+
* @param {string} id
|
|
9404
|
+
* @param {*} [options] Override http request option.
|
|
9405
|
+
* @throws {RequiredError}
|
|
9406
|
+
*/
|
|
9407
|
+
async todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9408
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerDeleteTodo(id, options);
|
|
9409
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9410
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerDeleteTodo']?.[localVarOperationServerIndex]?.url;
|
|
9411
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9412
|
+
},
|
|
9413
|
+
/**
|
|
9414
|
+
*
|
|
9415
|
+
* @param {string} id
|
|
9416
|
+
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
9417
|
+
* @param {*} [options] Override http request option.
|
|
9418
|
+
* @throws {RequiredError}
|
|
9419
|
+
*/
|
|
9420
|
+
async todoControllerInviteCollaborator(id: string, addCollaboratorPayload: AddCollaboratorPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9421
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerInviteCollaborator(id, addCollaboratorPayload, options);
|
|
9422
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9423
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerInviteCollaborator']?.[localVarOperationServerIndex]?.url;
|
|
9424
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9425
|
+
},
|
|
9426
|
+
/**
|
|
9427
|
+
*
|
|
9428
|
+
* @param {ListTaskListPayload} listTaskListPayload
|
|
9429
|
+
* @param {*} [options] Override http request option.
|
|
9430
|
+
* @throws {RequiredError}
|
|
9431
|
+
*/
|
|
9432
|
+
async todoControllerListTasks(listTaskListPayload: ListTaskListPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskListResponseDTO>> {
|
|
9433
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerListTasks(listTaskListPayload, options);
|
|
9434
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9435
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerListTasks']?.[localVarOperationServerIndex]?.url;
|
|
9436
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9437
|
+
},
|
|
9438
|
+
/**
|
|
9439
|
+
*
|
|
9440
|
+
* @param {*} [options] Override http request option.
|
|
9441
|
+
* @throws {RequiredError}
|
|
9442
|
+
*/
|
|
9443
|
+
async todoControllerListTodo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoListResponseDTO>> {
|
|
9444
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerListTodo(options);
|
|
9445
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9446
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerListTodo']?.[localVarOperationServerIndex]?.url;
|
|
9447
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9448
|
+
},
|
|
9449
|
+
/**
|
|
9450
|
+
*
|
|
9451
|
+
* @param {string} id
|
|
9452
|
+
* @param {*} [options] Override http request option.
|
|
9453
|
+
* @throws {RequiredError}
|
|
9454
|
+
*/
|
|
9455
|
+
async todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9456
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerRejectTodo(id, options);
|
|
9457
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9458
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerRejectTodo']?.[localVarOperationServerIndex]?.url;
|
|
9459
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9460
|
+
},
|
|
9461
|
+
/**
|
|
9462
|
+
*
|
|
9463
|
+
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
9464
|
+
* @param {*} [options] Override http request option.
|
|
9465
|
+
* @throws {RequiredError}
|
|
9466
|
+
*/
|
|
9467
|
+
async todoControllerReorderTask(taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9468
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerReorderTask(taskListReorderPayloadDTO, options);
|
|
9469
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9470
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerReorderTask']?.[localVarOperationServerIndex]?.url;
|
|
9471
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9472
|
+
},
|
|
9473
|
+
/**
|
|
9474
|
+
*
|
|
9475
|
+
* @param {string} id
|
|
9476
|
+
* @param {UpdateTaskPayload} updateTaskPayload
|
|
9477
|
+
* @param {*} [options] Override http request option.
|
|
9478
|
+
* @throws {RequiredError}
|
|
9479
|
+
*/
|
|
9480
|
+
async todoControllerUpdateTask(id: string, updateTaskPayload: UpdateTaskPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskDetailResponseDTO>> {
|
|
9481
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerUpdateTask(id, updateTaskPayload, options);
|
|
9482
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9483
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerUpdateTask']?.[localVarOperationServerIndex]?.url;
|
|
9484
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9485
|
+
},
|
|
9486
|
+
/**
|
|
9487
|
+
*
|
|
9488
|
+
* @param {string} id
|
|
9489
|
+
* @param {UpdateTodoPayload} updateTodoPayload
|
|
9490
|
+
* @param {*} [options] Override http request option.
|
|
9491
|
+
* @throws {RequiredError}
|
|
9492
|
+
*/
|
|
9493
|
+
async todoControllerUpdateTodo(id: string, updateTodoPayload: UpdateTodoPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
|
|
9494
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerUpdateTodo(id, updateTodoPayload, options);
|
|
9495
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9496
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerUpdateTodo']?.[localVarOperationServerIndex]?.url;
|
|
9497
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9498
|
+
},
|
|
9499
|
+
}
|
|
9500
|
+
};
|
|
9501
|
+
|
|
9502
|
+
/**
|
|
9503
|
+
* TodoApi - factory interface
|
|
9504
|
+
* @export
|
|
9505
|
+
*/
|
|
9506
|
+
export const TodoApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
9507
|
+
const localVarFp = TodoApiFp(configuration)
|
|
9508
|
+
return {
|
|
9509
|
+
/**
|
|
9510
|
+
*
|
|
9511
|
+
* @param {string} id
|
|
9512
|
+
* @param {*} [options] Override http request option.
|
|
9513
|
+
* @throws {RequiredError}
|
|
9514
|
+
*/
|
|
9515
|
+
todoControllerAcceptTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9516
|
+
return localVarFp.todoControllerAcceptTodo(id, options).then((request) => request(axios, basePath));
|
|
9517
|
+
},
|
|
9518
|
+
/**
|
|
9519
|
+
*
|
|
9520
|
+
* @param {string} id
|
|
9521
|
+
* @param {AssignTaskPayload} assignTaskPayload
|
|
9522
|
+
* @param {*} [options] Override http request option.
|
|
9523
|
+
* @throws {RequiredError}
|
|
9524
|
+
*/
|
|
9525
|
+
todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9526
|
+
return localVarFp.todoControllerAssignTask(id, assignTaskPayload, options).then((request) => request(axios, basePath));
|
|
9527
|
+
},
|
|
9528
|
+
/**
|
|
9529
|
+
*
|
|
9530
|
+
* @param {CreateTaskPayload} createTaskPayload
|
|
9531
|
+
* @param {*} [options] Override http request option.
|
|
9532
|
+
* @throws {RequiredError}
|
|
9533
|
+
*/
|
|
9534
|
+
todoControllerCreateTask(createTaskPayload: CreateTaskPayload, options?: RawAxiosRequestConfig): AxiosPromise<TaskDetailResponseDTO> {
|
|
9535
|
+
return localVarFp.todoControllerCreateTask(createTaskPayload, options).then((request) => request(axios, basePath));
|
|
9536
|
+
},
|
|
9537
|
+
/**
|
|
9538
|
+
*
|
|
9539
|
+
* @param {CreateTodoPayload} createTodoPayload
|
|
9540
|
+
* @param {*} [options] Override http request option.
|
|
9541
|
+
* @throws {RequiredError}
|
|
9542
|
+
*/
|
|
9543
|
+
todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9544
|
+
return localVarFp.todoControllerCreateTodo(createTodoPayload, options).then((request) => request(axios, basePath));
|
|
9545
|
+
},
|
|
9546
|
+
/**
|
|
9547
|
+
*
|
|
9548
|
+
* @param {string} id
|
|
9549
|
+
* @param {*} [options] Override http request option.
|
|
9550
|
+
* @throws {RequiredError}
|
|
9551
|
+
*/
|
|
9552
|
+
todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9553
|
+
return localVarFp.todoControllerDeleteTask(id, options).then((request) => request(axios, basePath));
|
|
9554
|
+
},
|
|
9555
|
+
/**
|
|
9556
|
+
*
|
|
9557
|
+
* @param {string} id
|
|
9558
|
+
* @param {*} [options] Override http request option.
|
|
9559
|
+
* @throws {RequiredError}
|
|
9560
|
+
*/
|
|
9561
|
+
todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9562
|
+
return localVarFp.todoControllerDeleteTodo(id, options).then((request) => request(axios, basePath));
|
|
9563
|
+
},
|
|
9564
|
+
/**
|
|
9565
|
+
*
|
|
9566
|
+
* @param {string} id
|
|
9567
|
+
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
9568
|
+
* @param {*} [options] Override http request option.
|
|
9569
|
+
* @throws {RequiredError}
|
|
9570
|
+
*/
|
|
9571
|
+
todoControllerInviteCollaborator(id: string, addCollaboratorPayload: AddCollaboratorPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9572
|
+
return localVarFp.todoControllerInviteCollaborator(id, addCollaboratorPayload, options).then((request) => request(axios, basePath));
|
|
9573
|
+
},
|
|
9574
|
+
/**
|
|
9575
|
+
*
|
|
9576
|
+
* @param {ListTaskListPayload} listTaskListPayload
|
|
9577
|
+
* @param {*} [options] Override http request option.
|
|
9578
|
+
* @throws {RequiredError}
|
|
9579
|
+
*/
|
|
9580
|
+
todoControllerListTasks(listTaskListPayload: ListTaskListPayload, options?: RawAxiosRequestConfig): AxiosPromise<TaskListResponseDTO> {
|
|
9581
|
+
return localVarFp.todoControllerListTasks(listTaskListPayload, options).then((request) => request(axios, basePath));
|
|
9582
|
+
},
|
|
9583
|
+
/**
|
|
9584
|
+
*
|
|
9585
|
+
* @param {*} [options] Override http request option.
|
|
9586
|
+
* @throws {RequiredError}
|
|
9587
|
+
*/
|
|
9588
|
+
todoControllerListTodo(options?: RawAxiosRequestConfig): AxiosPromise<TodoListResponseDTO> {
|
|
9589
|
+
return localVarFp.todoControllerListTodo(options).then((request) => request(axios, basePath));
|
|
9590
|
+
},
|
|
9591
|
+
/**
|
|
9592
|
+
*
|
|
9593
|
+
* @param {string} id
|
|
9594
|
+
* @param {*} [options] Override http request option.
|
|
9595
|
+
* @throws {RequiredError}
|
|
9596
|
+
*/
|
|
9597
|
+
todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9598
|
+
return localVarFp.todoControllerRejectTodo(id, options).then((request) => request(axios, basePath));
|
|
9599
|
+
},
|
|
9600
|
+
/**
|
|
9601
|
+
*
|
|
9602
|
+
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
9603
|
+
* @param {*} [options] Override http request option.
|
|
9604
|
+
* @throws {RequiredError}
|
|
9605
|
+
*/
|
|
9606
|
+
todoControllerReorderTask(taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9607
|
+
return localVarFp.todoControllerReorderTask(taskListReorderPayloadDTO, options).then((request) => request(axios, basePath));
|
|
9608
|
+
},
|
|
9609
|
+
/**
|
|
9610
|
+
*
|
|
9611
|
+
* @param {string} id
|
|
9612
|
+
* @param {UpdateTaskPayload} updateTaskPayload
|
|
9613
|
+
* @param {*} [options] Override http request option.
|
|
9614
|
+
* @throws {RequiredError}
|
|
9615
|
+
*/
|
|
9616
|
+
todoControllerUpdateTask(id: string, updateTaskPayload: UpdateTaskPayload, options?: RawAxiosRequestConfig): AxiosPromise<TaskDetailResponseDTO> {
|
|
9617
|
+
return localVarFp.todoControllerUpdateTask(id, updateTaskPayload, options).then((request) => request(axios, basePath));
|
|
9618
|
+
},
|
|
9619
|
+
/**
|
|
9620
|
+
*
|
|
9621
|
+
* @param {string} id
|
|
9622
|
+
* @param {UpdateTodoPayload} updateTodoPayload
|
|
9623
|
+
* @param {*} [options] Override http request option.
|
|
9624
|
+
* @throws {RequiredError}
|
|
9625
|
+
*/
|
|
9626
|
+
todoControllerUpdateTodo(id: string, updateTodoPayload: UpdateTodoPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
9627
|
+
return localVarFp.todoControllerUpdateTodo(id, updateTodoPayload, options).then((request) => request(axios, basePath));
|
|
9628
|
+
},
|
|
9629
|
+
};
|
|
9630
|
+
};
|
|
9631
|
+
|
|
9632
|
+
/**
|
|
9633
|
+
* TodoApi - object-oriented interface
|
|
9634
|
+
* @export
|
|
9635
|
+
* @class TodoApi
|
|
9636
|
+
* @extends {BaseAPI}
|
|
9637
|
+
*/
|
|
9638
|
+
export class TodoApi extends BaseAPI {
|
|
9639
|
+
/**
|
|
9640
|
+
*
|
|
9641
|
+
* @param {string} id
|
|
9642
|
+
* @param {*} [options] Override http request option.
|
|
9643
|
+
* @throws {RequiredError}
|
|
9644
|
+
* @memberof TodoApi
|
|
9645
|
+
*/
|
|
9646
|
+
public todoControllerAcceptTodo(id: string, options?: RawAxiosRequestConfig) {
|
|
9647
|
+
return TodoApiFp(this.configuration).todoControllerAcceptTodo(id, options).then((request) => request(this.axios, this.basePath));
|
|
9648
|
+
}
|
|
9649
|
+
|
|
9650
|
+
/**
|
|
9651
|
+
*
|
|
9652
|
+
* @param {string} id
|
|
9653
|
+
* @param {AssignTaskPayload} assignTaskPayload
|
|
9654
|
+
* @param {*} [options] Override http request option.
|
|
9655
|
+
* @throws {RequiredError}
|
|
9656
|
+
* @memberof TodoApi
|
|
9657
|
+
*/
|
|
9658
|
+
public todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig) {
|
|
9659
|
+
return TodoApiFp(this.configuration).todoControllerAssignTask(id, assignTaskPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9660
|
+
}
|
|
9661
|
+
|
|
9662
|
+
/**
|
|
9663
|
+
*
|
|
9664
|
+
* @param {CreateTaskPayload} createTaskPayload
|
|
9665
|
+
* @param {*} [options] Override http request option.
|
|
9666
|
+
* @throws {RequiredError}
|
|
9667
|
+
* @memberof TodoApi
|
|
9668
|
+
*/
|
|
9669
|
+
public todoControllerCreateTask(createTaskPayload: CreateTaskPayload, options?: RawAxiosRequestConfig) {
|
|
9670
|
+
return TodoApiFp(this.configuration).todoControllerCreateTask(createTaskPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9671
|
+
}
|
|
9672
|
+
|
|
9673
|
+
/**
|
|
9674
|
+
*
|
|
9675
|
+
* @param {CreateTodoPayload} createTodoPayload
|
|
9676
|
+
* @param {*} [options] Override http request option.
|
|
9677
|
+
* @throws {RequiredError}
|
|
9678
|
+
* @memberof TodoApi
|
|
9679
|
+
*/
|
|
9680
|
+
public todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig) {
|
|
9681
|
+
return TodoApiFp(this.configuration).todoControllerCreateTodo(createTodoPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9682
|
+
}
|
|
9683
|
+
|
|
9684
|
+
/**
|
|
9685
|
+
*
|
|
9686
|
+
* @param {string} id
|
|
9687
|
+
* @param {*} [options] Override http request option.
|
|
9688
|
+
* @throws {RequiredError}
|
|
9689
|
+
* @memberof TodoApi
|
|
9690
|
+
*/
|
|
9691
|
+
public todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig) {
|
|
9692
|
+
return TodoApiFp(this.configuration).todoControllerDeleteTask(id, options).then((request) => request(this.axios, this.basePath));
|
|
9693
|
+
}
|
|
9694
|
+
|
|
9695
|
+
/**
|
|
9696
|
+
*
|
|
9697
|
+
* @param {string} id
|
|
9698
|
+
* @param {*} [options] Override http request option.
|
|
9699
|
+
* @throws {RequiredError}
|
|
9700
|
+
* @memberof TodoApi
|
|
9701
|
+
*/
|
|
9702
|
+
public todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig) {
|
|
9703
|
+
return TodoApiFp(this.configuration).todoControllerDeleteTodo(id, options).then((request) => request(this.axios, this.basePath));
|
|
9704
|
+
}
|
|
9705
|
+
|
|
9706
|
+
/**
|
|
9707
|
+
*
|
|
9708
|
+
* @param {string} id
|
|
9709
|
+
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
9710
|
+
* @param {*} [options] Override http request option.
|
|
9711
|
+
* @throws {RequiredError}
|
|
9712
|
+
* @memberof TodoApi
|
|
9713
|
+
*/
|
|
9714
|
+
public todoControllerInviteCollaborator(id: string, addCollaboratorPayload: AddCollaboratorPayload, options?: RawAxiosRequestConfig) {
|
|
9715
|
+
return TodoApiFp(this.configuration).todoControllerInviteCollaborator(id, addCollaboratorPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9716
|
+
}
|
|
9717
|
+
|
|
9718
|
+
/**
|
|
9719
|
+
*
|
|
9720
|
+
* @param {ListTaskListPayload} listTaskListPayload
|
|
9721
|
+
* @param {*} [options] Override http request option.
|
|
9722
|
+
* @throws {RequiredError}
|
|
9723
|
+
* @memberof TodoApi
|
|
9724
|
+
*/
|
|
9725
|
+
public todoControllerListTasks(listTaskListPayload: ListTaskListPayload, options?: RawAxiosRequestConfig) {
|
|
9726
|
+
return TodoApiFp(this.configuration).todoControllerListTasks(listTaskListPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9727
|
+
}
|
|
9728
|
+
|
|
9729
|
+
/**
|
|
9730
|
+
*
|
|
9731
|
+
* @param {*} [options] Override http request option.
|
|
9732
|
+
* @throws {RequiredError}
|
|
9733
|
+
* @memberof TodoApi
|
|
9734
|
+
*/
|
|
9735
|
+
public todoControllerListTodo(options?: RawAxiosRequestConfig) {
|
|
9736
|
+
return TodoApiFp(this.configuration).todoControllerListTodo(options).then((request) => request(this.axios, this.basePath));
|
|
9737
|
+
}
|
|
9738
|
+
|
|
9739
|
+
/**
|
|
9740
|
+
*
|
|
9741
|
+
* @param {string} id
|
|
9742
|
+
* @param {*} [options] Override http request option.
|
|
9743
|
+
* @throws {RequiredError}
|
|
9744
|
+
* @memberof TodoApi
|
|
9745
|
+
*/
|
|
9746
|
+
public todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig) {
|
|
9747
|
+
return TodoApiFp(this.configuration).todoControllerRejectTodo(id, options).then((request) => request(this.axios, this.basePath));
|
|
9748
|
+
}
|
|
9749
|
+
|
|
9750
|
+
/**
|
|
9751
|
+
*
|
|
9752
|
+
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
9753
|
+
* @param {*} [options] Override http request option.
|
|
9754
|
+
* @throws {RequiredError}
|
|
9755
|
+
* @memberof TodoApi
|
|
9756
|
+
*/
|
|
9757
|
+
public todoControllerReorderTask(taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
9758
|
+
return TodoApiFp(this.configuration).todoControllerReorderTask(taskListReorderPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
9759
|
+
}
|
|
9760
|
+
|
|
9761
|
+
/**
|
|
9762
|
+
*
|
|
9763
|
+
* @param {string} id
|
|
9764
|
+
* @param {UpdateTaskPayload} updateTaskPayload
|
|
9765
|
+
* @param {*} [options] Override http request option.
|
|
9766
|
+
* @throws {RequiredError}
|
|
9767
|
+
* @memberof TodoApi
|
|
9768
|
+
*/
|
|
9769
|
+
public todoControllerUpdateTask(id: string, updateTaskPayload: UpdateTaskPayload, options?: RawAxiosRequestConfig) {
|
|
9770
|
+
return TodoApiFp(this.configuration).todoControllerUpdateTask(id, updateTaskPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9771
|
+
}
|
|
9772
|
+
|
|
9773
|
+
/**
|
|
9774
|
+
*
|
|
9775
|
+
* @param {string} id
|
|
9776
|
+
* @param {UpdateTodoPayload} updateTodoPayload
|
|
9777
|
+
* @param {*} [options] Override http request option.
|
|
9778
|
+
* @throws {RequiredError}
|
|
9779
|
+
* @memberof TodoApi
|
|
9780
|
+
*/
|
|
9781
|
+
public todoControllerUpdateTodo(id: string, updateTodoPayload: UpdateTodoPayload, options?: RawAxiosRequestConfig) {
|
|
9782
|
+
return TodoApiFp(this.configuration).todoControllerUpdateTodo(id, updateTodoPayload, options).then((request) => request(this.axios, this.basePath));
|
|
9783
|
+
}
|
|
9784
|
+
}
|
|
9785
|
+
|
|
9786
|
+
|
|
9787
|
+
|
|
8520
9788
|
/**
|
|
8521
9789
|
* UsersApi - axios parameter creator
|
|
8522
9790
|
* @export
|