@gooday_corp/gooday-api-client 1.2.63 → 1.2.64

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 +101 -11
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -5201,10 +5201,10 @@ export interface SendFriendshipRequestPayload {
5201
5201
  export interface Setting {
5202
5202
  /**
5203
5203
  *
5204
- * @type {string}
5204
+ * @type {number}
5205
5205
  * @memberof Setting
5206
5206
  */
5207
- 'bookingDuration': string;
5207
+ 'capacity': number;
5208
5208
  }
5209
5209
  /**
5210
5210
  *
@@ -6763,6 +6763,54 @@ export interface WhatsOnEntity {
6763
6763
  * @memberof WhatsOnEntity
6764
6764
  */
6765
6765
  'venue': string;
6766
+ /**
6767
+ * Business
6768
+ * @type {string}
6769
+ * @memberof WhatsOnEntity
6770
+ */
6771
+ 'business': string;
6772
+ /**
6773
+ *
6774
+ * @type {Array<string>}
6775
+ * @memberof WhatsOnEntity
6776
+ */
6777
+ 'tags': Array<string>;
6778
+ /**
6779
+ *
6780
+ * @type {string}
6781
+ * @memberof WhatsOnEntity
6782
+ */
6783
+ 'email': string;
6784
+ /**
6785
+ *
6786
+ * @type {boolean}
6787
+ * @memberof WhatsOnEntity
6788
+ */
6789
+ 'exceedMaximumPeople': boolean;
6790
+ /**
6791
+ *
6792
+ * @type {number}
6793
+ * @memberof WhatsOnEntity
6794
+ */
6795
+ 'cancellationFees': number;
6796
+ /**
6797
+ *
6798
+ * @type {string}
6799
+ * @memberof WhatsOnEntity
6800
+ */
6801
+ 'cancellationHours': string;
6802
+ /**
6803
+ *
6804
+ * @type {LocationDTO}
6805
+ * @memberof WhatsOnEntity
6806
+ */
6807
+ 'location': LocationDTO;
6808
+ /**
6809
+ *
6810
+ * @type {number}
6811
+ * @memberof WhatsOnEntity
6812
+ */
6813
+ 'bookingFee': number;
6766
6814
  }
6767
6815
  /**
6768
6816
  *
@@ -6831,6 +6879,12 @@ export interface WhatsOnPayloadDTO {
6831
6879
  * @memberof WhatsOnPayloadDTO
6832
6880
  */
6833
6881
  'price': number;
6882
+ /**
6883
+ *
6884
+ * @type {number}
6885
+ * @memberof WhatsOnPayloadDTO
6886
+ */
6887
+ 'bookingFee': number;
6834
6888
  /**
6835
6889
  *
6836
6890
  * @type {string}
@@ -6849,6 +6903,42 @@ export interface WhatsOnPayloadDTO {
6849
6903
  * @memberof WhatsOnPayloadDTO
6850
6904
  */
6851
6905
  'venue': string;
6906
+ /**
6907
+ *
6908
+ * @type {Array<string>}
6909
+ * @memberof WhatsOnPayloadDTO
6910
+ */
6911
+ 'tags': Array<string>;
6912
+ /**
6913
+ *
6914
+ * @type {string}
6915
+ * @memberof WhatsOnPayloadDTO
6916
+ */
6917
+ 'email': string;
6918
+ /**
6919
+ *
6920
+ * @type {boolean}
6921
+ * @memberof WhatsOnPayloadDTO
6922
+ */
6923
+ 'exceedMaximumPeople': boolean;
6924
+ /**
6925
+ *
6926
+ * @type {number}
6927
+ * @memberof WhatsOnPayloadDTO
6928
+ */
6929
+ 'cancellationFees': number;
6930
+ /**
6931
+ *
6932
+ * @type {string}
6933
+ * @memberof WhatsOnPayloadDTO
6934
+ */
6935
+ 'cancellationHours': string;
6936
+ /**
6937
+ *
6938
+ * @type {LocationDTO}
6939
+ * @memberof WhatsOnPayloadDTO
6940
+ */
6941
+ 'location': LocationDTO;
6852
6942
  }
