@jugarhoy/api 1.1.52 → 1.1.56

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.
@@ -51,18 +51,42 @@ export interface CreateCustomerPaymentConfigDto {
51
51
  * @memberof CreateCustomerPaymentConfigDto
52
52
  */
53
53
  discount?: number;
54
+ /**
55
+ * Extra % charged to customer for selecting this payment method
56
+ * @type {number}
57
+ * @memberof CreateCustomerPaymentConfigDto
58
+ */
59
+ surchargePct?: number;
54
60
  /**
55
61
  * ID of the associated bank card (for TARJETA payment method)
56
62
  * @type {string}
57
63
  * @memberof CreateCustomerPaymentConfigDto
58
64
  */
59
65
  bankCardId?: string | null;
66
+ /**
67
+ * Club's CBU for weekly service fee debit
68
+ * @type {string}
69
+ * @memberof CreateCustomerPaymentConfigDto
70
+ */
71
+ cbu?: string | null;
60
72
  /**
61
73
  * Whether this payment configuration is enabled
62
74
  * @type {boolean}
63
75
  * @memberof CreateCustomerPaymentConfigDto
64
76
  */
65
77
  enabled?: boolean;
78
+ /**
79
+ * Cucuru API Key (write-only, only for TRANSFER_CUCURU — never returned)
80
+ * @type {string}
81
+ * @memberof CreateCustomerPaymentConfigDto
82
+ */
83
+ apiKey?: string;
84
+ /**
85
+ * Cucuru Collector ID (write-only, only for TRANSFER_CUCURU — never returned)
86
+ * @type {string}
87
+ * @memberof CreateCustomerPaymentConfigDto
88
+ */
89
+ collectorId?: string;
66
90
  }
67
91
 
68
92
 
@@ -91,8 +115,12 @@ export function CreateCustomerPaymentConfigDtoFromJSONTyped(json: any, ignoreDis
91
115
  'name': json['name'],
92
116
  'code': json['code'],
93
117
  'discount': json['discount'] == null ? undefined : json['discount'],
118
+ 'surchargePct': json['surchargePct'] == null ? undefined : json['surchargePct'],
94
119
  'bankCardId': json['bankCardId'] == null ? undefined : json['bankCardId'],
120
+ 'cbu': json['cbu'] == null ? undefined : json['cbu'],
95
121
  'enabled': json['enabled'] == null ? undefined : json['enabled'],
122
+ 'apiKey': json['apiKey'] == null ? undefined : json['apiKey'],
123
+ 'collectorId': json['collectorId'] == null ? undefined : json['collectorId'],
96
124
  };
97
125
  }
98
126
 
@@ -111,8 +139,12 @@ export function CreateCustomerPaymentConfigDtoToJSONTyped(value?: CreateCustomer
111
139
  'name': value['name'],
112
140
  'code': value['code'],
113
141
  'discount': value['discount'],
142
+ 'surchargePct': value['surchargePct'],
114
143
  'bankCardId': value['bankCardId'],
144
+ 'cbu': value['cbu'],
115
145
  'enabled': value['enabled'],
146
+ 'apiKey': value['apiKey'],
147
+ 'collectorId': value['collectorId'],
116
148
  };
117
149
  }
118
150
 
