@juhuu/sdk-ts 1.2.44 → 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 +287 -5
- package/dist/index.d.ts +287 -5
- package/dist/index.js +333 -11
- package/dist/index.mjs +333 -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,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<
|
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<
|
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,16 +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<
|
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>>;
|
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>>;
|
719
743
|
}
|
720
744
|
|
721
745
|
declare class ArticlesService extends Service {
|
@@ -1033,6 +1057,16 @@ declare namespace JUHUU {
|
|
1033
1057
|
contactPerson: Person;
|
1034
1058
|
}
|
1035
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
|
+
}
|
1036
1070
|
export namespace Retrieve {
|
1037
1071
|
type Params = {
|
1038
1072
|
userId: string;
|
@@ -1147,6 +1181,13 @@ declare namespace JUHUU {
|
|
1147
1181
|
user: JUHUU.User.Object;
|
1148
1182
|
};
|
1149
1183
|
}
|
1184
|
+
export namespace Delete {
|
1185
|
+
type Params = {
|
1186
|
+
userId?: string;
|
1187
|
+
};
|
1188
|
+
type Options = JUHUU.RequestOptions;
|
1189
|
+
type Response = JUHUU.User.Object[];
|
1190
|
+
}
|
1150
1191
|
export { };
|
1151
1192
|
}
|
1152
1193
|
namespace Term {
|
@@ -1157,6 +1198,16 @@ declare namespace JUHUU {
|
|
1157
1198
|
dsgvoUrl: string;
|
1158
1199
|
propertyId: string;
|
1159
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
|
+
}
|
1160
1211
|
namespace Retrieve {
|
1161
1212
|
type Params = {
|
1162
1213
|
termId: string;
|
@@ -1186,6 +1237,13 @@ declare namespace JUHUU {
|
|
1186
1237
|
term: JUHUU.Term.Object;
|
1187
1238
|
};
|
1188
1239
|
}
|
1240
|
+
namespace Delete {
|
1241
|
+
type Params = {
|
1242
|
+
termId?: string;
|
1243
|
+
};
|
1244
|
+
type Options = JUHUU.RequestOptions;
|
1245
|
+
type Response = JUHUU.Term.Object[];
|
1246
|
+
}
|
1189
1247
|
}
|
1190
1248
|
namespace AccountingArea {
|
1191
1249
|
type Object = {
|
@@ -1198,6 +1256,21 @@ declare namespace JUHUU {
|
|
1198
1256
|
SGTXT: string | null;
|
1199
1257
|
ZUONR: string | null;
|
1200
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
|
+
}
|
1201
1274
|
namespace Retrieve {
|
1202
1275
|
type Params = {
|
1203
1276
|
accountingAreaId: string;
|
@@ -1217,6 +1290,13 @@ declare namespace JUHUU {
|
|
1217
1290
|
type Options = JUHUU.RequestOptions;
|
1218
1291
|
type Response = JUHUU.AccountingArea.Object[];
|
1219
1292
|
}
|
1293
|
+
namespace Delete {
|
1294
|
+
type Params = {
|
1295
|
+
accountingAreaId?: string;
|
1296
|
+
};
|
1297
|
+
type Options = JUHUU.RequestOptions;
|
1298
|
+
type Response = JUHUU.AccountingArea.Object[];
|
1299
|
+
}
|
1220
1300
|
}
|
1221
1301
|
namespace ArticleEmbedding {
|
1222
1302
|
type Object = {
|
@@ -1484,6 +1564,20 @@ declare namespace JUHUU {
|
|
1484
1564
|
serviceFeeMin: number;
|
1485
1565
|
serviceFeeMax: number;
|
1486
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
|
+
}
|
1487
1581
|
namespace Retrieve {
|
1488
1582
|
type Params = {
|
1489
1583
|
tariffId: string;
|
@@ -1523,6 +1617,13 @@ declare namespace JUHUU {
|
|
1523
1617
|
tariff: JUHUU.Tariff.Object;
|
1524
1618
|
};
|
1525
1619
|
}
|
1620
|
+
namespace Delete {
|
1621
|
+
type Params = {
|
1622
|
+
tariffId?: string;
|
1623
|
+
};
|
1624
|
+
type Options = JUHUU.RequestOptions;
|
1625
|
+
type Response = JUHUU.Tariff.Object[];
|
1626
|
+
}
|
1526
1627
|
}
|
1527
1628
|
namespace Survey {
|
1528
1629
|
type Object = {
|
@@ -1552,6 +1653,18 @@ declare namespace JUHUU {
|
|
1552
1653
|
type: "automatic";
|
1553
1654
|
}
|
1554
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
|
+
}
|
1555
1668
|
export namespace Retrieve {
|
1556
1669
|
type Params = {
|
1557
1670
|
licenseTemplateId: string;
|
@@ -1575,6 +1688,24 @@ declare namespace JUHUU {
|
|
1575
1688
|
licenseTemplateArray: JUHUU.LicenseTemplate.Object[];
|
1576
1689
|
};
|
1577
1690
|
}
|
1691
|
+
export namespace RegexValidate {
|
1692
|
+
type Params = {
|
1693
|
+
userId: string;
|
1694
|
+
licenseTemplateId: string;
|
1695
|
+
text: string;
|
1696
|
+
};
|
1697
|
+
type Options = JUHUU.RequestOptions;
|
1698
|
+
type Response = {
|
1699
|
+
licenseTemplate: JUHUU.LicenseTemplate.Object;
|
1700
|
+
};
|
1701
|
+
}
|
1702
|
+
export namespace Delete {
|
1703
|
+
type Params = {
|
1704
|
+
licenseTemplateId?: string;
|
1705
|
+
};
|
1706
|
+
type Options = JUHUU.RequestOptions;
|
1707
|
+
type Response = JUHUU.LicenseTemplate.Object[];
|
1708
|
+
}
|
1578
1709
|
export { };
|
1579
1710
|
}
|
1580
1711
|
namespace Property {
|
@@ -1750,6 +1881,15 @@ declare namespace JUHUU {
|
|
1750
1881
|
creditNotePdfId: string;
|
1751
1882
|
stripeConnectedAccountId: string;
|
1752
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
|
+
}
|
1753
1893
|
namespace Retrieve {
|
1754
1894
|
type Params = {
|
1755
1895
|
payoutId: string;
|
@@ -1769,6 +1909,13 @@ declare namespace JUHUU {
|
|
1769
1909
|
type Options = JUHUU.RequestOptions;
|
1770
1910
|
type Response = JUHUU.Payout.Object[];
|
1771
1911
|
}
|
1912
|
+
namespace Delete {
|
1913
|
+
type Params = {
|
1914
|
+
payoutId?: string;
|
1915
|
+
};
|
1916
|
+
type Options = JUHUU.RequestOptions;
|
1917
|
+
type Response = JUHUU.Payout.Object[];
|
1918
|
+
}
|
1772
1919
|
}
|
1773
1920
|
namespace Payment {
|
1774
1921
|
type Object = {
|
@@ -1906,6 +2053,17 @@ declare namespace JUHUU {
|
|
1906
2053
|
useableDeviceGroupLocationId: string | null;
|
1907
2054
|
}
|
1908
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
|
+
}
|
1909
2067
|
export namespace Retrieve {
|
1910
2068
|
type Params = {
|
1911
2069
|
locationId: string;
|
@@ -1949,6 +2107,13 @@ declare namespace JUHUU {
|
|
1949
2107
|
location: JUHUU.Location.Object;
|
1950
2108
|
};
|
1951
2109
|
}
|
2110
|
+
export namespace Delete {
|
2111
|
+
type Params = {
|
2112
|
+
locationId?: string;
|
2113
|
+
};
|
2114
|
+
type Options = JUHUU.RequestOptions;
|
2115
|
+
type Response = JUHUU.Location.Object[];
|
2116
|
+
}
|
1952
2117
|
export { };
|
1953
2118
|
}
|
1954
2119
|
namespace Product {
|
@@ -1987,6 +2152,16 @@ declare namespace JUHUU {
|
|
1987
2152
|
downloadUrl: string;
|
1988
2153
|
}
|
1989
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
|
+
}
|
1990
2165
|
namespace Retrieve {
|
1991
2166
|
type Params = {
|
1992
2167
|
productId: string;
|
@@ -2009,6 +2184,13 @@ declare namespace JUHUU {
|
|
2009
2184
|
type Options = JUHUU.RequestOptions;
|
2010
2185
|
type Response = Product.Object[];
|
2011
2186
|
}
|
2187
|
+
namespace Delete {
|
2188
|
+
type Params = {
|
2189
|
+
productId?: string;
|
2190
|
+
};
|
2191
|
+
type Options = JUHUU.RequestOptions;
|
2192
|
+
type Response = JUHUU.Product.Object[];
|
2193
|
+
}
|
2012
2194
|
}
|
2013
2195
|
namespace Link {
|
2014
2196
|
type Base = {
|
@@ -2024,13 +2206,24 @@ declare namespace JUHUU {
|
|
2024
2206
|
fiveLetterQr: string;
|
2025
2207
|
}
|
2026
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
|
+
}
|
2027
2220
|
export namespace Retrieve {
|
2028
2221
|
type Params = {
|
2029
2222
|
linkId: string;
|
2030
2223
|
};
|
2031
2224
|
type Options = {
|
2032
2225
|
expand: Array<"property">;
|
2033
|
-
};
|
2226
|
+
} & JUHUU.RequestOptions;
|
2034
2227
|
type Response = {
|
2035
2228
|
link: JUHUU.Link.Object;
|
2036
2229
|
property?: JUHUU.Property.Object;
|
@@ -2044,6 +2237,13 @@ declare namespace JUHUU {
|
|
2044
2237
|
type Options = {};
|
2045
2238
|
type Response = JUHUU.Link.Object[];
|
2046
2239
|
}
|
2240
|
+
export namespace Delete {
|
2241
|
+
type Params = {
|
2242
|
+
linkId?: string;
|
2243
|
+
};
|
2244
|
+
type Options = JUHUU.RequestOptions;
|
2245
|
+
type Response = JUHUU.Link.Object[];
|
2246
|
+
}
|
2047
2247
|
export { };
|
2048
2248
|
}
|
2049
2249
|
namespace License {
|
@@ -2076,6 +2276,17 @@ declare namespace JUHUU {
|
|
2076
2276
|
connectorId: string | null;
|
2077
2277
|
connectorParameter: string | null;
|
2078
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
|
+
}
|
2079
2290
|
namespace Retrieve {
|
2080
2291
|
type Params = {
|
2081
2292
|
deviceId: string;
|
@@ -2151,6 +2362,13 @@ declare namespace JUHUU {
|
|
2151
2362
|
device: JUHUU.Device.Object;
|
2152
2363
|
};
|
2153
2364
|
}
|
2365
|
+
namespace Delete {
|
2366
|
+
type Params = {
|
2367
|
+
deviceId?: string;
|
2368
|
+
};
|
2369
|
+
type Options = JUHUU.RequestOptions;
|
2370
|
+
type Response = JUHUU.Device.Object[];
|
2371
|
+
}
|
2154
2372
|
}
|
2155
2373
|
namespace Connector {
|
2156
2374
|
type Base = {
|
@@ -2166,6 +2384,27 @@ declare namespace JUHUU {
|
|
2166
2384
|
version: number;
|
2167
2385
|
simId: string | null;
|
2168
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
|
+
}
|
2169
2408
|
export interface Mqtt extends Base {
|
2170
2409
|
type: "mqtt";
|
2171
2410
|
username: string;
|
@@ -2196,6 +2435,13 @@ declare namespace JUHUU {
|
|
2196
2435
|
type Options = JUHUU.RequestOptions;
|
2197
2436
|
type Response = JUHUU.Connector.Object[];
|
2198
2437
|
}
|
2438
|
+
export namespace Delete {
|
2439
|
+
type Params = {
|
2440
|
+
connectorId?: string;
|
2441
|
+
};
|
2442
|
+
type Options = JUHUU.RequestOptions;
|
2443
|
+
type Response = JUHUU.Connector.Object[];
|
2444
|
+
}
|
2199
2445
|
export { };
|
2200
2446
|
}
|
2201
2447
|
namespace DeviceTemplate {
|
@@ -2219,6 +2465,17 @@ declare namespace JUHUU {
|
|
2219
2465
|
deviceImageLight: string;
|
2220
2466
|
callToAction: LocaleString;
|
2221
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
|
+
}
|
2222
2479
|
namespace Retrieve {
|
2223
2480
|
type Params = {
|
2224
2481
|
deviceTemplateId: string;
|
@@ -2236,6 +2493,13 @@ declare namespace JUHUU {
|
|
2236
2493
|
type Options = JUHUU.RequestOptions;
|
2237
2494
|
type Response = JUHUU.DeviceTemplate.Object[];
|
2238
2495
|
}
|
2496
|
+
namespace Delete {
|
2497
|
+
type Params = {
|
2498
|
+
deviceTemplateId?: string;
|
2499
|
+
};
|
2500
|
+
type Options = JUHUU.RequestOptions;
|
2501
|
+
type Response = JUHUU.DeviceTemplate.Object[];
|
2502
|
+
}
|
2239
2503
|
}
|
2240
2504
|
namespace Sim {
|
2241
2505
|
type Object = {
|
@@ -2255,6 +2519,17 @@ declare namespace JUHUU {
|
|
2255
2519
|
providerUsername: string | null;
|
2256
2520
|
providerPassword: string | null;
|
2257
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
|
+
}
|
2258
2533
|
namespace Retrieve {
|
2259
2534
|
type Params = {
|
2260
2535
|
simId: string;
|
@@ -2280,6 +2555,13 @@ declare namespace JUHUU {
|
|
2280
2555
|
sim: JUHUU.Sim.Object;
|
2281
2556
|
};
|
2282
2557
|
}
|
2558
|
+
namespace Delete {
|
2559
|
+
type Params = {
|
2560
|
+
simId?: string;
|
2561
|
+
};
|
2562
|
+
type Options = JUHUU.RequestOptions;
|
2563
|
+
type Response = JUHUU.Sim.Object[];
|
2564
|
+
}
|
2283
2565
|
}
|
2284
2566
|
namespace ConnectorMessage {
|
2285
2567
|
type Object = {
|