@kiriminaja/types 0.1.11 → 0.1.13

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +28 -9
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,21 +1,41 @@
1
+ export interface IBank {
2
+ id: number;
3
+ name: string;
4
+ account_name: string;
5
+ account_number: string;
6
+ }
1
7
  export interface IDetail {
2
8
  config: {
3
9
  color: string;
4
10
  scheme: string;
5
11
  responsive?: boolean;
12
+ show_input_label?: boolean;
6
13
  submit: {
7
14
  rounded: string;
8
15
  label: string;
9
16
  with_icon?: boolean;
10
17
  icon: string;
11
18
  };
12
- benefit?: boolean;
13
- benefits?: string[];
14
- guarantee?: boolean;
15
- guarantees?: {
16
- icon: string;
17
- label: string;
18
- }[];
19
+ on_success?: {
20
+ type?: "default" | "url" | "random_whatsapp";
21
+ props?: {
22
+ url?: string;
23
+ wa_phones?: string[];
24
+ yt_url?: string;
25
+ };
26
+ bank_accounts?: IBank[];
27
+ };
28
+ benefit: {
29
+ show: boolean;
30
+ items: string[];
31
+ };
32
+ guarantee: {
33
+ show: boolean;
34
+ items: {
35
+ icon: string;
36
+ label: string;
37
+ }[];
38
+ };
19
39
  show_image?: boolean;
20
40
  show_description?: boolean;
21
41
  coupon?: boolean;
@@ -40,7 +60,6 @@ export interface IDetail {
40
60
  description: string;
41
61
  medias: {
42
62
  key: string;
43
- type: "image" | "video";
44
63
  src: string;
45
64
  }[];
46
65
  sku?: string;
@@ -56,7 +75,6 @@ export interface IDetail {
56
75
  payment_methods: {
57
76
  label: string;
58
77
  value: string;
59
- logo?: string;
60
78
  }[];
61
79
  force_insurance?: boolean;
62
80
  form_status?: string;
@@ -87,5 +105,6 @@ export interface IDetail {
87
105
  };
88
106
  created_at?: string;
89
107
  updated_at?: string;
108
+ yt_url?: string;
90
109
  };
91
110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiriminaja/types",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "dist"