@juhuu/sdk-ts 1.0.2 → 1.0.4
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.mts +204 -1
- package/dist/index.d.ts +204 -1
- package/dist/index.js +186 -2
- package/dist/index.mjs +177 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -7,6 +7,9 @@ type PushToken = {
|
|
7
7
|
platform: Platform;
|
8
8
|
token: string;
|
9
9
|
};
|
10
|
+
type ExtractType<T> = T extends {
|
11
|
+
type: infer U;
|
12
|
+
} ? U : never;
|
10
13
|
interface Offer {
|
11
14
|
tariffId: string;
|
12
15
|
licenseTemplateIdArray: string[];
|
@@ -43,12 +46,46 @@ type OfferTime = {
|
|
43
46
|
}[];
|
44
47
|
};
|
45
48
|
type FuelType = "battery" | "diesel" | "gasoline" | "hydrogen" | "fossil";
|
49
|
+
type Viewport = {
|
50
|
+
longitudeTopLeft: number;
|
51
|
+
latitudeTopLeft: number;
|
52
|
+
longitudeBottomRight: number;
|
53
|
+
latitudeBottomRight: number;
|
54
|
+
};
|
55
|
+
type ViewportPolygon = [
|
56
|
+
[
|
57
|
+
number,
|
58
|
+
number
|
59
|
+
],
|
60
|
+
[
|
61
|
+
number,
|
62
|
+
number
|
63
|
+
],
|
64
|
+
[
|
65
|
+
number,
|
66
|
+
number
|
67
|
+
],
|
68
|
+
[
|
69
|
+
number,
|
70
|
+
number
|
71
|
+
],
|
72
|
+
[
|
73
|
+
number,
|
74
|
+
number
|
75
|
+
]
|
76
|
+
];
|
46
77
|
declare const LanguageCodeArray: readonly ["en", "de", "fr", "nl", "it", "cs", "da", "es", "et", "gsw", "hr", "hu", "no", "pl", "sv"];
|
47
78
|
type LanguageCode = (typeof LanguageCodeArray)[number];
|
48
79
|
declare const CountryCodeArray: readonly ["DE", "AT", "CH", "LI", "IT", "FR", "NL", "BE", "LU", "DK", "SE", "NO", "FI", "IS", "GB", "IE", "ES", "PT", "GR", "PL", "CZ", "SK", "HU", "SI", "HR", "BA", "RS", "US", "CA"];
|
49
80
|
type CountryCode = (typeof CountryCodeArray)[number];
|
50
81
|
declare const CurrencyCodeArray: readonly ["eur", "usd", "gbp", "nok", "sek", "chf", "dkk", "pln", "czk", "huf", "hrk", "bam", "rsd", "isk", "cad"];
|
51
82
|
type CurrencyCode = (typeof CurrencyCodeArray)[number];
|
83
|
+
interface Settings {
|
84
|
+
general: GeneralSettings;
|
85
|
+
payouts: PayoutSettings;
|
86
|
+
sessions: SessionSettings;
|
87
|
+
environment: EnvironmentSettings;
|
88
|
+
}
|
52
89
|
interface ColorScheme {
|
53
90
|
light: Color;
|
54
91
|
dark: Color;
|
@@ -68,10 +105,45 @@ interface Color {
|
|
68
105
|
error: hexColor;
|
69
106
|
warning: hexColor;
|
70
107
|
}
|
108
|
+
interface GeneralSettings {
|
109
|
+
frontendVersion: number;
|
110
|
+
termsVersion: number;
|
111
|
+
globalKill: boolean;
|
112
|
+
maintenance: boolean;
|
113
|
+
maintenanceMessage: string;
|
114
|
+
}
|
115
|
+
interface PayoutSettings {
|
116
|
+
enabled: boolean;
|
117
|
+
}
|
118
|
+
interface SessionSettings {
|
119
|
+
enabled: boolean;
|
120
|
+
autoRenewEnabled: boolean;
|
121
|
+
}
|
122
|
+
interface EnvironmentSettings {
|
123
|
+
isDev: boolean;
|
124
|
+
}
|
71
125
|
type PaymentMethod = "card" | "stripe_account" | "klarna" | "bancontact" | "eps" | "giropay" | "ideal" | "p24" | "sofort" | "unknown";
|
72
126
|
type PaymentReason = "session";
|
127
|
+
type RefundReason = "requestdByUser";
|
128
|
+
type SessionStatus = "waitingForPayment" | "ready" | "completed";
|
73
129
|
type AutoRenewMode = "off" | "optIn" | "optOut" | "on";
|
130
|
+
type RefundStatus = "inTransitToUser" | "succeeded";
|
131
|
+
type SessionTerminatedByType = "user" | "cloudTask" | "cloudFunction" | "mqttCommand";
|
74
132
|
type ServiceMonth = "jan" | "feb" | "mar" | "apr" | "may" | "jun" | "jul" | "aug" | "sep" | "oct" | "nov" | "dec";
|
133
|
+
type PermissionTypes = "UserManagement" | "PropertyManagement" | "PayoutManagement" | "InvoiceManagement" | "TarifManagement" | "SessionManagement" | "PaymentManagement" | "LocationManagement" | "LinkManagement" | "TermsManagement" | "LicenseManagement";
|
134
|
+
interface CustomClaims {
|
135
|
+
UserManagement: boolean;
|
136
|
+
PropertyManagement: boolean;
|
137
|
+
PayoutManagement: boolean;
|
138
|
+
InvoiceManagement: boolean;
|
139
|
+
TarifManagement: boolean;
|
140
|
+
SessionManagement: boolean;
|
141
|
+
PaymentManagement: boolean;
|
142
|
+
LocationManagement: boolean;
|
143
|
+
LinkManagement: boolean;
|
144
|
+
LicenseManagement: boolean;
|
145
|
+
TermsManagement: boolean;
|
146
|
+
}
|
75
147
|
interface Address {
|
76
148
|
line1: string;
|
77
149
|
line2: string | null;
|
@@ -79,6 +151,10 @@ interface Address {
|
|
79
151
|
country: CountryCode;
|
80
152
|
city: string;
|
81
153
|
}
|
154
|
+
interface LicenseTariffIdMap {
|
155
|
+
tarifId: string;
|
156
|
+
licenseId: string;
|
157
|
+
}
|
82
158
|
interface PostingRow {
|
83
159
|
description: string;
|
84
160
|
quantity: number;
|
@@ -97,19 +173,48 @@ interface Party extends Person {
|
|
97
173
|
iban?: string;
|
98
174
|
bic?: string;
|
99
175
|
}
|
176
|
+
type VeloBrushDeviceDocumentUserManualStep = "prepareBike1" | "prepareBike2" | "chooseCycleType" | "openDoors1" | "extendBikeDrawer1" | "unfoldRamp1" | "placeBike1" | "fixBike1" | "fixBike2" | "retractBikeDrawer1" | "closeDoors1" | "selectWashProgram" | "waitForWashProgram" | "openDoors2" | "extendBikeDrawer2" | "dryBike1" | "dryBike2" | "releaseBike" | "unloadBike" | "retractBikeDrawer2" | "closeDoors2" | "lockDoors" | "error" | "emergencyStop" | "waitingForSession";
|
100
177
|
type PaymentStatus = "waitingForConfirmation" | "waitingForAmountFinalization" | "waitingForCapture" | "waitingForTransitConfirmation" | "inTransitToProvider" | "captured" | "inTransitToProperty" | "payedOut";
|
101
178
|
type PaymentServiceProvider = "stripe";
|
102
179
|
type PayoutStatus = "awaitingApproval" | "inTransitToProperty" | "payedOut";
|
180
|
+
type BusinessType = "individual" | "company" | "non_profit" | "government_entity";
|
103
181
|
declare const ReadonlySectorArray: readonly ["tourism", "mobility", "sport"];
|
104
182
|
type Sector = (typeof ReadonlySectorArray)[number];
|
105
183
|
declare const ReadonlyCategoryArray: readonly ["bike", "car", "scooter", "boat", "moped"];
|
106
184
|
type Category = (typeof ReadonlyCategoryArray)[number];
|
107
185
|
declare const ReadonlyModalityArray: readonly ["charge", "store", "share", "wash", "repair"];
|
108
186
|
type Modality = (typeof ReadonlyModalityArray)[number];
|
187
|
+
type Purpose = {
|
188
|
+
sector: Sector;
|
189
|
+
category: Category;
|
190
|
+
modality: Modality;
|
191
|
+
};
|
192
|
+
declare const ReadonlyIntegrationStateArray: readonly ["full", "partial"];
|
193
|
+
type IntegrationState = (typeof ReadonlyIntegrationStateArray)[number];
|
109
194
|
type GeoPoint = {
|
110
195
|
type: "Point";
|
111
196
|
coordinates: [number, number];
|
112
197
|
};
|
198
|
+
type PlatformUrl = {
|
199
|
+
ios: string;
|
200
|
+
android: string;
|
201
|
+
web: string;
|
202
|
+
};
|
203
|
+
interface MapFilter {
|
204
|
+
integrationStateArray: IntegrationState[];
|
205
|
+
categoryArray: Category[];
|
206
|
+
modalityArray: Modality[];
|
207
|
+
sectorArray: Sector[];
|
208
|
+
}
|
209
|
+
type SessionType = "rent" | "reservation";
|
210
|
+
type DeviceType = "BikeBox" | "VeloCleanPro" | "SlidingDoor" | "BikeRack" | "BikeEnergy" | "BikeLoop" | "VeloBrush" | "SharingBike" | "Trb145BikeBox";
|
211
|
+
type LinkType = "standard" | "group" | "url";
|
212
|
+
type UserType = "management" | "standard";
|
213
|
+
type TarifType = "reservation" | "payNow" | "payLater";
|
214
|
+
type DeepNullable<T> = {
|
215
|
+
[K in keyof T]: DeepNullable<T[K]> | null;
|
216
|
+
};
|
217
|
+
type SessionCannotTerminateReason = "retractBikeDrawer" | "closeDoor";
|
113
218
|
type Circumstance = {
|
114
219
|
type: "wheelchairAccessible";
|
115
220
|
isWheelchairAccessible: boolean;
|
@@ -259,6 +364,98 @@ declare namespace Layout {
|
|
259
364
|
export { };
|
260
365
|
}
|
261
366
|
type LayoutBlock = Layout.Text.Plain | Layout.Text.Heading | Layout.Text.Subtitle | Layout.Image | Layout.Button.Small | Layout.Button.Large | Layout.Form.General;
|
367
|
+
type Node$1 = {
|
368
|
+
id: string;
|
369
|
+
type: "flow.start";
|
370
|
+
trigger: "session.terminate";
|
371
|
+
nodeIdArray: string[];
|
372
|
+
} | {
|
373
|
+
id: string;
|
374
|
+
type: "flow.start";
|
375
|
+
trigger: "command.executed";
|
376
|
+
commandName: string;
|
377
|
+
nodeIdArray: string[];
|
378
|
+
} | {
|
379
|
+
id: string;
|
380
|
+
type: "flow.start";
|
381
|
+
trigger: "button.pressed";
|
382
|
+
buttonName: string;
|
383
|
+
nodeIdArray: string[];
|
384
|
+
} | {
|
385
|
+
id: string;
|
386
|
+
type: "flow.start";
|
387
|
+
trigger: "session.create";
|
388
|
+
nodeIdArray: string[];
|
389
|
+
} | {
|
390
|
+
id: string;
|
391
|
+
type: "flow.start";
|
392
|
+
trigger: "device.startUse";
|
393
|
+
nodeIdArray: string[];
|
394
|
+
} | {
|
395
|
+
id: string;
|
396
|
+
type: "flow.start";
|
397
|
+
trigger: "device.endUse";
|
398
|
+
nodeIdArray: string[];
|
399
|
+
} | {
|
400
|
+
id: string;
|
401
|
+
type: "open.browser";
|
402
|
+
nodeIdArray: string[];
|
403
|
+
url: PlatformUrl;
|
404
|
+
} | {
|
405
|
+
id: string;
|
406
|
+
type: "open.phone";
|
407
|
+
nodeIdArray: string[];
|
408
|
+
phone: string;
|
409
|
+
} | {
|
410
|
+
id: string;
|
411
|
+
type: "device.message";
|
412
|
+
nodeIdArray: string[];
|
413
|
+
message: string;
|
414
|
+
} | {
|
415
|
+
id: string;
|
416
|
+
type: "property.notify";
|
417
|
+
nodeIdArray: string[];
|
418
|
+
subject: string;
|
419
|
+
message: string;
|
420
|
+
} | {
|
421
|
+
id: string;
|
422
|
+
type: "user.notify";
|
423
|
+
nodeIdArray: string[];
|
424
|
+
subject: string;
|
425
|
+
message: string;
|
426
|
+
} | {
|
427
|
+
id: string;
|
428
|
+
type: "parameter.set";
|
429
|
+
nodeIdArray: string[];
|
430
|
+
parameterName: string;
|
431
|
+
value: number | string | boolean;
|
432
|
+
} | {
|
433
|
+
id: string;
|
434
|
+
type: "command.execute";
|
435
|
+
nodeIdArray: string[];
|
436
|
+
commandName: string;
|
437
|
+
} | {
|
438
|
+
id: string;
|
439
|
+
type: "flow.exception";
|
440
|
+
error: LocaleString;
|
441
|
+
} | {
|
442
|
+
id: string;
|
443
|
+
type: "flow.if";
|
444
|
+
condition: Condition;
|
445
|
+
trueNodeIdArray: string[];
|
446
|
+
falseNodeIdArray: string[];
|
447
|
+
} | {
|
448
|
+
id: string;
|
449
|
+
type: "flow.end";
|
450
|
+
};
|
451
|
+
declare enum ConditionType {
|
452
|
+
Equal = "==",
|
453
|
+
NotEqual = "!=",
|
454
|
+
LessThan = "<",
|
455
|
+
GreaterThan = ">",
|
456
|
+
LessThanOrEqual = "<=",
|
457
|
+
GreaterThanOrEqual = ">="
|
458
|
+
}
|
262
459
|
type Utilization = {
|
263
460
|
type: "percentage";
|
264
461
|
percentage: number;
|
@@ -458,6 +655,11 @@ declare class ProductService extends Service {
|
|
458
655
|
retrieve(params: JUHUU.Product.Retrieve.Params, options?: JUHUU.Product.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Product.Retrieve.Response>>;
|
459
656
|
}
|
460
657
|
|
658
|
+
declare class SettingsService extends Service {
|
659
|
+
constructor(config: JUHUU.SetupConfig);
|
660
|
+
retrieve(): Promise<JUHUU.HttpResponse<Settings>>;
|
661
|
+
}
|
662
|
+
|
461
663
|
declare class Juhuu {
|
462
664
|
constructor(config: JUHUU.SetupConfig);
|
463
665
|
/**
|
@@ -475,6 +677,7 @@ declare class Juhuu {
|
|
475
677
|
readonly terms: TermsService;
|
476
678
|
readonly tariffs: TariffsService;
|
477
679
|
readonly products: ProductService;
|
680
|
+
readonly settings: SettingsService;
|
478
681
|
}
|
479
682
|
declare namespace JUHUU {
|
480
683
|
interface SetupConfig {
|
@@ -1373,4 +1576,4 @@ declare namespace JUHUU {
|
|
1373
1576
|
}
|
1374
1577
|
}
|
1375
1578
|
|
1376
|
-
export { JUHUU, Juhuu };
|
1579
|
+
export { type Address, type AutoRenewMode, type BusinessType, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FuelType, type GeneralSettings, type GeoPoint, type IntegrationState, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Node$1 as Node, type Offer, type OfferTime, type Parameter, type Party, type PaymentMethod, type PaymentReason, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformUrl, type PostingRow, Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyIntegrationStateArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundReason, type RefundStatus, type Sector, type ServiceMonth, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, type Settings, type StarRating, type TarifType, type TimeZone, type Unit, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type hexColor };
|
package/dist/index.d.ts
CHANGED
@@ -7,6 +7,9 @@ type PushToken = {
|
|
7
7
|
platform: Platform;
|
8
8
|
token: string;
|
9
9
|
};
|
10
|
+
type ExtractType<T> = T extends {
|
11
|
+
type: infer U;
|
12
|
+
} ? U : never;
|
10
13
|
interface Offer {
|
11
14
|
tariffId: string;
|
12
15
|
licenseTemplateIdArray: string[];
|
@@ -43,12 +46,46 @@ type OfferTime = {
|
|
43
46
|
}[];
|
44
47
|
};
|
45
48
|
type FuelType = "battery" | "diesel" | "gasoline" | "hydrogen" | "fossil";
|
49
|
+
type Viewport = {
|
50
|
+
longitudeTopLeft: number;
|
51
|
+
latitudeTopLeft: number;
|
52
|
+
longitudeBottomRight: number;
|
53
|
+
latitudeBottomRight: number;
|
54
|
+
};
|
55
|
+
type ViewportPolygon = [
|
56
|
+
[
|
57
|
+
number,
|
58
|
+
number
|
59
|
+
],
|
60
|
+
[
|
61
|
+
number,
|
62
|
+
number
|
63
|
+
],
|
64
|
+
[
|
65
|
+
number,
|
66
|
+
number
|
67
|
+
],
|
68
|
+
[
|
69
|
+
number,
|
70
|
+
number
|
71
|
+
],
|
72
|
+
[
|
73
|
+
number,
|
74
|
+
number
|
75
|
+
]
|
76
|
+
];
|
46
77
|
declare const LanguageCodeArray: readonly ["en", "de", "fr", "nl", "it", "cs", "da", "es", "et", "gsw", "hr", "hu", "no", "pl", "sv"];
|
47
78
|
type LanguageCode = (typeof LanguageCodeArray)[number];
|
48
79
|
declare const CountryCodeArray: readonly ["DE", "AT", "CH", "LI", "IT", "FR", "NL", "BE", "LU", "DK", "SE", "NO", "FI", "IS", "GB", "IE", "ES", "PT", "GR", "PL", "CZ", "SK", "HU", "SI", "HR", "BA", "RS", "US", "CA"];
|
49
80
|
type CountryCode = (typeof CountryCodeArray)[number];
|
50
81
|
declare const CurrencyCodeArray: readonly ["eur", "usd", "gbp", "nok", "sek", "chf", "dkk", "pln", "czk", "huf", "hrk", "bam", "rsd", "isk", "cad"];
|
51
82
|
type CurrencyCode = (typeof CurrencyCodeArray)[number];
|
83
|
+
interface Settings {
|
84
|
+
general: GeneralSettings;
|
85
|
+
payouts: PayoutSettings;
|
86
|
+
sessions: SessionSettings;
|
87
|
+
environment: EnvironmentSettings;
|
88
|
+
}
|
52
89
|
interface ColorScheme {
|
53
90
|
light: Color;
|
54
91
|
dark: Color;
|
@@ -68,10 +105,45 @@ interface Color {
|
|
68
105
|
error: hexColor;
|
69
106
|
warning: hexColor;
|
70
107
|
}
|
108
|
+
interface GeneralSettings {
|
109
|
+
frontendVersion: number;
|
110
|
+
termsVersion: number;
|
111
|
+
globalKill: boolean;
|
112
|
+
maintenance: boolean;
|
113
|
+
maintenanceMessage: string;
|
114
|
+
}
|
115
|
+
interface PayoutSettings {
|
116
|
+
enabled: boolean;
|
117
|
+
}
|
118
|
+
interface SessionSettings {
|
119
|
+
enabled: boolean;
|
120
|
+
autoRenewEnabled: boolean;
|
121
|
+
}
|
122
|
+
interface EnvironmentSettings {
|
123
|
+
isDev: boolean;
|
124
|
+
}
|
71
125
|
type PaymentMethod = "card" | "stripe_account" | "klarna" | "bancontact" | "eps" | "giropay" | "ideal" | "p24" | "sofort" | "unknown";
|
72
126
|
type PaymentReason = "session";
|
127
|
+
type RefundReason = "requestdByUser";
|
128
|
+
type SessionStatus = "waitingForPayment" | "ready" | "completed";
|
73
129
|
type AutoRenewMode = "off" | "optIn" | "optOut" | "on";
|
130
|
+
type RefundStatus = "inTransitToUser" | "succeeded";
|
131
|
+
type SessionTerminatedByType = "user" | "cloudTask" | "cloudFunction" | "mqttCommand";
|
74
132
|
type ServiceMonth = "jan" | "feb" | "mar" | "apr" | "may" | "jun" | "jul" | "aug" | "sep" | "oct" | "nov" | "dec";
|
133
|
+
type PermissionTypes = "UserManagement" | "PropertyManagement" | "PayoutManagement" | "InvoiceManagement" | "TarifManagement" | "SessionManagement" | "PaymentManagement" | "LocationManagement" | "LinkManagement" | "TermsManagement" | "LicenseManagement";
|
134
|
+
interface CustomClaims {
|
135
|
+
UserManagement: boolean;
|
136
|
+
PropertyManagement: boolean;
|
137
|
+
PayoutManagement: boolean;
|
138
|
+
InvoiceManagement: boolean;
|
139
|
+
TarifManagement: boolean;
|
140
|
+
SessionManagement: boolean;
|
141
|
+
PaymentManagement: boolean;
|
142
|
+
LocationManagement: boolean;
|
143
|
+
LinkManagement: boolean;
|
144
|
+
LicenseManagement: boolean;
|
145
|
+
TermsManagement: boolean;
|
146
|
+
}
|
75
147
|
interface Address {
|
76
148
|
line1: string;
|
77
149
|
line2: string | null;
|
@@ -79,6 +151,10 @@ interface Address {
|
|
79
151
|
country: CountryCode;
|
80
152
|
city: string;
|
81
153
|
}
|
154
|
+
interface LicenseTariffIdMap {
|
155
|
+
tarifId: string;
|
156
|
+
licenseId: string;
|
157
|
+
}
|
82
158
|
interface PostingRow {
|
83
159
|
description: string;
|
84
160
|
quantity: number;
|
@@ -97,19 +173,48 @@ interface Party extends Person {
|
|
97
173
|
iban?: string;
|
98
174
|
bic?: string;
|
99
175
|
}
|
176
|
+
type VeloBrushDeviceDocumentUserManualStep = "prepareBike1" | "prepareBike2" | "chooseCycleType" | "openDoors1" | "extendBikeDrawer1" | "unfoldRamp1" | "placeBike1" | "fixBike1" | "fixBike2" | "retractBikeDrawer1" | "closeDoors1" | "selectWashProgram" | "waitForWashProgram" | "openDoors2" | "extendBikeDrawer2" | "dryBike1" | "dryBike2" | "releaseBike" | "unloadBike" | "retractBikeDrawer2" | "closeDoors2" | "lockDoors" | "error" | "emergencyStop" | "waitingForSession";
|
100
177
|
type PaymentStatus = "waitingForConfirmation" | "waitingForAmountFinalization" | "waitingForCapture" | "waitingForTransitConfirmation" | "inTransitToProvider" | "captured" | "inTransitToProperty" | "payedOut";
|
101
178
|
type PaymentServiceProvider = "stripe";
|
102
179
|
type PayoutStatus = "awaitingApproval" | "inTransitToProperty" | "payedOut";
|
180
|
+
type BusinessType = "individual" | "company" | "non_profit" | "government_entity";
|
103
181
|
declare const ReadonlySectorArray: readonly ["tourism", "mobility", "sport"];
|
104
182
|
type Sector = (typeof ReadonlySectorArray)[number];
|
105
183
|
declare const ReadonlyCategoryArray: readonly ["bike", "car", "scooter", "boat", "moped"];
|
106
184
|
type Category = (typeof ReadonlyCategoryArray)[number];
|
107
185
|
declare const ReadonlyModalityArray: readonly ["charge", "store", "share", "wash", "repair"];
|
108
186
|
type Modality = (typeof ReadonlyModalityArray)[number];
|
187
|
+
type Purpose = {
|
188
|
+
sector: Sector;
|
189
|
+
category: Category;
|
190
|
+
modality: Modality;
|
191
|
+
};
|
192
|
+
declare const ReadonlyIntegrationStateArray: readonly ["full", "partial"];
|
193
|
+
type IntegrationState = (typeof ReadonlyIntegrationStateArray)[number];
|
109
194
|
type GeoPoint = {
|
110
195
|
type: "Point";
|
111
196
|
coordinates: [number, number];
|
112
197
|
};
|
198
|
+
type PlatformUrl = {
|
199
|
+
ios: string;
|
200
|
+
android: string;
|
201
|
+
web: string;
|
202
|
+
};
|
203
|
+
interface MapFilter {
|
204
|
+
integrationStateArray: IntegrationState[];
|
205
|
+
categoryArray: Category[];
|
206
|
+
modalityArray: Modality[];
|
207
|
+
sectorArray: Sector[];
|
208
|
+
}
|
209
|
+
type SessionType = "rent" | "reservation";
|
210
|
+
type DeviceType = "BikeBox" | "VeloCleanPro" | "SlidingDoor" | "BikeRack" | "BikeEnergy" | "BikeLoop" | "VeloBrush" | "SharingBike" | "Trb145BikeBox";
|
211
|
+
type LinkType = "standard" | "group" | "url";
|
212
|
+
type UserType = "management" | "standard";
|
213
|
+
type TarifType = "reservation" | "payNow" | "payLater";
|
214
|
+
type DeepNullable<T> = {
|
215
|
+
[K in keyof T]: DeepNullable<T[K]> | null;
|
216
|
+
};
|
217
|
+
type SessionCannotTerminateReason = "retractBikeDrawer" | "closeDoor";
|
113
218
|
type Circumstance = {
|
114
219
|
type: "wheelchairAccessible";
|
115
220
|
isWheelchairAccessible: boolean;
|
@@ -259,6 +364,98 @@ declare namespace Layout {
|
|
259
364
|
export { };
|
260
365
|
}
|
261
366
|
type LayoutBlock = Layout.Text.Plain | Layout.Text.Heading | Layout.Text.Subtitle | Layout.Image | Layout.Button.Small | Layout.Button.Large | Layout.Form.General;
|
367
|
+
type Node$1 = {
|
368
|
+
id: string;
|
369
|
+
type: "flow.start";
|
370
|
+
trigger: "session.terminate";
|
371
|
+
nodeIdArray: string[];
|
372
|
+
} | {
|
373
|
+
id: string;
|
374
|
+
type: "flow.start";
|
375
|
+
trigger: "command.executed";
|
376
|
+
commandName: string;
|
377
|
+
nodeIdArray: string[];
|
378
|
+
} | {
|
379
|
+
id: string;
|
380
|
+
type: "flow.start";
|
381
|
+
trigger: "button.pressed";
|
382
|
+
buttonName: string;
|
383
|
+
nodeIdArray: string[];
|
384
|
+
} | {
|
385
|
+
id: string;
|
386
|
+
type: "flow.start";
|
387
|
+
trigger: "session.create";
|
388
|
+
nodeIdArray: string[];
|
389
|
+
} | {
|
390
|
+
id: string;
|
391
|
+
type: "flow.start";
|
392
|
+
trigger: "device.startUse";
|
393
|
+
nodeIdArray: string[];
|
394
|
+
} | {
|
395
|
+
id: string;
|
396
|
+
type: "flow.start";
|
397
|
+
trigger: "device.endUse";
|
398
|
+
nodeIdArray: string[];
|
399
|
+
} | {
|
400
|
+
id: string;
|
401
|
+
type: "open.browser";
|
402
|
+
nodeIdArray: string[];
|
403
|
+
url: PlatformUrl;
|
404
|
+
} | {
|
405
|
+
id: string;
|
406
|
+
type: "open.phone";
|
407
|
+
nodeIdArray: string[];
|
408
|
+
phone: string;
|
409
|
+
} | {
|
410
|
+
id: string;
|
411
|
+
type: "device.message";
|
412
|
+
nodeIdArray: string[];
|
413
|
+
message: string;
|
414
|
+
} | {
|
415
|
+
id: string;
|
416
|
+
type: "property.notify";
|
417
|
+
nodeIdArray: string[];
|
418
|
+
subject: string;
|
419
|
+
message: string;
|
420
|
+
} | {
|
421
|
+
id: string;
|
422
|
+
type: "user.notify";
|
423
|
+
nodeIdArray: string[];
|
424
|
+
subject: string;
|
425
|
+
message: string;
|
426
|
+
} | {
|
427
|
+
id: string;
|
428
|
+
type: "parameter.set";
|
429
|
+
nodeIdArray: string[];
|
430
|
+
parameterName: string;
|
431
|
+
value: number | string | boolean;
|
432
|
+
} | {
|
433
|
+
id: string;
|
434
|
+
type: "command.execute";
|
435
|
+
nodeIdArray: string[];
|
436
|
+
commandName: string;
|
437
|
+
} | {
|
438
|
+
id: string;
|
439
|
+
type: "flow.exception";
|
440
|
+
error: LocaleString;
|
441
|
+
} | {
|
442
|
+
id: string;
|
443
|
+
type: "flow.if";
|
444
|
+
condition: Condition;
|
445
|
+
trueNodeIdArray: string[];
|
446
|
+
falseNodeIdArray: string[];
|
447
|
+
} | {
|
448
|
+
id: string;
|
449
|
+
type: "flow.end";
|
450
|
+
};
|
451
|
+
declare enum ConditionType {
|
452
|
+
Equal = "==",
|
453
|
+
NotEqual = "!=",
|
454
|
+
LessThan = "<",
|
455
|
+
GreaterThan = ">",
|
456
|
+
LessThanOrEqual = "<=",
|
457
|
+
GreaterThanOrEqual = ">="
|
458
|
+
}
|
262
459
|
type Utilization = {
|
263
460
|
type: "percentage";
|
264
461
|
percentage: number;
|
@@ -458,6 +655,11 @@ declare class ProductService extends Service {
|
|
458
655
|
retrieve(params: JUHUU.Product.Retrieve.Params, options?: JUHUU.Product.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Product.Retrieve.Response>>;
|
459
656
|
}
|
460
657
|
|
658
|
+
declare class SettingsService extends Service {
|
659
|
+
constructor(config: JUHUU.SetupConfig);
|
660
|
+
retrieve(): Promise<JUHUU.HttpResponse<Settings>>;
|
661
|
+
}
|
662
|
+
|
461
663
|
declare class Juhuu {
|
462
664
|
constructor(config: JUHUU.SetupConfig);
|
463
665
|
/**
|
@@ -475,6 +677,7 @@ declare class Juhuu {
|
|
475
677
|
readonly terms: TermsService;
|
476
678
|
readonly tariffs: TariffsService;
|
477
679
|
readonly products: ProductService;
|
680
|
+
readonly settings: SettingsService;
|
478
681
|
}
|
479
682
|
declare namespace JUHUU {
|
480
683
|
interface SetupConfig {
|
@@ -1373,4 +1576,4 @@ declare namespace JUHUU {
|
|
1373
1576
|
}
|
1374
1577
|
}
|
1375
1578
|
|
1376
|
-
export { JUHUU, Juhuu };
|
1579
|
+
export { type Address, type AutoRenewMode, type BusinessType, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FuelType, type GeneralSettings, type GeoPoint, type IntegrationState, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Node$1 as Node, type Offer, type OfferTime, type Parameter, type Party, type PaymentMethod, type PaymentReason, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformUrl, type PostingRow, Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyIntegrationStateArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundReason, type RefundStatus, type Sector, type ServiceMonth, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, type Settings, type StarRating, type TarifType, type TimeZone, type Unit, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type hexColor };
|
package/dist/index.js
CHANGED
@@ -30,8 +30,16 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
30
30
|
// src/index.ts
|
31
31
|
var src_exports = {};
|
32
32
|
__export(src_exports, {
|
33
|
+
ConditionType: () => ConditionType,
|
34
|
+
CountryCodeArray: () => CountryCodeArray,
|
35
|
+
CurrencyCodeArray: () => CurrencyCodeArray,
|
33
36
|
JUHUU: () => JUHUU,
|
34
|
-
Juhuu: () => Juhuu
|
37
|
+
Juhuu: () => Juhuu,
|
38
|
+
LanguageCodeArray: () => LanguageCodeArray,
|
39
|
+
ReadonlyCategoryArray: () => ReadonlyCategoryArray,
|
40
|
+
ReadonlyIntegrationStateArray: () => ReadonlyIntegrationStateArray,
|
41
|
+
ReadonlyModalityArray: () => ReadonlyModalityArray,
|
42
|
+
ReadonlySectorArray: () => ReadonlySectorArray
|
35
43
|
});
|
36
44
|
module.exports = __toCommonJS(src_exports);
|
37
45
|
|
@@ -1042,6 +1050,172 @@ var ProductService = class extends Service {
|
|
1042
1050
|
}
|
1043
1051
|
};
|
1044
1052
|
|
1053
|
+
// src/settings/settings.service.ts
|
1054
|
+
var SettingsService = class extends Service {
|
1055
|
+
constructor(config) {
|
1056
|
+
super(config);
|
1057
|
+
}
|
1058
|
+
async retrieve() {
|
1059
|
+
return await super.sendRequest({
|
1060
|
+
method: "GET",
|
1061
|
+
url: "sessions/",
|
1062
|
+
body: void 0,
|
1063
|
+
useAuthentication: false
|
1064
|
+
});
|
1065
|
+
}
|
1066
|
+
};
|
1067
|
+
|
1068
|
+
// src/types/types.ts
|
1069
|
+
var LanguageCodeArray = [
|
1070
|
+
"en",
|
1071
|
+
// english
|
1072
|
+
"de",
|
1073
|
+
// german
|
1074
|
+
"fr",
|
1075
|
+
// french
|
1076
|
+
"nl",
|
1077
|
+
// dutch
|
1078
|
+
"it",
|
1079
|
+
// italian
|
1080
|
+
"cs",
|
1081
|
+
// czech
|
1082
|
+
"da",
|
1083
|
+
// danish
|
1084
|
+
"es",
|
1085
|
+
// spanish
|
1086
|
+
"et",
|
1087
|
+
// estonian
|
1088
|
+
"gsw",
|
1089
|
+
// swiss german
|
1090
|
+
"hr",
|
1091
|
+
// croatian
|
1092
|
+
"hu",
|
1093
|
+
// hungarian
|
1094
|
+
"no",
|
1095
|
+
// norwegian
|
1096
|
+
"pl",
|
1097
|
+
// polish
|
1098
|
+
"sv"
|
1099
|
+
// swedish
|
1100
|
+
];
|
1101
|
+
var CountryCodeArray = [
|
1102
|
+
"DE",
|
1103
|
+
// germany
|
1104
|
+
"AT",
|
1105
|
+
// austria
|
1106
|
+
"CH",
|
1107
|
+
// switzerland
|
1108
|
+
"LI",
|
1109
|
+
// liechtenstein
|
1110
|
+
"IT",
|
1111
|
+
// italy
|
1112
|
+
"FR",
|
1113
|
+
// france
|
1114
|
+
"NL",
|
1115
|
+
// netherlands
|
1116
|
+
"BE",
|
1117
|
+
// belgium
|
1118
|
+
"LU",
|
1119
|
+
// luxembourg
|
1120
|
+
"DK",
|
1121
|
+
// denmark
|
1122
|
+
"SE",
|
1123
|
+
// sweden
|
1124
|
+
"NO",
|
1125
|
+
// norway
|
1126
|
+
"FI",
|
1127
|
+
// finland
|
1128
|
+
"IS",
|
1129
|
+
// iceland
|
1130
|
+
"GB",
|
1131
|
+
// great britain
|
1132
|
+
"IE",
|
1133
|
+
// ireland
|
1134
|
+
"ES",
|
1135
|
+
// spain
|
1136
|
+
"PT",
|
1137
|
+
// portugal
|
1138
|
+
"GR",
|
1139
|
+
// greece
|
1140
|
+
"PL",
|
1141
|
+
// poland
|
1142
|
+
"CZ",
|
1143
|
+
// czech republic
|
1144
|
+
"SK",
|
1145
|
+
// slovakia
|
1146
|
+
"HU",
|
1147
|
+
// hungary
|
1148
|
+
"SI",
|
1149
|
+
// slovenia
|
1150
|
+
"HR",
|
1151
|
+
// croatia
|
1152
|
+
"BA",
|
1153
|
+
// bosnia and herzegovina
|
1154
|
+
"RS",
|
1155
|
+
// serbia
|
1156
|
+
"US",
|
1157
|
+
// united states
|
1158
|
+
"CA"
|
1159
|
+
// canada
|
1160
|
+
];
|
1161
|
+
var CurrencyCodeArray = [
|
1162
|
+
"eur",
|
1163
|
+
// euro
|
1164
|
+
"usd",
|
1165
|
+
// united states
|
1166
|
+
"gbp",
|
1167
|
+
// great britain
|
1168
|
+
"nok",
|
1169
|
+
// norway
|
1170
|
+
"sek",
|
1171
|
+
// sweden
|
1172
|
+
"chf",
|
1173
|
+
// switzerland
|
1174
|
+
"dkk",
|
1175
|
+
// denmark
|
1176
|
+
"pln",
|
1177
|
+
// poland
|
1178
|
+
"czk",
|
1179
|
+
// czech republic
|
1180
|
+
"huf",
|
1181
|
+
// hungary
|
1182
|
+
"hrk",
|
1183
|
+
// croatia
|
1184
|
+
"bam",
|
1185
|
+
// bosnia and herzegovina
|
1186
|
+
"rsd",
|
1187
|
+
// serbia
|
1188
|
+
"isk",
|
1189
|
+
// iceland
|
1190
|
+
"cad"
|
1191
|
+
// canada
|
1192
|
+
];
|
1193
|
+
var ReadonlySectorArray = ["tourism", "mobility", "sport"];
|
1194
|
+
var ReadonlyCategoryArray = [
|
1195
|
+
"bike",
|
1196
|
+
"car",
|
1197
|
+
"scooter",
|
1198
|
+
"boat",
|
1199
|
+
"moped"
|
1200
|
+
];
|
1201
|
+
var ReadonlyModalityArray = [
|
1202
|
+
"charge",
|
1203
|
+
"store",
|
1204
|
+
"share",
|
1205
|
+
"wash",
|
1206
|
+
"repair"
|
1207
|
+
];
|
1208
|
+
var ReadonlyIntegrationStateArray = ["full", "partial"];
|
1209
|
+
var ConditionType = /* @__PURE__ */ ((ConditionType2) => {
|
1210
|
+
ConditionType2["Equal"] = "==";
|
1211
|
+
ConditionType2["NotEqual"] = "!=";
|
1212
|
+
ConditionType2["LessThan"] = "<";
|
1213
|
+
ConditionType2["GreaterThan"] = ">";
|
1214
|
+
ConditionType2["LessThanOrEqual"] = "<=";
|
1215
|
+
ConditionType2["GreaterThanOrEqual"] = ">=";
|
1216
|
+
return ConditionType2;
|
1217
|
+
})(ConditionType || {});
|
1218
|
+
|
1045
1219
|
// src/index.ts
|
1046
1220
|
var Juhuu = class {
|
1047
1221
|
constructor(config) {
|
@@ -1057,6 +1231,7 @@ var Juhuu = class {
|
|
1057
1231
|
this.terms = new TermsService(config);
|
1058
1232
|
this.tariffs = new TariffsService(config);
|
1059
1233
|
this.products = new ProductService(config);
|
1234
|
+
this.settings = new SettingsService(config);
|
1060
1235
|
}
|
1061
1236
|
/**
|
1062
1237
|
* Top Level Resources
|
@@ -1073,6 +1248,7 @@ var Juhuu = class {
|
|
1073
1248
|
terms;
|
1074
1249
|
tariffs;
|
1075
1250
|
products;
|
1251
|
+
settings;
|
1076
1252
|
};
|
1077
1253
|
var JUHUU;
|
1078
1254
|
((JUHUU2) => {
|
@@ -1089,6 +1265,14 @@ var JUHUU;
|
|
1089
1265
|
})(JUHUU || (JUHUU = {}));
|
1090
1266
|
// Annotate the CommonJS export names for ESM import in node:
|
1091
1267
|
0 && (module.exports = {
|
1268
|
+
ConditionType,
|
1269
|
+
CountryCodeArray,
|
1270
|
+
CurrencyCodeArray,
|
1092
1271
|
JUHUU,
|
1093
|
-
Juhuu
|
1272
|
+
Juhuu,
|
1273
|
+
LanguageCodeArray,
|
1274
|
+
ReadonlyCategoryArray,
|
1275
|
+
ReadonlyIntegrationStateArray,
|
1276
|
+
ReadonlyModalityArray,
|
1277
|
+
ReadonlySectorArray
|
1094
1278
|
});
|
package/dist/index.mjs
CHANGED
@@ -1005,6 +1005,172 @@ var ProductService = class extends Service {
|
|
1005
1005
|
}
|
1006
1006
|
};
|
1007
1007
|
|
1008
|
+
// src/settings/settings.service.ts
|
1009
|
+
var SettingsService = class extends Service {
|
1010
|
+
constructor(config) {
|
1011
|
+
super(config);
|
1012
|
+
}
|
1013
|
+
async retrieve() {
|
1014
|
+
return await super.sendRequest({
|
1015
|
+
method: "GET",
|
1016
|
+
url: "sessions/",
|
1017
|
+
body: void 0,
|
1018
|
+
useAuthentication: false
|
1019
|
+
});
|
1020
|
+
}
|
1021
|
+
};
|
1022
|
+
|
1023
|
+
// src/types/types.ts
|
1024
|
+
var LanguageCodeArray = [
|
1025
|
+
"en",
|
1026
|
+
// english
|
1027
|
+
"de",
|
1028
|
+
// german
|
1029
|
+
"fr",
|
1030
|
+
// french
|
1031
|
+
"nl",
|
1032
|
+
// dutch
|
1033
|
+
"it",
|
1034
|
+
// italian
|
1035
|
+
"cs",
|
1036
|
+
// czech
|
1037
|
+
"da",
|
1038
|
+
// danish
|
1039
|
+
"es",
|
1040
|
+
// spanish
|
1041
|
+
"et",
|
1042
|
+
// estonian
|
1043
|
+
"gsw",
|
1044
|
+
// swiss german
|
1045
|
+
"hr",
|
1046
|
+
// croatian
|
1047
|
+
"hu",
|
1048
|
+
// hungarian
|
1049
|
+
"no",
|
1050
|
+
// norwegian
|
1051
|
+
"pl",
|
1052
|
+
// polish
|
1053
|
+
"sv"
|
1054
|
+
// swedish
|
1055
|
+
];
|
1056
|
+
var CountryCodeArray = [
|
1057
|
+
"DE",
|
1058
|
+
// germany
|
1059
|
+
"AT",
|
1060
|
+
// austria
|
1061
|
+
"CH",
|
1062
|
+
// switzerland
|
1063
|
+
"LI",
|
1064
|
+
// liechtenstein
|
1065
|
+
"IT",
|
1066
|
+
// italy
|
1067
|
+
"FR",
|
1068
|
+
// france
|
1069
|
+
"NL",
|
1070
|
+
// netherlands
|
1071
|
+
"BE",
|
1072
|
+
// belgium
|
1073
|
+
"LU",
|
1074
|
+
// luxembourg
|
1075
|
+
"DK",
|
1076
|
+
// denmark
|
1077
|
+
"SE",
|
1078
|
+
// sweden
|
1079
|
+
"NO",
|
1080
|
+
// norway
|
1081
|
+
"FI",
|
1082
|
+
// finland
|
1083
|
+
"IS",
|
1084
|
+
// iceland
|
1085
|
+
"GB",
|
1086
|
+
// great britain
|
1087
|
+
"IE",
|
1088
|
+
// ireland
|
1089
|
+
"ES",
|
1090
|
+
// spain
|
1091
|
+
"PT",
|
1092
|
+
// portugal
|
1093
|
+
"GR",
|
1094
|
+
// greece
|
1095
|
+
"PL",
|
1096
|
+
// poland
|
1097
|
+
"CZ",
|
1098
|
+
// czech republic
|
1099
|
+
"SK",
|
1100
|
+
// slovakia
|
1101
|
+
"HU",
|
1102
|
+
// hungary
|
1103
|
+
"SI",
|
1104
|
+
// slovenia
|
1105
|
+
"HR",
|
1106
|
+
// croatia
|
1107
|
+
"BA",
|
1108
|
+
// bosnia and herzegovina
|
1109
|
+
"RS",
|
1110
|
+
// serbia
|
1111
|
+
"US",
|
1112
|
+
// united states
|
1113
|
+
"CA"
|
1114
|
+
// canada
|
1115
|
+
];
|
1116
|
+
var CurrencyCodeArray = [
|
1117
|
+
"eur",
|
1118
|
+
// euro
|
1119
|
+
"usd",
|
1120
|
+
// united states
|
1121
|
+
"gbp",
|
1122
|
+
// great britain
|
1123
|
+
"nok",
|
1124
|
+
// norway
|
1125
|
+
"sek",
|
1126
|
+
// sweden
|
1127
|
+
"chf",
|
1128
|
+
// switzerland
|
1129
|
+
"dkk",
|
1130
|
+
// denmark
|
1131
|
+
"pln",
|
1132
|
+
// poland
|
1133
|
+
"czk",
|
1134
|
+
// czech republic
|
1135
|
+
"huf",
|
1136
|
+
// hungary
|
1137
|
+
"hrk",
|
1138
|
+
// croatia
|
1139
|
+
"bam",
|
1140
|
+
// bosnia and herzegovina
|
1141
|
+
"rsd",
|
1142
|
+
// serbia
|
1143
|
+
"isk",
|
1144
|
+
// iceland
|
1145
|
+
"cad"
|
1146
|
+
// canada
|
1147
|
+
];
|
1148
|
+
var ReadonlySectorArray = ["tourism", "mobility", "sport"];
|
1149
|
+
var ReadonlyCategoryArray = [
|
1150
|
+
"bike",
|
1151
|
+
"car",
|
1152
|
+
"scooter",
|
1153
|
+
"boat",
|
1154
|
+
"moped"
|
1155
|
+
];
|
1156
|
+
var ReadonlyModalityArray = [
|
1157
|
+
"charge",
|
1158
|
+
"store",
|
1159
|
+
"share",
|
1160
|
+
"wash",
|
1161
|
+
"repair"
|
1162
|
+
];
|
1163
|
+
var ReadonlyIntegrationStateArray = ["full", "partial"];
|
1164
|
+
var ConditionType = /* @__PURE__ */ ((ConditionType2) => {
|
1165
|
+
ConditionType2["Equal"] = "==";
|
1166
|
+
ConditionType2["NotEqual"] = "!=";
|
1167
|
+
ConditionType2["LessThan"] = "<";
|
1168
|
+
ConditionType2["GreaterThan"] = ">";
|
1169
|
+
ConditionType2["LessThanOrEqual"] = "<=";
|
1170
|
+
ConditionType2["GreaterThanOrEqual"] = ">=";
|
1171
|
+
return ConditionType2;
|
1172
|
+
})(ConditionType || {});
|
1173
|
+
|
1008
1174
|
// src/index.ts
|
1009
1175
|
var Juhuu = class {
|
1010
1176
|
constructor(config) {
|
@@ -1020,6 +1186,7 @@ var Juhuu = class {
|
|
1020
1186
|
this.terms = new TermsService(config);
|
1021
1187
|
this.tariffs = new TariffsService(config);
|
1022
1188
|
this.products = new ProductService(config);
|
1189
|
+
this.settings = new SettingsService(config);
|
1023
1190
|
}
|
1024
1191
|
/**
|
1025
1192
|
* Top Level Resources
|
@@ -1036,6 +1203,7 @@ var Juhuu = class {
|
|
1036
1203
|
terms;
|
1037
1204
|
tariffs;
|
1038
1205
|
products;
|
1206
|
+
settings;
|
1039
1207
|
};
|
1040
1208
|
var JUHUU;
|
1041
1209
|
((JUHUU2) => {
|
@@ -1051,6 +1219,14 @@ var JUHUU;
|
|
1051
1219
|
})(Technology = JUHUU2.Technology || (JUHUU2.Technology = {}));
|
1052
1220
|
})(JUHUU || (JUHUU = {}));
|
1053
1221
|
export {
|
1222
|
+
ConditionType,
|
1223
|
+
CountryCodeArray,
|
1224
|
+
CurrencyCodeArray,
|
1054
1225
|
JUHUU,
|
1055
|
-
Juhuu
|
1226
|
+
Juhuu,
|
1227
|
+
LanguageCodeArray,
|
1228
|
+
ReadonlyCategoryArray,
|
1229
|
+
ReadonlyIntegrationStateArray,
|
1230
|
+
ReadonlyModalityArray,
|
1231
|
+
ReadonlySectorArray
|
1056
1232
|
};
|