@autobusal/providers 1.8.0 → 1.10.0
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/package.json +1 -1
- package/types/settings.ts +18 -0
package/package.json
CHANGED
package/types/settings.ts
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
export interface SettingsData {
|
|
2
2
|
url: string
|
|
3
3
|
|
|
4
|
+
// Edited: Ferjolt Ozuni - Date: 2026-08-01
|
|
5
|
+
// Present ONLY while the brand is under construction - obtapi omits it
|
|
6
|
+
// entirely on a live site, so its presence is the switch itself and there
|
|
7
|
+
// is no separate boolean to disagree with.
|
|
8
|
+
construction?: {
|
|
9
|
+
title: string
|
|
10
|
+
message: string
|
|
11
|
+
gtm_id: string
|
|
12
|
+
} | null
|
|
13
|
+
|
|
4
14
|
// Edited: Ferjolt Ozuni - Date: 2026-07-25
|
|
5
15
|
// Runtime captcha config (provider + PUBLIC site key) from
|
|
6
16
|
// /api/settings/get - replaces the build-time VITE_RECAPTCHA_KEY.
|
|
@@ -174,6 +184,10 @@ export interface LabelSettings {
|
|
|
174
184
|
telegram?: {
|
|
175
185
|
status: 'disabled' | 'dedicated' | 'main'
|
|
176
186
|
price: number
|
|
187
|
+
// Edited: Ferjolt Ozuni - Date: 2026-07-31
|
|
188
|
+
// whether this label gives the addon fee back on cancellation;
|
|
189
|
+
// snapshotted onto each purchase, so it only affects future orders
|
|
190
|
+
refundable?: boolean
|
|
177
191
|
bot_token?: string
|
|
178
192
|
bot_username?: string
|
|
179
193
|
}
|
|
@@ -185,6 +199,10 @@ export interface LabelSettings {
|
|
|
185
199
|
whatsapp?: {
|
|
186
200
|
status: 'disabled' | 'dedicated' | 'main'
|
|
187
201
|
price: number
|
|
202
|
+
// Edited: Ferjolt Ozuni - Date: 2026-07-31
|
|
203
|
+
// whether this label gives the addon fee back on cancellation;
|
|
204
|
+
// snapshotted onto each purchase, so it only affects future orders
|
|
205
|
+
refundable?: boolean
|
|
188
206
|
phone_number_id?: string
|
|
189
207
|
access_token?: string
|
|
190
208
|
template_name?: string
|