@tennac-booking/sdk 1.0.288 → 1.0.290
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 +566 -4
- package/dist/api.d.ts +570 -4
- package/dist/api.js +15 -5
- package/dist/esm/api.d.ts +570 -4
- package/dist/esm/api.js +10 -0
- package/docs/BookingManagerConsoleResponse.md +2 -0
- package/docs/CreateEventRequest.md +6 -2
- package/docs/EventConflictCheckRequest.md +4 -0
- package/docs/EventResponse.md +4 -0
- package/docs/ManagerConsoleInvoicePlayerSummary.md +28 -0
- package/docs/ManagerConsoleInvoiceResponse.md +96 -0
- package/docs/ManagerConsoleInvoiceResponsePaysForInner.md +22 -0
- package/docs/ManagerConsoleInvoiceResponseStripe.md +26 -0
- package/docs/ManagerConsoleInvoiceResponseSumup.md +42 -0
- package/docs/ManagerConsoleInvoiceUserSummary.md +28 -0
- package/docs/SumupReaderInfo.md +12 -0
- package/docs/UpdateEventRequest.md +4 -0
- package/docs/UpdateRecurringDefinitionRequest.md +4 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -735,6 +735,12 @@ export interface BookingManagerConsoleResponse {
|
|
|
735
735
|
* @memberof BookingManagerConsoleResponse
|
|
736
736
|
*/
|
|
737
737
|
'noShowPreview': NoShowPreviewResponse;
|
|
738
|
+
/**
|
|
739
|
+
* Factures liées à la réservation (enrichies pour la console manager)
|
|
740
|
+
* @type {Array<ManagerConsoleInvoiceResponse>}
|
|
741
|
+
* @memberof BookingManagerConsoleResponse
|
|
742
|
+
*/
|
|
743
|
+
'invoices': Array<ManagerConsoleInvoiceResponse>;
|
|
738
744
|
}
|
|
739
745
|
/**
|
|
740
746
|
*
|
|
@@ -3699,13 +3705,13 @@ export interface ClubPlayerBookingItem {
|
|
|
3699
3705
|
* @type {string}
|
|
3700
3706
|
* @memberof ClubPlayerBookingItem
|
|
3701
3707
|
*/
|
|
3702
|
-
'startDate': string
|
|
3708
|
+
'startDate': string;
|
|
3703
3709
|
/**
|
|
3704
3710
|
* Date de fin de la réservation
|
|
3705
3711
|
* @type {string}
|
|
3706
3712
|
* @memberof ClubPlayerBookingItem
|
|
3707
3713
|
*/
|
|
3708
|
-
'endDate': string
|
|
3714
|
+
'endDate': string;
|
|
3709
3715
|
/**
|
|
3710
3716
|
* Nom du terrain ou emplacement
|
|
3711
3717
|
* @type {string}
|
|
@@ -5554,13 +5560,13 @@ export interface CreateEventRequest {
|
|
|
5554
5560
|
* @type {boolean}
|
|
5555
5561
|
* @memberof CreateEventRequest
|
|
5556
5562
|
*/
|
|
5557
|
-
'isAllDay'
|
|
5563
|
+
'isAllDay'?: boolean;
|
|
5558
5564
|
/**
|
|
5559
5565
|
*
|
|
5560
5566
|
* @type {string}
|
|
5561
5567
|
* @memberof CreateEventRequest
|
|
5562
5568
|
*/
|
|
5563
|
-
'date'
|
|
5569
|
+
'date'?: string;
|
|
5564
5570
|
/**
|
|
5565
5571
|
*
|
|
5566
5572
|
* @type {number}
|
|
@@ -5573,6 +5579,18 @@ export interface CreateEventRequest {
|
|
|
5573
5579
|
* @memberof CreateEventRequest
|
|
5574
5580
|
*/
|
|
5575
5581
|
'endTime'?: number;
|
|
5582
|
+
/**
|
|
5583
|
+
*
|
|
5584
|
+
* @type {string}
|
|
5585
|
+
* @memberof CreateEventRequest
|
|
5586
|
+
*/
|
|
5587
|
+
'startDate'?: string;
|
|
5588
|
+
/**
|
|
5589
|
+
*
|
|
5590
|
+
* @type {string}
|
|
5591
|
+
* @memberof CreateEventRequest
|
|
5592
|
+
*/
|
|
5593
|
+
'endDate'?: string;
|
|
5576
5594
|
/**
|
|
5577
5595
|
*
|
|
5578
5596
|
* @type {Array<string>}
|
|
@@ -7242,6 +7260,18 @@ export interface EventConflictCheckRequest {
|
|
|
7242
7260
|
* @memberof EventConflictCheckRequest
|
|
7243
7261
|
*/
|
|
7244
7262
|
'clubId'?: string;
|
|
7263
|
+
/**
|
|
7264
|
+
*
|
|
7265
|
+
* @type {string}
|
|
7266
|
+
* @memberof EventConflictCheckRequest
|
|
7267
|
+
*/
|
|
7268
|
+
'startDate'?: string;
|
|
7269
|
+
/**
|
|
7270
|
+
*
|
|
7271
|
+
* @type {string}
|
|
7272
|
+
* @memberof EventConflictCheckRequest
|
|
7273
|
+
*/
|
|
7274
|
+
'endDate'?: string;
|
|
7245
7275
|
/**
|
|
7246
7276
|
*
|
|
7247
7277
|
* @type {string}
|
|
@@ -7615,6 +7645,18 @@ export interface EventResponse {
|
|
|
7615
7645
|
* @memberof EventResponse
|
|
7616
7646
|
*/
|
|
7617
7647
|
'endTime'?: number;
|
|
7648
|
+
/**
|
|
7649
|
+
*
|
|
7650
|
+
* @type {string}
|
|
7651
|
+
* @memberof EventResponse
|
|
7652
|
+
*/
|
|
7653
|
+
'startDate': string;
|
|
7654
|
+
/**
|
|
7655
|
+
*
|
|
7656
|
+
* @type {string}
|
|
7657
|
+
* @memberof EventResponse
|
|
7658
|
+
*/
|
|
7659
|
+
'endDate': string;
|
|
7618
7660
|
/**
|
|
7619
7661
|
*
|
|
7620
7662
|
* @type {Array<string>}
|
|
@@ -10037,6 +10079,470 @@ export interface ManagerCancelBookingResponse {
|
|
|
10037
10079
|
*/
|
|
10038
10080
|
'booking': BookingInfo;
|
|
10039
10081
|
}
|
|
10082
|
+
/**
|
|
10083
|
+
*
|
|
10084
|
+
* @export
|
|
10085
|
+
* @interface ManagerConsoleInvoicePlayerSummary
|
|
10086
|
+
*/
|
|
10087
|
+
export interface ManagerConsoleInvoicePlayerSummary {
|
|
10088
|
+
/**
|
|
10089
|
+
*
|
|
10090
|
+
* @type {string}
|
|
10091
|
+
* @memberof ManagerConsoleInvoicePlayerSummary
|
|
10092
|
+
*/
|
|
10093
|
+
'playerId': string;
|
|
10094
|
+
/**
|
|
10095
|
+
*
|
|
10096
|
+
* @type {string}
|
|
10097
|
+
* @memberof ManagerConsoleInvoicePlayerSummary
|
|
10098
|
+
*/
|
|
10099
|
+
'firstName': string;
|
|
10100
|
+
/**
|
|
10101
|
+
*
|
|
10102
|
+
* @type {string}
|
|
10103
|
+
* @memberof ManagerConsoleInvoicePlayerSummary
|
|
10104
|
+
*/
|
|
10105
|
+
'lastName': string;
|
|
10106
|
+
/**
|
|
10107
|
+
*
|
|
10108
|
+
* @type {string}
|
|
10109
|
+
* @memberof ManagerConsoleInvoicePlayerSummary
|
|
10110
|
+
*/
|
|
10111
|
+
'email': string;
|
|
10112
|
+
/**
|
|
10113
|
+
*
|
|
10114
|
+
* @type {number}
|
|
10115
|
+
* @memberof ManagerConsoleInvoicePlayerSummary
|
|
10116
|
+
*/
|
|
10117
|
+
'reducedAmount': number;
|
|
10118
|
+
}
|
|
10119
|
+
/**
|
|
10120
|
+
*
|
|
10121
|
+
* @export
|
|
10122
|
+
* @interface ManagerConsoleInvoiceResponse
|
|
10123
|
+
*/
|
|
10124
|
+
export interface ManagerConsoleInvoiceResponse {
|
|
10125
|
+
/**
|
|
10126
|
+
*
|
|
10127
|
+
* @type {string}
|
|
10128
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10129
|
+
*/
|
|
10130
|
+
'id': string;
|
|
10131
|
+
/**
|
|
10132
|
+
*
|
|
10133
|
+
* @type {string}
|
|
10134
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10135
|
+
*/
|
|
10136
|
+
'billNumber': string;
|
|
10137
|
+
/**
|
|
10138
|
+
*
|
|
10139
|
+
* @type {string}
|
|
10140
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10141
|
+
*/
|
|
10142
|
+
'clubId'?: string;
|
|
10143
|
+
/**
|
|
10144
|
+
*
|
|
10145
|
+
* @type {string}
|
|
10146
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10147
|
+
*/
|
|
10148
|
+
'bookingId'?: string;
|
|
10149
|
+
/**
|
|
10150
|
+
*
|
|
10151
|
+
* @type {string}
|
|
10152
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10153
|
+
*/
|
|
10154
|
+
'userId'?: string;
|
|
10155
|
+
/**
|
|
10156
|
+
*
|
|
10157
|
+
* @type {string}
|
|
10158
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10159
|
+
*/
|
|
10160
|
+
'date': string | null;
|
|
10161
|
+
/**
|
|
10162
|
+
*
|
|
10163
|
+
* @type {string}
|
|
10164
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10165
|
+
*/
|
|
10166
|
+
'paymentDate': string | null;
|
|
10167
|
+
/**
|
|
10168
|
+
*
|
|
10169
|
+
* @type {string}
|
|
10170
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10171
|
+
*/
|
|
10172
|
+
'clientFirstName': string;
|
|
10173
|
+
/**
|
|
10174
|
+
*
|
|
10175
|
+
* @type {string}
|
|
10176
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10177
|
+
*/
|
|
10178
|
+
'clientLastName': string;
|
|
10179
|
+
/**
|
|
10180
|
+
*
|
|
10181
|
+
* @type {string}
|
|
10182
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10183
|
+
*/
|
|
10184
|
+
'clientEmail': string;
|
|
10185
|
+
/**
|
|
10186
|
+
*
|
|
10187
|
+
* @type {number}
|
|
10188
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10189
|
+
*/
|
|
10190
|
+
'totalCost': number;
|
|
10191
|
+
/**
|
|
10192
|
+
*
|
|
10193
|
+
* @type {number}
|
|
10194
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10195
|
+
*/
|
|
10196
|
+
'amount': number;
|
|
10197
|
+
/**
|
|
10198
|
+
*
|
|
10199
|
+
* @type {string}
|
|
10200
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10201
|
+
*/
|
|
10202
|
+
'reason'?: string | null;
|
|
10203
|
+
/**
|
|
10204
|
+
*
|
|
10205
|
+
* @type {string}
|
|
10206
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10207
|
+
*/
|
|
10208
|
+
'status': string | null;
|
|
10209
|
+
/**
|
|
10210
|
+
*
|
|
10211
|
+
* @type {string}
|
|
10212
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10213
|
+
*/
|
|
10214
|
+
'paymentMethod': string | null;
|
|
10215
|
+
/**
|
|
10216
|
+
*
|
|
10217
|
+
* @type {string}
|
|
10218
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10219
|
+
*/
|
|
10220
|
+
'paymentProvider': ManagerConsoleInvoiceResponsePaymentProviderEnum;
|
|
10221
|
+
/**
|
|
10222
|
+
*
|
|
10223
|
+
* @type {string}
|
|
10224
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10225
|
+
*/
|
|
10226
|
+
'flag': ManagerConsoleInvoiceResponseFlagEnum;
|
|
10227
|
+
/**
|
|
10228
|
+
*
|
|
10229
|
+
* @type {ManagerConsoleInvoiceResponseStripe}
|
|
10230
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10231
|
+
*/
|
|
10232
|
+
'stripe': ManagerConsoleInvoiceResponseStripe | null;
|
|
10233
|
+
/**
|
|
10234
|
+
*
|
|
10235
|
+
* @type {ManagerConsoleInvoiceResponseSumup}
|
|
10236
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10237
|
+
*/
|
|
10238
|
+
'sumup': ManagerConsoleInvoiceResponseSumup | null;
|
|
10239
|
+
/**
|
|
10240
|
+
*
|
|
10241
|
+
* @type {string}
|
|
10242
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10243
|
+
*/
|
|
10244
|
+
'linkToInvoicePDF': string | null;
|
|
10245
|
+
/**
|
|
10246
|
+
*
|
|
10247
|
+
* @type {Array<ManagerConsoleInvoiceResponsePaysForInner>}
|
|
10248
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10249
|
+
*/
|
|
10250
|
+
'paysFor': Array<ManagerConsoleInvoiceResponsePaysForInner>;
|
|
10251
|
+
/**
|
|
10252
|
+
*
|
|
10253
|
+
* @type {Array<ManagerConsoleInvoicePlayerSummary>}
|
|
10254
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10255
|
+
*/
|
|
10256
|
+
'players': Array<ManagerConsoleInvoicePlayerSummary>;
|
|
10257
|
+
/**
|
|
10258
|
+
*
|
|
10259
|
+
* @type {number}
|
|
10260
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10261
|
+
*/
|
|
10262
|
+
'reducedAmountForSelf'?: number;
|
|
10263
|
+
/**
|
|
10264
|
+
*
|
|
10265
|
+
* @type {boolean}
|
|
10266
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10267
|
+
*/
|
|
10268
|
+
'isWaitList'?: boolean;
|
|
10269
|
+
/**
|
|
10270
|
+
*
|
|
10271
|
+
* @type {boolean}
|
|
10272
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10273
|
+
*/
|
|
10274
|
+
'accepted'?: boolean;
|
|
10275
|
+
/**
|
|
10276
|
+
*
|
|
10277
|
+
* @type {boolean}
|
|
10278
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10279
|
+
*/
|
|
10280
|
+
'authorized'?: boolean;
|
|
10281
|
+
/**
|
|
10282
|
+
*
|
|
10283
|
+
* @type {number}
|
|
10284
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10285
|
+
*/
|
|
10286
|
+
'usedCredits'?: number;
|
|
10287
|
+
/**
|
|
10288
|
+
*
|
|
10289
|
+
* @type {string}
|
|
10290
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10291
|
+
*/
|
|
10292
|
+
'stripeInvoiceId'?: string | null;
|
|
10293
|
+
/**
|
|
10294
|
+
*
|
|
10295
|
+
* @type {string}
|
|
10296
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10297
|
+
*/
|
|
10298
|
+
'stripePaymentIntentId'?: string | null;
|
|
10299
|
+
/**
|
|
10300
|
+
*
|
|
10301
|
+
* @type {string}
|
|
10302
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10303
|
+
*/
|
|
10304
|
+
'stripePaymentUrl'?: string | null;
|
|
10305
|
+
/**
|
|
10306
|
+
*
|
|
10307
|
+
* @type {string}
|
|
10308
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10309
|
+
*/
|
|
10310
|
+
'stripeInvoiceUrl'?: string | null;
|
|
10311
|
+
/**
|
|
10312
|
+
*
|
|
10313
|
+
* @type {string}
|
|
10314
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10315
|
+
*/
|
|
10316
|
+
'sumupPaymentId'?: string | null;
|
|
10317
|
+
/**
|
|
10318
|
+
*
|
|
10319
|
+
* @type {string}
|
|
10320
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10321
|
+
*/
|
|
10322
|
+
'sumupCheckoutId'?: string | null;
|
|
10323
|
+
/**
|
|
10324
|
+
* Construct a type with a set of properties K of type T
|
|
10325
|
+
* @type {{ [key: string]: any; }}
|
|
10326
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10327
|
+
*/
|
|
10328
|
+
'metadata'?: {
|
|
10329
|
+
[key: string]: any;
|
|
10330
|
+
} | null;
|
|
10331
|
+
/**
|
|
10332
|
+
*
|
|
10333
|
+
* @type {string}
|
|
10334
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10335
|
+
*/
|
|
10336
|
+
'authorizedAt'?: string | null;
|
|
10337
|
+
/**
|
|
10338
|
+
*
|
|
10339
|
+
* @type {string}
|
|
10340
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10341
|
+
*/
|
|
10342
|
+
'authorizationExpiresAt'?: string | null;
|
|
10343
|
+
/**
|
|
10344
|
+
*
|
|
10345
|
+
* @type {string}
|
|
10346
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10347
|
+
*/
|
|
10348
|
+
'createdAt'?: string | null;
|
|
10349
|
+
/**
|
|
10350
|
+
*
|
|
10351
|
+
* @type {string}
|
|
10352
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10353
|
+
*/
|
|
10354
|
+
'updatedAt'?: string | null;
|
|
10355
|
+
/**
|
|
10356
|
+
*
|
|
10357
|
+
* @type {ManagerConsoleInvoiceUserSummary}
|
|
10358
|
+
* @memberof ManagerConsoleInvoiceResponse
|
|
10359
|
+
*/
|
|
10360
|
+
'user'?: ManagerConsoleInvoiceUserSummary;
|
|
10361
|
+
}
|
|
10362
|
+
export declare const ManagerConsoleInvoiceResponsePaymentProviderEnum: {
|
|
10363
|
+
readonly Sumup: "sumup";
|
|
10364
|
+
readonly Stripe: "stripe";
|
|
10365
|
+
readonly Other: "other";
|
|
10366
|
+
};
|
|
10367
|
+
export type ManagerConsoleInvoiceResponsePaymentProviderEnum = typeof ManagerConsoleInvoiceResponsePaymentProviderEnum[keyof typeof ManagerConsoleInvoiceResponsePaymentProviderEnum];
|
|
10368
|
+
export declare const ManagerConsoleInvoiceResponseFlagEnum: {
|
|
10369
|
+
readonly Sumup: "sumup";
|
|
10370
|
+
readonly Stripe: "stripe";
|
|
10371
|
+
readonly Other: "other";
|
|
10372
|
+
};
|
|
10373
|
+
export type ManagerConsoleInvoiceResponseFlagEnum = typeof ManagerConsoleInvoiceResponseFlagEnum[keyof typeof ManagerConsoleInvoiceResponseFlagEnum];
|
|
10374
|
+
/**
|
|
10375
|
+
*
|
|
10376
|
+
* @export
|
|
10377
|
+
* @interface ManagerConsoleInvoiceResponsePaysForInner
|
|
10378
|
+
*/
|
|
10379
|
+
export interface ManagerConsoleInvoiceResponsePaysForInner {
|
|
10380
|
+
/**
|
|
10381
|
+
*
|
|
10382
|
+
* @type {number}
|
|
10383
|
+
* @memberof ManagerConsoleInvoiceResponsePaysForInner
|
|
10384
|
+
*/
|
|
10385
|
+
'reducedAmount': number;
|
|
10386
|
+
/**
|
|
10387
|
+
*
|
|
10388
|
+
* @type {string}
|
|
10389
|
+
* @memberof ManagerConsoleInvoiceResponsePaysForInner
|
|
10390
|
+
*/
|
|
10391
|
+
'playerId': string;
|
|
10392
|
+
}
|
|
10393
|
+
/**
|
|
10394
|
+
*
|
|
10395
|
+
* @export
|
|
10396
|
+
* @interface ManagerConsoleInvoiceResponseStripe
|
|
10397
|
+
*/
|
|
10398
|
+
export interface ManagerConsoleInvoiceResponseStripe {
|
|
10399
|
+
/**
|
|
10400
|
+
*
|
|
10401
|
+
* @type {string}
|
|
10402
|
+
* @memberof ManagerConsoleInvoiceResponseStripe
|
|
10403
|
+
*/
|
|
10404
|
+
'invoiceUrl': string | null;
|
|
10405
|
+
/**
|
|
10406
|
+
*
|
|
10407
|
+
* @type {string}
|
|
10408
|
+
* @memberof ManagerConsoleInvoiceResponseStripe
|
|
10409
|
+
*/
|
|
10410
|
+
'paymentUrl': string | null;
|
|
10411
|
+
/**
|
|
10412
|
+
*
|
|
10413
|
+
* @type {string}
|
|
10414
|
+
* @memberof ManagerConsoleInvoiceResponseStripe
|
|
10415
|
+
*/
|
|
10416
|
+
'paymentIntentId': string | null;
|
|
10417
|
+
/**
|
|
10418
|
+
*
|
|
10419
|
+
* @type {string}
|
|
10420
|
+
* @memberof ManagerConsoleInvoiceResponseStripe
|
|
10421
|
+
*/
|
|
10422
|
+
'invoiceId': string | null;
|
|
10423
|
+
}
|
|
10424
|
+
/**
|
|
10425
|
+
*
|
|
10426
|
+
* @export
|
|
10427
|
+
* @interface ManagerConsoleInvoiceResponseSumup
|
|
10428
|
+
*/
|
|
10429
|
+
export interface ManagerConsoleInvoiceResponseSumup {
|
|
10430
|
+
/**
|
|
10431
|
+
* Construct a type with a set of properties K of type T
|
|
10432
|
+
* @type {{ [key: string]: any; }}
|
|
10433
|
+
* @memberof ManagerConsoleInvoiceResponseSumup
|
|
10434
|
+
*/
|
|
10435
|
+
'receipt': {
|
|
10436
|
+
[key: string]: any;
|
|
10437
|
+
} | null;
|
|
10438
|
+
/**
|
|
10439
|
+
* Construct a type with a set of properties K of type T
|
|
10440
|
+
* @type {{ [key: string]: any; }}
|
|
10441
|
+
* @memberof ManagerConsoleInvoiceResponseSumup
|
|
10442
|
+
*/
|
|
10443
|
+
'transaction': {
|
|
10444
|
+
[key: string]: any;
|
|
10445
|
+
} | null;
|
|
10446
|
+
/**
|
|
10447
|
+
* Construct a type with a set of properties K of type T
|
|
10448
|
+
* @type {{ [key: string]: any; }}
|
|
10449
|
+
* @memberof ManagerConsoleInvoiceResponseSumup
|
|
10450
|
+
*/
|
|
10451
|
+
'checkout': {
|
|
10452
|
+
[key: string]: any;
|
|
10453
|
+
} | null;
|
|
10454
|
+
/**
|
|
10455
|
+
*
|
|
10456
|
+
* @type {string}
|
|
10457
|
+
* @memberof ManagerConsoleInvoiceResponseSumup
|
|
10458
|
+
*/
|
|
10459
|
+
'receiptApiUrl': string | null;
|
|
10460
|
+
/**
|
|
10461
|
+
*
|
|
10462
|
+
* @type {string}
|
|
10463
|
+
* @memberof ManagerConsoleInvoiceResponseSumup
|
|
10464
|
+
*/
|
|
10465
|
+
'updatedAt': string | null;
|
|
10466
|
+
/**
|
|
10467
|
+
*
|
|
10468
|
+
* @type {string}
|
|
10469
|
+
* @memberof ManagerConsoleInvoiceResponseSumup
|
|
10470
|
+
*/
|
|
10471
|
+
'status': string | null;
|
|
10472
|
+
/**
|
|
10473
|
+
*
|
|
10474
|
+
* @type {string}
|
|
10475
|
+
* @memberof ManagerConsoleInvoiceResponseSumup
|
|
10476
|
+
*/
|
|
10477
|
+
'cardType': string | null;
|
|
10478
|
+
/**
|
|
10479
|
+
*
|
|
10480
|
+
* @type {string}
|
|
10481
|
+
* @memberof ManagerConsoleInvoiceResponseSumup
|
|
10482
|
+
*/
|
|
10483
|
+
'cardLast4': string | null;
|
|
10484
|
+
/**
|
|
10485
|
+
*
|
|
10486
|
+
* @type {string}
|
|
10487
|
+
* @memberof ManagerConsoleInvoiceResponseSumup
|
|
10488
|
+
*/
|
|
10489
|
+
'transactionCode': string | null;
|
|
10490
|
+
/**
|
|
10491
|
+
*
|
|
10492
|
+
* @type {string}
|
|
10493
|
+
* @memberof ManagerConsoleInvoiceResponseSumup
|
|
10494
|
+
*/
|
|
10495
|
+
'transactionId': string | null;
|
|
10496
|
+
/**
|
|
10497
|
+
*
|
|
10498
|
+
* @type {string}
|
|
10499
|
+
* @memberof ManagerConsoleInvoiceResponseSumup
|
|
10500
|
+
*/
|
|
10501
|
+
'checkoutId': string | null;
|
|
10502
|
+
/**
|
|
10503
|
+
*
|
|
10504
|
+
* @type {string}
|
|
10505
|
+
* @memberof ManagerConsoleInvoiceResponseSumup
|
|
10506
|
+
*/
|
|
10507
|
+
'paymentId': string | null;
|
|
10508
|
+
}
|
|
10509
|
+
/**
|
|
10510
|
+
*
|
|
10511
|
+
* @export
|
|
10512
|
+
* @interface ManagerConsoleInvoiceUserSummary
|
|
10513
|
+
*/
|
|
10514
|
+
export interface ManagerConsoleInvoiceUserSummary {
|
|
10515
|
+
/**
|
|
10516
|
+
*
|
|
10517
|
+
* @type {string}
|
|
10518
|
+
* @memberof ManagerConsoleInvoiceUserSummary
|
|
10519
|
+
*/
|
|
10520
|
+
'id': string;
|
|
10521
|
+
/**
|
|
10522
|
+
*
|
|
10523
|
+
* @type {string}
|
|
10524
|
+
* @memberof ManagerConsoleInvoiceUserSummary
|
|
10525
|
+
*/
|
|
10526
|
+
'firstName': string;
|
|
10527
|
+
/**
|
|
10528
|
+
*
|
|
10529
|
+
* @type {string}
|
|
10530
|
+
* @memberof ManagerConsoleInvoiceUserSummary
|
|
10531
|
+
*/
|
|
10532
|
+
'lastName': string;
|
|
10533
|
+
/**
|
|
10534
|
+
*
|
|
10535
|
+
* @type {string}
|
|
10536
|
+
* @memberof ManagerConsoleInvoiceUserSummary
|
|
10537
|
+
*/
|
|
10538
|
+
'email': string;
|
|
10539
|
+
/**
|
|
10540
|
+
*
|
|
10541
|
+
* @type {string}
|
|
10542
|
+
* @memberof ManagerConsoleInvoiceUserSummary
|
|
10543
|
+
*/
|
|
10544
|
+
'profilePictureUrl'?: string;
|
|
10545
|
+
}
|
|
10040
10546
|
/**
|
|
10041
10547
|
*
|
|
10042
10548
|
* @export
|
|
@@ -15784,6 +16290,42 @@ export interface SumupReaderInfo {
|
|
|
15784
16290
|
* @memberof SumupReaderInfo
|
|
15785
16291
|
*/
|
|
15786
16292
|
'status'?: string;
|
|
16293
|
+
/**
|
|
16294
|
+
*
|
|
16295
|
+
* @type {boolean}
|
|
16296
|
+
* @memberof SumupReaderInfo
|
|
16297
|
+
*/
|
|
16298
|
+
'isAllowedForPayments'?: boolean;
|
|
16299
|
+
/**
|
|
16300
|
+
*
|
|
16301
|
+
* @type {boolean}
|
|
16302
|
+
* @memberof SumupReaderInfo
|
|
16303
|
+
*/
|
|
16304
|
+
'isDefaultForPayments'?: boolean;
|
|
16305
|
+
/**
|
|
16306
|
+
*
|
|
16307
|
+
* @type {boolean}
|
|
16308
|
+
* @memberof SumupReaderInfo
|
|
16309
|
+
*/
|
|
16310
|
+
'isReadyForPayments'?: boolean;
|
|
16311
|
+
/**
|
|
16312
|
+
*
|
|
16313
|
+
* @type {boolean}
|
|
16314
|
+
* @memberof SumupReaderInfo
|
|
16315
|
+
*/
|
|
16316
|
+
'isAvailableForPayments'?: boolean;
|
|
16317
|
+
/**
|
|
16318
|
+
*
|
|
16319
|
+
* @type {string}
|
|
16320
|
+
* @memberof SumupReaderInfo
|
|
16321
|
+
*/
|
|
16322
|
+
'paymentStatus'?: string;
|
|
16323
|
+
/**
|
|
16324
|
+
*
|
|
16325
|
+
* @type {string}
|
|
16326
|
+
* @memberof SumupReaderInfo
|
|
16327
|
+
*/
|
|
16328
|
+
'paymentState'?: string;
|
|
15787
16329
|
/**
|
|
15788
16330
|
*
|
|
15789
16331
|
* @type {SumupReaderInfoDevice}
|
|
@@ -16573,6 +17115,18 @@ export interface UpdateEventRequest {
|
|
|
16573
17115
|
* @memberof UpdateEventRequest
|
|
16574
17116
|
*/
|
|
16575
17117
|
'endTime'?: number;
|
|
17118
|
+
/**
|
|
17119
|
+
*
|
|
17120
|
+
* @type {string}
|
|
17121
|
+
* @memberof UpdateEventRequest
|
|
17122
|
+
*/
|
|
17123
|
+
'startDate'?: string;
|
|
17124
|
+
/**
|
|
17125
|
+
*
|
|
17126
|
+
* @type {string}
|
|
17127
|
+
* @memberof UpdateEventRequest
|
|
17128
|
+
*/
|
|
17129
|
+
'endDate'?: string;
|
|
16576
17130
|
/**
|
|
16577
17131
|
*
|
|
16578
17132
|
* @type {Array<string>}
|
|
@@ -16895,6 +17449,18 @@ export interface UpdateRecurringDefinitionRequest {
|
|
|
16895
17449
|
* @memberof UpdateRecurringDefinitionRequest
|
|
16896
17450
|
*/
|
|
16897
17451
|
'endTime'?: number;
|
|
17452
|
+
/**
|
|
17453
|
+
*
|
|
17454
|
+
* @type {string}
|
|
17455
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
17456
|
+
*/
|
|
17457
|
+
'startDate'?: string;
|
|
17458
|
+
/**
|
|
17459
|
+
*
|
|
17460
|
+
* @type {string}
|
|
17461
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
17462
|
+
*/
|
|
17463
|
+
'endDate'?: string;
|
|
16898
17464
|
/**
|
|
16899
17465
|
*
|
|
16900
17466
|
* @type {string}
|
package/dist/api.js
CHANGED
|
@@ -22,11 +22,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = exports.GetUserBookingsTimeFilterEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SumUpManagerApi = exports.SumUpManagerApiFactory = exports.SumUpManagerApiFp = exports.SumUpManagerApiAxiosParamCreator = exports.SumUpApi = exports.SumUpApiFactory = exports.SumUpApiFp = exports.SumUpApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsMobileApi = exports.SubscriptionsMobileApiFactory = exports.SubscriptionsMobileApiFp = exports.SubscriptionsMobileApiAxiosParamCreator = exports.SubscriptionsManagerApi = void 0;
|
|
25
|
+
exports.PlanInterval = exports.PaymentStatus = exports.PaymentProviderType = exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.OnboardingStatusResponseCurrentStepEnum = exports.NotificationType = exports.NotificationTargetPreviewTypeEnum = exports.NotificationActorType = exports.NoShowPreviewIneligibleReason = exports.ManagerConsoleInvoiceResponseFlagEnum = exports.ManagerConsoleInvoiceResponsePaymentProviderEnum = exports.InvoiceStatusSETUPSUCCESS = exports.InvoiceStatusSETUPPENDING = exports.InvoiceStatus = exports.ImageContextType = exports.IUserLocationTypeEnum = exports.IUserAttributesCreatedFromEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.EventBookingStatus = exports.EventBookingDetailSummaryUserParticipationStatusEnum = exports.EventBookingDetailEventSummaryParticipationTypeEnum = exports.EventBookingDetailEventSummaryRecurringTypeEnum = exports.EventBookingDetailEventSummaryTypeEnum = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CreateActualityRequestDiffusionModeEnum = exports.CourtStatus = exports.CourtEnvironment = exports.ClubType = exports.ClubRoleResponseRoleEnum = exports.ClubOnboardingActionConnectAccountStatusEnum = exports.ClubDashboardTaskStatus = exports.ClubDashboardTaskKey = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingSummaryUserParticipationStatusEnum = exports.BookingStatus = exports.BookingInvoicePaymentStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
|
+
exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.WeekdayKey = exports.WaitListResponseTargetTypeEnum = exports.WaitListEntryWithPlayerTargetTypeEnum = exports.VisibilityType = exports.UserProfileResponseCreatedFromEnum = exports.UserLocationSummaryTypeEnum = exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = exports.UpdateRecurringDefinitionRequestParticipationTypeEnum = exports.UpdateRecurringDefinitionRequestTypeEnum = exports.UpdateRecurringDefinitionRequestVisibilityTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = exports.TrendDirection = exports.SurfaceType = exports.SupportedLanguage = exports.StaffUserProfileResponseCreatedFromEnum = exports.StaffEventSeriesContextRecurringTypeEnum = exports.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.QuickReservationCourtType = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = void 0;
|
|
27
|
+
exports.ContactApi = exports.ContactApiFactory = exports.ContactApiFp = exports.ContactApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = exports.ClubSettingsStaffApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp = exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubCustomerStaffApi = exports.ClubCustomerStaffApiFactory = exports.ClubCustomerStaffApiFp = exports.ClubCustomerStaffApiAxiosParamCreator = exports.ClubCustomerMeApi = exports.ClubCustomerMeApiFactory = exports.ClubCustomerMeApiFp = exports.ClubCustomerMeApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = void 0;
|
|
28
|
+
exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.PublicEmailApi = exports.PublicEmailApiFactory = exports.PublicEmailApiFp = exports.PublicEmailApiAxiosParamCreator = exports.PaymentsStaffApi = exports.PaymentsStaffApiFactory = exports.PaymentsStaffApiFp = exports.PaymentsStaffApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetEventSeriesForStaffStatusEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
|
|
29
|
+
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = exports.GetUserBookingsTimeFilterEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SumUpManagerApi = exports.SumUpManagerApiFactory = exports.SumUpManagerApiFp = exports.SumUpManagerApiAxiosParamCreator = exports.SumUpApi = exports.SumUpApiFactory = exports.SumUpApiFp = exports.SumUpApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsMobileApi = exports.SubscriptionsMobileApiFactory = exports.SubscriptionsMobileApiFp = exports.SubscriptionsMobileApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
31
31
|
// Some imports not used depending on template conditions
|
|
32
32
|
// @ts-ignore
|
|
@@ -300,6 +300,16 @@ exports.InvoiceStatusSETUPPENDING = {
|
|
|
300
300
|
exports.InvoiceStatusSETUPSUCCESS = {
|
|
301
301
|
SetupSuccess: 'setup_success'
|
|
302
302
|
};
|
|
303
|
+
exports.ManagerConsoleInvoiceResponsePaymentProviderEnum = {
|
|
304
|
+
Sumup: 'sumup',
|
|
305
|
+
Stripe: 'stripe',
|
|
306
|
+
Other: 'other'
|
|
307
|
+
};
|
|
308
|
+
exports.ManagerConsoleInvoiceResponseFlagEnum = {
|
|
309
|
+
Sumup: 'sumup',
|
|
310
|
+
Stripe: 'stripe',
|
|
311
|
+
Other: 'other'
|
|
312
|
+
};
|
|
303
313
|
/**
|
|
304
314
|
*
|
|
305
315
|
* @export
|