@@ -63,12 +63,24 @@ export interface CustomerPaymentConfig {
63
63
  * @memberof CustomerPaymentConfig
64
64
  */
65
65
  discount: number;
66
+ /**
67
+ * Extra % charged to customer for selecting this payment method
68
+ * @type {number}
69
+ * @memberof CustomerPaymentConfig
70
+ */
71
+ surchargePct?: number;
66
72
  /**
67
73
  * ID of the associated bank card (for TARJETA payment method)
68
74
  * @type {string}
69
75
  * @memberof CustomerPaymentConfig
70
76
  */
71
77
  bankCardId?: string | null;
78
+ /**
79
+ * Club's CBU for weekly service fee debit
80
+ * @type {string}
81
+ * @memberof CustomerPaymentConfig
82
+ */
83
+ cbu?: string | null;
72
84
  /**
73
85
  * Whether the OAuth provider account is linked (e.g. MercadoPago account authorized)
74
86
  * @type {boolean}
@@ -128,7 +140,9 @@ export function CustomerPaymentConfigFromJSONTyped(json: any, ignoreDiscriminato
128
140
  'name': json['name'],
129
141
  'code': json['code'],
130
142
  'discount': json['discount'],
143
+ 'surchargePct': json['surchargePct'] == null ? undefined : json['surchargePct'],
131
144
  'bankCardId': json['bankCardId'] == null ? undefined : json['bankCardId'],
145
+ 'cbu': json['cbu'] == null ? undefined : json['cbu'],
132
146
  'linked': json['linked'] == null ? undefined : json['linked'],
133
147
  'enabled': json['enabled'],
134
148
  'createdAt': (new Date(json['createdAt'])),
@@ -153,7 +167,9 @@ export function CustomerPaymentConfigToJSONTyped(value?: CustomerPaymentConfig |
153
167
  'name': value['name'],
154
168
  'code': value['code'],
155
169
  'discount': value['discount'],
170
+ 'surchargePct': value['surchargePct'],
156
171
  'bankCardId': value['bankCardId'],
172
+ 'cbu': value['cbu'],
157
173
  'linked': value['linked'],
158
174
  'enabled': value['enabled'],
159
175
  'createdAt': ((value['createdAt']).toISOString()),
@@ -51,12 +51,24 @@ export interface CustomerPaymentConfigDto {
51
51
  * @memberof CustomerPaymentConfigDto
52
52
  */
53
53
  discount: number;
54
+ /**
55
+ * Extra % charged to customer for selecting this payment method
56
+ * @type {number}
57
+ * @memberof CustomerPaymentConfigDto
58
+ */
59
+ surchargePct?: number;
54
60
  /**
55
61
  * ID of the associated bank card (for TARJETA payment method)
56
62
  * @type {string}
57
63
  * @memberof CustomerPaymentConfigDto
58
64
  */
59
65
  bankCardId?: string | null;
66
+ /**
67
+ * Club's CBU for weekly service fee debit
68
+ * @type {string}
69
+ * @memberof CustomerPaymentConfigDto
70
+ */
71
+ cbu?: string | null;
60
72
  /**
61
73
  * Whether this payment configuration is enabled
62
74
  * @type {boolean}
@@ -93,7 +105,9 @@ export function CustomerPaymentConfigDtoFromJSONTyped(json: any, ignoreDiscrimin
93
105
  'name': json['name'],
94
106
  'code': json['code'],
95
107
  'discount': json['discount'],
108
+ 'surchargePct': json['surchargePct'] == null ? undefined : json['surchargePct'],
96
109
  'bankCardId': json['bankCardId'] == null ? undefined : json['bankCardId'],
110
+ 'cbu': json['cbu'] == null ? undefined : json['cbu'],
97
111
  'enabled': json['enabled'],
98
112
  };
99
113
  }
@@ -113,7 +127,9 @@ export function CustomerPaymentConfigDtoToJSONTyped(value?: CustomerPaymentConfi
113
127
  'name': value['name'],
114
128
  'code': value['code'],
115
129
  'discount': value['discount'],
130
+ 'surchargePct': value['surchargePct'],
116
131
  'bankCardId': value['bankCardId'],
132
+ 'cbu': value['cbu'],
117
133
  'enabled': value['enabled'],
118
134
  };
119
135
  }
@@ -125,12 +125,36 @@ export interface PaymentDetail {
125
125
  * @memberof PaymentDetail
126
126
  */
127
127
  mobile?: boolean;
128
+ /**
129
+ * Provider surcharge applied on top of base price
130
+ * @type {number}
131
+ * @memberof PaymentDetail
132
+ */
133
+ surcharge?: number;
128
134
  /**
129
135
  * MercadoPago checkout URL
130
136
  * @type {string}
131
137
  * @memberof PaymentDetail
132
138
  */
133
139
  initPoint?: string | null;
140
+ /**
141
+ * Cucuru unique alias generated per transaction
142
+ * @type {string}
143
+ * @memberof PaymentDetail
144
+ */
145
+ transferAlias?: string | null;
146
+ /**
147
+ * Cucuru CVU (account_number) for the collection account
148
+ * @type {string}
149
+ * @memberof PaymentDetail
150
+ */
151
+ transferCvu?: string | null;
152
+ /**
153
+ * Cumulative amount received via Cucuru transfers (may differ from total if underpaid/overpaid)
154
+ * @type {number}
155
+ * @memberof PaymentDetail
156
+ */
157
+ paidAmount?: number | null;
134
158
  }
