@tennac-booking/sdk 1.0.305 → 1.0.307
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 +4 -0
- package/README.md +6 -2
- package/api.ts +138 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +124 -1
- package/dist/api.js +36 -6
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +124 -1
- package/dist/esm/api.js +30 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/BookingManagerConsoleResponse.md +2 -0
- package/docs/BookingPlayerPaymentSummary.md +2 -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/index.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -309,6 +309,7 @@ docs/ManagerConsoleInvoiceResponsePaysForInner.md
|
|
|
309
309
|
docs/ManagerConsoleInvoiceResponseStripe.md
|
|
310
310
|
docs/ManagerConsoleInvoiceResponseSumup.md
|
|
311
311
|
docs/ManagerConsoleInvoiceUserSummary.md
|
|
312
|
+
docs/ManagerConsoleOpenGuestContributionResponse.md
|
|
312
313
|
docs/MarkNotificationsReadRequest.md
|
|
313
314
|
docs/MarkNotificationsReadResponse.md
|
|
314
315
|
docs/MigrateSubscription200Response.md
|
|
@@ -346,6 +347,9 @@ docs/OpenBookingPlayerInfo.md
|
|
|
346
347
|
docs/OpenBookingPriceBody.md
|
|
347
348
|
docs/OpenBookingSportInfo.md
|
|
348
349
|
docs/OpenBookingsResponse.md
|
|
350
|
+
docs/OpenGuestContributionPaymentChannel.md
|
|
351
|
+
docs/OpenGuestContributionSource.md
|
|
352
|
+
docs/OpenGuestContributionStatus.md
|
|
349
353
|
docs/PaginationInfo.md
|
|
350
354
|
docs/PartialClubActiveResponse.md
|
|
351
355
|
docs/PartialClubActiveResponseLocation.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.306
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @tennac-booking/sdk@1.0.
|
|
39
|
+
npm install @tennac-booking/sdk@1.0.306 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -627,6 +627,7 @@ Class | Method | HTTP request | Description
|
|
|
627
627
|
- [ManagerConsoleInvoiceResponseStripe](docs/ManagerConsoleInvoiceResponseStripe.md)
|
|
628
628
|
- [ManagerConsoleInvoiceResponseSumup](docs/ManagerConsoleInvoiceResponseSumup.md)
|
|
629
629
|
- [ManagerConsoleInvoiceUserSummary](docs/ManagerConsoleInvoiceUserSummary.md)
|
|
630
|
+
- [ManagerConsoleOpenGuestContributionResponse](docs/ManagerConsoleOpenGuestContributionResponse.md)
|
|
630
631
|
- [MarkNotificationsReadRequest](docs/MarkNotificationsReadRequest.md)
|
|
631
632
|
- [MarkNotificationsReadResponse](docs/MarkNotificationsReadResponse.md)
|
|
632
633
|
- [MigrateSubscription200Response](docs/MigrateSubscription200Response.md)
|
|
@@ -664,6 +665,9 @@ Class | Method | HTTP request | Description
|
|
|
664
665
|
- [OpenBookingPriceBody](docs/OpenBookingPriceBody.md)
|
|
665
666
|
- [OpenBookingSportInfo](docs/OpenBookingSportInfo.md)
|
|
666
667
|
- [OpenBookingsResponse](docs/OpenBookingsResponse.md)
|
|
668
|
+
- [OpenGuestContributionPaymentChannel](docs/OpenGuestContributionPaymentChannel.md)
|
|
669
|
+
- [OpenGuestContributionSource](docs/OpenGuestContributionSource.md)
|
|
670
|
+
- [OpenGuestContributionStatus](docs/OpenGuestContributionStatus.md)
|
|
667
671
|
- [PaginationInfo](docs/PaginationInfo.md)
|
|
668
672
|
- [PartialClubActiveResponse](docs/PartialClubActiveResponse.md)
|
|
669
673
|
- [PartialClubActiveResponseLocation](docs/PartialClubActiveResponseLocation.md)
|
package/api.ts
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.306
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -799,6 +799,12 @@ export interface BookingManagerConsoleResponse {
|
|
|
799
799
|
* @memberof BookingManagerConsoleResponse
|
|
800
800
|
*/
|
|
801
801
|
'invoices': Array<ManagerConsoleInvoiceResponse>;
|
|
802
|
+
/**
|
|
803
|
+
* Contributions d\'invités sur les réservations ouvertes
|
|
804
|
+
* @type {Array<ManagerConsoleOpenGuestContributionResponse>}
|
|
805
|
+
* @memberof BookingManagerConsoleResponse
|
|
806
|
+
*/
|
|
807
|
+
'openGuestContributions': Array<ManagerConsoleOpenGuestContributionResponse>;
|
|
802
808
|
}
|
|
803
809
|
/**
|
|
804
810
|
*
|
|
@@ -995,6 +1001,12 @@ export interface BookingPlayerPaymentSummary {
|
|
|
995
1001
|
* @memberof BookingPlayerPaymentSummary
|
|
996
1002
|
*/
|
|
997
1003
|
'amountToPay': number;
|
|
1004
|
+
/**
|
|
1005
|
+
*
|
|
1006
|
+
* @type {number}
|
|
1007
|
+
* @memberof BookingPlayerPaymentSummary
|
|
1008
|
+
*/
|
|
1009
|
+
'usedCredits'?: number | null;
|
|
998
1010
|
/**
|
|
999
1011
|
*
|
|
1000
1012
|
* @type {string}
|
|
@@ -11064,6 +11076,87 @@ export interface ManagerConsoleInvoiceUserSummary {
|
|
|
11064
11076
|
*/
|
|
11065
11077
|
'profilePictureUrl'?: string;
|
|
11066
11078
|
}
|
|
11079
|
+
/**
|
|
11080
|
+
*
|
|
11081
|
+
* @export
|
|
11082
|
+
* @interface ManagerConsoleOpenGuestContributionResponse
|
|
11083
|
+
*/
|
|
11084
|
+
export interface ManagerConsoleOpenGuestContributionResponse {
|
|
11085
|
+
/**
|
|
11086
|
+
*
|
|
11087
|
+
* @type {OpenGuestContributionSource}
|
|
11088
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11089
|
+
*/
|
|
11090
|
+
'source': OpenGuestContributionSource;
|
|
11091
|
+
/**
|
|
11092
|
+
*
|
|
11093
|
+
* @type {OpenGuestContributionStatus}
|
|
11094
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11095
|
+
*/
|
|
11096
|
+
'status': OpenGuestContributionStatus;
|
|
11097
|
+
/**
|
|
11098
|
+
*
|
|
11099
|
+
* @type {OpenGuestContributionPaymentChannel}
|
|
11100
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11101
|
+
*/
|
|
11102
|
+
'paymentChannel'?: OpenGuestContributionPaymentChannel;
|
|
11103
|
+
/**
|
|
11104
|
+
*
|
|
11105
|
+
* @type {string}
|
|
11106
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11107
|
+
*/
|
|
11108
|
+
'actorPlayerId': string;
|
|
11109
|
+
/**
|
|
11110
|
+
*
|
|
11111
|
+
* @type {Array<string>}
|
|
11112
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11113
|
+
*/
|
|
11114
|
+
'registeredPlayerIds': Array<string>;
|
|
11115
|
+
/**
|
|
11116
|
+
*
|
|
11117
|
+
* @type {number}
|
|
11118
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11119
|
+
*/
|
|
11120
|
+
'requestedPlayersCount': number;
|
|
11121
|
+
/**
|
|
11122
|
+
*
|
|
11123
|
+
* @type {number}
|
|
11124
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11125
|
+
*/
|
|
11126
|
+
'registeredPlayersCount': number;
|
|
11127
|
+
/**
|
|
11128
|
+
*
|
|
11129
|
+
* @type {number}
|
|
11130
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11131
|
+
*/
|
|
11132
|
+
'guestCount': number;
|
|
11133
|
+
/**
|
|
11134
|
+
*
|
|
11135
|
+
* @type {string}
|
|
11136
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11137
|
+
*/
|
|
11138
|
+
'invoiceId'?: string;
|
|
11139
|
+
/**
|
|
11140
|
+
*
|
|
11141
|
+
* @type {string}
|
|
11142
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11143
|
+
*/
|
|
11144
|
+
'setupInvoiceId'?: string;
|
|
11145
|
+
/**
|
|
11146
|
+
*
|
|
11147
|
+
* @type {string}
|
|
11148
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11149
|
+
*/
|
|
11150
|
+
'createdAt': string | null;
|
|
11151
|
+
/**
|
|
11152
|
+
*
|
|
11153
|
+
* @type {string}
|
|
11154
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11155
|
+
*/
|
|
11156
|
+
'resolvedAt'?: string | null;
|
|
11157
|
+
}
|
|
11158
|
+
|
|
11159
|
+
|
|
11067
11160
|
/**
|
|
11068
11161
|
*
|
|
11069
11162
|
* @export
|
|
@@ -12712,6 +12805,50 @@ export interface OpenBookingsResponse {
|
|
|
12712
12805
|
*/
|
|
12713
12806
|
'bookings': Array<OpenBookingInfo>;
|
|
12714
12807
|
}
|
|
12808
|
+
/**
|
|
12809
|
+
*
|
|
12810
|
+
* @export
|
|
12811
|
+
* @enum {string}
|
|
12812
|
+
*/
|
|
12813
|
+
|
|
12814
|
+
export const OpenGuestContributionPaymentChannel = {
|
|
12815
|
+
Online: 'online',
|
|
12816
|
+
Onsite: 'onsite'
|
|
12817
|
+
} as const;
|
|
12818
|
+
|
|
12819
|
+
export type OpenGuestContributionPaymentChannel = typeof OpenGuestContributionPaymentChannel[keyof typeof OpenGuestContributionPaymentChannel];
|
|
12820
|
+
|
|
12821
|
+
|
|
12822
|
+
/**
|
|
12823
|
+
*
|
|
12824
|
+
* @export
|
|
12825
|
+
* @enum {string}
|
|
12826
|
+
*/
|
|
12827
|
+
|
|
12828
|
+
export const OpenGuestContributionSource = {
|
|
12829
|
+
Creation: 'creation',
|
|
12830
|
+
Join: 'join'
|
|
12831
|
+
} as const;
|
|
12832
|
+
|
|
12833
|
+
export type OpenGuestContributionSource = typeof OpenGuestContributionSource[keyof typeof OpenGuestContributionSource];
|
|
12834
|
+
|
|
12835
|
+
|
|
12836
|
+
/**
|
|
12837
|
+
*
|
|
12838
|
+
* @export
|
|
12839
|
+
* @enum {string}
|
|
12840
|
+
*/
|
|
12841
|
+
|
|
12842
|
+
export const OpenGuestContributionStatus = {
|
|
12843
|
+
Pending: 'pending',
|
|
12844
|
+
Confirmed: 'confirmed',
|
|
12845
|
+
Expired: 'expired',
|
|
12846
|
+
Canceled: 'canceled'
|
|
12847
|
+
} as const;
|
|
12848
|
+
|
|
12849
|
+
export type OpenGuestContributionStatus = typeof OpenGuestContributionStatus[keyof typeof OpenGuestContributionStatus];
|
|
12850
|
+
|
|
12851
|
+
|
|
12715
12852
|
/**
|
|
12716
12853
|
*
|
|
12717
12854
|
* @export
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.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.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.306
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
*
|
|
@@ -970,6 +976,12 @@ export interface BookingPlayerPaymentSummary {
|
|
|
970
976
|
* @memberof BookingPlayerPaymentSummary
|
|
971
977
|
*/
|
|
972
978
|
'amountToPay': number;
|
|
979
|
+
/**
|
|
980
|
+
*
|
|
981
|
+
* @type {number}
|
|
982
|
+
* @memberof BookingPlayerPaymentSummary
|
|
983
|
+
*/
|
|
984
|
+
'usedCredits'?: number | null;
|
|
973
985
|
/**
|
|
974
986
|
*
|
|
975
987
|
* @type {string}
|
|
@@ -10910,6 +10922,85 @@ export interface ManagerConsoleInvoiceUserSummary {
|
|
|
10910
10922
|
*/
|
|
10911
10923
|
'profilePictureUrl'?: string;
|
|
10912
10924
|
}
|
|
10925
|
+
/**
|
|
10926
|
+
*
|
|
10927
|
+
* @export
|
|
10928
|
+
* @interface ManagerConsoleOpenGuestContributionResponse
|
|
10929
|
+
*/
|
|
10930
|
+
export interface ManagerConsoleOpenGuestContributionResponse {
|
|
10931
|
+
/**
|
|
10932
|
+
*
|
|
10933
|
+
* @type {OpenGuestContributionSource}
|
|
10934
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10935
|
+
*/
|
|
10936
|
+
'source': OpenGuestContributionSource;
|
|
10937
|
+
/**
|
|
10938
|
+
*
|
|
10939
|
+
* @type {OpenGuestContributionStatus}
|
|
10940
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10941
|
+
*/
|
|
10942
|
+
'status': OpenGuestContributionStatus;
|
|
10943
|
+
/**
|
|
10944
|
+
*
|
|
10945
|
+
* @type {OpenGuestContributionPaymentChannel}
|
|
10946
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10947
|
+
*/
|
|
10948
|
+
'paymentChannel'?: OpenGuestContributionPaymentChannel;
|
|
10949
|
+
/**
|
|
10950
|
+
*
|
|
10951
|
+
* @type {string}
|
|
10952
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10953
|
+
*/
|
|
10954
|
+
'actorPlayerId': string;
|
|
10955
|
+
/**
|
|
10956
|
+
*
|
|
10957
|
+
* @type {Array<string>}
|
|
10958
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10959
|
+
*/
|
|
10960
|
+
'registeredPlayerIds': Array<string>;
|
|
10961
|
+
/**
|
|
10962
|
+
*
|
|
10963
|
+
* @type {number}
|
|
10964
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10965
|
+
*/
|
|
10966
|
+
'requestedPlayersCount': number;
|
|
10967
|
+
/**
|
|
10968
|
+
*
|
|
10969
|
+
* @type {number}
|
|
10970
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10971
|
+
*/
|
|
10972
|
+
'registeredPlayersCount': number;
|
|
10973
|
+
/**
|
|
10974
|
+
*
|
|
10975
|
+
* @type {number}
|
|
10976
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10977
|
+
*/
|
|
10978
|
+
'guestCount': number;
|
|
10979
|
+
/**
|
|
10980
|
+
*
|
|
10981
|
+
* @type {string}
|
|
10982
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10983
|
+
*/
|
|
10984
|
+
'invoiceId'?: string;
|
|
10985
|
+
/**
|
|
10986
|
+
*
|
|
10987
|
+
* @type {string}
|
|
10988
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10989
|
+
*/
|
|
10990
|
+
'setupInvoiceId'?: string;
|
|
10991
|
+
/**
|
|
10992
|
+
*
|
|
10993
|
+
* @type {string}
|
|
10994
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10995
|
+
*/
|
|
10996
|
+
'createdAt': string | null;
|
|
10997
|
+
/**
|
|
10998
|
+
*
|
|
10999
|
+
* @type {string}
|
|
11000
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11001
|
+
*/
|
|
11002
|
+
'resolvedAt'?: string | null;
|
|
11003
|
+
}
|
|
10913
11004
|
/**
|
|
10914
11005
|
*
|
|
10915
11006
|
* @export
|
|
@@ -12530,6 +12621,38 @@ export interface OpenBookingsResponse {
|
|
|
12530
12621
|
*/
|
|
12531
12622
|
'bookings': Array<OpenBookingInfo>;
|
|
12532
12623
|
}
|
|
12624
|
+
/**
|
|
12625
|
+
*
|
|
12626
|
+
* @export
|
|
12627
|
+
* @enum {string}
|
|
12628
|
+
*/
|
|
12629
|
+
export declare const OpenGuestContributionPaymentChannel: {
|
|
12630
|
+
readonly Online: "online";
|
|
12631
|
+
readonly Onsite: "onsite";
|
|
12632
|
+
};
|
|
12633
|
+
export type OpenGuestContributionPaymentChannel = typeof OpenGuestContributionPaymentChannel[keyof typeof OpenGuestContributionPaymentChannel];
|
|
12634
|
+
/**
|
|
12635
|
+
*
|
|
12636
|
+
* @export
|
|
12637
|
+
* @enum {string}
|
|
12638
|
+
*/
|
|
12639
|
+
export declare const OpenGuestContributionSource: {
|
|
12640
|
+
readonly Creation: "creation";
|
|
12641
|
+
readonly Join: "join";
|
|
12642
|
+
};
|
|
12643
|
+
export type OpenGuestContributionSource = typeof OpenGuestContributionSource[keyof typeof OpenGuestContributionSource];
|
|
12644
|
+
/**
|
|
12645
|
+
*
|
|
12646
|
+
* @export
|
|
12647
|
+
* @enum {string}
|
|
12648
|
+
*/
|
|
12649
|
+
export declare const OpenGuestContributionStatus: {
|
|
12650
|
+
readonly Pending: "pending";
|
|
12651
|
+
readonly Confirmed: "confirmed";
|
|
12652
|
+
readonly Expired: "expired";
|
|
12653
|
+
readonly Canceled: "canceled";
|
|
12654
|
+
};
|
|
12655
|
+
export type OpenGuestContributionStatus = typeof OpenGuestContributionStatus[keyof typeof OpenGuestContributionStatus];
|
|
12533
12656
|
/**
|
|
12534
12657
|
*
|
|
12535
12658
|
* @export
|
package/dist/api.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.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.306
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,11 +22,12 @@ 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.
|
|
25
|
+
exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.OpenGuestContributionStatus = exports.OpenGuestContributionSource = exports.OpenGuestContributionPaymentChannel = 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.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 = exports.PlanInterval = exports.PaymentStatus = exports.PaymentProviderType = void 0;
|
|
27
|
+
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 = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BookingsUserApi = void 0;
|
|
28
|
+
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.EventBookingsStaffApi = exports.EventBookingsStaffApiFactory = exports.EventBookingsStaffApiFp = exports.EventBookingsStaffApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ContactApi = exports.ContactApiFactory = exports.ContactApiFp = void 0;
|
|
29
|
+
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 = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = void 0;
|
|
30
|
+
exports.WaitListStaffApi = void 0;
|
|
30
31
|
const axios_1 = require("axios");
|
|
31
32
|
// Some imports not used depending on template conditions
|
|
32
33
|
// @ts-ignore
|
|
@@ -371,6 +372,35 @@ exports.OnboardingStatusResponseCurrentStepEnum = {
|
|
|
371
372
|
ConnectedAccountSetup: 'connected_account_setup',
|
|
372
373
|
Completed: 'completed'
|
|
373
374
|
};
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @export
|
|
378
|
+
* @enum {string}
|
|
379
|
+
*/
|
|
380
|
+
exports.OpenGuestContributionPaymentChannel = {
|
|
381
|
+
Online: 'online',
|
|
382
|
+
Onsite: 'onsite'
|
|
383
|
+
};
|
|
384
|
+
/**
|
|
385
|
+
*
|
|
386
|
+
* @export
|
|
387
|
+
* @enum {string}
|
|
388
|
+
*/
|
|
389
|
+
exports.OpenGuestContributionSource = {
|
|
390
|
+
Creation: 'creation',
|
|
391
|
+
Join: 'join'
|
|
392
|
+
};
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @export
|
|
396
|
+
* @enum {string}
|
|
397
|
+
*/
|
|
398
|
+
exports.OpenGuestContributionStatus = {
|
|
399
|
+
Pending: 'pending',
|
|
400
|
+
Confirmed: 'confirmed',
|
|
401
|
+
Expired: 'expired',
|
|
402
|
+
Canceled: 'canceled'
|
|
403
|
+
};
|
|
374
404
|
exports.PartialPublicAccessSettingsPaymentModeEnum = {
|
|
375
405
|
Free: 'free',
|
|
376
406
|
AccessFee: 'access_fee',
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/esm/api.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.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.306
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
*
|
|
@@ -970,6 +976,12 @@ export interface BookingPlayerPaymentSummary {
|
|
|
970
976
|
* @memberof BookingPlayerPaymentSummary
|
|
971
977
|
*/
|
|
972
978
|
'amountToPay': number;
|
|
979
|
+
/**
|
|
980
|
+
*
|
|
981
|
+
* @type {number}
|
|
982
|
+
* @memberof BookingPlayerPaymentSummary
|
|
983
|
+
*/
|
|
984
|
+
'usedCredits'?: number | null;
|
|
973
985
|
/**
|
|
974
986
|
*
|
|
975
987
|
* @type {string}
|
|
@@ -10910,6 +10922,85 @@ export interface ManagerConsoleInvoiceUserSummary {
|
|
|
10910
10922
|
*/
|
|
10911
10923
|
'profilePictureUrl'?: string;
|
|
10912
10924
|
}
|
|
10925
|
+
/**
|
|
10926
|
+
*
|
|
10927
|
+
* @export
|
|
10928
|
+
* @interface ManagerConsoleOpenGuestContributionResponse
|
|
10929
|
+
*/
|
|
10930
|
+
export interface ManagerConsoleOpenGuestContributionResponse {
|
|
10931
|
+
/**
|
|
10932
|
+
*
|
|
10933
|
+
* @type {OpenGuestContributionSource}
|
|
10934
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10935
|
+
*/
|
|
10936
|
+
'source': OpenGuestContributionSource;
|
|
10937
|
+
/**
|
|
10938
|
+
*
|
|
10939
|
+
* @type {OpenGuestContributionStatus}
|
|
10940
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10941
|
+
*/
|
|
10942
|
+
'status': OpenGuestContributionStatus;
|
|
10943
|
+
/**
|
|
10944
|
+
*
|
|
10945
|
+
* @type {OpenGuestContributionPaymentChannel}
|
|
10946
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10947
|
+
*/
|
|
10948
|
+
'paymentChannel'?: OpenGuestContributionPaymentChannel;
|
|
10949
|
+
/**
|
|
10950
|
+
*
|
|
10951
|
+
* @type {string}
|
|
10952
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10953
|
+
*/
|
|
10954
|
+
'actorPlayerId': string;
|
|
10955
|
+
/**
|
|
10956
|
+
*
|
|
10957
|
+
* @type {Array<string>}
|
|
10958
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10959
|
+
*/
|
|
10960
|
+
'registeredPlayerIds': Array<string>;
|
|
10961
|
+
/**
|
|
10962
|
+
*
|
|
10963
|
+
* @type {number}
|
|
10964
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10965
|
+
*/
|
|
10966
|
+
'requestedPlayersCount': number;
|
|
10967
|
+
/**
|
|
10968
|
+
*
|
|
10969
|
+
* @type {number}
|
|
10970
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10971
|
+
*/
|
|
10972
|
+
'registeredPlayersCount': number;
|
|
10973
|
+
/**
|
|
10974
|
+
*
|
|
10975
|
+
* @type {number}
|
|
10976
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10977
|
+
*/
|
|
10978
|
+
'guestCount': number;
|
|
10979
|
+
/**
|
|
10980
|
+
*
|
|
10981
|
+
* @type {string}
|
|
10982
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10983
|
+
*/
|
|
10984
|
+
'invoiceId'?: string;
|
|
10985
|
+
/**
|
|
10986
|
+
*
|
|
10987
|
+
* @type {string}
|
|
10988
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10989
|
+
*/
|
|
10990
|
+
'setupInvoiceId'?: string;
|
|
10991
|
+
/**
|
|
10992
|
+
*
|
|
10993
|
+
* @type {string}
|
|
10994
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
10995
|
+
*/
|
|
10996
|
+
'createdAt': string | null;
|
|
10997
|
+
/**
|
|
10998
|
+
*
|
|
10999
|
+
* @type {string}
|
|
11000
|
+
* @memberof ManagerConsoleOpenGuestContributionResponse
|
|
11001
|
+
*/
|
|
11002
|
+
'resolvedAt'?: string | null;
|
|
11003
|
+
}
|
|
10913
11004
|
/**
|
|
10914
11005
|
*
|
|
10915
11006
|
* @export
|
|
@@ -12530,6 +12621,38 @@ export interface OpenBookingsResponse {
|
|
|
12530
12621
|
*/
|
|
12531
12622
|
'bookings': Array<OpenBookingInfo>;
|
|
12532
12623
|
}
|
|
12624
|
+
/**
|
|
12625
|
+
*
|
|
12626
|
+
* @export
|
|
12627
|
+
* @enum {string}
|
|
12628
|
+
*/
|
|
12629
|
+
export declare const OpenGuestContributionPaymentChannel: {
|
|
12630
|
+
readonly Online: "online";
|
|
12631
|
+
readonly Onsite: "onsite";
|
|
12632
|
+
};
|
|
12633
|
+
export type OpenGuestContributionPaymentChannel = typeof OpenGuestContributionPaymentChannel[keyof typeof OpenGuestContributionPaymentChannel];
|
|
12634
|
+
/**
|
|
12635
|
+
*
|
|
12636
|
+
* @export
|
|
12637
|
+
* @enum {string}
|
|
12638
|
+
*/
|
|
12639
|
+
export declare const OpenGuestContributionSource: {
|
|
12640
|
+
readonly Creation: "creation";
|
|
12641
|
+
readonly Join: "join";
|
|
12642
|
+
};
|
|
12643
|
+
export type OpenGuestContributionSource = typeof OpenGuestContributionSource[keyof typeof OpenGuestContributionSource];
|
|
12644
|
+
/**
|
|
12645
|
+
*
|
|
12646
|
+
* @export
|
|
12647
|
+
* @enum {string}
|
|
12648
|
+
*/
|
|
12649
|
+
export declare const OpenGuestContributionStatus: {
|
|
12650
|
+
readonly Pending: "pending";
|
|
12651
|
+
readonly Confirmed: "confirmed";
|
|
12652
|
+
readonly Expired: "expired";
|
|
12653
|
+
readonly Canceled: "canceled";
|
|
12654
|
+
};
|
|
12655
|
+
export type OpenGuestContributionStatus = typeof OpenGuestContributionStatus[keyof typeof OpenGuestContributionStatus];
|
|
12533
12656
|
/**
|
|
12534
12657
|
*
|
|
12535
12658
|
* @export
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.306
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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',
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -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
|
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**lastName** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**amountToPay** | **number** | | [default to undefined]
|
|
13
|
+
**usedCredits** | **number** | | [optional] [default to undefined]
|
|
13
14
|
**invoiceId** | **string** | | [optional] [default to undefined]
|
|
14
15
|
**invoiceStatus** | [**InvoiceStatus**](InvoiceStatus.md) | | [optional] [default to undefined]
|
|
15
16
|
**isCreator** | **boolean** | | [default to undefined]
|
|
@@ -26,6 +27,7 @@ const instance: BookingPlayerPaymentSummary = {
|
|
|
26
27
|
lastName,
|
|
27
28
|
profilePicture,
|
|
28
29
|
amountToPay,
|
|
30
|
+
usedCredits,
|
|
29
31
|
invoiceId,
|
|
30
32
|
invoiceStatus,
|
|
31
33
|
isCreator,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# ManagerConsoleOpenGuestContributionResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**source** | [**OpenGuestContributionSource**](OpenGuestContributionSource.md) | | [default to undefined]
|
|
9
|
+
**status** | [**OpenGuestContributionStatus**](OpenGuestContributionStatus.md) | | [default to undefined]
|
|
10
|
+
**paymentChannel** | [**OpenGuestContributionPaymentChannel**](OpenGuestContributionPaymentChannel.md) | | [optional] [default to undefined]
|
|
11
|
+
**actorPlayerId** | **string** | | [default to undefined]
|
|
12
|
+
**registeredPlayerIds** | **Array<string>** | | [default to undefined]
|
|
13
|
+
**requestedPlayersCount** | **number** | | [default to undefined]
|
|
14
|
+
**registeredPlayersCount** | **number** | | [default to undefined]
|
|
15
|
+
**guestCount** | **number** | | [default to undefined]
|
|
16
|
+
**invoiceId** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**setupInvoiceId** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**createdAt** | **string** | | [default to undefined]
|
|
19
|
+
**resolvedAt** | **string** | | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { ManagerConsoleOpenGuestContributionResponse } from '@tennac-booking/sdk';
|
|
25
|
+
|
|
26
|
+
const instance: ManagerConsoleOpenGuestContributionResponse = {
|
|
27
|
+
source,
|
|
28
|
+
status,
|
|
29
|
+
paymentChannel,
|
|
30
|
+
actorPlayerId,
|
|
31
|
+
registeredPlayerIds,
|
|
32
|
+
requestedPlayersCount,
|
|
33
|
+
registeredPlayersCount,
|
|
34
|
+
guestCount,
|
|
35
|
+
invoiceId,
|
|
36
|
+
setupInvoiceId,
|
|
37
|
+
createdAt,
|
|
38
|
+
resolvedAt,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[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,10 @@
|
|
|
1
|
+
# OpenGuestContributionPaymentChannel
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Online` (value: `'online'`)
|
|
7
|
+
|
|
8
|
+
* `Onsite` (value: `'onsite'`)
|
|
9
|
+
|
|
10
|
+
[[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,10 @@
|
|
|
1
|
+
# OpenGuestContributionSource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Creation` (value: `'creation'`)
|
|
7
|
+
|
|
8
|
+
* `Join` (value: `'join'`)
|
|
9
|
+
|
|
10
|
+
[[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,14 @@
|
|
|
1
|
+
# OpenGuestContributionStatus
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Pending` (value: `'pending'`)
|
|
7
|
+
|
|
8
|
+
* `Confirmed` (value: `'confirmed'`)
|
|
9
|
+
|
|
10
|
+
* `Expired` (value: `'expired'`)
|
|
11
|
+
|
|
12
|
+
* `Canceled` (value: `'canceled'`)
|
|
13
|
+
|
|
14
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/index.ts
CHANGED