6853
6943
  /**
6854
6944
  *
@@ -7872,9 +7962,9 @@ export const BlockoutApiAxiosParamCreator = function (configuration?: Configurat
7872
7962
  * @param {*} [options] Override http request option.
7873
7963
  * @throws {RequiredError}
7874
7964
  */
7875
- blockoutControllerCreateWhatsOn: async (blockoutPayloadDTO: BlockoutPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7965
+ blockoutControllerCreateBlockout: async (blockoutPayloadDTO: BlockoutPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7876
7966
  // verify required parameter 'blockoutPayloadDTO' is not null or undefined
7877
- assertParamExists('blockoutControllerCreateWhatsOn', 'blockoutPayloadDTO', blockoutPayloadDTO)
7967
+ assertParamExists('blockoutControllerCreateBlockout', 'blockoutPayloadDTO', blockoutPayloadDTO)
7878
7968
  const localVarPath = `/v1/blockout`;
7879
7969
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7880
7970
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8090,10 +8180,10 @@ export const BlockoutApiFp = function(configuration?: Configuration) {
8090
8180
  * @param {*} [options] Override http request option.
8091
8181
  * @throws {RequiredError}
8092
8182
  */
8093
- async blockoutControllerCreateWhatsOn(blockoutPayloadDTO: BlockoutPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlockoutDTO>> {
8094
- const localVarAxiosArgs = await localVarAxiosParamCreator.blockoutControllerCreateWhatsOn(blockoutPayloadDTO, options);
8183
+ async blockoutControllerCreateBlockout(blockoutPayloadDTO: BlockoutPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlockoutDTO>> {
8184
+ const localVarAxiosArgs = await localVarAxiosParamCreator.blockoutControllerCreateBlockout(blockoutPayloadDTO, options);
8095
8185
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8096
- const localVarOperationServerBasePath = operationServerMap['BlockoutApi.blockoutControllerCreateWhatsOn']?.[localVarOperationServerIndex]?.url;
8186
+ const localVarOperationServerBasePath = operationServerMap['BlockoutApi.blockoutControllerCreateBlockout']?.[localVarOperationServerIndex]?.url;
8097
8187
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8098
8188
  },
8099
8189
  /**
@@ -8163,8 +8253,8 @@ export const BlockoutApiFactory = function (configuration?: Configuration, baseP
8163
8253
  * @param {*} [options] Override http request option.
8164
8254
  * @throws {RequiredError}
8165
8255
  */
8166
- blockoutControllerCreateWhatsOn(blockoutPayloadDTO: BlockoutPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<BlockoutDTO> {
8167
- return localVarFp.blockoutControllerCreateWhatsOn(blockoutPayloadDTO, options).then((request) => request(axios, basePath));
8256
+ blockoutControllerCreateBlockout(blockoutPayloadDTO: BlockoutPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<BlockoutDTO> {
8257
+ return localVarFp.blockoutControllerCreateBlockout(blockoutPayloadDTO, options).then((request) => request(axios, basePath));
8168
8258
  },
8169
8259
  /**
8170
8260
  *
@@ -8222,8 +8312,8 @@ export class BlockoutApi extends BaseAPI {
8222
8312
  * @throws {RequiredError}
8223
8313
  * @memberof BlockoutApi
8224
8314
  */
8225
- public blockoutControllerCreateWhatsOn(blockoutPayloadDTO: BlockoutPayloadDTO, options?: RawAxiosRequestConfig) {
8226
- return BlockoutApiFp(this.configuration).blockoutControllerCreateWhatsOn(blockoutPayloadDTO, options).then((request) => request(this.axios, this.basePath));
8315
+ public blockoutControllerCreateBlockout(blockoutPayloadDTO: BlockoutPayloadDTO, options?: RawAxiosRequestConfig) {
8316
+ return BlockoutApiFp(this.configuration).blockoutControllerCreateBlockout(blockoutPayloadDTO, options).then((request) => request(this.axios, this.basePath));
8227
8317
  }
8228
8318
 
8229
8319
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.2.63",
3
+ "version": "1.2.64",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},