@yuno-payments/sdk-web-types 1.15.0 → 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 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 = {
@@ -313,6 +336,7 @@ type Create = {
313
336
  validationType?: ValidationTypeSecureFields;
314
337
  designType?: DesignType;
315
338
  errorIcon?: string | null;
339
+ enableFocusAnimation?: boolean;
316
340
  };
317
341
  cardLoadPreviewConfig?: CardLoadPreviewSecureConfig;
318
342
  };
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 = {
@@ -313,6 +336,7 @@ type Create = {
313
336
  validationType?: ValidationTypeSecureFields;
314
337
  designType?: DesignType;
315
338
  errorIcon?: string | null;
339
+ enableFocusAnimation?: boolean;
316
340
  };
317
341
  cardLoadPreviewConfig?: CardLoadPreviewSecureConfig;
318
342
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/sdk-web-types",
3
- "version": "1.15.0",
3
+ "version": "1.16.0-beta.2",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/types.ts",
6
6
  "type": "commonjs",