@juhuu/sdk-ts 1.1.8 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -251,6 +251,10 @@ declare const TimeZoneArray: readonly ["Europe/Andorra", "Asia/Dubai", "Asia/Kab
251
251
  type TimeZone = (typeof TimeZoneArray)[number];
252
252
  type StarRating = 1 | 2 | 3 | 4 | 5;
253
253
  type Unit = "meter" | "centimeter" | "millimeter" | "kilogram" | "gram" | "milligram" | "liter" | "milliliter" | "percent" | "volt" | "watt" | "ampere" | "joule" | "hertz" | "kelvin" | "celsius" | "fahrenheit" | "byte" | "bit" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year";
254
+ type AccessControlListElement = {
255
+ topic: string;
256
+ acc: number;
257
+ };
254
258
  type Parameter = {
255
259
  name: string;
256
260
  type: "number";
@@ -626,12 +630,15 @@ declare class LocationsService extends Service {
626
630
  declare class TermsService extends Service {
627
631
  constructor(config: JUHUU.SetupConfig);
628
632
  retrieve(TermRetrieveParams: JUHUU.Term.Retrieve.Params, TermRetrieveOptions?: JUHUU.Term.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.Retrieve.Response>>;
633
+ list(TermListParams: JUHUU.Term.List.Params, TermListOptions?: JUHUU.Term.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.List.Response>>;
629
634
  accept(TermAcceptParams: JUHUU.Term.Accept.Params, TermAcceptOptions?: JUHUU.Term.Accept.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.Accept.Response>>;
630
635
  }
631
636
 
632
637
  declare class TariffsService extends Service {
633
638
  constructor(config: JUHUU.SetupConfig);
634
639
  create(): Promise<void>;
640
+ retrieve(TariffRetrieveParams: JUHUU.Tariff.Retrieve.Params, TariffRetrieveOptions?: JUHUU.Tariff.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Tariff.Retrieve.Response>>;
641
+ list(TariffListParams: JUHUU.Tariff.List.Params, TariffListOptions?: JUHUU.Tariff.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Tariff.List.Response>>;
635
642
  update(): Promise<void>;
636
643
  delete(): Promise<void>;
637
644
  terminate(): Promise<void>;
@@ -661,6 +668,24 @@ declare class SettingsService extends Service {
661
668
  retrieve(): Promise<JUHUU.HttpResponse<Settings>>;
662
669
  }
663
670
 
671
+ declare class AccountingAreasService extends Service {
672
+ constructor(config: JUHUU.SetupConfig);
673
+ retrieve(AccountingAreaRetrieveParams: JUHUU.AccountingArea.Retrieve.Params, AccountingAreaRetrieveOptions?: JUHUU.AccountingArea.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Retrieve.Response>>;
674
+ list(AccountingAreaListParams: JUHUU.AccountingArea.List.Params, AccountingAreaListOptions?: JUHUU.AccountingArea.List.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.List.Response>>;
675
+ }
676
+
677
+ declare class ConnectorsService extends Service {
678
+ constructor(config: JUHUU.SetupConfig);
679
+ retrieve(ConnectorRetrieveParams: JUHUU.Connector.Retrieve.Params, ConnectorRetrieveOptions?: JUHUU.Connector.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Retrieve.Response>>;
680
+ list(ConnectorListParams: JUHUU.Connector.List.Params, ConnectorListOptions?: JUHUU.Connector.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.List.Response>>;
681
+ }
682
+
683
+ declare class PayoutsService extends Service {
684
+ constructor(config: JUHUU.SetupConfig);
685
+ retrieve(PayoutRetrieveParams: JUHUU.Payout.Retrieve.Params, PayoutRetrieveOptions?: JUHUU.Payout.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.Retrieve.Response>>;
686
+ list(PayoutListParams: JUHUU.Payout.List.Params, PayoutListOptions?: JUHUU.Payout.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.List.Response>>;
687
+ }
688
+
664
689
  declare class Juhuu {
665
690
  constructor(config: JUHUU.SetupConfig);
666
691
  /**
@@ -679,6 +704,9 @@ declare class Juhuu {
679
704
  readonly tariffs: TariffsService;
680
705
  readonly products: ProductService;
681
706
  readonly settings: SettingsService;
707
+ readonly accountingAreas: AccountingAreasService;
708
+ readonly connectors: ConnectorsService;
709
+ readonly payouts: PayoutsService;
682
710
  }
683
711
  declare namespace JUHUU {
684
712
  interface SetupConfig {
@@ -1024,6 +1052,13 @@ declare namespace JUHUU {
1024
1052
  property?: JUHUU.Property.Object;
1025
1053
  };
1026
1054
  }
1055
+ namespace List {
1056
+ type Params = {
1057
+ propertyId?: string;
1058
+ };
1059
+ type Options = JUHUU.RequestOptions;
1060
+ type Response = JUHUU.Term.Object[];
1061
+ }
1027
1062
  namespace Accept {
1028
1063
  type Params = {
1029
1064
  termId: string;
@@ -1035,6 +1070,37 @@ declare namespace JUHUU {
1035
1070
  };
1036
1071
  }
1037
1072
  }
1073
+ namespace AccountingArea {
1074
+ type Object = {
1075
+ id: string;
1076
+ name: string;
1077
+ propertyId: string;
1078
+ creditPostingRowDescription: string;
1079
+ orderNumber: string;
1080
+ BKTXT: string | null;
1081
+ SGTXT: string | null;
1082
+ ZUONR: string | null;
1083
+ };
1084
+ namespace Retrieve {
1085
+ type Params = {
1086
+ accountingAreaId: string;
1087
+ };
1088
+ type Options = {
1089
+ expand?: Array<"property">;
1090
+ } & JUHUU.RequestOptions;
1091
+ type Response = {
1092
+ accountingArea: JUHUU.AccountingArea.Object;
1093
+ property?: JUHUU.Property.Object;
1094
+ };
1095
+ }
1096
+ namespace List {
1097
+ type Params = {
1098
+ propertyId?: string;
1099
+ };
1100
+ type Options = JUHUU.RequestOptions;
1101
+ type Response = JUHUU.AccountingArea.Object[];
1102
+ }
1103
+ }
1038
1104
  namespace Tariff {
1039
1105
  type Object = {
1040
1106
  id: string;
@@ -1056,6 +1122,25 @@ declare namespace JUHUU {
1056
1122
  serviceFeeMin: number;
1057
1123
  serviceFeeMax: number;
1058
1124
  };
1125
+ namespace Retrieve {
1126
+ type Params = {
1127
+ tariffId: string;
1128
+ };
1129
+ type Options = {
1130
+ expand?: Array<"property">;
1131
+ } & JUHUU.RequestOptions;
1132
+ type Response = {
1133
+ tariff: JUHUU.Tariff.Object;
1134
+ property?: JUHUU.Property.Object;
1135
+ };
1136
+ }
1137
+ namespace List {
1138
+ type Params = {
1139
+ propertyId?: string;
1140
+ };
1141
+ type Options = JUHUU.RequestOptions;
1142
+ type Response = JUHUU.Tariff.Object[];
1143
+ }
1059
1144
  }
1060
1145
  namespace Survey {
1061
1146
  type Object = {
@@ -1211,29 +1296,54 @@ declare namespace JUHUU {
1211
1296
  id: string;
1212
1297
  status: PayoutStatus;
1213
1298
  propertyId: string;
1214
- createdAt: string;
1215
- serviceMonth: ServiceMonth;
1216
- serviceYear: number;
1217
- amountCaptured: number;
1218
- amountToPayout: number;
1299
+ createdAt: Date;
1300
+ fromDate: Date;
1301
+ toDate: Date;
1302
+ amountCapturedTotal: number;
1303
+ amountToPayoutTotal: number;
1304
+ serviceFeeTotal: number;
1305
+ transactionFeeTotal: number;
1219
1306
  transferPaymentIdArray: string[];
1220
1307
  periodPaymentIdArray: string[];
1221
1308
  stripePayoutFee: number | null;
1222
- stripePaymentIntentFees: number;
1223
1309
  stripeTransferId: string | null;
1310
+ stripeTransferFee: number | null;
1224
1311
  stripeTransferBalanceTransactionId: string | null;
1225
1312
  stripePayoutId: string | null;
1226
1313
  stripePayoutBalanceTransactionId: string | null;
1227
- lowestInvoiceNumber: number;
1228
- highestInvoiceNumber: number;
1229
- previousPayoutId: string | null;
1230
- approvedBy: string | null;
1231
- statementDescriptor: string;
1232
- items: PostingRow[];
1314
+ lowestTransferPaymentNumber: number;
1315
+ highestTransferPaymentNumber: number;
1316
+ approvedByUserId: string | null;
1317
+ createdBy: "propertyAdmin" | "system";
1318
+ createdByUserId: string | null;
1319
+ statementDescription: string;
1320
+ postingRowArray: PostingRow[];
1233
1321
  receiver: Party;
1234
- number: number | null;
1322
+ number: number;
1235
1323
  currencyCode: CurrencyCode;
1324
+ version: number;
1325
+ creditNotePdfId: string;
1326
+ stripeConnectedAccountId: string;
1236
1327
  };
1328
+ namespace Retrieve {
1329
+ type Params = {
1330
+ payoutId: string;
1331
+ };
1332
+ type Options = {
1333
+ expand?: Array<"property">;
1334
+ } & JUHUU.RequestOptions;
1335
+ type Response = {
1336
+ payout: JUHUU.Payout.Object;
1337
+ property?: JUHUU.Property.Object;
1338
+ };
1339
+ }
1340
+ namespace List {
1341
+ type Params = {
1342
+ propertyId?: string;
1343
+ };
1344
+ type Options = JUHUU.RequestOptions;
1345
+ type Response = JUHUU.Payout.Object[];
1346
+ }
1237
1347
  }
1238
1348
  namespace Payment {
1239
1349
  type Object = {
@@ -1586,26 +1696,45 @@ declare namespace JUHUU {
1586
1696
  namespace Connector {
1587
1697
  type Base = {
1588
1698
  id: string;
1699
+ readonly object: "connector";
1589
1700
  connectionStatus: "online" | "offline";
1590
1701
  description: string | null;
1591
1702
  name: string;
1592
1703
  propertyId: string;
1593
- lastOutboundAt: Date;
1594
- lastInboundAt: Date;
1704
+ lastOutboundAt: Date | null;
1705
+ lastInboundAt: Date | null;
1595
1706
  connectionMode: "alwaysOnline" | "temporaryOnline";
1707
+ version: number;
1708
+ simId: string | null;
1596
1709
  };
1597
1710
  export interface Mqtt extends Base {
1598
1711
  type: "mqtt";
1599
1712
  username: string;
1600
1713
  password: string;
1601
- simId: string;
1602
1714
  clientId: string;
1603
1715
  host: string;
1604
1716
  port: number;
1605
1717
  mqttRetain: boolean;
1606
1718
  mqttQos: "0" | "1" | "2";
1719
+ acls: AccessControlListElement[];
1607
1720
  }
1608
1721
  export type Object = Mqtt;
1722
+ export namespace Retrieve {
1723
+ type Params = {
1724
+ connectorId: string;
1725
+ };
1726
+ type Options = JUHUU.RequestOptions;
1727
+ type Response = {
1728
+ connector: JUHUU.Connector.Object;
1729
+ };
1730
+ }
1731
+ export namespace List {
1732
+ type Params = {
1733
+ propertyId?: string;
1734
+ };
1735
+ type Options = JUHUU.RequestOptions;
1736
+ type Response = JUHUU.Connector.Object[];
1737
+ }
1609
1738
  export { };
1610
1739
  }
1611
1740
  namespace DeviceTemplate {
@@ -1649,4 +1778,4 @@ declare namespace JUHUU {
1649
1778
  }
1650
1779
  }
1651
1780
 
1652
- export { 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 };
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 };
package/dist/index.d.ts CHANGED
@@ -251,6 +251,10 @@ declare const TimeZoneArray: readonly ["Europe/Andorra", "Asia/Dubai", "Asia/Kab
251
251
  type TimeZone = (typeof TimeZoneArray)[number];
252
252
  type StarRating = 1 | 2 | 3 | 4 | 5;
253
253
  type Unit = "meter" | "centimeter" | "millimeter" | "kilogram" | "gram" | "milligram" | "liter" | "milliliter" | "percent" | "volt" | "watt" | "ampere" | "joule" | "hertz" | "kelvin" | "celsius" | "fahrenheit" | "byte" | "bit" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year";
254
+ type AccessControlListElement = {
255
+ topic: string;
256
+ acc: number;
257
+ };
254
258
  type Parameter = {
255
259
  name: string;
256
260
  type: "number";
@@ -626,12 +630,15 @@ declare class LocationsService extends Service {
626
630
  declare class TermsService extends Service {
627
631
  constructor(config: JUHUU.SetupConfig);
628
632
  retrieve(TermRetrieveParams: JUHUU.Term.Retrieve.Params, TermRetrieveOptions?: JUHUU.Term.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.Retrieve.Response>>;
633
+ list(TermListParams: JUHUU.Term.List.Params, TermListOptions?: JUHUU.Term.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.List.Response>>;
629
634
  accept(TermAcceptParams: JUHUU.Term.Accept.Params, TermAcceptOptions?: JUHUU.Term.Accept.Options): Promise<JUHUU.HttpResponse<JUHUU.Term.Accept.Response>>;
630
635
  }
631
636
 
632
637
  declare class TariffsService extends Service {
633
638
  constructor(config: JUHUU.SetupConfig);
634
639
  create(): Promise<void>;
640
+ retrieve(TariffRetrieveParams: JUHUU.Tariff.Retrieve.Params, TariffRetrieveOptions?: JUHUU.Tariff.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Tariff.Retrieve.Response>>;
641
+ list(TariffListParams: JUHUU.Tariff.List.Params, TariffListOptions?: JUHUU.Tariff.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Tariff.List.Response>>;
635
642
  update(): Promise<void>;
636
643
  delete(): Promise<void>;
637
644
  terminate(): Promise<void>;
@@ -661,6 +668,24 @@ declare class SettingsService extends Service {
661
668
  retrieve(): Promise<JUHUU.HttpResponse<Settings>>;
662
669
  }
663
670
 
671
+ declare class AccountingAreasService extends Service {
672
+ constructor(config: JUHUU.SetupConfig);
673
+ retrieve(AccountingAreaRetrieveParams: JUHUU.AccountingArea.Retrieve.Params, AccountingAreaRetrieveOptions?: JUHUU.AccountingArea.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Retrieve.Response>>;
674
+ list(AccountingAreaListParams: JUHUU.AccountingArea.List.Params, AccountingAreaListOptions?: JUHUU.AccountingArea.List.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.List.Response>>;
675
+ }
676
+
677
+ declare class ConnectorsService extends Service {
678
+ constructor(config: JUHUU.SetupConfig);
679
+ retrieve(ConnectorRetrieveParams: JUHUU.Connector.Retrieve.Params, ConnectorRetrieveOptions?: JUHUU.Connector.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Retrieve.Response>>;
680
+ list(ConnectorListParams: JUHUU.Connector.List.Params, ConnectorListOptions?: JUHUU.Connector.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.List.Response>>;
681
+ }
682
+
683
+ declare class PayoutsService extends Service {
684
+ constructor(config: JUHUU.SetupConfig);
685
+ retrieve(PayoutRetrieveParams: JUHUU.Payout.Retrieve.Params, PayoutRetrieveOptions?: JUHUU.Payout.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.Retrieve.Response>>;
686
+ list(PayoutListParams: JUHUU.Payout.List.Params, PayoutListOptions?: JUHUU.Payout.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.List.Response>>;
687
+ }
688
+
664
689
  declare class Juhuu {
665
690
  constructor(config: JUHUU.SetupConfig);
666
691
  /**
@@ -679,6 +704,9 @@ declare class Juhuu {
679
704
  readonly tariffs: TariffsService;
680
705
  readonly products: ProductService;
681
706
  readonly settings: SettingsService;
707
+ readonly accountingAreas: AccountingAreasService;
708
+ readonly connectors: ConnectorsService;
709
+ readonly payouts: PayoutsService;
682
710
  }
683
711
  declare namespace JUHUU {
684
712
  interface SetupConfig {
@@ -1024,6 +1052,13 @@ declare namespace JUHUU {
1024
1052
  property?: JUHUU.Property.Object;
1025
1053
  };
1026
1054
  }
1055
+ namespace List {
1056
+ type Params = {
1057
+ propertyId?: string;
1058
+ };
1059
+ type Options = JUHUU.RequestOptions;
1060
+ type Response = JUHUU.Term.Object[];
1061
+ }
1027
1062
  namespace Accept {
1028
1063
  type Params = {
1029
1064
  termId: string;
@@ -1035,6 +1070,37 @@ declare namespace JUHUU {
1035
1070
  };
1036
1071
  }
1037
1072
  }
1073
+ namespace AccountingArea {
1074
+ type Object = {
1075
+ id: string;
1076
+ name: string;
1077
+ propertyId: string;
1078
+ creditPostingRowDescription: string;
1079
+ orderNumber: string;
1080
+ BKTXT: string | null;
1081
+ SGTXT: string | null;
1082
+ ZUONR: string | null;
1083
+ };
1084
+ namespace Retrieve {
1085
+ type Params = {
1086
+ accountingAreaId: string;
1087
+ };
1088
+ type Options = {
1089
+ expand?: Array<"property">;
1090
+ } & JUHUU.RequestOptions;
1091
+ type Response = {
1092
+ accountingArea: JUHUU.AccountingArea.Object;
1093
+ property?: JUHUU.Property.Object;
1094
+ };
1095
+ }
1096
+ namespace List {
1097
+ type Params = {
1098
+ propertyId?: string;
1099
+ };
1100
+ type Options = JUHUU.RequestOptions;
1101
+ type Response = JUHUU.AccountingArea.Object[];
1102
+ }
1103
+ }
1038
1104
  namespace Tariff {
1039
1105
  type Object = {
1040
1106
  id: string;
@@ -1056,6 +1122,25 @@ declare namespace JUHUU {
1056
1122
  serviceFeeMin: number;
1057
1123
  serviceFeeMax: number;
1058
1124
  };
1125
+ namespace Retrieve {
1126
+ type Params = {
1127
+ tariffId: string;
1128
+ };
1129
+ type Options = {
1130
+ expand?: Array<"property">;
1131
+ } & JUHUU.RequestOptions;
1132
+ type Response = {
1133
+ tariff: JUHUU.Tariff.Object;
1134
+ property?: JUHUU.Property.Object;
1135
+ };
1136
+ }
1137
+ namespace List {
1138
+ type Params = {
1139
+ propertyId?: string;
1140
+ };
1141
+ type Options = JUHUU.RequestOptions;
1142
+ type Response = JUHUU.Tariff.Object[];
1143
+ }
1059
1144
  }
1060
1145
  namespace Survey {
1061
1146
  type Object = {
@@ -1211,29 +1296,54 @@ declare namespace JUHUU {
1211
1296
  id: string;
1212
1297
  status: PayoutStatus;
1213
1298
  propertyId: string;
1214
- createdAt: string;
1215
- serviceMonth: ServiceMonth;
1216
- serviceYear: number;
1217
- amountCaptured: number;
1218
- amountToPayout: number;
1299
+ createdAt: Date;
1300
+ fromDate: Date;
1301
+ toDate: Date;
1302
+ amountCapturedTotal: number;
1303
+ amountToPayoutTotal: number;
1304
+ serviceFeeTotal: number;
1305
+ transactionFeeTotal: number;
1219
1306
  transferPaymentIdArray: string[];
1220
1307
  periodPaymentIdArray: string[];
1221
1308
  stripePayoutFee: number | null;
1222
- stripePaymentIntentFees: number;
1223
1309
  stripeTransferId: string | null;
1310
+ stripeTransferFee: number | null;
1224
1311
  stripeTransferBalanceTransactionId: string | null;
1225
1312
  stripePayoutId: string | null;
1226
1313
  stripePayoutBalanceTransactionId: string | null;
1227
- lowestInvoiceNumber: number;
1228
- highestInvoiceNumber: number;
1229
- previousPayoutId: string | null;
1230
- approvedBy: string | null;
1231
- statementDescriptor: string;
1232
- items: PostingRow[];
1314
+ lowestTransferPaymentNumber: number;
1315
+ highestTransferPaymentNumber: number;
1316
+ approvedByUserId: string | null;
1317
+ createdBy: "propertyAdmin" | "system";
1318
+ createdByUserId: string | null;
1319
+ statementDescription: string;
1320
+ postingRowArray: PostingRow[];
1233
1321
  receiver: Party;
1234
- number: number | null;
1322
+ number: number;
1235
1323
  currencyCode: CurrencyCode;
1324
+ version: number;
1325
+ creditNotePdfId: string;
1326
+ stripeConnectedAccountId: string;
1236
1327
  };
1328
+ namespace Retrieve {
1329
+ type Params = {
1330
+ payoutId: string;
1331
+ };
1332
+ type Options = {
1333
+ expand?: Array<"property">;
1334
+ } & JUHUU.RequestOptions;
1335
+ type Response = {
1336
+ payout: JUHUU.Payout.Object;
1337
+ property?: JUHUU.Property.Object;
1338
+ };
1339
+ }
1340
+ namespace List {
1341
+ type Params = {
1342
+ propertyId?: string;
1343
+ };
1344
+ type Options = JUHUU.RequestOptions;
1345
+ type Response = JUHUU.Payout.Object[];
1346
+ }
1237
1347
  }
1238
1348
  namespace Payment {
1239
1349
  type Object = {
@@ -1586,26 +1696,45 @@ declare namespace JUHUU {
1586
1696
  namespace Connector {
1587
1697
  type Base = {
1588
1698
  id: string;
1699
+ readonly object: "connector";
1589
1700
  connectionStatus: "online" | "offline";
1590
1701
  description: string | null;
1591
1702
  name: string;
1592
1703
  propertyId: string;
1593
- lastOutboundAt: Date;
1594
- lastInboundAt: Date;
1704
+ lastOutboundAt: Date | null;
1705
+ lastInboundAt: Date | null;
1595
1706
  connectionMode: "alwaysOnline" | "temporaryOnline";
1707
+ version: number;
1708
+ simId: string | null;
1596
1709
  };
1597
1710
  export interface Mqtt extends Base {
1598
1711
  type: "mqtt";
1599
1712
  username: string;
1600
1713
  password: string;
1601
- simId: string;
1602
1714
  clientId: string;
1603
1715
  host: string;
1604
1716
  port: number;
1605
1717
  mqttRetain: boolean;
1606
1718
  mqttQos: "0" | "1" | "2";
1719
+ acls: AccessControlListElement[];
1607
1720
  }
1608
1721
  export type Object = Mqtt;
1722
+ export namespace Retrieve {
1723
+ type Params = {
1724
+ connectorId: string;
1725
+ };
1726
+ type Options = JUHUU.RequestOptions;
1727
+ type Response = {
1728
+ connector: JUHUU.Connector.Object;
1729
+ };
1730
+ }
1731
+ export namespace List {
1732
+ type Params = {
1733
+ propertyId?: string;
1734
+ };
1735
+ type Options = JUHUU.RequestOptions;
1736
+ type Response = JUHUU.Connector.Object[];
1737
+ }
1609
1738
  export { };
1610
1739
  }
1611
1740
  namespace DeviceTemplate {
@@ -1649,4 +1778,4 @@ declare namespace JUHUU {
1649
1778
  }
1650
1779
  }
1651
1780
 
1652
- export { 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 };
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 };
package/dist/index.js CHANGED
@@ -992,6 +992,21 @@ var TermsService = class extends Service {
992
992
  TermRetrieveOptions
993
993
  );
994
994
  }
995
+ async list(TermListParams, TermListOptions) {
996
+ const queryArray = [];
997
+ if (TermListParams?.propertyId !== void 0) {
998
+ queryArray.push("propertyId=" + TermListParams.propertyId);
999
+ }
1000
+ return await super.sendRequest(
1001
+ {
1002
+ method: "GET",
1003
+ url: "terms?" + queryArray.join("&"),
1004
+ body: void 0,
1005
+ useAuthentication: false
1006
+ },
1007
+ TermListOptions
1008
+ );
1009
+ }
995
1010
  async accept(TermAcceptParams, TermAcceptOptions) {
996
1011
  return await super.sendRequest(
997
1012
  {
@@ -1014,37 +1029,36 @@ var TariffsService = class extends Service {
1014
1029
  }
1015
1030
  async create() {
1016
1031
  }
1017
- // async retrieve(
1018
- // TariffRetrieveParams: JUHUU.Tariff.Retrieve.Params,
1019
- // TariffRetrieveOptions?: JUHUU.Tariff.Retrieve.Options,
1020
- // ): Promise<JUHUU.HttpResponse<JUHUU.Tariff.Retrieve.Response>> {
1021
- // const queryArray: string[] = [];
1022
- // return await super.sendRequest<JUHUU.Tariff.Retrieve.Response>({
1023
- // method: "GET",
1024
- // url:
1025
- // "tariffs/" +
1026
- // TariffRetrieveParams.propertyId +
1027
- // "?" +
1028
- // queryArray.join("&"),
1029
- // body: undefined,
1030
- // useAuthentication: false,
1031
- // });
1032
- // }
1033
- // async list(
1034
- // TariffListParams: JUHUU.Tariff.List.Params,
1035
- // TariffListOptions?: JUHUU.Tariff.List.Options,
1036
- // ): Promise<JUHUU.HttpResponse<JUHUU.Tariff.List.Response>> {
1037
- // const queryArray: string[] = [];
1038
- // return await super.sendRequest<JUHUU.Tariff.List.Response>(
1039
- // {
1040
- // method: "GET",
1041
- // url: "tariffs?" + queryArray.join("&"),
1042
- // body: undefined,
1043
- // useAuthentication: false,
1044
- // },
1045
- // TariffListOptions,
1046
- // );
1047
- // }
1032
+ async retrieve(TariffRetrieveParams, TariffRetrieveOptions) {
1033
+ const queryArray = [];
1034
+ if (TariffRetrieveOptions?.expand !== void 0) {
1035
+ queryArray.push("expand=" + TariffRetrieveOptions.expand.join(","));
1036
+ }
1037
+ return await super.sendRequest(
1038
+ {
1039
+ method: "GET",
1040
+ url: "tariffs/" + TariffRetrieveParams.tariffId + "?" + queryArray.join("&"),
1041
+ body: void 0,
1042
+ useAuthentication: false
1043
+ },
1044
+ TariffRetrieveOptions
1045
+ );
1046
+ }
1047
+ async list(TariffListParams, TariffListOptions) {
1048
+ const queryArray = [];
1049
+ if (TariffListParams?.propertyId !== void 0) {
1050
+ queryArray.push("propertyId=" + TariffListParams.propertyId);
1051
+ }
1052
+ return await super.sendRequest(
1053
+ {
1054
+ method: "GET",
1055
+ url: "tariffs?" + queryArray.join("&"),
1056
+ body: void 0,
1057
+ useAuthentication: false
1058
+ },
1059
+ TariffListOptions
1060
+ );
1061
+ }
1048
1062
  async update() {
1049
1063
  }
1050
1064
  async delete() {
@@ -1137,6 +1151,9 @@ var ProductService = class extends Service {
1137
1151
  "technologyArray=" + ProductListParams.technologyArray.join(",")
1138
1152
  );
1139
1153
  }
1154
+ if (ProductListParams?.propertyId !== void 0) {
1155
+ queryArray.push("propertyId=" + ProductListParams.propertyId);
1156
+ }
1140
1157
  return await super.sendRequest(
1141
1158
  {
1142
1159
  method: "GET",
@@ -1179,6 +1196,119 @@ var SettingsService = class extends Service {
1179
1196
  }
1180
1197
  };
1181
1198
 
1199
+ // src/accountingAreas/accountingAreas.service.ts
1200
+ var AccountingAreasService = class extends Service {
1201
+ constructor(config) {
1202
+ super(config);
1203
+ }
1204
+ async retrieve(AccountingAreaRetrieveParams, AccountingAreaRetrieveOptions) {
1205
+ const queryArray = [];
1206
+ if (AccountingAreaRetrieveOptions?.expand !== void 0) {
1207
+ queryArray.push(
1208
+ "expand=" + AccountingAreaRetrieveOptions.expand.join(",")
1209
+ );
1210
+ }
1211
+ return await super.sendRequest(
1212
+ {
1213
+ method: "GET",
1214
+ url: "accountingAreas/" + AccountingAreaRetrieveParams.accountingAreaId + "?" + queryArray.join("&"),
1215
+ body: void 0,
1216
+ useAuthentication: false
1217
+ },
1218
+ AccountingAreaRetrieveOptions
1219
+ );
1220
+ }
1221
+ async list(AccountingAreaListParams, AccountingAreaListOptions) {
1222
+ const queryArray = [];
1223
+ if (AccountingAreaListParams?.propertyId !== void 0) {
1224
+ queryArray.push("propertyId=" + AccountingAreaListParams.propertyId);
1225
+ }
1226
+ return await super.sendRequest(
1227
+ {
1228
+ method: "GET",
1229
+ url: "accountingAreas?" + queryArray.join("&"),
1230
+ body: void 0,
1231
+ useAuthentication: false
1232
+ },
1233
+ AccountingAreaListOptions
1234
+ );
1235
+ }
1236
+ };
1237
+
1238
+ // src/connectors/connectors.service.ts
1239
+ var ConnectorsService = class extends Service {
1240
+ constructor(config) {
1241
+ super(config);
1242
+ }
1243
+ async retrieve(ConnectorRetrieveParams, ConnectorRetrieveOptions) {
1244
+ const queryArray = [];
1245
+ if (ConnectorRetrieveOptions?.expand !== void 0) {
1246
+ queryArray.push("expand=" + ConnectorRetrieveOptions.expand.join(","));
1247
+ }
1248
+ return await super.sendRequest(
1249
+ {
1250
+ method: "GET",
1251
+ url: "connectors/" + ConnectorRetrieveParams.connectorId + "?" + queryArray.join("&"),
1252
+ body: void 0,
1253
+ useAuthentication: false
1254
+ },
1255
+ ConnectorRetrieveOptions
1256
+ );
1257
+ }
1258
+ async list(ConnectorListParams, ConnectorListOptions) {
1259
+ const queryArray = [];
1260
+ if (ConnectorListParams?.propertyId !== void 0) {
1261
+ queryArray.push("propertyId=" + ConnectorListParams.propertyId);
1262
+ }
1263
+ return await super.sendRequest(
1264
+ {
1265
+ method: "GET",
1266
+ url: "connectors?" + queryArray.join("&"),
1267
+ body: void 0,
1268
+ useAuthentication: false
1269
+ },
1270
+ ConnectorListOptions
1271
+ );
1272
+ }
1273
+ };
1274
+
1275
+ // src/payouts/payouts.service.ts
1276
+ var PayoutsService = class extends Service {
1277
+ constructor(config) {
1278
+ super(config);
1279
+ }
1280
+ async retrieve(PayoutRetrieveParams, PayoutRetrieveOptions) {
1281
+ const queryArray = [];
1282
+ if (PayoutRetrieveOptions?.expand !== void 0) {
1283
+ queryArray.push("expand=" + PayoutRetrieveOptions.expand.join(","));
1284
+ }
1285
+ return await super.sendRequest(
1286
+ {
1287
+ method: "GET",
1288
+ url: "payouts/" + PayoutRetrieveParams.payoutId + "?" + queryArray.join("&"),
1289
+ body: void 0,
1290
+ useAuthentication: false
1291
+ },
1292
+ PayoutRetrieveOptions
1293
+ );
1294
+ }
1295
+ async list(PayoutListParams, PayoutListOptions) {
1296
+ const queryArray = [];
1297
+ if (PayoutListParams?.propertyId !== void 0) {
1298
+ queryArray.push("propertyId=" + PayoutListParams.propertyId);
1299
+ }
1300
+ return await super.sendRequest(
1301
+ {
1302
+ method: "GET",
1303
+ url: "payouts?" + queryArray.join("&"),
1304
+ body: void 0,
1305
+ useAuthentication: false
1306
+ },
1307
+ PayoutListOptions
1308
+ );
1309
+ }
1310
+ };
1311
+
1182
1312
  // src/types/types.ts
1183
1313
  var LanguageCodeArray = [
1184
1314
  "en",
@@ -1346,6 +1476,9 @@ var Juhuu = class {
1346
1476
  this.tariffs = new TariffsService(config);
1347
1477
  this.products = new ProductService(config);
1348
1478
  this.settings = new SettingsService(config);
1479
+ this.accountingAreas = new AccountingAreasService(config);
1480
+ this.connectors = new ConnectorsService(config);
1481
+ this.payouts = new PayoutsService(config);
1349
1482
  }
1350
1483
  /**
1351
1484
  * Top Level Resources
@@ -1363,6 +1496,9 @@ var Juhuu = class {
1363
1496
  tariffs;
1364
1497
  products;
1365
1498
  settings;
1499
+ accountingAreas;
1500
+ connectors;
1501
+ payouts;
1366
1502
  };
1367
1503
  var JUHUU;
1368
1504
  ((JUHUU2) => {
package/dist/index.mjs CHANGED
@@ -947,6 +947,21 @@ var TermsService = class extends Service {
947
947
  TermRetrieveOptions
948
948
  );
949
949
  }
950
+ async list(TermListParams, TermListOptions) {
951
+ const queryArray = [];
952
+ if (TermListParams?.propertyId !== void 0) {
953
+ queryArray.push("propertyId=" + TermListParams.propertyId);
954
+ }
955
+ return await super.sendRequest(
956
+ {
957
+ method: "GET",
958
+ url: "terms?" + queryArray.join("&"),
959
+ body: void 0,
960
+ useAuthentication: false
961
+ },
962
+ TermListOptions
963
+ );
964
+ }
950
965
  async accept(TermAcceptParams, TermAcceptOptions) {
951
966
  return await super.sendRequest(
952
967
  {
@@ -969,37 +984,36 @@ var TariffsService = class extends Service {
969
984
  }
970
985
  async create() {
971
986
  }
972
- // async retrieve(
973
- // TariffRetrieveParams: JUHUU.Tariff.Retrieve.Params,
974
- // TariffRetrieveOptions?: JUHUU.Tariff.Retrieve.Options,
975
- // ): Promise<JUHUU.HttpResponse<JUHUU.Tariff.Retrieve.Response>> {
976
- // const queryArray: string[] = [];
977
- // return await super.sendRequest<JUHUU.Tariff.Retrieve.Response>({
978
- // method: "GET",
979
- // url:
980
- // "tariffs/" +
981
- // TariffRetrieveParams.propertyId +
982
- // "?" +
983
- // queryArray.join("&"),
984
- // body: undefined,
985
- // useAuthentication: false,
986
- // });
987
- // }
988
- // async list(
989
- // TariffListParams: JUHUU.Tariff.List.Params,
990
- // TariffListOptions?: JUHUU.Tariff.List.Options,
991
- // ): Promise<JUHUU.HttpResponse<JUHUU.Tariff.List.Response>> {
992
- // const queryArray: string[] = [];
993
- // return await super.sendRequest<JUHUU.Tariff.List.Response>(
994
- // {
995
- // method: "GET",
996
- // url: "tariffs?" + queryArray.join("&"),
997
- // body: undefined,
998
- // useAuthentication: false,
999
- // },
1000
- // TariffListOptions,
1001
- // );
1002
- // }
987
+ async retrieve(TariffRetrieveParams, TariffRetrieveOptions) {
988
+ const queryArray = [];
989
+ if (TariffRetrieveOptions?.expand !== void 0) {
990
+ queryArray.push("expand=" + TariffRetrieveOptions.expand.join(","));
991
+ }
992
+ return await super.sendRequest(
993
+ {
994
+ method: "GET",
995
+ url: "tariffs/" + TariffRetrieveParams.tariffId + "?" + queryArray.join("&"),
996
+ body: void 0,
997
+ useAuthentication: false
998
+ },
999
+ TariffRetrieveOptions
1000
+ );
1001
+ }
1002
+ async list(TariffListParams, TariffListOptions) {
1003
+ const queryArray = [];
1004
+ if (TariffListParams?.propertyId !== void 0) {
1005
+ queryArray.push("propertyId=" + TariffListParams.propertyId);
1006
+ }
1007
+ return await super.sendRequest(
1008
+ {
1009
+ method: "GET",
1010
+ url: "tariffs?" + queryArray.join("&"),
1011
+ body: void 0,
1012
+ useAuthentication: false
1013
+ },
1014
+ TariffListOptions
1015
+ );
1016
+ }
1003
1017
  async update() {
1004
1018
  }
1005
1019
  async delete() {
@@ -1092,6 +1106,9 @@ var ProductService = class extends Service {
1092
1106
  "technologyArray=" + ProductListParams.technologyArray.join(",")
1093
1107
  );
1094
1108
  }
1109
+ if (ProductListParams?.propertyId !== void 0) {
1110
+ queryArray.push("propertyId=" + ProductListParams.propertyId);
1111
+ }
1095
1112
  return await super.sendRequest(
1096
1113
  {
1097
1114
  method: "GET",
@@ -1134,6 +1151,119 @@ var SettingsService = class extends Service {
1134
1151
  }
1135
1152
  };
1136
1153
 
1154
+ // src/accountingAreas/accountingAreas.service.ts
1155
+ var AccountingAreasService = class extends Service {
1156
+ constructor(config) {
1157
+ super(config);
1158
+ }
1159
+ async retrieve(AccountingAreaRetrieveParams, AccountingAreaRetrieveOptions) {
1160
+ const queryArray = [];
1161
+ if (AccountingAreaRetrieveOptions?.expand !== void 0) {
1162
+ queryArray.push(
1163
+ "expand=" + AccountingAreaRetrieveOptions.expand.join(",")
1164
+ );
1165
+ }
1166
+ return await super.sendRequest(
1167
+ {
1168
+ method: "GET",
1169
+ url: "accountingAreas/" + AccountingAreaRetrieveParams.accountingAreaId + "?" + queryArray.join("&"),
1170
+ body: void 0,
1171
+ useAuthentication: false
1172
+ },
1173
+ AccountingAreaRetrieveOptions
1174
+ );
1175
+ }
1176
+ async list(AccountingAreaListParams, AccountingAreaListOptions) {
1177
+ const queryArray = [];
1178
+ if (AccountingAreaListParams?.propertyId !== void 0) {
1179
+ queryArray.push("propertyId=" + AccountingAreaListParams.propertyId);
1180
+ }
1181
+ return await super.sendRequest(
1182
+ {
1183
+ method: "GET",
1184
+ url: "accountingAreas?" + queryArray.join("&"),
1185
+ body: void 0,
1186
+ useAuthentication: false
1187
+ },
1188
+ AccountingAreaListOptions
1189
+ );
1190
+ }
1191
+ };
1192
+
1193
+ // src/connectors/connectors.service.ts
1194
+ var ConnectorsService = class extends Service {
1195
+ constructor(config) {
1196
+ super(config);
1197
+ }
1198
+ async retrieve(ConnectorRetrieveParams, ConnectorRetrieveOptions) {
1199
+ const queryArray = [];
1200
+ if (ConnectorRetrieveOptions?.expand !== void 0) {
1201
+ queryArray.push("expand=" + ConnectorRetrieveOptions.expand.join(","));
1202
+ }
1203
+ return await super.sendRequest(
1204
+ {
1205
+ method: "GET",
1206
+ url: "connectors/" + ConnectorRetrieveParams.connectorId + "?" + queryArray.join("&"),
1207
+ body: void 0,
1208
+ useAuthentication: false
1209
+ },
1210
+ ConnectorRetrieveOptions
1211
+ );
1212
+ }
1213
+ async list(ConnectorListParams, ConnectorListOptions) {
1214
+ const queryArray = [];
1215
+ if (ConnectorListParams?.propertyId !== void 0) {
1216
+ queryArray.push("propertyId=" + ConnectorListParams.propertyId);
1217
+ }
1218
+ return await super.sendRequest(
1219
+ {
1220
+ method: "GET",
1221
+ url: "connectors?" + queryArray.join("&"),
1222
+ body: void 0,
1223
+ useAuthentication: false
1224
+ },
1225
+ ConnectorListOptions
1226
+ );
1227
+ }
1228
+ };
1229
+
1230
+ // src/payouts/payouts.service.ts
1231
+ var PayoutsService = class extends Service {
1232
+ constructor(config) {
1233
+ super(config);
1234
+ }
1235
+ async retrieve(PayoutRetrieveParams, PayoutRetrieveOptions) {
1236
+ const queryArray = [];
1237
+ if (PayoutRetrieveOptions?.expand !== void 0) {
1238
+ queryArray.push("expand=" + PayoutRetrieveOptions.expand.join(","));
1239
+ }
1240
+ return await super.sendRequest(
1241
+ {
1242
+ method: "GET",
1243
+ url: "payouts/" + PayoutRetrieveParams.payoutId + "?" + queryArray.join("&"),
1244
+ body: void 0,
1245
+ useAuthentication: false
1246
+ },
1247
+ PayoutRetrieveOptions
1248
+ );
1249
+ }
1250
+ async list(PayoutListParams, PayoutListOptions) {
1251
+ const queryArray = [];
1252
+ if (PayoutListParams?.propertyId !== void 0) {
1253
+ queryArray.push("propertyId=" + PayoutListParams.propertyId);
1254
+ }
1255
+ return await super.sendRequest(
1256
+ {
1257
+ method: "GET",
1258
+ url: "payouts?" + queryArray.join("&"),
1259
+ body: void 0,
1260
+ useAuthentication: false
1261
+ },
1262
+ PayoutListOptions
1263
+ );
1264
+ }
1265
+ };
1266
+
1137
1267
  // src/types/types.ts
1138
1268
  var LanguageCodeArray = [
1139
1269
  "en",
@@ -1301,6 +1431,9 @@ var Juhuu = class {
1301
1431
  this.tariffs = new TariffsService(config);
1302
1432
  this.products = new ProductService(config);
1303
1433
  this.settings = new SettingsService(config);
1434
+ this.accountingAreas = new AccountingAreasService(config);
1435
+ this.connectors = new ConnectorsService(config);
1436
+ this.payouts = new PayoutsService(config);
1304
1437
  }
1305
1438
  /**
1306
1439
  * Top Level Resources
@@ -1318,6 +1451,9 @@ var Juhuu = class {
1318
1451
  tariffs;
1319
1452
  products;
1320
1453
  settings;
1454
+ accountingAreas;
1455
+ connectors;
1456
+ payouts;
1321
1457
  };
1322
1458
  var JUHUU;
1323
1459
  ((JUHUU2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.1.008",
3
+ "version": "1.2.0",
4
4
  "description": "Typescript wrapper for juhuu services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",