@gooday_corp/gooday-api-client 1.2.65 → 1.2.67

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 +263 -21
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -3066,6 +3066,31 @@ export interface DeviceEntity {
3066
3066
  */
3067
3067
  'status': string;
3068
3068
  }
3069
+ /**
3070
+ *
3071
+ * @export
3072
+ * @interface Discount
3073
+ */
3074
+ export interface Discount {
3075
+ /**
3076
+ *
3077
+ * @type {string}
3078
+ * @memberof Discount
3079
+ */
3080
+ '_id': string;
3081
+ /**
3082
+ *
3083
+ * @type {string}
3084
+ * @memberof Discount
3085
+ */
3086
+ 'name': string;
3087
+ /**
3088
+ *
3089
+ * @type {string}
3090
+ * @memberof Discount
3091
+ */
3092
+ 'percentage': string;
3093
+ }
3069
3094
  /**
3070
3095
  *
3071
3096
  * @export
@@ -4818,6 +4843,54 @@ export interface PrepaidServiceEntity {
4818
4843
  * @memberof PrepaidServiceEntity
4819
4844
  */
4820
4845
  'venue': string;
4846
+ /**
4847
+ * Business
4848
+ * @type {string}
4849
+ * @memberof PrepaidServiceEntity
4850
+ */
4851
+ 'business': string;
4852
+ /**
4853
+ *
4854
+ * @type {ServiceEndRepeat}
4855
+ * @memberof PrepaidServiceEntity
4856
+ */
4857
+ 'repeat': ServiceEndRepeat;
4858
+ /**
4859
+ *
4860
+ * @type {number}
4861
+ * @memberof PrepaidServiceEntity
4862
+ */
4863
+ 'bookingFee': number;
4864
+ /**
4865
+ *
4866
+ * @type {string}
4867
+ * @memberof PrepaidServiceEntity
4868
+ */
4869
+ 'description': string;
4870
+ /**
4871
+ *
4872
+ * @type {boolean}
4873
+ * @memberof PrepaidServiceEntity
4874
+ */
4875
+ 'exceedMaximumPeople': boolean;
4876
+ /**
4877
+ *
4878
+ * @type {boolean}
4879
+ * @memberof PrepaidServiceEntity
4880
+ */
4881
+ 'recurringPayment': boolean;
4882
+ /**
4883
+ *
4884
+ * @type {string}
4885
+ * @memberof PrepaidServiceEntity
4886
+ */
4887
+ 'email': string;
4888
+ /**
4889
+ *
4890
+ * @type {Array<string>}
4891
+ * @memberof PrepaidServiceEntity
4892
+ */
4893
+ 'discount': Array<string>;
4821
4894
  }
4822
4895
 
