@juhuu/sdk-ts 1.2.0 → 1.2.2
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 +76 -1
- package/dist/index.d.ts +76 -1
- package/dist/index.js +76 -0
- package/dist/index.mjs +76 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -255,6 +255,7 @@ type AccessControlListElement = {
|
|
255
255
|
topic: string;
|
256
256
|
acc: number;
|
257
257
|
};
|
258
|
+
type SimStatus = "online" | "offline";
|
258
259
|
type Parameter = {
|
259
260
|
name: string;
|
260
261
|
type: "number";
|
@@ -686,6 +687,20 @@ declare class PayoutsService extends Service {
|
|
686
687
|
list(PayoutListParams: JUHUU.Payout.List.Params, PayoutListOptions?: JUHUU.Payout.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.List.Response>>;
|
687
688
|
}
|
688
689
|
|
690
|
+
declare class ConnectorMessagesService extends Service {
|
691
|
+
constructor(config: JUHUU.SetupConfig);
|
692
|
+
create(): Promise<void>;
|
693
|
+
retrieve(ConnectorMessageRetrieveParams: JUHUU.ConnectorMessage.Retrieve.Params, ConnectorMessageRetrieveOptions?: JUHUU.ConnectorMessage.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ConnectorMessage.Retrieve.Response>>;
|
694
|
+
list(ConnectorMessageListParams: JUHUU.ConnectorMessage.List.Params, ConnectorMessageListOptions?: JUHUU.ConnectorMessage.List.Options): Promise<JUHUU.HttpResponse<JUHUU.ConnectorMessage.List.Response>>;
|
695
|
+
}
|
696
|
+
|
697
|
+
declare class SimsService extends Service {
|
698
|
+
constructor(config: JUHUU.SetupConfig);
|
699
|
+
create(): Promise<void>;
|
700
|
+
retrieve(SimRetrieveParams: JUHUU.Sim.Retrieve.Params, SimRetrieveOptions?: JUHUU.Sim.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Retrieve.Response>>;
|
701
|
+
list(SimListParams: JUHUU.Sim.List.Params, SimListOptions?: JUHUU.Sim.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.List.Response>>;
|
702
|
+
}
|
703
|
+
|
689
704
|
declare class Juhuu {
|
690
705
|
constructor(config: JUHUU.SetupConfig);
|
691
706
|
/**
|
@@ -707,6 +722,8 @@ declare class Juhuu {
|
|
707
722
|
readonly accountingAreas: AccountingAreasService;
|
708
723
|
readonly connectors: ConnectorsService;
|
709
724
|
readonly payouts: PayoutsService;
|
725
|
+
readonly connectorMessages: ConnectorMessagesService;
|
726
|
+
readonly sims: SimsService;
|
710
727
|
}
|
711
728
|
declare namespace JUHUU {
|
712
729
|
interface SetupConfig {
|
@@ -1776,6 +1793,64 @@ declare namespace JUHUU {
|
|
1776
1793
|
type Response = JUHUU.DeviceTemplate.Object[];
|
1777
1794
|
}
|
1778
1795
|
}
|
1796
|
+
namespace Sim {
|
1797
|
+
type Object = {
|
1798
|
+
id: string;
|
1799
|
+
readonly object: "sim";
|
1800
|
+
iccid: string;
|
1801
|
+
status: SimStatus;
|
1802
|
+
provider: "1nce" | null;
|
1803
|
+
countryCode: CountryCode | null;
|
1804
|
+
imei: string | null;
|
1805
|
+
propertyId: string;
|
1806
|
+
description: string | null;
|
1807
|
+
name: string;
|
1808
|
+
};
|
1809
|
+
namespace Retrieve {
|
1810
|
+
type Params = {
|
1811
|
+
simId: string;
|
1812
|
+
};
|
1813
|
+
type Options = JUHUU.RequestOptions;
|
1814
|
+
type Response = {
|
1815
|
+
sim: JUHUU.Sim.Object;
|
1816
|
+
};
|
1817
|
+
}
|
1818
|
+
namespace List {
|
1819
|
+
type Params = {
|
1820
|
+
propertyId?: string;
|
1821
|
+
};
|
1822
|
+
type Options = JUHUU.RequestOptions;
|
1823
|
+
type Response = JUHUU.Sim.Object[];
|
1824
|
+
}
|
1825
|
+
}
|
1826
|
+
namespace ConnectorMessage {
|
1827
|
+
type Object = {
|
1828
|
+
id: string;
|
1829
|
+
readonly object: "connectorMessage";
|
1830
|
+
message: string;
|
1831
|
+
connectorId: string;
|
1832
|
+
direction: "inbound" | "outbound";
|
1833
|
+
createdAt: Date;
|
1834
|
+
deviceId: string | null;
|
1835
|
+
propertyId: string;
|
1836
|
+
};
|
1837
|
+
namespace Retrieve {
|
1838
|
+
type Params = {
|
1839
|
+
connectorMessageId: string;
|
1840
|
+
};
|
1841
|
+
type Options = JUHUU.RequestOptions;
|
1842
|
+
type Response = {
|
1843
|
+
connectorMessage: JUHUU.ConnectorMessage.Object;
|
1844
|
+
};
|
1845
|
+
}
|
1846
|
+
namespace List {
|
1847
|
+
type Params = {
|
1848
|
+
propertyId?: string;
|
1849
|
+
};
|
1850
|
+
type Options = JUHUU.RequestOptions;
|
1851
|
+
type Response = JUHUU.ConnectorMessage.Object[];
|
1852
|
+
}
|
1853
|
+
}
|
1779
1854
|
}
|
1780
1855
|
|
1781
|
-
export { type AccessControlListElement, type Address, type AutoRenewMode, type BusinessType, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FuelType, type GeneralSettings, type GeoPoint, type IntegrationState, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Node$1 as Node, type Offer, type OfferTime, type Parameter, type Party, type PaymentMethod, type PaymentReason, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformUrl, type PostingRow, Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyIntegrationStateArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundReason, type RefundStatus, type Sector, type ServiceMonth, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, type Settings, type StarRating, type TarifType, type TimeZone, type Unit, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type hexColor };
|
1856
|
+
export { type AccessControlListElement, type Address, type AutoRenewMode, type BusinessType, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FuelType, type GeneralSettings, type GeoPoint, type IntegrationState, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Node$1 as Node, type Offer, type OfferTime, type Parameter, type Party, type PaymentMethod, type PaymentReason, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformUrl, type PostingRow, Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyIntegrationStateArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundReason, type RefundStatus, type Sector, type ServiceMonth, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, type Settings, type SimStatus, type StarRating, type TarifType, type TimeZone, type Unit, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type hexColor };
|
package/dist/index.d.ts
CHANGED
@@ -255,6 +255,7 @@ type AccessControlListElement = {
|
|
255
255
|
topic: string;
|
256
256
|
acc: number;
|
257
257
|
};
|
258
|
+
type SimStatus = "online" | "offline";
|
258
259
|
type Parameter = {
|
259
260
|
name: string;
|
260
261
|
type: "number";
|
@@ -686,6 +687,20 @@ declare class PayoutsService extends Service {
|
|
686
687
|
list(PayoutListParams: JUHUU.Payout.List.Params, PayoutListOptions?: JUHUU.Payout.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.List.Response>>;
|
687
688
|
}
|
688
689
|
|
690
|
+
declare class ConnectorMessagesService extends Service {
|
691
|
+
constructor(config: JUHUU.SetupConfig);
|
692
|
+
create(): Promise<void>;
|
693
|
+
retrieve(ConnectorMessageRetrieveParams: JUHUU.ConnectorMessage.Retrieve.Params, ConnectorMessageRetrieveOptions?: JUHUU.ConnectorMessage.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ConnectorMessage.Retrieve.Response>>;
|
694
|
+
list(ConnectorMessageListParams: JUHUU.ConnectorMessage.List.Params, ConnectorMessageListOptions?: JUHUU.ConnectorMessage.List.Options): Promise<JUHUU.HttpResponse<JUHUU.ConnectorMessage.List.Response>>;
|
695
|
+
}
|
696
|
+
|
697
|
+
declare class SimsService extends Service {
|
698
|
+
constructor(config: JUHUU.SetupConfig);
|
699
|
+
create(): Promise<void>;
|
700
|
+
retrieve(SimRetrieveParams: JUHUU.Sim.Retrieve.Params, SimRetrieveOptions?: JUHUU.Sim.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Retrieve.Response>>;
|
701
|
+
list(SimListParams: JUHUU.Sim.List.Params, SimListOptions?: JUHUU.Sim.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.List.Response>>;
|
702
|
+
}
|
703
|
+
|
689
704
|
declare class Juhuu {
|
690
705
|
constructor(config: JUHUU.SetupConfig);
|
691
706
|
/**
|
@@ -707,6 +722,8 @@ declare class Juhuu {
|
|
707
722
|
readonly accountingAreas: AccountingAreasService;
|
708
723
|
readonly connectors: ConnectorsService;
|
709
724
|
readonly payouts: PayoutsService;
|
725
|
+
readonly connectorMessages: ConnectorMessagesService;
|
726
|
+
readonly sims: SimsService;
|
710
727
|
}
|
711
728
|
declare namespace JUHUU {
|
712
729
|
interface SetupConfig {
|
@@ -1776,6 +1793,64 @@ declare namespace JUHUU {
|
|
1776
1793
|
type Response = JUHUU.DeviceTemplate.Object[];
|
1777
1794
|
}
|
1778
1795
|
}
|
1796
|
+
namespace Sim {
|
1797
|
+
type Object = {
|
1798
|
+
id: string;
|
1799
|
+
readonly object: "sim";
|
1800
|
+
iccid: string;
|
1801
|
+
status: SimStatus;
|
1802
|
+
provider: "1nce" | null;
|
1803
|
+
countryCode: CountryCode | null;
|
1804
|
+
imei: string | null;
|
1805
|
+
propertyId: string;
|
1806
|
+
description: string | null;
|
1807
|
+
name: string;
|
1808
|
+
};
|
1809
|
+
namespace Retrieve {
|
1810
|
+
type Params = {
|
1811
|
+
simId: string;
|
1812
|
+
};
|
1813
|
+
type Options = JUHUU.RequestOptions;
|
1814
|
+
type Response = {
|
1815
|
+
sim: JUHUU.Sim.Object;
|
1816
|
+
};
|
1817
|
+
}
|
1818
|
+
namespace List {
|
1819
|
+
type Params = {
|
1820
|
+
propertyId?: string;
|
1821
|
+
};
|
1822
|
+
type Options = JUHUU.RequestOptions;
|
1823
|
+
type Response = JUHUU.Sim.Object[];
|
1824
|
+
}
|
1825
|
+
}
|
1826
|
+
namespace ConnectorMessage {
|
1827
|
+
type Object = {
|
1828
|
+
id: string;
|
1829
|
+
readonly object: "connectorMessage";
|
1830
|
+
message: string;
|
1831
|
+
connectorId: string;
|
1832
|
+
direction: "inbound" | "outbound";
|
1833
|
+
createdAt: Date;
|
1834
|
+
deviceId: string | null;
|
1835
|
+
propertyId: string;
|
1836
|
+
};
|
1837
|
+
namespace Retrieve {
|
1838
|
+
type Params = {
|
1839
|
+
connectorMessageId: string;
|
1840
|
+
};
|
1841
|
+
type Options = JUHUU.RequestOptions;
|
1842
|
+
type Response = {
|
1843
|
+
connectorMessage: JUHUU.ConnectorMessage.Object;
|
1844
|
+
};
|
1845
|
+
}
|
1846
|
+
namespace List {
|
1847
|
+
type Params = {
|
1848
|
+
propertyId?: string;
|
1849
|
+
};
|
1850
|
+
type Options = JUHUU.RequestOptions;
|
1851
|
+
type Response = JUHUU.ConnectorMessage.Object[];
|
1852
|
+
}
|
1853
|
+
}
|
1779
1854
|
}
|
1780
1855
|
|
1781
|
-
export { type AccessControlListElement, type Address, type AutoRenewMode, type BusinessType, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FuelType, type GeneralSettings, type GeoPoint, type IntegrationState, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Node$1 as Node, type Offer, type OfferTime, type Parameter, type Party, type PaymentMethod, type PaymentReason, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformUrl, type PostingRow, Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyIntegrationStateArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundReason, type RefundStatus, type Sector, type ServiceMonth, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, type Settings, type StarRating, type TarifType, type TimeZone, type Unit, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type hexColor };
|
1856
|
+
export { type AccessControlListElement, type Address, type AutoRenewMode, type BusinessType, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FuelType, type GeneralSettings, type GeoPoint, type IntegrationState, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Node$1 as Node, type Offer, type OfferTime, type Parameter, type Party, type PaymentMethod, type PaymentReason, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformUrl, type PostingRow, Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyIntegrationStateArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundReason, type RefundStatus, type Sector, type ServiceMonth, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, type Settings, type SimStatus, type StarRating, type TarifType, type TimeZone, type Unit, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type hexColor };
|
package/dist/index.js
CHANGED
@@ -1309,6 +1309,78 @@ var PayoutsService = class extends Service {
|
|
1309
1309
|
}
|
1310
1310
|
};
|
1311
1311
|
|
1312
|
+
// src/connectorMessages/connectorMessages.service.ts
|
1313
|
+
var ConnectorMessagesService = class extends Service {
|
1314
|
+
constructor(config) {
|
1315
|
+
super(config);
|
1316
|
+
}
|
1317
|
+
async create() {
|
1318
|
+
}
|
1319
|
+
async retrieve(ConnectorMessageRetrieveParams, ConnectorMessageRetrieveOptions) {
|
1320
|
+
const queryArray = [];
|
1321
|
+
return await super.sendRequest(
|
1322
|
+
{
|
1323
|
+
method: "GET",
|
1324
|
+
url: "connectorMessages/" + ConnectorMessageRetrieveParams.connectorMessageId + "?" + queryArray.join("&"),
|
1325
|
+
body: void 0,
|
1326
|
+
useAuthentication: false
|
1327
|
+
},
|
1328
|
+
ConnectorMessageRetrieveOptions
|
1329
|
+
);
|
1330
|
+
}
|
1331
|
+
async list(ConnectorMessageListParams, ConnectorMessageListOptions) {
|
1332
|
+
const queryArray = [];
|
1333
|
+
if (ConnectorMessageListParams?.propertyId !== void 0) {
|
1334
|
+
queryArray.push("propertyId=" + ConnectorMessageListParams.propertyId);
|
1335
|
+
}
|
1336
|
+
return await super.sendRequest(
|
1337
|
+
{
|
1338
|
+
method: "GET",
|
1339
|
+
url: "connectorMessages?" + queryArray.join("&"),
|
1340
|
+
body: void 0,
|
1341
|
+
useAuthentication: false
|
1342
|
+
},
|
1343
|
+
ConnectorMessageListOptions
|
1344
|
+
);
|
1345
|
+
}
|
1346
|
+
};
|
1347
|
+
|
1348
|
+
// src/sims/sims.service.ts
|
1349
|
+
var SimsService = class extends Service {
|
1350
|
+
constructor(config) {
|
1351
|
+
super(config);
|
1352
|
+
}
|
1353
|
+
async create() {
|
1354
|
+
}
|
1355
|
+
async retrieve(SimRetrieveParams, SimRetrieveOptions) {
|
1356
|
+
const queryArray = [];
|
1357
|
+
return await super.sendRequest(
|
1358
|
+
{
|
1359
|
+
method: "GET",
|
1360
|
+
url: "sims/" + SimRetrieveParams.simId + "?" + queryArray.join("&"),
|
1361
|
+
body: void 0,
|
1362
|
+
useAuthentication: false
|
1363
|
+
},
|
1364
|
+
SimRetrieveOptions
|
1365
|
+
);
|
1366
|
+
}
|
1367
|
+
async list(SimListParams, SimListOptions) {
|
1368
|
+
const queryArray = [];
|
1369
|
+
if (SimListParams?.propertyId !== void 0) {
|
1370
|
+
queryArray.push("propertyId=" + SimListParams.propertyId);
|
1371
|
+
}
|
1372
|
+
return await super.sendRequest(
|
1373
|
+
{
|
1374
|
+
method: "GET",
|
1375
|
+
url: "sims?" + queryArray.join("&"),
|
1376
|
+
body: void 0,
|
1377
|
+
useAuthentication: false
|
1378
|
+
},
|
1379
|
+
SimListOptions
|
1380
|
+
);
|
1381
|
+
}
|
1382
|
+
};
|
1383
|
+
|
1312
1384
|
// src/types/types.ts
|
1313
1385
|
var LanguageCodeArray = [
|
1314
1386
|
"en",
|
@@ -1479,6 +1551,8 @@ var Juhuu = class {
|
|
1479
1551
|
this.accountingAreas = new AccountingAreasService(config);
|
1480
1552
|
this.connectors = new ConnectorsService(config);
|
1481
1553
|
this.payouts = new PayoutsService(config);
|
1554
|
+
this.connectorMessages = new ConnectorMessagesService(config);
|
1555
|
+
this.sims = new SimsService(config);
|
1482
1556
|
}
|
1483
1557
|
/**
|
1484
1558
|
* Top Level Resources
|
@@ -1499,6 +1573,8 @@ var Juhuu = class {
|
|
1499
1573
|
accountingAreas;
|
1500
1574
|
connectors;
|
1501
1575
|
payouts;
|
1576
|
+
connectorMessages;
|
1577
|
+
sims;
|
1502
1578
|
};
|
1503
1579
|
var JUHUU;
|
1504
1580
|
((JUHUU2) => {
|
package/dist/index.mjs
CHANGED
@@ -1264,6 +1264,78 @@ var PayoutsService = class extends Service {
|
|
1264
1264
|
}
|
1265
1265
|
};
|
1266
1266
|
|
1267
|
+
// src/connectorMessages/connectorMessages.service.ts
|
1268
|
+
var ConnectorMessagesService = class extends Service {
|
1269
|
+
constructor(config) {
|
1270
|
+
super(config);
|
1271
|
+
}
|
1272
|
+
async create() {
|
1273
|
+
}
|
1274
|
+
async retrieve(ConnectorMessageRetrieveParams, ConnectorMessageRetrieveOptions) {
|
1275
|
+
const queryArray = [];
|
1276
|
+
return await super.sendRequest(
|
1277
|
+
{
|
1278
|
+
method: "GET",
|
1279
|
+
url: "connectorMessages/" + ConnectorMessageRetrieveParams.connectorMessageId + "?" + queryArray.join("&"),
|
1280
|
+
body: void 0,
|
1281
|
+
useAuthentication: false
|
1282
|
+
},
|
1283
|
+
ConnectorMessageRetrieveOptions
|
1284
|
+
);
|
1285
|
+
}
|
1286
|
+
async list(ConnectorMessageListParams, ConnectorMessageListOptions) {
|
1287
|
+
const queryArray = [];
|
1288
|
+
if (ConnectorMessageListParams?.propertyId !== void 0) {
|
1289
|
+
queryArray.push("propertyId=" + ConnectorMessageListParams.propertyId);
|
1290
|
+
}
|
1291
|
+
return await super.sendRequest(
|
1292
|
+
{
|
1293
|
+
method: "GET",
|
1294
|
+
url: "connectorMessages?" + queryArray.join("&"),
|
1295
|
+
body: void 0,
|
1296
|
+
useAuthentication: false
|
1297
|
+
},
|
1298
|
+
ConnectorMessageListOptions
|
1299
|
+
);
|
1300
|
+
}
|
1301
|
+
};
|
1302
|
+
|
1303
|
+
// src/sims/sims.service.ts
|
1304
|
+
var SimsService = class extends Service {
|
1305
|
+
constructor(config) {
|
1306
|
+
super(config);
|
1307
|
+
}
|
1308
|
+
async create() {
|
1309
|
+
}
|
1310
|
+
async retrieve(SimRetrieveParams, SimRetrieveOptions) {
|
1311
|
+
const queryArray = [];
|
1312
|
+
return await super.sendRequest(
|
1313
|
+
{
|
1314
|
+
method: "GET",
|
1315
|
+
url: "sims/" + SimRetrieveParams.simId + "?" + queryArray.join("&"),
|
1316
|
+
body: void 0,
|
1317
|
+
useAuthentication: false
|
1318
|
+
},
|
1319
|
+
SimRetrieveOptions
|
1320
|
+
);
|
1321
|
+
}
|
1322
|
+
async list(SimListParams, SimListOptions) {
|
1323
|
+
const queryArray = [];
|
1324
|
+
if (SimListParams?.propertyId !== void 0) {
|
1325
|
+
queryArray.push("propertyId=" + SimListParams.propertyId);
|
1326
|
+
}
|
1327
|
+
return await super.sendRequest(
|
1328
|
+
{
|
1329
|
+
method: "GET",
|
1330
|
+
url: "sims?" + queryArray.join("&"),
|
1331
|
+
body: void 0,
|
1332
|
+
useAuthentication: false
|
1333
|
+
},
|
1334
|
+
SimListOptions
|
1335
|
+
);
|
1336
|
+
}
|
1337
|
+
};
|
1338
|
+
|
1267
1339
|
// src/types/types.ts
|
1268
1340
|
var LanguageCodeArray = [
|
1269
1341
|
"en",
|
@@ -1434,6 +1506,8 @@ var Juhuu = class {
|
|
1434
1506
|
this.accountingAreas = new AccountingAreasService(config);
|
1435
1507
|
this.connectors = new ConnectorsService(config);
|
1436
1508
|
this.payouts = new PayoutsService(config);
|
1509
|
+
this.connectorMessages = new ConnectorMessagesService(config);
|
1510
|
+
this.sims = new SimsService(config);
|
1437
1511
|
}
|
1438
1512
|
/**
|
1439
1513
|
* Top Level Resources
|
@@ -1454,6 +1528,8 @@ var Juhuu = class {
|
|
1454
1528
|
accountingAreas;
|
1455
1529
|
connectors;
|
1456
1530
|
payouts;
|
1531
|
+
connectorMessages;
|
1532
|
+
sims;
|
1457
1533
|
};
|
1458
1534
|
var JUHUU;
|
1459
1535
|
((JUHUU2) => {
|