@juhuu/sdk-ts 1.2.45 → 1.2.46

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
@@ -74,7 +74,7 @@ type ViewportPolygon = [
74
74
  number
75
75
  ]
76
76
  ];
77
- declare const LanguageCodeArray: readonly ["en", "de", "fr", "nl", "it", "cs", "da", "es", "et", "gsw", "hr", "hu", "no", "pl", "sv"];
77
+ declare const LanguageCodeArray: readonly ["en", "de", "fr", "nl", "it", "cs", "da", "es", "et", "hr", "hu", "no", "pl", "sv"];
78
78
  type LanguageCode = (typeof LanguageCodeArray)[number];
79
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"];
80
80
  type CountryCode = (typeof CountryCodeArray)[number];
@@ -569,13 +569,15 @@ declare class SessionService extends Service {
569
569
 
570
570
  declare class LinkService extends Service {
571
571
  constructor(config: JUHUU.SetupConfig);
572
- create(): Promise<void>;
572
+ create(LinkCreateParams: JUHUU.Link.Create.Params, LinkCreateOptions?: JUHUU.Link.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Link.Create.Response>>;
573
573
  retrieve(LinkRetrieveParams: JUHUU.Link.Retrieve.Params, LinkRetrieveOptions?: JUHUU.Link.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Link.Retrieve.Response>>;
574
574
  list(LinkListParams: JUHUU.Link.List.Params, LinkListOptions?: JUHUU.Link.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Link.List.Response>>;
575
+ delete(LinkDeleteParams: JUHUU.Link.Delete.Params, LinkDeleteOptions?: JUHUU.Link.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Link.Delete.Response>>;
575
576
  }
576
577
 
577
578
  declare class UsersService extends Service {
578
579
  constructor(config: JUHUU.SetupConfig);
580
+ create(UserCreateParams: JUHUU.User.Create.Params, UserCreateOptions?: JUHUU.User.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.User.Create.Response>>;
579
581
  retrieve(UserRetrieveParams: JUHUU.User.Retrieve.Params, UserRetrieveOptions?: JUHUU.User.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.User.Retrieve.Response>>;
580
582
  exists(UserExistsParams: JUHUU.User.Exists.Params, UserExistsOptions?: JUHUU.User.Exists.Options): Promise<JUHUU.HttpResponse<JUHUU.User.Exists.Response>>;
581
583
  registerEmailPassword(UserRegisterEmailPasswordParams: JUHUU.User.RegisterEmailPassword.Params, UserRegisterEmailPasswordOptions?: JUHUU.User.RegisterEmailPassword.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RegisterEmailPassword.Response>>;
@@ -586,6 +588,7 @@ declare class UsersService extends Service {
586
588
  update(UserUpdateParams: JUHUU.User.Update.Params, UserUpdateOptions?: JUHUU.User.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.User.Update.Response>>;
587
589
  memberCreate(UserInviteMemberParams: JUHUU.User.InviteMember.Params, UserInviteMemberOptions?: JUHUU.User.InviteMember.Options): Promise<JUHUU.HttpResponse<JUHUU.User.InviteMember.Response>>;
588
590
  memberDelete(UserRemoveMemberParams: JUHUU.User.RemoveMember.Params, UserRemoveMemberOptions?: JUHUU.User.RemoveMember.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RemoveMember.Response>>;
591
+ delete(UserDeleteParams: JUHUU.User.Delete.Params, UserDeleteOptions?: JUHUU.User.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.User.Delete.Response>>;
589
592
  }
590
593
 
591
594
  declare class PaymentsService extends Service {
@@ -616,37 +619,45 @@ declare class PointsService extends Service {
616
619
 
617
620
  declare class DevicesService extends Service {
618
621
  constructor(config: JUHUU.SetupConfig);
619
- create(): Promise<void>;
622
+ create(DeviceCreateParams: JUHUU.Device.Create.Params, DeviceCreateOptions?: JUHUU.Device.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Create.Response>>;
620
623
  retrieve(DeviceRetrieveParams: JUHUU.Device.Retrieve.Params, DeviceRetrieveOptions?: JUHUU.Device.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Retrieve.Response>>;
621
624
  list(DeviceListParams: JUHUU.Device.List.Params, DeviceListOptions?: JUHUU.Device.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.List.Response>>;
622
625
  listen(DeviceRealtimeParams: JUHUU.Device.Realtime.Params, DeviceRealtimeOptions?: JUHUU.Device.Realtime.Options): JUHUU.Device.Realtime.Response;
623
626
  message(DeviceMessageParams: JUHUU.Device.Message.Params, DeviceMessageOptions?: JUHUU.Device.Message.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Message.Response>>;
624
627
  parameterUpdate(DeviceParameterParams: JUHUU.Device.ParameterUpdate.Params, DeviceParameterOptions?: JUHUU.Device.ParameterUpdate.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.ParameterUpdate.Response>>;
625
628
  commandExecute(DeviceCommandExecuteParams: JUHUU.Device.CommandExecute.Params, DeviceCommandExecuteOptions?: JUHUU.Device.CommandExecute.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.CommandExecute.Response>>;
629
+ delete(DeviceDeleteParams: JUHUU.Device.Delete.Params, DeviceDeleteOptions?: JUHUU.Device.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Delete.Response>>;
626
630
  }
627
631
 
628
632
  declare class DeviceTemplatesService extends Service {
629
633
  constructor(config: JUHUU.SetupConfig);
634
+ create(DeviceTemplateCreateParams: JUHUU.DeviceTemplate.Create.Params, DeviceTemplateCreateOptions?: JUHUU.DeviceTemplate.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.Create.Response>>;
630
635
  retrieve(DeviceTemplateRetrieveParams: JUHUU.DeviceTemplate.Retrieve.Params, DeviceTemplateRetrieveOptions?: JUHUU.DeviceTemplate.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.Retrieve.Response>>;
631
636
  list(DeviceTemplateListParams: JUHUU.DeviceTemplate.List.Params, DeviceTemplateListOptions?: JUHUU.DeviceTemplate.List.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.List.Response>>;
637
+ delete(DeviceTemplateDeleteParams: JUHUU.DeviceTemplate.Delete.Params, DeviceTemplateDeleteOptions?: JUHUU.DeviceTemplate.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.Delete.Response>>;
632
638
  }
633
639
 
634
640
  declare class LocationsService extends Service {
635
641
  constructor(config: JUHUU.SetupConfig);
642
+ create(LocationCreateParams: JUHUU.Location.Create.Params, LocationCreateOptions?: JUHUU.Location.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Location.Create.Response>>;
636
643
  retrieve(LocationRetrieveParams: JUHUU.Location.Retrieve.Params, LocationRetrieveOptions?: JUHUU.Location.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Location.Retrieve.Response>>;
637
644
  list(LocationListParams: JUHUU.Location.List.Params, LocationListOptions?: JUHUU.Location.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Location.List.Response>>;
638
645
  update(LocationUpdateParams: JUHUU.Location.Update.Params, LocationUpdateOptions?: JUHUU.Location.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Location.Update.Response>>;
646
+ delete(LocationDeleteParams: JUHUU.Location.Delete.Params, LocationDeleteOptions?: JUHUU.Location.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Location.Delete.Response>>;
639
647
  }
640
648
 
641
649
  declare class TermsService extends Service {
642
650
  constructor(config: JUHUU.SetupConfig);
651
+ create(TermCreateParams: JUHUU.Term.Create.Params, TermCreateOptions?: JUHUU.Term.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.Create.Response>>;
643
652
  retrieve(TermRetrieveParams: JUHUU.Term.Retrieve.Params, TermRetrieveOptions?: JUHUU.Term.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.Retrieve.Response>>;
644
653
  list(TermListParams: JUHUU.Term.List.Params, TermListOptions?: JUHUU.Term.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.List.Response>>;
645
654
  accept(TermAcceptParams: JUHUU.Term.Accept.Params, TermAcceptOptions?: JUHUU.Term.Accept.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.Accept.Response>>;
655
+ delete(TermDeleteParams: JUHUU.Term.Delete.Params, TermDeleteOptions?: JUHUU.Term.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.Delete.Response>>;
646
656
  }
647
657
 
648
658
  declare class TariffsService extends Service {
649
659
  constructor(config: JUHUU.SetupConfig);
660
+ create(TariffCreateParams: JUHUU.Tariff.Create.Params, TariffCreateOptions?: JUHUU.Tariff.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Tariff.Create.Response>>;
650
661
  retrieve(TariffRetrieveParams: JUHUU.Tariff.Retrieve.Params, TariffRetrieveOptions?: JUHUU.Tariff.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Tariff.Retrieve.Response>>;
651
662
  list(TariffListParams: JUHUU.Tariff.List.Params, TariffListOptions?: JUHUU.Tariff.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Tariff.List.Response>>;
652
663
  update(TariffUpdateParams: JUHUU.Tariff.Update.Params, TariffUpdateOptions?: JUHUU.Tariff.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Tariff.Update.Response>>;
@@ -667,12 +678,15 @@ declare class TariffsService extends Service {
667
678
  * Returns a date object containing the timestamp that a session would have to end at if it was created right now
668
679
  */
669
680
  getEndDate(tariff: JUHUU.Tariff.Object): Date;
681
+ delete(TariffDeleteParams: JUHUU.Tariff.Delete.Params, TariffDeleteOptions?: JUHUU.Tariff.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Tariff.Delete.Response>>;
670
682
  }
671
683
 
672
684
  declare class ProductService extends Service {
673
685
  constructor(config: JUHUU.SetupConfig);
686
+ create(ProductCreateParams: JUHUU.Product.Create.Params, ProductCreateOptions?: JUHUU.Product.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Product.Create.Response>>;
674
687
  list(ProductListParams: JUHUU.Product.List.Params, ProductListOptions?: JUHUU.Product.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Product.List.Response>>;
675
688
  retrieve(params: JUHUU.Product.Retrieve.Params, options?: JUHUU.Product.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Product.Retrieve.Response>>;
689
+ delete(ProductDeleteParams: JUHUU.Product.Delete.Params, ProductDeleteOptions?: JUHUU.Product.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Product.Delete.Response>>;
676
690
  }
677
691
 
678
692
  declare class SettingsService extends Service {
@@ -682,20 +696,26 @@ declare class SettingsService extends Service {
682
696
 
683
697
  declare class AccountingAreasService extends Service {
684
698
  constructor(config: JUHUU.SetupConfig);
699
+ create(AccountingAreaCreateParams: JUHUU.AccountingArea.Create.Params, AccountingAreaCreateOptions?: JUHUU.AccountingArea.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Create.Response>>;
685
700
  retrieve(AccountingAreaRetrieveParams: JUHUU.AccountingArea.Retrieve.Params, AccountingAreaRetrieveOptions?: JUHUU.AccountingArea.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Retrieve.Response>>;
686
701
  list(AccountingAreaListParams: JUHUU.AccountingArea.List.Params, AccountingAreaListOptions?: JUHUU.AccountingArea.List.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.List.Response>>;
702
+ delete(AccountingAreaDeleteParams: JUHUU.AccountingArea.Delete.Params, AccountingAreaDeleteOptions?: JUHUU.AccountingArea.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Delete.Response>>;
687
703
  }
688
704
 
689
705
  declare class ConnectorsService extends Service {
690
706
  constructor(config: JUHUU.SetupConfig);
707
+ create(ConnectorCreateParams: JUHUU.Connector.Create.Params, ConnectorCreateOptions?: JUHUU.Connector.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Create.Response>>;
691
708
  retrieve(ConnectorRetrieveParams: JUHUU.Connector.Retrieve.Params, ConnectorRetrieveOptions?: JUHUU.Connector.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Retrieve.Response>>;
692
709
  list(ConnectorListParams: JUHUU.Connector.List.Params, ConnectorListOptions?: JUHUU.Connector.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.List.Response>>;
710
+ delete(ConnectorDeleteParams: JUHUU.Connector.Delete.Params, ConnectorDeleteOptions?: JUHUU.Connector.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Delete.Response>>;
693
711
  }
694
712
 
695
713
  declare class PayoutsService extends Service {
696
714
  constructor(config: JUHUU.SetupConfig);
715
+ create(PayoutCreateParams: JUHUU.Payout.Create.Params, PayoutCreateOptions?: JUHUU.Payout.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.Create.Response>>;
697
716
  retrieve(PayoutRetrieveParams: JUHUU.Payout.Retrieve.Params, PayoutRetrieveOptions?: JUHUU.Payout.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.Retrieve.Response>>;
698
717
  list(PayoutListParams: JUHUU.Payout.List.Params, PayoutListOptions?: JUHUU.Payout.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.List.Response>>;
718
+ delete(PayoutDeleteParams: JUHUU.Payout.Delete.Params, PayoutDeleteOptions?: JUHUU.Payout.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.Delete.Response>>;
699
719
  }
700
720
 
701
721
  declare class ConnectorMessagesService extends Service {
@@ -706,17 +726,20 @@ declare class ConnectorMessagesService extends Service {
706
726
 
707
727
  declare class SimsService extends Service {
708
728
  constructor(config: JUHUU.SetupConfig);
709
- create(): Promise<void>;
729
+ create(SimCreateParams: JUHUU.Sim.Create.Params, SimCreateOptions?: JUHUU.Sim.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Create.Response>>;
710
730
  retrieve(SimRetrieveParams: JUHUU.Sim.Retrieve.Params, SimRetrieveOptions?: JUHUU.Sim.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Retrieve.Response>>;
711
731
  list(SimListParams: JUHUU.Sim.List.Params, SimListOptions?: JUHUU.Sim.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.List.Response>>;
712
732
  updateFromProvider(SimUpdateFromProviderParams: JUHUU.Sim.UpdateFromProvider.Params, SimUpdateFromProviderOptions?: JUHUU.Sim.UpdateFromProvider.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.UpdateFromProvider.Response>>;
733
+ delete(SimDeleteParams: JUHUU.Sim.Delete.Params, SimDeleteOptions?: JUHUU.Sim.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Delete.Response>>;
713
734
  }
714
735
 
715
736
  declare class LicenseTemplatesService extends Service {
716
737
  constructor(config: JUHUU.SetupConfig);
738
+ create(LicenseTemplateCreateParams: JUHUU.LicenseTemplate.Create.Params, LicenseTemplateCreateOptions?: JUHUU.LicenseTemplate.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.Create.Response>>;
717
739
  list(LicenseTemplateListParams: JUHUU.LicenseTemplate.List.Params, LicenseTemplateListOptions?: JUHUU.LicenseTemplate.List.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.List.Response>>;
718
740
  retrieve(LicenseTemplateRetrieveParams: JUHUU.LicenseTemplate.Retrieve.Params, LicenseTemplateRetrieveOptions?: JUHUU.LicenseTemplate.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.Retrieve.Response>>;
719
741
  regexValidate(LicenseTemplateRegexValidateParams: JUHUU.LicenseTemplate.RegexValidate.Params, LicenseTemplateRegexValidateOptions?: JUHUU.LicenseTemplate.RegexValidate.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.RegexValidate.Response>>;
742
+ delete(LicenseTemplateDeleteParams: JUHUU.LicenseTemplate.Delete.Params, LicenseTemplateDeleteOptions?: JUHUU.LicenseTemplate.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.Delete.Response>>;
720
743
  }
721
744
 
722
745
  declare class ArticlesService extends Service {
@@ -1034,6 +1057,16 @@ declare namespace JUHUU {
1034
1057
  contactPerson: Person;
1035
1058
  }
1036
1059
  export type Object = Standard | Management;
1060
+ export namespace Create {
1061
+ type Params = {
1062
+ type: string;
1063
+ name: string;
1064
+ };
1065
+ type Options = JUHUU.RequestOptions;
1066
+ type Response = {
1067
+ user: JUHUU.User.Object;
1068
+ };
1069
+ }
1037
1070
  export namespace Retrieve {
1038
1071
  type Params = {
1039
1072
  userId: string;
@@ -1148,6 +1181,13 @@ declare namespace JUHUU {
1148
1181
  user: JUHUU.User.Object;
1149
1182
  };
1150
1183
  }
1184
+ export namespace Delete {
1185
+ type Params = {
1186
+ userId?: string;
1187
+ };
1188
+ type Options = JUHUU.RequestOptions;
1189
+ type Response = JUHUU.User.Object[];
1190
+ }
1151
1191
  export { };
1152
1192
  }
1153
1193
  namespace Term {
@@ -1158,6 +1198,16 @@ declare namespace JUHUU {
1158
1198
  dsgvoUrl: string;
1159
1199
  propertyId: string;
1160
1200
  };
1201
+ namespace Create {
1202
+ type Params = {
1203
+ propertyId: string;
1204
+ name: string;
1205
+ };
1206
+ type Options = JUHUU.RequestOptions;
1207
+ type Response = {
1208
+ term: JUHUU.Term.Object;
1209
+ };
1210
+ }
1161
1211
  namespace Retrieve {
1162
1212
  type Params = {
1163
1213
  termId: string;
@@ -1187,6 +1237,13 @@ declare namespace JUHUU {
1187
1237
  term: JUHUU.Term.Object;
1188
1238
  };
1189
1239
  }
1240
+ namespace Delete {
1241
+ type Params = {
1242
+ termId?: string;
1243
+ };
1244
+ type Options = JUHUU.RequestOptions;
1245
+ type Response = JUHUU.Term.Object[];
1246
+ }
1190
1247
  }
1191
1248
  namespace AccountingArea {
1192
1249
  type Object = {
@@ -1199,6 +1256,21 @@ declare namespace JUHUU {
1199
1256
  SGTXT: string | null;
1200
1257
  ZUONR: string | null;
1201
1258
  };
1259
+ namespace Create {
1260
+ type Params = {
1261
+ propertyId: string;
1262
+ name: string;
1263
+ creditPostingRowDescription?: string;
1264
+ orderNumber?: string;
1265
+ BGTXT?: string | null;
1266
+ SGTXT?: string | null;
1267
+ ZUONR?: string | null;
1268
+ };
1269
+ type Options = JUHUU.RequestOptions;
1270
+ type Response = {
1271
+ accountingArea: JUHUU.AccountingArea.Object;
1272
+ };
1273
+ }
1202
1274
  namespace Retrieve {
1203
1275
  type Params = {
1204
1276
  accountingAreaId: string;
@@ -1218,6 +1290,13 @@ declare namespace JUHUU {
1218
1290
  type Options = JUHUU.RequestOptions;
1219
1291
  type Response = JUHUU.AccountingArea.Object[];
1220
1292
  }
1293
+ namespace Delete {
1294
+ type Params = {
1295
+ accountingAreaId?: string;
1296
+ };
1297
+ type Options = JUHUU.RequestOptions;
1298
+ type Response = JUHUU.AccountingArea.Object[];
1299
+ }
1221
1300
  }
1222
1301
  namespace ArticleEmbedding {
1223
1302
  type Object = {
@@ -1485,6 +1564,20 @@ declare namespace JUHUU {
1485
1564
  serviceFeeMin: number;
1486
1565
  serviceFeeMax: number;
1487
1566
  };
1567
+ namespace Create {
1568
+ type Params = {
1569
+ propertyId: string;
1570
+ duration?: string;
1571
+ name?: string;
1572
+ amount?: number[];
1573
+ continue?: number;
1574
+ currencyCode?: string;
1575
+ };
1576
+ type Options = JUHUU.RequestOptions;
1577
+ type Response = {
1578
+ tariff: JUHUU.Tariff.Object;
1579
+ };
1580
+ }
1488
1581
  namespace Retrieve {
1489
1582
  type Params = {
1490
1583
  tariffId: string;
@@ -1524,6 +1617,13 @@ declare namespace JUHUU {
1524
1617
  tariff: JUHUU.Tariff.Object;
1525
1618
  };
1526
1619
  }
1620
+ namespace Delete {
1621
+ type Params = {
1622
+ tariffId?: string;
1623
+ };
1624
+ type Options = JUHUU.RequestOptions;
1625
+ type Response = JUHUU.Tariff.Object[];
1626
+ }
1527
1627
  }
1528
1628
  namespace Survey {
1529
1629
  type Object = {
@@ -1553,6 +1653,18 @@ declare namespace JUHUU {
1553
1653
  type: "automatic";
1554
1654
  }
1555
1655
  export type Object = AutomaticLicenseTemplate | RegexLicenseTemplate;
1656
+ export namespace Create {
1657
+ type Params = {
1658
+ propertyId: string;
1659
+ name?: LocaleString;
1660
+ type: string;
1661
+ regex?: string;
1662
+ };
1663
+ type Options = JUHUU.RequestOptions;
1664
+ type Response = {
1665
+ licenseTemplate: JUHUU.LicenseTemplate.Object;
1666
+ };
1667
+ }
1556
1668
  export namespace Retrieve {
1557
1669
  type Params = {
1558
1670
  licenseTemplateId: string;
@@ -1587,6 +1699,13 @@ declare namespace JUHUU {
1587
1699
  licenseTemplate: JUHUU.LicenseTemplate.Object;
1588
1700
  };
1589
1701
  }
1702
+ export namespace Delete {
1703
+ type Params = {
1704
+ licenseTemplateId?: string;
1705
+ };
1706
+ type Options = JUHUU.RequestOptions;
1707
+ type Response = JUHUU.LicenseTemplate.Object[];
1708
+ }
1590
1709
  export { };
1591
1710
  }
1592
1711
  namespace Property {
@@ -1762,6 +1881,15 @@ declare namespace JUHUU {
1762
1881
  creditNotePdfId: string;
1763
1882
  stripeConnectedAccountId: string;
1764
1883
  };
1884
+ namespace Create {
1885
+ type Params = {
1886
+ propertyId: string;
1887
+ };
1888
+ type Options = JUHUU.RequestOptions;
1889
+ type Response = {
1890
+ payout: JUHUU.Payout.Object;
1891
+ };
1892
+ }
1765
1893
  namespace Retrieve {
1766
1894
  type Params = {
1767
1895
  payoutId: string;
@@ -1781,6 +1909,13 @@ declare namespace JUHUU {
1781
1909
  type Options = JUHUU.RequestOptions;
1782
1910
  type Response = JUHUU.Payout.Object[];
1783
1911
  }
1912
+ namespace Delete {
1913
+ type Params = {
1914
+ payoutId?: string;
1915
+ };
1916
+ type Options = JUHUU.RequestOptions;
1917
+ type Response = JUHUU.Payout.Object[];
1918
+ }
1784
1919
  }
1785
1920
  namespace Payment {
1786
1921
  type Object = {
@@ -1918,6 +2053,17 @@ declare namespace JUHUU {
1918
2053
  useableDeviceGroupLocationId: string | null;
1919
2054
  }
1920
2055
  export type Object = RentableDeviceGroup | RentableDevice | UseableDevice;
2056
+ export namespace Create {
2057
+ type Params = {
2058
+ propertyId: string;
2059
+ name: string;
2060
+ type: string;
2061
+ };
2062
+ type Options = JUHUU.RequestOptions;
2063
+ type Response = {
2064
+ location: JUHUU.Location.Object;
2065
+ };
2066
+ }
1921
2067
  export namespace Retrieve {
1922
2068
  type Params = {
1923
2069
  locationId: string;
@@ -1961,6 +2107,13 @@ declare namespace JUHUU {
1961
2107
  location: JUHUU.Location.Object;
1962
2108
  };
1963
2109
  }
2110
+ export namespace Delete {
2111
+ type Params = {
2112
+ locationId?: string;
2113
+ };
2114
+ type Options = JUHUU.RequestOptions;
2115
+ type Response = JUHUU.Location.Object[];
2116
+ }
1964
2117
  export { };
1965
2118
  }
1966
2119
  namespace Product {
@@ -1999,6 +2152,16 @@ declare namespace JUHUU {
1999
2152
  downloadUrl: string;
2000
2153
  }
2001
2154
  type Object = PhysicalProduct | DigitalProduct;
2155
+ namespace Create {
2156
+ type Params = {
2157
+ propertyId: string;
2158
+ name: string;
2159
+ };
2160
+ type Options = JUHUU.RequestOptions;
2161
+ type Response = {
2162
+ product: JUHUU.Product.Object;
2163
+ };
2164
+ }
2002
2165
  namespace Retrieve {
2003
2166
  type Params = {
2004
2167
  productId: string;
@@ -2021,6 +2184,13 @@ declare namespace JUHUU {
2021
2184
  type Options = JUHUU.RequestOptions;
2022
2185
  type Response = Product.Object[];
2023
2186
  }
2187
+ namespace Delete {
2188
+ type Params = {
2189
+ productId?: string;
2190
+ };
2191
+ type Options = JUHUU.RequestOptions;
2192
+ type Response = JUHUU.Product.Object[];
2193
+ }
2024
2194
  }
2025
2195
  namespace Link {
2026
2196
  type Base = {
@@ -2036,13 +2206,24 @@ declare namespace JUHUU {
2036
2206
  fiveLetterQr: string;
2037
2207
  }
2038
2208
  export type Object = FiveLetterQr;
2209
+ export namespace Create {
2210
+ type Params = {
2211
+ propertyId: string;
2212
+ name: string;
2213
+ fiveLetterQr: string;
2214
+ };
2215
+ type Options = JUHUU.RequestOptions;
2216
+ type Response = {
2217
+ link: JUHUU.Link.Object;
2218
+ };
2219
+ }
2039
2220
  export namespace Retrieve {
2040
2221
  type Params = {
2041
2222
  linkId: string;
2042
2223
  };
2043
2224
  type Options = {
2044
2225
  expand: Array<"property">;
2045
- };
2226
+ } & JUHUU.RequestOptions;
2046
2227
  type Response = {
2047
2228
  link: JUHUU.Link.Object;
2048
2229
  property?: JUHUU.Property.Object;
@@ -2056,6 +2237,13 @@ declare namespace JUHUU {
2056
2237
  type Options = {};
2057
2238
  type Response = JUHUU.Link.Object[];
2058
2239
  }
2240
+ export namespace Delete {
2241
+ type Params = {
2242
+ linkId?: string;
2243
+ };
2244
+ type Options = JUHUU.RequestOptions;
2245
+ type Response = JUHUU.Link.Object[];
2246
+ }
2059
2247
  export { };
2060
2248
  }
2061
2249
  namespace License {
@@ -2088,6 +2276,17 @@ declare namespace JUHUU {
2088
2276
  connectorId: string | null;
2089
2277
  connectorParameter: string | null;
2090
2278
  };
2279
+ namespace Create {
2280
+ type Params = {
2281
+ propertyId: string;
2282
+ name: string;
2283
+ deviceTemplateId: string;
2284
+ };
2285
+ type Options = JUHUU.RequestOptions;
2286
+ type Response = {
2287
+ device: JUHUU.Device.Object;
2288
+ };
2289
+ }
2091
2290
  namespace Retrieve {
2092
2291
  type Params = {
2093
2292
  deviceId: string;
@@ -2163,6 +2362,13 @@ declare namespace JUHUU {
2163
2362
  device: JUHUU.Device.Object;
2164
2363
  };
2165
2364
  }
2365
+ namespace Delete {
2366
+ type Params = {
2367
+ deviceId?: string;
2368
+ };
2369
+ type Options = JUHUU.RequestOptions;
2370
+ type Response = JUHUU.Device.Object[];
2371
+ }
2166
2372
  }
2167
2373
  namespace Connector {
2168
2374
  type Base = {
@@ -2178,6 +2384,27 @@ declare namespace JUHUU {
2178
2384
  version: number;
2179
2385
  simId: string | null;
2180
2386
  };
2387
+ export namespace Create {
2388
+ type Params = {
2389
+ propertyId: string;
2390
+ name: string;
2391
+ username?: string;
2392
+ password?: string;
2393
+ clientId?: string;
2394
+ host?: string;
2395
+ port?: number;
2396
+ mqttRetain?: boolean;
2397
+ mqttQos?: "0" | "1" | "2";
2398
+ description?: string;
2399
+ simId?: string;
2400
+ connectionMode?: "alwaysOnline" | "temporaryOnline";
2401
+ type: ["type"];
2402
+ };
2403
+ type Options = JUHUU.RequestOptions;
2404
+ type Response = {
2405
+ connector: JUHUU.Connector.Object;
2406
+ };
2407
+ }
2181
2408
  export interface Mqtt extends Base {
2182
2409
  type: "mqtt";
2183
2410
  username: string;
@@ -2208,6 +2435,13 @@ declare namespace JUHUU {
2208
2435
  type Options = JUHUU.RequestOptions;
2209
2436
  type Response = JUHUU.Connector.Object[];
2210
2437
  }
2438
+ export namespace Delete {
2439
+ type Params = {
2440
+ connectorId?: string;
2441
+ };
2442
+ type Options = JUHUU.RequestOptions;
2443
+ type Response = JUHUU.Connector.Object[];
2444
+ }
2211
2445
  export { };
2212
2446
  }
2213
2447
  namespace DeviceTemplate {
@@ -2231,6 +2465,17 @@ declare namespace JUHUU {
2231
2465
  deviceImageLight: string;
2232
2466
  callToAction: LocaleString;
2233
2467
  };
2468
+ namespace Create {
2469
+ type Params = {
2470
+ propertyId: string;
2471
+ name: string;
2472
+ productId: string;
2473
+ };
2474
+ type Options = JUHUU.RequestOptions;
2475
+ type Response = {
2476
+ deviceTemplate: JUHUU.DeviceTemplate.Object;
2477
+ };
2478
+ }
2234
2479
  namespace Retrieve {
2235
2480
  type Params = {
2236
2481
  deviceTemplateId: string;
@@ -2248,6 +2493,13 @@ declare namespace JUHUU {
2248
2493
  type Options = JUHUU.RequestOptions;
2249
2494
  type Response = JUHUU.DeviceTemplate.Object[];
2250
2495
  }
2496
+ namespace Delete {
2497
+ type Params = {
2498
+ deviceTemplateId?: string;
2499
+ };
2500
+ type Options = JUHUU.RequestOptions;
2501
+ type Response = JUHUU.DeviceTemplate.Object[];
2502
+ }
2251
2503
  }
2252
2504
  namespace Sim {
2253
2505
  type Object = {
@@ -2267,6 +2519,17 @@ declare namespace JUHUU {
2267
2519
  providerUsername: string | null;
2268
2520
  providerPassword: string | null;
2269
2521
  };
2522
+ namespace Create {
2523
+ type Params = {
2524
+ propertyId: string;
2525
+ iccid: string;
2526
+ name?: string;
2527
+ };
2528
+ type Options = JUHUU.RequestOptions;
2529
+ type Response = {
2530
+ payout: JUHUU.Sim.Object;
2531
+ };
2532
+ }
2270
2533
  namespace Retrieve {
2271
2534
  type Params = {
2272
2535
  simId: string;
@@ -2292,6 +2555,13 @@ declare namespace JUHUU {
2292
2555
  sim: JUHUU.Sim.Object;
2293
2556
  };
2294
2557
  }
2558
+ namespace Delete {
2559
+ type Params = {
2560
+ simId?: string;
2561
+ };
2562
+ type Options = JUHUU.RequestOptions;
2563
+ type Response = JUHUU.Sim.Object[];
2564
+ }
2295
2565
  }
2296
2566
  namespace ConnectorMessage {
2297
2567
  type Object = {