@gooday_corp/gooday-api-client 1.1.15 → 1.1.18-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/api.ts +1512 -173
  2. 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
@@ -325,10 +357,10 @@ export interface BookingResponse {
325
357
  'endDate': string;
326
358
  /**
327
359
  * The venue of the booking
328
- * @type {string}
360
+ * @type {BusinessVenueDTO}
329
361
  * @memberof BookingResponse
330
362
  */
331
- 'venue': string;
363
+ 'venue': BusinessVenueDTO;
332
364
  /**
333
365
  * The business associated with the booking
334
366
  * @type {BusinessEntity}
@@ -917,21 +949,40 @@ export interface CalendarDTO {
917
949
  /**
918
950
  *
919
951
  * @export
920
- * @interface CalendarEventsListPayload
952
+ * @interface CalendarEvents
921
953
  */
922
- export interface CalendarEventsListPayload {
954
+ export interface CalendarEvents {
923
955
  /**
924
- * Start date for the events
925
- * @type {string}
926
- * @memberof CalendarEventsListPayload
956
+ * Bookings list
957
+ * @type {Array<BookingResponse>}
958
+ * @memberof CalendarEvents
927
959
  */
928
- 'startDate': string;
960
+ 'bookings': Array<BookingResponse>;
929
961
  /**
930
- * End date for the events
931
- * @type {string}
932
- * @memberof CalendarEventsListPayload
962
+ * Event list
963
+ * @type {Array<EventResponse>}
964
+ * @memberof CalendarEvents
933
965
  */
934
- 'endDate': string;
966
+ 'events': Array<EventResponse>;
967
+ }
968
+ /**
969
+ *
970
+ * @export
971
+ * @interface CalendarEventsDTO
972
+ */
973
+ export interface CalendarEventsDTO {
974
+ /**
975
+ * statusCode
976
+ * @type {number}
977
+ * @memberof CalendarEventsDTO
978
+ */
979
+ 'statusCode': number;
980
+ /**
981
+ * Calendar events response
982
+ * @type {CalendarEvents}
983
+ * @memberof CalendarEventsDTO
984
+ */
985
+ 'data': CalendarEvents;
935
986
  }
936
987
  /**
937
988
  *
@@ -1240,6 +1291,43 @@ export interface CreateCalendarPayload {
1240
1291
  */
1241
1292
  'name': string;
1242
1293
  }
1294
+ /**
1295
+ *
1296
+ * @export
1297
+ * @interface CreateEventCustomer
1298
+ */
1299
+ export interface CreateEventCustomer {
1300
+ /**
1301
+ * The unique identifier of the customer
1302
+ * @type {string}
1303
+ * @memberof CreateEventCustomer
1304
+ */
1305
+ '_id'?: string;
1306
+ /**
1307
+ * The name of the customer
1308
+ * @type {string}
1309
+ * @memberof CreateEventCustomer
1310
+ */
1311
+ 'name'?: string;
1312
+ /**
1313
+ * The mobile phone number of the customer
1314
+ * @type {string}
1315
+ * @memberof CreateEventCustomer
1316
+ */
1317
+ 'mobile'?: string;
1318
+ /**
1319
+ * The email address of the customer
1320
+ * @type {string}
1321
+ * @memberof CreateEventCustomer
1322
+ */
1323
+ 'email'?: string;
1324
+ /**
1325
+ * The goodayId for the customer
1326
+ * @type {string}
1327
+ * @memberof CreateEventCustomer
1328
+ */
1329
+ 'goodayId'?: string;
1330
+ }
1243
1331
  /**
1244
1332
  *
1245
1333
  * @export
@@ -1357,6 +1445,38 @@ export interface CreatePaymentLinkDTO {
1357
1445
  */
1358
1446
  'user': string;
1359
1447
  }
1448
+ /**
1449
+ *
1450
+ * @export
1451
+ * @interface CreateTaskPayload
1452
+ */
1453
+ export interface CreateTaskPayload {
1454
+ /**
1455
+ * ID of the associated todo item
1456
+ * @type {string}
1457
+ * @memberof CreateTaskPayload
1458
+ */
1459
+ 'todo': string;
1460
+ /**
1461
+ * Content of the task
1462
+ * @type {string}
1463
+ * @memberof CreateTaskPayload
1464
+ */
1465
+ 'content': string;
1466
+ }
1467
+ /**
1468
+ *
1469
+ * @export
1470
+ * @interface CreateTodoPayload
1471
+ */
1472
+ export interface CreateTodoPayload {
1473
+ /**
1474
+ * Name of the todo
1475
+ * @type {string}
1476
+ * @memberof CreateTodoPayload
1477
+ */
1478
+ 'name': string;
1479
+ }
1360
1480
  /**
1361
1481
  *
1362
1482
  * @export
@@ -1521,10 +1641,10 @@ export interface EventResponse {
1521
1641
  'endDate': string;
1522
1642
  /**
1523
1643
  * Create event customer
1524
- * @type {Array<CreateEventCustomerPayload>}
1644
+ * @type {Array<CreateEventCustomer>}
1525
1645
  * @memberof EventResponse
1526
1646
  */
1527
- 'customers': Array<CreateEventCustomerPayload>;
1647
+ 'customers': Array<CreateEventCustomer>;
1528
1648
  /**
1529
1649
  * The user details
1530
1650
  * @type {Array<UserEntity>}
@@ -1977,6 +2097,19 @@ export interface IntegrationsResponse {
1977
2097
  */
1978
2098
  'data': Array<IntegrationEntity>;
1979
2099
  }
2100
+ /**
2101
+ *
2102
+ * @export
2103
+ * @interface ListTaskListPayload
2104
+ */
2105
+ export interface ListTaskListPayload {
2106
+ /**
2107
+ * ID of the associated todo item
2108
+ * @type {string}
2109
+ * @memberof ListTaskListPayload
2110
+ */
2111
+ 'todo': string;
2112
+ }
1980
2113
  /**
1981
2114
  *
1982
2115
  * @export
@@ -2203,49 +2336,19 @@ export interface NotificationEntity {
2203
2336
  * @type {string}
2204
2337
  * @memberof NotificationEntity
2205
2338
  */
2206
- 'message': string;
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;
2339
+ 'content': string;
2219
2340
  /**
2220
2341
  * The user associated with the notification
2221
2342
  * @type {string}
2222
2343
  * @memberof NotificationEntity
2223
2344
  */
2224
2345
  'user': string;
2225
- /**
2226
- * The channel through which the notification is sent
2227
- * @type {string}
2228
- * @memberof NotificationEntity
2229
- */
2230
- 'channel': NotificationEntityChannelEnum;
2231
2346
  /**
2232
2347
  * The type of the notification (optional)
2233
2348
  * @type {string}
2234
2349
  * @memberof NotificationEntity
2235
2350
  */
2236
2351
  '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
2352
  /**
2250
2353
  * Additional metadata associated with the notification (optional)
2251
2354
  * @type {object}
@@ -2260,28 +2363,18 @@ export interface NotificationEntity {
2260
2363
  'isRead': boolean;
2261
2364
  }
2262
2365
 
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
2366
  export const NotificationEntityTypeEnum = {
2270
- UserSignup: 'user_signup',
2271
- EmailVerification: 'email_verification',
2272
- Promotion: 'promotion',
2273
- SystemAlert: 'system_alert',
2274
- FriendRequest: 'friend_request'
2367
+ FriendInvite: 'FRIEND_INVITE',
2368
+ FriendInviteAccept: 'FRIEND_INVITE_ACCEPT',
2369
+ FriendInviteReject: 'FRIEND_INVITE_REJECT',
2370
+ UserOnboard: 'USER_ONBOARD',
2371
+ BusinessBookingCreate: 'BUSINESS_BOOKING_CREATE',
2372
+ BookingCreate: 'BOOKING_CREATE',
2373
+ BokkingAccept: 'BOKKING_ACCEPT',
2374
+ BookingReject: 'BOOKING_REJECT'
2275
2375
  } as const;
2276
2376
 
2277
2377
  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
2378
 
2286
2379
  /**
2287
2380
  *
@@ -2333,6 +2426,12 @@ export interface OnBoardingDTO {
2333
2426
  * @memberof OnBoardingDTO
2334
2427
  */
2335
2428
  'assistant'?: string;
2429
+ /**
2430
+ * Profile For user
2431
+ * @type {string}
2432
+ * @memberof OnBoardingDTO
2433
+ */
2434
+ 'profile'?: string;
2336
2435
  /**
2337
2436
  *
2338
2437
  * @type {UserPlanDTO}
@@ -2990,121 +3089,322 @@ export interface StripeSetupPaymentIntentDTO {
2990
3089
  /**
2991
3090
  *
2992
3091
  * @export
2993
- * @interface UserEntity
3092
+ * @interface TaskDetailResponseDTO
2994
3093
  */
