@gooday_corp/gooday-api-client 1.2.75-beta → 1.2.76
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 +32 -18
- package/configuration.ts +7 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.11.0
|
package/api.ts
CHANGED
|
@@ -2032,6 +2032,12 @@ export interface BusinessVenueDetailsEntity {
|
|
|
2032
2032
|
* @memberof BusinessVenueDetailsEntity
|
|
2033
2033
|
*/
|
|
2034
2034
|
'currentTime'?: BusinessTiming;
|
|
2035
|
+
/**
|
|
2036
|
+
*
|
|
2037
|
+
* @type {number}
|
|
2038
|
+
* @memberof BusinessVenueDetailsEntity
|
|
2039
|
+
*/
|
|
2040
|
+
'favoriteCount': number;
|
|
2035
2041
|
}
|
|
2036
2042
|
/**
|
|
2037
2043
|
*
|
|
@@ -2450,6 +2456,12 @@ export interface CreateBookingPayload {
|
|
|
2450
2456
|
* @memberof CreateBookingPayload
|
|
2451
2457
|
*/
|
|
2452
2458
|
'venue': string;
|
|
2459
|
+
/**
|
|
2460
|
+
*
|
|
2461
|
+
* @type {string}
|
|
2462
|
+
* @memberof CreateBookingPayload
|
|
2463
|
+
*/
|
|
2464
|
+
'whatsOn'?: string;
|
|
2453
2465
|
/**
|
|
2454
2466
|
* The business associated with the booking
|
|
2455
2467
|
* @type {string}
|
|
@@ -2528,12 +2540,6 @@ export interface CreateBookingPayload {
|
|
|
2528
2540
|
* @memberof CreateBookingPayload
|
|
2529
2541
|
*/
|
|
2530
2542
|
'paymentMethod': StripeSetupIntentPaymentResponse;
|
|
2531
|
-
/**
|
|
2532
|
-
*
|
|
2533
|
-
* @type {string}
|
|
2534
|
-
* @memberof CreateBookingPayload
|
|
2535
|
-
*/
|
|
2536
|
-
'whatsOn': string;
|
|
2537
2543
|
}
|
|
2538
2544
|
/**
|
|
2539
2545
|
*
|
|
@@ -3413,13 +3419,13 @@ export const FindBookingPayloadViewEnum = {
|
|
|
3413
3419
|
|
|
3414
3420
|
export type FindBookingPayloadViewEnum = typeof FindBookingPayloadViewEnum[keyof typeof FindBookingPayloadViewEnum];
|
|
3415
3421
|
export const FindBookingPayloadStatusEnum = {
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
Invites: 'INVITES',
|
|
3422
|
+
CheckedIn: 'CHECKED_IN',
|
|
3423
|
+
Confirmed: 'CONFIRMED',
|
|
3419
3424
|
Unconfirmed: 'UNCONFIRMED',
|
|
3420
3425
|
Rescheduled: 'RESCHEDULED',
|
|
3421
|
-
|
|
3422
|
-
|
|
3426
|
+
NoShow: 'NO_SHOW',
|
|
3427
|
+
Rejected: 'REJECTED',
|
|
3428
|
+
Cancelled: 'CANCELLED'
|
|
3423
3429
|
} as const;
|
|
3424
3430
|
|
|
3425
3431
|
export type FindBookingPayloadStatusEnum = typeof FindBookingPayloadStatusEnum[keyof typeof FindBookingPayloadStatusEnum];
|
|
@@ -13247,10 +13253,11 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13247
13253
|
* @param {number} pageSize
|
|
13248
13254
|
* @param {string} [search]
|
|
13249
13255
|
* @param {string} [calendar]
|
|
13256
|
+
* @param {string} [user]
|
|
13250
13257
|
* @param {*} [options] Override http request option.
|
|
13251
13258
|
* @throws {RequiredError}
|
|
13252
13259
|
*/
|
|
13253
|
-
friendControllerListMyFriends: async (page: number, pageSize: number, search?: string, calendar?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13260
|
+
friendControllerListMyFriends: async (page: number, pageSize: number, search?: string, calendar?: string, user?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13254
13261
|
// verify required parameter 'page' is not null or undefined
|
|
13255
13262
|
assertParamExists('friendControllerListMyFriends', 'page', page)
|
|
13256
13263
|
// verify required parameter 'pageSize' is not null or undefined
|
|
@@ -13287,6 +13294,10 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13287
13294
|
localVarQueryParameter['calendar'] = calendar;
|
|
13288
13295
|
}
|
|
13289
13296
|
|
|
13297
|
+
if (user !== undefined) {
|
|
13298
|
+
localVarQueryParameter['user'] = user;
|
|
13299
|
+
}
|
|
13300
|
+
|
|
13290
13301
|
|
|
13291
13302
|
|
|
13292
13303
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13475,11 +13486,12 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
13475
13486
|
* @param {number} pageSize
|
|
13476
13487
|
* @param {string} [search]
|
|
13477
13488
|
* @param {string} [calendar]
|
|
13489
|
+
* @param {string} [user]
|
|
13478
13490
|
* @param {*} [options] Override http request option.
|
|
13479
13491
|
* @throws {RequiredError}
|
|
13480
13492
|
*/
|
|
13481
|
-
async friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
13482
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(page, pageSize, search, calendar, options);
|
|
13493
|
+
async friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, user?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
13494
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(page, pageSize, search, calendar, user, options);
|
|
13483
13495
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13484
13496
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
|
|
13485
13497
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -13573,11 +13585,12 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
13573
13585
|
* @param {number} pageSize
|
|
13574
13586
|
* @param {string} [search]
|
|
13575
13587
|
* @param {string} [calendar]
|
|
13588
|
+
* @param {string} [user]
|
|
13576
13589
|
* @param {*} [options] Override http request option.
|
|
13577
13590
|
* @throws {RequiredError}
|
|
13578
13591
|
*/
|
|
13579
|
-
friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
13580
|
-
return localVarFp.friendControllerListMyFriends(page, pageSize, search, calendar, options).then((request) => request(axios, basePath));
|
|
13592
|
+
friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, user?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
13593
|
+
return localVarFp.friendControllerListMyFriends(page, pageSize, search, calendar, user, options).then((request) => request(axios, basePath));
|
|
13581
13594
|
},
|
|
13582
13595
|
/**
|
|
13583
13596
|
*
|
|
@@ -13667,12 +13680,13 @@ export class FriendsApi extends BaseAPI {
|
|
|
13667
13680
|
* @param {number} pageSize
|
|
13668
13681
|
* @param {string} [search]
|
|
13669
13682
|
* @param {string} [calendar]
|
|
13683
|
+
* @param {string} [user]
|
|
13670
13684
|
* @param {*} [options] Override http request option.
|
|
13671
13685
|
* @throws {RequiredError}
|
|
13672
13686
|
* @memberof FriendsApi
|
|
13673
13687
|
*/
|
|
13674
|
-
public friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, options?: RawAxiosRequestConfig) {
|
|
13675
|
-
return FriendsApiFp(this.configuration).friendControllerListMyFriends(page, pageSize, search, calendar, options).then((request) => request(this.axios, this.basePath));
|
|
13688
|
+
public friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, user?: string, options?: RawAxiosRequestConfig) {
|
|
13689
|
+
return FriendsApiFp(this.configuration).friendControllerListMyFriends(page, pageSize, search, calendar, user, options).then((request) => request(this.axios, this.basePath));
|
|
13676
13690
|
}
|
|
13677
13691
|
|
|
13678
13692
|
/**
|
package/configuration.ts
CHANGED
|
@@ -89,7 +89,13 @@ export class Configuration {
|
|
|
89
89
|
this.accessToken = param.accessToken;
|
|
90
90
|
this.basePath = param.basePath;
|
|
91
91
|
this.serverIndex = param.serverIndex;
|
|
92
|
-
this.baseOptions =
|
|
92
|
+
this.baseOptions = {
|
|
93
|
+
headers: {
|
|
94
|
+
...param.baseOptions?.headers,
|
|
95
|
+
'User-Agent': "OpenAPI-Generator/typescript-axios"
|
|
96
|
+
},
|
|
97
|
+
...param.baseOptions
|
|
98
|
+
};
|
|
93
99
|
this.formDataCtor = param.formDataCtor;
|
|
94
100
|
}
|
|
95
101
|
|