@tennac-booking/sdk 1.0.304 → 1.0.306
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/README.md +2 -2
- package/api.ts +43 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +43 -1
- package/dist/api.js +1 -1
- 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 +43 -1
- package/dist/esm/api.js +1 -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/BookingPlayerPaymentSummary.md +2 -0
- package/docs/IUserAttributes.md +2 -0
- package/docs/PaymentDistributionResult.md +6 -0
- package/docs/StaffUserProfileResponse.md +2 -0
- package/docs/UserProfileResponse.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
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):_
|
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).
|
|
@@ -995,6 +995,12 @@ export interface BookingPlayerPaymentSummary {
|
|
|
995
995
|
* @memberof BookingPlayerPaymentSummary
|
|
996
996
|
*/
|
|
997
997
|
'amountToPay': number;
|
|
998
|
+
/**
|
|
999
|
+
*
|
|
1000
|
+
* @type {number}
|
|
1001
|
+
* @memberof BookingPlayerPaymentSummary
|
|
1002
|
+
*/
|
|
1003
|
+
'usedCredits'?: number | null;
|
|
998
1004
|
/**
|
|
999
1005
|
*
|
|
1000
1006
|
* @type {string}
|
|
@@ -9438,6 +9444,12 @@ export interface IUserAttributes {
|
|
|
9438
9444
|
* @memberof IUserAttributes
|
|
9439
9445
|
*/
|
|
9440
9446
|
'emailVerificationExpires'?: string;
|
|
9447
|
+
/**
|
|
9448
|
+
*
|
|
9449
|
+
* @type {string}
|
|
9450
|
+
* @memberof IUserAttributes
|
|
9451
|
+
*/
|
|
9452
|
+
'signupConfirmationEmailSentAt'?: string;
|
|
9441
9453
|
/**
|
|
9442
9454
|
*
|
|
9443
9455
|
* @type {Array<IUserAttributesOrganizationsInner>}
|
|
@@ -13253,6 +13265,18 @@ export interface PaymentDistributionResult {
|
|
|
13253
13265
|
* @memberof PaymentDistributionResult
|
|
13254
13266
|
*/
|
|
13255
13267
|
'paidAmount': number;
|
|
13268
|
+
/**
|
|
13269
|
+
*
|
|
13270
|
+
* @type {number}
|
|
13271
|
+
* @memberof PaymentDistributionResult
|
|
13272
|
+
*/
|
|
13273
|
+
'creditsAppliedAmount': number;
|
|
13274
|
+
/**
|
|
13275
|
+
*
|
|
13276
|
+
* @type {number}
|
|
13277
|
+
* @memberof PaymentDistributionResult
|
|
13278
|
+
*/
|
|
13279
|
+
'coveredAmount': number;
|
|
13256
13280
|
/**
|
|
13257
13281
|
*
|
|
13258
13282
|
* @type {number}
|
|
@@ -13277,6 +13301,12 @@ export interface PaymentDistributionResult {
|
|
|
13277
13301
|
* @memberof PaymentDistributionResult
|
|
13278
13302
|
*/
|
|
13279
13303
|
'guestsCount': number;
|
|
13304
|
+
/**
|
|
13305
|
+
*
|
|
13306
|
+
* @type {number}
|
|
13307
|
+
* @memberof PaymentDistributionResult
|
|
13308
|
+
*/
|
|
13309
|
+
'guestsPendingPaymentCount': number;
|
|
13280
13310
|
/**
|
|
13281
13311
|
*
|
|
13282
13312
|
* @type {number}
|
|
@@ -16355,6 +16385,12 @@ export interface StaffUserProfileResponse {
|
|
|
16355
16385
|
* @memberof StaffUserProfileResponse
|
|
16356
16386
|
*/
|
|
16357
16387
|
'emailVerificationExpires'?: string;
|
|
16388
|
+
/**
|
|
16389
|
+
*
|
|
16390
|
+
* @type {string}
|
|
16391
|
+
* @memberof StaffUserProfileResponse
|
|
16392
|
+
*/
|
|
16393
|
+
'signupConfirmationEmailSentAt'?: string;
|
|
16358
16394
|
/**
|
|
16359
16395
|
*
|
|
16360
16396
|
* @type {Array<IUserAttributesOrganizationsInner>}
|
|
@@ -19366,6 +19402,12 @@ export interface UserProfileResponse {
|
|
|
19366
19402
|
* @memberof UserProfileResponse
|
|
19367
19403
|
*/
|
|
19368
19404
|
'emailVerificationExpires'?: string;
|
|
19405
|
+
/**
|
|
19406
|
+
*
|
|
19407
|
+
* @type {string}
|
|
19408
|
+
* @memberof UserProfileResponse
|
|
19409
|
+
*/
|
|
19410
|
+
'signupConfirmationEmailSentAt'?: string;
|
|
19369
19411
|
/**
|
|
19370
19412
|
*
|
|
19371
19413
|
* @type {Array<IUserAttributesOrganizationsInner>}
|
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).
|
|
@@ -970,6 +970,12 @@ export interface BookingPlayerPaymentSummary {
|
|
|
970
970
|
* @memberof BookingPlayerPaymentSummary
|
|
971
971
|
*/
|
|
972
972
|
'amountToPay': number;
|
|
973
|
+
/**
|
|
974
|
+
*
|
|
975
|
+
* @type {number}
|
|
976
|
+
* @memberof BookingPlayerPaymentSummary
|
|
977
|
+
*/
|
|
978
|
+
'usedCredits'?: number | null;
|
|
973
979
|
/**
|
|
974
980
|
*
|
|
975
981
|
* @type {string}
|
|
@@ -9299,6 +9305,12 @@ export interface IUserAttributes {
|
|
|
9299
9305
|
* @memberof IUserAttributes
|
|
9300
9306
|
*/
|
|
9301
9307
|
'emailVerificationExpires'?: string;
|
|
9308
|
+
/**
|
|
9309
|
+
*
|
|
9310
|
+
* @type {string}
|
|
9311
|
+
* @memberof IUserAttributes
|
|
9312
|
+
*/
|
|
9313
|
+
'signupConfirmationEmailSentAt'?: string;
|
|
9302
9314
|
/**
|
|
9303
9315
|
*
|
|
9304
9316
|
* @type {Array<IUserAttributesOrganizationsInner>}
|
|
@@ -13064,6 +13076,18 @@ export interface PaymentDistributionResult {
|
|
|
13064
13076
|
* @memberof PaymentDistributionResult
|
|
13065
13077
|
*/
|
|
13066
13078
|
'paidAmount': number;
|
|
13079
|
+
/**
|
|
13080
|
+
*
|
|
13081
|
+
* @type {number}
|
|
13082
|
+
* @memberof PaymentDistributionResult
|
|
13083
|
+
*/
|
|
13084
|
+
'creditsAppliedAmount': number;
|
|
13085
|
+
/**
|
|
13086
|
+
*
|
|
13087
|
+
* @type {number}
|
|
13088
|
+
* @memberof PaymentDistributionResult
|
|
13089
|
+
*/
|
|
13090
|
+
'coveredAmount': number;
|
|
13067
13091
|
/**
|
|
13068
13092
|
*
|
|
13069
13093
|
* @type {number}
|
|
@@ -13088,6 +13112,12 @@ export interface PaymentDistributionResult {
|
|
|
13088
13112
|
* @memberof PaymentDistributionResult
|
|
13089
13113
|
*/
|
|
13090
13114
|
'guestsCount': number;
|
|
13115
|
+
/**
|
|
13116
|
+
*
|
|
13117
|
+
* @type {number}
|
|
13118
|
+
* @memberof PaymentDistributionResult
|
|
13119
|
+
*/
|
|
13120
|
+
'guestsPendingPaymentCount': number;
|
|
13091
13121
|
/**
|
|
13092
13122
|
*
|
|
13093
13123
|
* @type {number}
|
|
@@ -16098,6 +16128,12 @@ export interface StaffUserProfileResponse {
|
|
|
16098
16128
|
* @memberof StaffUserProfileResponse
|
|
16099
16129
|
*/
|
|
16100
16130
|
'emailVerificationExpires'?: string;
|
|
16131
|
+
/**
|
|
16132
|
+
*
|
|
16133
|
+
* @type {string}
|
|
16134
|
+
* @memberof StaffUserProfileResponse
|
|
16135
|
+
*/
|
|
16136
|
+
'signupConfirmationEmailSentAt'?: string;
|
|
16101
16137
|
/**
|
|
16102
16138
|
*
|
|
16103
16139
|
* @type {Array<IUserAttributesOrganizationsInner>}
|
|
@@ -19075,6 +19111,12 @@ export interface UserProfileResponse {
|
|
|
19075
19111
|
* @memberof UserProfileResponse
|
|
19076
19112
|
*/
|
|
19077
19113
|
'emailVerificationExpires'?: string;
|
|
19114
|
+
/**
|
|
19115
|
+
*
|
|
19116
|
+
* @type {string}
|
|
19117
|
+
* @memberof UserProfileResponse
|
|
19118
|
+
*/
|
|
19119
|
+
'signupConfirmationEmailSentAt'?: string;
|
|
19078
19120
|
/**
|
|
19079
19121
|
*
|
|
19080
19122
|
* @type {Array<IUserAttributesOrganizationsInner>}
|
package/dist/api.js
CHANGED
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).
|
|
@@ -970,6 +970,12 @@ export interface BookingPlayerPaymentSummary {
|
|
|
970
970
|
* @memberof BookingPlayerPaymentSummary
|
|
971
971
|
*/
|
|
972
972
|
'amountToPay': number;
|
|
973
|
+
/**
|
|
974
|
+
*
|
|
975
|
+
* @type {number}
|
|
976
|
+
* @memberof BookingPlayerPaymentSummary
|
|
977
|
+
*/
|
|
978
|
+
'usedCredits'?: number | null;
|
|
973
979
|
/**
|
|
974
980
|
*
|
|
975
981
|
* @type {string}
|
|
@@ -9299,6 +9305,12 @@ export interface IUserAttributes {
|
|
|
9299
9305
|
* @memberof IUserAttributes
|
|
9300
9306
|
*/
|
|
9301
9307
|
'emailVerificationExpires'?: string;
|
|
9308
|
+
/**
|
|
9309
|
+
*
|
|
9310
|
+
* @type {string}
|
|
9311
|
+
* @memberof IUserAttributes
|
|
9312
|
+
*/
|
|
9313
|
+
'signupConfirmationEmailSentAt'?: string;
|
|
9302
9314
|
/**
|
|
9303
9315
|
*
|
|
9304
9316
|
* @type {Array<IUserAttributesOrganizationsInner>}
|
|
@@ -13064,6 +13076,18 @@ export interface PaymentDistributionResult {
|
|
|
13064
13076
|
* @memberof PaymentDistributionResult
|
|
13065
13077
|
*/
|
|
13066
13078
|
'paidAmount': number;
|
|
13079
|
+
/**
|
|
13080
|
+
*
|
|
13081
|
+
* @type {number}
|
|
13082
|
+
* @memberof PaymentDistributionResult
|
|
13083
|
+
*/
|
|
13084
|
+
'creditsAppliedAmount': number;
|
|
13085
|
+
/**
|
|
13086
|
+
*
|
|
13087
|
+
* @type {number}
|
|
13088
|
+
* @memberof PaymentDistributionResult
|
|
13089
|
+
*/
|
|
13090
|
+
'coveredAmount': number;
|
|
13067
13091
|
/**
|
|
13068
13092
|
*
|
|
13069
13093
|
* @type {number}
|
|
@@ -13088,6 +13112,12 @@ export interface PaymentDistributionResult {
|
|
|
13088
13112
|
* @memberof PaymentDistributionResult
|
|
13089
13113
|
*/
|
|
13090
13114
|
'guestsCount': number;
|
|
13115
|
+
/**
|
|
13116
|
+
*
|
|
13117
|
+
* @type {number}
|
|
13118
|
+
* @memberof PaymentDistributionResult
|
|
13119
|
+
*/
|
|
13120
|
+
'guestsPendingPaymentCount': number;
|
|
13091
13121
|
/**
|
|
13092
13122
|
*
|
|
13093
13123
|
* @type {number}
|
|
@@ -16098,6 +16128,12 @@ export interface StaffUserProfileResponse {
|
|
|
16098
16128
|
* @memberof StaffUserProfileResponse
|
|
16099
16129
|
*/
|
|
16100
16130
|
'emailVerificationExpires'?: string;
|
|
16131
|
+
/**
|
|
16132
|
+
*
|
|
16133
|
+
* @type {string}
|
|
16134
|
+
* @memberof StaffUserProfileResponse
|
|
16135
|
+
*/
|
|
16136
|
+
'signupConfirmationEmailSentAt'?: string;
|
|
16101
16137
|
/**
|
|
16102
16138
|
*
|
|
16103
16139
|
* @type {Array<IUserAttributesOrganizationsInner>}
|
|
@@ -19075,6 +19111,12 @@ export interface UserProfileResponse {
|
|
|
19075
19111
|
* @memberof UserProfileResponse
|
|
19076
19112
|
*/
|
|
19077
19113
|
'emailVerificationExpires'?: string;
|
|
19114
|
+
/**
|
|
19115
|
+
*
|
|
19116
|
+
* @type {string}
|
|
19117
|
+
* @memberof UserProfileResponse
|
|
19118
|
+
*/
|
|
19119
|
+
'signupConfirmationEmailSentAt'?: string;
|
|
19078
19120
|
/**
|
|
19079
19121
|
*
|
|
19080
19122
|
* @type {Array<IUserAttributesOrganizationsInner>}
|
package/dist/esm/api.js
CHANGED
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
|
@@ -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,
|
package/docs/IUserAttributes.md
CHANGED
|
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
|
|
|
25
25
|
**resetPasswordExpires** | **string** | | [optional] [default to undefined]
|
|
26
26
|
**emailVerificationToken** | **string** | | [optional] [default to undefined]
|
|
27
27
|
**emailVerificationExpires** | **string** | | [optional] [default to undefined]
|
|
28
|
+
**signupConfirmationEmailSentAt** | **string** | | [optional] [default to undefined]
|
|
28
29
|
**organizations** | [**Array<IUserAttributesOrganizationsInner>**](IUserAttributesOrganizationsInner.md) | | [optional] [default to undefined]
|
|
29
30
|
**isGuest** | **boolean** | | [optional] [default to undefined]
|
|
30
31
|
**isAdmin** | **boolean** | | [optional] [default to undefined]
|
|
@@ -67,6 +68,7 @@ const instance: IUserAttributes = {
|
|
|
67
68
|
resetPasswordExpires,
|
|
68
69
|
emailVerificationToken,
|
|
69
70
|
emailVerificationExpires,
|
|
71
|
+
signupConfirmationEmailSentAt,
|
|
70
72
|
organizations,
|
|
71
73
|
isGuest,
|
|
72
74
|
isAdmin,
|
|
@@ -7,10 +7,13 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**totalAmount** | **number** | | [default to undefined]
|
|
9
9
|
**paidAmount** | **number** | | [default to undefined]
|
|
10
|
+
**creditsAppliedAmount** | **number** | | [default to undefined]
|
|
11
|
+
**coveredAmount** | **number** | | [default to undefined]
|
|
10
12
|
**remainingAmount** | **number** | | [default to undefined]
|
|
11
13
|
**playersCount** | **number** | | [default to undefined]
|
|
12
14
|
**registeredPlayersCount** | **number** | | [default to undefined]
|
|
13
15
|
**guestsCount** | **number** | | [default to undefined]
|
|
16
|
+
**guestsPendingPaymentCount** | **number** | | [default to undefined]
|
|
14
17
|
**guestShare** | **number** | | [default to undefined]
|
|
15
18
|
|
|
16
19
|
## Example
|
|
@@ -21,10 +24,13 @@ import { PaymentDistributionResult } from '@tennac-booking/sdk';
|
|
|
21
24
|
const instance: PaymentDistributionResult = {
|
|
22
25
|
totalAmount,
|
|
23
26
|
paidAmount,
|
|
27
|
+
creditsAppliedAmount,
|
|
28
|
+
coveredAmount,
|
|
24
29
|
remainingAmount,
|
|
25
30
|
playersCount,
|
|
26
31
|
registeredPlayersCount,
|
|
27
32
|
guestsCount,
|
|
33
|
+
guestsPendingPaymentCount,
|
|
28
34
|
guestShare,
|
|
29
35
|
};
|
|
30
36
|
```
|
|
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
|
|
|
25
25
|
**resetPasswordExpires** | **string** | | [optional] [default to undefined]
|
|
26
26
|
**emailVerificationToken** | **string** | | [optional] [default to undefined]
|
|
27
27
|
**emailVerificationExpires** | **string** | | [optional] [default to undefined]
|
|
28
|
+
**signupConfirmationEmailSentAt** | **string** | | [optional] [default to undefined]
|
|
28
29
|
**organizations** | [**Array<IUserAttributesOrganizationsInner>**](IUserAttributesOrganizationsInner.md) | | [optional] [default to undefined]
|
|
29
30
|
**isGuest** | **boolean** | | [optional] [default to undefined]
|
|
30
31
|
**isAdmin** | **boolean** | | [optional] [default to undefined]
|
|
@@ -69,6 +70,7 @@ const instance: StaffUserProfileResponse = {
|
|
|
69
70
|
resetPasswordExpires,
|
|
70
71
|
emailVerificationToken,
|
|
71
72
|
emailVerificationExpires,
|
|
73
|
+
signupConfirmationEmailSentAt,
|
|
72
74
|
organizations,
|
|
73
75
|
isGuest,
|
|
74
76
|
isAdmin,
|
|
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
|
|
|
25
25
|
**resetPasswordExpires** | **string** | | [optional] [default to undefined]
|
|
26
26
|
**emailVerificationToken** | **string** | | [optional] [default to undefined]
|
|
27
27
|
**emailVerificationExpires** | **string** | | [optional] [default to undefined]
|
|
28
|
+
**signupConfirmationEmailSentAt** | **string** | | [optional] [default to undefined]
|
|
28
29
|
**organizations** | [**Array<IUserAttributesOrganizationsInner>**](IUserAttributesOrganizationsInner.md) | | [optional] [default to undefined]
|
|
29
30
|
**isGuest** | **boolean** | | [optional] [default to undefined]
|
|
30
31
|
**isAdmin** | **boolean** | | [optional] [default to undefined]
|
|
@@ -80,6 +81,7 @@ const instance: UserProfileResponse = {
|
|
|
80
81
|
resetPasswordExpires,
|
|
81
82
|
emailVerificationToken,
|
|
82
83
|
emailVerificationExpires,
|
|
84
|
+
signupConfirmationEmailSentAt,
|
|
83
85
|
organizations,
|
|
84
86
|
isGuest,
|
|
85
87
|
isAdmin,
|
package/index.ts
CHANGED