2995
- export interface UserEntity {
3094
+ export interface TaskDetailResponseDTO {
2996
3095
  /**
2997
- * Unique identifier for the user
2998
- * @type {string}
2999
- * @memberof UserEntity
3096
+ * statusCode
3097
+ * @type {number}
3098
+ * @memberof TaskDetailResponseDTO
3000
3099
  */
3001
- '_id': string;
3100
+ 'statusCode': number;
3002
3101
  /**
3003
- * Unique identifier for the Gooday user
3102
+ * Booking
3103
+ * @type {TodoEntity}
3104
+ * @memberof TaskDetailResponseDTO
3105
+ */
3106
+ 'data': TodoEntity;
3107
+ }
3108
+ /**
3109
+ *
3110
+ * @export
3111
+ * @interface TaskEntity
3112
+ */
3113
+ export interface TaskEntity {
3114
+ /**
3115
+ * Unique identifier for the todo item
3004
3116
  * @type {string}
3005
- * @memberof UserEntity
3117
+ * @memberof TaskEntity
3006
3118
  */
3007
- 'goodayId': string;
3119
+ 'id': string;
3008
3120
  /**
3009
- * First name of the user
3121
+ * Content of the todo item
3010
3122
  * @type {string}
3011
- * @memberof UserEntity
3123
+ * @memberof TaskEntity
3012
3124
  */
3013
- 'firstName': string;
3125
+ 'content': string;
3014
3126
  /**
3015
- * Last name of the user
3127
+ * Created by of the todo item
3016
3128
  * @type {string}
3017
- * @memberof UserEntity
3129
+ * @memberof TaskEntity
3018
3130
  */
3019
- 'lastName': string;
3131
+ 'createdBy': string;
3020
3132
  /**
3021
- * Is account deactivated?
3022
- * @type {boolean}
3023
- * @memberof UserEntity
3133
+ * Assigned to
3134
+ * @type {Array<string>}
3135
+ * @memberof TaskEntity
3024
3136
  */
3025
- 'isDeleted': boolean;
3137
+ 'assignedTo': Array<string>;
3026
3138
  /**
3027
- * Email address of the user
3139
+ * Status
3028
3140
  * @type {string}
3029
- * @memberof UserEntity
3141
+ * @memberof TaskEntity
3030
3142
  */
3031
- 'email': string;
3143
+ 'status': string;
3032
3144
  /**
3033
- * User location
3034
- * @type {Array<number>}
3035
- * @memberof UserEntity
3145
+ * Position
3146
+ * @type {number}
3147
+ * @memberof TaskEntity
3036
3148
  */
3037
- 'location'?: Array<number>;
3149
+ 'position': number;
3150
+ }
3151
+ /**
3152
+ *
3153
+ * @export
3154
+ * @interface TaskListReorderPayloadDTO
3155
+ */
3156
+ export interface TaskListReorderPayloadDTO {
3038
3157
  /**
3039
- * Nickname of the user
3158
+ * Unique identifier for the todo item
3040
3159
  * @type {string}
3041
- * @memberof UserEntity
3160
+ * @memberof TaskListReorderPayloadDTO
3042
3161
  */
3043
- 'nickName': string;
3162
+ 'id': string;
3044
3163
  /**
3045
- * User\'s date of birth
3046
- * @type {string}
3047
- * @memberof UserEntity
3164
+ * Position of todo item
3165
+ * @type {number}
3166
+ * @memberof TaskListReorderPayloadDTO
3048
3167
  */
3049
- 'dob': string;
3168
+ 'position': number;
3169
+ }
3170
+ /**
3171
+ *
3172
+ * @export
3173
+ * @interface TaskListResponseDTO
3174
+ */
3175
+ export interface TaskListResponseDTO {
3050
3176
  /**
3051
- * Assistant ID
3052
- * @type {string}
3053
- * @memberof UserEntity
3177
+ * statusCode
3178
+ * @type {number}
3179
+ * @memberof TaskListResponseDTO
3054
3180
  */
3055
- 'assistant': string;
3181
+ 'statusCode': number;
3056
3182
  /**
3057
- * Phone No
3058
- * @type {string}
3059
- * @memberof UserEntity
3183
+ * Booking
3184
+ * @type {Array<TaskEntity>}
3185
+ * @memberof TaskListResponseDTO
3060
3186
  */
3061
- 'mobileNumber'?: string;
3187
+ 'data': Array<TaskEntity>;
3188
+ }
3189
+ /**
3190
+ *
3191
+ * @export
3192
+ * @interface TodoDetailResponseDTO
3193
+ */
3194
+ export interface TodoDetailResponseDTO {
3062
3195
  /**
3063
- * User gender
3064
- * @type {string}
3065
- * @memberof UserEntity
3196
+ * statusCode
3197
+ * @type {number}
3198
+ * @memberof TodoDetailResponseDTO
3066
3199
  */
3067
- 'gender'?: string;
3200
+ 'statusCode': number;
3068
3201
  /**
3069
- * Indicates whether the user\'s email has been verified
3070
- * @type {boolean}
3071
- * @memberof UserEntity
3202
+ * Booking
3203
+ * @type {TodoEntity}
3204
+ * @memberof TodoDetailResponseDTO
3072
3205
  */
3073
- 'isEmailVerified': boolean;
3206
+ 'data': TodoEntity;
3207
+ }
3208
+ /**
3209
+ *
3210
+ * @export
3211
+ * @interface TodoEntity
3212
+ */
3213
+ export interface TodoEntity {
3074
3214
  /**
3075
- * Primary user calendar
3215
+ * Unique identifier for the todo item
3076
3216
  * @type {string}
3077
- * @memberof UserEntity
3217
+ * @memberof TodoEntity
3078
3218
  */
3079
- 'calendar': string;
3219
+ 'id': string;
3080
3220
  /**
3081
- * Role of the user in the system
3221
+ * Name of the todo item
3082
3222
  * @type {string}
3083
- * @memberof UserEntity
3223
+ * @memberof TodoEntity
3084
3224
  */
3085
- 'role': UserEntityRoleEnum;
3225
+ 'name': string;
3086
3226
  /**
3087
- * Goals why user is using the product
3227
+ * List of collaborators for the todo
3088
3228
  * @type {Array<string>}
3089
- * @memberof UserEntity
3229
+ * @memberof TodoEntity
3090
3230
  */
3091
- 'goals': Array<string>;
3231
+ 'collaborators': Array<string>;
3092
3232
  /**
3093
- * Plan subscribed by the user
3094
- * @type {UserPlanDTO}
3095
- * @memberof UserEntity
3233
+ * Owner of the todo item
3234
+ * @type {string}
3235
+ * @memberof TodoEntity
3096
3236
  */
3097
- 'plan': UserPlanDTO;
3237
+ 'owner': string;
3238
+ }
3239
+ /**
3240
+ *
3241
+ * @export
3242
+ * @interface TodoListResponseDTO
3243
+ */
3244
+ export interface TodoListResponseDTO {
3098
3245
  /**
3099
- * Plan subscribed by the user
3100
- * @type {BusinessEntity}
3101
- * @memberof UserEntity
3246
+ * statusCode
3247
+ * @type {number}
3248
+ * @memberof TodoListResponseDTO
3102
3249
  */
3103
- 'business'?: BusinessEntity;
3250
+ 'statusCode': number;
3104
3251
  /**
3105
- * User permissions
3106
- * @type {UserPermissionDTO}
3107
- * @memberof UserEntity
3252
+ * Booking
3253
+ * @type {Array<TodoEntity>}
3254
+ * @memberof TodoListResponseDTO
3255
+ */
3256
+ 'data': Array<TodoEntity>;
3257
+ }
3258
+ /**
3259
+ *
3260
+ * @export
3261
+ * @interface UpdateTaskPayload
3262
+ */
3263
+ export interface UpdateTaskPayload {
3264
+ /**
3265
+ * Content of the task
3266
+ * @type {string}
3267
+ * @memberof UpdateTaskPayload
3268
+ */
3269
+ 'content'?: string;
3270
+ /**
3271
+ * Status of the task
3272
+ * @type {string}
3273
+ * @memberof UpdateTaskPayload
3274
+ */
3275
+ 'status'?: string;
3276
+ }
3277
+ /**
3278
+ *
3279
+ * @export
3280
+ * @interface UpdateTodoPayload
3281
+ */
3282
+ export interface UpdateTodoPayload {
3283
+ /**
3284
+ * Name of the todo
3285
+ * @type {string}
3286
+ * @memberof UpdateTodoPayload
3287
+ */
3288
+ 'name': string;
3289
+ }
3290
+ /**
3291
+ *
3292
+ * @export
3293
+ * @interface UserEntity
3294
+ */
3295
+ export interface UserEntity {
3296
+ /**
3297
+ * Unique identifier for the user
3298
+ * @type {string}
3299
+ * @memberof UserEntity
3300
+ */
3301
+ '_id': string;
3302
+ /**
3303
+ * Unique identifier for the Gooday user
3304
+ * @type {string}
3305
+ * @memberof UserEntity
3306
+ */
3307
+ 'goodayId': string;
3308
+ /**
3309
+ * First name of the user
3310
+ * @type {string}
3311
+ * @memberof UserEntity
3312
+ */
3313
+ 'firstName': string;
3314
+ /**
3315
+ * Last name of the user
3316
+ * @type {string}
3317
+ * @memberof UserEntity
3318
+ */
3319
+ 'lastName': string;
3320
+ /**
3321
+ * Is account deactivated?
3322
+ * @type {boolean}
3323
+ * @memberof UserEntity
3324
+ */
3325
+ 'isDeleted': boolean;
3326
+ /**
3327
+ * Email address of the user
3328
+ * @type {string}
3329
+ * @memberof UserEntity
3330
+ */
3331
+ 'email': string;
3332
+ /**
3333
+ * User location
3334
+ * @type {Array<number>}
3335
+ * @memberof UserEntity
3336
+ */
3337
+ 'location'?: Array<number>;
3338
+ /**
3339
+ * Nickname of the user
3340
+ * @type {string}
3341
+ * @memberof UserEntity
3342
+ */
3343
+ 'nickName': string;
3344
+ /**
3345
+ * User\'s date of birth
3346
+ * @type {string}
3347
+ * @memberof UserEntity
3348
+ */
3349
+ 'dob': string;
3350
+ /**
3351
+ * Assistant ID
3352
+ * @type {string}
3353
+ * @memberof UserEntity
3354
+ */
3355
+ 'assistant': string;
3356
+ /**
3357
+ * Phone No
3358
+ * @type {string}
3359
+ * @memberof UserEntity
3360
+ */
3361
+ 'mobileNumber'?: string;
3362
+ /**
3363
+ * User gender
3364
+ * @type {string}
3365
+ * @memberof UserEntity
3366
+ */
3367
+ 'gender'?: string;
3368
+ /**
3369
+ * Indicates whether the user\'s email has been verified
3370
+ * @type {boolean}
3371
+ * @memberof UserEntity
3372
+ */
3373
+ 'isEmailVerified': boolean;
3374
+ /**
3375
+ * Primary user calendar
3376
+ * @type {string}
3377
+ * @memberof UserEntity
3378
+ */
3379
+ 'calendar': string;
3380
+ /**
3381
+ * Role of the user in the system
3382
+ * @type {string}
3383
+ * @memberof UserEntity
3384
+ */
3385
+ 'role': UserEntityRoleEnum;
3386
+ /**
3387
+ * Goals why user is using the product
3388
+ * @type {Array<string>}
3389
+ * @memberof UserEntity
3390
+ */
3391
+ 'goals': Array<string>;
3392
+ /**
3393
+ * Plan subscribed by the user
3394
+ * @type {UserPlanDTO}
3395
+ * @memberof UserEntity
3396
+ */
3397
+ 'plan': UserPlanDTO;
3398
+ /**
3399
+ * Plan subscribed by the user
3400
+ * @type {BusinessEntity}
3401
+ * @memberof UserEntity
3402
+ */
3403
+ 'business'?: BusinessEntity;
3404
+ /**
3405
+ * User permissions
3406
+ * @type {UserPermissionDTO}
3407
+ * @memberof UserEntity
3108
3408
  */
3109
3409
  'permissions': UserPermissionDTO;
3110
3410
  /**
@@ -4300,7 +4600,7 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
4300
4600
  baseOptions = configuration.baseOptions;
4301
4601
  }
4302
4602
 
4303
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4603
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4304
4604
  const localVarHeaderParameter = {} as any;
4305
4605
  const localVarQueryParameter = {} as any;
4306
4606
 
@@ -4415,7 +4715,7 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
4415
4715
  baseOptions = configuration.baseOptions;
4416
4716
  }
4417
4717
 
4418
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4718
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4419
4719
  const localVarHeaderParameter = {} as any;
4420
4720
  const localVarQueryParameter = {} as any;
4421
4721
 
@@ -4746,10 +5046,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
4746
5046
  },
4747
5047
  /**
4748
5048
  *
5049
+ * @param {boolean} [favorite] Business Type Allow Return Favourite
4749
5050
  * @param {*} [options] Override http request option.
4750
5051
  * @throws {RequiredError}
4751
5052
  */
4752
- businessTypeControllerListBusinessType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5053
+ businessTypeControllerListBusinessType: async (favorite?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4753
5054
  const localVarPath = `/v1/business/list`;
4754
5055
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4755
5056
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4766,6 +5067,10 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
4766
5067
  // http bearer authentication required
4767
5068
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
4768
5069
 
5070
+ if (favorite !== undefined) {
5071
+ localVarQueryParameter['favorite'] = favorite;
5072
+ }
5073
+
4769
5074
 
4770
5075
 
4771
5076
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -5053,11 +5358,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
5053
5358
  },
5054
5359
  /**
5055
5360
  *
5361
+ * @param {boolean} [favorite] Business Type Allow Return Favourite
5056
5362
  * @param {*} [options] Override http request option.
5057
5363
  * @throws {RequiredError}
5058
5364
  */
5059
- async businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessTypeListResponse>> {
5060
- const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListBusinessType(options);
5365
+ async businessTypeControllerListBusinessType(favorite?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessTypeListResponse>> {
5366
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListBusinessType(favorite, options);
5061
5367
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5062
5368
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListBusinessType']?.[localVarOperationServerIndex]?.url;
5063
5369
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -5179,11 +5485,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
5179
5485
  },
5180
5486
  /**
5181
5487
  *
5488
+ * @param {boolean} [favorite] Business Type Allow Return Favourite
5182
5489
  * @param {*} [options] Override http request option.
5183
5490
  * @throws {RequiredError}
5184
5491
  */
5185
- businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): AxiosPromise<BusinessTypeListResponse> {
5186
- return localVarFp.businessTypeControllerListBusinessType(options).then((request) => request(axios, basePath));
5492
+ businessTypeControllerListBusinessType(favorite?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BusinessTypeListResponse> {
5493
+ return localVarFp.businessTypeControllerListBusinessType(favorite, options).then((request) => request(axios, basePath));
5187
5494
  },
5188
5495
  /**
5189
5496
  *
@@ -5292,12 +5599,13 @@ export class BusinessApi extends BaseAPI {
5292
5599
 
5293
5600
  /**
5294
5601
  *
5602
+ * @param {boolean} [favorite] Business Type Allow Return Favourite
5295
5603
  * @param {*} [options] Override http request option.
5296
5604
  * @throws {RequiredError}
5297
5605
  * @memberof BusinessApi
5298
5606
  */
5299
- public businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig) {
5300
- return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(options).then((request) => request(this.axios, this.basePath));
5607
+ public businessTypeControllerListBusinessType(favorite?: boolean, options?: RawAxiosRequestConfig) {
5608
+ return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(favorite, options).then((request) => request(this.axios, this.basePath));
5301
5609
  }
5302
5610
 
5303
5611
  /**
@@ -5540,13 +5848,16 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
5540
5848
  },
5541
5849
  /**
5542
5850
  *
5543
- * @param {CalendarEventsListPayload} calendarEventsListPayload
5851
+ * @param {string} startDate Start date for the events
5852
+ * @param {string} endDate End date for the events
5544
5853
  * @param {*} [options] Override http request option.
5545
5854
  * @throws {RequiredError}
5546
5855
  */
5547
- calendarControllerListEvents: async (calendarEventsListPayload: CalendarEventsListPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5548
- // verify required parameter 'calendarEventsListPayload' is not null or undefined
5549
- assertParamExists('calendarControllerListEvents', 'calendarEventsListPayload', calendarEventsListPayload)
5856
+ calendarControllerListEvents: async (startDate: string, endDate: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5857
+ // verify required parameter 'startDate' is not null or undefined
5858
+ assertParamExists('calendarControllerListEvents', 'startDate', startDate)
5859
+ // verify required parameter 'endDate' is not null or undefined
5860
+ assertParamExists('calendarControllerListEvents', 'endDate', endDate)
5550
5861
  const localVarPath = `/v1/calendar/events`;
5551
5862
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5552
5863
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5563,14 +5874,23 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
5563
5874
  // http bearer authentication required
5564
5875
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
5565
5876
 
5877
+ if (startDate !== undefined) {
5878
+ localVarQueryParameter['startDate'] = (startDate as any instanceof Date) ?
5879
+ (startDate as any).toISOString() :
5880
+ startDate;
5881
+ }
5566
5882
 
5567
-
5568
- localVarHeaderParameter['Content-Type'] = 'application/json';
5883
+ if (endDate !== undefined) {
5884
+ localVarQueryParameter['endDate'] = (endDate as any instanceof Date) ?
5885
+ (endDate as any).toISOString() :
5886
+ endDate;
5887
+ }
5569
5888
 
5889
+
5890
+
5570
5891
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5571
5892
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5572
5893
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5573
- localVarRequestOptions.data = serializeDataIfNeeded(calendarEventsListPayload, localVarRequestOptions, configuration)
5574
5894
 
5575
5895
  return {
5576
5896
  url: toPathString(localVarUrlObj),
@@ -5826,12 +6146,13 @@ export const CalendarApiFp = function(configuration?: Configuration) {
5826
6146
  },
5827
6147
  /**
5828
6148
  *
5829
- * @param {CalendarEventsListPayload} calendarEventsListPayload
6149
+ * @param {string} startDate Start date for the events
6150
+ * @param {string} endDate End date for the events
5830
6151
  * @param {*} [options] Override http request option.
5831
6152
  * @throws {RequiredError}
5832
6153
  */
5833
- async calendarControllerListEvents(calendarEventsListPayload: CalendarEventsListPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
5834
- const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListEvents(calendarEventsListPayload, options);
6154
+ async calendarControllerListEvents(startDate: string, endDate: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarEventsDTO>> {
6155
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListEvents(startDate, endDate, options);
5835
6156
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5836
6157
  const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListEvents']?.[localVarOperationServerIndex]?.url;
5837
6158
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -5943,12 +6264,13 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
5943
6264
  },
5944
6265
  /**
5945
6266
  *
5946
- * @param {CalendarEventsListPayload} calendarEventsListPayload
6267
+ * @param {string} startDate Start date for the events
6268
+ * @param {string} endDate End date for the events
5947
6269
  * @param {*} [options] Override http request option.
5948
6270
  * @throws {RequiredError}
5949
6271
  */
5950
- calendarControllerListEvents(calendarEventsListPayload: CalendarEventsListPayload, options?: RawAxiosRequestConfig): AxiosPromise<void> {
5951
- return localVarFp.calendarControllerListEvents(calendarEventsListPayload, options).then((request) => request(axios, basePath));
6272
+ calendarControllerListEvents(startDate: string, endDate: string, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventsDTO> {
6273
+ return localVarFp.calendarControllerListEvents(startDate, endDate, options).then((request) => request(axios, basePath));
5952
6274
  },
5953
6275
  /**
5954
6276
  *
@@ -6050,13 +6372,14 @@ export class CalendarApi extends BaseAPI {
6050
6372
 
6051
6373
  /**
6052
6374
  *
6053
- * @param {CalendarEventsListPayload} calendarEventsListPayload
6375
+ * @param {string} startDate Start date for the events
6376
+ * @param {string} endDate End date for the events
6054
6377
  * @param {*} [options] Override http request option.
6055
6378
  * @throws {RequiredError}
6056
6379
  * @memberof CalendarApi
6057
6380
  */
6058
- public calendarControllerListEvents(calendarEventsListPayload: CalendarEventsListPayload, options?: RawAxiosRequestConfig) {
6059
- return CalendarApiFp(this.configuration).calendarControllerListEvents(calendarEventsListPayload, options).then((request) => request(this.axios, this.basePath));
6381
+ public calendarControllerListEvents(startDate: string, endDate: string, options?: RawAxiosRequestConfig) {
6382
+ return CalendarApiFp(this.configuration).calendarControllerListEvents(startDate, endDate, options).then((request) => request(this.axios, this.basePath));
6060
6383
  }
6061
6384
 
6062
6385
  /**
@@ -6249,7 +6572,7 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
6249
6572
  baseOptions = configuration.baseOptions;
6250
6573
  }
6251
6574
 
6252
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6575
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
6253
6576
  const localVarHeaderParameter = {} as any;
6254
6577
  const localVarQueryParameter = {} as any;
6255
6578
 
@@ -6364,7 +6687,7 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
6364
6687
  baseOptions = configuration.baseOptions;
6365
6688
  }
6366
6689
 
6367
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6690
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
6368
6691
  const localVarHeaderParameter = {} as any;
6369
6692
  const localVarQueryParameter = {} as any;
6370
6693
 
@@ -6724,10 +7047,17 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
6724
7047
  },
6725
7048
  /**
6726
7049
  *
7050
+ * @param {number} page
7051
+ * @param {number} pageSize
7052
+ * @param {string} [search]
6727
7053
  * @param {*} [options] Override http request option.
6728
7054
  * @throws {RequiredError}
6729
7055
  */
6730
- friendControllerListMyFriends: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7056
+ friendControllerListMyFriends: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7057
+ // verify required parameter 'page' is not null or undefined
7058
+ assertParamExists('friendControllerListMyFriends', 'page', page)
7059
+ // verify required parameter 'pageSize' is not null or undefined
7060
+ assertParamExists('friendControllerListMyFriends', 'pageSize', pageSize)
6731
7061
  const localVarPath = `/v1/friend/list`;
6732
7062
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6733
7063
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6744,6 +7074,18 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
6744
7074
  // http bearer authentication required
6745
7075
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
6746
7076
 
7077
+ if (search !== undefined) {
7078
+ localVarQueryParameter['search'] = search;
7079
+ }
7080
+
7081
+ if (page !== undefined) {
7082
+ localVarQueryParameter['page'] = page;
7083
+ }
7084
+
7085
+ if (pageSize !== undefined) {
7086
+ localVarQueryParameter['pageSize'] = pageSize;
7087
+ }
7088
+
6747
7089
 
6748
7090
 
6749
7091
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -6895,11 +7237,14 @@ export const FriendsApiFp = function(configuration?: Configuration) {
6895
7237
  },
6896
7238
  /**
6897
7239
  *
7240
+ * @param {number} page
7241
+ * @param {number} pageSize
7242
+ * @param {string} [search]
6898
7243
  * @param {*} [options] Override http request option.
6899
7244
  * @throws {RequiredError}
6900
7245
  */
6901
- async friendControllerListMyFriends(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
6902
- const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(options);
7246
+ async friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
7247
+ const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(page, pageSize, search, options);
6903
7248
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6904
7249
  const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
6905
7250
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -6978,11 +7323,14 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
6978
7323
  },
6979
7324
  /**
6980
7325
  *
7326
+ * @param {number} page
7327
+ * @param {number} pageSize
7328
+ * @param {string} [search]
6981
7329
  * @param {*} [options] Override http request option.
6982
7330
  * @throws {RequiredError}
6983
7331
  */
6984
- friendControllerListMyFriends(options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
6985
- return localVarFp.friendControllerListMyFriends(options).then((request) => request(axios, basePath));
7332
+ friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
7333
+ return localVarFp.friendControllerListMyFriends(page, pageSize, search, options).then((request) => request(axios, basePath));
6986
7334
  },
6987
7335
  /**
6988
7336
  *
@@ -7060,12 +7408,15 @@ export class FriendsApi extends BaseAPI {
7060
7408
 
7061
7409
  /**
7062
7410
  *
7411
+ * @param {number} page
7412
+ * @param {number} pageSize
7413
+ * @param {string} [search]
7063
7414
  * @param {*} [options] Override http request option.
7064
7415
  * @throws {RequiredError}
7065
7416
  * @memberof FriendsApi
7066
7417
  */
7067
- public friendControllerListMyFriends(options?: RawAxiosRequestConfig) {
7068
- return FriendsApiFp(this.configuration).friendControllerListMyFriends(options).then((request) => request(this.axios, this.basePath));
7418
+ public friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig) {
7419
+ return FriendsApiFp(this.configuration).friendControllerListMyFriends(page, pageSize, search, options).then((request) => request(this.axios, this.basePath));
7069
7420
  }
7070
7421
 
7071
7422
  /**
@@ -7734,14 +8085,17 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
7734
8085
  *
7735
8086
  * @param {number} page
7736
8087
  * @param {number} pageSize
8088
+ * @param {NotificationControllerGetNotificationCategoryEnum} category
7737
8089
  * @param {*} [options] Override http request option.
7738
8090
  * @throws {RequiredError}
7739
8091
  */
7740
- notificationControllerGetNotification: async (page: number, pageSize: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8092
+ notificationControllerGetNotification: async (page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7741
8093
  // verify required parameter 'page' is not null or undefined
7742
8094
  assertParamExists('notificationControllerGetNotification', 'page', page)
7743
8095
  // verify required parameter 'pageSize' is not null or undefined
7744
8096
  assertParamExists('notificationControllerGetNotification', 'pageSize', pageSize)
8097
+ // verify required parameter 'category' is not null or undefined
8098
+ assertParamExists('notificationControllerGetNotification', 'category', category)
7745
8099
  const localVarPath = `/v1/notification`;
7746
8100
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7747
8101
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7766,6 +8120,10 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
7766
8120
  localVarQueryParameter['pageSize'] = pageSize;
7767
8121
  }
7768
8122
 
8123
+ if (category !== undefined) {
8124
+ localVarQueryParameter['category'] = category;
8125
+ }
8126
+
7769
8127
 
7770
8128
 
7771
8129
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7830,11 +8188,12 @@ export const NotificationApiFp = function(configuration?: Configuration) {
7830
8188
  *
7831
8189
  * @param {number} page
7832
8190
  * @param {number} pageSize
8191
+ * @param {NotificationControllerGetNotificationCategoryEnum} category
7833
8192
  * @param {*} [options] Override http request option.
7834
8193
  * @throws {RequiredError}
7835
8194
  */
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);
8195
+ async notificationControllerGetNotification(page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetNotificationDTO>> {
8196
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationControllerGetNotification(page, pageSize, category, options);
7838
8197
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7839
8198
  const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerGetNotification']?.[localVarOperationServerIndex]?.url;
7840
8199
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7865,11 +8224,12 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
7865
8224
  *
7866
8225
  * @param {number} page
7867
8226
  * @param {number} pageSize
8227
+ * @param {NotificationControllerGetNotificationCategoryEnum} category
7868
8228
  * @param {*} [options] Override http request option.
7869
8229
  * @throws {RequiredError}
7870
8230
  */
7871
- notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig): AxiosPromise<GetNotificationDTO> {
7872
- return localVarFp.notificationControllerGetNotification(page, pageSize, options).then((request) => request(axios, basePath));
8231
+ notificationControllerGetNotification(page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum, options?: RawAxiosRequestConfig): AxiosPromise<GetNotificationDTO> {
8232
+ return localVarFp.notificationControllerGetNotification(page, pageSize, category, options).then((request) => request(axios, basePath));
7873
8233
  },
7874
8234
  /**
7875
8235
  *
@@ -7894,12 +8254,13 @@ export class NotificationApi extends BaseAPI {
7894
8254
  *
7895
8255
  * @param {number} page
7896
8256
  * @param {number} pageSize
8257
+ * @param {NotificationControllerGetNotificationCategoryEnum} category
7897
8258
  * @param {*} [options] Override http request option.
7898
8259
  * @throws {RequiredError}
7899
8260
  * @memberof NotificationApi
7900
8261
  */
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));
8262
+ public notificationControllerGetNotification(page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum, options?: RawAxiosRequestConfig) {
8263
+ return NotificationApiFp(this.configuration).notificationControllerGetNotification(page, pageSize, category, options).then((request) => request(this.axios, this.basePath));
7903
8264
  }
7904
8265
 
7905
8266
  /**
@@ -7914,6 +8275,19 @@ export class NotificationApi extends BaseAPI {
7914
8275
  }
7915
8276
  }
7916
8277
 
8278
+ /**
8279
+ * @export
8280
+ */
8281
+ export const NotificationControllerGetNotificationCategoryEnum = {
8282
+ Calendar: 'CALENDAR',
8283
+ Tasks: 'TASKS',
8284
+ Reminders: 'REMINDERS',
8285
+ Waitlist: 'WAITLIST',
8286
+ Booking: 'BOOKING',
8287
+ Invites: 'INVITES',
8288
+ General: 'GENERAL'
8289
+ } as const;
8290
+ export type NotificationControllerGetNotificationCategoryEnum = typeof NotificationControllerGetNotificationCategoryEnum[keyof typeof NotificationControllerGetNotificationCategoryEnum];
7917
8291
 
7918
8292
 
7919
8293
  /**
@@ -8517,6 +8891,971 @@ export class PlansApi extends BaseAPI {
8517
8891
 
8518
8892
 
8519
8893
 
8894
+ /**
8895
+ * TodoApi - axios parameter creator
8896
+ * @export
8897
+ */
8898
+ export const TodoApiAxiosParamCreator = function (configuration?: Configuration) {
8899
+ return {
8900
+ /**
8901
+ *
8902
+ * @param {string} id
8903
+ * @param {*} [options] Override http request option.
8904
+ * @throws {RequiredError}
8905
+ */
8906
+ todoControllerAcceptTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8907
+ // verify required parameter 'id' is not null or undefined
8908
+ assertParamExists('todoControllerAcceptTodo', 'id', id)
8909
+ const localVarPath = `/v1/todo/{id}/accept`
8910
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8911
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8912
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8913
+ let baseOptions;
8914
+ if (configuration) {
8915
+ baseOptions = configuration.baseOptions;
8916
+ }
8917
+
8918
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
8919
+ const localVarHeaderParameter = {} as any;
8920
+ const localVarQueryParameter = {} as any;
8921
+
8922
+ // authentication bearer required
8923
+ // http bearer authentication required
8924
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
8925
+
8926
+
8927
+
8928
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8929
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8930
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8931
+
8932
+ return {
8933
+ url: toPathString(localVarUrlObj),
8934
+ options: localVarRequestOptions,
8935
+ };
8936
+ },
8937
+ /**
8938
+ *
8939
+ * @param {string} id
8940
+ * @param {AssignTaskPayload} assignTaskPayload
8941
+ * @param {*} [options] Override http request option.
8942
+ * @throws {RequiredError}
8943
+ */
8944
+ todoControllerAssignTask: async (id: string, assignTaskPayload: AssignTaskPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8945
+ // verify required parameter 'id' is not null or undefined
8946
+ assertParamExists('todoControllerAssignTask', 'id', id)
8947
+ // verify required parameter 'assignTaskPayload' is not null or undefined
8948
+ assertParamExists('todoControllerAssignTask', 'assignTaskPayload', assignTaskPayload)
8949
+ const localVarPath = `/v1/todo/task/{id}/assign`
8950
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8951
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8952
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8953
+ let baseOptions;
8954
+ if (configuration) {
8955
+ baseOptions = configuration.baseOptions;
8956
+ }
8957
+
8958
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
8959
+ const localVarHeaderParameter = {} as any;
8960
+ const localVarQueryParameter = {} as any;
8961
+
8962
+
8963
+
8964
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8965
+
8966
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8967
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8968
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8969
+ localVarRequestOptions.data = serializeDataIfNeeded(assignTaskPayload, localVarRequestOptions, configuration)
8970
+
8971
+ return {
8972
+ url: toPathString(localVarUrlObj),
8973
+ options: localVarRequestOptions,
8974
+ };
8975
+ },
8976
+ /**
8977
+ *
8978
+ * @param {CreateTaskPayload} createTaskPayload
8979
+ * @param {*} [options] Override http request option.
8980
+ * @throws {RequiredError}
8981
+ */
8982
+ todoControllerCreateTask: async (createTaskPayload: CreateTaskPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8983
+ // verify required parameter 'createTaskPayload' is not null or undefined
8984
+ assertParamExists('todoControllerCreateTask', 'createTaskPayload', createTaskPayload)
8985
+ const localVarPath = `/v1/todo/task`;
8986
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8987
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8988
+ let baseOptions;
8989
+ if (configuration) {
8990
+ baseOptions = configuration.baseOptions;
8991
+ }
8992
+
8993
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
8994
+ const localVarHeaderParameter = {} as any;
8995
+ const localVarQueryParameter = {} as any;
8996
+
8997
+ // authentication bearer required
8998
+ // http bearer authentication required
8999
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9000
+
9001
+
9002
+
9003
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9004
+
9005
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9006
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9007
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9008
+ localVarRequestOptions.data = serializeDataIfNeeded(createTaskPayload, localVarRequestOptions, configuration)
9009
+
9010
+ return {
9011
+ url: toPathString(localVarUrlObj),
9012
+ options: localVarRequestOptions,
9013
+ };
9014
+ },
9015
+ /**
9016
+ *
9017
+ * @param {CreateTodoPayload} createTodoPayload
9018
+ * @param {*} [options] Override http request option.
9019
+ * @throws {RequiredError}
9020
+ */
9021
+ todoControllerCreateTodo: async (createTodoPayload: CreateTodoPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9022
+ // verify required parameter 'createTodoPayload' is not null or undefined
9023
+ assertParamExists('todoControllerCreateTodo', 'createTodoPayload', createTodoPayload)
9024
+ const localVarPath = `/v1/todo`;
9025
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9026
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9027
+ let baseOptions;
9028
+ if (configuration) {
9029
+ baseOptions = configuration.baseOptions;
9030
+ }
9031
+
9032
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9033
+ const localVarHeaderParameter = {} as any;
9034
+ const localVarQueryParameter = {} as any;
9035
+
9036
+ // authentication bearer required
9037
+ // http bearer authentication required
9038
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9039
+
9040
+
9041
+
9042
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9043
+
9044
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9045
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9046
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9047
+ localVarRequestOptions.data = serializeDataIfNeeded(createTodoPayload, localVarRequestOptions, configuration)
9048
+
9049
+ return {
9050
+ url: toPathString(localVarUrlObj),
9051
+ options: localVarRequestOptions,
9052
+ };
9053
+ },
9054
+ /**
9055
+ *
9056
+ * @param {string} id
9057
+ * @param {*} [options] Override http request option.
9058
+ * @throws {RequiredError}
9059
+ */
9060
+ todoControllerDeleteTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9061
+ // verify required parameter 'id' is not null or undefined
9062
+ assertParamExists('todoControllerDeleteTask', 'id', id)
9063
+ const localVarPath = `/v1/todo/task/{id}`
9064
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9065
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9066
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9067
+ let baseOptions;
9068
+ if (configuration) {
9069
+ baseOptions = configuration.baseOptions;
9070
+ }
9071
+
9072
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
9073
+ const localVarHeaderParameter = {} as any;
9074
+ const localVarQueryParameter = {} as any;
9075
+
9076
+ // authentication bearer required
9077
+ // http bearer authentication required
9078
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9079
+
9080
+
9081
+
9082
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9083
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9084
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9085
+
9086
+ return {
9087
+ url: toPathString(localVarUrlObj),
9088
+ options: localVarRequestOptions,
9089
+ };
9090
+ },
9091
+ /**
9092
+ *
9093
+ * @param {string} id
9094
+ * @param {*} [options] Override http request option.
9095
+ * @throws {RequiredError}
9096
+ */
9097
+ todoControllerDeleteTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9098
+ // verify required parameter 'id' is not null or undefined
9099
+ assertParamExists('todoControllerDeleteTodo', 'id', id)
9100
+ const localVarPath = `/v1/todo/{id}`
9101
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9102
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9103
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9104
+ let baseOptions;
9105
+ if (configuration) {
9106
+ baseOptions = configuration.baseOptions;
9107
+ }
9108
+
9109
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
9110
+ const localVarHeaderParameter = {} as any;
9111
+ const localVarQueryParameter = {} as any;
9112
+
9113
+ // authentication bearer required
9114
+ // http bearer authentication required
9115
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9116
+
9117
+
9118
+
9119
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9120
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9121
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9122
+
9123
+ return {
9124
+ url: toPathString(localVarUrlObj),
9125
+ options: localVarRequestOptions,
9126
+ };
9127
+ },
9128
+ /**
9129
+ *
9130
+ * @param {string} id
9131
+ * @param {AddCollaboratorPayload} addCollaboratorPayload
9132
+ * @param {*} [options] Override http request option.
9133
+ * @throws {RequiredError}
9134
+ */
9135
+ todoControllerInviteCollaborator: async (id: string, addCollaboratorPayload: AddCollaboratorPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9136
+ // verify required parameter 'id' is not null or undefined
9137
+ assertParamExists('todoControllerInviteCollaborator', 'id', id)
9138
+ // verify required parameter 'addCollaboratorPayload' is not null or undefined
9139
+ assertParamExists('todoControllerInviteCollaborator', 'addCollaboratorPayload', addCollaboratorPayload)
9140
+ const localVarPath = `/v1/todo/{id}/collaborator`
9141
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9142
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9143
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9144
+ let baseOptions;
9145
+ if (configuration) {
9146
+ baseOptions = configuration.baseOptions;
9147
+ }
9148
+
9149
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9150
+ const localVarHeaderParameter = {} as any;
9151
+ const localVarQueryParameter = {} as any;
9152
+
9153
+ // authentication bearer required
9154
+ // http bearer authentication required
9155
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9156
+
9157
+
9158
+
9159
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9160
+
9161
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9162
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9163
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9164
+ localVarRequestOptions.data = serializeDataIfNeeded(addCollaboratorPayload, localVarRequestOptions, configuration)
9165
+
9166
+ return {
9167
+ url: toPathString(localVarUrlObj),
9168
+ options: localVarRequestOptions,
9169
+ };
9170
+ },
9171
+ /**
9172
+ *
9173
+ * @param {ListTaskListPayload} listTaskListPayload
9174
+ * @param {*} [options] Override http request option.
9175
+ * @throws {RequiredError}
9176
+ */
9177
+ todoControllerListTasks: async (listTaskListPayload: ListTaskListPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9178
+ // verify required parameter 'listTaskListPayload' is not null or undefined
9179
+ assertParamExists('todoControllerListTasks', 'listTaskListPayload', listTaskListPayload)
9180
+ const localVarPath = `/v1/todo/task/list`;
9181
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9182
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9183
+ let baseOptions;
9184
+ if (configuration) {
9185
+ baseOptions = configuration.baseOptions;
9186
+ }
9187
+
9188
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9189
+ const localVarHeaderParameter = {} as any;
9190
+ const localVarQueryParameter = {} as any;
9191
+
9192
+ // authentication bearer required
9193
+ // http bearer authentication required
9194
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9195
+
9196
+
9197
+
9198
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9199
+
9200
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9201
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9202
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9203
+ localVarRequestOptions.data = serializeDataIfNeeded(listTaskListPayload, localVarRequestOptions, configuration)
9204
+
9205
+ return {
9206
+ url: toPathString(localVarUrlObj),
9207
+ options: localVarRequestOptions,
9208
+ };
9209
+ },
9210
+ /**
9211
+ *
9212
+ * @param {*} [options] Override http request option.
9213
+ * @throws {RequiredError}
9214
+ */
9215
+ todoControllerListTodo: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9216
+ const localVarPath = `/v1/todo`;
9217
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9218
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9219
+ let baseOptions;
9220
+ if (configuration) {
9221
+ baseOptions = configuration.baseOptions;
9222
+ }
9223
+
9224
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9225
+ const localVarHeaderParameter = {} as any;
9226
+ const localVarQueryParameter = {} as any;
9227
+
9228
+ // authentication bearer required
9229
+ // http bearer authentication required
9230
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9231
+
9232
+
9233
+
9234
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9235
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9236
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9237
+
9238
+ return {
9239
+ url: toPathString(localVarUrlObj),
9240
+ options: localVarRequestOptions,
9241
+ };
9242
+ },
9243
+ /**
9244
+ *
9245
+ * @param {string} id
9246
+ * @param {*} [options] Override http request option.
9247
+ * @throws {RequiredError}
9248
+ */
9249
+ todoControllerRejectTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9250
+ // verify required parameter 'id' is not null or undefined
9251
+ assertParamExists('todoControllerRejectTodo', 'id', id)
9252
+ const localVarPath = `/v1/todo/{id}/reject`
9253
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9254
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9255
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9256
+ let baseOptions;
9257
+ if (configuration) {
9258
+ baseOptions = configuration.baseOptions;
9259
+ }
9260
+
9261
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9262
+ const localVarHeaderParameter = {} as any;
9263
+ const localVarQueryParameter = {} as any;
9264
+
9265
+
9266
+
9267
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9268
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9269
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9270
+
9271
+ return {
9272
+ url: toPathString(localVarUrlObj),
9273
+ options: localVarRequestOptions,
9274
+ };
9275
+ },
9276
+ /**
9277
+ *
9278
+ * @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
9279
+ * @param {*} [options] Override http request option.
9280
+ * @throws {RequiredError}
9281
+ */
9282
+ todoControllerReorderTask: async (taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9283
+ // verify required parameter 'taskListReorderPayloadDTO' is not null or undefined
9284
+ assertParamExists('todoControllerReorderTask', 'taskListReorderPayloadDTO', taskListReorderPayloadDTO)
9285
+ const localVarPath = `/v1/todo/task/reorder`;
9286
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9287
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9288
+ let baseOptions;
9289
+ if (configuration) {
9290
+ baseOptions = configuration.baseOptions;
9291
+ }
9292
+
9293
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9294
+ const localVarHeaderParameter = {} as any;
9295
+ const localVarQueryParameter = {} as any;
9296
+
9297
+ // authentication bearer required
9298
+ // http bearer authentication required
9299
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9300
+
9301
+
9302
+
9303
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9304
+
9305
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9306
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9307
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9308
+ localVarRequestOptions.data = serializeDataIfNeeded(taskListReorderPayloadDTO, localVarRequestOptions, configuration)
9309
+
9310
+ return {
9311
+ url: toPathString(localVarUrlObj),
9312
+ options: localVarRequestOptions,
9313
+ };
9314
+ },
9315
+ /**
9316
+ *
9317
+ * @param {string} id
9318
+ * @param {UpdateTaskPayload} updateTaskPayload
9319
+ * @param {*} [options] Override http request option.
9320
+ * @throws {RequiredError}
9321
+ */
9322
+ todoControllerUpdateTask: async (id: string, updateTaskPayload: UpdateTaskPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9323
+ // verify required parameter 'id' is not null or undefined
9324
+ assertParamExists('todoControllerUpdateTask', 'id', id)
9325
+ // verify required parameter 'updateTaskPayload' is not null or undefined
9326
+ assertParamExists('todoControllerUpdateTask', 'updateTaskPayload', updateTaskPayload)
9327
+ const localVarPath = `/v1/todo/task/{id}`
9328
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9329
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9330
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9331
+ let baseOptions;
9332
+ if (configuration) {
9333
+ baseOptions = configuration.baseOptions;
9334
+ }
9335
+
9336
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
9337
+ const localVarHeaderParameter = {} as any;
9338
+ const localVarQueryParameter = {} as any;
9339
+
9340
+ // authentication bearer required
9341
+ // http bearer authentication required
9342
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9343
+
9344
+
9345
+
9346
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9347
+
9348
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9349
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9350
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9351
+ localVarRequestOptions.data = serializeDataIfNeeded(updateTaskPayload, localVarRequestOptions, configuration)
9352
+
9353
+ return {
9354
+ url: toPathString(localVarUrlObj),
9355
+ options: localVarRequestOptions,
9356
+ };
9357
+ },
9358
+ /**
9359
+ *
9360
+ * @param {string} id
9361
+ * @param {UpdateTodoPayload} updateTodoPayload
9362
+ * @param {*} [options] Override http request option.
9363
+ * @throws {RequiredError}
9364
+ */
9365
+ todoControllerUpdateTodo: async (id: string, updateTodoPayload: UpdateTodoPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9366
+ // verify required parameter 'id' is not null or undefined
9367
+ assertParamExists('todoControllerUpdateTodo', 'id', id)
9368
+ // verify required parameter 'updateTodoPayload' is not null or undefined
9369
+ assertParamExists('todoControllerUpdateTodo', 'updateTodoPayload', updateTodoPayload)
9370
+ const localVarPath = `/v1/todo/{id}`
9371
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9372
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9373
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9374
+ let baseOptions;
9375
+ if (configuration) {
9376
+ baseOptions = configuration.baseOptions;
9377
+ }
9378
+
9379
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
9380
+ const localVarHeaderParameter = {} as any;
9381
+ const localVarQueryParameter = {} as any;
9382
+
9383
+ // authentication bearer required
9384
+ // http bearer authentication required
9385
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9386
+
9387
+
9388
+
9389
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9390
+
9391
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9392
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9393
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9394
+ localVarRequestOptions.data = serializeDataIfNeeded(updateTodoPayload, localVarRequestOptions, configuration)
9395
+
9396
+ return {
9397
+ url: toPathString(localVarUrlObj),
9398
+ options: localVarRequestOptions,
9399
+ };
9400
+ },
9401
+ }
9402
+ };
9403
+
9404
+ /**
9405
+ * TodoApi - functional programming interface
9406
+ * @export
9407
+ */
9408
+ export const TodoApiFp = function(configuration?: Configuration) {
9409
+ const localVarAxiosParamCreator = TodoApiAxiosParamCreator(configuration)
9410
+ return {
9411
+ /**
9412
+ *
9413
+ * @param {string} id
9414
+ * @param {*} [options] Override http request option.
9415
+ * @throws {RequiredError}
9416
+ */
9417
+ async todoControllerAcceptTodo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
9418
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerAcceptTodo(id, options);
9419
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9420
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerAcceptTodo']?.[localVarOperationServerIndex]?.url;
9421
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9422
+ },
9423
+ /**
9424
+ *
9425
+ * @param {string} id
9426
+ * @param {AssignTaskPayload} assignTaskPayload
9427
+ * @param {*} [options] Override http request option.
9428
+ * @throws {RequiredError}
9429
+ */
9430
+ async todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9431
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerAssignTask(id, assignTaskPayload, options);
9432
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9433
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerAssignTask']?.[localVarOperationServerIndex]?.url;
9434
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9435
+ },
9436
+ /**
9437
+ *
9438
+ * @param {CreateTaskPayload} createTaskPayload
9439
+ * @param {*} [options] Override http request option.
9440
+ * @throws {RequiredError}
9441
+ */
9442
+ async todoControllerCreateTask(createTaskPayload: CreateTaskPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskDetailResponseDTO>> {
9443
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerCreateTask(createTaskPayload, options);
9444
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9445
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerCreateTask']?.[localVarOperationServerIndex]?.url;
9446
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9447
+ },
9448
+ /**
9449
+ *
9450
+ * @param {CreateTodoPayload} createTodoPayload
9451
+ * @param {*} [options] Override http request option.
9452
+ * @throws {RequiredError}
9453
+ */
9454
+ async todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
9455
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerCreateTodo(createTodoPayload, options);
9456
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9457
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerCreateTodo']?.[localVarOperationServerIndex]?.url;
9458
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9459
+ },
9460
+ /**
9461
+ *
9462
+ * @param {string} id
9463
+ * @param {*} [options] Override http request option.
9464
+ * @throws {RequiredError}
9465
+ */
9466
+ async todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9467
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerDeleteTask(id, options);
9468
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9469
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerDeleteTask']?.[localVarOperationServerIndex]?.url;
9470
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9471
+ },
9472
+ /**
9473
+ *
9474
+ * @param {string} id
9475
+ * @param {*} [options] Override http request option.
9476
+ * @throws {RequiredError}
9477
+ */
9478
+ async todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9479
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerDeleteTodo(id, options);
9480
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9481
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerDeleteTodo']?.[localVarOperationServerIndex]?.url;
9482
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9483
+ },
9484
+ /**
9485
+ *
9486
+ * @param {string} id
9487
+ * @param {AddCollaboratorPayload} addCollaboratorPayload
9488
+ * @param {*} [options] Override http request option.
9489
+ * @throws {RequiredError}
9490
+ */
9491
+ async todoControllerInviteCollaborator(id: string, addCollaboratorPayload: AddCollaboratorPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
9492
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerInviteCollaborator(id, addCollaboratorPayload, options);
9493
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9494
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerInviteCollaborator']?.[localVarOperationServerIndex]?.url;
9495
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9496
+ },
9497
+ /**
9498
+ *
9499
+ * @param {ListTaskListPayload} listTaskListPayload
9500
+ * @param {*} [options] Override http request option.
9501
+ * @throws {RequiredError}
9502
+ */
9503
+ async todoControllerListTasks(listTaskListPayload: ListTaskListPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskListResponseDTO>> {
9504
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerListTasks(listTaskListPayload, options);
9505
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9506
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerListTasks']?.[localVarOperationServerIndex]?.url;
9507
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9508
+ },
9509
+ /**
9510
+ *
9511
+ * @param {*} [options] Override http request option.
9512
+ * @throws {RequiredError}
9513
+ */
9514
+ async todoControllerListTodo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoListResponseDTO>> {
9515
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerListTodo(options);
9516
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9517
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerListTodo']?.[localVarOperationServerIndex]?.url;
9518
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9519
+ },
9520
+ /**
9521
+ *
9522
+ * @param {string} id
9523
+ * @param {*} [options] Override http request option.
9524
+ * @throws {RequiredError}
9525
+ */
9526
+ async todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9527
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerRejectTodo(id, options);
9528
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9529
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerRejectTodo']?.[localVarOperationServerIndex]?.url;
9530
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9531
+ },
9532
+ /**
9533
+ *
9534
+ * @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
9535
+ * @param {*} [options] Override http request option.
9536
+ * @throws {RequiredError}
9537
+ */
9538
+ async todoControllerReorderTask(taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
9539
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerReorderTask(taskListReorderPayloadDTO, options);
9540
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9541
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerReorderTask']?.[localVarOperationServerIndex]?.url;
9542
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9543
+ },
9544
+ /**
9545
+ *
9546
+ * @param {string} id
9547
+ * @param {UpdateTaskPayload} updateTaskPayload
9548
+ * @param {*} [options] Override http request option.
9549
+ * @throws {RequiredError}
9550
+ */
9551
+ async todoControllerUpdateTask(id: string, updateTaskPayload: UpdateTaskPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskDetailResponseDTO>> {
9552
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerUpdateTask(id, updateTaskPayload, options);
9553
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9554
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerUpdateTask']?.[localVarOperationServerIndex]?.url;
9555
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9556
+ },
9557
+ /**
9558
+ *
9559
+ * @param {string} id
9560
+ * @param {UpdateTodoPayload} updateTodoPayload
9561
+ * @param {*} [options] Override http request option.
9562
+ * @throws {RequiredError}
9563
+ */
9564
+ async todoControllerUpdateTodo(id: string, updateTodoPayload: UpdateTodoPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TodoDetailResponseDTO>> {
9565
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerUpdateTodo(id, updateTodoPayload, options);
9566
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9567
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerUpdateTodo']?.[localVarOperationServerIndex]?.url;
9568
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9569
+ },
9570
+ }
9571
+ };
9572
+
9573
+ /**
9574
+ * TodoApi - factory interface
9575
+ * @export
9576
+ */
9577
+ export const TodoApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
9578
+ const localVarFp = TodoApiFp(configuration)
9579
+ return {
9580
+ /**
9581
+ *
9582
+ * @param {string} id
9583
+ * @param {*} [options] Override http request option.
9584
+ * @throws {RequiredError}
9585
+ */
9586
+ todoControllerAcceptTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
9587
+ return localVarFp.todoControllerAcceptTodo(id, options).then((request) => request(axios, basePath));
9588
+ },
9589
+ /**
9590
+ *
9591
+ * @param {string} id
9592
+ * @param {AssignTaskPayload} assignTaskPayload
9593
+ * @param {*} [options] Override http request option.
9594
+ * @throws {RequiredError}
9595
+ */
9596
+ todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig): AxiosPromise<void> {
9597
+ return localVarFp.todoControllerAssignTask(id, assignTaskPayload, options).then((request) => request(axios, basePath));
9598
+ },
9599
+ /**
9600
+ *
9601
+ * @param {CreateTaskPayload} createTaskPayload
9602
+ * @param {*} [options] Override http request option.
9603
+ * @throws {RequiredError}
9604
+ */
9605
+ todoControllerCreateTask(createTaskPayload: CreateTaskPayload, options?: RawAxiosRequestConfig): AxiosPromise<TaskDetailResponseDTO> {
9606
+ return localVarFp.todoControllerCreateTask(createTaskPayload, options).then((request) => request(axios, basePath));
9607
+ },
9608
+ /**
9609
+ *
9610
+ * @param {CreateTodoPayload} createTodoPayload
9611
+ * @param {*} [options] Override http request option.
9612
+ * @throws {RequiredError}
9613
+ */
9614
+ todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
9615
+ return localVarFp.todoControllerCreateTodo(createTodoPayload, options).then((request) => request(axios, basePath));
9616
+ },
9617
+ /**
9618
+ *
9619
+ * @param {string} id
9620
+ * @param {*} [options] Override http request option.
9621
+ * @throws {RequiredError}
9622
+ */
9623
+ todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
9624
+ return localVarFp.todoControllerDeleteTask(id, options).then((request) => request(axios, basePath));
9625
+ },
9626
+ /**
9627
+ *
9628
+ * @param {string} id
9629
+ * @param {*} [options] Override http request option.
9630
+ * @throws {RequiredError}
9631
+ */
9632
+ todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
9633
+ return localVarFp.todoControllerDeleteTodo(id, options).then((request) => request(axios, basePath));
9634
+ },
9635
+ /**
9636
+ *
9637
+ * @param {string} id
9638
+ * @param {AddCollaboratorPayload} addCollaboratorPayload
9639
+ * @param {*} [options] Override http request option.
9640
+ * @throws {RequiredError}
9641
+ */
9642
+ todoControllerInviteCollaborator(id: string, addCollaboratorPayload: AddCollaboratorPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
9643
+ return localVarFp.todoControllerInviteCollaborator(id, addCollaboratorPayload, options).then((request) => request(axios, basePath));
9644
+ },
9645
+ /**
9646
+ *
9647
+ * @param {ListTaskListPayload} listTaskListPayload
9648
+ * @param {*} [options] Override http request option.
9649
+ * @throws {RequiredError}
9650
+ */
9651
+ todoControllerListTasks(listTaskListPayload: ListTaskListPayload, options?: RawAxiosRequestConfig): AxiosPromise<TaskListResponseDTO> {
9652
+ return localVarFp.todoControllerListTasks(listTaskListPayload, options).then((request) => request(axios, basePath));
9653
+ },
9654
+ /**
9655
+ *
9656
+ * @param {*} [options] Override http request option.
9657
+ * @throws {RequiredError}
9658
+ */
9659
+ todoControllerListTodo(options?: RawAxiosRequestConfig): AxiosPromise<TodoListResponseDTO> {
9660
+ return localVarFp.todoControllerListTodo(options).then((request) => request(axios, basePath));
9661
+ },
9662
+ /**
9663
+ *
9664
+ * @param {string} id
9665
+ * @param {*} [options] Override http request option.
9666
+ * @throws {RequiredError}
9667
+ */
9668
+ todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
9669
+ return localVarFp.todoControllerRejectTodo(id, options).then((request) => request(axios, basePath));
9670
+ },
9671
+ /**
9672
+ *
9673
+ * @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
9674
+ * @param {*} [options] Override http request option.
9675
+ * @throws {RequiredError}
9676
+ */
9677
+ todoControllerReorderTask(taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
9678
+ return localVarFp.todoControllerReorderTask(taskListReorderPayloadDTO, options).then((request) => request(axios, basePath));
9679
+ },
9680
+ /**
9681
+ *
9682
+ * @param {string} id
9683
+ * @param {UpdateTaskPayload} updateTaskPayload
9684
+ * @param {*} [options] Override http request option.
9685
+ * @throws {RequiredError}
9686
+ */
9687
+ todoControllerUpdateTask(id: string, updateTaskPayload: UpdateTaskPayload, options?: RawAxiosRequestConfig): AxiosPromise<TaskDetailResponseDTO> {
9688
+ return localVarFp.todoControllerUpdateTask(id, updateTaskPayload, options).then((request) => request(axios, basePath));
9689
+ },
9690
+ /**
9691
+ *
9692
+ * @param {string} id
9693
+ * @param {UpdateTodoPayload} updateTodoPayload
9694
+ * @param {*} [options] Override http request option.
9695
+ * @throws {RequiredError}
9696
+ */
9697
+ todoControllerUpdateTodo(id: string, updateTodoPayload: UpdateTodoPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
9698
+ return localVarFp.todoControllerUpdateTodo(id, updateTodoPayload, options).then((request) => request(axios, basePath));
9699
+ },
9700
+ };
9701
+ };
9702
+
9703
+ /**
9704
+ * TodoApi - object-oriented interface
9705
+ * @export
9706
+ * @class TodoApi
9707
+ * @extends {BaseAPI}
9708
+ */
9709
+ export class TodoApi extends BaseAPI {
9710
+ /**
9711
+ *
9712
+ * @param {string} id
9713
+ * @param {*} [options] Override http request option.
9714
+ * @throws {RequiredError}
9715
+ * @memberof TodoApi
9716
+ */
9717
+ public todoControllerAcceptTodo(id: string, options?: RawAxiosRequestConfig) {
9718
+ return TodoApiFp(this.configuration).todoControllerAcceptTodo(id, options).then((request) => request(this.axios, this.basePath));
9719
+ }
9720
+
9721
+ /**
9722
+ *
9723
+ * @param {string} id
9724
+ * @param {AssignTaskPayload} assignTaskPayload
9725
+ * @param {*} [options] Override http request option.
9726
+ * @throws {RequiredError}
9727
+ * @memberof TodoApi
9728
+ */
9729
+ public todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig) {
9730
+ return TodoApiFp(this.configuration).todoControllerAssignTask(id, assignTaskPayload, options).then((request) => request(this.axios, this.basePath));
9731
+ }
9732
+
9733
+ /**
9734
+ *
9735
+ * @param {CreateTaskPayload} createTaskPayload
9736
+ * @param {*} [options] Override http request option.
9737
+ * @throws {RequiredError}
9738
+ * @memberof TodoApi
9739
+ */
9740
+ public todoControllerCreateTask(createTaskPayload: CreateTaskPayload, options?: RawAxiosRequestConfig) {
9741
+ return TodoApiFp(this.configuration).todoControllerCreateTask(createTaskPayload, options).then((request) => request(this.axios, this.basePath));
9742
+ }
9743
+
9744
+ /**
9745
+ *
9746
+ * @param {CreateTodoPayload} createTodoPayload
9747
+ * @param {*} [options] Override http request option.
9748
+ * @throws {RequiredError}
9749
+ * @memberof TodoApi
9750
+ */
9751
+ public todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig) {
9752
+ return TodoApiFp(this.configuration).todoControllerCreateTodo(createTodoPayload, options).then((request) => request(this.axios, this.basePath));
9753
+ }
9754
+
9755
+ /**
9756
+ *
9757
+ * @param {string} id
9758
+ * @param {*} [options] Override http request option.
9759
+ * @throws {RequiredError}
9760
+ * @memberof TodoApi
9761
+ */
9762
+ public todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig) {
9763
+ return TodoApiFp(this.configuration).todoControllerDeleteTask(id, options).then((request) => request(this.axios, this.basePath));
9764
+ }
9765
+
9766
+ /**
9767
+ *
9768
+ * @param {string} id
9769
+ * @param {*} [options] Override http request option.
9770
+ * @throws {RequiredError}
9771
+ * @memberof TodoApi
9772
+ */
9773
+ public todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig) {
9774
+ return TodoApiFp(this.configuration).todoControllerDeleteTodo(id, options).then((request) => request(this.axios, this.basePath));
9775
+ }
9776
+
9777
+ /**
9778
+ *
9779
+ * @param {string} id
9780
+ * @param {AddCollaboratorPayload} addCollaboratorPayload
9781
+ * @param {*} [options] Override http request option.
9782
+ * @throws {RequiredError}
9783
+ * @memberof TodoApi
9784
+ */
9785
+ public todoControllerInviteCollaborator(id: string, addCollaboratorPayload: AddCollaboratorPayload, options?: RawAxiosRequestConfig) {
9786
+ return TodoApiFp(this.configuration).todoControllerInviteCollaborator(id, addCollaboratorPayload, options).then((request) => request(this.axios, this.basePath));
9787
+ }
9788
+
9789
+ /**
9790
+ *
9791
+ * @param {ListTaskListPayload} listTaskListPayload
9792
+ * @param {*} [options] Override http request option.
9793
+ * @throws {RequiredError}
9794
+ * @memberof TodoApi
9795
+ */
9796
+ public todoControllerListTasks(listTaskListPayload: ListTaskListPayload, options?: RawAxiosRequestConfig) {
9797
+ return TodoApiFp(this.configuration).todoControllerListTasks(listTaskListPayload, options).then((request) => request(this.axios, this.basePath));
9798
+ }
9799
+
9800
+ /**
9801
+ *
9802
+ * @param {*} [options] Override http request option.
9803
+ * @throws {RequiredError}
9804
+ * @memberof TodoApi
9805
+ */
9806
+ public todoControllerListTodo(options?: RawAxiosRequestConfig) {
9807
+ return TodoApiFp(this.configuration).todoControllerListTodo(options).then((request) => request(this.axios, this.basePath));
9808
+ }
9809
+
9810
+ /**
9811
+ *
9812
+ * @param {string} id
9813
+ * @param {*} [options] Override http request option.
9814
+ * @throws {RequiredError}
9815
+ * @memberof TodoApi
9816
+ */
9817
+ public todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig) {
9818
+ return TodoApiFp(this.configuration).todoControllerRejectTodo(id, options).then((request) => request(this.axios, this.basePath));
9819
+ }
9820
+
9821
+ /**
9822
+ *
9823
+ * @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
9824
+ * @param {*} [options] Override http request option.
9825
+ * @throws {RequiredError}
9826
+ * @memberof TodoApi
9827
+ */
9828
+ public todoControllerReorderTask(taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options?: RawAxiosRequestConfig) {
9829
+ return TodoApiFp(this.configuration).todoControllerReorderTask(taskListReorderPayloadDTO, options).then((request) => request(this.axios, this.basePath));
9830
+ }
9831
+
9832
+ /**
9833
+ *
9834
+ * @param {string} id
9835
+ * @param {UpdateTaskPayload} updateTaskPayload
9836
+ * @param {*} [options] Override http request option.
9837
+ * @throws {RequiredError}
9838
+ * @memberof TodoApi
9839
+ */
9840
+ public todoControllerUpdateTask(id: string, updateTaskPayload: UpdateTaskPayload, options?: RawAxiosRequestConfig) {
9841
+ return TodoApiFp(this.configuration).todoControllerUpdateTask(id, updateTaskPayload, options).then((request) => request(this.axios, this.basePath));
9842
+ }
9843
+
9844
+ /**
9845
+ *
9846
+ * @param {string} id
9847
+ * @param {UpdateTodoPayload} updateTodoPayload
9848
+ * @param {*} [options] Override http request option.
9849
+ * @throws {RequiredError}
9850
+ * @memberof TodoApi
9851
+ */
9852
+ public todoControllerUpdateTodo(id: string, updateTodoPayload: UpdateTodoPayload, options?: RawAxiosRequestConfig) {
9853
+ return TodoApiFp(this.configuration).todoControllerUpdateTodo(id, updateTodoPayload, options).then((request) => request(this.axios, this.basePath));
9854
+ }
9855
+ }
9856
+
9857
+
9858
+
8520
9859
  /**
8521
9860
  * UsersApi - axios parameter creator
8522
9861
  * @export