@tennac-booking/sdk 1.0.306 → 1.0.308
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/FILES +6 -0
- package/README.md +6 -0
- package/api.ts +363 -0
- package/dist/api.d.ts +347 -0
- package/dist/api.js +35 -5
- package/dist/esm/api.d.ts +347 -0
- package/dist/esm/api.js +29 -0
- package/docs/BookingManagerConsoleResponse.md +2 -0
- package/docs/CreateSubscriptionPlanRequest.md +2 -0
- package/docs/EventBookingDetailSummary.md +28 -0
- package/docs/EventBookingDetailSummaryBookingStatus.md +18 -0
- package/docs/EventBookingDetailSummaryPaymentByPlayersStatusInner.md +34 -0
- package/docs/EventBookingDetailSummaryPaymentPerPlayersInner.md +16 -0
- package/docs/ManagerConsoleOpenGuestContributionResponse.md +42 -0
- package/docs/OpenGuestContributionPaymentChannel.md +10 -0
- package/docs/OpenGuestContributionSource.md +10 -0
- package/docs/OpenGuestContributionStatus.md +14 -0
- package/docs/PublicSubscriptionPlanResponse.md +4 -0
- package/docs/SubscriptionPlanResponse.md +4 -0
- package/docs/UpdateSubscriptionPlanRequest.md +2 -0
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -778,6 +778,12 @@ export interface BookingManagerConsoleResponse {
|
|
|
778
778
|
* @memberof BookingManagerConsoleResponse
|
|
779
779
|
*/
|
|
780
780
|
'invoices': Array<ManagerConsoleInvoiceResponse>;
|
|
781
|
+
/**
|
|
782
|
+
* Contributions d\'invités sur les réservations ouvertes
|
|
783
|
+
* @type {Array<ManagerConsoleOpenGuestContributionResponse>}
|
|
784
|
+
* @memberof BookingManagerConsoleResponse
|
|
785
|
+
*/
|
|
786
|
+
'openGuestContributions': Array<ManagerConsoleOpenGuestContributionResponse>;
|
|
781
787
|
}
|
|
782
788
|
/**
|
|
783
789
|
*
|
|
@@ -6250,6 +6256,12 @@ export interface CreateSubscriptionPlanRequest {
|
|
|
6250
6256
|
* @memberof CreateSubscriptionPlanRequest
|
|
6251
6257
|
*/
|
|
6252
6258
|
'interval': PlanInterval;
|
|
6259
|
+
/**
|
|
6260
|
+
*
|
|
6261
|
+
* @type {number}
|
|
6262
|
+
* @memberof CreateSubscriptionPlanRequest
|
|
6263
|
+
*/
|
|
6264
|
+
'commitmentDurationMonths'?: number;
|
|
6253
6265
|
/**
|
|
6254
6266
|
*
|
|
6255
6267
|
* @type {CreateSubscriptionPlanRequestDiscount}
|
|
@@ -7152,6 +7164,18 @@ export interface EventBookingDetailSummary {
|
|
|
7152
7164
|
* @memberof EventBookingDetailSummary
|
|
7153
7165
|
*/
|
|
7154
7166
|
'status': EventBookingStatus;
|
|
7167
|
+
/**
|
|
7168
|
+
*
|
|
7169
|
+
* @type {EventBookingDetailSummaryBookingStatus}
|
|
7170
|
+
* @memberof EventBookingDetailSummary
|
|
7171
|
+
*/
|
|
7172
|
+
'bookingStatus'?: EventBookingDetailSummaryBookingStatus | null;
|
|
7173
|
+
/**
|
|
7174
|
+
*
|
|
7175
|
+
* @type {string}
|
|
7176
|
+
* @memberof EventBookingDetailSummary
|
|
7177
|
+
*/
|
|
7178
|
+
'userId'?: string;
|
|
7155
7179
|
/**
|
|
7156
7180
|
*
|
|
7157
7181
|
* @type {string}
|
|
@@ -7164,6 +7188,12 @@ export interface EventBookingDetailSummary {
|
|
|
7164
7188
|
* @memberof EventBookingDetailSummary
|
|
7165
7189
|
*/
|
|
7166
7190
|
'players': Array<string>;
|
|
7191
|
+
/**
|
|
7192
|
+
*
|
|
7193
|
+
* @type {Array<string>}
|
|
7194
|
+
* @memberof EventBookingDetailSummary
|
|
7195
|
+
*/
|
|
7196
|
+
'playersIds'?: Array<string>;
|
|
7167
7197
|
/**
|
|
7168
7198
|
*
|
|
7169
7199
|
* @type {Array<EventBookingDetailSummaryPartnersInner>}
|
|
@@ -7176,6 +7206,36 @@ export interface EventBookingDetailSummary {
|
|
|
7176
7206
|
* @memberof EventBookingDetailSummary
|
|
7177
7207
|
*/
|
|
7178
7208
|
'paymentPerPlayers': Array<EventBookingDetailSummaryPaymentPerPlayersInner>;
|
|
7209
|
+
/**
|
|
7210
|
+
*
|
|
7211
|
+
* @type {Array<EventBookingDetailSummaryPaymentByPlayersStatusInner>}
|
|
7212
|
+
* @memberof EventBookingDetailSummary
|
|
7213
|
+
*/
|
|
7214
|
+
'paymentByPlayersStatus'?: Array<EventBookingDetailSummaryPaymentByPlayersStatusInner>;
|
|
7215
|
+
/**
|
|
7216
|
+
*
|
|
7217
|
+
* @type {boolean}
|
|
7218
|
+
* @memberof EventBookingDetailSummary
|
|
7219
|
+
*/
|
|
7220
|
+
'isCreatorPayingAll'?: boolean;
|
|
7221
|
+
/**
|
|
7222
|
+
*
|
|
7223
|
+
* @type {number}
|
|
7224
|
+
* @memberof EventBookingDetailSummary
|
|
7225
|
+
*/
|
|
7226
|
+
'myAmountToPay'?: number | null;
|
|
7227
|
+
/**
|
|
7228
|
+
*
|
|
7229
|
+
* @type {InvoiceStatus}
|
|
7230
|
+
* @memberof EventBookingDetailSummary
|
|
7231
|
+
*/
|
|
7232
|
+
'myPaymentStatus'?: InvoiceStatus | null;
|
|
7233
|
+
/**
|
|
7234
|
+
*
|
|
7235
|
+
* @type {string}
|
|
7236
|
+
* @memberof EventBookingDetailSummary
|
|
7237
|
+
*/
|
|
7238
|
+
'paymentUrl'?: string | null;
|
|
7179
7239
|
/**
|
|
7180
7240
|
*
|
|
7181
7241
|
* @type {string}
|
|
@@ -7212,6 +7272,42 @@ export interface EventBookingDetailSummary {
|
|
|
7212
7272
|
* @memberof EventBookingDetailSummary
|
|
7213
7273
|
*/
|
|
7214
7274
|
'userParticipationStatus'?: EventBookingDetailSummaryUserParticipationStatusEnum;
|
|
7275
|
+
/**
|
|
7276
|
+
*
|
|
7277
|
+
* @type {number}
|
|
7278
|
+
* @memberof EventBookingDetailSummary
|
|
7279
|
+
*/
|
|
7280
|
+
'participantsCount'?: number | null;
|
|
7281
|
+
/**
|
|
7282
|
+
*
|
|
7283
|
+
* @type {number}
|
|
7284
|
+
* @memberof EventBookingDetailSummary
|
|
7285
|
+
*/
|
|
7286
|
+
'playersCount'?: number | null;
|
|
7287
|
+
/**
|
|
7288
|
+
*
|
|
7289
|
+
* @type {number}
|
|
7290
|
+
* @memberof EventBookingDetailSummary
|
|
7291
|
+
*/
|
|
7292
|
+
'reservedPlayerCount'?: number | null;
|
|
7293
|
+
/**
|
|
7294
|
+
*
|
|
7295
|
+
* @type {number}
|
|
7296
|
+
* @memberof EventBookingDetailSummary
|
|
7297
|
+
*/
|
|
7298
|
+
'guestPlayersCount'?: number | null;
|
|
7299
|
+
/**
|
|
7300
|
+
*
|
|
7301
|
+
* @type {number}
|
|
7302
|
+
* @memberof EventBookingDetailSummary
|
|
7303
|
+
*/
|
|
7304
|
+
'guestPaymentsCount'?: number | null;
|
|
7305
|
+
/**
|
|
7306
|
+
*
|
|
7307
|
+
* @type {PaymentDistributionResult}
|
|
7308
|
+
* @memberof EventBookingDetailSummary
|
|
7309
|
+
*/
|
|
7310
|
+
'paymentDistribution'?: PaymentDistributionResult;
|
|
7215
7311
|
/**
|
|
7216
7312
|
*
|
|
7217
7313
|
* @type {string}
|
|
@@ -7231,6 +7327,13 @@ export declare const EventBookingDetailSummaryUserParticipationStatusEnum: {
|
|
|
7231
7327
|
readonly Waitlist: "waitlist";
|
|
7232
7328
|
};
|
|
7233
7329
|
export type EventBookingDetailSummaryUserParticipationStatusEnum = typeof EventBookingDetailSummaryUserParticipationStatusEnum[keyof typeof EventBookingDetailSummaryUserParticipationStatusEnum];
|
|
7330
|
+
/**
|
|
7331
|
+
*
|
|
7332
|
+
* @export
|
|
7333
|
+
* @interface EventBookingDetailSummaryBookingStatus
|
|
7334
|
+
*/
|
|
7335
|
+
export interface EventBookingDetailSummaryBookingStatus {
|
|
7336
|
+
}
|
|
7234
7337
|
/**
|
|
7235
7338
|
*
|
|
7236
7339
|
* @export
|
|
@@ -7262,24 +7365,127 @@ export interface EventBookingDetailSummaryPartnersInner {
|
|
|
7262
7365
|
*/
|
|
7263
7366
|
'id': string;
|
|
7264
7367
|
}
|
|
7368
|
+
/**
|
|
7369
|
+
*
|
|
7370
|
+
* @export
|
|
7371
|
+
* @interface EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7372
|
+
*/
|
|
7373
|
+
export interface EventBookingDetailSummaryPaymentByPlayersStatusInner {
|
|
7374
|
+
/**
|
|
7375
|
+
*
|
|
7376
|
+
* @type {string}
|
|
7377
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7378
|
+
*/
|
|
7379
|
+
'paymentUrl'?: string | null;
|
|
7380
|
+
/**
|
|
7381
|
+
*
|
|
7382
|
+
* @type {string}
|
|
7383
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7384
|
+
*/
|
|
7385
|
+
'response'?: string | null;
|
|
7386
|
+
/**
|
|
7387
|
+
*
|
|
7388
|
+
* @type {boolean}
|
|
7389
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7390
|
+
*/
|
|
7391
|
+
'accepted'?: boolean;
|
|
7392
|
+
/**
|
|
7393
|
+
*
|
|
7394
|
+
* @type {number}
|
|
7395
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7396
|
+
*/
|
|
7397
|
+
'amountToPay'?: number | null;
|
|
7398
|
+
/**
|
|
7399
|
+
*
|
|
7400
|
+
* @type {PaymentMethod}
|
|
7401
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7402
|
+
*/
|
|
7403
|
+
'paymentMethod'?: PaymentMethod | null;
|
|
7404
|
+
/**
|
|
7405
|
+
*
|
|
7406
|
+
* @type {InvoiceStatus}
|
|
7407
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7408
|
+
*/
|
|
7409
|
+
'invoiceStatus'?: InvoiceStatus | null;
|
|
7410
|
+
/**
|
|
7411
|
+
*
|
|
7412
|
+
* @type {string}
|
|
7413
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7414
|
+
*/
|
|
7415
|
+
'invoiceId'?: string | null;
|
|
7416
|
+
/**
|
|
7417
|
+
*
|
|
7418
|
+
* @type {string}
|
|
7419
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7420
|
+
*/
|
|
7421
|
+
'playerId': string;
|
|
7422
|
+
}
|
|
7265
7423
|
/**
|
|
7266
7424
|
*
|
|
7267
7425
|
* @export
|
|
7268
7426
|
* @interface EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7269
7427
|
*/
|
|
7270
7428
|
export interface EventBookingDetailSummaryPaymentPerPlayersInner {
|
|
7429
|
+
/**
|
|
7430
|
+
*
|
|
7431
|
+
* @type {boolean}
|
|
7432
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7433
|
+
*/
|
|
7434
|
+
'isCurrentUser'?: boolean;
|
|
7435
|
+
/**
|
|
7436
|
+
*
|
|
7437
|
+
* @type {string}
|
|
7438
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7439
|
+
*/
|
|
7440
|
+
'response'?: string | null;
|
|
7441
|
+
/**
|
|
7442
|
+
*
|
|
7443
|
+
* @type {boolean}
|
|
7444
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7445
|
+
*/
|
|
7446
|
+
'accepted'?: boolean | null;
|
|
7447
|
+
/**
|
|
7448
|
+
*
|
|
7449
|
+
* @type {PaymentMethod}
|
|
7450
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7451
|
+
*/
|
|
7452
|
+
'paymentMethod'?: PaymentMethod | null;
|
|
7453
|
+
/**
|
|
7454
|
+
*
|
|
7455
|
+
* @type {string}
|
|
7456
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7457
|
+
*/
|
|
7458
|
+
'invoiceId'?: string | null;
|
|
7459
|
+
/**
|
|
7460
|
+
*
|
|
7461
|
+
* @type {number}
|
|
7462
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7463
|
+
*/
|
|
7464
|
+
'amountToPay'?: number | null;
|
|
7271
7465
|
/**
|
|
7272
7466
|
*
|
|
7273
7467
|
* @type {number}
|
|
7274
7468
|
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7275
7469
|
*/
|
|
7276
7470
|
'amount'?: number | null;
|
|
7471
|
+
/**
|
|
7472
|
+
*
|
|
7473
|
+
* @type {InvoiceStatus}
|
|
7474
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7475
|
+
*/
|
|
7476
|
+
'invoiceStatus'?: InvoiceStatus | null;
|
|
7277
7477
|
/**
|
|
7278
7478
|
*
|
|
7279
7479
|
* @type {InvoiceStatus}
|
|
7280
7480
|
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7281
7481
|
*/
|
|
7282
7482
|
'status'?: InvoiceStatus | null;
|
|
7483
|
+
/**
|
|
7484
|
+
*
|
|
7485
|
+
* @type {string}
|
|
7486
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7487
|
+
*/
|
|
7488
|
+
'photo'?: string | null;
|
|
7283
7489
|
/**
|
|
7284
7490
|
*
|
|
7285
7491
|
* @type {string}
|
|
@@ -10916,6 +11122,85 @@ export interface ManagerConsoleInvoiceUserSummary {
|
|
|
10916
11122
|
*/
|
|
10917
11123
|
'profilePictureUrl'?: string;
|
|
10918
11124
|
}
|
|
11125
|
+
/**
|
|
11126
|
+
*
|
|
11127
|
+
* @export
|
|
11128
|
+
* @interface ManagerConsoleOpenGuestContributionResponse
|
|
11129
|
+
*/
|
|
11130
|
+
export interface ManagerConsoleOpenGuestContributionResponse {
|
|
11131
|
+
/**
|
|
11132
|
+
*
|
|
11133
|
+
* @type {OpenGuestContributionSource}
|
|
11134
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11135
|
+
*/
|
|
11136
|
+
'source': OpenGuestContributionSource;
|
|
11137
|
+
/**
|
|
11138
|
+
*
|
|
11139
|
+
* @type {OpenGuestContributionStatus}
|
|
11140
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11141
|
+
*/
|
|
11142
|
+
'status': OpenGuestContributionStatus;
|
|
11143
|
+
/**
|
|
11144
|
+
*
|
|
11145
|
+
* @type {OpenGuestContributionPaymentChannel}
|
|
11146
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11147
|
+
*/
|
|
11148
|
+
'paymentChannel'?: OpenGuestContributionPaymentChannel;
|
|
11149
|
+
/**
|
|
11150
|
+
*
|
|
11151
|
+
* @type {string}
|
|
11152
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11153
|
+
*/
|
|
11154
|
+
'actorPlayerId': string;
|
|
11155
|
+
/**
|
|
11156
|
+
*
|
|
11157
|
+
* @type {Array<string>}
|
|
11158
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11159
|
+
*/
|
|
11160
|
+
'registeredPlayerIds': Array<string>;
|
|
11161
|
+
/**
|
|
11162
|
+
*
|
|
11163
|
+
* @type {number}
|
|
11164
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11165
|
+
*/
|
|
11166
|
+
'requestedPlayersCount': number;
|
|
11167
|
+
/**
|
|
11168
|
+
*
|
|
11169
|
+
* @type {number}
|
|
11170
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11171
|
+
*/
|
|
11172
|
+
'registeredPlayersCount': number;
|
|
11173
|
+
/**
|
|
11174
|
+
*
|
|
11175
|
+
* @type {number}
|
|
11176
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11177
|
+
*/
|
|
11178
|
+
'guestCount': number;
|
|
11179
|
+
/**
|
|
11180
|
+
*
|
|
11181
|
+
* @type {string}
|
|
11182
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11183
|
+
*/
|
|
11184
|
+
'invoiceId'?: string;
|
|
11185
|
+
/**
|
|
11186
|
+
*
|
|
11187
|
+
* @type {string}
|
|
11188
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11189
|
+
*/
|
|
11190
|
+
'setupInvoiceId'?: string;
|
|
11191
|
+
/**
|
|
11192
|
+
*
|
|
11193
|
+
* @type {string}
|
|
11194
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11195
|
+
*/
|
|
11196
|
+
'createdAt': string | null;
|
|
11197
|
+
/**
|
|
11198
|
+
*
|
|
11199
|
+
* @type {string}
|
|
11200
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11201
|
+
*/
|
|
11202
|
+
'resolvedAt'?: string | null;
|
|
11203
|
+
}
|
|
10919
11204
|
/**
|
|
10920
11205
|
*
|
|
10921
11206
|
* @export
|
|
@@ -12536,6 +12821,38 @@ export interface OpenBookingsResponse {
|
|
|
12536
12821
|
*/
|
|
12537
12822
|
'bookings': Array<OpenBookingInfo>;
|
|
12538
12823
|
}
|
|
12824
|
+
/**
|
|
12825
|
+
*
|
|
12826
|
+
* @export
|
|
12827
|
+
* @enum {string}
|
|
12828
|
+
*/
|
|
12829
|
+
export declare const OpenGuestContributionPaymentChannel: {
|
|
12830
|
+
readonly Online: "online";
|
|
12831
|
+
readonly Onsite: "onsite";
|
|
12832
|
+
};
|
|
12833
|
+
export type OpenGuestContributionPaymentChannel = typeof OpenGuestContributionPaymentChannel[keyof typeof OpenGuestContributionPaymentChannel];
|
|
12834
|
+
/**
|
|
12835
|
+
*
|
|
12836
|
+
* @export
|
|
12837
|
+
* @enum {string}
|
|
12838
|
+
*/
|
|
12839
|
+
export declare const OpenGuestContributionSource: {
|
|
12840
|
+
readonly Creation: "creation";
|
|
12841
|
+
readonly Join: "join";
|
|
12842
|
+
};
|
|
12843
|
+
export type OpenGuestContributionSource = typeof OpenGuestContributionSource[keyof typeof OpenGuestContributionSource];
|
|
12844
|
+
/**
|
|
12845
|
+
*
|
|
12846
|
+
* @export
|
|
12847
|
+
* @enum {string}
|
|
12848
|
+
*/
|
|
12849
|
+
export declare const OpenGuestContributionStatus: {
|
|
12850
|
+
readonly Pending: "pending";
|
|
12851
|
+
readonly Confirmed: "confirmed";
|
|
12852
|
+
readonly Expired: "expired";
|
|
12853
|
+
readonly Canceled: "canceled";
|
|
12854
|
+
};
|
|
12855
|
+
export type OpenGuestContributionStatus = typeof OpenGuestContributionStatus[keyof typeof OpenGuestContributionStatus];
|
|
12539
12856
|
/**
|
|
12540
12857
|
*
|
|
12541
12858
|
* @export
|
|
@@ -13806,6 +14123,12 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
13806
14123
|
* @memberof PublicSubscriptionPlanResponse
|
|
13807
14124
|
*/
|
|
13808
14125
|
'name': string;
|
|
14126
|
+
/**
|
|
14127
|
+
*
|
|
14128
|
+
* @type {number}
|
|
14129
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
14130
|
+
*/
|
|
14131
|
+
'subscribersCount': number;
|
|
13809
14132
|
/**
|
|
13810
14133
|
*
|
|
13811
14134
|
* @type {number}
|
|
@@ -13842,6 +14165,12 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
13842
14165
|
* @memberof PublicSubscriptionPlanResponse
|
|
13843
14166
|
*/
|
|
13844
14167
|
'discount'?: SubscriptionPlanDiscountResponse;
|
|
14168
|
+
/**
|
|
14169
|
+
*
|
|
14170
|
+
* @type {number}
|
|
14171
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
14172
|
+
*/
|
|
14173
|
+
'commitmentDurationMonths'?: number;
|
|
13845
14174
|
/**
|
|
13846
14175
|
*
|
|
13847
14176
|
* @type {boolean}
|
|
@@ -16586,6 +16915,12 @@ export interface SubscriptionPlanResponse {
|
|
|
16586
16915
|
* @memberof SubscriptionPlanResponse
|
|
16587
16916
|
*/
|
|
16588
16917
|
'productName': string;
|
|
16918
|
+
/**
|
|
16919
|
+
*
|
|
16920
|
+
* @type {number}
|
|
16921
|
+
* @memberof SubscriptionPlanResponse
|
|
16922
|
+
*/
|
|
16923
|
+
'subscribersCount': number;
|
|
16589
16924
|
/**
|
|
16590
16925
|
*
|
|
16591
16926
|
* @type {boolean}
|
|
@@ -16640,6 +16975,12 @@ export interface SubscriptionPlanResponse {
|
|
|
16640
16975
|
* @memberof SubscriptionPlanResponse
|
|
16641
16976
|
*/
|
|
16642
16977
|
'discount'?: SubscriptionPlanDiscountResponse;
|
|
16978
|
+
/**
|
|
16979
|
+
*
|
|
16980
|
+
* @type {number}
|
|
16981
|
+
* @memberof SubscriptionPlanResponse
|
|
16982
|
+
*/
|
|
16983
|
+
'commitmentDurationMonths'?: number;
|
|
16643
16984
|
}
|
|
16644
16985
|
/**
|
|
16645
16986
|
*
|
|
@@ -18204,6 +18545,12 @@ export interface UpdateSubscriptionPlanRequest {
|
|
|
18204
18545
|
* @memberof UpdateSubscriptionPlanRequest
|
|
18205
18546
|
*/
|
|
18206
18547
|
'interval'?: PlanInterval;
|
|
18548
|
+
/**
|
|
18549
|
+
*
|
|
18550
|
+
* @type {number}
|
|
18551
|
+
* @memberof UpdateSubscriptionPlanRequest
|
|
18552
|
+
*/
|
|
18553
|
+
'commitmentDurationMonths'?: number;
|
|
18207
18554
|
/**
|
|
18208
18555
|
*
|
|
18209
18556
|
* @type {SubscriptionPlanDiscountUpdateRequest}
|
package/dist/esm/api.js
CHANGED
|
@@ -364,6 +364,35 @@ export const OnboardingStatusResponseCurrentStepEnum = {
|
|
|
364
364
|
ConnectedAccountSetup: 'connected_account_setup',
|
|
365
365
|
Completed: 'completed'
|
|
366
366
|
};
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @export
|
|
370
|
+
* @enum {string}
|
|
371
|
+
*/
|
|
372
|
+
export const OpenGuestContributionPaymentChannel = {
|
|
373
|
+
Online: 'online',
|
|
374
|
+
Onsite: 'onsite'
|
|
375
|
+
};
|
|
376
|
+
/**
|
|
377
|
+
*
|
|
378
|
+
* @export
|
|
379
|
+
* @enum {string}
|
|
380
|
+
*/
|
|
381
|
+
export const OpenGuestContributionSource = {
|
|
382
|
+
Creation: 'creation',
|
|
383
|
+
Join: 'join'
|
|
384
|
+
};
|
|
385
|
+
/**
|
|
386
|
+
*
|
|
387
|
+
* @export
|
|
388
|
+
* @enum {string}
|
|
389
|
+
*/
|
|
390
|
+
export const OpenGuestContributionStatus = {
|
|
391
|
+
Pending: 'pending',
|
|
392
|
+
Confirmed: 'confirmed',
|
|
393
|
+
Expired: 'expired',
|
|
394
|
+
Canceled: 'canceled'
|
|
395
|
+
};
|
|
367
396
|
export const PartialPublicAccessSettingsPaymentModeEnum = {
|
|
368
397
|
Free: 'free',
|
|
369
398
|
AccessFee: 'access_fee',
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**booking** | [**BookingPopulated**](BookingPopulated.md) | | [default to undefined]
|
|
9
9
|
**noShowPreview** | [**NoShowPreviewResponse**](NoShowPreviewResponse.md) | | [default to undefined]
|
|
10
10
|
**invoices** | [**Array<ManagerConsoleInvoiceResponse>**](ManagerConsoleInvoiceResponse.md) | Factures liées à la réservation (enrichies pour la console manager) | [default to undefined]
|
|
11
|
+
**openGuestContributions** | [**Array<ManagerConsoleOpenGuestContributionResponse>**](ManagerConsoleOpenGuestContributionResponse.md) | Contributions d\'invités sur les réservations ouvertes | [default to undefined]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ const instance: BookingManagerConsoleResponse = {
|
|
|
18
19
|
booking,
|
|
19
20
|
noShowPreview,
|
|
20
21
|
invoices,
|
|
22
|
+
openGuestContributions,
|
|
21
23
|
};
|
|
22
24
|
```
|
|
23
25
|
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**prices** | [**Array<PlanPriceInput>**](PlanPriceInput.md) | | [default to undefined]
|
|
12
12
|
**currency** | **string** | | [default to undefined]
|
|
13
13
|
**interval** | [**PlanInterval**](PlanInterval.md) | | [default to undefined]
|
|
14
|
+
**commitmentDurationMonths** | **number** | | [optional] [default to undefined]
|
|
14
15
|
**discount** | [**CreateSubscriptionPlanRequestDiscount**](CreateSubscriptionPlanRequestDiscount.md) | | [optional] [default to undefined]
|
|
15
16
|
|
|
16
17
|
## Example
|
|
@@ -25,6 +26,7 @@ const instance: CreateSubscriptionPlanRequest = {
|
|
|
25
26
|
prices,
|
|
26
27
|
currency,
|
|
27
28
|
interval,
|
|
29
|
+
commitmentDurationMonths,
|
|
28
30
|
discount,
|
|
29
31
|
};
|
|
30
32
|
```
|
|
@@ -7,16 +7,30 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**id** | **string** | | [default to undefined]
|
|
9
9
|
**status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
|
|
10
|
+
**bookingStatus** | [**EventBookingDetailSummaryBookingStatus**](EventBookingDetailSummaryBookingStatus.md) | | [optional] [default to undefined]
|
|
11
|
+
**userId** | **string** | | [optional] [default to undefined]
|
|
10
12
|
**teamName** | **string** | | [optional] [default to undefined]
|
|
11
13
|
**players** | **Array<string>** | | [default to undefined]
|
|
14
|
+
**playersIds** | **Array<string>** | | [optional] [default to undefined]
|
|
12
15
|
**partners** | [**Array<EventBookingDetailSummaryPartnersInner>**](EventBookingDetailSummaryPartnersInner.md) | | [optional] [default to undefined]
|
|
13
16
|
**paymentPerPlayers** | [**Array<EventBookingDetailSummaryPaymentPerPlayersInner>**](EventBookingDetailSummaryPaymentPerPlayersInner.md) | Détails des paiements par joueur pour cette réservation d\'événement. Remplace l\'ancien champ `invoices`. | [default to undefined]
|
|
17
|
+
**paymentByPlayersStatus** | [**Array<EventBookingDetailSummaryPaymentByPlayersStatusInner>**](EventBookingDetailSummaryPaymentByPlayersStatusInner.md) | | [optional] [default to undefined]
|
|
18
|
+
**isCreatorPayingAll** | **boolean** | | [optional] [default to undefined]
|
|
19
|
+
**myAmountToPay** | **number** | | [optional] [default to undefined]
|
|
20
|
+
**myPaymentStatus** | [**InvoiceStatus**](InvoiceStatus.md) | | [optional] [default to undefined]
|
|
21
|
+
**paymentUrl** | **string** | | [optional] [default to undefined]
|
|
14
22
|
**creatorPaymentMethodId** | **string** | | [optional] [default to undefined]
|
|
15
23
|
**paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
|
|
16
24
|
**limitSetupDate** | **string** | | [optional] [default to undefined]
|
|
17
25
|
**limitCancellationDate** | **string** | | [optional] [default to undefined]
|
|
18
26
|
**waitListPosition** | **number** | Position dans la file d\'attente si l\'utilisateur est en waitlist pour cet événement | [optional] [default to undefined]
|
|
19
27
|
**userParticipationStatus** | **string** | Statut de participation de l\'utilisateur pour cet event booking | [optional] [default to undefined]
|
|
28
|
+
**participantsCount** | **number** | | [optional] [default to undefined]
|
|
29
|
+
**playersCount** | **number** | | [optional] [default to undefined]
|
|
30
|
+
**reservedPlayerCount** | **number** | | [optional] [default to undefined]
|
|
31
|
+
**guestPlayersCount** | **number** | | [optional] [default to undefined]
|
|
32
|
+
**guestPaymentsCount** | **number** | | [optional] [default to undefined]
|
|
33
|
+
**paymentDistribution** | [**PaymentDistributionResult**](PaymentDistributionResult.md) | | [optional] [default to undefined]
|
|
20
34
|
**createdAt** | **string** | | [default to undefined]
|
|
21
35
|
**updatedAt** | **string** | | [default to undefined]
|
|
22
36
|
|
|
@@ -28,16 +42,30 @@ import { EventBookingDetailSummary } from '@tennac-booking/sdk';
|
|
|
28
42
|
const instance: EventBookingDetailSummary = {
|
|
29
43
|
id,
|
|
30
44
|
status,
|
|
45
|
+
bookingStatus,
|
|
46
|
+
userId,
|
|
31
47
|
teamName,
|
|
32
48
|
players,
|
|
49
|
+
playersIds,
|
|
33
50
|
partners,
|
|
34
51
|
paymentPerPlayers,
|
|
52
|
+
paymentByPlayersStatus,
|
|
53
|
+
isCreatorPayingAll,
|
|
54
|
+
myAmountToPay,
|
|
55
|
+
myPaymentStatus,
|
|
56
|
+
paymentUrl,
|
|
35
57
|
creatorPaymentMethodId,
|
|
36
58
|
paymentMethodSetupCompleted,
|
|
37
59
|
limitSetupDate,
|
|
38
60
|
limitCancellationDate,
|
|
39
61
|
waitListPosition,
|
|
40
62
|
userParticipationStatus,
|
|
63
|
+
participantsCount,
|
|
64
|
+
playersCount,
|
|
65
|
+
reservedPlayerCount,
|
|
66
|
+
guestPlayersCount,
|
|
67
|
+
guestPaymentsCount,
|
|
68
|
+
paymentDistribution,
|
|
41
69
|
createdAt,
|
|
42
70
|
updatedAt,
|
|
43
71
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# EventBookingDetailSummaryBookingStatus
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { EventBookingDetailSummaryBookingStatus } from '@tennac-booking/sdk';
|
|
13
|
+
|
|
14
|
+
const instance: EventBookingDetailSummaryBookingStatus = {
|
|
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,34 @@
|
|
|
1
|
+
# EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**paymentUrl** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**response** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**accepted** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**amountToPay** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
|
|
13
|
+
**invoiceStatus** | [**InvoiceStatus**](InvoiceStatus.md) | | [optional] [default to undefined]
|
|
14
|
+
**invoiceId** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**playerId** | **string** | | [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { EventBookingDetailSummaryPaymentByPlayersStatusInner } from '@tennac-booking/sdk';
|
|
21
|
+
|
|
22
|
+
const instance: EventBookingDetailSummaryPaymentByPlayersStatusInner = {
|
|
23
|
+
paymentUrl,
|
|
24
|
+
response,
|
|
25
|
+
accepted,
|
|
26
|
+
amountToPay,
|
|
27
|
+
paymentMethod,
|
|
28
|
+
invoiceStatus,
|
|
29
|
+
invoiceId,
|
|
30
|
+
playerId,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -5,8 +5,16 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**isCurrentUser** | **boolean** | | [optional] [default to undefined]
|
|
9
|
+
**response** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**accepted** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
|
|
12
|
+
**invoiceId** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**amountToPay** | **number** | | [optional] [default to undefined]
|
|
8
14
|
**amount** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**invoiceStatus** | [**InvoiceStatus**](InvoiceStatus.md) | | [optional] [default to undefined]
|
|
9
16
|
**status** | [**InvoiceStatus**](InvoiceStatus.md) | | [optional] [default to undefined]
|
|
17
|
+
**photo** | **string** | | [optional] [default to undefined]
|
|
10
18
|
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
11
19
|
**lastName** | **string** | | [optional] [default to undefined]
|
|
12
20
|
**firstName** | **string** | | [optional] [default to undefined]
|
|
@@ -18,8 +26,16 @@ Name | Type | Description | Notes
|
|
|
18
26
|
import { EventBookingDetailSummaryPaymentPerPlayersInner } from '@tennac-booking/sdk';
|
|
19
27
|
|
|
20
28
|
const instance: EventBookingDetailSummaryPaymentPerPlayersInner = {
|
|
29
|
+
isCurrentUser,
|
|
30
|
+
response,
|
|
31
|
+
accepted,
|
|
32
|
+
paymentMethod,
|
|
33
|
+
invoiceId,
|
|
34
|
+
amountToPay,
|
|
21
35
|
amount,
|
|
36
|
+
invoiceStatus,
|
|
22
37
|
status,
|
|
38
|
+
photo,
|
|
23
39
|
profilePicture,
|
|
24
40
|
lastName,
|
|
25
41
|
firstName,
|