@gooday_corp/gooday-api-client 1.2.106 → 1.2.108

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 +32 -18
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -773,10 +773,10 @@ export interface BookingEntity {
773
773
  'tags': Array<TagsResponse>;
774
774
  /**
775
775
  *
776
- * @type {string}
776
+ * @type {WhatsOnEntity}
777
777
  * @memberof BookingEntity
778
778
  */
779
- 'whatsOn': string;
779
+ 'whatsOn': WhatsOnEntity;
780
780
  }
781
781
 
782
782
  export const BookingEntityStatusEnum = {
@@ -3616,6 +3616,12 @@ export interface FindCustomerBookingPayload {
3616
3616
  * @memberof FindCustomerBookingPayload
3617
3617
  */
3618
3618
  'venue'?: string;
3619
+ /**
3620
+ *
3621
+ * @type {boolean}
3622
+ * @memberof FindCustomerBookingPayload
3623
+ */
3624
+ 'whatsOn'?: boolean;
3619
3625
  }
3620
3626
  /**
3621
3627
  *
@@ -6180,7 +6186,8 @@ export interface TagPayloadDTO {
6180
6186
 
6181
6187
  export const TagPayloadDTOCategoryEnum = {
6182
6188
  Booking: 'BOOKING',
6183
- Customer: 'CUSTOMER'
6189
+ Customer: 'CUSTOMER',
6190
+ Gooday: 'GOODAY'
6184
6191
  } as const;
6185
6192
 
6186
6193
  export type TagPayloadDTOCategoryEnum = typeof TagPayloadDTOCategoryEnum[keyof typeof TagPayloadDTOCategoryEnum];
@@ -6250,7 +6257,8 @@ export interface TagUpdatePayloadDTO {
6250
6257
 
6251
6258
  export const TagUpdatePayloadDTOCategoryEnum = {
6252
6259
  Booking: 'BOOKING',
6253
- Customer: 'CUSTOMER'
6260
+ Customer: 'CUSTOMER',
6261
+ Gooday: 'GOODAY'
6254
6262
  } as const;
6255
6263
 
6256
6264
  export type TagUpdatePayloadDTOCategoryEnum = typeof TagUpdatePayloadDTOCategoryEnum[keyof typeof TagUpdatePayloadDTOCategoryEnum];
@@ -6301,7 +6309,8 @@ export interface TagsResponse {
6301
6309
 
6302
6310
  export const TagsResponseCategoryEnum = {
6303
6311
  Booking: 'BOOKING',
6304
- Customer: 'CUSTOMER'
6312
+ Customer: 'CUSTOMER',
6313
+ Gooday: 'GOODAY'
6305
6314
  } as const;
6306
6315
 
6307
6316
  export type TagsResponseCategoryEnum = typeof TagsResponseCategoryEnum[keyof typeof TagsResponseCategoryEnum];
@@ -17304,7 +17313,8 @@ export class TagsApi extends BaseAPI {
17304
17313
  */
17305
17314
  export const TagsControllerFindTagsCategoryEnum = {
17306
17315
  Booking: 'BOOKING',
17307
- Customer: 'CUSTOMER'
17316
+ Customer: 'CUSTOMER',
17317
+ Gooday: 'GOODAY'
17308
17318
  } as const;
17309
17319
  export type TagsControllerFindTagsCategoryEnum = typeof TagsControllerFindTagsCategoryEnum[keyof typeof TagsControllerFindTagsCategoryEnum];
17310
17320
 
@@ -19838,12 +19848,16 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
19838
19848
  },
19839
19849
  /**
19840
19850
  *
19841
- * @param {number} [page] Page number for pagination
19842
- * @param {number} [limit] Number of items per page for pagination
19851
+ * @param {number} page
19852
+ * @param {number} limit
19843
19853
  * @param {*} [options] Override http request option.
19844
19854
  * @throws {RequiredError}
19845
19855
  */
19846
- whatsOnControllerFindFavoriteWhatsOnList: async (page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19856
+ whatsOnControllerFindFavoriteWhatsOnList: async (page: number, limit: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19857
+ // verify required parameter 'page' is not null or undefined
19858
+ assertParamExists('whatsOnControllerFindFavoriteWhatsOnList', 'page', page)
19859
+ // verify required parameter 'limit' is not null or undefined
19860
+ assertParamExists('whatsOnControllerFindFavoriteWhatsOnList', 'limit', limit)
19847
19861
  const localVarPath = `/v1/whats-on/friends/favorite`;
19848
19862
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
19849
19863
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -20212,12 +20226,12 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
20212
20226
  },
20213
20227
  /**
20214
20228
  *
20215
- * @param {number} [page] Page number for pagination
20216
- * @param {number} [limit] Number of items per page for pagination
20229
+ * @param {number} page
20230
+ * @param {number} limit
20217
20231
  * @param {*} [options] Override http request option.
20218
20232
  * @throws {RequiredError}
20219
20233
  */
20220
- async whatsOnControllerFindFavoriteWhatsOnList(page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteListResponseDTO>> {
20234
+ async whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteListResponseDTO>> {
20221
20235
  const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindFavoriteWhatsOnList(page, limit, options);
20222
20236
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20223
20237
  const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindFavoriteWhatsOnList']?.[localVarOperationServerIndex]?.url;
@@ -20356,12 +20370,12 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
20356
20370
  },
20357
20371
  /**
20358
20372
  *
20359
- * @param {number} [page] Page number for pagination
20360
- * @param {number} [limit] Number of items per page for pagination
20373
+ * @param {number} page
20374
+ * @param {number} limit
20361
20375
  * @param {*} [options] Override http request option.
20362
20376
  * @throws {RequiredError}
20363
20377
  */
20364
- whatsOnControllerFindFavoriteWhatsOnList(page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteListResponseDTO> {
20378
+ whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteListResponseDTO> {
20365
20379
  return localVarFp.whatsOnControllerFindFavoriteWhatsOnList(page, limit, options).then((request) => request(axios, basePath));
20366
20380
  },
20367
20381
  /**
@@ -20484,13 +20498,13 @@ export class WhatsOnApi extends BaseAPI {
20484
20498
 
20485
20499
  /**
20486
20500
  *
20487
- * @param {number} [page] Page number for pagination
20488
- * @param {number} [limit] Number of items per page for pagination
20501
+ * @param {number} page
20502
+ * @param {number} limit
20489
20503
  * @param {*} [options] Override http request option.
20490
20504
  * @throws {RequiredError}
20491
20505
  * @memberof WhatsOnApi
20492
20506
  */
20493
- public whatsOnControllerFindFavoriteWhatsOnList(page?: number, limit?: number, options?: RawAxiosRequestConfig) {
20507
+ public whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, options?: RawAxiosRequestConfig) {
20494
20508
  return WhatsOnApiFp(this.configuration).whatsOnControllerFindFavoriteWhatsOnList(page, limit, options).then((request) => request(this.axios, this.basePath));
20495
20509
  }
20496
20510
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.2.106",
3
+ "version": "1.2.108",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},