@juhuu/sdk-ts 1.2.192 → 1.2.194
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 +51 -136
- package/dist/index.d.ts +51 -136
- package/dist/index.js +58 -123
- package/dist/index.mjs +58 -123
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -642,6 +642,7 @@ declare class PropertiesService extends Service {
|
|
642
642
|
retrieveStripeSubscriptionStartUrl(PropertyRetrieveStripeSubscriptionStartUrlParams: JUHUU.Property.RetrieveStripeSubscriptionStartUrl.Params, PropertyRetrieveStripeSubscriptionStartUrlOptions?: JUHUU.Property.RetrieveStripeSubscriptionStartUrl.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.RetrieveStripeSubscriptionStartUrl.Response>>;
|
643
643
|
enableCapability(PropertyEnableCapabilityParams: JUHUU.Property.EnableCapability.Params, PropertyEnableCapabilityOptions?: JUHUU.Property.EnableCapability.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.EnableCapability.Response>>;
|
644
644
|
acceptLatestAgreement(PropertyAcceptLatestAgreementParams: JUHUU.Property.AcceptLatestAgreement.Params, PropertyAcceptLatestAgreementOptions?: JUHUU.Property.AcceptLatestAgreement.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.AcceptLatestAgreement.Response>>;
|
645
|
+
delete(PropertyDeleteParams: JUHUU.Property.Delete.Params, PropertyDeleteOptions?: JUHUU.Property.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Delete.Response>>;
|
645
646
|
}
|
646
647
|
|
647
648
|
declare class PointsService extends Service {
|
@@ -741,17 +742,9 @@ declare class AccountingAreasService extends Service {
|
|
741
742
|
delete(AccountingAreaDeleteParams: JUHUU.AccountingArea.Delete.Params, AccountingAreaDeleteOptions?: JUHUU.AccountingArea.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Delete.Response>>;
|
742
743
|
}
|
743
744
|
|
744
|
-
declare class ConnectorsService extends Service {
|
745
|
-
constructor(config: JUHUU.SetupConfig);
|
746
|
-
create(ConnectorCreateParams: JUHUU.Connector.Create.Params, ConnectorCreateOptions?: JUHUU.Connector.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Create.Response>>;
|
747
|
-
retrieve(ConnectorRetrieveParams: JUHUU.Connector.Retrieve.Params, ConnectorRetrieveOptions?: JUHUU.Connector.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Retrieve.Response>>;
|
748
|
-
list(ConnectorListParams: JUHUU.Connector.List.Params, ConnectorListOptions?: JUHUU.Connector.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.List.Response>>;
|
749
|
-
update(ConnectorUpdateParams: JUHUU.Connector.Update.Params, ConnectorUpdateOptions?: JUHUU.Connector.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Update.Response>>;
|
750
|
-
delete(ConnectorDeleteParams: JUHUU.Connector.Delete.Params, ConnectorDeleteOptions?: JUHUU.Connector.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Delete.Response>>;
|
751
|
-
}
|
752
|
-
|
753
745
|
declare class PayoutsService extends Service {
|
754
746
|
constructor(config: JUHUU.SetupConfig);
|
747
|
+
create(PayoutCreateParams: JUHUU.Payout.Create.Params, PayoutCreateOptions?: JUHUU.Payout.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.Create.Response>>;
|
755
748
|
retrieve(PayoutRetrieveParams: JUHUU.Payout.Retrieve.Params, PayoutRetrieveOptions?: JUHUU.Payout.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.Retrieve.Response>>;
|
756
749
|
list(PayoutListParams: JUHUU.Payout.List.Params, PayoutListOptions?: JUHUU.Payout.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.List.Response>>;
|
757
750
|
}
|
@@ -767,6 +760,7 @@ declare class SimsService extends Service {
|
|
767
760
|
create(SimCreateParams: JUHUU.Sim.Create.Params, SimCreateOptions?: JUHUU.Sim.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Create.Response>>;
|
768
761
|
retrieve(SimRetrieveParams: JUHUU.Sim.Retrieve.Params, SimRetrieveOptions?: JUHUU.Sim.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Retrieve.Response>>;
|
769
762
|
list(SimListParams: JUHUU.Sim.List.Params, SimListOptions?: JUHUU.Sim.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.List.Response>>;
|
763
|
+
update(SimUpdateParams: JUHUU.Sim.Update.Params, SimUpdateOptions?: JUHUU.Sim.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Update.Response>>;
|
770
764
|
updateFromProvider(SimUpdateFromProviderParams: JUHUU.Sim.UpdateFromProvider.Params, SimUpdateFromProviderOptions?: JUHUU.Sim.UpdateFromProvider.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.UpdateFromProvider.Response>>;
|
771
765
|
delete(SimDeleteParams: JUHUU.Sim.Delete.Params, SimDeleteOptions?: JUHUU.Sim.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Delete.Response>>;
|
772
766
|
}
|
@@ -817,12 +811,6 @@ declare class ArticleEmbeddingsService extends Service {
|
|
817
811
|
retrieve(ArticleEmbeddingRetrieveParams: JUHUU.ArticleEmbedding.Retrieve.Params, ArticleEmbeddingRetrieveOptions?: JUHUU.ArticleEmbedding.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ArticleEmbedding.Retrieve.Response>>;
|
818
812
|
}
|
819
813
|
|
820
|
-
declare class BoldLockService extends Service {
|
821
|
-
constructor(config: JUHUU.SetupConfig);
|
822
|
-
credentials(BoldLockCredentialsParams: JUHUU.BoldLock.Credentials.Params, BoldLockCredentialsOptions?: JUHUU.BoldLock.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.BoldLock.Credentials.Response>>;
|
823
|
-
grantAccess(BoldLockGrantAccessParams: JUHUU.BoldLock.GrantAccess.Params, BoldLockGrantAccessOptions?: JUHUU.BoldLock.GrantAccess.Options): Promise<JUHUU.HttpResponse<JUHUU.BoldLock.GrantAccess.Response>>;
|
824
|
-
}
|
825
|
-
|
826
814
|
declare class TapkeyService extends Service {
|
827
815
|
constructor(config: JUHUU.SetupConfig);
|
828
816
|
credentials(TapkeyCredentialsParams: JUHUU.Tapkey.Credentials.Params, TapkeyCredentialsOptions?: JUHUU.Tapkey.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.Tapkey.Credentials.Response>>;
|
@@ -905,6 +893,11 @@ declare class ParameterAnomalyGroupTrackersService extends Service {
|
|
905
893
|
delete(ParameterAnomalyGroupTrackerDeleteParams: JUHUU.ParameterAnomalyGroupTracker.Delete.Params, ParameterAnomalyGroupTrackerDeleteOptions?: JUHUU.ParameterAnomalyGroupTracker.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroupTracker.Delete.Response>>;
|
906
894
|
}
|
907
895
|
|
896
|
+
declare class EmzService extends Service {
|
897
|
+
constructor(config: JUHUU.SetupConfig);
|
898
|
+
credentials(EmzCredentialsParams: JUHUU.Emz.Credentials.Params, EmzCredentialsOptions?: JUHUU.Emz.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.Emz.Credentials.Response>>;
|
899
|
+
}
|
900
|
+
|
908
901
|
declare class Juhuu {
|
909
902
|
constructor(config: JUHUU.SetupConfig);
|
910
903
|
/**
|
@@ -925,7 +918,6 @@ declare class Juhuu {
|
|
925
918
|
readonly products: ProductService;
|
926
919
|
readonly settings: SettingsService;
|
927
920
|
readonly accountingAreas: AccountingAreasService;
|
928
|
-
readonly connectors: ConnectorsService;
|
929
921
|
readonly payouts: PayoutsService;
|
930
922
|
readonly connectorMessages: ConnectorMessagesService;
|
931
923
|
readonly sims: SimsService;
|
@@ -934,7 +926,6 @@ declare class Juhuu {
|
|
934
926
|
readonly chats: ChatsService;
|
935
927
|
readonly chatMessages: ChatMessagesService;
|
936
928
|
readonly articleEmbeddings: ArticleEmbeddingsService;
|
937
|
-
readonly boldLock: BoldLockService;
|
938
929
|
readonly tapkey: TapkeyService;
|
939
930
|
readonly articleGroups: ArticleGroupGroupsService;
|
940
931
|
readonly parameterHistories: ParameterHistoriesService;
|
@@ -944,6 +935,7 @@ declare class Juhuu {
|
|
944
935
|
readonly incidents: IncidentsService;
|
945
936
|
readonly parameterAnomalyGroups: ParameterAnomalyGroupsService;
|
946
937
|
readonly parameterAnomalyGroupTrackers: ParameterAnomalyGroupTrackersService;
|
938
|
+
readonly emz: EmzService;
|
947
939
|
}
|
948
940
|
declare namespace JUHUU {
|
949
941
|
interface SetupConfig {
|
@@ -1396,28 +1388,17 @@ declare namespace JUHUU {
|
|
1396
1388
|
}
|
1397
1389
|
export { };
|
1398
1390
|
}
|
1399
|
-
namespace
|
1391
|
+
namespace Emz {
|
1400
1392
|
namespace Credentials {
|
1401
1393
|
type Params = {
|
1402
|
-
userId: string;
|
1403
1394
|
deviceId: string;
|
1404
1395
|
};
|
1405
1396
|
type Options = JUHUU.RequestOptions;
|
1406
1397
|
type Response = {
|
1407
|
-
|
1408
|
-
|
1409
|
-
boldAuthorizationCode: string;
|
1410
|
-
boldRedirectUri: string;
|
1411
|
-
};
|
1412
|
-
}
|
1413
|
-
namespace GrantAccess {
|
1414
|
-
type Params = {
|
1398
|
+
targetHardwareId: string;
|
1399
|
+
contractId: string;
|
1415
1400
|
userId: string;
|
1416
|
-
|
1417
|
-
};
|
1418
|
-
type Options = JUHUU.RequestOptions;
|
1419
|
-
type Response = {
|
1420
|
-
device: JUHUU.Device.Object;
|
1401
|
+
token: string;
|
1421
1402
|
};
|
1422
1403
|
}
|
1423
1404
|
}
|
@@ -2365,6 +2346,13 @@ declare namespace JUHUU {
|
|
2365
2346
|
property: JUHUU.Property.Object;
|
2366
2347
|
};
|
2367
2348
|
}
|
2349
|
+
export namespace Delete {
|
2350
|
+
type Params = {
|
2351
|
+
propertyId: string;
|
2352
|
+
};
|
2353
|
+
type Options = JUHUU.RequestOptions;
|
2354
|
+
type Response = JUHUU.Property.Object;
|
2355
|
+
}
|
2368
2356
|
export { };
|
2369
2357
|
}
|
2370
2358
|
namespace Point {
|
@@ -2446,6 +2434,18 @@ declare namespace JUHUU {
|
|
2446
2434
|
creditNotePdfId: string;
|
2447
2435
|
stripeConnectedAccountId: string;
|
2448
2436
|
};
|
2437
|
+
namespace Create {
|
2438
|
+
type Params = {
|
2439
|
+
propertyId: string;
|
2440
|
+
fromDate: number;
|
2441
|
+
toDate: number;
|
2442
|
+
statementDescription: string;
|
2443
|
+
};
|
2444
|
+
type Options = JUHUU.RequestOptions;
|
2445
|
+
type Response = {
|
2446
|
+
payout: JUHUU.Payout.Object;
|
2447
|
+
};
|
2448
|
+
}
|
2449
2449
|
namespace Retrieve {
|
2450
2450
|
type Params = {
|
2451
2451
|
payoutId: string;
|
@@ -2974,7 +2974,6 @@ declare namespace JUHUU {
|
|
2974
2974
|
device: JUHUU.Device.Object;
|
2975
2975
|
deviceTemplate?: JUHUU.DeviceTemplate.Object;
|
2976
2976
|
property?: JUHUU.Property.Object;
|
2977
|
-
connector?: JUHUU.Connector.Object;
|
2978
2977
|
};
|
2979
2978
|
}
|
2980
2979
|
namespace List {
|
@@ -3052,107 +3051,6 @@ declare namespace JUHUU {
|
|
3052
3051
|
type Response = JUHUU.Device.Object;
|
3053
3052
|
}
|
3054
3053
|
}
|
3055
|
-
namespace Connector {
|
3056
|
-
type Base = {
|
3057
|
-
id: string;
|
3058
|
-
readonly object: "connector";
|
3059
|
-
status: "online" | "offline";
|
3060
|
-
description: string | null;
|
3061
|
-
name: string;
|
3062
|
-
propertyId: string;
|
3063
|
-
lastOutboundAt: Date | null;
|
3064
|
-
lastInboundAt: Date | null;
|
3065
|
-
connectionMode: "alwaysOnline" | "temporaryOnline";
|
3066
|
-
version: number;
|
3067
|
-
simId: string | null;
|
3068
|
-
};
|
3069
|
-
export interface Mqtt extends Base {
|
3070
|
-
type: "mqtt";
|
3071
|
-
username: string;
|
3072
|
-
password: string;
|
3073
|
-
clientId: string;
|
3074
|
-
host: string;
|
3075
|
-
port: number;
|
3076
|
-
mqttRetain: boolean;
|
3077
|
-
mqttQos: "0" | "1" | "2";
|
3078
|
-
acls: AccessControlListElement[];
|
3079
|
-
}
|
3080
|
-
export interface BoldLock extends Base {
|
3081
|
-
type: "boldLock";
|
3082
|
-
boldClientId: string;
|
3083
|
-
boldClientSecret: string;
|
3084
|
-
boldOrganizationId: number;
|
3085
|
-
boldDeviceId: number;
|
3086
|
-
}
|
3087
|
-
export interface Tapkey extends Base {
|
3088
|
-
type: "tapkey";
|
3089
|
-
tapkeyBase64PysicalLockId: string;
|
3090
|
-
tapkeyOwnerAccountId: string;
|
3091
|
-
tapkeyIpId: string;
|
3092
|
-
tapkeyBoundLockId: string;
|
3093
|
-
}
|
3094
|
-
export type Object = Mqtt | BoldLock | Tapkey;
|
3095
|
-
export namespace Create {
|
3096
|
-
type Params = {
|
3097
|
-
propertyId: string;
|
3098
|
-
name?: string;
|
3099
|
-
username?: string;
|
3100
|
-
password?: string;
|
3101
|
-
clientId?: string;
|
3102
|
-
host?: string;
|
3103
|
-
port?: number;
|
3104
|
-
mqttRetain?: boolean;
|
3105
|
-
mqttQos?: "0" | "1" | "2";
|
3106
|
-
description?: string;
|
3107
|
-
simId?: string;
|
3108
|
-
connectionMode?: "alwaysOnline" | "temporaryOnline";
|
3109
|
-
type: JUHUU.Connector.Object["type"];
|
3110
|
-
};
|
3111
|
-
type Options = JUHUU.RequestOptions;
|
3112
|
-
type Response = {
|
3113
|
-
connector: JUHUU.Connector.Object;
|
3114
|
-
};
|
3115
|
-
}
|
3116
|
-
export namespace Retrieve {
|
3117
|
-
type Params = {
|
3118
|
-
connectorId: string;
|
3119
|
-
};
|
3120
|
-
type Options = {
|
3121
|
-
expand: Array<"property">;
|
3122
|
-
} & JUHUU.RequestOptions;
|
3123
|
-
type Response = {
|
3124
|
-
connector: JUHUU.Connector.Object;
|
3125
|
-
};
|
3126
|
-
}
|
3127
|
-
export namespace List {
|
3128
|
-
type Params = {
|
3129
|
-
propertyId?: string;
|
3130
|
-
};
|
3131
|
-
type Options = JUHUU.RequestOptions;
|
3132
|
-
type Response = JUHUU.Connector.Object[];
|
3133
|
-
}
|
3134
|
-
export namespace Update {
|
3135
|
-
type Params = {
|
3136
|
-
connectorId: string;
|
3137
|
-
name?: string;
|
3138
|
-
description?: string | null;
|
3139
|
-
connectionMode?: "alwaysOnline" | "temporaryOnline";
|
3140
|
-
simId?: string | null;
|
3141
|
-
};
|
3142
|
-
type Options = JUHUU.RequestOptions;
|
3143
|
-
type Response = {
|
3144
|
-
connector: JUHUU.Connector.Object;
|
3145
|
-
};
|
3146
|
-
}
|
3147
|
-
export namespace Delete {
|
3148
|
-
type Params = {
|
3149
|
-
connectorId: string;
|
3150
|
-
};
|
3151
|
-
type Options = JUHUU.RequestOptions;
|
3152
|
-
type Response = JUHUU.Connector.Object;
|
3153
|
-
}
|
3154
|
-
export { };
|
3155
|
-
}
|
3156
3054
|
namespace Event {
|
3157
3055
|
type Base = {
|
3158
3056
|
id: string;
|
@@ -3226,7 +3124,7 @@ declare namespace JUHUU {
|
|
3226
3124
|
};
|
3227
3125
|
type Options = JUHUU.RequestOptions;
|
3228
3126
|
type Response = {
|
3229
|
-
connector: JUHUU.
|
3127
|
+
connector: JUHUU.Incident.Object;
|
3230
3128
|
};
|
3231
3129
|
}
|
3232
3130
|
export namespace Retrieve {
|
@@ -3529,6 +3427,7 @@ declare namespace JUHUU {
|
|
3529
3427
|
namespace Create {
|
3530
3428
|
type Params = {
|
3531
3429
|
propertyId: string;
|
3430
|
+
name?: string;
|
3532
3431
|
};
|
3533
3432
|
type Options = JUHUU.RequestOptions;
|
3534
3433
|
type Response = {
|
@@ -3734,7 +3633,23 @@ declare namespace JUHUU {
|
|
3734
3633
|
propertyId?: string;
|
3735
3634
|
};
|
3736
3635
|
type Options = JUHUU.RequestOptions;
|
3737
|
-
type Response =
|
3636
|
+
type Response = {
|
3637
|
+
simArray: JUHUU.Sim.Object[];
|
3638
|
+
count: number;
|
3639
|
+
hasMore: boolean;
|
3640
|
+
};
|
3641
|
+
}
|
3642
|
+
namespace Update {
|
3643
|
+
type Params = {
|
3644
|
+
simId: string;
|
3645
|
+
name?: string;
|
3646
|
+
description?: string | null;
|
3647
|
+
dataQuotaThresholdPercentage?: number | null;
|
3648
|
+
};
|
3649
|
+
type Options = JUHUU.RequestOptions;
|
3650
|
+
type Response = {
|
3651
|
+
sim: JUHUU.Sim.Object;
|
3652
|
+
};
|
3738
3653
|
}
|
3739
3654
|
namespace UpdateFromProvider {
|
3740
3655
|
type Params = {
|
package/dist/index.d.ts
CHANGED
@@ -642,6 +642,7 @@ declare class PropertiesService extends Service {
|
|
642
642
|
retrieveStripeSubscriptionStartUrl(PropertyRetrieveStripeSubscriptionStartUrlParams: JUHUU.Property.RetrieveStripeSubscriptionStartUrl.Params, PropertyRetrieveStripeSubscriptionStartUrlOptions?: JUHUU.Property.RetrieveStripeSubscriptionStartUrl.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.RetrieveStripeSubscriptionStartUrl.Response>>;
|
643
643
|
enableCapability(PropertyEnableCapabilityParams: JUHUU.Property.EnableCapability.Params, PropertyEnableCapabilityOptions?: JUHUU.Property.EnableCapability.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.EnableCapability.Response>>;
|
644
644
|
acceptLatestAgreement(PropertyAcceptLatestAgreementParams: JUHUU.Property.AcceptLatestAgreement.Params, PropertyAcceptLatestAgreementOptions?: JUHUU.Property.AcceptLatestAgreement.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.AcceptLatestAgreement.Response>>;
|
645
|
+
delete(PropertyDeleteParams: JUHUU.Property.Delete.Params, PropertyDeleteOptions?: JUHUU.Property.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Delete.Response>>;
|
645
646
|
}
|
646
647
|
|
647
648
|
declare class PointsService extends Service {
|
@@ -741,17 +742,9 @@ declare class AccountingAreasService extends Service {
|
|
741
742
|
delete(AccountingAreaDeleteParams: JUHUU.AccountingArea.Delete.Params, AccountingAreaDeleteOptions?: JUHUU.AccountingArea.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Delete.Response>>;
|
742
743
|
}
|
743
744
|
|
744
|
-
declare class ConnectorsService extends Service {
|
745
|
-
constructor(config: JUHUU.SetupConfig);
|
746
|
-
create(ConnectorCreateParams: JUHUU.Connector.Create.Params, ConnectorCreateOptions?: JUHUU.Connector.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Create.Response>>;
|
747
|
-
retrieve(ConnectorRetrieveParams: JUHUU.Connector.Retrieve.Params, ConnectorRetrieveOptions?: JUHUU.Connector.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Retrieve.Response>>;
|
748
|
-
list(ConnectorListParams: JUHUU.Connector.List.Params, ConnectorListOptions?: JUHUU.Connector.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.List.Response>>;
|
749
|
-
update(ConnectorUpdateParams: JUHUU.Connector.Update.Params, ConnectorUpdateOptions?: JUHUU.Connector.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Update.Response>>;
|
750
|
-
delete(ConnectorDeleteParams: JUHUU.Connector.Delete.Params, ConnectorDeleteOptions?: JUHUU.Connector.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Delete.Response>>;
|
751
|
-
}
|
752
|
-
|
753
745
|
declare class PayoutsService extends Service {
|
754
746
|
constructor(config: JUHUU.SetupConfig);
|
747
|
+
create(PayoutCreateParams: JUHUU.Payout.Create.Params, PayoutCreateOptions?: JUHUU.Payout.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.Create.Response>>;
|
755
748
|
retrieve(PayoutRetrieveParams: JUHUU.Payout.Retrieve.Params, PayoutRetrieveOptions?: JUHUU.Payout.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.Retrieve.Response>>;
|
756
749
|
list(PayoutListParams: JUHUU.Payout.List.Params, PayoutListOptions?: JUHUU.Payout.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.List.Response>>;
|
757
750
|
}
|
@@ -767,6 +760,7 @@ declare class SimsService extends Service {
|
|
767
760
|
create(SimCreateParams: JUHUU.Sim.Create.Params, SimCreateOptions?: JUHUU.Sim.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Create.Response>>;
|
768
761
|
retrieve(SimRetrieveParams: JUHUU.Sim.Retrieve.Params, SimRetrieveOptions?: JUHUU.Sim.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Retrieve.Response>>;
|
769
762
|
list(SimListParams: JUHUU.Sim.List.Params, SimListOptions?: JUHUU.Sim.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.List.Response>>;
|
763
|
+
update(SimUpdateParams: JUHUU.Sim.Update.Params, SimUpdateOptions?: JUHUU.Sim.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Update.Response>>;
|
770
764
|
updateFromProvider(SimUpdateFromProviderParams: JUHUU.Sim.UpdateFromProvider.Params, SimUpdateFromProviderOptions?: JUHUU.Sim.UpdateFromProvider.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.UpdateFromProvider.Response>>;
|
771
765
|
delete(SimDeleteParams: JUHUU.Sim.Delete.Params, SimDeleteOptions?: JUHUU.Sim.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Delete.Response>>;
|
772
766
|
}
|
@@ -817,12 +811,6 @@ declare class ArticleEmbeddingsService extends Service {
|
|
817
811
|
retrieve(ArticleEmbeddingRetrieveParams: JUHUU.ArticleEmbedding.Retrieve.Params, ArticleEmbeddingRetrieveOptions?: JUHUU.ArticleEmbedding.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ArticleEmbedding.Retrieve.Response>>;
|
818
812
|
}
|
819
813
|
|
820
|
-
declare class BoldLockService extends Service {
|
821
|
-
constructor(config: JUHUU.SetupConfig);
|
822
|
-
credentials(BoldLockCredentialsParams: JUHUU.BoldLock.Credentials.Params, BoldLockCredentialsOptions?: JUHUU.BoldLock.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.BoldLock.Credentials.Response>>;
|
823
|
-
grantAccess(BoldLockGrantAccessParams: JUHUU.BoldLock.GrantAccess.Params, BoldLockGrantAccessOptions?: JUHUU.BoldLock.GrantAccess.Options): Promise<JUHUU.HttpResponse<JUHUU.BoldLock.GrantAccess.Response>>;
|
824
|
-
}
|
825
|
-
|
826
814
|
declare class TapkeyService extends Service {
|
827
815
|
constructor(config: JUHUU.SetupConfig);
|
828
816
|
credentials(TapkeyCredentialsParams: JUHUU.Tapkey.Credentials.Params, TapkeyCredentialsOptions?: JUHUU.Tapkey.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.Tapkey.Credentials.Response>>;
|
@@ -905,6 +893,11 @@ declare class ParameterAnomalyGroupTrackersService extends Service {
|
|
905
893
|
delete(ParameterAnomalyGroupTrackerDeleteParams: JUHUU.ParameterAnomalyGroupTracker.Delete.Params, ParameterAnomalyGroupTrackerDeleteOptions?: JUHUU.ParameterAnomalyGroupTracker.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroupTracker.Delete.Response>>;
|
906
894
|
}
|
907
895
|
|
896
|
+
declare class EmzService extends Service {
|
897
|
+
constructor(config: JUHUU.SetupConfig);
|
898
|
+
credentials(EmzCredentialsParams: JUHUU.Emz.Credentials.Params, EmzCredentialsOptions?: JUHUU.Emz.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.Emz.Credentials.Response>>;
|
899
|
+
}
|
900
|
+
|
908
901
|
declare class Juhuu {
|
909
902
|
constructor(config: JUHUU.SetupConfig);
|
910
903
|
/**
|
@@ -925,7 +918,6 @@ declare class Juhuu {
|
|
925
918
|
readonly products: ProductService;
|
926
919
|
readonly settings: SettingsService;
|
927
920
|
readonly accountingAreas: AccountingAreasService;
|
928
|
-
readonly connectors: ConnectorsService;
|
929
921
|
readonly payouts: PayoutsService;
|
930
922
|
readonly connectorMessages: ConnectorMessagesService;
|
931
923
|
readonly sims: SimsService;
|
@@ -934,7 +926,6 @@ declare class Juhuu {
|
|
934
926
|
readonly chats: ChatsService;
|
935
927
|
readonly chatMessages: ChatMessagesService;
|
936
928
|
readonly articleEmbeddings: ArticleEmbeddingsService;
|
937
|
-
readonly boldLock: BoldLockService;
|
938
929
|
readonly tapkey: TapkeyService;
|
939
930
|
readonly articleGroups: ArticleGroupGroupsService;
|
940
931
|
readonly parameterHistories: ParameterHistoriesService;
|
@@ -944,6 +935,7 @@ declare class Juhuu {
|
|
944
935
|
readonly incidents: IncidentsService;
|
945
936
|
readonly parameterAnomalyGroups: ParameterAnomalyGroupsService;
|
946
937
|
readonly parameterAnomalyGroupTrackers: ParameterAnomalyGroupTrackersService;
|
938
|
+
readonly emz: EmzService;
|
947
939
|
}
|
948
940
|
declare namespace JUHUU {
|
949
941
|
interface SetupConfig {
|
@@ -1396,28 +1388,17 @@ declare namespace JUHUU {
|
|
1396
1388
|
}
|
1397
1389
|
export { };
|
1398
1390
|
}
|
1399
|
-
namespace
|
1391
|
+
namespace Emz {
|
1400
1392
|
namespace Credentials {
|
1401
1393
|
type Params = {
|
1402
|
-
userId: string;
|
1403
1394
|
deviceId: string;
|
1404
1395
|
};
|
1405
1396
|
type Options = JUHUU.RequestOptions;
|
1406
1397
|
type Response = {
|
1407
|
-
|
1408
|
-
|
1409
|
-
boldAuthorizationCode: string;
|
1410
|
-
boldRedirectUri: string;
|
1411
|
-
};
|
1412
|
-
}
|
1413
|
-
namespace GrantAccess {
|
1414
|
-
type Params = {
|
1398
|
+
targetHardwareId: string;
|
1399
|
+
contractId: string;
|
1415
1400
|
userId: string;
|
1416
|
-
|
1417
|
-
};
|
1418
|
-
type Options = JUHUU.RequestOptions;
|
1419
|
-
type Response = {
|
1420
|
-
device: JUHUU.Device.Object;
|
1401
|
+
token: string;
|
1421
1402
|
};
|
1422
1403
|
}
|
1423
1404
|
}
|
@@ -2365,6 +2346,13 @@ declare namespace JUHUU {
|
|
2365
2346
|
property: JUHUU.Property.Object;
|
2366
2347
|
};
|
2367
2348
|
}
|
2349
|
+
export namespace Delete {
|
2350
|
+
type Params = {
|
2351
|
+
propertyId: string;
|
2352
|
+
};
|
2353
|
+
type Options = JUHUU.RequestOptions;
|
2354
|
+
type Response = JUHUU.Property.Object;
|
2355
|
+
}
|
2368
2356
|
export { };
|
2369
2357
|
}
|
2370
2358
|
namespace Point {
|
@@ -2446,6 +2434,18 @@ declare namespace JUHUU {
|
|
2446
2434
|
creditNotePdfId: string;
|
2447
2435
|
stripeConnectedAccountId: string;
|
2448
2436
|
};
|
2437
|
+
namespace Create {
|
2438
|
+
type Params = {
|
2439
|
+
propertyId: string;
|
2440
|
+
fromDate: number;
|
2441
|
+
toDate: number;
|
2442
|
+
statementDescription: string;
|
2443
|
+
};
|
2444
|
+
type Options = JUHUU.RequestOptions;
|
2445
|
+
type Response = {
|
2446
|
+
payout: JUHUU.Payout.Object;
|
2447
|
+
};
|
2448
|
+
}
|
2449
2449
|
namespace Retrieve {
|
2450
2450
|
type Params = {
|
2451
2451
|
payoutId: string;
|
@@ -2974,7 +2974,6 @@ declare namespace JUHUU {
|
|
2974
2974
|
device: JUHUU.Device.Object;
|
2975
2975
|
deviceTemplate?: JUHUU.DeviceTemplate.Object;
|
2976
2976
|
property?: JUHUU.Property.Object;
|
2977
|
-
connector?: JUHUU.Connector.Object;
|
2978
2977
|
};
|
2979
2978
|
}
|
2980
2979
|
namespace List {
|
@@ -3052,107 +3051,6 @@ declare namespace JUHUU {
|
|
3052
3051
|
type Response = JUHUU.Device.Object;
|
3053
3052
|
}
|
3054
3053
|
}
|
3055
|
-
namespace Connector {
|
3056
|
-
type Base = {
|
3057
|
-
id: string;
|
3058
|
-
readonly object: "connector";
|
3059
|
-
status: "online" | "offline";
|
3060
|
-
description: string | null;
|
3061
|
-
name: string;
|
3062
|
-
propertyId: string;
|
3063
|
-
lastOutboundAt: Date | null;
|
3064
|
-
lastInboundAt: Date | null;
|
3065
|
-
connectionMode: "alwaysOnline" | "temporaryOnline";
|
3066
|
-
version: number;
|
3067
|
-
simId: string | null;
|
3068
|
-
};
|
3069
|
-
export interface Mqtt extends Base {
|
3070
|
-
type: "mqtt";
|
3071
|
-
username: string;
|
3072
|
-
password: string;
|
3073
|
-
clientId: string;
|
3074
|
-
host: string;
|
3075
|
-
port: number;
|
3076
|
-
mqttRetain: boolean;
|
3077
|
-
mqttQos: "0" | "1" | "2";
|
3078
|
-
acls: AccessControlListElement[];
|
3079
|
-
}
|
3080
|
-
export interface BoldLock extends Base {
|
3081
|
-
type: "boldLock";
|
3082
|
-
boldClientId: string;
|
3083
|
-
boldClientSecret: string;
|
3084
|
-
boldOrganizationId: number;
|
3085
|
-
boldDeviceId: number;
|
3086
|
-
}
|
3087
|
-
export interface Tapkey extends Base {
|
3088
|
-
type: "tapkey";
|
3089
|
-
tapkeyBase64PysicalLockId: string;
|
3090
|
-
tapkeyOwnerAccountId: string;
|
3091
|
-
tapkeyIpId: string;
|
3092
|
-
tapkeyBoundLockId: string;
|
3093
|
-
}
|
3094
|
-
export type Object = Mqtt | BoldLock | Tapkey;
|
3095
|
-
export namespace Create {
|
3096
|
-
type Params = {
|
3097
|
-
propertyId: string;
|
3098
|
-
name?: string;
|
3099
|
-
username?: string;
|
3100
|
-
password?: string;
|
3101
|
-
clientId?: string;
|
3102
|
-
host?: string;
|
3103
|
-
port?: number;
|
3104
|
-
mqttRetain?: boolean;
|
3105
|
-
mqttQos?: "0" | "1" | "2";
|
3106
|
-
description?: string;
|
3107
|
-
simId?: string;
|
3108
|
-
connectionMode?: "alwaysOnline" | "temporaryOnline";
|
3109
|
-
type: JUHUU.Connector.Object["type"];
|
3110
|
-
};
|
3111
|
-
type Options = JUHUU.RequestOptions;
|
3112
|
-
type Response = {
|
3113
|
-
connector: JUHUU.Connector.Object;
|
3114
|
-
};
|
3115
|
-
}
|
3116
|
-
export namespace Retrieve {
|
3117
|
-
type Params = {
|
3118
|
-
connectorId: string;
|
3119
|
-
};
|
3120
|
-
type Options = {
|
3121
|
-
expand: Array<"property">;
|
3122
|
-
} & JUHUU.RequestOptions;
|
3123
|
-
type Response = {
|
3124
|
-
connector: JUHUU.Connector.Object;
|
3125
|
-
};
|
3126
|
-
}
|
3127
|
-
export namespace List {
|
3128
|
-
type Params = {
|
3129
|
-
propertyId?: string;
|
3130
|
-
};
|
3131
|
-
type Options = JUHUU.RequestOptions;
|
3132
|
-
type Response = JUHUU.Connector.Object[];
|
3133
|
-
}
|
3134
|
-
export namespace Update {
|
3135
|
-
type Params = {
|
3136
|
-
connectorId: string;
|
3137
|
-
name?: string;
|
3138
|
-
description?: string | null;
|
3139
|
-
connectionMode?: "alwaysOnline" | "temporaryOnline";
|
3140
|
-
simId?: string | null;
|
3141
|
-
};
|
3142
|
-
type Options = JUHUU.RequestOptions;
|
3143
|
-
type Response = {
|
3144
|
-
connector: JUHUU.Connector.Object;
|
3145
|
-
};
|
3146
|
-
}
|
3147
|
-
export namespace Delete {
|
3148
|
-
type Params = {
|
3149
|
-
connectorId: string;
|
3150
|
-
};
|
3151
|
-
type Options = JUHUU.RequestOptions;
|
3152
|
-
type Response = JUHUU.Connector.Object;
|
3153
|
-
}
|
3154
|
-
export { };
|
3155
|
-
}
|
3156
3054
|
namespace Event {
|
3157
3055
|
type Base = {
|
3158
3056
|
id: string;
|
@@ -3226,7 +3124,7 @@ declare namespace JUHUU {
|
|
3226
3124
|
};
|
3227
3125
|
type Options = JUHUU.RequestOptions;
|
3228
3126
|
type Response = {
|
3229
|
-
connector: JUHUU.
|
3127
|
+
connector: JUHUU.Incident.Object;
|
3230
3128
|
};
|
3231
3129
|
}
|
3232
3130
|
export namespace Retrieve {
|
@@ -3529,6 +3427,7 @@ declare namespace JUHUU {
|
|
3529
3427
|
namespace Create {
|
3530
3428
|
type Params = {
|
3531
3429
|
propertyId: string;
|
3430
|
+
name?: string;
|
3532
3431
|
};
|
3533
3432
|
type Options = JUHUU.RequestOptions;
|
3534
3433
|
type Response = {
|
@@ -3734,7 +3633,23 @@ declare namespace JUHUU {
|
|
3734
3633
|
propertyId?: string;
|
3735
3634
|
};
|
3736
3635
|
type Options = JUHUU.RequestOptions;
|
3737
|
-
type Response =
|
3636
|
+
type Response = {
|
3637
|
+
simArray: JUHUU.Sim.Object[];
|
3638
|
+
count: number;
|
3639
|
+
hasMore: boolean;
|
3640
|
+
};
|
3641
|
+
}
|
3642
|
+
namespace Update {
|
3643
|
+
type Params = {
|
3644
|
+
simId: string;
|
3645
|
+
name?: string;
|
3646
|
+
description?: string | null;
|
3647
|
+
dataQuotaThresholdPercentage?: number | null;
|
3648
|
+
};
|
3649
|
+
type Options = JUHUU.RequestOptions;
|
3650
|
+
type Response = {
|
3651
|
+
sim: JUHUU.Sim.Object;
|
3652
|
+
};
|
3738
3653
|
}
|
3739
3654
|
namespace UpdateFromProvider {
|
3740
3655
|
type Params = {
|
package/dist/index.js
CHANGED
@@ -1100,6 +1100,17 @@ var PropertiesService = class extends Service {
|
|
1100
1100
|
PropertyAcceptLatestAgreementOptions
|
1101
1101
|
);
|
1102
1102
|
}
|
1103
|
+
async delete(PropertyDeleteParams, PropertyDeleteOptions) {
|
1104
|
+
return await super.sendRequest(
|
1105
|
+
{
|
1106
|
+
method: "DELETE",
|
1107
|
+
url: "properties/" + PropertyDeleteParams.propertyId,
|
1108
|
+
authenticationNotOptional: true,
|
1109
|
+
body: void 0
|
1110
|
+
},
|
1111
|
+
PropertyDeleteOptions
|
1112
|
+
);
|
1113
|
+
}
|
1103
1114
|
};
|
1104
1115
|
|
1105
1116
|
// src/points/points.service.ts
|
@@ -1916,100 +1927,27 @@ var AccountingAreasService = class extends Service {
|
|
1916
1927
|
}
|
1917
1928
|
};
|
1918
1929
|
|
1919
|
-
// src/
|
1920
|
-
var
|
1930
|
+
// src/payouts/payouts.service.ts
|
1931
|
+
var PayoutsService = class extends Service {
|
1921
1932
|
constructor(config) {
|
1922
1933
|
super(config);
|
1923
1934
|
}
|
1924
|
-
async create(
|
1935
|
+
async create(PayoutCreateParams, PayoutCreateOptions) {
|
1925
1936
|
return await super.sendRequest(
|
1926
1937
|
{
|
1927
1938
|
method: "POST",
|
1928
|
-
url: "
|
1929
|
-
body: {
|
1930
|
-
propertyId: ConnectorCreateParams.propertyId,
|
1931
|
-
name: ConnectorCreateParams.name,
|
1932
|
-
username: ConnectorCreateParams.username,
|
1933
|
-
password: ConnectorCreateParams.password,
|
1934
|
-
clientId: ConnectorCreateParams.clientId,
|
1935
|
-
host: ConnectorCreateParams.host,
|
1936
|
-
port: ConnectorCreateParams.port,
|
1937
|
-
mqttRetain: ConnectorCreateParams.mqttRetain,
|
1938
|
-
mqttQos: ConnectorCreateParams.mqttQos,
|
1939
|
-
description: ConnectorCreateParams.description,
|
1940
|
-
simId: ConnectorCreateParams.simId,
|
1941
|
-
connectionMode: ConnectorCreateParams.connectionMode,
|
1942
|
-
type: ConnectorCreateParams.type
|
1943
|
-
},
|
1944
|
-
authenticationNotOptional: true
|
1945
|
-
},
|
1946
|
-
ConnectorCreateOptions
|
1947
|
-
);
|
1948
|
-
}
|
1949
|
-
async retrieve(ConnectorRetrieveParams, ConnectorRetrieveOptions) {
|
1950
|
-
const queryArray = [];
|
1951
|
-
if (ConnectorRetrieveOptions?.expand !== void 0) {
|
1952
|
-
queryArray.push("expand=" + ConnectorRetrieveOptions.expand.join(","));
|
1953
|
-
}
|
1954
|
-
return await super.sendRequest(
|
1955
|
-
{
|
1956
|
-
method: "GET",
|
1957
|
-
url: "connectors/" + ConnectorRetrieveParams.connectorId + "?" + queryArray.join("&"),
|
1958
|
-
body: void 0,
|
1959
|
-
authenticationNotOptional: false
|
1960
|
-
},
|
1961
|
-
ConnectorRetrieveOptions
|
1962
|
-
);
|
1963
|
-
}
|
1964
|
-
async list(ConnectorListParams, ConnectorListOptions) {
|
1965
|
-
const queryArray = [];
|
1966
|
-
if (ConnectorListParams?.propertyId !== void 0) {
|
1967
|
-
queryArray.push("propertyId=" + ConnectorListParams.propertyId);
|
1968
|
-
}
|
1969
|
-
return await super.sendRequest(
|
1970
|
-
{
|
1971
|
-
method: "GET",
|
1972
|
-
url: "connectors?" + queryArray.join("&"),
|
1973
|
-
body: void 0,
|
1974
|
-
authenticationNotOptional: false
|
1975
|
-
},
|
1976
|
-
ConnectorListOptions
|
1977
|
-
);
|
1978
|
-
}
|
1979
|
-
async update(ConnectorUpdateParams, ConnectorUpdateOptions) {
|
1980
|
-
return await super.sendRequest(
|
1981
|
-
{
|
1982
|
-
method: "PATCH",
|
1983
|
-
url: "connectors/" + ConnectorUpdateParams.connectorId,
|
1939
|
+
url: "payouts",
|
1984
1940
|
body: {
|
1985
|
-
|
1986
|
-
|
1987
|
-
|
1988
|
-
|
1941
|
+
propertyId: PayoutCreateParams.propertyId,
|
1942
|
+
fromDate: PayoutCreateParams.fromDate,
|
1943
|
+
toDate: PayoutCreateParams.toDate,
|
1944
|
+
statementDescription: PayoutCreateParams.statementDescription
|
1989
1945
|
},
|
1990
1946
|
authenticationNotOptional: true
|
1991
1947
|
},
|
1992
|
-
|
1948
|
+
PayoutCreateOptions
|
1993
1949
|
);
|
1994
1950
|
}
|
1995
|
-
async delete(ConnectorDeleteParams, ConnectorDeleteOptions) {
|
1996
|
-
return await super.sendRequest(
|
1997
|
-
{
|
1998
|
-
method: "DELETE",
|
1999
|
-
url: "connectors/" + ConnectorDeleteParams.connectorId,
|
2000
|
-
authenticationNotOptional: true,
|
2001
|
-
body: void 0
|
2002
|
-
},
|
2003
|
-
ConnectorDeleteOptions
|
2004
|
-
);
|
2005
|
-
}
|
2006
|
-
};
|
2007
|
-
|
2008
|
-
// src/payouts/payouts.service.ts
|
2009
|
-
var PayoutsService = class extends Service {
|
2010
|
-
constructor(config) {
|
2011
|
-
super(config);
|
2012
|
-
}
|
2013
1951
|
async retrieve(PayoutRetrieveParams, PayoutRetrieveOptions) {
|
2014
1952
|
const queryArray = [];
|
2015
1953
|
if (PayoutRetrieveOptions?.expand !== void 0) {
|
@@ -2131,6 +2069,21 @@ var SimsService = class extends Service {
|
|
2131
2069
|
SimListOptions
|
2132
2070
|
);
|
2133
2071
|
}
|
2072
|
+
async update(SimUpdateParams, SimUpdateOptions) {
|
2073
|
+
return await super.sendRequest(
|
2074
|
+
{
|
2075
|
+
method: "PATCH",
|
2076
|
+
url: "sims/" + SimUpdateParams.simId,
|
2077
|
+
body: {
|
2078
|
+
name: SimUpdateParams.name,
|
2079
|
+
description: SimUpdateParams.description,
|
2080
|
+
dataQuotaThresholdPercentage: SimUpdateParams.dataQuotaThresholdPercentage
|
2081
|
+
},
|
2082
|
+
authenticationNotOptional: true
|
2083
|
+
},
|
2084
|
+
SimUpdateOptions
|
2085
|
+
);
|
2086
|
+
}
|
2134
2087
|
async updateFromProvider(SimUpdateFromProviderParams, SimUpdateFromProviderOptions) {
|
2135
2088
|
return await super.sendRequest(
|
2136
2089
|
{
|
@@ -2588,43 +2541,6 @@ var ArticleEmbeddingsService = class extends Service {
|
|
2588
2541
|
}
|
2589
2542
|
};
|
2590
2543
|
|
2591
|
-
// src/boldLock/boldLock.service.ts
|
2592
|
-
var BoldLockService = class extends Service {
|
2593
|
-
constructor(config) {
|
2594
|
-
super(config);
|
2595
|
-
}
|
2596
|
-
async credentials(BoldLockCredentialsParams, BoldLockCredentialsOptions) {
|
2597
|
-
const queryArray = [];
|
2598
|
-
return await super.sendRequest(
|
2599
|
-
{
|
2600
|
-
method: "POST",
|
2601
|
-
url: "boldLock/credentials",
|
2602
|
-
body: {
|
2603
|
-
userId: BoldLockCredentialsParams.userId,
|
2604
|
-
deviceId: BoldLockCredentialsParams.deviceId
|
2605
|
-
},
|
2606
|
-
authenticationNotOptional: true
|
2607
|
-
},
|
2608
|
-
BoldLockCredentialsOptions
|
2609
|
-
);
|
2610
|
-
}
|
2611
|
-
async grantAccess(BoldLockGrantAccessParams, BoldLockGrantAccessOptions) {
|
2612
|
-
const queryArray = [];
|
2613
|
-
return await super.sendRequest(
|
2614
|
-
{
|
2615
|
-
method: "POST",
|
2616
|
-
url: "boldLock/grantAccess",
|
2617
|
-
body: {
|
2618
|
-
userId: BoldLockGrantAccessParams.userId,
|
2619
|
-
deviceId: BoldLockGrantAccessParams.deviceId
|
2620
|
-
},
|
2621
|
-
authenticationNotOptional: true
|
2622
|
-
},
|
2623
|
-
BoldLockGrantAccessOptions
|
2624
|
-
);
|
2625
|
-
}
|
2626
|
-
};
|
2627
|
-
|
2628
2544
|
// src/tapkey/tapkey.service.ts
|
2629
2545
|
var TapkeyService = class extends Service {
|
2630
2546
|
constructor(config) {
|
@@ -3407,6 +3323,27 @@ var ParameterAnomalyGroupTrackersService = class extends Service {
|
|
3407
3323
|
}
|
3408
3324
|
};
|
3409
3325
|
|
3326
|
+
// src/emz/emz.service.ts
|
3327
|
+
var EmzService = class extends Service {
|
3328
|
+
constructor(config) {
|
3329
|
+
super(config);
|
3330
|
+
}
|
3331
|
+
async credentials(EmzCredentialsParams, EmzCredentialsOptions) {
|
3332
|
+
const queryArray = [];
|
3333
|
+
return await super.sendRequest(
|
3334
|
+
{
|
3335
|
+
method: "POST",
|
3336
|
+
url: "emz/credentials",
|
3337
|
+
body: {
|
3338
|
+
deviceId: EmzCredentialsParams.deviceId
|
3339
|
+
},
|
3340
|
+
authenticationNotOptional: true
|
3341
|
+
},
|
3342
|
+
EmzCredentialsOptions
|
3343
|
+
);
|
3344
|
+
}
|
3345
|
+
};
|
3346
|
+
|
3410
3347
|
// src/types/types.ts
|
3411
3348
|
var LanguageCodeArray = [
|
3412
3349
|
"en",
|
@@ -3571,7 +3508,6 @@ var Juhuu = class {
|
|
3571
3508
|
this.products = new ProductService(config);
|
3572
3509
|
this.settings = new SettingsService(config);
|
3573
3510
|
this.accountingAreas = new AccountingAreasService(config);
|
3574
|
-
this.connectors = new ConnectorsService(config);
|
3575
3511
|
this.payouts = new PayoutsService(config);
|
3576
3512
|
this.connectorMessages = new ConnectorMessagesService(config);
|
3577
3513
|
this.sims = new SimsService(config);
|
@@ -3580,7 +3516,6 @@ var Juhuu = class {
|
|
3580
3516
|
this.chats = new ChatsService(config);
|
3581
3517
|
this.chatMessages = new ChatMessagesService(config);
|
3582
3518
|
this.articleEmbeddings = new ArticleEmbeddingsService(config);
|
3583
|
-
this.boldLock = new BoldLockService(config);
|
3584
3519
|
this.tapkey = new TapkeyService(config);
|
3585
3520
|
this.articleGroups = new ArticleGroupGroupsService(config);
|
3586
3521
|
this.parameterHistories = new ParameterHistoriesService(config);
|
@@ -3591,6 +3526,7 @@ var Juhuu = class {
|
|
3591
3526
|
this.incidents = new IncidentsService(config);
|
3592
3527
|
this.parameterAnomalyGroups = new ParameterAnomalyGroupsService(config);
|
3593
3528
|
this.parameterAnomalyGroupTrackers = new ParameterAnomalyGroupTrackersService(config);
|
3529
|
+
this.emz = new EmzService(config);
|
3594
3530
|
}
|
3595
3531
|
/**
|
3596
3532
|
* Top Level Resources
|
@@ -3610,7 +3546,6 @@ var Juhuu = class {
|
|
3610
3546
|
products;
|
3611
3547
|
settings;
|
3612
3548
|
accountingAreas;
|
3613
|
-
connectors;
|
3614
3549
|
payouts;
|
3615
3550
|
connectorMessages;
|
3616
3551
|
sims;
|
@@ -3619,7 +3554,6 @@ var Juhuu = class {
|
|
3619
3554
|
chats;
|
3620
3555
|
chatMessages;
|
3621
3556
|
articleEmbeddings;
|
3622
|
-
boldLock;
|
3623
3557
|
tapkey;
|
3624
3558
|
articleGroups;
|
3625
3559
|
parameterHistories;
|
@@ -3629,6 +3563,7 @@ var Juhuu = class {
|
|
3629
3563
|
incidents;
|
3630
3564
|
parameterAnomalyGroups;
|
3631
3565
|
parameterAnomalyGroupTrackers;
|
3566
|
+
emz;
|
3632
3567
|
};
|
3633
3568
|
var JUHUU;
|
3634
3569
|
((JUHUU2) => {
|
package/dist/index.mjs
CHANGED
@@ -1056,6 +1056,17 @@ var PropertiesService = class extends Service {
|
|
1056
1056
|
PropertyAcceptLatestAgreementOptions
|
1057
1057
|
);
|
1058
1058
|
}
|
1059
|
+
async delete(PropertyDeleteParams, PropertyDeleteOptions) {
|
1060
|
+
return await super.sendRequest(
|
1061
|
+
{
|
1062
|
+
method: "DELETE",
|
1063
|
+
url: "properties/" + PropertyDeleteParams.propertyId,
|
1064
|
+
authenticationNotOptional: true,
|
1065
|
+
body: void 0
|
1066
|
+
},
|
1067
|
+
PropertyDeleteOptions
|
1068
|
+
);
|
1069
|
+
}
|
1059
1070
|
};
|
1060
1071
|
|
1061
1072
|
// src/points/points.service.ts
|
@@ -1872,100 +1883,27 @@ var AccountingAreasService = class extends Service {
|
|
1872
1883
|
}
|
1873
1884
|
};
|
1874
1885
|
|
1875
|
-
// src/
|
1876
|
-
var
|
1886
|
+
// src/payouts/payouts.service.ts
|
1887
|
+
var PayoutsService = class extends Service {
|
1877
1888
|
constructor(config) {
|
1878
1889
|
super(config);
|
1879
1890
|
}
|
1880
|
-
async create(
|
1891
|
+
async create(PayoutCreateParams, PayoutCreateOptions) {
|
1881
1892
|
return await super.sendRequest(
|
1882
1893
|
{
|
1883
1894
|
method: "POST",
|
1884
|
-
url: "
|
1885
|
-
body: {
|
1886
|
-
propertyId: ConnectorCreateParams.propertyId,
|
1887
|
-
name: ConnectorCreateParams.name,
|
1888
|
-
username: ConnectorCreateParams.username,
|
1889
|
-
password: ConnectorCreateParams.password,
|
1890
|
-
clientId: ConnectorCreateParams.clientId,
|
1891
|
-
host: ConnectorCreateParams.host,
|
1892
|
-
port: ConnectorCreateParams.port,
|
1893
|
-
mqttRetain: ConnectorCreateParams.mqttRetain,
|
1894
|
-
mqttQos: ConnectorCreateParams.mqttQos,
|
1895
|
-
description: ConnectorCreateParams.description,
|
1896
|
-
simId: ConnectorCreateParams.simId,
|
1897
|
-
connectionMode: ConnectorCreateParams.connectionMode,
|
1898
|
-
type: ConnectorCreateParams.type
|
1899
|
-
},
|
1900
|
-
authenticationNotOptional: true
|
1901
|
-
},
|
1902
|
-
ConnectorCreateOptions
|
1903
|
-
);
|
1904
|
-
}
|
1905
|
-
async retrieve(ConnectorRetrieveParams, ConnectorRetrieveOptions) {
|
1906
|
-
const queryArray = [];
|
1907
|
-
if (ConnectorRetrieveOptions?.expand !== void 0) {
|
1908
|
-
queryArray.push("expand=" + ConnectorRetrieveOptions.expand.join(","));
|
1909
|
-
}
|
1910
|
-
return await super.sendRequest(
|
1911
|
-
{
|
1912
|
-
method: "GET",
|
1913
|
-
url: "connectors/" + ConnectorRetrieveParams.connectorId + "?" + queryArray.join("&"),
|
1914
|
-
body: void 0,
|
1915
|
-
authenticationNotOptional: false
|
1916
|
-
},
|
1917
|
-
ConnectorRetrieveOptions
|
1918
|
-
);
|
1919
|
-
}
|
1920
|
-
async list(ConnectorListParams, ConnectorListOptions) {
|
1921
|
-
const queryArray = [];
|
1922
|
-
if (ConnectorListParams?.propertyId !== void 0) {
|
1923
|
-
queryArray.push("propertyId=" + ConnectorListParams.propertyId);
|
1924
|
-
}
|
1925
|
-
return await super.sendRequest(
|
1926
|
-
{
|
1927
|
-
method: "GET",
|
1928
|
-
url: "connectors?" + queryArray.join("&"),
|
1929
|
-
body: void 0,
|
1930
|
-
authenticationNotOptional: false
|
1931
|
-
},
|
1932
|
-
ConnectorListOptions
|
1933
|
-
);
|
1934
|
-
}
|
1935
|
-
async update(ConnectorUpdateParams, ConnectorUpdateOptions) {
|
1936
|
-
return await super.sendRequest(
|
1937
|
-
{
|
1938
|
-
method: "PATCH",
|
1939
|
-
url: "connectors/" + ConnectorUpdateParams.connectorId,
|
1895
|
+
url: "payouts",
|
1940
1896
|
body: {
|
1941
|
-
|
1942
|
-
|
1943
|
-
|
1944
|
-
|
1897
|
+
propertyId: PayoutCreateParams.propertyId,
|
1898
|
+
fromDate: PayoutCreateParams.fromDate,
|
1899
|
+
toDate: PayoutCreateParams.toDate,
|
1900
|
+
statementDescription: PayoutCreateParams.statementDescription
|
1945
1901
|
},
|
1946
1902
|
authenticationNotOptional: true
|
1947
1903
|
},
|
1948
|
-
|
1904
|
+
PayoutCreateOptions
|
1949
1905
|
);
|
1950
1906
|
}
|
1951
|
-
async delete(ConnectorDeleteParams, ConnectorDeleteOptions) {
|
1952
|
-
return await super.sendRequest(
|
1953
|
-
{
|
1954
|
-
method: "DELETE",
|
1955
|
-
url: "connectors/" + ConnectorDeleteParams.connectorId,
|
1956
|
-
authenticationNotOptional: true,
|
1957
|
-
body: void 0
|
1958
|
-
},
|
1959
|
-
ConnectorDeleteOptions
|
1960
|
-
);
|
1961
|
-
}
|
1962
|
-
};
|
1963
|
-
|
1964
|
-
// src/payouts/payouts.service.ts
|
1965
|
-
var PayoutsService = class extends Service {
|
1966
|
-
constructor(config) {
|
1967
|
-
super(config);
|
1968
|
-
}
|
1969
1907
|
async retrieve(PayoutRetrieveParams, PayoutRetrieveOptions) {
|
1970
1908
|
const queryArray = [];
|
1971
1909
|
if (PayoutRetrieveOptions?.expand !== void 0) {
|
@@ -2087,6 +2025,21 @@ var SimsService = class extends Service {
|
|
2087
2025
|
SimListOptions
|
2088
2026
|
);
|
2089
2027
|
}
|
2028
|
+
async update(SimUpdateParams, SimUpdateOptions) {
|
2029
|
+
return await super.sendRequest(
|
2030
|
+
{
|
2031
|
+
method: "PATCH",
|
2032
|
+
url: "sims/" + SimUpdateParams.simId,
|
2033
|
+
body: {
|
2034
|
+
name: SimUpdateParams.name,
|
2035
|
+
description: SimUpdateParams.description,
|
2036
|
+
dataQuotaThresholdPercentage: SimUpdateParams.dataQuotaThresholdPercentage
|
2037
|
+
},
|
2038
|
+
authenticationNotOptional: true
|
2039
|
+
},
|
2040
|
+
SimUpdateOptions
|
2041
|
+
);
|
2042
|
+
}
|
2090
2043
|
async updateFromProvider(SimUpdateFromProviderParams, SimUpdateFromProviderOptions) {
|
2091
2044
|
return await super.sendRequest(
|
2092
2045
|
{
|
@@ -2544,43 +2497,6 @@ var ArticleEmbeddingsService = class extends Service {
|
|
2544
2497
|
}
|
2545
2498
|
};
|
2546
2499
|
|
2547
|
-
// src/boldLock/boldLock.service.ts
|
2548
|
-
var BoldLockService = class extends Service {
|
2549
|
-
constructor(config) {
|
2550
|
-
super(config);
|
2551
|
-
}
|
2552
|
-
async credentials(BoldLockCredentialsParams, BoldLockCredentialsOptions) {
|
2553
|
-
const queryArray = [];
|
2554
|
-
return await super.sendRequest(
|
2555
|
-
{
|
2556
|
-
method: "POST",
|
2557
|
-
url: "boldLock/credentials",
|
2558
|
-
body: {
|
2559
|
-
userId: BoldLockCredentialsParams.userId,
|
2560
|
-
deviceId: BoldLockCredentialsParams.deviceId
|
2561
|
-
},
|
2562
|
-
authenticationNotOptional: true
|
2563
|
-
},
|
2564
|
-
BoldLockCredentialsOptions
|
2565
|
-
);
|
2566
|
-
}
|
2567
|
-
async grantAccess(BoldLockGrantAccessParams, BoldLockGrantAccessOptions) {
|
2568
|
-
const queryArray = [];
|
2569
|
-
return await super.sendRequest(
|
2570
|
-
{
|
2571
|
-
method: "POST",
|
2572
|
-
url: "boldLock/grantAccess",
|
2573
|
-
body: {
|
2574
|
-
userId: BoldLockGrantAccessParams.userId,
|
2575
|
-
deviceId: BoldLockGrantAccessParams.deviceId
|
2576
|
-
},
|
2577
|
-
authenticationNotOptional: true
|
2578
|
-
},
|
2579
|
-
BoldLockGrantAccessOptions
|
2580
|
-
);
|
2581
|
-
}
|
2582
|
-
};
|
2583
|
-
|
2584
2500
|
// src/tapkey/tapkey.service.ts
|
2585
2501
|
var TapkeyService = class extends Service {
|
2586
2502
|
constructor(config) {
|
@@ -3363,6 +3279,27 @@ var ParameterAnomalyGroupTrackersService = class extends Service {
|
|
3363
3279
|
}
|
3364
3280
|
};
|
3365
3281
|
|
3282
|
+
// src/emz/emz.service.ts
|
3283
|
+
var EmzService = class extends Service {
|
3284
|
+
constructor(config) {
|
3285
|
+
super(config);
|
3286
|
+
}
|
3287
|
+
async credentials(EmzCredentialsParams, EmzCredentialsOptions) {
|
3288
|
+
const queryArray = [];
|
3289
|
+
return await super.sendRequest(
|
3290
|
+
{
|
3291
|
+
method: "POST",
|
3292
|
+
url: "emz/credentials",
|
3293
|
+
body: {
|
3294
|
+
deviceId: EmzCredentialsParams.deviceId
|
3295
|
+
},
|
3296
|
+
authenticationNotOptional: true
|
3297
|
+
},
|
3298
|
+
EmzCredentialsOptions
|
3299
|
+
);
|
3300
|
+
}
|
3301
|
+
};
|
3302
|
+
|
3366
3303
|
// src/types/types.ts
|
3367
3304
|
var LanguageCodeArray = [
|
3368
3305
|
"en",
|
@@ -3527,7 +3464,6 @@ var Juhuu = class {
|
|
3527
3464
|
this.products = new ProductService(config);
|
3528
3465
|
this.settings = new SettingsService(config);
|
3529
3466
|
this.accountingAreas = new AccountingAreasService(config);
|
3530
|
-
this.connectors = new ConnectorsService(config);
|
3531
3467
|
this.payouts = new PayoutsService(config);
|
3532
3468
|
this.connectorMessages = new ConnectorMessagesService(config);
|
3533
3469
|
this.sims = new SimsService(config);
|
@@ -3536,7 +3472,6 @@ var Juhuu = class {
|
|
3536
3472
|
this.chats = new ChatsService(config);
|
3537
3473
|
this.chatMessages = new ChatMessagesService(config);
|
3538
3474
|
this.articleEmbeddings = new ArticleEmbeddingsService(config);
|
3539
|
-
this.boldLock = new BoldLockService(config);
|
3540
3475
|
this.tapkey = new TapkeyService(config);
|
3541
3476
|
this.articleGroups = new ArticleGroupGroupsService(config);
|
3542
3477
|
this.parameterHistories = new ParameterHistoriesService(config);
|
@@ -3547,6 +3482,7 @@ var Juhuu = class {
|
|
3547
3482
|
this.incidents = new IncidentsService(config);
|
3548
3483
|
this.parameterAnomalyGroups = new ParameterAnomalyGroupsService(config);
|
3549
3484
|
this.parameterAnomalyGroupTrackers = new ParameterAnomalyGroupTrackersService(config);
|
3485
|
+
this.emz = new EmzService(config);
|
3550
3486
|
}
|
3551
3487
|
/**
|
3552
3488
|
* Top Level Resources
|
@@ -3566,7 +3502,6 @@ var Juhuu = class {
|
|
3566
3502
|
products;
|
3567
3503
|
settings;
|
3568
3504
|
accountingAreas;
|
3569
|
-
connectors;
|
3570
3505
|
payouts;
|
3571
3506
|
connectorMessages;
|
3572
3507
|
sims;
|
@@ -3575,7 +3510,6 @@ var Juhuu = class {
|
|
3575
3510
|
chats;
|
3576
3511
|
chatMessages;
|
3577
3512
|
articleEmbeddings;
|
3578
|
-
boldLock;
|
3579
3513
|
tapkey;
|
3580
3514
|
articleGroups;
|
3581
3515
|
parameterHistories;
|
@@ -3585,6 +3519,7 @@ var Juhuu = class {
|
|
3585
3519
|
incidents;
|
3586
3520
|
parameterAnomalyGroups;
|
3587
3521
|
parameterAnomalyGroupTrackers;
|
3522
|
+
emz;
|
3588
3523
|
};
|
3589
3524
|
var JUHUU;
|
3590
3525
|
((JUHUU2) => {
|