@juhuu/sdk-ts 1.2.14 → 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 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;
@@ -1435,6 +1484,12 @@ declare namespace JUHUU {
1435
1484
  propertyId?: string;
1436
1485
  userId?: string;
1437
1486
  statusArray?: JUHUU.Payment.Object["status"][];
1487
+ createdAt?: {
1488
+ gte?: number;
1489
+ lte?: number;
1490
+ };
1491
+ limit?: number;
1492
+ skip?: number;
1438
1493
  };
1439
1494
  type Options = JUHUU.RequestOptions;
1440
1495
  type Response = JUHUU.Payment.Object[];
@@ -1542,15 +1597,12 @@ declare namespace JUHUU {
1542
1597
  maximumConcurrentSessions?: number;
1543
1598
  surveyEnabled?: boolean;
1544
1599
  accountingAreaId?: string;
1545
- logoLight?: string | null;
1546
- logoDark?: string | null;
1547
- location?: GeoPoint;
1600
+ latitude?: number;
1601
+ longitude?: number;
1548
1602
  purposeArray?: Purpose[];
1549
1603
  circumstanceArray?: Circumstance[];
1550
1604
  rentOfferArray?: Offer[];
1551
1605
  reservationOfferArray?: Offer[];
1552
- iconLight?: string | null;
1553
- iconDark?: string | null;
1554
1606
  };
1555
1607
  type Options = JUHUU.RequestOptions;
1556
1608
  type Response = {
@@ -1915,4 +1967,4 @@ declare namespace JUHUU {
1915
1967
  }
1916
1968
  }
1917
1969
 
1918
- 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 ServiceMonth, 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 };
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;
@@ -1435,6 +1484,12 @@ declare namespace JUHUU {
1435
1484
  propertyId?: string;
1436
1485
  userId?: string;
1437
1486
  statusArray?: JUHUU.Payment.Object["status"][];
1487
+ createdAt?: {
1488
+ gte?: number;
1489
+ lte?: number;
1490
+ };
1491
+ limit?: number;
1492
+ skip?: number;
1438
1493
  };
1439
1494
  type Options = JUHUU.RequestOptions;
1440
1495
  type Response = JUHUU.Payment.Object[];
@@ -1542,15 +1597,12 @@ declare namespace JUHUU {
1542
1597
  maximumConcurrentSessions?: number;
1543
1598
  surveyEnabled?: boolean;
1544
1599
  accountingAreaId?: string;
1545
- logoLight?: string | null;
1546
- logoDark?: string | null;
1547
- location?: GeoPoint;
1600
+ latitude?: number;
1601
+ longitude?: number;
1548
1602
  purposeArray?: Purpose[];
1549
1603
  circumstanceArray?: Circumstance[];
1550
1604
  rentOfferArray?: Offer[];
1551
1605
  reservationOfferArray?: Offer[];
1552
- iconLight?: string | null;
1553
- iconDark?: string | null;
1554
1606
  };
1555
1607
  type Options = JUHUU.RequestOptions;
1556
1608
  type Response = {
@@ -1915,4 +1967,4 @@ declare namespace JUHUU {
1915
1967
  }
1916
1968
  }
1917
1969
 
