@tennac-booking/sdk 1.0.123 → 1.0.125

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 (51) hide show
  1. package/.openapi-generator/FILES +343 -331
  2. package/README.md +16 -4
  3. package/api.ts +569 -226
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +449 -141
  8. package/dist/api.js +136 -79
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +449 -141
  16. package/dist/esm/api.js +132 -75
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/CreateSubscriptionPlanRequestDiscount.md +0 -2
  28. package/docs/DeleteSubscriptionPlanResponse.md +0 -2
  29. package/docs/EventBookingDetailSummary.md +40 -0
  30. package/docs/EventBookingResponse.md +36 -0
  31. package/docs/EventBookingResponsePlayersInner.md +28 -0
  32. package/docs/EventBookingResponsePlayersInnerInvoiceStatus.md +18 -0
  33. package/docs/EventBookingResponseSetupStatus.md +18 -0
  34. package/docs/EventBookingStatus.md +16 -0
  35. package/docs/EventsApi.md +4 -1
  36. package/docs/InvoiceStatusSETUPPENDING.md +8 -0
  37. package/docs/InvoiceStatusSETUPSUCCESS.md +8 -0
  38. package/docs/OffPeakRule.md +0 -2
  39. package/docs/ParticipationType.md +10 -0
  40. package/docs/PublicSubscriptionPlanResponse.md +0 -2
  41. package/docs/PublishEventResponse.md +2 -0
  42. package/docs/SubscriptionPlanResponse.md +0 -4
  43. package/docs/SubscriptionsManagerApi.md +1 -55
  44. package/docs/UserEventParticipation.md +22 -0
  45. package/docs/UserEventSummary.md +44 -0
  46. package/docs/UserEventsResponse.md +28 -0
  47. package/docs/UsersApi.md +54 -0
  48. package/docs/VisibilityType.md +12 -0
  49. package/index.ts +1 -1
  50. package/package.json +1 -1
  51. package/docs/SubscriptionPlanDiscountResponse.md +0 -34
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.121
7
+ * The version of the OpenAPI document: 1.0.125
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -116,6 +116,18 @@ export const DiscountType = {
116
116
  Percentage: 'percentage',
117
117
  OffPeak: 'off_peak'
118
118
  };