135
159
 
136
160
 
@@ -175,7 +199,11 @@ export function PaymentDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
175
199
  'total': json['total'],
176
200
  'currency': json['currency'],
177
201
  'mobile': json['mobile'] == null ? undefined : json['mobile'],
202
+ 'surcharge': json['surcharge'] == null ? undefined : json['surcharge'],
178
203
  'initPoint': json['initPoint'] == null ? undefined : json['initPoint'],
204
+ 'transferAlias': json['transferAlias'] == null ? undefined : json['transferAlias'],
205
+ 'transferCvu': json['transferCvu'] == null ? undefined : json['transferCvu'],
206
+ 'paidAmount': json['paidAmount'] == null ? undefined : json['paidAmount'],
179
207
  };
180
208
  }
181
209
 
@@ -204,7 +232,11 @@ export function PaymentDetailToJSONTyped(value?: PaymentDetail | null, ignoreDis
204
232
  'total': value['total'],
205
233
  'currency': value['currency'],
206
234
  'mobile': value['mobile'],
235
+ 'surcharge': value['surcharge'],
207
236
  'initPoint': value['initPoint'],
237
+ 'transferAlias': value['transferAlias'],
238
+ 'transferCvu': value['transferCvu'],
239
+ 'paidAmount': value['paidAmount'],
208
240
  };
209
241
  }
210
242
 
@@ -23,7 +23,8 @@ export const PaymentMethod = {
23
23
  Qr: 'QR',
24
24
  BankTransfer: 'BANK_TRANSFER',
25
25
  Subscription: 'SUBSCRIPTION',
26
- Tarjeta: 'TARJETA'
26
+ Tarjeta: 'TARJETA',
27
+ TransferCucuru: 'TRANSFER_CUCURU'
27
28
  } as const;
28
29
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
29
30
 