1918
- 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 ServiceMonth, 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 };
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
@@ -581,6 +581,18 @@ var PaymentsService = class extends Service {
581
581
  if (PaymentListParams.statusArray !== void 0) {
582
582
  queryArray.push("statusArray=" + PaymentListParams.statusArray.join(","));
583
583
  }
584
+ if (PaymentListParams?.createdAt?.gte !== void 0) {
585
+ queryArray.push("createdAt[gte]=" + PaymentListParams.createdAt.gte);
586
+ }
587
+ if (PaymentListParams?.createdAt?.lte !== void 0) {
588
+ queryArray.push("createdAt[lte]=" + PaymentListParams.createdAt.lte);
589
+ }
590
+ if (PaymentListParams.limit !== void 0) {
591
+ queryArray.push("limit=" + PaymentListParams.limit);
592
+ }
593
+ if (PaymentListParams.skip !== void 0) {
594
+ queryArray.push("skip=" + PaymentListParams.skip);
595
+ }
584
596
  return await super.sendRequest(
585
597
  {
586
598
  method: "GET",
@@ -985,15 +997,10 @@ var LocationsService = class extends Service {
985
997
  maximumConcurrentSessions: LocationUpdateParams.maximumConcurrentSessions,
986
998
  surveyEnabled: LocationUpdateParams.surveyEnabled,
987
999
  accountingAreaId: LocationUpdateParams.accountingAreaId,
988
- logoLight: LocationUpdateParams.logoLight,
989
- logoDark: LocationUpdateParams.logoDark,
990
- location: LocationUpdateParams.location,
991
1000
  purposeArray: LocationUpdateParams.purposeArray,
992
1001
  circumstanceArray: LocationUpdateParams.circumstanceArray,
993
1002
  rentOfferArray: LocationUpdateParams.rentOfferArray,
994
- reservationOfferArray: LocationUpdateParams.reservationOfferArray,
995
- iconLight: LocationUpdateParams.iconLight,
996
- iconDark: LocationUpdateParams.iconDark
1003
+ reservationOfferArray: LocationUpdateParams.reservationOfferArray
997
1004
  },
998
1005
  useAuthentication: true
999
1006
  },
@@ -1445,6 +1452,48 @@ var SimsService = class extends Service {
1445
1452
  }
1446
1453
  };
1447
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
+
1448
1497
  // src/types/types.ts
1449
1498
  var LanguageCodeArray = [
1450
1499
  "en",
@@ -1617,6 +1666,7 @@ var Juhuu = class {
1617
1666
  this.payouts = new PayoutsService(config);
1618
1667
  this.connectorMessages = new ConnectorMessagesService(config);
1619
1668
  this.sims = new SimsService(config);
1669
+ this.licenseTemplates = new LicenseTemplatesService(config);
1620
1670
  }
1621
1671
  /**
1622
1672
  * Top Level Resources
@@ -1639,6 +1689,7 @@ var Juhuu = class {
1639
1689
  payouts;
1640
1690
  connectorMessages;
1641
1691
  sims;
1692
+ licenseTemplates;
1642
1693
  };
1643
1694
  var JUHUU;
1644
1695
  ((JUHUU2) => {
package/dist/index.mjs CHANGED
@@ -536,6 +536,18 @@ var PaymentsService = class extends Service {
536
536
  if (PaymentListParams.statusArray !== void 0) {
537
537
  queryArray.push("statusArray=" + PaymentListParams.statusArray.join(","));
538
538
  }
539
+ if (PaymentListParams?.createdAt?.gte !== void 0) {
540
+ queryArray.push("createdAt[gte]=" + PaymentListParams.createdAt.gte);
541
+ }
542
+ if (PaymentListParams?.createdAt?.lte !== void 0) {
543
+ queryArray.push("createdAt[lte]=" + PaymentListParams.createdAt.lte);
544
+ }
545
+ if (PaymentListParams.limit !== void 0) {
546
+ queryArray.push("limit=" + PaymentListParams.limit);
547
+ }
548
+ if (PaymentListParams.skip !== void 0) {
549
+ queryArray.push("skip=" + PaymentListParams.skip);
550
+ }
539
551
  return await super.sendRequest(
540
552
  {
541
553
  method: "GET",
@@ -940,15 +952,10 @@ var LocationsService = class extends Service {
940
952
  maximumConcurrentSessions: LocationUpdateParams.maximumConcurrentSessions,
941
953
  surveyEnabled: LocationUpdateParams.surveyEnabled,
942
954
  accountingAreaId: LocationUpdateParams.accountingAreaId,
943
- logoLight: LocationUpdateParams.logoLight,
944
- logoDark: LocationUpdateParams.logoDark,
945
- location: LocationUpdateParams.location,
946
955
  purposeArray: LocationUpdateParams.purposeArray,
947
956
  circumstanceArray: LocationUpdateParams.circumstanceArray,
948
957
  rentOfferArray: LocationUpdateParams.rentOfferArray,
949
- reservationOfferArray: LocationUpdateParams.reservationOfferArray,
950
- iconLight: LocationUpdateParams.iconLight,
951
- iconDark: LocationUpdateParams.iconDark
958
+ reservationOfferArray: LocationUpdateParams.reservationOfferArray
952
959
  },
953
960
  useAuthentication: true
954
961
  },
@@ -1400,6 +1407,48 @@ var SimsService = class extends Service {
1400
1407
  }
1401
1408
  };
1402
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
+
1403
1452
  // src/types/types.ts
1404
1453
  var LanguageCodeArray = [
1405
1454
  "en",
@@ -1572,6 +1621,7 @@ var Juhuu = class {
1572
1621
  this.payouts = new PayoutsService(config);
1573
1622
  this.connectorMessages = new ConnectorMessagesService(config);
1574
1623
  this.sims = new SimsService(config);
1624
+ this.licenseTemplates = new LicenseTemplatesService(config);
1575
1625
  }
1576
1626
  /**
1577
1627
  * Top Level Resources
@@ -1594,6 +1644,7 @@ var Juhuu = class {
1594
1644
  payouts;
1595
1645
  connectorMessages;
1596
1646
  sims;
1647
+ licenseTemplates;
1597
1648
  };
1598
1649
  var JUHUU;
1599
1650
  ((JUHUU2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.14",
3
+ "version": "1.2.16",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",