119
+ /**
120
+ *
121
+ * @export
122
+ * @enum {string}
123
+ */
124
+ export const EventBookingStatus = {
125
+ Pending: 'pending',
126
+ Paid: 'paid',
127
+ Cancelled: 'cancelled',
128
+ Expired: 'expired',
129
+ Archived: 'archived'
130
+ };
119
131
  export const EventResponseTypeEnum = {
120
132
  Event: 'event',
121
133
  Closure: 'closure'
@@ -177,6 +189,31 @@ export const InvoiceStatus = {
177
189
  Canceled: 'canceled',
178
190
  Expired: 'expired'
179
191
  };
192
+ /**
193
+ *
194
+ * @export
195
+ * @enum {string}
196
+ */
197
+ export const InvoiceStatusSETUPPENDING = {
198
+ SetupPending: 'setup_pending'
199
+ };
200
+ /**
201
+ *
202
+ * @export
203
+ * @enum {string}
204
+ */
205
+ export const InvoiceStatusSETUPSUCCESS = {
206
+ SetupSuccess: 'setup_success'
207
+ };
208
+ /**
209
+ *
210
+ * @export
211
+ * @enum {string}
212
+ */
213
+ export const ParticipationType = {
214
+ Solo: 'solo',
215
+ Team: 'team'
216
+ };
180
217
  /**
181
218
  *
182
219
  * @export
@@ -390,6 +427,16 @@ export const UpdateEventRequestVisibilityTypeEnum = {
390
427
  export const UserLocationSummaryTypeEnum = {
391
428
  Point: 'Point'
392
429
  };
430
+ /**
431
+ *
432
+ * @export
433
+ * @enum {string}
434
+ */
435
+ export const VisibilityType = {
436
+ Public: 'public',
437
+ Private: 'private',
438
+ Invitation: 'invitation'
439
+ };
393
440
  /**
394
441
  * BookingsApi - axios parameter creator
395
442
  * @export
@@ -7276,10 +7323,11 @@ export const EventsApiAxiosParamCreator = function (configuration) {
7276
7323
  /**
7277
7324
  * Get a specific event by ID
7278
7325
  * @param {string} eventId
7326
+ * @param {string} [userId]
7279
7327
  * @param {*} [options] Override http request option.
7280
7328
  * @throws {RequiredError}
7281
7329
  */
7282
- getEventById: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
7330
+ getEventById: (eventId_1, userId_1, ...args_1) => __awaiter(this, [eventId_1, userId_1, ...args_1], void 0, function* (eventId, userId, options = {}) {
7283
7331
  // verify required parameter 'eventId' is not null or undefined
7284
7332
  assertParamExists('getEventById', 'eventId', eventId);
7285
7333
  const localVarPath = `/api/events/{eventId}`
@@ -7293,6 +7341,9 @@ export const EventsApiAxiosParamCreator = function (configuration) {
7293
7341
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7294
7342
  const localVarHeaderParameter = {};
7295
7343
  const localVarQueryParameter = {};
7344
+ if (userId !== undefined) {
7345
+ localVarQueryParameter['userId'] = userId;
7346
+ }
7296
7347
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7297
7348
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7298
7349
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7452,13 +7503,14 @@ export const EventsApiFp = function (configuration) {
7452
7503
  /**
7453
7504
  * Get a specific event by ID
7454
7505
  * @param {string} eventId
7506
+ * @param {string} [userId]
7455
7507
  * @param {*} [options] Override http request option.
7456
7508
  * @throws {RequiredError}
7457
7509
  */
7458
- getEventById(eventId, options) {
7510
+ getEventById(eventId, userId, options) {
7459
7511
  return __awaiter(this, void 0, void 0, function* () {
7460
7512
  var _a, _b, _c;
7461
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventById(eventId, options);
7513
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventById(eventId, userId, options);
7462
7514
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7463
7515
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.getEventById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7464
7516
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7547,7 +7599,7 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
7547
7599
  * @throws {RequiredError}
7548
7600
  */
7549
7601
  getEventById(requestParameters, options) {
7550
- return localVarFp.getEventById(requestParameters.eventId, options).then((request) => request(axios, basePath));
7602
+ return localVarFp.getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(axios, basePath));
7551
7603
  },
7552
7604
  /**
7553
7605
  * Get all published events for a club
@@ -7613,7 +7665,7 @@ export class EventsApi extends BaseAPI {
7613
7665
  * @memberof EventsApi
7614
7666
  */
7615
7667
  getEventById(requestParameters, options) {
7616
- return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
7668
+ return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
7617
7669
  }
7618
7670
  /**
7619
7671
  * Get all published events for a club
@@ -9058,37 +9110,6 @@ export class SportsPublicApi extends BaseAPI {
9058
9110
  */
9059
9111
  export const SubscriptionsManagerApiAxiosParamCreator = function (configuration) {
9060
9112
  return {
9061
- /**
9062
- * Supprime (archive) un plan par productId (manager)
9063
- * @param {string} productId
9064
- * @param {*} [options] Override http request option.
9065
- * @throws {RequiredError}
9066
- */
9067
- archivePlan: (productId_1, ...args_1) => __awaiter(this, [productId_1, ...args_1], void 0, function* (productId, options = {}) {
9068
- // verify required parameter 'productId' is not null or undefined
9069
- assertParamExists('archivePlan', 'productId', productId);
9070
- const localVarPath = `/api/subscriptions/plans/{productId}/archive`
9071
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
9072
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9073
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9074
- let baseOptions;
9075
- if (configuration) {
9076
- baseOptions = configuration.baseOptions;
9077
- }
9078
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
9079
- const localVarHeaderParameter = {};
9080
- const localVarQueryParameter = {};
9081
- // authentication bearerAuth required
9082
- // http bearer authentication required
9083
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
9084
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9085
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9086
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9087
- return {
9088
- url: toPathString(localVarUrlObj),
9089
- options: localVarRequestOptions,
9090
- };
9091
- }),
9092
9113
  /**
9093
9114
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9094
9115
  * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
@@ -9122,7 +9143,7 @@ export const SubscriptionsManagerApiAxiosParamCreator = function (configuration)
9122
9143
  };
9123
9144
  }),
9124
9145
  /**
9125
- * Supprime un plan par productId (manager)
9146
+ * Supprime (archive) un plan par productId (manager)
9126
9147
  * @param {string} productId
9127
9148
  * @param {*} [options] Override http request option.
9128
9149
  * @throws {RequiredError}
@@ -9193,21 +9214,6 @@ export const SubscriptionsManagerApiAxiosParamCreator = function (configuration)
9193
9214
  export const SubscriptionsManagerApiFp = function (configuration) {
9194
9215
  const localVarAxiosParamCreator = SubscriptionsManagerApiAxiosParamCreator(configuration);
9195
9216
  return {
9196
- /**
9197
- * Supprime (archive) un plan par productId (manager)
9198
- * @param {string} productId
9199
- * @param {*} [options] Override http request option.
9200
- * @throws {RequiredError}
9201
- */
9202
- archivePlan(productId, options) {
9203
- return __awaiter(this, void 0, void 0, function* () {
9204
- var _a, _b, _c;
9205
- const localVarAxiosArgs = yield localVarAxiosParamCreator.archivePlan(productId, options);
9206
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9207
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SubscriptionsManagerApi.archivePlan']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9208
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9209
- });
9210
- },
9211
9217
  /**
9212
9218
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9213
9219
  * @param {CreateSubscriptionPlanRequest} createSubscriptionPlanRequest
@@ -9224,7 +9230,7 @@ export const SubscriptionsManagerApiFp = function (configuration) {
9224
9230
  });
9225
9231
  },
9226
9232
  /**
9227
- * Supprime un plan par productId (manager)
9233
+ * Supprime (archive) un plan par productId (manager)
9228
9234
  * @param {string} productId
9229
9235
  * @param {*} [options] Override http request option.
9230
9236
  * @throws {RequiredError}
@@ -9262,15 +9268,6 @@ export const SubscriptionsManagerApiFp = function (configuration) {
9262
9268
  export const SubscriptionsManagerApiFactory = function (configuration, basePath, axios) {
9263
9269
  const localVarFp = SubscriptionsManagerApiFp(configuration);
9264
9270
  return {
9265
- /**
9266
- * Supprime (archive) un plan par productId (manager)
9267
- * @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
9268
- * @param {*} [options] Override http request option.
9269
- * @throws {RequiredError}
9270
- */
9271
- archivePlan(requestParameters, options) {
9272
- return localVarFp.archivePlan(requestParameters.productId, options).then((request) => request(axios, basePath));
9273
- },
9274
9271
  /**
9275
9272
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9276
9273
  * @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
@@ -9281,7 +9278,7 @@ export const SubscriptionsManagerApiFactory = function (configuration, basePath,
9281
9278
  return localVarFp.createPlan(requestParameters.createSubscriptionPlanRequest, options).then((request) => request(axios, basePath));
9282
9279
  },
9283
9280
  /**
9284
- * Supprime un plan par productId (manager)
9281
+ * Supprime (archive) un plan par productId (manager)
9285
9282
  * @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
9286
9283
  * @param {*} [options] Override http request option.
9287
9284
  * @throws {RequiredError}
@@ -9307,16 +9304,6 @@ export const SubscriptionsManagerApiFactory = function (configuration, basePath,
9307
9304
  * @extends {BaseAPI}
9308
9305
  */
9309
9306
  export class SubscriptionsManagerApi extends BaseAPI {
9310
- /**
9311
- * Supprime (archive) un plan par productId (manager)
9312
- * @param {SubscriptionsManagerApiArchivePlanRequest} requestParameters Request parameters.
9313
- * @param {*} [options] Override http request option.
9314
- * @throws {RequiredError}
9315
- * @memberof SubscriptionsManagerApi
9316
- */
9317
- archivePlan(requestParameters, options) {
9318
- return SubscriptionsManagerApiFp(this.configuration).archivePlan(requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
9319
- }
9320
9307
  /**
9321
9308
  * Crée un nouveau plan d\'abonnement (produit + price) pour le club (manager)
9322
9309
  * @param {SubscriptionsManagerApiCreatePlanRequest} requestParameters Request parameters.
@@ -9328,7 +9315,7 @@ export class SubscriptionsManagerApi extends BaseAPI {
9328
9315
  return SubscriptionsManagerApiFp(this.configuration).createPlan(requestParameters.createSubscriptionPlanRequest, options).then((request) => request(this.axios, this.basePath));
9329
9316
  }
9330
9317
  /**
9331
- * Supprime un plan par productId (manager)
9318
+ * Supprime (archive) un plan par productId (manager)
9332
9319
  * @param {SubscriptionsManagerApiDeletePlanRequest} requestParameters Request parameters.
9333
9320
  * @param {*} [options] Override http request option.
9334
9321
  * @throws {RequiredError}
@@ -10567,6 +10554,41 @@ export const UsersApiAxiosParamCreator = function (configuration) {
10567
10554
  options: localVarRequestOptions,
10568
10555
  };
10569
10556
  }),
10557
+ /**
10558
+ *
10559
+ * @param {number} [limit]
10560
+ * @param {number} [skip]
10561
+ * @param {*} [options] Override http request option.
10562
+ * @throws {RequiredError}
10563
+ */
10564
+ getUserEvents: (limit_1, skip_1, ...args_1) => __awaiter(this, [limit_1, skip_1, ...args_1], void 0, function* (limit, skip, options = {}) {
10565
+ const localVarPath = `/api/users/me/events`;
10566
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10567
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10568
+ let baseOptions;
10569
+ if (configuration) {
10570
+ baseOptions = configuration.baseOptions;
10571
+ }
10572
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
10573
+ const localVarHeaderParameter = {};
10574
+ const localVarQueryParameter = {};
10575
+ // authentication bearerAuth required
10576
+ // http bearer authentication required
10577
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
10578
+ if (limit !== undefined) {
10579
+ localVarQueryParameter['limit'] = limit;
10580
+ }
10581
+ if (skip !== undefined) {
10582
+ localVarQueryParameter['skip'] = skip;
10583
+ }
10584
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10585
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10586
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10587
+ return {
10588
+ url: toPathString(localVarUrlObj),
10589
+ options: localVarRequestOptions,
10590
+ };
10591
+ }),
10570
10592
  /**
10571
10593
  *
10572
10594
  * @param {string} id
@@ -11426,6 +11448,22 @@ export const UsersApiFp = function (configuration) {
11426
11448
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11427
11449
  });
11428
11450
  },
11451
+ /**
11452
+ *
11453
+ * @param {number} [limit]
11454
+ * @param {number} [skip]
11455
+ * @param {*} [options] Override http request option.
11456
+ * @throws {RequiredError}
11457
+ */
11458
+ getUserEvents(limit, skip, options) {
11459
+ return __awaiter(this, void 0, void 0, function* () {
11460
+ var _a, _b, _c;
11461
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserEvents(limit, skip, options);
11462
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11463
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.getUserEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11464
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11465
+ });
11466
+ },
11429
11467
  /**
11430
11468
  *
11431
11469
  * @param {string} id
@@ -11867,6 +11905,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
11867
11905
  getUserBookings(requestParameters = {}, options) {
11868
11906
  return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
11869
11907
  },
11908
+ /**
11909
+ *
11910
+ * @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
11911
+ * @param {*} [options] Override http request option.
11912
+ * @throws {RequiredError}
11913
+ */
11914
+ getUserEvents(requestParameters = {}, options) {
11915
+ return localVarFp.getUserEvents(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
11916
+ },
11870
11917
  /**
11871
11918
  *
11872
11919
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -12209,6 +12256,16 @@ export class UsersApi extends BaseAPI {
12209
12256
  getUserBookings(requestParameters = {}, options) {
12210
12257
  return UsersApiFp(this.configuration).getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
12211
12258
  }
12259
+ /**
12260
+ *
12261
+ * @param {UsersApiGetUserEventsRequest} requestParameters Request parameters.
12262
+ * @param {*} [options] Override http request option.
12263
+ * @throws {RequiredError}
12264
+ * @memberof UsersApi
12265
+ */
12266
+ getUserEvents(requestParameters = {}, options) {
12267
+ return UsersApiFp(this.configuration).getUserEvents(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
12268
+ }
12212
12269
  /**
12213
12270
  *
12214
12271
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.121
5
+ * The version of the OpenAPI document: 1.0.125
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.121
7
+ * The version of the OpenAPI document: 1.0.125
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.121
5
+ * The version of the OpenAPI document: 1.0.125
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.121
7
+ * The version of the OpenAPI document: 1.0.125
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.121
5
+ * The version of the OpenAPI document: 1.0.125
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.121
7
+ * The version of the OpenAPI document: 1.0.125
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.121
5
+ * The version of the OpenAPI document: 1.0.125
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.121
7
+ * The version of the OpenAPI document: 1.0.125
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.121
5
+ * The version of the OpenAPI document: 1.0.125
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.121
8
+ * The version of the OpenAPI document: 1.0.125
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **bookingFree** | **boolean** | | [optional] [default to undefined]
9
9
  **offPeakRules** | [**Array<OffPeakRule>**](OffPeakRule.md) | | [optional] [default to undefined]
10
- **offPeakRuleNames** | **Array<string>** | Liste optionnelle des noms de périodes tarifaires sur lesquelles appliquer la remise. Laisser vide pour appliquer la remise à toutes les heures d\'ouverture du club. | [optional] [default to undefined]
11
10
  **validTo** | **string** | | [optional] [default to undefined]
12
11
  **validFrom** | **string** | | [optional] [default to undefined]
13
12
  **maxDiscountAmountInCents** | **number** | | [optional] [default to undefined]
@@ -22,7 +21,6 @@ import { CreateSubscriptionPlanRequestDiscount } from '@tennac-booking/sdk';
22
21
  const instance: CreateSubscriptionPlanRequestDiscount = {
23
22
  bookingFree,
24
23
  offPeakRules,
25
- offPeakRuleNames,
26
24
  validTo,
27
25
  validFrom,
28
26
  maxDiscountAmountInCents,
@@ -6,7 +6,6 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **message** | **string** | | [default to undefined]
9
- **archivedInstead** | **boolean** | | [optional] [default to undefined]
10
9
 
11
10
  ## Example
12
11
 
@@ -15,7 +14,6 @@ import { DeleteSubscriptionPlanResponse } from '@tennac-booking/sdk';
15
14
 
16
15
  const instance: DeleteSubscriptionPlanResponse = {
17
16
  message,
18
- archivedInstead,
19
17
  };
20
18
  ```
21
19
 
@@ -0,0 +1,40 @@
1
+ # EventBookingDetailSummary
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
10
+ **teamName** | **string** | | [optional] [default to undefined]
11
+ **players** | **Array<string>** | | [default to undefined]
12
+ **invoices** | **Array<string>** | | [default to undefined]
13
+ **creatorPaymentMethodId** | **string** | | [optional] [default to undefined]
14
+ **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
15
+ **limitSetupDate** | **string** | | [optional] [default to undefined]
16
+ **limitCancellationDate** | **string** | | [optional] [default to undefined]
17
+ **createdAt** | **string** | | [default to undefined]
18
+ **updatedAt** | **string** | | [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { EventBookingDetailSummary } from '@tennac-booking/sdk';
24
+
25
+ const instance: EventBookingDetailSummary = {
26
+ id,
27
+ status,
28
+ teamName,
29
+ players,
30
+ invoices,
31
+ creatorPaymentMethodId,
32
+ paymentMethodSetupCompleted,
33
+ limitSetupDate,
34
+ limitCancellationDate,
35
+ createdAt,
36
+ updatedAt,
37
+ };
38
+ ```
39
+
40
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,36 @@
1
+ # EventBookingResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
10
+ **teamName** | **string** | | [optional] [default to undefined]
11
+ **players** | [**Array<EventBookingResponsePlayersInner>**](EventBookingResponsePlayersInner.md) | | [default to undefined]
12
+ **setupLimitDate** | **string** | | [optional] [default to undefined]
13
+ **cancellationLimitDate** | **string** | | [optional] [default to undefined]
14
+ **setupStatus** | [**EventBookingResponseSetupStatus**](EventBookingResponseSetupStatus.md) | | [optional] [default to undefined]
15
+ **createdAt** | **string** | | [default to undefined]
16
+ **updatedAt** | **string** | | [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { EventBookingResponse } from '@tennac-booking/sdk';
22
+
23
+ const instance: EventBookingResponse = {
24
+ id,
25
+ status,
26
+ teamName,
27
+ players,
28
+ setupLimitDate,
29
+ cancellationLimitDate,
30
+ setupStatus,
31
+ createdAt,
32
+ updatedAt,
33
+ };
34
+ ```
35
+
36
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # EventBookingResponsePlayersInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **invoiceStatus** | [**EventBookingResponsePlayersInnerInvoiceStatus**](EventBookingResponsePlayersInnerInvoiceStatus.md) | | [optional] [default to undefined]
9
+ **profilePicture** | **string** | | [optional] [default to undefined]
10
+ **lastName** | **string** | | [optional] [default to undefined]
11
+ **firstName** | **string** | | [optional] [default to undefined]
12
+ **id** | **string** | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { EventBookingResponsePlayersInner } from '@tennac-booking/sdk';
18
+
19
+ const instance: EventBookingResponsePlayersInner = {
20
+ invoiceStatus,
21
+ profilePicture,
22
+ lastName,
23
+ firstName,
24
+ id,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,18 @@
1
+ # EventBookingResponsePlayersInnerInvoiceStatus
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+
9
+ ## Example
10
+
11
+ ```typescript
12
+ import { EventBookingResponsePlayersInnerInvoiceStatus } from '@tennac-booking/sdk';
13
+
14
+ const instance: EventBookingResponsePlayersInnerInvoiceStatus = {
15
+ };
16
+ ```
17
+
18
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,18 @@
1
+ # EventBookingResponseSetupStatus
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+
9
+ ## Example
10
+
11
+ ```typescript
12
+ import { EventBookingResponseSetupStatus } from '@tennac-booking/sdk';
13
+
14
+ const instance: EventBookingResponseSetupStatus = {
15
+ };
16
+ ```
17
+
18
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,16 @@
1
+ # EventBookingStatus
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Pending` (value: `'pending'`)
7
+
8
+ * `Paid` (value: `'paid'`)
9
+
10
+ * `Cancelled` (value: `'cancelled'`)
11
+
12
+ * `Expired` (value: `'expired'`)
13
+
14
+ * `Archived` (value: `'archived'`)
15
+
16
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)