@yuno-payments/sdk-web-types 1.16.0-beta.1 → 1.16.0-beta.2
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/dist/index.d.ts +23 -0
- package/dist/types.ts +23 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -274,6 +274,28 @@ type CardConfig$1 = {
|
|
|
274
274
|
signatureLineColor: string;
|
|
275
275
|
};
|
|
276
276
|
};
|
|
277
|
+
type InstallmentTypesList = {
|
|
278
|
+
type: string;
|
|
279
|
+
description: string;
|
|
280
|
+
id: string;
|
|
281
|
+
};
|
|
282
|
+
interface FullInstallmentInfo {
|
|
283
|
+
installment: number;
|
|
284
|
+
rate: string;
|
|
285
|
+
amount?: {
|
|
286
|
+
currency: string;
|
|
287
|
+
value: string;
|
|
288
|
+
total_value: string;
|
|
289
|
+
};
|
|
290
|
+
type?: string;
|
|
291
|
+
first_installment_deferral?: string;
|
|
292
|
+
}
|
|
293
|
+
interface FullInstallmentsInfo {
|
|
294
|
+
installments: FullInstallmentInfo[];
|
|
295
|
+
id: string;
|
|
296
|
+
filter_by?: string;
|
|
297
|
+
types_list?: InstallmentTypesList[];
|
|
298
|
+
}
|
|
277
299
|
type OnChangeArgs = {
|
|
278
300
|
error: boolean;
|
|
279
301
|
data?: {
|
|
@@ -282,6 +304,7 @@ type OnChangeArgs = {
|
|
|
282
304
|
isCardIINLoading: boolean;
|
|
283
305
|
isInstallmentLoading: boolean;
|
|
284
306
|
cardConfig: CardConfig$1 | null;
|
|
307
|
+
fullInstallmentsInfo?: FullInstallmentsInfo;
|
|
285
308
|
};
|
|
286
309
|
};
|
|
287
310
|
type CardLoadPreviewSecureConfig = {
|
package/dist/types.ts
CHANGED
|
@@ -274,6 +274,28 @@ type CardConfig$1 = {
|
|
|
274
274
|
signatureLineColor: string;
|
|
275
275
|
};
|
|
276
276
|
};
|
|
277
|
+
type InstallmentTypesList = {
|
|
278
|
+
type: string;
|
|
279
|
+
description: string;
|
|
280
|
+
id: string;
|
|
281
|
+
};
|
|
282
|
+
interface FullInstallmentInfo {
|
|
283
|
+
installment: number;
|
|
284
|
+
rate: string;
|
|
285
|
+
amount?: {
|
|
286
|
+
currency: string;
|
|
287
|
+
value: string;
|
|
288
|
+
total_value: string;
|
|
289
|
+
};
|
|
290
|
+
type?: string;
|
|
291
|
+
first_installment_deferral?: string;
|
|
292
|
+
}
|
|
293
|
+
interface FullInstallmentsInfo {
|
|
294
|
+
installments: FullInstallmentInfo[];
|
|
295
|
+
id: string;
|
|
296
|
+
filter_by?: string;
|
|
297
|
+
types_list?: InstallmentTypesList[];
|
|
298
|
+
}
|
|
277
299
|
type OnChangeArgs = {
|
|
278
300
|
error: boolean;
|
|
279
301
|
data?: {
|
|
@@ -282,6 +304,7 @@ type OnChangeArgs = {
|
|
|
282
304
|
isCardIINLoading: boolean;
|
|
283
305
|
isInstallmentLoading: boolean;
|
|
284
306
|
cardConfig: CardConfig$1 | null;
|
|
307
|
+
fullInstallmentsInfo?: FullInstallmentsInfo;
|
|
285
308
|
};
|
|
286
309
|
};
|
|
287
310
|
type CardLoadPreviewSecureConfig = {
|