@gooday_corp/gooday-api-client 1.2.49 → 1.2.51
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 +574 -89
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -488,6 +488,12 @@ export interface BookingEntity {
|
|
|
488
488
|
* @memberof BookingEntity
|
|
489
489
|
*/
|
|
490
490
|
'collaborators': Array<object>;
|
|
491
|
+
/**
|
|
492
|
+
* List of customers in the booking
|
|
493
|
+
* @type {Array<CustomerEntity>}
|
|
494
|
+
* @memberof BookingEntity
|
|
495
|
+
*/
|
|
496
|
+
'customers': Array<CustomerEntity>;
|
|
491
497
|
/**
|
|
492
498
|
* Users associated with the booking
|
|
493
499
|
* @type {Array<string>}
|
|
@@ -2200,6 +2206,12 @@ export interface CreateBookingPayload {
|
|
|
2200
2206
|
* @memberof CreateBookingPayload
|
|
2201
2207
|
*/
|
|
2202
2208
|
'collaborators': Array<CreateBookingCollaboratorPayload>;
|
|
2209
|
+
/**
|
|
2210
|
+
* The list of customers associated with the booking
|
|
2211
|
+
* @type {Array<string>}
|
|
2212
|
+
* @memberof CreateBookingPayload
|
|
2213
|
+
*/
|
|
2214
|
+
'customers': Array<string>;
|
|
2203
2215
|
/**
|
|
2204
2216
|
* Booking method
|
|
2205
2217
|
* @type {string}
|
|
@@ -2454,6 +2466,12 @@ export interface CreateEventPayload {
|
|
|
2454
2466
|
* @memberof CreateEventPayload
|
|
2455
2467
|
*/
|
|
2456
2468
|
'location': LocationDTO;
|
|
2469
|
+
/**
|
|
2470
|
+
* Event images
|
|
2471
|
+
* @type {Array<string>}
|
|
2472
|
+
* @memberof CreateEventPayload
|
|
2473
|
+
*/
|
|
2474
|
+
'images': Array<string>;
|
|
2457
2475
|
}
|
|
2458
2476
|
/**
|
|
2459
2477
|
*
|
|
@@ -3181,6 +3199,25 @@ export interface FindFriendsFavoritesDTO {
|
|
|
3181
3199
|
*/
|
|
3182
3200
|
'limit'?: number;
|
|
3183
3201
|
}
|
|
3202
|
+
/**
|
|
3203
|
+
*
|
|
3204
|
+
* @export
|
|
3205
|
+
* @interface FindHistoryResponseDTO
|
|
3206
|
+
*/
|
|
3207
|
+
export interface FindHistoryResponseDTO {
|
|
3208
|
+
/**
|
|
3209
|
+
* statusCode
|
|
3210
|
+
* @type {number}
|
|
3211
|
+
* @memberof FindHistoryResponseDTO
|
|
3212
|
+
*/
|
|
3213
|
+
'statusCode': number;
|
|
3214
|
+
/**
|
|
3215
|
+
* Waitlist response
|
|
3216
|
+
* @type {Array<HistoryEntity>}
|
|
3217
|
+
* @memberof FindHistoryResponseDTO
|
|
3218
|
+
*/
|
|
3219
|
+
'data': Array<HistoryEntity>;
|
|
3220
|
+
}
|
|
3184
3221
|
/**
|
|
3185
3222
|
*
|
|
3186
3223
|
* @export
|
|
@@ -3532,6 +3569,103 @@ export interface HelpCenterPayloadDTO {
|
|
|
3532
3569
|
*/
|
|
3533
3570
|
'email': string;
|
|
3534
3571
|
}
|
|
3572
|
+
/**
|
|
3573
|
+
*
|
|
3574
|
+
* @export
|
|
3575
|
+
* @interface HistoryEntity
|
|
3576
|
+
*/
|
|
3577
|
+
export interface HistoryEntity {
|
|
3578
|
+
/**
|
|
3579
|
+
* Unique identifier for the history
|
|
3580
|
+
* @type {string}
|
|
3581
|
+
* @memberof HistoryEntity
|
|
3582
|
+
*/
|
|
3583
|
+
'_id': string;
|
|
3584
|
+
/**
|
|
3585
|
+
*
|
|
3586
|
+
* @type {string}
|
|
3587
|
+
* @memberof HistoryEntity
|
|
3588
|
+
*/
|
|
3589
|
+
'action': string;
|
|
3590
|
+
/**
|
|
3591
|
+
*
|
|
3592
|
+
* @type {BusinessStaffEntity}
|
|
3593
|
+
* @memberof HistoryEntity
|
|
3594
|
+
*/
|
|
3595
|
+
'staff': BusinessStaffEntity;
|
|
3596
|
+
/**
|
|
3597
|
+
*
|
|
3598
|
+
* @type {string}
|
|
3599
|
+
* @memberof HistoryEntity
|
|
3600
|
+
*/
|
|
3601
|
+
'time': string;
|
|
3602
|
+
/**
|
|
3603
|
+
*
|
|
3604
|
+
* @type {string}
|
|
3605
|
+
* @memberof HistoryEntity
|
|
3606
|
+
*/
|
|
3607
|
+
'modalName': HistoryEntityModalNameEnum;
|
|
3608
|
+
}
|
|
3609
|
+
|
|
3610
|
+
export const HistoryEntityModalNameEnum = {
|
|
3611
|
+
Booking: 'booking',
|
|
3612
|
+
Waitlist: 'waitlist'
|
|
3613
|
+
} as const;
|
|
3614
|
+
|
|
3615
|
+
export type HistoryEntityModalNameEnum = typeof HistoryEntityModalNameEnum[keyof typeof HistoryEntityModalNameEnum];
|
|
3616
|
+
|
|
3617
|
+
/**
|
|
3618
|
+
*
|
|
3619
|
+
* @export
|
|
3620
|
+
* @interface HistoryPayloadDTO
|
|
3621
|
+
*/
|
|
3622
|
+
export interface HistoryPayloadDTO {
|
|
3623
|
+
/**
|
|
3624
|
+
*
|
|
3625
|
+
* @type {string}
|
|
3626
|
+
* @memberof HistoryPayloadDTO
|
|
3627
|
+
*/
|
|
3628
|
+
'action': string;
|
|
3629
|
+
/**
|
|
3630
|
+
* The list of collaborators associated with the waitlist
|
|
3631
|
+
* @type {string}
|
|
3632
|
+
* @memberof HistoryPayloadDTO
|
|
3633
|
+
*/
|
|
3634
|
+
'staff': string;
|
|
3635
|
+
/**
|
|
3636
|
+
*
|
|
3637
|
+
* @type {string}
|
|
3638
|
+
* @memberof HistoryPayloadDTO
|
|
3639
|
+
*/
|
|
3640
|
+
'modalName': HistoryPayloadDTOModalNameEnum;
|
|
3641
|
+
}
|
|
3642
|
+
|
|
3643
|
+
export const HistoryPayloadDTOModalNameEnum = {
|
|
3644
|
+
Booking: 'booking',
|
|
3645
|
+
Waitlist: 'waitlist'
|
|
3646
|
+
} as const;
|
|
3647
|
+
|
|
3648
|
+
export type HistoryPayloadDTOModalNameEnum = typeof HistoryPayloadDTOModalNameEnum[keyof typeof HistoryPayloadDTOModalNameEnum];
|
|
3649
|
+
|
|
3650
|
+
/**
|
|
3651
|
+
*
|
|
3652
|
+
* @export
|
|
3653
|
+
* @interface HistoryResponseDTO
|
|
3654
|
+
*/
|
|
3655
|
+
export interface HistoryResponseDTO {
|
|
3656
|
+
/**
|
|
3657
|
+
* statusCode
|
|
3658
|
+
* @type {number}
|
|
3659
|
+
* @memberof HistoryResponseDTO
|
|
3660
|
+
*/
|
|
3661
|
+
'statusCode': number;
|
|
3662
|
+
/**
|
|
3663
|
+
* Waitlist response
|
|
3664
|
+
* @type {HistoryEntity}
|
|
3665
|
+
* @memberof HistoryResponseDTO
|
|
3666
|
+
*/
|
|
3667
|
+
'data': HistoryEntity;
|
|
3668
|
+
}
|
|
3535
3669
|
/**
|
|
3536
3670
|
*
|
|
3537
3671
|
* @export
|
|
@@ -5788,6 +5922,12 @@ export interface UserEntity {
|
|
|
5788
5922
|
* @memberof UserEntity
|
|
5789
5923
|
*/
|
|
5790
5924
|
'pendingAction'?: Array<string>;
|
|
5925
|
+
/**
|
|
5926
|
+
*
|
|
5927
|
+
* @type {boolean}
|
|
5928
|
+
* @memberof UserEntity
|
|
5929
|
+
*/
|
|
5930
|
+
'hangout': boolean;
|
|
5791
5931
|
}
|
|
5792
5932
|
|
|
5793
5933
|
export const UserEntityRoleEnum = {
|
|
@@ -5797,6 +5937,19 @@ export const UserEntityRoleEnum = {
|
|
|
5797
5937
|
|
|
5798
5938
|
export type UserEntityRoleEnum = typeof UserEntityRoleEnum[keyof typeof UserEntityRoleEnum];
|
|
5799
5939
|
|
|
5940
|
+
/**
|
|
5941
|
+
*
|
|
5942
|
+
* @export
|
|
5943
|
+
* @interface UserHangout
|
|
5944
|
+
*/
|
|
5945
|
+
export interface UserHangout {
|
|
5946
|
+
/**
|
|
5947
|
+
*
|
|
5948
|
+
* @type {boolean}
|
|
5949
|
+
* @memberof UserHangout
|
|
5950
|
+
*/
|
|
5951
|
+
'hangout'?: boolean;
|
|
5952
|
+
}
|
|
5800
5953
|
/**
|
|
5801
5954
|
*
|
|
5802
5955
|
* @export
|
|
@@ -7680,14 +7833,18 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
7680
7833
|
},
|
|
7681
7834
|
/**
|
|
7682
7835
|
*
|
|
7836
|
+
* @param {string} id
|
|
7683
7837
|
* @param {CreateBookingPayload} createBookingPayload
|
|
7684
7838
|
* @param {*} [options] Override http request option.
|
|
7685
7839
|
* @throws {RequiredError}
|
|
7686
7840
|
*/
|
|
7687
|
-
|
|
7841
|
+
bookingControllerUpdateBooking: async (id: string, createBookingPayload: CreateBookingPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7842
|
+
// verify required parameter 'id' is not null or undefined
|
|
7843
|
+
assertParamExists('bookingControllerUpdateBooking', 'id', id)
|
|
7688
7844
|
// verify required parameter 'createBookingPayload' is not null or undefined
|
|
7689
|
-
assertParamExists('
|
|
7690
|
-
const localVarPath = `/
|
|
7845
|
+
assertParamExists('bookingControllerUpdateBooking', 'createBookingPayload', createBookingPayload)
|
|
7846
|
+
const localVarPath = `/v1/booking/{id}`
|
|
7847
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7691
7848
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7692
7849
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7693
7850
|
let baseOptions;
|
|
@@ -7695,7 +7852,7 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
7695
7852
|
baseOptions = configuration.baseOptions;
|
|
7696
7853
|
}
|
|
7697
7854
|
|
|
7698
|
-
const localVarRequestOptions = { method: '
|
|
7855
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
7699
7856
|
const localVarHeaderParameter = {} as any;
|
|
7700
7857
|
const localVarQueryParameter = {} as any;
|
|
7701
7858
|
|
|
@@ -7813,14 +7970,15 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
7813
7970
|
},
|
|
7814
7971
|
/**
|
|
7815
7972
|
*
|
|
7973
|
+
* @param {string} id
|
|
7816
7974
|
* @param {CreateBookingPayload} createBookingPayload
|
|
7817
7975
|
* @param {*} [options] Override http request option.
|
|
7818
7976
|
* @throws {RequiredError}
|
|
7819
7977
|
*/
|
|
7820
|
-
async
|
|
7821
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
7978
|
+
async bookingControllerUpdateBooking(id: string, createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponseDTO>> {
|
|
7979
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerUpdateBooking(id, createBookingPayload, options);
|
|
7822
7980
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7823
|
-
const localVarOperationServerBasePath = operationServerMap['BookingApi.
|
|
7981
|
+
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerUpdateBooking']?.[localVarOperationServerIndex]?.url;
|
|
7824
7982
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7825
7983
|
},
|
|
7826
7984
|
}
|
|
@@ -7898,12 +8056,13 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
7898
8056
|
},
|
|
7899
8057
|
/**
|
|
7900
8058
|
*
|
|
8059
|
+
* @param {string} id
|
|
7901
8060
|
* @param {CreateBookingPayload} createBookingPayload
|
|
7902
8061
|
* @param {*} [options] Override http request option.
|
|
7903
8062
|
* @throws {RequiredError}
|
|
7904
8063
|
*/
|
|
7905
|
-
|
|
7906
|
-
return localVarFp.
|
|
8064
|
+
bookingControllerUpdateBooking(id: string, createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
|
|
8065
|
+
return localVarFp.bookingControllerUpdateBooking(id, createBookingPayload, options).then((request) => request(axios, basePath));
|
|
7907
8066
|
},
|
|
7908
8067
|
};
|
|
7909
8068
|
};
|
|
@@ -7994,13 +8153,14 @@ export class BookingApi extends BaseAPI {
|
|
|
7994
8153
|
|
|
7995
8154
|
/**
|
|
7996
8155
|
*
|
|
8156
|
+
* @param {string} id
|
|
7997
8157
|
* @param {CreateBookingPayload} createBookingPayload
|
|
7998
8158
|
* @param {*} [options] Override http request option.
|
|
7999
8159
|
* @throws {RequiredError}
|
|
8000
8160
|
* @memberof BookingApi
|
|
8001
8161
|
*/
|
|
8002
|
-
public
|
|
8003
|
-
return BookingApiFp(this.configuration).
|
|
8162
|
+
public bookingControllerUpdateBooking(id: string, createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig) {
|
|
8163
|
+
return BookingApiFp(this.configuration).bookingControllerUpdateBooking(id, createBookingPayload, options).then((request) => request(this.axios, this.basePath));
|
|
8004
8164
|
}
|
|
8005
8165
|
}
|
|
8006
8166
|
|
|
@@ -11548,6 +11708,39 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
11548
11708
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11549
11709
|
localVarRequestOptions.data = serializeDataIfNeeded(sendFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
11550
11710
|
|
|
11711
|
+
return {
|
|
11712
|
+
url: toPathString(localVarUrlObj),
|
|
11713
|
+
options: localVarRequestOptions,
|
|
11714
|
+
};
|
|
11715
|
+
},
|
|
11716
|
+
/**
|
|
11717
|
+
*
|
|
11718
|
+
* @param {*} [options] Override http request option.
|
|
11719
|
+
* @throws {RequiredError}
|
|
11720
|
+
*/
|
|
11721
|
+
friendControllerTodayAvailableFriends: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11722
|
+
const localVarPath = `/v1/friend/today/available/friends`;
|
|
11723
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11724
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11725
|
+
let baseOptions;
|
|
11726
|
+
if (configuration) {
|
|
11727
|
+
baseOptions = configuration.baseOptions;
|
|
11728
|
+
}
|
|
11729
|
+
|
|
11730
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11731
|
+
const localVarHeaderParameter = {} as any;
|
|
11732
|
+
const localVarQueryParameter = {} as any;
|
|
11733
|
+
|
|
11734
|
+
// authentication bearer required
|
|
11735
|
+
// http bearer authentication required
|
|
11736
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11737
|
+
|
|
11738
|
+
|
|
11739
|
+
|
|
11740
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11741
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11742
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11743
|
+
|
|
11551
11744
|
return {
|
|
11552
11745
|
url: toPathString(localVarUrlObj),
|
|
11553
11746
|
options: localVarRequestOptions,
|
|
@@ -11652,6 +11845,17 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
11652
11845
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerSendFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
11653
11846
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11654
11847
|
},
|
|
11848
|
+
/**
|
|
11849
|
+
*
|
|
11850
|
+
* @param {*} [options] Override http request option.
|
|
11851
|
+
* @throws {RequiredError}
|
|
11852
|
+
*/
|
|
11853
|
+
async friendControllerTodayAvailableFriends(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
11854
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerTodayAvailableFriends(options);
|
|
11855
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11856
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerTodayAvailableFriends']?.[localVarOperationServerIndex]?.url;
|
|
11857
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11858
|
+
},
|
|
11655
11859
|
}
|
|
11656
11860
|
};
|
|
11657
11861
|
|
|
@@ -11730,6 +11934,14 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
11730
11934
|
friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
11731
11935
|
return localVarFp.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
11732
11936
|
},
|
|
11937
|
+
/**
|
|
11938
|
+
*
|
|
11939
|
+
* @param {*} [options] Override http request option.
|
|
11940
|
+
* @throws {RequiredError}
|
|
11941
|
+
*/
|
|
11942
|
+
friendControllerTodayAvailableFriends(options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
11943
|
+
return localVarFp.friendControllerTodayAvailableFriends(options).then((request) => request(axios, basePath));
|
|
11944
|
+
},
|
|
11733
11945
|
};
|
|
11734
11946
|
};
|
|
11735
11947
|
|
|
@@ -11821,6 +12033,16 @@ export class FriendsApi extends BaseAPI {
|
|
|
11821
12033
|
public friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
11822
12034
|
return FriendsApiFp(this.configuration).friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
11823
12035
|
}
|
|
12036
|
+
|
|
12037
|
+
/**
|
|
12038
|
+
*
|
|
12039
|
+
* @param {*} [options] Override http request option.
|
|
12040
|
+
* @throws {RequiredError}
|
|
12041
|
+
* @memberof FriendsApi
|
|
12042
|
+
*/
|
|
12043
|
+
public friendControllerTodayAvailableFriends(options?: RawAxiosRequestConfig) {
|
|
12044
|
+
return FriendsApiFp(this.configuration).friendControllerTodayAvailableFriends(options).then((request) => request(this.axios, this.basePath));
|
|
12045
|
+
}
|
|
11824
12046
|
}
|
|
11825
12047
|
|
|
11826
12048
|
|
|
@@ -12028,6 +12250,198 @@ export class GoalsApi extends BaseAPI {
|
|
|
12028
12250
|
|
|
12029
12251
|
|
|
12030
12252
|
|
|
12253
|
+
/**
|
|
12254
|
+
* HistoryApi - axios parameter creator
|
|
12255
|
+
* @export
|
|
12256
|
+
*/
|
|
12257
|
+
export const HistoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12258
|
+
return {
|
|
12259
|
+
/**
|
|
12260
|
+
*
|
|
12261
|
+
* @param {HistoryPayloadDTO} historyPayloadDTO
|
|
12262
|
+
* @param {*} [options] Override http request option.
|
|
12263
|
+
* @throws {RequiredError}
|
|
12264
|
+
*/
|
|
12265
|
+
historyControllerAddHistory: async (historyPayloadDTO: HistoryPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12266
|
+
// verify required parameter 'historyPayloadDTO' is not null or undefined
|
|
12267
|
+
assertParamExists('historyControllerAddHistory', 'historyPayloadDTO', historyPayloadDTO)
|
|
12268
|
+
const localVarPath = `/v1/history`;
|
|
12269
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12270
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12271
|
+
let baseOptions;
|
|
12272
|
+
if (configuration) {
|
|
12273
|
+
baseOptions = configuration.baseOptions;
|
|
12274
|
+
}
|
|
12275
|
+
|
|
12276
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12277
|
+
const localVarHeaderParameter = {} as any;
|
|
12278
|
+
const localVarQueryParameter = {} as any;
|
|
12279
|
+
|
|
12280
|
+
// authentication bearer required
|
|
12281
|
+
// http bearer authentication required
|
|
12282
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12283
|
+
|
|
12284
|
+
|
|
12285
|
+
|
|
12286
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12287
|
+
|
|
12288
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12289
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12290
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12291
|
+
localVarRequestOptions.data = serializeDataIfNeeded(historyPayloadDTO, localVarRequestOptions, configuration)
|
|
12292
|
+
|
|
12293
|
+
return {
|
|
12294
|
+
url: toPathString(localVarUrlObj),
|
|
12295
|
+
options: localVarRequestOptions,
|
|
12296
|
+
};
|
|
12297
|
+
},
|
|
12298
|
+
/**
|
|
12299
|
+
*
|
|
12300
|
+
* @param {number} page
|
|
12301
|
+
* @param {number} pageSize
|
|
12302
|
+
* @param {*} [options] Override http request option.
|
|
12303
|
+
* @throws {RequiredError}
|
|
12304
|
+
*/
|
|
12305
|
+
historyControllerFindHistory: async (page: number, pageSize: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12306
|
+
// verify required parameter 'page' is not null or undefined
|
|
12307
|
+
assertParamExists('historyControllerFindHistory', 'page', page)
|
|
12308
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
12309
|
+
assertParamExists('historyControllerFindHistory', 'pageSize', pageSize)
|
|
12310
|
+
const localVarPath = `/v1/history`;
|
|
12311
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12312
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12313
|
+
let baseOptions;
|
|
12314
|
+
if (configuration) {
|
|
12315
|
+
baseOptions = configuration.baseOptions;
|
|
12316
|
+
}
|
|
12317
|
+
|
|
12318
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12319
|
+
const localVarHeaderParameter = {} as any;
|
|
12320
|
+
const localVarQueryParameter = {} as any;
|
|
12321
|
+
|
|
12322
|
+
// authentication bearer required
|
|
12323
|
+
// http bearer authentication required
|
|
12324
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12325
|
+
|
|
12326
|
+
if (page !== undefined) {
|
|
12327
|
+
localVarQueryParameter['page'] = page;
|
|
12328
|
+
}
|
|
12329
|
+
|
|
12330
|
+
if (pageSize !== undefined) {
|
|
12331
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
12332
|
+
}
|
|
12333
|
+
|
|
12334
|
+
|
|
12335
|
+
|
|
12336
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12337
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12338
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12339
|
+
|
|
12340
|
+
return {
|
|
12341
|
+
url: toPathString(localVarUrlObj),
|
|
12342
|
+
options: localVarRequestOptions,
|
|
12343
|
+
};
|
|
12344
|
+
},
|
|
12345
|
+
}
|
|
12346
|
+
};
|
|
12347
|
+
|
|
12348
|
+
/**
|
|
12349
|
+
* HistoryApi - functional programming interface
|
|
12350
|
+
* @export
|
|
12351
|
+
*/
|
|
12352
|
+
export const HistoryApiFp = function(configuration?: Configuration) {
|
|
12353
|
+
const localVarAxiosParamCreator = HistoryApiAxiosParamCreator(configuration)
|
|
12354
|
+
return {
|
|
12355
|
+
/**
|
|
12356
|
+
*
|
|
12357
|
+
* @param {HistoryPayloadDTO} historyPayloadDTO
|
|
12358
|
+
* @param {*} [options] Override http request option.
|
|
12359
|
+
* @throws {RequiredError}
|
|
12360
|
+
*/
|
|
12361
|
+
async historyControllerAddHistory(historyPayloadDTO: HistoryPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HistoryResponseDTO>> {
|
|
12362
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.historyControllerAddHistory(historyPayloadDTO, options);
|
|
12363
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12364
|
+
const localVarOperationServerBasePath = operationServerMap['HistoryApi.historyControllerAddHistory']?.[localVarOperationServerIndex]?.url;
|
|
12365
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12366
|
+
},
|
|
12367
|
+
/**
|
|
12368
|
+
*
|
|
12369
|
+
* @param {number} page
|
|
12370
|
+
* @param {number} pageSize
|
|
12371
|
+
* @param {*} [options] Override http request option.
|
|
12372
|
+
* @throws {RequiredError}
|
|
12373
|
+
*/
|
|
12374
|
+
async historyControllerFindHistory(page: number, pageSize: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindHistoryResponseDTO>> {
|
|
12375
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.historyControllerFindHistory(page, pageSize, options);
|
|
12376
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12377
|
+
const localVarOperationServerBasePath = operationServerMap['HistoryApi.historyControllerFindHistory']?.[localVarOperationServerIndex]?.url;
|
|
12378
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12379
|
+
},
|
|
12380
|
+
}
|
|
12381
|
+
};
|
|
12382
|
+
|
|
12383
|
+
/**
|
|
12384
|
+
* HistoryApi - factory interface
|
|
12385
|
+
* @export
|
|
12386
|
+
*/
|
|
12387
|
+
export const HistoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
12388
|
+
const localVarFp = HistoryApiFp(configuration)
|
|
12389
|
+
return {
|
|
12390
|
+
/**
|
|
12391
|
+
*
|
|
12392
|
+
* @param {HistoryPayloadDTO} historyPayloadDTO
|
|
12393
|
+
* @param {*} [options] Override http request option.
|
|
12394
|
+
* @throws {RequiredError}
|
|
12395
|
+
*/
|
|
12396
|
+
historyControllerAddHistory(historyPayloadDTO: HistoryPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<HistoryResponseDTO> {
|
|
12397
|
+
return localVarFp.historyControllerAddHistory(historyPayloadDTO, options).then((request) => request(axios, basePath));
|
|
12398
|
+
},
|
|
12399
|
+
/**
|
|
12400
|
+
*
|
|
12401
|
+
* @param {number} page
|
|
12402
|
+
* @param {number} pageSize
|
|
12403
|
+
* @param {*} [options] Override http request option.
|
|
12404
|
+
* @throws {RequiredError}
|
|
12405
|
+
*/
|
|
12406
|
+
historyControllerFindHistory(page: number, pageSize: number, options?: RawAxiosRequestConfig): AxiosPromise<FindHistoryResponseDTO> {
|
|
12407
|
+
return localVarFp.historyControllerFindHistory(page, pageSize, options).then((request) => request(axios, basePath));
|
|
12408
|
+
},
|
|
12409
|
+
};
|
|
12410
|
+
};
|
|
12411
|
+
|
|
12412
|
+
/**
|
|
12413
|
+
* HistoryApi - object-oriented interface
|
|
12414
|
+
* @export
|
|
12415
|
+
* @class HistoryApi
|
|
12416
|
+
* @extends {BaseAPI}
|
|
12417
|
+
*/
|
|
12418
|
+
export class HistoryApi extends BaseAPI {
|
|
12419
|
+
/**
|
|
12420
|
+
*
|
|
12421
|
+
* @param {HistoryPayloadDTO} historyPayloadDTO
|
|
12422
|
+
* @param {*} [options] Override http request option.
|
|
12423
|
+
* @throws {RequiredError}
|
|
12424
|
+
* @memberof HistoryApi
|
|
12425
|
+
*/
|
|
12426
|
+
public historyControllerAddHistory(historyPayloadDTO: HistoryPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
12427
|
+
return HistoryApiFp(this.configuration).historyControllerAddHistory(historyPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
12428
|
+
}
|
|
12429
|
+
|
|
12430
|
+
/**
|
|
12431
|
+
*
|
|
12432
|
+
* @param {number} page
|
|
12433
|
+
* @param {number} pageSize
|
|
12434
|
+
* @param {*} [options] Override http request option.
|
|
12435
|
+
* @throws {RequiredError}
|
|
12436
|
+
* @memberof HistoryApi
|
|
12437
|
+
*/
|
|
12438
|
+
public historyControllerFindHistory(page: number, pageSize: number, options?: RawAxiosRequestConfig) {
|
|
12439
|
+
return HistoryApiFp(this.configuration).historyControllerFindHistory(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
12440
|
+
}
|
|
12441
|
+
}
|
|
12442
|
+
|
|
12443
|
+
|
|
12444
|
+
|
|
12031
12445
|
/**
|
|
12032
12446
|
* IntegrationApi - axios parameter creator
|
|
12033
12447
|
* @export
|
|
@@ -14564,43 +14978,6 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14564
14978
|
options: localVarRequestOptions,
|
|
14565
14979
|
};
|
|
14566
14980
|
},
|
|
14567
|
-
/**
|
|
14568
|
-
*
|
|
14569
|
-
* @param {string} id
|
|
14570
|
-
* @param {*} [options] Override http request option.
|
|
14571
|
-
* @throws {RequiredError}
|
|
14572
|
-
*/
|
|
14573
|
-
todoControllerDeleteTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14574
|
-
// verify required parameter 'id' is not null or undefined
|
|
14575
|
-
assertParamExists('todoControllerDeleteTask', 'id', id)
|
|
14576
|
-
const localVarPath = `/v1/todo/remove/task/{id}`
|
|
14577
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14578
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14579
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14580
|
-
let baseOptions;
|
|
14581
|
-
if (configuration) {
|
|
14582
|
-
baseOptions = configuration.baseOptions;
|
|
14583
|
-
}
|
|
14584
|
-
|
|
14585
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
14586
|
-
const localVarHeaderParameter = {} as any;
|
|
14587
|
-
const localVarQueryParameter = {} as any;
|
|
14588
|
-
|
|
14589
|
-
// authentication bearer required
|
|
14590
|
-
// http bearer authentication required
|
|
14591
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14592
|
-
|
|
14593
|
-
|
|
14594
|
-
|
|
14595
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14596
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14597
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14598
|
-
|
|
14599
|
-
return {
|
|
14600
|
-
url: toPathString(localVarUrlObj),
|
|
14601
|
-
options: localVarRequestOptions,
|
|
14602
|
-
};
|
|
14603
|
-
},
|
|
14604
14981
|
/**
|
|
14605
14982
|
*
|
|
14606
14983
|
* @param {string} id
|
|
@@ -14825,9 +15202,9 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14825
15202
|
* @param {*} [options] Override http request option.
|
|
14826
15203
|
* @throws {RequiredError}
|
|
14827
15204
|
*/
|
|
14828
|
-
|
|
15205
|
+
todoControllerPermanentDeleteTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14829
15206
|
// verify required parameter 'id' is not null or undefined
|
|
14830
|
-
assertParamExists('
|
|
15207
|
+
assertParamExists('todoControllerPermanentDeleteTask', 'id', id)
|
|
14831
15208
|
const localVarPath = `/v1/todo/task/{id}`
|
|
14832
15209
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14833
15210
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -14880,6 +15257,43 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14880
15257
|
|
|
14881
15258
|
|
|
14882
15259
|
|
|
15260
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15261
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15262
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15263
|
+
|
|
15264
|
+
return {
|
|
15265
|
+
url: toPathString(localVarUrlObj),
|
|
15266
|
+
options: localVarRequestOptions,
|
|
15267
|
+
};
|
|
15268
|
+
},
|
|
15269
|
+
/**
|
|
15270
|
+
*
|
|
15271
|
+
* @param {string} id
|
|
15272
|
+
* @param {*} [options] Override http request option.
|
|
15273
|
+
* @throws {RequiredError}
|
|
15274
|
+
*/
|
|
15275
|
+
todoControllerRemoveTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15276
|
+
// verify required parameter 'id' is not null or undefined
|
|
15277
|
+
assertParamExists('todoControllerRemoveTask', 'id', id)
|
|
15278
|
+
const localVarPath = `/v1/todo/remove/task/{id}`
|
|
15279
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15280
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15281
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15282
|
+
let baseOptions;
|
|
15283
|
+
if (configuration) {
|
|
15284
|
+
baseOptions = configuration.baseOptions;
|
|
15285
|
+
}
|
|
15286
|
+
|
|
15287
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
15288
|
+
const localVarHeaderParameter = {} as any;
|
|
15289
|
+
const localVarQueryParameter = {} as any;
|
|
15290
|
+
|
|
15291
|
+
// authentication bearer required
|
|
15292
|
+
// http bearer authentication required
|
|
15293
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15294
|
+
|
|
15295
|
+
|
|
15296
|
+
|
|
14883
15297
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14884
15298
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14885
15299
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15149,18 +15563,6 @@ export const TodoApiFp = function(configuration?: Configuration) {
|
|
|
15149
15563
|
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerCreateTodo']?.[localVarOperationServerIndex]?.url;
|
|
15150
15564
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15151
15565
|
},
|
|
15152
|
-
/**
|
|
15153
|
-
*
|
|
15154
|
-
* @param {string} id
|
|
15155
|
-
* @param {*} [options] Override http request option.
|
|
15156
|
-
* @throws {RequiredError}
|
|
15157
|
-
*/
|
|
15158
|
-
async todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15159
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerDeleteTask(id, options);
|
|
15160
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15161
|
-
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerDeleteTask']?.[localVarOperationServerIndex]?.url;
|
|
15162
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15163
|
-
},
|
|
15164
15566
|
/**
|
|
15165
15567
|
*
|
|
15166
15568
|
* @param {string} id
|
|
@@ -15237,10 +15639,10 @@ export const TodoApiFp = function(configuration?: Configuration) {
|
|
|
15237
15639
|
* @param {*} [options] Override http request option.
|
|
15238
15640
|
* @throws {RequiredError}
|
|
15239
15641
|
*/
|
|
15240
|
-
async
|
|
15241
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
15642
|
+
async todoControllerPermanentDeleteTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15643
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerPermanentDeleteTask(id, options);
|
|
15242
15644
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15243
|
-
const localVarOperationServerBasePath = operationServerMap['TodoApi.
|
|
15645
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerPermanentDeleteTask']?.[localVarOperationServerIndex]?.url;
|
|
15244
15646
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15245
15647
|
},
|
|
15246
15648
|
/**
|
|
@@ -15255,6 +15657,18 @@ export const TodoApiFp = function(configuration?: Configuration) {
|
|
|
15255
15657
|
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerRejectTodo']?.[localVarOperationServerIndex]?.url;
|
|
15256
15658
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15257
15659
|
},
|
|
15660
|
+
/**
|
|
15661
|
+
*
|
|
15662
|
+
* @param {string} id
|
|
15663
|
+
* @param {*} [options] Override http request option.
|
|
15664
|
+
* @throws {RequiredError}
|
|
15665
|
+
*/
|
|
15666
|
+
async todoControllerRemoveTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15667
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerRemoveTask(id, options);
|
|
15668
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15669
|
+
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerRemoveTask']?.[localVarOperationServerIndex]?.url;
|
|
15670
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15671
|
+
},
|
|
15258
15672
|
/**
|
|
15259
15673
|
*
|
|
15260
15674
|
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
@@ -15364,15 +15778,6 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
|
|
|
15364
15778
|
todoControllerCreateTodo(createTodoPayload: CreateTodoPayload, options?: RawAxiosRequestConfig): AxiosPromise<TodoDetailResponseDTO> {
|
|
15365
15779
|
return localVarFp.todoControllerCreateTodo(createTodoPayload, options).then((request) => request(axios, basePath));
|
|
15366
15780
|
},
|
|
15367
|
-
/**
|
|
15368
|
-
*
|
|
15369
|
-
* @param {string} id
|
|
15370
|
-
* @param {*} [options] Override http request option.
|
|
15371
|
-
* @throws {RequiredError}
|
|
15372
|
-
*/
|
|
15373
|
-
todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
15374
|
-
return localVarFp.todoControllerDeleteTask(id, options).then((request) => request(axios, basePath));
|
|
15375
|
-
},
|
|
15376
15781
|
/**
|
|
15377
15782
|
*
|
|
15378
15783
|
* @param {string} id
|
|
@@ -15431,8 +15836,8 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
|
|
|
15431
15836
|
* @param {*} [options] Override http request option.
|
|
15432
15837
|
* @throws {RequiredError}
|
|
15433
15838
|
*/
|
|
15434
|
-
|
|
15435
|
-
return localVarFp.
|
|
15839
|
+
todoControllerPermanentDeleteTask(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
15840
|
+
return localVarFp.todoControllerPermanentDeleteTask(id, options).then((request) => request(axios, basePath));
|
|
15436
15841
|
},
|
|
15437
15842
|
/**
|
|
15438
15843
|
*
|
|
@@ -15443,6 +15848,15 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
|
|
|
15443
15848
|
todoControllerRejectTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
15444
15849
|
return localVarFp.todoControllerRejectTodo(id, options).then((request) => request(axios, basePath));
|
|
15445
15850
|
},
|
|
15851
|
+
/**
|
|
15852
|
+
*
|
|
15853
|
+
* @param {string} id
|
|
15854
|
+
* @param {*} [options] Override http request option.
|
|
15855
|
+
* @throws {RequiredError}
|
|
15856
|
+
*/
|
|
15857
|
+
todoControllerRemoveTask(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
15858
|
+
return localVarFp.todoControllerRemoveTask(id, options).then((request) => request(axios, basePath));
|
|
15859
|
+
},
|
|
15446
15860
|
/**
|
|
15447
15861
|
*
|
|
15448
15862
|
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
@@ -15545,17 +15959,6 @@ export class TodoApi extends BaseAPI {
|
|
|
15545
15959
|
return TodoApiFp(this.configuration).todoControllerCreateTodo(createTodoPayload, options).then((request) => request(this.axios, this.basePath));
|
|
15546
15960
|
}
|
|
15547
15961
|
|
|
15548
|
-
/**
|
|
15549
|
-
*
|
|
15550
|
-
* @param {string} id
|
|
15551
|
-
* @param {*} [options] Override http request option.
|
|
15552
|
-
* @throws {RequiredError}
|
|
15553
|
-
* @memberof TodoApi
|
|
15554
|
-
*/
|
|
15555
|
-
public todoControllerDeleteTask(id: string, options?: RawAxiosRequestConfig) {
|
|
15556
|
-
return TodoApiFp(this.configuration).todoControllerDeleteTask(id, options).then((request) => request(this.axios, this.basePath));
|
|
15557
|
-
}
|
|
15558
|
-
|
|
15559
15962
|
/**
|
|
15560
15963
|
*
|
|
15561
15964
|
* @param {string} id
|
|
@@ -15627,8 +16030,8 @@ export class TodoApi extends BaseAPI {
|
|
|
15627
16030
|
* @throws {RequiredError}
|
|
15628
16031
|
* @memberof TodoApi
|
|
15629
16032
|
*/
|
|
15630
|
-
public
|
|
15631
|
-
return TodoApiFp(this.configuration).
|
|
16033
|
+
public todoControllerPermanentDeleteTask(id: string, options?: RawAxiosRequestConfig) {
|
|
16034
|
+
return TodoApiFp(this.configuration).todoControllerPermanentDeleteTask(id, options).then((request) => request(this.axios, this.basePath));
|
|
15632
16035
|
}
|
|
15633
16036
|
|
|
15634
16037
|
/**
|
|
@@ -15642,6 +16045,17 @@ export class TodoApi extends BaseAPI {
|
|
|
15642
16045
|
return TodoApiFp(this.configuration).todoControllerRejectTodo(id, options).then((request) => request(this.axios, this.basePath));
|
|
15643
16046
|
}
|
|
15644
16047
|
|
|
16048
|
+
/**
|
|
16049
|
+
*
|
|
16050
|
+
* @param {string} id
|
|
16051
|
+
* @param {*} [options] Override http request option.
|
|
16052
|
+
* @throws {RequiredError}
|
|
16053
|
+
* @memberof TodoApi
|
|
16054
|
+
*/
|
|
16055
|
+
public todoControllerRemoveTask(id: string, options?: RawAxiosRequestConfig) {
|
|
16056
|
+
return TodoApiFp(this.configuration).todoControllerRemoveTask(id, options).then((request) => request(this.axios, this.basePath));
|
|
16057
|
+
}
|
|
16058
|
+
|
|
15645
16059
|
/**
|
|
15646
16060
|
*
|
|
15647
16061
|
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
@@ -16066,6 +16480,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
16066
16480
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16067
16481
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16068
16482
|
|
|
16483
|
+
return {
|
|
16484
|
+
url: toPathString(localVarUrlObj),
|
|
16485
|
+
options: localVarRequestOptions,
|
|
16486
|
+
};
|
|
16487
|
+
},
|
|
16488
|
+
/**
|
|
16489
|
+
*
|
|
16490
|
+
* @param {UserHangout} userHangout
|
|
16491
|
+
* @param {*} [options] Override http request option.
|
|
16492
|
+
* @throws {RequiredError}
|
|
16493
|
+
*/
|
|
16494
|
+
usersControllerUserHangout: async (userHangout: UserHangout, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16495
|
+
// verify required parameter 'userHangout' is not null or undefined
|
|
16496
|
+
assertParamExists('usersControllerUserHangout', 'userHangout', userHangout)
|
|
16497
|
+
const localVarPath = `/v1/user/hangout`;
|
|
16498
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16499
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16500
|
+
let baseOptions;
|
|
16501
|
+
if (configuration) {
|
|
16502
|
+
baseOptions = configuration.baseOptions;
|
|
16503
|
+
}
|
|
16504
|
+
|
|
16505
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16506
|
+
const localVarHeaderParameter = {} as any;
|
|
16507
|
+
const localVarQueryParameter = {} as any;
|
|
16508
|
+
|
|
16509
|
+
// authentication bearer required
|
|
16510
|
+
// http bearer authentication required
|
|
16511
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16512
|
+
|
|
16513
|
+
|
|
16514
|
+
|
|
16515
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16516
|
+
|
|
16517
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16518
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16519
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16520
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userHangout, localVarRequestOptions, configuration)
|
|
16521
|
+
|
|
16069
16522
|
return {
|
|
16070
16523
|
url: toPathString(localVarUrlObj),
|
|
16071
16524
|
options: localVarRequestOptions,
|
|
@@ -16197,6 +16650,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
16197
16650
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerUserActivity']?.[localVarOperationServerIndex]?.url;
|
|
16198
16651
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16199
16652
|
},
|
|
16653
|
+
/**
|
|
16654
|
+
*
|
|
16655
|
+
* @param {UserHangout} userHangout
|
|
16656
|
+
* @param {*} [options] Override http request option.
|
|
16657
|
+
* @throws {RequiredError}
|
|
16658
|
+
*/
|
|
16659
|
+
async usersControllerUserHangout(userHangout: UserHangout, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserMeDTO>> {
|
|
16660
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerUserHangout(userHangout, options);
|
|
16661
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16662
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerUserHangout']?.[localVarOperationServerIndex]?.url;
|
|
16663
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16664
|
+
},
|
|
16200
16665
|
}
|
|
16201
16666
|
};
|
|
16202
16667
|
|
|
@@ -16293,6 +16758,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
16293
16758
|
usersControllerUserActivity(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ActivityDTO> {
|
|
16294
16759
|
return localVarFp.usersControllerUserActivity(id, options).then((request) => request(axios, basePath));
|
|
16295
16760
|
},
|
|
16761
|
+
/**
|
|
16762
|
+
*
|
|
16763
|
+
* @param {UserHangout} userHangout
|
|
16764
|
+
* @param {*} [options] Override http request option.
|
|
16765
|
+
* @throws {RequiredError}
|
|
16766
|
+
*/
|
|
16767
|
+
usersControllerUserHangout(userHangout: UserHangout, options?: RawAxiosRequestConfig): AxiosPromise<UserMeDTO> {
|
|
16768
|
+
return localVarFp.usersControllerUserHangout(userHangout, options).then((request) => request(axios, basePath));
|
|
16769
|
+
},
|
|
16296
16770
|
};
|
|
16297
16771
|
};
|
|
16298
16772
|
|
|
@@ -16408,6 +16882,17 @@ export class UsersApi extends BaseAPI {
|
|
|
16408
16882
|
public usersControllerUserActivity(id: string, options?: RawAxiosRequestConfig) {
|
|
16409
16883
|
return UsersApiFp(this.configuration).usersControllerUserActivity(id, options).then((request) => request(this.axios, this.basePath));
|
|
16410
16884
|
}
|
|
16885
|
+
|
|
16886
|
+
/**
|
|
16887
|
+
*
|
|
16888
|
+
* @param {UserHangout} userHangout
|
|
16889
|
+
* @param {*} [options] Override http request option.
|
|
16890
|
+
* @throws {RequiredError}
|
|
16891
|
+
* @memberof UsersApi
|
|
16892
|
+
*/
|
|
16893
|
+
public usersControllerUserHangout(userHangout: UserHangout, options?: RawAxiosRequestConfig) {
|
|
16894
|
+
return UsersApiFp(this.configuration).usersControllerUserHangout(userHangout, options).then((request) => request(this.axios, this.basePath));
|
|
16895
|
+
}
|
|
16411
16896
|
}
|
|
16412
16897
|
|
|
16413
16898
|
|