4823
4896
  export const PrepaidServiceEntityCategoryEnum = {
@@ -4925,6 +4998,36 @@ export interface PrepaidServicePayloadDTO {
4925
4998
  * @memberof PrepaidServicePayloadDTO
4926
4999
  */
4927
5000
  'venue': string;
5001
+ /**
5002
+ *
5003
+ * @type {number}
5004
+ * @memberof PrepaidServicePayloadDTO
5005
+ */
5006
+ 'bookingFee': number;
5007
+ /**
5008
+ *
5009
+ * @type {string}
5010
+ * @memberof PrepaidServicePayloadDTO
5011
+ */
5012
+ 'description': string;
5013
+ /**
5014
+ *
5015
+ * @type {boolean}
5016
+ * @memberof PrepaidServicePayloadDTO
5017
+ */
5018
+ 'exceedMaximumPeople': boolean;
5019
+ /**
5020
+ *
5021
+ * @type {boolean}
5022
+ * @memberof PrepaidServicePayloadDTO
5023
+ */
5024
+ 'recurringPayment': boolean;
5025
+ /**
5026
+ *
5027
+ * @type {string}
5028
+ * @memberof PrepaidServicePayloadDTO
5029
+ */
5030
+ 'email': string;
4928
5031
  }
4929
5032
 
4930
5033
  export const PrepaidServicePayloadDTOCategoryEnum = {
@@ -5123,6 +5226,76 @@ export interface RenameCalendarPayload {
5123
5226
  */
5124
5227
  'name': string;
5125
5228
  }
5229
+ /**
5230
+ *
5231
+ * @export
5232
+ * @interface Repeat
5233
+ */
5234
+ export interface Repeat {
5235
+ /**
5236
+ * Start date for the events
5237
+ * @type {string}
5238
+ * @memberof Repeat
5239
+ */
5240
+ 'startDate': string;
5241
+ /**
5242
+ * End date for the events
5243
+ * @type {string}
5244
+ * @memberof Repeat
5245
+ */
5246
+ 'endDate': string;
5247
+ /**
5248
+ * Form
5249
+ * @type {string}
5250
+ * @memberof Repeat
5251
+ */
5252
+ 'from': string;
5253
+ /**
5254
+ * to
5255
+ * @type {string}
5256
+ * @memberof Repeat
5257
+ */
5258
+ 'to': string;
5259
+ /**
5260
+ *
5261
+ * @type {string}
5262
+ * @memberof Repeat
5263
+ */
5264
+ 'finalBookingTime'?: RepeatFinalBookingTimeEnum;
5265
+ /**
5266
+ * to
5267
+ * @type {string}
5268
+ * @memberof Repeat
5269
+ */
5270
+ 'time'?: string;
5271
+ /**
5272
+ *
5273
+ * @type {string}
5274
+ * @memberof Repeat
5275
+ */
5276
+ 'repeat'?: RepeatRepeatEnum;
5277
+ /**
5278
+ *
5279
+ * @type {string}
5280
+ * @memberof Repeat
5281
+ */
5282
+ 'repeatEndDate'?: string;
5283
+ }
5284
+
5285
+ export const RepeatFinalBookingTimeEnum = {
5286
+ _5HourBeforeEventStarts: '5 hour before event starts'
5287
+ } as const;
5288
+
5289
+ export type RepeatFinalBookingTimeEnum = typeof RepeatFinalBookingTimeEnum[keyof typeof RepeatFinalBookingTimeEnum];
5290
+ export const RepeatRepeatEnum = {
5291
+ None: 'NONE',
5292
+ EveryWeek: 'EVERY_WEEK',
5293
+ EveryMonth: 'EVERY_MONTH',
5294
+ EveryYear: 'EVERY_YEAR'
5295
+ } as const;
5296
+
5297
+ export type RepeatRepeatEnum = typeof RepeatRepeatEnum[keyof typeof RepeatRepeatEnum];
5298
+
5126
5299
  /**
5127
5300
  *
5128
5301
  * @export
@@ -5196,16 +5369,73 @@ export interface SendFriendshipRequestPayload {
5196
5369
  /**
5197
5370
  *
5198
5371
  * @export
5199
- * @interface Setting
5372
+ * @interface ServiceEndRepeat
5200
5373
  */
5201
- export interface Setting {
5374
+ export interface ServiceEndRepeat {
5375
+ /**
5376
+ * Start date for the events
5377
+ * @type {string}
5378
+ * @memberof ServiceEndRepeat
5379
+ */
5380
+ 'startDate': string;
5381
+ /**
5382
+ * End date for the events
5383
+ * @type {string}
5384
+ * @memberof ServiceEndRepeat
5385
+ */
5386
+ 'endDate': string;
5387
+ /**
5388
+ * Form
5389
+ * @type {string}
5390
+ * @memberof ServiceEndRepeat
5391
+ */
5392
+ 'from': string;
5393
+ /**
5394
+ * to
5395
+ * @type {string}
5396
+ * @memberof ServiceEndRepeat
5397
+ */
5398
+ 'to': string;
5202
5399
  /**
5203
5400
  *
5204
- * @type {number}
5205
- * @memberof Setting
5401
+ * @type {string}
5402
+ * @memberof ServiceEndRepeat
5206
5403
  */
5207
- 'capacity': number;
5404
+ 'finalBookingTime': ServiceEndRepeatFinalBookingTimeEnum;
5405
+ /**
5406
+ * to
5407
+ * @type {string}
5408
+ * @memberof ServiceEndRepeat
5409
+ */
5410
+ 'time': string;
5411
+ /**
5412
+ *
5413
+ * @type {string}
5414
+ * @memberof ServiceEndRepeat
5415
+ */
5416
+ 'repeat': ServiceEndRepeatRepeatEnum;
5417
+ /**
5418
+ *
5419
+ * @type {string}
5420
+ * @memberof ServiceEndRepeat
5421
+ */
5422
+ 'repeatEndDate': string;
5208
5423
  }
5424
+
5425
+ export const ServiceEndRepeatFinalBookingTimeEnum = {
5426
+ _5HourBeforeEventStarts: '5 hour before event starts'
5427
+ } as const;
5428
+
5429
+ export type ServiceEndRepeatFinalBookingTimeEnum = typeof ServiceEndRepeatFinalBookingTimeEnum[keyof typeof ServiceEndRepeatFinalBookingTimeEnum];
5430
+ export const ServiceEndRepeatRepeatEnum = {
5431
+ None: 'NONE',
5432
+ EveryWeek: 'EVERY_WEEK',
5433
+ EveryMonth: 'EVERY_MONTH',
5434
+ EveryYear: 'EVERY_YEAR'
5435
+ } as const;
5436
+
5437
+ export type ServiceEndRepeatRepeatEnum = typeof ServiceEndRepeatRepeatEnum[keyof typeof ServiceEndRepeatRepeatEnum];
5438
+
5209
5439
  /**
5210
5440
  *
5211
5441
  * @export
@@ -6753,10 +6983,10 @@ export interface WhatsOnEntity {
6753
6983
  'description': string;
6754
6984
  /**
6755
6985
  *
6756
- * @type {Setting}
6986
+ * @type {number}
6757
6987
  * @memberof WhatsOnEntity
6758
6988
  */
6759
- 'setting': Setting;
6989
+ 'capacity': number;
6760
6990
  /**
6761
6991
  * Business venue
6762
6992
  * @type {string}
@@ -6811,6 +7041,18 @@ export interface WhatsOnEntity {
6811
7041
  * @memberof WhatsOnEntity
6812
7042
  */
6813
7043
  'bookingFee': number;
7044
+ /**
7045
+ *
7046
+ * @type {Repeat}
7047
+ * @memberof WhatsOnEntity
7048
+ */
7049
+ 'repeat': Repeat;
7050
+ /**
7051
+ *
7052
+ * @type {Array<string>}
7053
+ * @memberof WhatsOnEntity
7054
+ */
7055
+ 'discount': Array<string>;
6814
7056
  }
6815
7057
  /**
6816
7058
  *
@@ -6855,18 +7097,6 @@ export interface WhatsOnPayloadDTO {
6855
7097
  * @memberof WhatsOnPayloadDTO
6856
7098
  */
6857
7099
  'title': string;
6858
- /**
6859
- * Start date for the events
6860
- * @type {string}
6861
- * @memberof WhatsOnPayloadDTO
6862
- */
6863
- 'startDate': string;
6864
- /**
6865
- * End date for the events
6866
- * @type {string}
6867
- * @memberof WhatsOnPayloadDTO
6868
- */
6869
- 'endDate': string;
6870
7100
  /**
6871
7101
  *
6872
7102
  * @type {Array<string>}
@@ -6893,10 +7123,10 @@ export interface WhatsOnPayloadDTO {
6893
7123
  'description': string;
6894
7124
  /**
6895
7125
  *
6896
- * @type {Setting}
7126
+ * @type {number}
6897
7127
  * @memberof WhatsOnPayloadDTO
6898
7128
  */
6899
- 'setting': Setting;
7129
+ 'capacity': number;
6900
7130
  /**
6901
7131
  * Business venue
6902
7132
  * @type {string}
@@ -6939,6 +7169,18 @@ export interface WhatsOnPayloadDTO {
6939
7169
  * @memberof WhatsOnPayloadDTO
6940
7170
  */
6941
7171
  'location': LocationDTO;
7172
+ /**
7173
+ *
7174
+ * @type {Repeat}
7175
+ * @memberof WhatsOnPayloadDTO
7176
+ */
7177
+ 'repeat': Repeat;
7178
+ /**
7179
+ *
7180
+ * @type {Array<Discount>}
7181
+ * @memberof WhatsOnPayloadDTO
7182
+ */
7183
+ 'discounts': Array<Discount>;
6942
7184
  }
6943
7185
  /**
6944
7186
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.2.65",
3
+ "version": "1.2.67",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},