@@ -0,0 +1,137 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Jugar Hoy - API
5
+ * API documentation for Jugar Hoy application
6
+ *
7
+ * The version of the OpenAPI document: 1.5.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface PaymentMethodInfoDto
20
+ */
21
+ export interface PaymentMethodInfoDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof PaymentMethodInfoDto
26
+ */
27
+ id?: string;
28
+ /**
29
+ * Matches the PaymentMethod enum value (CASH, MERCADOPAGO, etc.)
30
+ * @type {string}
31
+ * @memberof PaymentMethodInfoDto
32
+ */
33
+ code?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof PaymentMethodInfoDto
38
+ */
39
+ name?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof PaymentMethodInfoDto
44
+ */
45
+ notes?: string | null;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof PaymentMethodInfoDto
50
+ */
51
+ instructions?: string | null;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof PaymentMethodInfoDto
56
+ */
57
+ conditions?: string | null;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof PaymentMethodInfoDto
62
+ */
63
+ imageUrl?: string | null;
64
+ /**
65
+ *
66
+ * @type {boolean}
67
+ * @memberof PaymentMethodInfoDto
68
+ */
69
+ enabled?: boolean;
70
+ /**
71
+ * Whether the Jugar Hoy platform fee is charged for this payment method. Set to false for methods with a direct provider agreement (e.g. TRANSFER_CUCURU).
72
+ * @type {boolean}
73
+ * @memberof PaymentMethodInfoDto
74
+ */
75
+ hasPlatformFee?: boolean;
76
+ /**
77
+ * When true, a disabled CustomerPaymentConfig is auto-created for new customers on club registration.
78
+ * @type {boolean}
79
+ * @memberof PaymentMethodInfoDto
80
+ */
81
+ autoSetup?: boolean;
82
+ }
83
+
84
+ /**
85
+ * Check if a given object implements the PaymentMethodInfoDto interface.
86
+ */
87
+ export function instanceOfPaymentMethodInfoDto(value: object): value is PaymentMethodInfoDto {
88
+ return true;
89
+ }
90
+
91
+ export function PaymentMethodInfoDtoFromJSON(json: any): PaymentMethodInfoDto {
92
+ return PaymentMethodInfoDtoFromJSONTyped(json, false);
93
+ }
94
+
95
+ export function PaymentMethodInfoDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethodInfoDto {
96
+ if (json == null) {
97
+ return json;
98
+ }
99
+ return {
100
+
101
+ 'id': json['id'] == null ? undefined : json['id'],
102
+ 'code': json['code'] == null ? undefined : json['code'],
103
+ 'name': json['name'] == null ? undefined : json['name'],
104
+ 'notes': json['notes'] == null ? undefined : json['notes'],
105
+ 'instructions': json['instructions'] == null ? undefined : json['instructions'],
106
+ 'conditions': json['conditions'] == null ? undefined : json['conditions'],
107
+ 'imageUrl': json['imageUrl'] == null ? undefined : json['imageUrl'],
108
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
109
+ 'hasPlatformFee': json['hasPlatformFee'] == null ? undefined : json['hasPlatformFee'],
110
+ 'autoSetup': json['autoSetup'] == null ? undefined : json['autoSetup'],
111
+ };
112
+ }
113
+
114
+ export function PaymentMethodInfoDtoToJSON(json: any): PaymentMethodInfoDto {
115
+ return PaymentMethodInfoDtoToJSONTyped(json, false);
116
+ }
117
+
118
+ export function PaymentMethodInfoDtoToJSONTyped(value?: PaymentMethodInfoDto | null, ignoreDiscriminator: boolean = false): any {
119
+ if (value == null) {
120
+ return value;
121
+ }
122
+
123
+ return {
124
+
125
+ 'id': value['id'],
126
+ 'code': value['code'],
127
+ 'name': value['name'],
128
+ 'notes': value['notes'],
129
+ 'instructions': value['instructions'],
130
+ 'conditions': value['conditions'],
131
+ 'imageUrl': value['imageUrl'],
132
+ 'enabled': value['enabled'],
133
+ 'hasPlatformFee': value['hasPlatformFee'],
134
+ 'autoSetup': value['autoSetup'],
135
+ };
136
+ }
137
+
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Jugar Hoy - API
5
+ * API documentation for Jugar Hoy application
6
+ *
7
+ * The version of the OpenAPI document: 1.5.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SetCucuruCredentialsRequest
20
+ */
21
+ export interface SetCucuruCredentialsRequest {
22
+ /**
23
+ * Cucuru API Key (write-only, never returned)
24
+ * @type {string}
25
+ * @memberof SetCucuruCredentialsRequest
26
+ */
27
+ apiKey: string;
28
+ /**
29
+ * Cucuru Collector ID (write-only, never returned)
30
+ * @type {string}
31
+ * @memberof SetCucuruCredentialsRequest
32
+ */
33
+ collectorId: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the SetCucuruCredentialsRequest interface.
38
+ */
39
+ export function instanceOfSetCucuruCredentialsRequest(value: object): value is SetCucuruCredentialsRequest {
40
+ if (!('apiKey' in value) || value['apiKey'] === undefined) return false;
41
+ if (!('collectorId' in value) || value['collectorId'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function SetCucuruCredentialsRequestFromJSON(json: any): SetCucuruCredentialsRequest {
46
+ return SetCucuruCredentialsRequestFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function SetCucuruCredentialsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetCucuruCredentialsRequest {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'apiKey': json['apiKey'],
56
+ 'collectorId': json['collectorId'],
57
+ };
58
+ }
59
+
60
+ export function SetCucuruCredentialsRequestToJSON(json: any): SetCucuruCredentialsRequest {
61
+ return SetCucuruCredentialsRequestToJSONTyped(json, false);
62
+ }
63
+
64
+ export function SetCucuruCredentialsRequestToJSONTyped(value?: SetCucuruCredentialsRequest | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'apiKey': value['apiKey'],
72
+ 'collectorId': value['collectorId'],
73
+ };
74
+ }
75
+
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Jugar Hoy - API
5
+ * API documentation for Jugar Hoy application
6
+ *
7
+ * The version of the OpenAPI document: 1.5.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SetUserPaymentSurchargePctRequest
20
+ */
21
+ export interface SetUserPaymentSurchargePctRequest {
22
+ /**
23
+ * MERCADOPAGO, CASH, or TRANSFER_CUCURU
24
+ * @type {string}
25
+ * @memberof SetUserPaymentSurchargePctRequest
26
+ */
27
+ paymentMethod: string;
28
+ /**
29
+ * Surcharge percentage (0-100)
30
+ * @type {number}
31
+ * @memberof SetUserPaymentSurchargePctRequest
32
+ */
33
+ surchargePct: number;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the SetUserPaymentSurchargePctRequest interface.
38
+ */
39
+ export function instanceOfSetUserPaymentSurchargePctRequest(value: object): value is SetUserPaymentSurchargePctRequest {
40
+ if (!('paymentMethod' in value) || value['paymentMethod'] === undefined) return false;
41
+ if (!('surchargePct' in value) || value['surchargePct'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function SetUserPaymentSurchargePctRequestFromJSON(json: any): SetUserPaymentSurchargePctRequest {
46
+ return SetUserPaymentSurchargePctRequestFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function SetUserPaymentSurchargePctRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetUserPaymentSurchargePctRequest {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'paymentMethod': json['paymentMethod'],
56
+ 'surchargePct': json['surchargePct'],
57
+ };
58
+ }
59
+
60
+ export function SetUserPaymentSurchargePctRequestToJSON(json: any): SetUserPaymentSurchargePctRequest {
61
+ return SetUserPaymentSurchargePctRequestToJSONTyped(json, false);
62
+ }
63
+
64
+ export function SetUserPaymentSurchargePctRequestToJSONTyped(value?: SetUserPaymentSurchargePctRequest | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'paymentMethod': value['paymentMethod'],
72
+ 'surchargePct': value['surchargePct'],
73
+ };
74
+ }
75
+
@@ -0,0 +1,101 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Jugar Hoy - API
5
+ * API documentation for Jugar Hoy application
6
+ *
7
+ * The version of the OpenAPI document: 1.5.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface TransferCucuruDetails
20
+ */
21
+ export interface TransferCucuruDetails {
22
+ /**
23
+ * Unique per-transaction alias generated by Cucuru
24
+ * @type {string}
25
+ * @memberof TransferCucuruDetails
26
+ */
27
+ transferAlias: string;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof TransferCucuruDetails
32
+ */
33
+ amount: number;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof TransferCucuruDetails
38
+ */
39
+ surcharge?: number;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof TransferCucuruDetails
44
+ */
45
+ platformFee: number;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof TransferCucuruDetails
50
+ */
51
+ total: number;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the TransferCucuruDetails interface.
56
+ */
57
+ export function instanceOfTransferCucuruDetails(value: object): value is TransferCucuruDetails {
58
+ if (!('transferAlias' in value) || value['transferAlias'] === undefined) return false;
59
+ if (!('amount' in value) || value['amount'] === undefined) return false;
60
+ if (!('platformFee' in value) || value['platformFee'] === undefined) return false;
61
+ if (!('total' in value) || value['total'] === undefined) return false;
62
+ return true;
63
+ }
64
+
65
+ export function TransferCucuruDetailsFromJSON(json: any): TransferCucuruDetails {
66
+ return TransferCucuruDetailsFromJSONTyped(json, false);
67
+ }
68
+
69
+ export function TransferCucuruDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransferCucuruDetails {
70
+ if (json == null) {
71
+ return json;
72
+ }
73
+ return {
74
+
75
+ 'transferAlias': json['transferAlias'],
76
+ 'amount': json['amount'],
77
+ 'surcharge': json['surcharge'] == null ? undefined : json['surcharge'],
78
+ 'platformFee': json['platformFee'],
79
+ 'total': json['total'],
80
+ };
81
+ }
82
+
83
+ export function TransferCucuruDetailsToJSON(json: any): TransferCucuruDetails {
84
+ return TransferCucuruDetailsToJSONTyped(json, false);
85
+ }
86
+
87
+ export function TransferCucuruDetailsToJSONTyped(value?: TransferCucuruDetails | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'transferAlias': value['transferAlias'],
95
+ 'amount': value['amount'],
96
+ 'surcharge': value['surcharge'],
97
+ 'platformFee': value['platformFee'],
98
+ 'total': value['total'],
99
+ };
100
+ }
101
+
@@ -115,6 +115,12 @@ export interface UpcomingActivityDto {
115
115
  * @memberof UpcomingActivityDto
116
116
  */
117
117
  playSearchId?: string | null;
118
+ /**
119
+ * Team ID for PARTIDO_SEMANAL activities
120
+ * @type {string}
121
+ * @memberof UpcomingActivityDto
122
+ */
123
+ teamId?: string | null;
118
124
  }
119
125
 
120
126
 
@@ -137,7 +143,8 @@ export const UpcomingActivityDtoBadgeEnum = {
137
143
  Clase: 'clase',
138
144
  Falta1: 'falta1',
139
145
  CanchaAbierta: 'cancha_abierta',
140
- ClaseLibre: 'clase_libre'
146
+ ClaseLibre: 'clase_libre',
147
+ PartidoSemanal: 'partido_semanal'
141
148
  } as const;
142
149
  export type UpcomingActivityDtoBadgeEnum = typeof UpcomingActivityDtoBadgeEnum[keyof typeof UpcomingActivityDtoBadgeEnum];
143
150
 
@@ -183,6 +190,7 @@ export function UpcomingActivityDtoFromJSONTyped(json: any, ignoreDiscriminator:
183
190
  'personAvatarUrl': json['personAvatarUrl'] == null ? undefined : json['personAvatarUrl'],
184
191
  'reservationId': json['reservationId'] == null ? undefined : json['reservationId'],
185
192
  'playSearchId': json['playSearchId'] == null ? undefined : json['playSearchId'],
193
+ 'teamId': json['teamId'] == null ? undefined : json['teamId'],
186
194
  };
187
195
  }
188
196
 
@@ -213,6 +221,7 @@ export function UpcomingActivityDtoToJSONTyped(value?: UpcomingActivityDto | nul
213
221
  'personAvatarUrl': value['personAvatarUrl'],
214
222
  'reservationId': value['reservationId'],
215
223
  'playSearchId': value['playSearchId'],
224
+ 'teamId': value['teamId'],
216
225
  };
217
226
  }
218
227
 
@@ -37,6 +37,12 @@ export interface UserPaymentMethodDto {
37
37
  * @memberof UserPaymentMethodDto
38
38
  */
39
39
  enabled?: boolean;
40
+ /**
41
+ * Surcharge % applied to the customer when using this method
42
+ * @type {number}
43
+ * @memberof UserPaymentMethodDto
44
+ */
45
+ surchargePct?: number;
40
46
  /**
41
47
  * MercadoPago account ID (only for MERCADOPAGO)
42
48
  * @type {string}
@@ -95,6 +101,7 @@ export function UserPaymentMethodDtoFromJSONTyped(json: any, ignoreDiscriminator
95
101
  'type': json['type'] == null ? undefined : json['type'],
96
102
  'paymentMethod': json['paymentMethod'] == null ? undefined : json['paymentMethod'],
97
103
  'enabled': json['enabled'] == null ? undefined : json['enabled'],
104
+ 'surchargePct': json['surchargePct'] == null ? undefined : json['surchargePct'],
98
105
  'providerId': json['providerId'] == null ? undefined : json['providerId'],
99
106
  'titular': json['titular'] == null ? undefined : json['titular'],
100
107
  'cuitCuil': json['cuitCuil'] == null ? undefined : json['cuitCuil'],
@@ -118,6 +125,7 @@ export function UserPaymentMethodDtoToJSONTyped(value?: UserPaymentMethodDto | n
118
125
  'type': value['type'],
119
126
  'paymentMethod': value['paymentMethod'],
120
127
  'enabled': value['enabled'],
128
+ 'surchargePct': value['surchargePct'],
121
129
  'providerId': value['providerId'],
122
130
  'titular': value['titular'],
123
131
  'cuitCuil': value['cuitCuil'],