@gooday_corp/gooday-api-client 1.1.35 → 1.1.38-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.
- package/api.ts +135 -3
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -62,6 +62,44 @@ export interface AcceptEventInvitePayload {
|
|
|
62
62
|
*/
|
|
63
63
|
'event': string;
|
|
64
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @export
|
|
68
|
+
* @interface ActivityDTO
|
|
69
|
+
*/
|
|
70
|
+
export interface ActivityDTO {
|
|
71
|
+
/**
|
|
72
|
+
* statusCode
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof ActivityDTO
|
|
75
|
+
*/
|
|
76
|
+
'statusCode': number;
|
|
77
|
+
/**
|
|
78
|
+
* User
|
|
79
|
+
* @type {Array<ActivityResponse>}
|
|
80
|
+
* @memberof ActivityDTO
|
|
81
|
+
*/
|
|
82
|
+
'data': Array<ActivityResponse>;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @export
|
|
87
|
+
* @interface ActivityResponse
|
|
88
|
+
*/
|
|
89
|
+
export interface ActivityResponse {
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ActivityResponse
|
|
94
|
+
*/
|
|
95
|
+
'label': string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof ActivityResponse
|
|
100
|
+
*/
|
|
101
|
+
'value': string;
|
|
102
|
+
}
|
|
65
103
|
/**
|
|
66
104
|
*
|
|
67
105
|
* @export
|
|
@@ -1431,7 +1469,22 @@ export interface CreateEventCustomerPayload {
|
|
|
1431
1469
|
* @memberof CreateEventCustomerPayload
|
|
1432
1470
|
*/
|
|
1433
1471
|
'goodayId'?: string;
|
|
1472
|
+
/**
|
|
1473
|
+
*
|
|
1474
|
+
* @type {string}
|
|
1475
|
+
* @memberof CreateEventCustomerPayload
|
|
1476
|
+
*/
|
|
1477
|
+
'status'?: CreateEventCustomerPayloadStatusEnum;
|
|
1434
1478
|
}
|
|
1479
|
+
|
|
1480
|
+
export const CreateEventCustomerPayloadStatusEnum = {
|
|
1481
|
+
Confirmed: 'CONFIRMED',
|
|
1482
|
+
Unconfirmed: 'UNCONFIRMED',
|
|
1483
|
+
Rejected: 'REJECTED'
|
|
1484
|
+
} as const;
|
|
1485
|
+
|
|
1486
|
+
export type CreateEventCustomerPayloadStatusEnum = typeof CreateEventCustomerPayloadStatusEnum[keyof typeof CreateEventCustomerPayloadStatusEnum];
|
|
1487
|
+
|
|
1435
1488
|
/**
|
|
1436
1489
|
*
|
|
1437
1490
|
* @export
|
|
@@ -2568,11 +2621,24 @@ export const NotificationEntityTypeEnum = {
|
|
|
2568
2621
|
BusinessBookingCreate: 'BUSINESS_BOOKING_CREATE',
|
|
2569
2622
|
BookingCreate: 'BOOKING_CREATE',
|
|
2570
2623
|
BookingCreateForUser: 'BOOKING_CREATE_FOR_USER',
|
|
2624
|
+
BookingCancel: 'BOOKING_CANCEL',
|
|
2625
|
+
BusinessBookingCancelBusiness: 'BUSINESS_BOOKING_CANCEL_BUSINESS',
|
|
2626
|
+
BusinessBookingCancelUserToBusinesss: 'BUSINESS_BOOKING_CANCEL_USER_TO_BUSINESSS',
|
|
2571
2627
|
BokingAccept: 'BOKING_ACCEPT',
|
|
2572
2628
|
BookingReject: 'BOOKING_REJECT',
|
|
2629
|
+
InviteTodo: 'INVITE_TODO',
|
|
2630
|
+
TodoReject: 'TODO_REJECT',
|
|
2631
|
+
TodoInviteApproved: 'TODO_INVITE_APPROVED',
|
|
2632
|
+
TodoDeleted: 'TODO_DELETED',
|
|
2633
|
+
TodoTaskDelete: 'TODO_TASK_DELETE',
|
|
2634
|
+
TodoTaskAssign: 'TODO_TASK_ASSIGN',
|
|
2635
|
+
TodoTaskUpdated: 'TODO_TASK_UPDATED',
|
|
2636
|
+
TodoUpdated: 'TODO_UPDATED',
|
|
2573
2637
|
EventInvite: 'EVENT_INVITE',
|
|
2574
2638
|
EventInviteReject: 'EVENT_INVITE_REJECT',
|
|
2575
|
-
EventInviteAccept: 'EVENT_INVITE_ACCEPT'
|
|
2639
|
+
EventInviteAccept: 'EVENT_INVITE_ACCEPT',
|
|
2640
|
+
EventUserRemoved: 'EVENT_USER_REMOVED',
|
|
2641
|
+
EventUserLeft: 'EVENT_USER_LEFT'
|
|
2576
2642
|
} as const;
|
|
2577
2643
|
|
|
2578
2644
|
export type NotificationEntityTypeEnum = typeof NotificationEntityTypeEnum[keyof typeof NotificationEntityTypeEnum];
|
|
@@ -9535,6 +9601,10 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9535
9601
|
const localVarHeaderParameter = {} as any;
|
|
9536
9602
|
const localVarQueryParameter = {} as any;
|
|
9537
9603
|
|
|
9604
|
+
// authentication bearer required
|
|
9605
|
+
// http bearer authentication required
|
|
9606
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9607
|
+
|
|
9538
9608
|
|
|
9539
9609
|
|
|
9540
9610
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -10003,7 +10073,7 @@ export const TodoApiFp = function(configuration?: Configuration) {
|
|
|
10003
10073
|
* @param {*} [options] Override http request option.
|
|
10004
10074
|
* @throws {RequiredError}
|
|
10005
10075
|
*/
|
|
10006
|
-
async todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
10076
|
+
async todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskDetailResponseDTO>> {
|
|
10007
10077
|
const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerAssignTask(id, assignTaskPayload, options);
|
|
10008
10078
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10009
10079
|
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerAssignTask']?.[localVarOperationServerIndex]?.url;
|
|
@@ -10169,7 +10239,7 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
|
|
|
10169
10239
|
* @param {*} [options] Override http request option.
|
|
10170
10240
|
* @throws {RequiredError}
|
|
10171
10241
|
*/
|
|
10172
|
-
todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
10242
|
+
todoControllerAssignTask(id: string, assignTaskPayload: AssignTaskPayload, options?: RawAxiosRequestConfig): AxiosPromise<TaskDetailResponseDTO> {
|
|
10173
10243
|
return localVarFp.todoControllerAssignTask(id, assignTaskPayload, options).then((request) => request(axios, basePath));
|
|
10174
10244
|
},
|
|
10175
10245
|
/**
|
|
@@ -10655,6 +10725,39 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10655
10725
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10656
10726
|
localVarRequestOptions.data = serializeDataIfNeeded(userPermissionDTO, localVarRequestOptions, configuration)
|
|
10657
10727
|
|
|
10728
|
+
return {
|
|
10729
|
+
url: toPathString(localVarUrlObj),
|
|
10730
|
+
options: localVarRequestOptions,
|
|
10731
|
+
};
|
|
10732
|
+
},
|
|
10733
|
+
/**
|
|
10734
|
+
*
|
|
10735
|
+
* @param {*} [options] Override http request option.
|
|
10736
|
+
* @throws {RequiredError}
|
|
10737
|
+
*/
|
|
10738
|
+
usersControllerUserActivity: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10739
|
+
const localVarPath = `/v1/user/analytics/activity`;
|
|
10740
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10741
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10742
|
+
let baseOptions;
|
|
10743
|
+
if (configuration) {
|
|
10744
|
+
baseOptions = configuration.baseOptions;
|
|
10745
|
+
}
|
|
10746
|
+
|
|
10747
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10748
|
+
const localVarHeaderParameter = {} as any;
|
|
10749
|
+
const localVarQueryParameter = {} as any;
|
|
10750
|
+
|
|
10751
|
+
// authentication bearer required
|
|
10752
|
+
// http bearer authentication required
|
|
10753
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10754
|
+
|
|
10755
|
+
|
|
10756
|
+
|
|
10757
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10758
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10759
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10760
|
+
|
|
10658
10761
|
return {
|
|
10659
10762
|
url: toPathString(localVarUrlObj),
|
|
10660
10763
|
options: localVarRequestOptions,
|
|
@@ -10740,6 +10843,17 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
10740
10843
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserPermissions']?.[localVarOperationServerIndex]?.url;
|
|
10741
10844
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10742
10845
|
},
|
|
10846
|
+
/**
|
|
10847
|
+
*
|
|
10848
|
+
* @param {*} [options] Override http request option.
|
|
10849
|
+
* @throws {RequiredError}
|
|
10850
|
+
*/
|
|
10851
|
+
async usersControllerUserActivity(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivityDTO>> {
|
|
10852
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerUserActivity(options);
|
|
10853
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10854
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerUserActivity']?.[localVarOperationServerIndex]?.url;
|
|
10855
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10856
|
+
},
|
|
10743
10857
|
}
|
|
10744
10858
|
};
|
|
10745
10859
|
|
|
@@ -10802,6 +10916,14 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
10802
10916
|
usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
10803
10917
|
return localVarFp.usersControllerSyncUserPermissions(userPermissionDTO, options).then((request) => request(axios, basePath));
|
|
10804
10918
|
},
|
|
10919
|
+
/**
|
|
10920
|
+
*
|
|
10921
|
+
* @param {*} [options] Override http request option.
|
|
10922
|
+
* @throws {RequiredError}
|
|
10923
|
+
*/
|
|
10924
|
+
usersControllerUserActivity(options?: RawAxiosRequestConfig): AxiosPromise<ActivityDTO> {
|
|
10925
|
+
return localVarFp.usersControllerUserActivity(options).then((request) => request(axios, basePath));
|
|
10926
|
+
},
|
|
10805
10927
|
};
|
|
10806
10928
|
};
|
|
10807
10929
|
|
|
@@ -10875,6 +10997,16 @@ export class UsersApi extends BaseAPI {
|
|
|
10875
10997
|
public usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig) {
|
|
10876
10998
|
return UsersApiFp(this.configuration).usersControllerSyncUserPermissions(userPermissionDTO, options).then((request) => request(this.axios, this.basePath));
|
|
10877
10999
|
}
|
|
11000
|
+
|
|
11001
|
+
/**
|
|
11002
|
+
*
|
|
11003
|
+
* @param {*} [options] Override http request option.
|
|
11004
|
+
* @throws {RequiredError}
|
|
11005
|
+
* @memberof UsersApi
|
|
11006
|
+
*/
|
|
11007
|
+
public usersControllerUserActivity(options?: RawAxiosRequestConfig) {
|
|
11008
|
+
return UsersApiFp(this.configuration).usersControllerUserActivity(options).then((request) => request(this.axios, this.basePath));
|
|
11009
|
+
}
|
|
10878
11010
|
}
|
|
10879
11011
|
|
|
10880
11012
|
|