@gooday_corp/gooday-api-client 1.1.60 → 1.1.61
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/.openapi-generator/VERSION +1 -1
- package/api.ts +20 -19
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.10.0
|
package/api.ts
CHANGED
|
@@ -431,10 +431,10 @@ export interface BookingResponse {
|
|
|
431
431
|
'occasion': string;
|
|
432
432
|
/**
|
|
433
433
|
* Calendar attached with booking
|
|
434
|
-
* @type {string}
|
|
434
|
+
* @type {Array<string>}
|
|
435
435
|
* @memberof BookingResponse
|
|
436
436
|
*/
|
|
437
|
-
'calendar': string
|
|
437
|
+
'calendar': Array<string>;
|
|
438
438
|
/**
|
|
439
439
|
* Payment method Id
|
|
440
440
|
* @type {string}
|
|
@@ -1360,10 +1360,10 @@ export interface CreateBookingPayload {
|
|
|
1360
1360
|
'occasion': string;
|
|
1361
1361
|
/**
|
|
1362
1362
|
* Calendar attached with booking
|
|
1363
|
-
* @type {string}
|
|
1363
|
+
* @type {Array<string>}
|
|
1364
1364
|
* @memberof CreateBookingPayload
|
|
1365
1365
|
*/
|
|
1366
|
-
'calendar': string
|
|
1366
|
+
'calendar': Array<string>;
|
|
1367
1367
|
/**
|
|
1368
1368
|
* Payment method Id
|
|
1369
1369
|
* @type {string}
|
|
@@ -1523,10 +1523,10 @@ export interface CreateEventPayload {
|
|
|
1523
1523
|
'note': string;
|
|
1524
1524
|
/**
|
|
1525
1525
|
* Calendar attached with booking
|
|
1526
|
-
* @type {string}
|
|
1526
|
+
* @type {Array<string>}
|
|
1527
1527
|
* @memberof CreateEventPayload
|
|
1528
1528
|
*/
|
|
1529
|
-
'calendar': string
|
|
1529
|
+
'calendar': Array<string>;
|
|
1530
1530
|
/**
|
|
1531
1531
|
* The list of customers associated with the event
|
|
1532
1532
|
* @type {Array<CreateEventCustomerPayload>}
|
|
@@ -2685,7 +2685,9 @@ export const NotificationEntityTypeEnum = {
|
|
|
2685
2685
|
EventInviteReject: 'EVENT_INVITE_REJECT',
|
|
2686
2686
|
EventInviteAccept: 'EVENT_INVITE_ACCEPT',
|
|
2687
2687
|
EventUserRemoved: 'EVENT_USER_REMOVED',
|
|
2688
|
-
EventUserLeft: 'EVENT_USER_LEFT'
|
|
2688
|
+
EventUserLeft: 'EVENT_USER_LEFT',
|
|
2689
|
+
EventDetailsUpdate: 'EVENT_DETAILS_UPDATE',
|
|
2690
|
+
CalendarDetailsUpdate: 'CALENDAR_DETAILS_UPDATE'
|
|
2689
2691
|
} as const;
|
|
2690
2692
|
|
|
2691
2693
|
export type NotificationEntityTypeEnum = typeof NotificationEntityTypeEnum[keyof typeof NotificationEntityTypeEnum];
|
|
@@ -8908,11 +8910,11 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
8908
8910
|
*
|
|
8909
8911
|
* @param {number} page
|
|
8910
8912
|
* @param {number} pageSize
|
|
8911
|
-
* @param {NotificationControllerGetNotificationCategoryEnum} category
|
|
8913
|
+
* @param {Array<NotificationControllerGetNotificationCategoryEnum>} category
|
|
8912
8914
|
* @param {*} [options] Override http request option.
|
|
8913
8915
|
* @throws {RequiredError}
|
|
8914
8916
|
*/
|
|
8915
|
-
notificationControllerGetNotification: async (page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum
|
|
8917
|
+
notificationControllerGetNotification: async (page: number, pageSize: number, category: Array<NotificationControllerGetNotificationCategoryEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8916
8918
|
// verify required parameter 'page' is not null or undefined
|
|
8917
8919
|
assertParamExists('notificationControllerGetNotification', 'page', page)
|
|
8918
8920
|
// verify required parameter 'pageSize' is not null or undefined
|
|
@@ -8943,7 +8945,7 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
8943
8945
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
8944
8946
|
}
|
|
8945
8947
|
|
|
8946
|
-
if (category
|
|
8948
|
+
if (category) {
|
|
8947
8949
|
localVarQueryParameter['category'] = category;
|
|
8948
8950
|
}
|
|
8949
8951
|
|
|
@@ -9095,11 +9097,11 @@ export const NotificationApiFp = function(configuration?: Configuration) {
|
|
|
9095
9097
|
*
|
|
9096
9098
|
* @param {number} page
|
|
9097
9099
|
* @param {number} pageSize
|
|
9098
|
-
* @param {NotificationControllerGetNotificationCategoryEnum} category
|
|
9100
|
+
* @param {Array<NotificationControllerGetNotificationCategoryEnum>} category
|
|
9099
9101
|
* @param {*} [options] Override http request option.
|
|
9100
9102
|
* @throws {RequiredError}
|
|
9101
9103
|
*/
|
|
9102
|
-
async notificationControllerGetNotification(page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum
|
|
9104
|
+
async notificationControllerGetNotification(page: number, pageSize: number, category: Array<NotificationControllerGetNotificationCategoryEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetNotificationDTO>> {
|
|
9103
9105
|
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationControllerGetNotification(page, pageSize, category, options);
|
|
9104
9106
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9105
9107
|
const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerGetNotification']?.[localVarOperationServerIndex]?.url;
|
|
@@ -9163,11 +9165,11 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
|
|
|
9163
9165
|
*
|
|
9164
9166
|
* @param {number} page
|
|
9165
9167
|
* @param {number} pageSize
|
|
9166
|
-
* @param {NotificationControllerGetNotificationCategoryEnum} category
|
|
9168
|
+
* @param {Array<NotificationControllerGetNotificationCategoryEnum>} category
|
|
9167
9169
|
* @param {*} [options] Override http request option.
|
|
9168
9170
|
* @throws {RequiredError}
|
|
9169
9171
|
*/
|
|
9170
|
-
notificationControllerGetNotification(page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum
|
|
9172
|
+
notificationControllerGetNotification(page: number, pageSize: number, category: Array<NotificationControllerGetNotificationCategoryEnum>, options?: RawAxiosRequestConfig): AxiosPromise<GetNotificationDTO> {
|
|
9171
9173
|
return localVarFp.notificationControllerGetNotification(page, pageSize, category, options).then((request) => request(axios, basePath));
|
|
9172
9174
|
},
|
|
9173
9175
|
/**
|
|
@@ -9221,12 +9223,12 @@ export class NotificationApi extends BaseAPI {
|
|
|
9221
9223
|
*
|
|
9222
9224
|
* @param {number} page
|
|
9223
9225
|
* @param {number} pageSize
|
|
9224
|
-
* @param {NotificationControllerGetNotificationCategoryEnum} category
|
|
9226
|
+
* @param {Array<NotificationControllerGetNotificationCategoryEnum>} category
|
|
9225
9227
|
* @param {*} [options] Override http request option.
|
|
9226
9228
|
* @throws {RequiredError}
|
|
9227
9229
|
* @memberof NotificationApi
|
|
9228
9230
|
*/
|
|
9229
|
-
public notificationControllerGetNotification(page: number, pageSize: number, category: NotificationControllerGetNotificationCategoryEnum
|
|
9231
|
+
public notificationControllerGetNotification(page: number, pageSize: number, category: Array<NotificationControllerGetNotificationCategoryEnum>, options?: RawAxiosRequestConfig) {
|
|
9230
9232
|
return NotificationApiFp(this.configuration).notificationControllerGetNotification(page, pageSize, category, options).then((request) => request(this.axios, this.basePath));
|
|
9231
9233
|
}
|
|
9232
9234
|
|
|
@@ -9744,12 +9746,11 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
9744
9746
|
const localVarHeaderParameter = {} as any;
|
|
9745
9747
|
const localVarQueryParameter = {} as any;
|
|
9746
9748
|
|
|
9749
|
+
|
|
9750
|
+
|
|
9747
9751
|
if (stripeSignature != null) {
|
|
9748
9752
|
localVarHeaderParameter['stripe-signature'] = String(stripeSignature);
|
|
9749
9753
|
}
|
|
9750
|
-
|
|
9751
|
-
|
|
9752
|
-
|
|
9753
9754
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9754
9755
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9755
9756
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|