@autobusal/providers 1.2.4 → 1.2.5

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/package.json +1 -1
  2. package/types/settings.ts +39 -29
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "type": "module",
5
5
  "main": "index.ts"
6
6
  }
package/types/settings.ts CHANGED
@@ -57,6 +57,14 @@ export interface MenuData {
57
57
  }
58
58
 
59
59
  export interface LabelData {
60
+ id: number
61
+ name: string
62
+ internal: string
63
+ settings: LabelSettings
64
+ payments: LabelPayments
65
+ }
66
+
67
+ export interface LabelSettings {
60
68
  type?: string
61
69
 
62
70
  email: string
@@ -77,14 +85,6 @@ export interface LabelData {
77
85
  customer_service: string
78
86
  }
79
87
 
80
- payments: {
81
- reserve: boolean
82
- funds: boolean
83
- bkt: boolean
84
- stripe: boolean
85
- mollie: boolean
86
- }
87
-
88
88
  smtp: {
89
89
  server: string
90
90
  port: number
@@ -111,15 +111,29 @@ export interface LabelData {
111
111
  reservation: number
112
112
  }
113
113
 
114
- bkt_settings: {
115
- url: string
116
- authid: string
117
- domain: string
118
- storeKey: string
119
- currencyId: string
114
+ social: {
115
+ google: {
116
+ client_id: string
117
+ client_secret: string
118
+ }
119
+
120
+ facebook: {
121
+ client_id: string
122
+ client_secret: string
123
+ }
120
124
  }
125
+ }
121
126
 
122
- devpos_settings: {
127
+ export interface LabelPayments {
128
+ available: {
129
+ reserve: boolean
130
+ funds: boolean
131
+ bkt: boolean
132
+ stripe: boolean
133
+ mollie: boolean
134
+ }
135
+
136
+ devpos: {
123
137
  vat: number
124
138
  barcode: string
125
139
  authorization: string
@@ -127,26 +141,22 @@ export interface LabelData {
127
141
  cash_register_index: string
128
142
  }
129
143
 
130
- stripe_settings: {
144
+ bkt: {
145
+ url: string
146
+ authid: string
147
+ domain: string
148
+ storeKey: string
149
+ currencyId: string
150
+ }
151
+
152
+ stripe: {
131
153
  account: string
132
154
  secret: string
133
155
  }
134
156
 
135
- mollie_settings: {
157
+ mollie: {
136
158
  key: string
137
159
  }
138
-
139
- social: {
140
- google: {
141
- client_id: string
142
- client_secret: string
143
- }
144
-
145
- facebook: {
146
- client_id: string
147
- client_secret: string
148
- }
149
- }
150
160
  }
151
161
 
152
162
  export interface UploadData {