@juhuu/sdk-ts 1.2.45 → 1.2.47
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 +243 -7
- package/dist/index.d.ts +243 -7
- package/dist/index.js +314 -11
- package/dist/index.mjs +314 -11
- package/package.json +1 -1
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", "
|
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,9 +569,10 @@ declare class SessionService extends Service {
|
|
569
569
|
|
570
570
|
declare class LinkService extends Service {
|
571
571
|
constructor(config: JUHUU.SetupConfig);
|
572
|
-
create(): Promise<
|
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 {
|
@@ -586,6 +587,7 @@ declare class UsersService extends Service {
|
|
586
587
|
update(UserUpdateParams: JUHUU.User.Update.Params, UserUpdateOptions?: JUHUU.User.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.User.Update.Response>>;
|
587
588
|
memberCreate(UserInviteMemberParams: JUHUU.User.InviteMember.Params, UserInviteMemberOptions?: JUHUU.User.InviteMember.Options): Promise<JUHUU.HttpResponse<JUHUU.User.InviteMember.Response>>;
|
588
589
|
memberDelete(UserRemoveMemberParams: JUHUU.User.RemoveMember.Params, UserRemoveMemberOptions?: JUHUU.User.RemoveMember.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RemoveMember.Response>>;
|
590
|
+
delete(UserDeleteParams: JUHUU.User.Delete.Params, UserDeleteOptions?: JUHUU.User.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.User.Delete.Response>>;
|
589
591
|
}
|
590
592
|
|
591
593
|
declare class PaymentsService extends Service {
|
@@ -616,37 +618,45 @@ declare class PointsService extends Service {
|
|
616
618
|
|
617
619
|
declare class DevicesService extends Service {
|
618
620
|
constructor(config: JUHUU.SetupConfig);
|
619
|
-
create(): Promise<
|
621
|
+
create(DeviceCreateParams: JUHUU.Device.Create.Params, DeviceCreateOptions?: JUHUU.Device.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Create.Response>>;
|
620
622
|
retrieve(DeviceRetrieveParams: JUHUU.Device.Retrieve.Params, DeviceRetrieveOptions?: JUHUU.Device.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Retrieve.Response>>;
|
621
623
|
list(DeviceListParams: JUHUU.Device.List.Params, DeviceListOptions?: JUHUU.Device.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.List.Response>>;
|
622
624
|
listen(DeviceRealtimeParams: JUHUU.Device.Realtime.Params, DeviceRealtimeOptions?: JUHUU.Device.Realtime.Options): JUHUU.Device.Realtime.Response;
|
623
625
|
message(DeviceMessageParams: JUHUU.Device.Message.Params, DeviceMessageOptions?: JUHUU.Device.Message.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Message.Response>>;
|
624
626
|
parameterUpdate(DeviceParameterParams: JUHUU.Device.ParameterUpdate.Params, DeviceParameterOptions?: JUHUU.Device.ParameterUpdate.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.ParameterUpdate.Response>>;
|
625
627
|
commandExecute(DeviceCommandExecuteParams: JUHUU.Device.CommandExecute.Params, DeviceCommandExecuteOptions?: JUHUU.Device.CommandExecute.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.CommandExecute.Response>>;
|
628
|
+
delete(DeviceDeleteParams: JUHUU.Device.Delete.Params, DeviceDeleteOptions?: JUHUU.Device.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Delete.Response>>;
|
626
629
|
}
|
627
630
|
|
628
631
|
declare class DeviceTemplatesService extends Service {
|
629
632
|
constructor(config: JUHUU.SetupConfig);
|
633
|
+
create(DeviceTemplateCreateParams: JUHUU.DeviceTemplate.Create.Params, DeviceTemplateCreateOptions?: JUHUU.DeviceTemplate.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.Create.Response>>;
|
630
634
|
retrieve(DeviceTemplateRetrieveParams: JUHUU.DeviceTemplate.Retrieve.Params, DeviceTemplateRetrieveOptions?: JUHUU.DeviceTemplate.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.Retrieve.Response>>;
|
631
635
|
list(DeviceTemplateListParams: JUHUU.DeviceTemplate.List.Params, DeviceTemplateListOptions?: JUHUU.DeviceTemplate.List.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.List.Response>>;
|
636
|
+
delete(DeviceTemplateDeleteParams: JUHUU.DeviceTemplate.Delete.Params, DeviceTemplateDeleteOptions?: JUHUU.DeviceTemplate.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceTemplate.Delete.Response>>;
|
632
637
|
}
|
633
638
|
|
634
639
|
declare class LocationsService extends Service {
|
635
640
|
constructor(config: JUHUU.SetupConfig);
|
641
|
+
create(LocationCreateParams: JUHUU.Location.Create.Params, LocationCreateOptions?: JUHUU.Location.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Location.Create.Response>>;
|
636
642
|
retrieve(LocationRetrieveParams: JUHUU.Location.Retrieve.Params, LocationRetrieveOptions?: JUHUU.Location.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Location.Retrieve.Response>>;
|
637
643
|
list(LocationListParams: JUHUU.Location.List.Params, LocationListOptions?: JUHUU.Location.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Location.List.Response>>;
|
638
644
|
update(LocationUpdateParams: JUHUU.Location.Update.Params, LocationUpdateOptions?: JUHUU.Location.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Location.Update.Response>>;
|
645
|
+
delete(LocationDeleteParams: JUHUU.Location.Delete.Params, LocationDeleteOptions?: JUHUU.Location.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Location.Delete.Response>>;
|
639
646
|
}
|
640
647
|
|
641
648
|
declare class TermsService extends Service {
|
642
649
|
constructor(config: JUHUU.SetupConfig);
|
650
|
+
create(TermCreateParams: JUHUU.Term.Create.Params, TermCreateOptions?: JUHUU.Term.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.Create.Response>>;
|
643
651
|
retrieve(TermRetrieveParams: JUHUU.Term.Retrieve.Params, TermRetrieveOptions?: JUHUU.Term.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.Retrieve.Response>>;
|
644
652
|
list(TermListParams: JUHUU.Term.List.Params, TermListOptions?: JUHUU.Term.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.List.Response>>;
|
645
653
|
accept(TermAcceptParams: JUHUU.Term.Accept.Params, TermAcceptOptions?: JUHUU.Term.Accept.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.Accept.Response>>;
|
654
|
+
delete(TermDeleteParams: JUHUU.Term.Delete.Params, TermDeleteOptions?: JUHUU.Term.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.Delete.Response>>;
|
646
655
|
}
|
647
656
|
|
648
657
|
declare class TariffsService extends Service {
|
649
658
|
constructor(config: JUHUU.SetupConfig);
|
659
|
+
create(TariffCreateParams: JUHUU.Tariff.Create.Params, TariffCreateOptions?: JUHUU.Tariff.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Tariff.Create.Response>>;
|
650
660
|
retrieve(TariffRetrieveParams: JUHUU.Tariff.Retrieve.Params, TariffRetrieveOptions?: JUHUU.Tariff.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Tariff.Retrieve.Response>>;
|
651
661
|
list(TariffListParams: JUHUU.Tariff.List.Params, TariffListOptions?: JUHUU.Tariff.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Tariff.List.Response>>;
|
652
662
|
update(TariffUpdateParams: JUHUU.Tariff.Update.Params, TariffUpdateOptions?: JUHUU.Tariff.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Tariff.Update.Response>>;
|
@@ -667,12 +677,15 @@ declare class TariffsService extends Service {
|
|
667
677
|
* Returns a date object containing the timestamp that a session would have to end at if it was created right now
|
668
678
|
*/
|
669
679
|
getEndDate(tariff: JUHUU.Tariff.Object): Date;
|
680
|
+
delete(TariffDeleteParams: JUHUU.Tariff.Delete.Params, TariffDeleteOptions?: JUHUU.Tariff.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Tariff.Delete.Response>>;
|
670
681
|
}
|
671
682
|
|
672
683
|
declare class ProductService extends Service {
|
673
684
|
constructor(config: JUHUU.SetupConfig);
|
685
|
+
create(ProductCreateParams: JUHUU.Product.Create.Params, ProductCreateOptions?: JUHUU.Product.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Product.Create.Response>>;
|
674
686
|
list(ProductListParams: JUHUU.Product.List.Params, ProductListOptions?: JUHUU.Product.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Product.List.Response>>;
|
675
687
|
retrieve(params: JUHUU.Product.Retrieve.Params, options?: JUHUU.Product.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Product.Retrieve.Response>>;
|
688
|
+
delete(ProductDeleteParams: JUHUU.Product.Delete.Params, ProductDeleteOptions?: JUHUU.Product.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Product.Delete.Response>>;
|
676
689
|
}
|
677
690
|
|
678
691
|
declare class SettingsService extends Service {
|
@@ -682,14 +695,18 @@ declare class SettingsService extends Service {
|
|
682
695
|
|
683
696
|
declare class AccountingAreasService extends Service {
|
684
697
|
constructor(config: JUHUU.SetupConfig);
|
698
|
+
create(AccountingAreaCreateParams: JUHUU.AccountingArea.Create.Params, AccountingAreaCreateOptions?: JUHUU.AccountingArea.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Create.Response>>;
|
685
699
|
retrieve(AccountingAreaRetrieveParams: JUHUU.AccountingArea.Retrieve.Params, AccountingAreaRetrieveOptions?: JUHUU.AccountingArea.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Retrieve.Response>>;
|
686
700
|
list(AccountingAreaListParams: JUHUU.AccountingArea.List.Params, AccountingAreaListOptions?: JUHUU.AccountingArea.List.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.List.Response>>;
|
701
|
+
delete(AccountingAreaDeleteParams: JUHUU.AccountingArea.Delete.Params, AccountingAreaDeleteOptions?: JUHUU.AccountingArea.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Delete.Response>>;
|
687
702
|
}
|
688
703
|
|
689
704
|
declare class ConnectorsService extends Service {
|
690
705
|
constructor(config: JUHUU.SetupConfig);
|
706
|
+
create(ConnectorCreateParams: JUHUU.Connector.Create.Params, ConnectorCreateOptions?: JUHUU.Connector.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Create.Response>>;
|
691
707
|
retrieve(ConnectorRetrieveParams: JUHUU.Connector.Retrieve.Params, ConnectorRetrieveOptions?: JUHUU.Connector.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Retrieve.Response>>;
|
692
708
|
list(ConnectorListParams: JUHUU.Connector.List.Params, ConnectorListOptions?: JUHUU.Connector.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.List.Response>>;
|
709
|
+
delete(ConnectorDeleteParams: JUHUU.Connector.Delete.Params, ConnectorDeleteOptions?: JUHUU.Connector.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Delete.Response>>;
|
693
710
|
}
|
694
711
|
|
695
712
|
declare class PayoutsService extends Service {
|
@@ -706,17 +723,20 @@ declare class ConnectorMessagesService extends Service {
|
|
706
723
|
|
707
724
|
declare class SimsService extends Service {
|
708
725
|
constructor(config: JUHUU.SetupConfig);
|
709
|
-
create(): Promise<
|
726
|
+
create(SimCreateParams: JUHUU.Sim.Create.Params, SimCreateOptions?: JUHUU.Sim.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Create.Response>>;
|
710
727
|
retrieve(SimRetrieveParams: JUHUU.Sim.Retrieve.Params, SimRetrieveOptions?: JUHUU.Sim.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Retrieve.Response>>;
|
711
728
|
list(SimListParams: JUHUU.Sim.List.Params, SimListOptions?: JUHUU.Sim.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.List.Response>>;
|
712
729
|
updateFromProvider(SimUpdateFromProviderParams: JUHUU.Sim.UpdateFromProvider.Params, SimUpdateFromProviderOptions?: JUHUU.Sim.UpdateFromProvider.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.UpdateFromProvider.Response>>;
|
730
|
+
delete(SimDeleteParams: JUHUU.Sim.Delete.Params, SimDeleteOptions?: JUHUU.Sim.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Delete.Response>>;
|
713
731
|
}
|
714
732
|
|
715
733
|
declare class LicenseTemplatesService extends Service {
|
716
734
|
constructor(config: JUHUU.SetupConfig);
|
735
|
+
create(LicenseTemplateCreateParams: JUHUU.LicenseTemplate.Create.Params, LicenseTemplateCreateOptions?: JUHUU.LicenseTemplate.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.Create.Response>>;
|
717
736
|
list(LicenseTemplateListParams: JUHUU.LicenseTemplate.List.Params, LicenseTemplateListOptions?: JUHUU.LicenseTemplate.List.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.List.Response>>;
|
718
737
|
retrieve(LicenseTemplateRetrieveParams: JUHUU.LicenseTemplate.Retrieve.Params, LicenseTemplateRetrieveOptions?: JUHUU.LicenseTemplate.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.Retrieve.Response>>;
|
719
738
|
regexValidate(LicenseTemplateRegexValidateParams: JUHUU.LicenseTemplate.RegexValidate.Params, LicenseTemplateRegexValidateOptions?: JUHUU.LicenseTemplate.RegexValidate.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.RegexValidate.Response>>;
|
739
|
+
delete(LicenseTemplateDeleteParams: JUHUU.LicenseTemplate.Delete.Params, LicenseTemplateDeleteOptions?: JUHUU.LicenseTemplate.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.Delete.Response>>;
|
720
740
|
}
|
721
741
|
|
722
742
|
declare class ArticlesService extends Service {
|
@@ -934,8 +954,8 @@ declare namespace JUHUU {
|
|
934
954
|
locationGroupId?: string;
|
935
955
|
};
|
936
956
|
type Options = {
|
937
|
-
limit
|
938
|
-
skip
|
957
|
+
limit?: number;
|
958
|
+
skip?: number;
|
939
959
|
} & JUHUU.RequestOptions;
|
940
960
|
type Response = JUHUU.Session.Object[];
|
941
961
|
}
|
@@ -1148,6 +1168,13 @@ declare namespace JUHUU {
|
|
1148
1168
|
user: JUHUU.User.Object;
|
1149
1169
|
};
|
1150
1170
|
}
|
1171
|
+
export namespace Delete {
|
1172
|
+
type Params = {
|
1173
|
+
userId?: string;
|
1174
|
+
};
|
1175
|
+
type Options = JUHUU.RequestOptions;
|
1176
|
+
type Response = JUHUU.User.Object[];
|
1177
|
+
}
|
1151
1178
|
export { };
|
1152
1179
|
}
|
1153
1180
|
namespace Term {
|
@@ -1158,6 +1185,16 @@ declare namespace JUHUU {
|
|
1158
1185
|
dsgvoUrl: string;
|
1159
1186
|
propertyId: string;
|
1160
1187
|
};
|
1188
|
+
namespace Create {
|
1189
|
+
type Params = {
|
1190
|
+
propertyId: string;
|
1191
|
+
name: string;
|
1192
|
+
};
|
1193
|
+
type Options = JUHUU.RequestOptions;
|
1194
|
+
type Response = {
|
1195
|
+
term: JUHUU.Term.Object;
|
1196
|
+
};
|
1197
|
+
}
|
1161
1198
|
namespace Retrieve {
|
1162
1199
|
type Params = {
|
1163
1200
|
termId: string;
|
@@ -1187,6 +1224,13 @@ declare namespace JUHUU {
|
|
1187
1224
|
term: JUHUU.Term.Object;
|
1188
1225
|
};
|
1189
1226
|
}
|
1227
|
+
namespace Delete {
|
1228
|
+
type Params = {
|
1229
|
+
termId?: string;
|
1230
|
+
};
|
1231
|
+
type Options = JUHUU.RequestOptions;
|
1232
|
+
type Response = JUHUU.Term.Object[];
|
1233
|
+
}
|
1190
1234
|
}
|
1191
1235
|
namespace AccountingArea {
|
1192
1236
|
type Object = {
|
@@ -1199,6 +1243,16 @@ declare namespace JUHUU {
|
|
1199
1243
|
SGTXT: string | null;
|
1200
1244
|
ZUONR: string | null;
|
1201
1245
|
};
|
1246
|
+
namespace Create {
|
1247
|
+
type Params = {
|
1248
|
+
propertyId: string;
|
1249
|
+
name: string;
|
1250
|
+
};
|
1251
|
+
type Options = JUHUU.RequestOptions;
|
1252
|
+
type Response = {
|
1253
|
+
accountingArea: JUHUU.AccountingArea.Object;
|
1254
|
+
};
|
1255
|
+
}
|
1202
1256
|
namespace Retrieve {
|
1203
1257
|
type Params = {
|
1204
1258
|
accountingAreaId: string;
|
@@ -1218,6 +1272,13 @@ declare namespace JUHUU {
|
|
1218
1272
|
type Options = JUHUU.RequestOptions;
|
1219
1273
|
type Response = JUHUU.AccountingArea.Object[];
|
1220
1274
|
}
|
1275
|
+
namespace Delete {
|
1276
|
+
type Params = {
|
1277
|
+
accountingAreaId?: string;
|
1278
|
+
};
|
1279
|
+
type Options = JUHUU.RequestOptions;
|
1280
|
+
type Response = JUHUU.AccountingArea.Object[];
|
1281
|
+
}
|
1221
1282
|
}
|
1222
1283
|
namespace ArticleEmbedding {
|
1223
1284
|
type Object = {
|
@@ -1485,6 +1546,20 @@ declare namespace JUHUU {
|
|
1485
1546
|
serviceFeeMin: number;
|
1486
1547
|
serviceFeeMax: number;
|
1487
1548
|
};
|
1549
|
+
namespace Create {
|
1550
|
+
type Params = {
|
1551
|
+
propertyId: string;
|
1552
|
+
duration?: string;
|
1553
|
+
name?: string;
|
1554
|
+
amount?: number[];
|
1555
|
+
continue?: number;
|
1556
|
+
currencyCode?: string;
|
1557
|
+
};
|
1558
|
+
type Options = JUHUU.RequestOptions;
|
1559
|
+
type Response = {
|
1560
|
+
tariff: JUHUU.Tariff.Object;
|
1561
|
+
};
|
1562
|
+
}
|
1488
1563
|
namespace Retrieve {
|
1489
1564
|
type Params = {
|
1490
1565
|
tariffId: string;
|
@@ -1524,6 +1599,13 @@ declare namespace JUHUU {
|
|
1524
1599
|
tariff: JUHUU.Tariff.Object;
|
1525
1600
|
};
|
1526
1601
|
}
|
1602
|
+
namespace Delete {
|
1603
|
+
type Params = {
|
1604
|
+
tariffId?: string;
|
1605
|
+
};
|
1606
|
+
type Options = JUHUU.RequestOptions;
|
1607
|
+
type Response = JUHUU.Tariff.Object[];
|
1608
|
+
}
|
1527
1609
|
}
|
1528
1610
|
namespace Survey {
|
1529
1611
|
type Object = {
|
@@ -1553,6 +1635,18 @@ declare namespace JUHUU {
|
|
1553
1635
|
type: "automatic";
|
1554
1636
|
}
|
1555
1637
|
export type Object = AutomaticLicenseTemplate | RegexLicenseTemplate;
|
1638
|
+
export namespace Create {
|
1639
|
+
type Params = {
|
1640
|
+
propertyId: string;
|
1641
|
+
name: LocaleString;
|
1642
|
+
type: string;
|
1643
|
+
regex: string;
|
1644
|
+
};
|
1645
|
+
type Options = JUHUU.RequestOptions;
|
1646
|
+
type Response = {
|
1647
|
+
licenseTemplate: JUHUU.LicenseTemplate.Object;
|
1648
|
+
};
|
1649
|
+
}
|
1556
1650
|
export namespace Retrieve {
|
1557
1651
|
type Params = {
|
1558
1652
|
licenseTemplateId: string;
|
@@ -1587,6 +1681,13 @@ declare namespace JUHUU {
|
|
1587
1681
|
licenseTemplate: JUHUU.LicenseTemplate.Object;
|
1588
1682
|
};
|
1589
1683
|
}
|
1684
|
+
export namespace Delete {
|
1685
|
+
type Params = {
|
1686
|
+
licenseTemplateId?: string;
|
1687
|
+
};
|
1688
|
+
type Options = JUHUU.RequestOptions;
|
1689
|
+
type Response = JUHUU.LicenseTemplate.Object[];
|
1690
|
+
}
|
1590
1691
|
export { };
|
1591
1692
|
}
|
1592
1693
|
namespace Property {
|
@@ -1918,6 +2019,17 @@ declare namespace JUHUU {
|
|
1918
2019
|
useableDeviceGroupLocationId: string | null;
|
1919
2020
|
}
|
1920
2021
|
export type Object = RentableDeviceGroup | RentableDevice | UseableDevice;
|
2022
|
+
export namespace Create {
|
2023
|
+
type Params = {
|
2024
|
+
propertyId: string;
|
2025
|
+
name: string;
|
2026
|
+
type: string;
|
2027
|
+
};
|
2028
|
+
type Options = JUHUU.RequestOptions;
|
2029
|
+
type Response = {
|
2030
|
+
location: JUHUU.Location.Object;
|
2031
|
+
};
|
2032
|
+
}
|
1921
2033
|
export namespace Retrieve {
|
1922
2034
|
type Params = {
|
1923
2035
|
locationId: string;
|
@@ -1961,6 +2073,13 @@ declare namespace JUHUU {
|
|
1961
2073
|
location: JUHUU.Location.Object;
|
1962
2074
|
};
|
1963
2075
|
}
|
2076
|
+
export namespace Delete {
|
2077
|
+
type Params = {
|
2078
|
+
locationId?: string;
|
2079
|
+
};
|
2080
|
+
type Options = JUHUU.RequestOptions;
|
2081
|
+
type Response = JUHUU.Location.Object[];
|
2082
|
+
}
|
1964
2083
|
export { };
|
1965
2084
|
}
|
1966
2085
|
namespace Product {
|
@@ -1999,6 +2118,16 @@ declare namespace JUHUU {
|
|
1999
2118
|
downloadUrl: string;
|
2000
2119
|
}
|
2001
2120
|
type Object = PhysicalProduct | DigitalProduct;
|
2121
|
+
namespace Create {
|
2122
|
+
type Params = {
|
2123
|
+
propertyId: string;
|
2124
|
+
name: string;
|
2125
|
+
};
|
2126
|
+
type Options = JUHUU.RequestOptions;
|
2127
|
+
type Response = {
|
2128
|
+
product: JUHUU.Product.Object;
|
2129
|
+
};
|
2130
|
+
}
|
2002
2131
|
namespace Retrieve {
|
2003
2132
|
type Params = {
|
2004
2133
|
productId: string;
|
@@ -2021,6 +2150,13 @@ declare namespace JUHUU {
|
|
2021
2150
|
type Options = JUHUU.RequestOptions;
|
2022
2151
|
type Response = Product.Object[];
|
2023
2152
|
}
|
2153
|
+
namespace Delete {
|
2154
|
+
type Params = {
|
2155
|
+
productId?: string;
|
2156
|
+
};
|
2157
|
+
type Options = JUHUU.RequestOptions;
|
2158
|
+
type Response = JUHUU.Product.Object[];
|
2159
|
+
}
|
2024
2160
|
}
|
2025
2161
|
namespace Link {
|
2026
2162
|
type Base = {
|
@@ -2036,13 +2172,24 @@ declare namespace JUHUU {
|
|
2036
2172
|
fiveLetterQr: string;
|
2037
2173
|
}
|
2038
2174
|
export type Object = FiveLetterQr;
|
2175
|
+
export namespace Create {
|
2176
|
+
type Params = {
|
2177
|
+
propertyId: string;
|
2178
|
+
name: string;
|
2179
|
+
fiveLetterQr: string;
|
2180
|
+
};
|
2181
|
+
type Options = JUHUU.RequestOptions;
|
2182
|
+
type Response = {
|
2183
|
+
link: JUHUU.Link.Object;
|
2184
|
+
};
|
2185
|
+
}
|
2039
2186
|
export namespace Retrieve {
|
2040
2187
|
type Params = {
|
2041
2188
|
linkId: string;
|
2042
2189
|
};
|
2043
2190
|
type Options = {
|
2044
2191
|
expand: Array<"property">;
|
2045
|
-
};
|
2192
|
+
} & JUHUU.RequestOptions;
|
2046
2193
|
type Response = {
|
2047
2194
|
link: JUHUU.Link.Object;
|
2048
2195
|
property?: JUHUU.Property.Object;
|
@@ -2056,6 +2203,13 @@ declare namespace JUHUU {
|
|
2056
2203
|
type Options = {};
|
2057
2204
|
type Response = JUHUU.Link.Object[];
|
2058
2205
|
}
|
2206
|
+
export namespace Delete {
|
2207
|
+
type Params = {
|
2208
|
+
linkId?: string;
|
2209
|
+
};
|
2210
|
+
type Options = JUHUU.RequestOptions;
|
2211
|
+
type Response = JUHUU.Link.Object[];
|
2212
|
+
}
|
2059
2213
|
export { };
|
2060
2214
|
}
|
2061
2215
|
namespace License {
|
@@ -2088,6 +2242,17 @@ declare namespace JUHUU {
|
|
2088
2242
|
connectorId: string | null;
|
2089
2243
|
connectorParameter: string | null;
|
2090
2244
|
};
|
2245
|
+
namespace Create {
|
2246
|
+
type Params = {
|
2247
|
+
propertyId: string;
|
2248
|
+
name: string;
|
2249
|
+
deviceTemplateId: string;
|
2250
|
+
};
|
2251
|
+
type Options = JUHUU.RequestOptions;
|
2252
|
+
type Response = {
|
2253
|
+
device: JUHUU.Device.Object;
|
2254
|
+
};
|
2255
|
+
}
|
2091
2256
|
namespace Retrieve {
|
2092
2257
|
type Params = {
|
2093
2258
|
deviceId: string;
|
@@ -2163,6 +2328,13 @@ declare namespace JUHUU {
|
|
2163
2328
|
device: JUHUU.Device.Object;
|
2164
2329
|
};
|
2165
2330
|
}
|
2331
|
+
namespace Delete {
|
2332
|
+
type Params = {
|
2333
|
+
deviceId?: string;
|
2334
|
+
};
|
2335
|
+
type Options = JUHUU.RequestOptions;
|
2336
|
+
type Response = JUHUU.Device.Object[];
|
2337
|
+
}
|
2166
2338
|
}
|
2167
2339
|
namespace Connector {
|
2168
2340
|
type Base = {
|
@@ -2178,6 +2350,27 @@ declare namespace JUHUU {
|
|
2178
2350
|
version: number;
|
2179
2351
|
simId: string | null;
|
2180
2352
|
};
|
2353
|
+
export namespace Create {
|
2354
|
+
type Params = {
|
2355
|
+
propertyId: string;
|
2356
|
+
name: string;
|
2357
|
+
username?: string;
|
2358
|
+
password?: string;
|
2359
|
+
clientId?: string;
|
2360
|
+
host?: string;
|
2361
|
+
port?: number;
|
2362
|
+
mqttRetain?: boolean;
|
2363
|
+
mqttQos?: "0" | "1" | "2";
|
2364
|
+
description?: string;
|
2365
|
+
simId?: string;
|
2366
|
+
connectionMode?: "alwaysOnline" | "temporaryOnline";
|
2367
|
+
type: ["type"];
|
2368
|
+
};
|
2369
|
+
type Options = JUHUU.RequestOptions;
|
2370
|
+
type Response = {
|
2371
|
+
connector: JUHUU.Connector.Object;
|
2372
|
+
};
|
2373
|
+
}
|
2181
2374
|
export interface Mqtt extends Base {
|
2182
2375
|
type: "mqtt";
|
2183
2376
|
username: string;
|
@@ -2208,6 +2401,13 @@ declare namespace JUHUU {
|
|
2208
2401
|
type Options = JUHUU.RequestOptions;
|
2209
2402
|
type Response = JUHUU.Connector.Object[];
|
2210
2403
|
}
|
2404
|
+
export namespace Delete {
|
2405
|
+
type Params = {
|
2406
|
+
connectorId?: string;
|
2407
|
+
};
|
2408
|
+
type Options = JUHUU.RequestOptions;
|
2409
|
+
type Response = JUHUU.Connector.Object[];
|
2410
|
+
}
|
2211
2411
|
export { };
|
2212
2412
|
}
|
2213
2413
|
namespace DeviceTemplate {
|
@@ -2231,6 +2431,17 @@ declare namespace JUHUU {
|
|
2231
2431
|
deviceImageLight: string;
|
2232
2432
|
callToAction: LocaleString;
|
2233
2433
|
};
|
2434
|
+
namespace Create {
|
2435
|
+
type Params = {
|
2436
|
+
propertyId: string;
|
2437
|
+
name?: string;
|
2438
|
+
productId: string;
|
2439
|
+
};
|
2440
|
+
type Options = JUHUU.RequestOptions;
|
2441
|
+
type Response = {
|
2442
|
+
deviceTemplate: JUHUU.DeviceTemplate.Object;
|
2443
|
+
};
|
2444
|
+
}
|
2234
2445
|
namespace Retrieve {
|
2235
2446
|
type Params = {
|
2236
2447
|
deviceTemplateId: string;
|
@@ -2248,6 +2459,13 @@ declare namespace JUHUU {
|
|
2248
2459
|
type Options = JUHUU.RequestOptions;
|
2249
2460
|
type Response = JUHUU.DeviceTemplate.Object[];
|
2250
2461
|
}
|
2462
|
+
namespace Delete {
|
2463
|
+
type Params = {
|
2464
|
+
deviceTemplateId?: string;
|
2465
|
+
};
|
2466
|
+
type Options = JUHUU.RequestOptions;
|
2467
|
+
type Response = JUHUU.DeviceTemplate.Object[];
|
2468
|
+
}
|
2251
2469
|
}
|
2252
2470
|
namespace Sim {
|
2253
2471
|
type Object = {
|
@@ -2267,6 +2485,17 @@ declare namespace JUHUU {
|
|
2267
2485
|
providerUsername: string | null;
|
2268
2486
|
providerPassword: string | null;
|
2269
2487
|
};
|
2488
|
+
namespace Create {
|
2489
|
+
type Params = {
|
2490
|
+
propertyId: string;
|
2491
|
+
iccid: string;
|
2492
|
+
name?: string;
|
2493
|
+
};
|
2494
|
+
type Options = JUHUU.RequestOptions;
|
2495
|
+
type Response = {
|
2496
|
+
payout: JUHUU.Sim.Object;
|
2497
|
+
};
|
2498
|
+
}
|
2270
2499
|
namespace Retrieve {
|
2271
2500
|
type Params = {
|
2272
2501
|
simId: string;
|
@@ -2292,6 +2521,13 @@ declare namespace JUHUU {
|
|
2292
2521
|
sim: JUHUU.Sim.Object;
|
2293
2522
|
};
|
2294
2523
|
}
|
2524
|
+
namespace Delete {
|
2525
|
+
type Params = {
|
2526
|
+
simId?: string;
|
2527
|
+
};
|
2528
|
+
type Options = JUHUU.RequestOptions;
|
2529
|
+
type Response = JUHUU.Sim.Object[];
|
2530
|
+
}
|
2295
2531
|
}
|
2296
2532
|
namespace ConnectorMessage {
|
2297
2533
|
type Object = {
|