@juhuu/sdk-ts 1.2.15 → 1.2.16
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 +53 -7
- package/dist/index.d.ts +53 -7
- package/dist/index.js +47 -8
- package/dist/index.mjs +47 -8
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -129,7 +129,6 @@ type SessionStatus = "waitingForPayment" | "ready" | "completed";
|
|
129
129
|
type AutoRenewMode = "off" | "optIn" | "optOut" | "on";
|
130
130
|
type RefundStatus = "inTransitToUser" | "succeeded";
|
131
131
|
type SessionTerminatedByType = "user" | "cloudTask" | "cloudFunction" | "mqttCommand";
|
132
|
-
type ServiceMonth = "jan" | "feb" | "mar" | "apr" | "may" | "jun" | "jul" | "aug" | "sep" | "oct" | "nov" | "dec";
|
133
132
|
type PermissionTypes = "UserManagement" | "PropertyManagement" | "PayoutManagement" | "InvoiceManagement" | "TarifManagement" | "SessionManagement" | "PaymentManagement" | "LocationManagement" | "LinkManagement" | "TermsManagement" | "LicenseManagement";
|
134
133
|
interface CustomClaims {
|
135
134
|
UserManagement: boolean;
|
@@ -699,6 +698,12 @@ declare class SimsService extends Service {
|
|
699
698
|
updateFromProvider(SimUpdateFromProviderParams: JUHUU.Sim.UpdateFromProvider.Params, SimUpdateFromProviderOptions?: JUHUU.Sim.UpdateFromProvider.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.UpdateFromProvider.Response>>;
|
700
699
|
}
|
701
700
|
|
701
|
+
declare class LicenseTemplatesService extends Service {
|
702
|
+
constructor(config: JUHUU.SetupConfig);
|
703
|
+
list(LicenseTemplateListParams: JUHUU.LicenseTemplate.List.Params, LicenseTemplateListOptions?: JUHUU.LicenseTemplate.List.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.List.Response>>;
|
704
|
+
retrieve(LicenseTemplateRetrieveParams: JUHUU.LicenseTemplate.Retrieve.Params, LicenseTemplateRetrieveOptions?: JUHUU.LicenseTemplate.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.Retrieve.Response>>;
|
705
|
+
}
|
706
|
+
|
702
707
|
declare class Juhuu {
|
703
708
|
constructor(config: JUHUU.SetupConfig);
|
704
709
|
/**
|
@@ -722,6 +727,7 @@ declare class Juhuu {
|
|
722
727
|
readonly payouts: PayoutsService;
|
723
728
|
readonly connectorMessages: ConnectorMessagesService;
|
724
729
|
readonly sims: SimsService;
|
730
|
+
readonly licenseTemplates: LicenseTemplatesService;
|
725
731
|
}
|
726
732
|
declare namespace JUHUU {
|
727
733
|
interface SetupConfig {
|
@@ -1188,6 +1194,49 @@ declare namespace JUHUU {
|
|
1188
1194
|
sessionId: string;
|
1189
1195
|
};
|
1190
1196
|
}
|
1197
|
+
namespace LicenseTemplate {
|
1198
|
+
type Base = {
|
1199
|
+
id: string;
|
1200
|
+
readonly object: "licenseTemplate";
|
1201
|
+
name: LocaleString;
|
1202
|
+
description: LocaleString;
|
1203
|
+
validFor: "endOfYear" | "endOfMonth" | "endOfWeek" | "endOfDay" | "year" | "always" | "month" | "week" | "day";
|
1204
|
+
obtainDescription: LocaleString;
|
1205
|
+
};
|
1206
|
+
export interface RegexLicenseTemplate extends Base {
|
1207
|
+
type: "regex";
|
1208
|
+
regex: string;
|
1209
|
+
propertyId: string;
|
1210
|
+
}
|
1211
|
+
export interface AutomaticLicenseTemplate extends Base {
|
1212
|
+
type: "automatic";
|
1213
|
+
}
|
1214
|
+
export type Object = AutomaticLicenseTemplate | RegexLicenseTemplate;
|
1215
|
+
export namespace Retrieve {
|
1216
|
+
type Params = {
|
1217
|
+
licenseTemplateId: string;
|
1218
|
+
};
|
1219
|
+
type Options = {
|
1220
|
+
expand?: Array<"property">;
|
1221
|
+
} & JUHUU.RequestOptions;
|
1222
|
+
type Response = {
|
1223
|
+
licenseTemplate: JUHUU.Location.Object;
|
1224
|
+
property: JUHUU.Property.Object;
|
1225
|
+
};
|
1226
|
+
}
|
1227
|
+
export namespace List {
|
1228
|
+
type Params = {
|
1229
|
+
limit?: number;
|
1230
|
+
skip?: number;
|
1231
|
+
propertyId?: string;
|
1232
|
+
};
|
1233
|
+
type Options = JUHUU.RequestOptions;
|
1234
|
+
type Response = {
|
1235
|
+
licenseTemplateArray: JUHUU.LicenseTemplate.Object[];
|
1236
|
+
};
|
1237
|
+
}
|
1238
|
+
export { };
|
1239
|
+
}
|
1191
1240
|
namespace Property {
|
1192
1241
|
type Base = {
|
1193
1242
|
id: string;
|
@@ -1548,15 +1597,12 @@ declare namespace JUHUU {
|
|
1548
1597
|
maximumConcurrentSessions?: number;
|
1549
1598
|
surveyEnabled?: boolean;
|
1550
1599
|
accountingAreaId?: string;
|
1551
|
-
|
1552
|
-
|
1553
|
-
location?: GeoPoint;
|
1600
|
+
latitude?: number;
|
1601
|
+
longitude?: number;
|
1554
1602
|
purposeArray?: Purpose[];
|
1555
1603
|
circumstanceArray?: Circumstance[];
|
1556
1604
|
rentOfferArray?: Offer[];
|
1557
1605
|
reservationOfferArray?: Offer[];
|
1558
|
-
iconLight?: string | null;
|
1559
|
-
iconDark?: string | null;
|
1560
1606
|
};
|
1561
1607
|
type Options = JUHUU.RequestOptions;
|
1562
1608
|
type Response = {
|
@@ -1921,4 +1967,4 @@ declare namespace JUHUU {
|
|
1921
1967
|
}
|
1922
1968
|
}
|
1923
1969
|
|
1924
|
-
export { type AccessControlListElement, 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
|
1970
|
+
export { type AccessControlListElement, 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 SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, type Settings, type SimStatus, 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
@@ -129,7 +129,6 @@ type SessionStatus = "waitingForPayment" | "ready" | "completed";
|
|
129
129
|
type AutoRenewMode = "off" | "optIn" | "optOut" | "on";
|
130
130
|
type RefundStatus = "inTransitToUser" | "succeeded";
|
131
131
|
type SessionTerminatedByType = "user" | "cloudTask" | "cloudFunction" | "mqttCommand";
|
132
|
-
type ServiceMonth = "jan" | "feb" | "mar" | "apr" | "may" | "jun" | "jul" | "aug" | "sep" | "oct" | "nov" | "dec";
|
133
132
|
type PermissionTypes = "UserManagement" | "PropertyManagement" | "PayoutManagement" | "InvoiceManagement" | "TarifManagement" | "SessionManagement" | "PaymentManagement" | "LocationManagement" | "LinkManagement" | "TermsManagement" | "LicenseManagement";
|
134
133
|
interface CustomClaims {
|
135
134
|
UserManagement: boolean;
|
@@ -699,6 +698,12 @@ declare class SimsService extends Service {
|
|
699
698
|
updateFromProvider(SimUpdateFromProviderParams: JUHUU.Sim.UpdateFromProvider.Params, SimUpdateFromProviderOptions?: JUHUU.Sim.UpdateFromProvider.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.UpdateFromProvider.Response>>;
|
700
699
|
}
|
701
700
|
|
701
|
+
declare class LicenseTemplatesService extends Service {
|
702
|
+
constructor(config: JUHUU.SetupConfig);
|
703
|
+
list(LicenseTemplateListParams: JUHUU.LicenseTemplate.List.Params, LicenseTemplateListOptions?: JUHUU.LicenseTemplate.List.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.List.Response>>;
|
704
|
+
retrieve(LicenseTemplateRetrieveParams: JUHUU.LicenseTemplate.Retrieve.Params, LicenseTemplateRetrieveOptions?: JUHUU.LicenseTemplate.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.Retrieve.Response>>;
|
705
|
+
}
|
706
|
+
|
702
707
|
declare class Juhuu {
|
703
708
|
constructor(config: JUHUU.SetupConfig);
|
704
709
|
/**
|
@@ -722,6 +727,7 @@ declare class Juhuu {
|
|
722
727
|
readonly payouts: PayoutsService;
|
723
728
|
readonly connectorMessages: ConnectorMessagesService;
|
724
729
|
readonly sims: SimsService;
|
730
|
+
readonly licenseTemplates: LicenseTemplatesService;
|
725
731
|
}
|
726
732
|
declare namespace JUHUU {
|
727
733
|
interface SetupConfig {
|
@@ -1188,6 +1194,49 @@ declare namespace JUHUU {
|
|
1188
1194
|
sessionId: string;
|
1189
1195
|
};
|
1190
1196
|
}
|
1197
|
+
namespace LicenseTemplate {
|
1198
|
+
type Base = {
|
1199
|
+
id: string;
|
1200
|
+
readonly object: "licenseTemplate";
|
1201
|
+
name: LocaleString;
|
1202
|
+
description: LocaleString;
|
1203
|
+
validFor: "endOfYear" | "endOfMonth" | "endOfWeek" | "endOfDay" | "year" | "always" | "month" | "week" | "day";
|
1204
|
+
obtainDescription: LocaleString;
|
1205
|
+
};
|
1206
|
+
export interface RegexLicenseTemplate extends Base {
|
1207
|
+
type: "regex";
|
1208
|
+
regex: string;
|
1209
|
+
propertyId: string;
|
1210
|
+
}
|
1211
|
+
export interface AutomaticLicenseTemplate extends Base {
|
1212
|
+
type: "automatic";
|
1213
|
+
}
|
1214
|
+
export type Object = AutomaticLicenseTemplate | RegexLicenseTemplate;
|
1215
|
+
export namespace Retrieve {
|
1216
|
+
type Params = {
|
1217
|
+
licenseTemplateId: string;
|
1218
|
+
};
|
1219
|
+
type Options = {
|
1220
|
+
expand?: Array<"property">;
|
1221
|
+
} & JUHUU.RequestOptions;
|
1222
|
+
type Response = {
|
1223
|
+
licenseTemplate: JUHUU.Location.Object;
|
1224
|
+
property: JUHUU.Property.Object;
|
1225
|
+
};
|
1226
|
+
}
|
1227
|
+
export namespace List {
|
1228
|
+
type Params = {
|
1229
|
+
limit?: number;
|
1230
|
+
skip?: number;
|
1231
|
+
propertyId?: string;
|
1232
|
+
};
|
1233
|
+
type Options = JUHUU.RequestOptions;
|
1234
|
+
type Response = {
|
1235
|
+
licenseTemplateArray: JUHUU.LicenseTemplate.Object[];
|
1236
|
+
};
|
1237
|
+
}
|
1238
|
+
export { };
|
1239
|
+
}
|
1191
1240
|
namespace Property {
|
1192
1241
|
type Base = {
|
1193
1242
|
id: string;
|
@@ -1548,15 +1597,12 @@ declare namespace JUHUU {
|
|
1548
1597
|
maximumConcurrentSessions?: number;
|
1549
1598
|
surveyEnabled?: boolean;
|
1550
1599
|
accountingAreaId?: string;
|
1551
|
-
|
1552
|
-
|
1553
|
-
location?: GeoPoint;
|
1600
|
+
latitude?: number;
|
1601
|
+
longitude?: number;
|
1554
1602
|
purposeArray?: Purpose[];
|
1555
1603
|
circumstanceArray?: Circumstance[];
|
1556
1604
|
rentOfferArray?: Offer[];
|
1557
1605
|
reservationOfferArray?: Offer[];
|
1558
|
-
iconLight?: string | null;
|
1559
|
-
iconDark?: string | null;
|
1560
1606
|
};
|
1561
1607
|
type Options = JUHUU.RequestOptions;
|
1562
1608
|
type Response = {
|
@@ -1921,4 +1967,4 @@ declare namespace JUHUU {
|
|
1921
1967
|
}
|
1922
1968
|
}
|
1923
1969
|
|
1924
|
-
export { type AccessControlListElement, 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
|
1970
|
+
export { type AccessControlListElement, 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 SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, type Settings, type SimStatus, 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
@@ -582,10 +582,10 @@ var PaymentsService = class extends Service {
|
|
582
582
|
queryArray.push("statusArray=" + PaymentListParams.statusArray.join(","));
|
583
583
|
}
|
584
584
|
if (PaymentListParams?.createdAt?.gte !== void 0) {
|
585
|
-
queryArray.push("
|
585
|
+
queryArray.push("createdAt[gte]=" + PaymentListParams.createdAt.gte);
|
586
586
|
}
|
587
587
|
if (PaymentListParams?.createdAt?.lte !== void 0) {
|
588
|
-
queryArray.push("
|
588
|
+
queryArray.push("createdAt[lte]=" + PaymentListParams.createdAt.lte);
|
589
589
|
}
|
590
590
|
if (PaymentListParams.limit !== void 0) {
|
591
591
|
queryArray.push("limit=" + PaymentListParams.limit);
|
@@ -997,15 +997,10 @@ var LocationsService = class extends Service {
|
|
997
997
|
maximumConcurrentSessions: LocationUpdateParams.maximumConcurrentSessions,
|
998
998
|
surveyEnabled: LocationUpdateParams.surveyEnabled,
|
999
999
|
accountingAreaId: LocationUpdateParams.accountingAreaId,
|
1000
|
-
logoLight: LocationUpdateParams.logoLight,
|
1001
|
-
logoDark: LocationUpdateParams.logoDark,
|
1002
|
-
location: LocationUpdateParams.location,
|
1003
1000
|
purposeArray: LocationUpdateParams.purposeArray,
|
1004
1001
|
circumstanceArray: LocationUpdateParams.circumstanceArray,
|
1005
1002
|
rentOfferArray: LocationUpdateParams.rentOfferArray,
|
1006
|
-
reservationOfferArray: LocationUpdateParams.reservationOfferArray
|
1007
|
-
iconLight: LocationUpdateParams.iconLight,
|
1008
|
-
iconDark: LocationUpdateParams.iconDark
|
1003
|
+
reservationOfferArray: LocationUpdateParams.reservationOfferArray
|
1009
1004
|
},
|
1010
1005
|
useAuthentication: true
|
1011
1006
|
},
|
@@ -1457,6 +1452,48 @@ var SimsService = class extends Service {
|
|
1457
1452
|
}
|
1458
1453
|
};
|
1459
1454
|
|
1455
|
+
// src/licenseTemplates/licenseTemplates.service.ts
|
1456
|
+
var LicenseTemplatesService = class extends Service {
|
1457
|
+
constructor(config) {
|
1458
|
+
super(config);
|
1459
|
+
}
|
1460
|
+
async list(LicenseTemplateListParams, LicenseTemplateListOptions) {
|
1461
|
+
const queryArray = [];
|
1462
|
+
if (LicenseTemplateListParams.propertyId !== void 0) {
|
1463
|
+
queryArray.push("propertyId=" + LicenseTemplateListParams.propertyId);
|
1464
|
+
}
|
1465
|
+
if (LicenseTemplateListParams.limit !== void 0) {
|
1466
|
+
queryArray.push("limit=" + LicenseTemplateListParams.limit);
|
1467
|
+
}
|
1468
|
+
if (LicenseTemplateListParams.skip !== void 0) {
|
1469
|
+
queryArray.push("skip=" + LicenseTemplateListParams.skip);
|
1470
|
+
}
|
1471
|
+
return await super.sendRequest(
|
1472
|
+
{
|
1473
|
+
method: "GET",
|
1474
|
+
url: "licenseTemplates?" + queryArray.join("&"),
|
1475
|
+
body: void 0,
|
1476
|
+
useAuthentication: true
|
1477
|
+
},
|
1478
|
+
LicenseTemplateListOptions
|
1479
|
+
);
|
1480
|
+
}
|
1481
|
+
async retrieve(LicenseTemplateRetrieveParams, LicenseTemplateRetrieveOptions) {
|
1482
|
+
const queryArray = [];
|
1483
|
+
if (LicenseTemplateRetrieveOptions?.expand !== void 0) {
|
1484
|
+
queryArray.push(
|
1485
|
+
"expand=" + LicenseTemplateRetrieveOptions.expand.join(",")
|
1486
|
+
);
|
1487
|
+
}
|
1488
|
+
return await super.sendRequest({
|
1489
|
+
method: "GET",
|
1490
|
+
url: "licenseTemplates/" + LicenseTemplateRetrieveParams.licenseTemplateId + "?" + queryArray.join("&"),
|
1491
|
+
body: void 0,
|
1492
|
+
useAuthentication: true
|
1493
|
+
});
|
1494
|
+
}
|
1495
|
+
};
|
1496
|
+
|
1460
1497
|
// src/types/types.ts
|
1461
1498
|
var LanguageCodeArray = [
|
1462
1499
|
"en",
|
@@ -1629,6 +1666,7 @@ var Juhuu = class {
|
|
1629
1666
|
this.payouts = new PayoutsService(config);
|
1630
1667
|
this.connectorMessages = new ConnectorMessagesService(config);
|
1631
1668
|
this.sims = new SimsService(config);
|
1669
|
+
this.licenseTemplates = new LicenseTemplatesService(config);
|
1632
1670
|
}
|
1633
1671
|
/**
|
1634
1672
|
* Top Level Resources
|
@@ -1651,6 +1689,7 @@ var Juhuu = class {
|
|
1651
1689
|
payouts;
|
1652
1690
|
connectorMessages;
|
1653
1691
|
sims;
|
1692
|
+
licenseTemplates;
|
1654
1693
|
};
|
1655
1694
|
var JUHUU;
|
1656
1695
|
((JUHUU2) => {
|
package/dist/index.mjs
CHANGED
@@ -537,10 +537,10 @@ var PaymentsService = class extends Service {
|
|
537
537
|
queryArray.push("statusArray=" + PaymentListParams.statusArray.join(","));
|
538
538
|
}
|
539
539
|
if (PaymentListParams?.createdAt?.gte !== void 0) {
|
540
|
-
queryArray.push("
|
540
|
+
queryArray.push("createdAt[gte]=" + PaymentListParams.createdAt.gte);
|
541
541
|
}
|
542
542
|
if (PaymentListParams?.createdAt?.lte !== void 0) {
|
543
|
-
queryArray.push("
|
543
|
+
queryArray.push("createdAt[lte]=" + PaymentListParams.createdAt.lte);
|
544
544
|
}
|
545
545
|
if (PaymentListParams.limit !== void 0) {
|
546
546
|
queryArray.push("limit=" + PaymentListParams.limit);
|
@@ -952,15 +952,10 @@ var LocationsService = class extends Service {
|
|
952
952
|
maximumConcurrentSessions: LocationUpdateParams.maximumConcurrentSessions,
|
953
953
|
surveyEnabled: LocationUpdateParams.surveyEnabled,
|
954
954
|
accountingAreaId: LocationUpdateParams.accountingAreaId,
|
955
|
-
logoLight: LocationUpdateParams.logoLight,
|
956
|
-
logoDark: LocationUpdateParams.logoDark,
|
957
|
-
location: LocationUpdateParams.location,
|
958
955
|
purposeArray: LocationUpdateParams.purposeArray,
|
959
956
|
circumstanceArray: LocationUpdateParams.circumstanceArray,
|
960
957
|
rentOfferArray: LocationUpdateParams.rentOfferArray,
|
961
|
-
reservationOfferArray: LocationUpdateParams.reservationOfferArray
|
962
|
-
iconLight: LocationUpdateParams.iconLight,
|
963
|
-
iconDark: LocationUpdateParams.iconDark
|
958
|
+
reservationOfferArray: LocationUpdateParams.reservationOfferArray
|
964
959
|
},
|
965
960
|
useAuthentication: true
|
966
961
|
},
|
@@ -1412,6 +1407,48 @@ var SimsService = class extends Service {
|
|
1412
1407
|
}
|
1413
1408
|
};
|
1414
1409
|
|
1410
|
+
// src/licenseTemplates/licenseTemplates.service.ts
|
1411
|
+
var LicenseTemplatesService = class extends Service {
|
1412
|
+
constructor(config) {
|
1413
|
+
super(config);
|
1414
|
+
}
|
1415
|
+
async list(LicenseTemplateListParams, LicenseTemplateListOptions) {
|
1416
|
+
const queryArray = [];
|
1417
|
+
if (LicenseTemplateListParams.propertyId !== void 0) {
|
1418
|
+
queryArray.push("propertyId=" + LicenseTemplateListParams.propertyId);
|
1419
|
+
}
|
1420
|
+
if (LicenseTemplateListParams.limit !== void 0) {
|
1421
|
+
queryArray.push("limit=" + LicenseTemplateListParams.limit);
|
1422
|
+
}
|
1423
|
+
if (LicenseTemplateListParams.skip !== void 0) {
|
1424
|
+
queryArray.push("skip=" + LicenseTemplateListParams.skip);
|
1425
|
+
}
|
1426
|
+
return await super.sendRequest(
|
1427
|
+
{
|
1428
|
+
method: "GET",
|
1429
|
+
url: "licenseTemplates?" + queryArray.join("&"),
|
1430
|
+
body: void 0,
|
1431
|
+
useAuthentication: true
|
1432
|
+
},
|
1433
|
+
LicenseTemplateListOptions
|
1434
|
+
);
|
1435
|
+
}
|
1436
|
+
async retrieve(LicenseTemplateRetrieveParams, LicenseTemplateRetrieveOptions) {
|
1437
|
+
const queryArray = [];
|
1438
|
+
if (LicenseTemplateRetrieveOptions?.expand !== void 0) {
|
1439
|
+
queryArray.push(
|
1440
|
+
"expand=" + LicenseTemplateRetrieveOptions.expand.join(",")
|
1441
|
+
);
|
1442
|
+
}
|
1443
|
+
return await super.sendRequest({
|
1444
|
+
method: "GET",
|
1445
|
+
url: "licenseTemplates/" + LicenseTemplateRetrieveParams.licenseTemplateId + "?" + queryArray.join("&"),
|
1446
|
+
body: void 0,
|
1447
|
+
useAuthentication: true
|
1448
|
+
});
|
1449
|
+
}
|
1450
|
+
};
|
1451
|
+
|
1415
1452
|
// src/types/types.ts
|
1416
1453
|
var LanguageCodeArray = [
|
1417
1454
|
"en",
|
@@ -1584,6 +1621,7 @@ var Juhuu = class {
|
|
1584
1621
|
this.payouts = new PayoutsService(config);
|
1585
1622
|
this.connectorMessages = new ConnectorMessagesService(config);
|
1586
1623
|
this.sims = new SimsService(config);
|
1624
|
+
this.licenseTemplates = new LicenseTemplatesService(config);
|
1587
1625
|
}
|
1588
1626
|
/**
|
1589
1627
|
* Top Level Resources
|
@@ -1606,6 +1644,7 @@ var Juhuu = class {
|
|
1606
1644
|
payouts;
|
1607
1645
|
connectorMessages;
|
1608
1646
|
sims;
|
1647
|
+
licenseTemplates;
|
1609
1648
|
};
|
1610
1649
|
var JUHUU;
|
1611
1650
|
((JUHUU2) => {
|