@juhuu/sdk-ts 1.3.32 → 1.3.34

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
@@ -941,6 +941,7 @@ interface BenefitCardUpdateBlock extends BaseBlock {
941
941
  reference: DataEdgeConnection;
942
942
  text: DataEdgeConnection;
943
943
  metadata: DataEdgeConnection;
944
+ invalidAt: DataEdgeConnection;
944
945
  };
945
946
  out: {
946
947
  beforeBenefitCard: DataEdgeConnection;
@@ -954,6 +955,7 @@ interface BenefitCardUpdateBlock extends BaseBlock {
954
955
  reference?: string | null;
955
956
  text?: string | null;
956
957
  metadata?: Record<string, any>;
958
+ invalidAt?: Date | null;
957
959
  };
958
960
  }
959
961
  interface BenefitCardUpdateBlockInputs {
@@ -963,6 +965,7 @@ interface BenefitCardUpdateBlockInputs {
963
965
  reference?: string | null;
964
966
  text?: string | null;
965
967
  metadata?: Record<string, any>;
968
+ invalidAt?: Date | null;
966
969
  }
967
970
  interface TextMatchBlock extends BaseBlock {
968
971
  type: "text.match";
@@ -1755,8 +1758,199 @@ interface PaymentCreateBlockInputs {
1755
1758
  salesTaxPercentage?: number | null;
1756
1759
  postingRowArray?: PostingRow[] | null;
1757
1760
  }
1758
- type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | StartCronBlock | StartMqttReceiveBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ArrayLengthBlock | ArrayGetBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | SessionCreateBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | BenefitCardRetrieveBlock | BenefitCardListBlock | BenefitCardCopyBlock | BenefitCardUpdateBlock | TextMatchBlock | TextTemplateBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | Rs485SendBlock | Rs485BufferBlock | ModbusReadBlock | ModbusWriteBlock | FlowExecuteBlock | VariableSetBlock | VariableGetBlock | DelaySleepBlock | EndCustomBlock | PaymentCreateBlock;
1759
- type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | SessionCreateBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | BenefitCardRetrieveBlockInputs | BenefitCardListBlockInputs | BenefitCardCopyBlockInputs | BenefitCardUpdateBlockInputs | TextMatchBlockInputs | TextTemplateBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | Rs485SendBlockInputs | Rs485BufferBlockInputs | ModbusReadBlockInputs | ModbusWriteBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | ArrayLengthBlockInputs | ArrayGetBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | DelaySleepBlockInputs | Record<string, unknown> | PaymentCreateBlockInputs;
1761
+ interface TapkeyUnlockBlock extends BaseBlock {
1762
+ type: "tapkey.unlock";
1763
+ in: {
1764
+ deviceId: DataEdgeConnection;
1765
+ };
1766
+ out: {
1767
+ result: DataEdgeConnection;
1768
+ };
1769
+ data: {
1770
+ deviceId?: string;
1771
+ };
1772
+ }
1773
+ interface TapkeyUnlockBlockInputs {
1774
+ deviceId: string;
1775
+ }
1776
+ interface EmzUnlockBlock extends BaseBlock {
1777
+ type: "emz.unlock";
1778
+ in: {
1779
+ deviceId: DataEdgeConnection;
1780
+ };
1781
+ out: {
1782
+ result: DataEdgeConnection;
1783
+ };
1784
+ data: {
1785
+ deviceId?: string;
1786
+ };
1787
+ }
1788
+ interface EmzUnlockBlockInputs {
1789
+ deviceId: string;
1790
+ }
1791
+ interface UiAlertBlock extends BaseBlock {
1792
+ type: "ui.alert";
1793
+ in: {
1794
+ title: DataEdgeConnection;
1795
+ message: DataEdgeConnection;
1796
+ buttonArray: DataEdgeConnection;
1797
+ };
1798
+ out: {
1799
+ result: DataEdgeConnection;
1800
+ };
1801
+ data: {
1802
+ title?: string;
1803
+ message?: string;
1804
+ buttonArray?: string[];
1805
+ };
1806
+ }
1807
+ interface UiAlertBlockInputs {
1808
+ title: string;
1809
+ message: string;
1810
+ buttonArray: string[];
1811
+ }
1812
+ interface UiBrowserOpenBlock extends BaseBlock {
1813
+ type: "ui.browser.open";
1814
+ in: {
1815
+ url: DataEdgeConnection;
1816
+ };
1817
+ out: Record<string, never>;
1818
+ data: {
1819
+ url?: string;
1820
+ };
1821
+ }
1822
+ interface UiBrowserOpenBlockInputs {
1823
+ url: string;
1824
+ }
1825
+ interface UiPhoneOpenBlock extends BaseBlock {
1826
+ type: "ui.phone.open";
1827
+ in: {
1828
+ phone: DataEdgeConnection;
1829
+ };
1830
+ out: Record<string, never>;
1831
+ data: {
1832
+ phone?: string;
1833
+ };
1834
+ }
1835
+ interface UiPhoneOpenBlockInputs {
1836
+ phone: string;
1837
+ }
1838
+ interface NotificationCreateBlock extends BaseBlock {
1839
+ type: "notification.create";
1840
+ in: {
1841
+ userId: DataEdgeConnection;
1842
+ subject: DataEdgeConnection;
1843
+ message: DataEdgeConnection;
1844
+ };
1845
+ out: {
1846
+ notification: DataEdgeConnection;
1847
+ };
1848
+ data: {
1849
+ userId?: string;
1850
+ subject?: LocaleString;
1851
+ message?: LocaleString;
1852
+ };
1853
+ }
1854
+ interface NotificationCreateBlockInputs {
1855
+ userId: string;
1856
+ subject: LocaleString;
1857
+ message: LocaleString;
1858
+ }
1859
+ interface PaymentRetrieveBlock extends BaseBlock {
1860
+ type: "payment.retrieve";
1861
+ in: {
1862
+ paymentId: DataEdgeConnection;
1863
+ };
1864
+ out: {
1865
+ payment: DataEdgeConnection;
1866
+ };
1867
+ data: {
1868
+ paymentId?: string;
1869
+ };
1870
+ }
1871
+ interface PaymentRetrieveBlockInputs {
1872
+ paymentId: string;
1873
+ }
1874
+ interface PaymentListBlock extends BaseBlock {
1875
+ type: "payment.list";
1876
+ in: {
1877
+ userId: DataEdgeConnection;
1878
+ limit: DataEdgeConnection;
1879
+ skip: DataEdgeConnection;
1880
+ };
1881
+ out: {
1882
+ paymentArray: DataEdgeConnection;
1883
+ count: DataEdgeConnection;
1884
+ hasMore: DataEdgeConnection;
1885
+ };
1886
+ data: {
1887
+ userId?: string;
1888
+ limit?: number;
1889
+ skip?: number;
1890
+ };
1891
+ }
1892
+ interface PaymentListBlockInputs {
1893
+ userId?: string;
1894
+ limit?: number;
1895
+ skip?: number;
1896
+ }
1897
+ interface StartPaymentUpdateBlock extends BaseBlock {
1898
+ type: "start.payment.update";
1899
+ in: Record<string, never>;
1900
+ out: {
1901
+ before: DataEdgeConnection;
1902
+ after: DataEdgeConnection;
1903
+ changedFields: DataEdgeConnection;
1904
+ };
1905
+ }
1906
+ interface UserListBlock extends BaseBlock {
1907
+ type: "user.list";
1908
+ in: {
1909
+ limit: DataEdgeConnection;
1910
+ skip: DataEdgeConnection;
1911
+ };
1912
+ out: {
1913
+ userArray: DataEdgeConnection;
1914
+ count: DataEdgeConnection;
1915
+ hasMore: DataEdgeConnection;
1916
+ };
1917
+ data: {
1918
+ limit?: number;
1919
+ skip?: number;
1920
+ };
1921
+ }
1922
+ interface UserListBlockInputs {
1923
+ limit?: number;
1924
+ skip?: number;
1925
+ }
1926
+ interface SessionListBlock extends BaseBlock {
1927
+ type: "session.list";
1928
+ in: {
1929
+ userId: DataEdgeConnection;
1930
+ locationId: DataEdgeConnection;
1931
+ limit: DataEdgeConnection;
1932
+ skip: DataEdgeConnection;
1933
+ };
1934
+ out: {
1935
+ sessionArray: DataEdgeConnection;
1936
+ count: DataEdgeConnection;
1937
+ hasMore: DataEdgeConnection;
1938
+ };
1939
+ data: {
1940
+ userId?: string;
1941
+ locationId?: string;
1942
+ limit?: number;
1943
+ skip?: number;
1944
+ };
1945
+ }
1946
+ interface SessionListBlockInputs {
1947
+ userId?: string;
1948
+ locationId?: string;
1949
+ limit?: number;
1950
+ skip?: number;
1951
+ }
1952
+ type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | StartCronBlock | StartMqttReceiveBlock | StartPaymentUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ArrayLengthBlock | ArrayGetBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | SessionCreateBlock | SessionListBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | UserListBlock | IncidentRetrieveBlock | BenefitCardRetrieveBlock | BenefitCardListBlock | BenefitCardCopyBlock | BenefitCardUpdateBlock | TextMatchBlock | TextTemplateBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | Rs485SendBlock | Rs485BufferBlock | ModbusReadBlock | ModbusWriteBlock | FlowExecuteBlock | VariableSetBlock | VariableGetBlock | DelaySleepBlock | EndCustomBlock | PaymentCreateBlock | PaymentRetrieveBlock | PaymentListBlock | NotificationCreateBlock | TapkeyUnlockBlock | EmzUnlockBlock | UiAlertBlock | UiBrowserOpenBlock | UiPhoneOpenBlock;
1953
+ type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | SessionCreateBlockInputs | SessionListBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | UserListBlockInputs | IncidentRetrieveBlockInputs | BenefitCardRetrieveBlockInputs | BenefitCardListBlockInputs | BenefitCardCopyBlockInputs | BenefitCardUpdateBlockInputs | TextMatchBlockInputs | TextTemplateBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | Rs485SendBlockInputs | Rs485BufferBlockInputs | ModbusReadBlockInputs | ModbusWriteBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | ArrayLengthBlockInputs | ArrayGetBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | DelaySleepBlockInputs | Record<string, unknown> | PaymentCreateBlockInputs | PaymentRetrieveBlockInputs | PaymentListBlockInputs | NotificationCreateBlockInputs | TapkeyUnlockBlockInputs | EmzUnlockBlockInputs | UiAlertBlockInputs | UiBrowserOpenBlockInputs | UiPhoneOpenBlockInputs;
1760
1954
  interface FlowDataEdge {
1761
1955
  id: string;
1762
1956
  type: "data";
@@ -1814,7 +2008,13 @@ type QuickView = {
1814
2008
  };
1815
2009
  type PanelDisplay = "modal" | "dialog" | "screen";
1816
2010
  type AppStatus = "active" | "disabled";
1817
- type AppVersionStatus = "waitingForSigninToBuild" | "waitingForBuildToFinish" | "waitingForSigninToSubmit" | "waitingForReview" | "waitingForDistribution" | "active" | "soonDeprecated" | "deprecated";
2011
+ interface ApplicationIcon {
2012
+ ios: string;
2013
+ android: string;
2014
+ web: string;
2015
+ }
2016
+ type AppVersionStatus = "waitingForBuildToStart" | "waitingForBuildToFinish" | "waitingForSubmitToStart" | "waitingForSubmitToFinish" | "waitingForDistribution" | "active" | "soonDeprecated" | "deprecated";
2017
+ type AppVersionType = "ios" | "android" | "web";
1818
2018
  interface AdditionalSubscriptionItem {
1819
2019
  stripePriceId: string;
1820
2020
  quantity: number;
@@ -2377,8 +2577,11 @@ declare class ApplicationsService extends Service {
2377
2577
 
2378
2578
  declare class ApplicationVersionsService extends Service {
2379
2579
  constructor(config: JUHUU.SetupConfig);
2580
+ create(ApplicationVersionCreateParams: JUHUU.ApplicationVersion.Create.Params, ApplicationVersionCreateOptions?: JUHUU.ApplicationVersion.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Create.Response>>;
2380
2581
  retrieve(ApplicationVersionRetrieveParams: JUHUU.ApplicationVersion.Retrieve.Params, ApplicationVersionRetrieveOptions?: JUHUU.ApplicationVersion.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Retrieve.Response>>;
2381
2582
  list(ApplicationVersionListParams: JUHUU.ApplicationVersion.List.Params, ApplicationVersionListOptions?: JUHUU.ApplicationVersion.List.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.List.Response>>;
2583
+ update(ApplicationVersionUpdateParams: JUHUU.ApplicationVersion.Update.Params, ApplicationVersionUpdateOptions?: JUHUU.ApplicationVersion.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Update.Response>>;
2584
+ delete(ApplicationVersionDeleteParams: JUHUU.ApplicationVersion.Delete.Params, ApplicationVersionDeleteOptions?: JUHUU.ApplicationVersion.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Delete.Response>>;
2382
2585
  }
2383
2586
 
2384
2587
  declare class Juhuu {
@@ -6473,6 +6676,7 @@ declare namespace JUHUU {
6473
6676
  reference: string | null;
6474
6677
  text: string | null;
6475
6678
  metadata: Record<string, any>;
6679
+ invalidAt: Date | null;
6476
6680
  };
6477
6681
  namespace Create {
6478
6682
  type Params = {
@@ -6525,6 +6729,7 @@ declare namespace JUHUU {
6525
6729
  reference?: string | null;
6526
6730
  text?: string | null;
6527
6731
  metadata?: Record<string, any>;
6732
+ invalidAt?: Date | null;
6528
6733
  };
6529
6734
  type Options = JUHUU.RequestOptions;
6530
6735
  type Response = {
@@ -7429,16 +7634,16 @@ declare namespace JUHUU {
7429
7634
  };
7430
7635
  }
7431
7636
  namespace Application {
7432
- type Base = {
7637
+ type Object = {
7433
7638
  id: string;
7434
7639
  version: number;
7435
7640
  readonly object: "application";
7436
7641
  readonly objectType: "dto";
7642
+ createdAt: Date;
7437
7643
  name: string;
7438
7644
  propertyId: string;
7439
7645
  colorScheme: ColorScheme | null;
7440
- appIconLight: string | null;
7441
- appIconDark: string | null;
7646
+ icon: ApplicationIcon;
7442
7647
  splashScreenImageLight: string | null;
7443
7648
  splashScreenImageDark: string | null;
7444
7649
  pointClusterId: string | null;
@@ -7447,21 +7652,25 @@ declare namespace JUHUU {
7447
7652
  fontUrlTitle: string | null;
7448
7653
  fontUrlBody: string | null;
7449
7654
  status: AppStatus;
7655
+ iosBundleIdentifier: string;
7656
+ webTitle: string;
7657
+ androidPackage: string;
7658
+ expoProjectId: string;
7659
+ homescreenName: string;
7660
+ slug: string;
7450
7661
  };
7451
- interface Android extends Base {
7452
- type: "android";
7453
- }
7454
- interface Ios extends Base {
7455
- type: "ios";
7456
- }
7457
- type Object = Android | Ios;
7458
7662
  namespace Create {
7459
7663
  type Params = {
7460
7664
  propertyId: string;
7461
7665
  name: string;
7462
7666
  colorScheme?: ColorScheme | null;
7463
- appIconLight?: string | null;
7464
- appIconDark?: string | null;
7667
+ icon?: Partial<ApplicationIcon>;
7668
+ iosBundleIdentifier?: string;
7669
+ webTitle?: string;
7670
+ androidPackage?: string;
7671
+ expoProjectId?: string;
7672
+ homescreenName?: string;
7673
+ slug?: string;
7465
7674
  };
7466
7675
  type Options = JUHUU.RequestOptions;
7467
7676
  type Response = {
@@ -7496,14 +7705,19 @@ declare namespace JUHUU {
7496
7705
  applicationId: string;
7497
7706
  name?: string;
7498
7707
  colorScheme?: ColorScheme | null;
7499
- appIconLight?: string | null;
7500
- appIconDark?: string | null;
7708
+ icon?: Partial<ApplicationIcon>;
7501
7709
  splashScreenImageLight?: string | null;
7502
7710
  splashScreenImageDark?: string | null;
7503
7711
  pointClusterId?: string | null;
7504
7712
  mapboxStyleUrlLight?: string | null;
7505
7713
  mapboxStyleUrlDark?: string | null;
7506
7714
  status?: AppStatus;
7715
+ iosBundleIdentifier?: string;
7716
+ webTitle?: string;
7717
+ androidPackage?: string;
7718
+ expoProjectId?: string;
7719
+ homescreenName?: string;
7720
+ slug?: string;
7507
7721
  };
7508
7722
  type Options = JUHUU.RequestOptions;
7509
7723
  type Response = {
@@ -7521,15 +7735,38 @@ declare namespace JUHUU {
7521
7735
  }
7522
7736
  }
7523
7737
  namespace ApplicationVersion {
7524
- type Object = {
7738
+ type Base = {
7525
7739
  id: string;
7526
7740
  version: number;
7527
7741
  readonly object: "applicationVersion";
7528
7742
  readonly objectType: "dto";
7743
+ createdAt: Date;
7529
7744
  applicationId: string;
7530
7745
  propertyId: string;
7531
7746
  status: AppVersionStatus;
7747
+ versionCode: string;
7532
7748
  };
7749
+ interface Ios extends Base {
7750
+ type: "ios";
7751
+ }
7752
+ interface Android extends Base {
7753
+ type: "android";
7754
+ }
7755
+ interface Web extends Base {
7756
+ type: "web";
7757
+ }
7758
+ type Object = Ios | Android | Web;
7759
+ namespace Create {
7760
+ type Params = {
7761
+ applicationId: string;
7762
+ propertyId: string;
7763
+ type: AppVersionType;
7764
+ };
7765
+ type Options = JUHUU.RequestOptions;
7766
+ type Response = {
7767
+ applicationVersion: JUHUU.ApplicationVersion.Object;
7768
+ };
7769
+ }
7533
7770
  namespace Retrieve {
7534
7771
  type Params = {
7535
7772
  applicationVersionId: string;
@@ -7552,7 +7789,27 @@ declare namespace JUHUU {
7552
7789
  hasMore: boolean;
7553
7790
  };
7554
7791
  }
7792
+ namespace Update {
7793
+ type Params = {
7794
+ applicationVersionId: string;
7795
+ status?: AppVersionStatus;
7796
+ versionCode?: string;
7797
+ };
7798
+ type Options = JUHUU.RequestOptions;
7799
+ type Response = {
7800
+ applicationVersion: JUHUU.ApplicationVersion.Object;
7801
+ };
7802
+ }
7803
+ namespace Delete {
7804
+ type Params = {
7805
+ applicationVersionId: string;
7806
+ };
7807
+ type Options = JUHUU.RequestOptions;
7808
+ type Response = {
7809
+ applicationVersion: JUHUU.ApplicationVersion.Object;
7810
+ };
7811
+ }
7555
7812
  }
7556
7813
  }
7557
7814
 
7558
- export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type AppVersionStatus, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, type AuthMethodType, type BaseBlock, type BenefitCardCopyBlock, type BenefitCardCopyBlockInputs, type BenefitCardListBlock, type BenefitCardListBlockInputs, type BenefitCardRetrieveBlock, type BenefitCardRetrieveBlockInputs, type BenefitCardUpdateBlock, type BenefitCardUpdateBlockInputs, type BlockExecutor, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type ConstBooleanBlock, type ConstNumberBlock, type ConstTextBlock, type ControlEdgeConnection, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DataEdgeConnection, type DeepNullable, type DelaySleepBlock, type DelaySleepBlockInputs, type DevicePermission, type DeviceRetrieveBlock, type DeviceRetrieveBlockInputs, type DeviceStatus, type DeviceType, type DeviceUpdateBlock, type DeviceUpdateBlockInputs, type EndCustomBlock, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowBlockInput, type FlowControlEdge, type FlowDataEdge, type FlowEdge, type FlowExecuteBlock, type FlowExecuteBlockInputs, type FlowExecutionEnvironment, type FlowLog, type FlowStatus, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, type HttpDeleteBlock, type HttpDeleteBlockInputs, type HttpGetBlock, type HttpGetBlockInputs, type HttpPatchBlock, type HttpPostBlock, type HttpPostBlockInputs, type HttpPutBlock, type HttpPutBlockInputs, type HttpsPatchBlockInputs, type IfBlock, type IncidentCreateBlock, type IncidentCreateBlockInputs, type IncidentRetrieveBlock, type IncidentRetrieveBlockInputs, JUHUU, type JsonLogic, Juhuu, type KitStatus, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapConstructBlock, type MapConstructBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type ModbusFunctionCode, type ModbusReadBlock, type ModbusReadBlockInputs, type ModbusWriteBlock, type ModbusWriteBlockInputs, type ModbusWriteFunctionCode, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentCreateBlock, type PaymentCreateBlockInputs, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type PhoneCountryCode, type Platform, type PlatformString, type PlotData, type PostingRow, type PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Rs485BufferBlock, type Rs485BufferBlockInputs, type Rs485SendBlock, type Rs485SendBlockInputs, type Sector, type SessionCannotTerminateReason, type SessionCreateBlock, type SessionCreateBlockInputs, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCronBlock, type StartCustomBlock, type StartLocationUpdateBlock, type StartMqttReceiveBlock, type StartParameterUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type SystemLogBlock, type SystemLogBlockInputs, type TarifType, type TaxCode, type TextMatchBlock, type TextMatchBlockInputs, type TextTemplateBlock, type TextTemplateBlockInputs, type TimePeriod, type TimeZone, type UiNavigateScreenBlock, type UiNavigateScreenBlockInputs, type Unit, type UserCreateBlock, type UserCreateBlockInputs, type UserGroup, type UserRetrieveBlock, type UserRetrieveBlockInputs, type UserType, type Utilization, type VariableGetBlock, type VariableGetBlockInputs, type VariableSetBlock, type VariableSetBlockInputs, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
7815
+ export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type AppVersionStatus, type AppVersionType, type ApplicationIcon, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, type AuthMethodType, type BaseBlock, type BenefitCardCopyBlock, type BenefitCardCopyBlockInputs, type BenefitCardListBlock, type BenefitCardListBlockInputs, type BenefitCardRetrieveBlock, type BenefitCardRetrieveBlockInputs, type BenefitCardUpdateBlock, type BenefitCardUpdateBlockInputs, type BlockExecutor, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type ConstBooleanBlock, type ConstNumberBlock, type ConstTextBlock, type ControlEdgeConnection, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DataEdgeConnection, type DeepNullable, type DelaySleepBlock, type DelaySleepBlockInputs, type DevicePermission, type DeviceRetrieveBlock, type DeviceRetrieveBlockInputs, type DeviceStatus, type DeviceType, type DeviceUpdateBlock, type DeviceUpdateBlockInputs, type EmzUnlockBlock, type EmzUnlockBlockInputs, type EndCustomBlock, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowBlockInput, type FlowControlEdge, type FlowDataEdge, type FlowEdge, type FlowExecuteBlock, type FlowExecuteBlockInputs, type FlowExecutionEnvironment, type FlowLog, type FlowStatus, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, type HttpDeleteBlock, type HttpDeleteBlockInputs, type HttpGetBlock, type HttpGetBlockInputs, type HttpPatchBlock, type HttpPostBlock, type HttpPostBlockInputs, type HttpPutBlock, type HttpPutBlockInputs, type HttpsPatchBlockInputs, type IfBlock, type IncidentCreateBlock, type IncidentCreateBlockInputs, type IncidentRetrieveBlock, type IncidentRetrieveBlockInputs, JUHUU, type JsonLogic, Juhuu, type KitStatus, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapConstructBlock, type MapConstructBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type ModbusFunctionCode, type ModbusReadBlock, type ModbusReadBlockInputs, type ModbusWriteBlock, type ModbusWriteBlockInputs, type ModbusWriteFunctionCode, type MqttSendBlock, type MqttSendBlockInputs, type NotificationCreateBlock, type NotificationCreateBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentCreateBlock, type PaymentCreateBlockInputs, type PaymentListBlock, type PaymentListBlockInputs, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentRetrieveBlock, type PaymentRetrieveBlockInputs, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type PhoneCountryCode, type Platform, type PlatformString, type PlotData, type PostingRow, type PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Rs485BufferBlock, type Rs485BufferBlockInputs, type Rs485SendBlock, type Rs485SendBlockInputs, type Sector, type SessionCannotTerminateReason, type SessionCreateBlock, type SessionCreateBlockInputs, type SessionListBlock, type SessionListBlockInputs, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCronBlock, type StartCustomBlock, type StartLocationUpdateBlock, type StartMqttReceiveBlock, type StartParameterUpdateBlock, type StartPaymentUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type SystemLogBlock, type SystemLogBlockInputs, type TapkeyUnlockBlock, type TapkeyUnlockBlockInputs, type TarifType, type TaxCode, type TextMatchBlock, type TextMatchBlockInputs, type TextTemplateBlock, type TextTemplateBlockInputs, type TimePeriod, type TimeZone, type UiAlertBlock, type UiAlertBlockInputs, type UiBrowserOpenBlock, type UiBrowserOpenBlockInputs, type UiNavigateScreenBlock, type UiNavigateScreenBlockInputs, type UiPhoneOpenBlock, type UiPhoneOpenBlockInputs, type Unit, type UserCreateBlock, type UserCreateBlockInputs, type UserGroup, type UserListBlock, type UserListBlockInputs, type UserRetrieveBlock, type UserRetrieveBlockInputs, type UserType, type Utilization, type VariableGetBlock, type VariableGetBlockInputs, type VariableSetBlock, type VariableSetBlockInputs, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
package/dist/index.d.ts CHANGED
@@ -941,6 +941,7 @@ interface BenefitCardUpdateBlock extends BaseBlock {
941
941
  reference: DataEdgeConnection;
942
942
  text: DataEdgeConnection;
943
943
  metadata: DataEdgeConnection;
944
+ invalidAt: DataEdgeConnection;
944
945
  };
945
946
  out: {
946
947
  beforeBenefitCard: DataEdgeConnection;
@@ -954,6 +955,7 @@ interface BenefitCardUpdateBlock extends BaseBlock {
954
955
  reference?: string | null;
955
956
  text?: string | null;
956
957
  metadata?: Record<string, any>;
958
+ invalidAt?: Date | null;
957
959
  };
958
960
  }
959
961
  interface BenefitCardUpdateBlockInputs {
@@ -963,6 +965,7 @@ interface BenefitCardUpdateBlockInputs {
963
965
  reference?: string | null;
964
966
  text?: string | null;
965
967
  metadata?: Record<string, any>;
968
+ invalidAt?: Date | null;
966
969
  }
967
970
  interface TextMatchBlock extends BaseBlock {
968
971
  type: "text.match";
@@ -1755,8 +1758,199 @@ interface PaymentCreateBlockInputs {
1755
1758
  salesTaxPercentage?: number | null;
1756
1759
  postingRowArray?: PostingRow[] | null;
1757
1760
  }
1758
- type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | StartCronBlock | StartMqttReceiveBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ArrayLengthBlock | ArrayGetBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | SessionCreateBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | BenefitCardRetrieveBlock | BenefitCardListBlock | BenefitCardCopyBlock | BenefitCardUpdateBlock | TextMatchBlock | TextTemplateBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | Rs485SendBlock | Rs485BufferBlock | ModbusReadBlock | ModbusWriteBlock | FlowExecuteBlock | VariableSetBlock | VariableGetBlock | DelaySleepBlock | EndCustomBlock | PaymentCreateBlock;
1759
- type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | SessionCreateBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | BenefitCardRetrieveBlockInputs | BenefitCardListBlockInputs | BenefitCardCopyBlockInputs | BenefitCardUpdateBlockInputs | TextMatchBlockInputs | TextTemplateBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | Rs485SendBlockInputs | Rs485BufferBlockInputs | ModbusReadBlockInputs | ModbusWriteBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | ArrayLengthBlockInputs | ArrayGetBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | DelaySleepBlockInputs | Record<string, unknown> | PaymentCreateBlockInputs;
1761
+ interface TapkeyUnlockBlock extends BaseBlock {
1762
+ type: "tapkey.unlock";
1763
+ in: {
1764
+ deviceId: DataEdgeConnection;
1765
+ };
1766
+ out: {
1767
+ result: DataEdgeConnection;
1768
+ };
1769
+ data: {
1770
+ deviceId?: string;
1771
+ };
1772
+ }
1773
+ interface TapkeyUnlockBlockInputs {
1774
+ deviceId: string;
1775
+ }
1776
+ interface EmzUnlockBlock extends BaseBlock {
1777
+ type: "emz.unlock";
1778
+ in: {
1779
+ deviceId: DataEdgeConnection;
1780
+ };
1781
+ out: {
1782
+ result: DataEdgeConnection;
1783
+ };
1784
+ data: {
1785
+ deviceId?: string;
1786
+ };
1787
+ }
1788
+ interface EmzUnlockBlockInputs {
1789
+ deviceId: string;
1790
+ }
1791
+ interface UiAlertBlock extends BaseBlock {
1792
+ type: "ui.alert";
1793
+ in: {
1794
+ title: DataEdgeConnection;
1795
+ message: DataEdgeConnection;
1796
+ buttonArray: DataEdgeConnection;
1797
+ };
1798
+ out: {
1799
+ result: DataEdgeConnection;
1800
+ };
1801
+ data: {
1802
+ title?: string;
1803
+ message?: string;
1804
+ buttonArray?: string[];
1805
+ };
1806
+ }
1807
+ interface UiAlertBlockInputs {
1808
+ title: string;
1809
+ message: string;
1810
+ buttonArray: string[];
1811
+ }
1812
+ interface UiBrowserOpenBlock extends BaseBlock {
1813
+ type: "ui.browser.open";
1814
+ in: {
1815
+ url: DataEdgeConnection;
1816
+ };
1817
+ out: Record<string, never>;
1818
+ data: {
1819
+ url?: string;
1820
+ };
1821
+ }
1822
+ interface UiBrowserOpenBlockInputs {
1823
+ url: string;
1824
+ }
1825
+ interface UiPhoneOpenBlock extends BaseBlock {
1826
+ type: "ui.phone.open";
1827
+ in: {
1828
+ phone: DataEdgeConnection;
1829
+ };
1830
+ out: Record<string, never>;
1831
+ data: {
1832
+ phone?: string;
1833
+ };
1834
+ }
1835
+ interface UiPhoneOpenBlockInputs {
1836
+ phone: string;
1837
+ }
1838
+ interface NotificationCreateBlock extends BaseBlock {
1839
+ type: "notification.create";
1840
+ in: {
1841
+ userId: DataEdgeConnection;
1842
+ subject: DataEdgeConnection;
1843
+ message: DataEdgeConnection;
1844
+ };
1845
+ out: {
1846
+ notification: DataEdgeConnection;
1847
+ };
1848
+ data: {
1849
+ userId?: string;
1850
+ subject?: LocaleString;
1851
+ message?: LocaleString;
1852
+ };
1853
+ }
1854
+ interface NotificationCreateBlockInputs {
1855
+ userId: string;
1856
+ subject: LocaleString;
1857
+ message: LocaleString;
1858
+ }
1859
+ interface PaymentRetrieveBlock extends BaseBlock {
1860
+ type: "payment.retrieve";
1861
+ in: {
1862
+ paymentId: DataEdgeConnection;
1863
+ };
1864
+ out: {
1865
+ payment: DataEdgeConnection;
1866
+ };
1867
+ data: {
1868
+ paymentId?: string;
1869
+ };
1870
+ }
1871
+ interface PaymentRetrieveBlockInputs {
1872
+ paymentId: string;
1873
+ }
1874
+ interface PaymentListBlock extends BaseBlock {
1875
+ type: "payment.list";
1876
+ in: {
1877
+ userId: DataEdgeConnection;
1878
+ limit: DataEdgeConnection;
1879
+ skip: DataEdgeConnection;
1880
+ };
1881
+ out: {
1882
+ paymentArray: DataEdgeConnection;
1883
+ count: DataEdgeConnection;
1884
+ hasMore: DataEdgeConnection;
1885
+ };
1886
+ data: {
1887
+ userId?: string;
1888
+ limit?: number;
1889
+ skip?: number;
1890
+ };
1891
+ }
1892
+ interface PaymentListBlockInputs {
1893
+ userId?: string;
1894
+ limit?: number;
1895
+ skip?: number;
1896
+ }
1897
+ interface StartPaymentUpdateBlock extends BaseBlock {
1898
+ type: "start.payment.update";
1899
+ in: Record<string, never>;
1900
+ out: {
1901
+ before: DataEdgeConnection;
1902
+ after: DataEdgeConnection;
1903
+ changedFields: DataEdgeConnection;
1904
+ };
1905
+ }
1906
+ interface UserListBlock extends BaseBlock {
1907
+ type: "user.list";
1908
+ in: {
1909
+ limit: DataEdgeConnection;
1910
+ skip: DataEdgeConnection;
1911
+ };
1912
+ out: {
1913
+ userArray: DataEdgeConnection;
1914
+ count: DataEdgeConnection;
1915
+ hasMore: DataEdgeConnection;
1916
+ };
1917
+ data: {
1918
+ limit?: number;
1919
+ skip?: number;
1920
+ };
1921
+ }
1922
+ interface UserListBlockInputs {
1923
+ limit?: number;
1924
+ skip?: number;
1925
+ }
1926
+ interface SessionListBlock extends BaseBlock {
1927
+ type: "session.list";
1928
+ in: {
1929
+ userId: DataEdgeConnection;
1930
+ locationId: DataEdgeConnection;
1931
+ limit: DataEdgeConnection;
1932
+ skip: DataEdgeConnection;
1933
+ };
1934
+ out: {
1935
+ sessionArray: DataEdgeConnection;
1936
+ count: DataEdgeConnection;
1937
+ hasMore: DataEdgeConnection;
1938
+ };
1939
+ data: {
1940
+ userId?: string;
1941
+ locationId?: string;
1942
+ limit?: number;
1943
+ skip?: number;
1944
+ };
1945
+ }
1946
+ interface SessionListBlockInputs {
1947
+ userId?: string;
1948
+ locationId?: string;
1949
+ limit?: number;
1950
+ skip?: number;
1951
+ }
1952
+ type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | StartCronBlock | StartMqttReceiveBlock | StartPaymentUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ArrayLengthBlock | ArrayGetBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | SessionCreateBlock | SessionListBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | UserListBlock | IncidentRetrieveBlock | BenefitCardRetrieveBlock | BenefitCardListBlock | BenefitCardCopyBlock | BenefitCardUpdateBlock | TextMatchBlock | TextTemplateBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | Rs485SendBlock | Rs485BufferBlock | ModbusReadBlock | ModbusWriteBlock | FlowExecuteBlock | VariableSetBlock | VariableGetBlock | DelaySleepBlock | EndCustomBlock | PaymentCreateBlock | PaymentRetrieveBlock | PaymentListBlock | NotificationCreateBlock | TapkeyUnlockBlock | EmzUnlockBlock | UiAlertBlock | UiBrowserOpenBlock | UiPhoneOpenBlock;
1953
+ type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | SessionCreateBlockInputs | SessionListBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | UserListBlockInputs | IncidentRetrieveBlockInputs | BenefitCardRetrieveBlockInputs | BenefitCardListBlockInputs | BenefitCardCopyBlockInputs | BenefitCardUpdateBlockInputs | TextMatchBlockInputs | TextTemplateBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | Rs485SendBlockInputs | Rs485BufferBlockInputs | ModbusReadBlockInputs | ModbusWriteBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | ArrayLengthBlockInputs | ArrayGetBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | DelaySleepBlockInputs | Record<string, unknown> | PaymentCreateBlockInputs | PaymentRetrieveBlockInputs | PaymentListBlockInputs | NotificationCreateBlockInputs | TapkeyUnlockBlockInputs | EmzUnlockBlockInputs | UiAlertBlockInputs | UiBrowserOpenBlockInputs | UiPhoneOpenBlockInputs;
1760
1954
  interface FlowDataEdge {
1761
1955
  id: string;
1762
1956
  type: "data";
@@ -1814,7 +2008,13 @@ type QuickView = {
1814
2008
  };
1815
2009
  type PanelDisplay = "modal" | "dialog" | "screen";
1816
2010
  type AppStatus = "active" | "disabled";
1817
- type AppVersionStatus = "waitingForSigninToBuild" | "waitingForBuildToFinish" | "waitingForSigninToSubmit" | "waitingForReview" | "waitingForDistribution" | "active" | "soonDeprecated" | "deprecated";
2011
+ interface ApplicationIcon {
2012
+ ios: string;
2013
+ android: string;
2014
+ web: string;
2015
+ }
2016
+ type AppVersionStatus = "waitingForBuildToStart" | "waitingForBuildToFinish" | "waitingForSubmitToStart" | "waitingForSubmitToFinish" | "waitingForDistribution" | "active" | "soonDeprecated" | "deprecated";
2017
+ type AppVersionType = "ios" | "android" | "web";
1818
2018
  interface AdditionalSubscriptionItem {
1819
2019
  stripePriceId: string;
1820
2020
  quantity: number;
@@ -2377,8 +2577,11 @@ declare class ApplicationsService extends Service {
2377
2577
 
2378
2578
  declare class ApplicationVersionsService extends Service {
2379
2579
  constructor(config: JUHUU.SetupConfig);
2580
+ create(ApplicationVersionCreateParams: JUHUU.ApplicationVersion.Create.Params, ApplicationVersionCreateOptions?: JUHUU.ApplicationVersion.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Create.Response>>;
2380
2581
  retrieve(ApplicationVersionRetrieveParams: JUHUU.ApplicationVersion.Retrieve.Params, ApplicationVersionRetrieveOptions?: JUHUU.ApplicationVersion.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Retrieve.Response>>;
2381
2582
  list(ApplicationVersionListParams: JUHUU.ApplicationVersion.List.Params, ApplicationVersionListOptions?: JUHUU.ApplicationVersion.List.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.List.Response>>;
2583
+ update(ApplicationVersionUpdateParams: JUHUU.ApplicationVersion.Update.Params, ApplicationVersionUpdateOptions?: JUHUU.ApplicationVersion.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Update.Response>>;
2584
+ delete(ApplicationVersionDeleteParams: JUHUU.ApplicationVersion.Delete.Params, ApplicationVersionDeleteOptions?: JUHUU.ApplicationVersion.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Delete.Response>>;
2382
2585
  }
2383
2586
 
2384
2587
  declare class Juhuu {
@@ -6473,6 +6676,7 @@ declare namespace JUHUU {
6473
6676
  reference: string | null;
6474
6677
  text: string | null;
6475
6678
  metadata: Record<string, any>;
6679
+ invalidAt: Date | null;
6476
6680
  };
6477
6681
  namespace Create {
6478
6682
  type Params = {
@@ -6525,6 +6729,7 @@ declare namespace JUHUU {
6525
6729
  reference?: string | null;
6526
6730
  text?: string | null;
6527
6731
  metadata?: Record<string, any>;
6732
+ invalidAt?: Date | null;
6528
6733
  };
6529
6734
  type Options = JUHUU.RequestOptions;
6530
6735
  type Response = {
@@ -7429,16 +7634,16 @@ declare namespace JUHUU {
7429
7634
  };
7430
7635
  }
7431
7636
  namespace Application {
7432
- type Base = {
7637
+ type Object = {
7433
7638
  id: string;
7434
7639
  version: number;
7435
7640
  readonly object: "application";
7436
7641
  readonly objectType: "dto";
7642
+ createdAt: Date;
7437
7643
  name: string;
7438
7644
  propertyId: string;
7439
7645
  colorScheme: ColorScheme | null;
7440
- appIconLight: string | null;
7441
- appIconDark: string | null;
7646
+ icon: ApplicationIcon;
7442
7647
  splashScreenImageLight: string | null;
7443
7648
  splashScreenImageDark: string | null;
7444
7649
  pointClusterId: string | null;
@@ -7447,21 +7652,25 @@ declare namespace JUHUU {
7447
7652
  fontUrlTitle: string | null;
7448
7653
  fontUrlBody: string | null;
7449
7654
  status: AppStatus;
7655
+ iosBundleIdentifier: string;
7656
+ webTitle: string;
7657
+ androidPackage: string;
7658
+ expoProjectId: string;
7659
+ homescreenName: string;
7660
+ slug: string;
7450
7661
  };
7451
- interface Android extends Base {
7452
- type: "android";
7453
- }
7454
- interface Ios extends Base {
7455
- type: "ios";
7456
- }
7457
- type Object = Android | Ios;
7458
7662
  namespace Create {
7459
7663
  type Params = {
7460
7664
  propertyId: string;
7461
7665
  name: string;
7462
7666
  colorScheme?: ColorScheme | null;
7463
- appIconLight?: string | null;
7464
- appIconDark?: string | null;
7667
+ icon?: Partial<ApplicationIcon>;
7668
+ iosBundleIdentifier?: string;
7669
+ webTitle?: string;
7670
+ androidPackage?: string;
7671
+ expoProjectId?: string;
7672
+ homescreenName?: string;
7673
+ slug?: string;
7465
7674
  };
7466
7675
  type Options = JUHUU.RequestOptions;
7467
7676
  type Response = {
@@ -7496,14 +7705,19 @@ declare namespace JUHUU {
7496
7705
  applicationId: string;
7497
7706
  name?: string;
7498
7707
  colorScheme?: ColorScheme | null;
7499
- appIconLight?: string | null;
7500
- appIconDark?: string | null;
7708
+ icon?: Partial<ApplicationIcon>;
7501
7709
  splashScreenImageLight?: string | null;
7502
7710
  splashScreenImageDark?: string | null;
7503
7711
  pointClusterId?: string | null;
7504
7712
  mapboxStyleUrlLight?: string | null;
7505
7713
  mapboxStyleUrlDark?: string | null;
7506
7714
  status?: AppStatus;
7715
+ iosBundleIdentifier?: string;
7716
+ webTitle?: string;
7717
+ androidPackage?: string;
7718
+ expoProjectId?: string;
7719
+ homescreenName?: string;
7720
+ slug?: string;
7507
7721
  };
7508
7722
  type Options = JUHUU.RequestOptions;
7509
7723
  type Response = {
@@ -7521,15 +7735,38 @@ declare namespace JUHUU {
7521
7735
  }
7522
7736
  }
7523
7737
  namespace ApplicationVersion {
7524
- type Object = {
7738
+ type Base = {
7525
7739
  id: string;
7526
7740
  version: number;
7527
7741
  readonly object: "applicationVersion";
7528
7742
  readonly objectType: "dto";
7743
+ createdAt: Date;
7529
7744
  applicationId: string;
7530
7745
  propertyId: string;
7531
7746
  status: AppVersionStatus;
7747
+ versionCode: string;
7532
7748
  };
7749
+ interface Ios extends Base {
7750
+ type: "ios";
7751
+ }
7752
+ interface Android extends Base {
7753
+ type: "android";
7754
+ }
7755
+ interface Web extends Base {
7756
+ type: "web";
7757
+ }
7758
+ type Object = Ios | Android | Web;
7759
+ namespace Create {
7760
+ type Params = {
7761
+ applicationId: string;
7762
+ propertyId: string;
7763
+ type: AppVersionType;
7764
+ };
7765
+ type Options = JUHUU.RequestOptions;
7766
+ type Response = {
7767
+ applicationVersion: JUHUU.ApplicationVersion.Object;
7768
+ };
7769
+ }
7533
7770
  namespace Retrieve {
7534
7771
  type Params = {
7535
7772
  applicationVersionId: string;
@@ -7552,7 +7789,27 @@ declare namespace JUHUU {
7552
7789
  hasMore: boolean;
7553
7790
  };
7554
7791
  }
7792
+ namespace Update {
7793
+ type Params = {
7794
+ applicationVersionId: string;
7795
+ status?: AppVersionStatus;
7796
+ versionCode?: string;
7797
+ };
7798
+ type Options = JUHUU.RequestOptions;
7799
+ type Response = {
7800
+ applicationVersion: JUHUU.ApplicationVersion.Object;
7801
+ };
7802
+ }
7803
+ namespace Delete {
7804
+ type Params = {
7805
+ applicationVersionId: string;
7806
+ };
7807
+ type Options = JUHUU.RequestOptions;
7808
+ type Response = {
7809
+ applicationVersion: JUHUU.ApplicationVersion.Object;
7810
+ };
7811
+ }
7555
7812
  }
7556
7813
  }
7557
7814
 
7558
- export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type AppVersionStatus, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, type AuthMethodType, type BaseBlock, type BenefitCardCopyBlock, type BenefitCardCopyBlockInputs, type BenefitCardListBlock, type BenefitCardListBlockInputs, type BenefitCardRetrieveBlock, type BenefitCardRetrieveBlockInputs, type BenefitCardUpdateBlock, type BenefitCardUpdateBlockInputs, type BlockExecutor, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type ConstBooleanBlock, type ConstNumberBlock, type ConstTextBlock, type ControlEdgeConnection, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DataEdgeConnection, type DeepNullable, type DelaySleepBlock, type DelaySleepBlockInputs, type DevicePermission, type DeviceRetrieveBlock, type DeviceRetrieveBlockInputs, type DeviceStatus, type DeviceType, type DeviceUpdateBlock, type DeviceUpdateBlockInputs, type EndCustomBlock, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowBlockInput, type FlowControlEdge, type FlowDataEdge, type FlowEdge, type FlowExecuteBlock, type FlowExecuteBlockInputs, type FlowExecutionEnvironment, type FlowLog, type FlowStatus, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, type HttpDeleteBlock, type HttpDeleteBlockInputs, type HttpGetBlock, type HttpGetBlockInputs, type HttpPatchBlock, type HttpPostBlock, type HttpPostBlockInputs, type HttpPutBlock, type HttpPutBlockInputs, type HttpsPatchBlockInputs, type IfBlock, type IncidentCreateBlock, type IncidentCreateBlockInputs, type IncidentRetrieveBlock, type IncidentRetrieveBlockInputs, JUHUU, type JsonLogic, Juhuu, type KitStatus, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapConstructBlock, type MapConstructBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type ModbusFunctionCode, type ModbusReadBlock, type ModbusReadBlockInputs, type ModbusWriteBlock, type ModbusWriteBlockInputs, type ModbusWriteFunctionCode, type MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentCreateBlock, type PaymentCreateBlockInputs, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type PhoneCountryCode, type Platform, type PlatformString, type PlotData, type PostingRow, type PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Rs485BufferBlock, type Rs485BufferBlockInputs, type Rs485SendBlock, type Rs485SendBlockInputs, type Sector, type SessionCannotTerminateReason, type SessionCreateBlock, type SessionCreateBlockInputs, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCronBlock, type StartCustomBlock, type StartLocationUpdateBlock, type StartMqttReceiveBlock, type StartParameterUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type SystemLogBlock, type SystemLogBlockInputs, type TarifType, type TaxCode, type TextMatchBlock, type TextMatchBlockInputs, type TextTemplateBlock, type TextTemplateBlockInputs, type TimePeriod, type TimeZone, type UiNavigateScreenBlock, type UiNavigateScreenBlockInputs, type Unit, type UserCreateBlock, type UserCreateBlockInputs, type UserGroup, type UserRetrieveBlock, type UserRetrieveBlockInputs, type UserType, type Utilization, type VariableGetBlock, type VariableGetBlockInputs, type VariableSetBlock, type VariableSetBlockInputs, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
7815
+ export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AppStatus, type AppVersionStatus, type AppVersionType, type ApplicationIcon, type ArrayGetBlock, type ArrayGetBlockInputs, type ArrayLengthBlock, type ArrayLengthBlockInputs, type AuthMethodType, type BaseBlock, type BenefitCardCopyBlock, type BenefitCardCopyBlockInputs, type BenefitCardListBlock, type BenefitCardListBlockInputs, type BenefitCardRetrieveBlock, type BenefitCardRetrieveBlockInputs, type BenefitCardUpdateBlock, type BenefitCardUpdateBlockInputs, type BlockExecutor, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type ConstBooleanBlock, type ConstNumberBlock, type ConstTextBlock, type ControlEdgeConnection, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DataEdgeConnection, type DeepNullable, type DelaySleepBlock, type DelaySleepBlockInputs, type DevicePermission, type DeviceRetrieveBlock, type DeviceRetrieveBlockInputs, type DeviceStatus, type DeviceType, type DeviceUpdateBlock, type DeviceUpdateBlockInputs, type EmzUnlockBlock, type EmzUnlockBlockInputs, type EndCustomBlock, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowBlockInput, type FlowControlEdge, type FlowDataEdge, type FlowEdge, type FlowExecuteBlock, type FlowExecuteBlockInputs, type FlowExecutionEnvironment, type FlowLog, type FlowStatus, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, type HttpDeleteBlock, type HttpDeleteBlockInputs, type HttpGetBlock, type HttpGetBlockInputs, type HttpPatchBlock, type HttpPostBlock, type HttpPostBlockInputs, type HttpPutBlock, type HttpPutBlockInputs, type HttpsPatchBlockInputs, type IfBlock, type IncidentCreateBlock, type IncidentCreateBlockInputs, type IncidentRetrieveBlock, type IncidentRetrieveBlockInputs, JUHUU, type JsonLogic, Juhuu, type KitStatus, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LinkType, type LocaleString, type LocationRetrieveBlock, type LocationRetrieveBlockInputs, type LocationUpdateBlock, type LocationUpdateBlockInputs, type MapConstructBlock, type MapConstructBlockInputs, type MapDestructureBlock, type MapDestructureBlockInputs, type MapFilter, type MathAddBlock, type MathAddBlockInputs, type MathDivideBlock, type MathDivideBlockInputs, type MathMultiplyBlock, type MathMultiplyBlockInputs, type MathSubtractBlock, type MathSubtractBlockInputs, type Modality, type ModbusFunctionCode, type ModbusReadBlock, type ModbusReadBlockInputs, type ModbusWriteBlock, type ModbusWriteBlockInputs, type ModbusWriteFunctionCode, type MqttSendBlock, type MqttSendBlockInputs, type NotificationCreateBlock, type NotificationCreateBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, type Party, type PaymentCreateBlock, type PaymentCreateBlockInputs, type PaymentListBlock, type PaymentListBlockInputs, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentRetrieveBlock, type PaymentRetrieveBlockInputs, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type PhoneCountryCode, type Platform, type PlatformString, type PlotData, type PostingRow, type PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Rs485BufferBlock, type Rs485BufferBlockInputs, type Rs485SendBlock, type Rs485SendBlockInputs, type Sector, type SessionCannotTerminateReason, type SessionCreateBlock, type SessionCreateBlockInputs, type SessionListBlock, type SessionListBlockInputs, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCronBlock, type StartCustomBlock, type StartLocationUpdateBlock, type StartMqttReceiveBlock, type StartParameterUpdateBlock, type StartPaymentUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type SystemLogBlock, type SystemLogBlockInputs, type TapkeyUnlockBlock, type TapkeyUnlockBlockInputs, type TarifType, type TaxCode, type TextMatchBlock, type TextMatchBlockInputs, type TextTemplateBlock, type TextTemplateBlockInputs, type TimePeriod, type TimeZone, type UiAlertBlock, type UiAlertBlockInputs, type UiBrowserOpenBlock, type UiBrowserOpenBlockInputs, type UiNavigateScreenBlock, type UiNavigateScreenBlockInputs, type UiPhoneOpenBlock, type UiPhoneOpenBlockInputs, type Unit, type UserCreateBlock, type UserCreateBlockInputs, type UserGroup, type UserListBlock, type UserListBlockInputs, type UserRetrieveBlock, type UserRetrieveBlockInputs, type UserType, type Utilization, type VariableGetBlock, type VariableGetBlockInputs, type VariableSetBlock, type VariableSetBlockInputs, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
package/dist/index.js CHANGED
@@ -5201,7 +5201,8 @@ var BenefitCardsService = class extends Service {
5201
5201
  userId: params.userId,
5202
5202
  reference: params.reference,
5203
5203
  text: params.text,
5204
- metadata: params.metadata
5204
+ metadata: params.metadata,
5205
+ invalidAt: params.invalidAt
5205
5206
  },
5206
5207
  authenticationNotOptional: true
5207
5208
  },
@@ -5929,8 +5930,13 @@ var ApplicationsService = class extends Service {
5929
5930
  propertyId: ApplicationCreateParams.propertyId,
5930
5931
  name: ApplicationCreateParams.name,
5931
5932
  colorScheme: ApplicationCreateParams.colorScheme,
5932
- appIconLight: ApplicationCreateParams.appIconLight,
5933
- appIconDark: ApplicationCreateParams.appIconDark
5933
+ icon: ApplicationCreateParams.icon,
5934
+ iosBundleIdentifier: ApplicationCreateParams.iosBundleIdentifier,
5935
+ webTitle: ApplicationCreateParams.webTitle,
5936
+ androidPackage: ApplicationCreateParams.androidPackage,
5937
+ expoProjectId: ApplicationCreateParams.expoProjectId,
5938
+ homescreenName: ApplicationCreateParams.homescreenName,
5939
+ slug: ApplicationCreateParams.slug
5934
5940
  },
5935
5941
  authenticationNotOptional: true
5936
5942
  },
@@ -5972,14 +5978,19 @@ var ApplicationsService = class extends Service {
5972
5978
  body: {
5973
5979
  name: ApplicationUpdateParams.name,
5974
5980
  colorScheme: ApplicationUpdateParams.colorScheme,
5975
- appIconLight: ApplicationUpdateParams.appIconLight,
5976
- appIconDark: ApplicationUpdateParams.appIconDark,
5981
+ icon: ApplicationUpdateParams.icon,
5977
5982
  splashScreenImageLight: ApplicationUpdateParams.splashScreenImageLight,
5978
5983
  splashScreenImageDark: ApplicationUpdateParams.splashScreenImageDark,
5979
5984
  pointClusterId: ApplicationUpdateParams.pointClusterId,
5980
5985
  mapboxStyleUrlLight: ApplicationUpdateParams.mapboxStyleUrlLight,
5981
5986
  mapboxStyleUrlDark: ApplicationUpdateParams.mapboxStyleUrlDark,
5982
- status: ApplicationUpdateParams.status
5987
+ status: ApplicationUpdateParams.status,
5988
+ iosBundleIdentifier: ApplicationUpdateParams.iosBundleIdentifier,
5989
+ webTitle: ApplicationUpdateParams.webTitle,
5990
+ androidPackage: ApplicationUpdateParams.androidPackage,
5991
+ expoProjectId: ApplicationUpdateParams.expoProjectId,
5992
+ homescreenName: ApplicationUpdateParams.homescreenName,
5993
+ slug: ApplicationUpdateParams.slug
5983
5994
  },
5984
5995
  authenticationNotOptional: true
5985
5996
  },
@@ -6004,6 +6015,21 @@ var ApplicationVersionsService = class extends Service {
6004
6015
  constructor(config) {
6005
6016
  super(config);
6006
6017
  }
6018
+ async create(ApplicationVersionCreateParams, ApplicationVersionCreateOptions) {
6019
+ return await super.sendRequest(
6020
+ {
6021
+ method: "POST",
6022
+ url: "applicationVersions",
6023
+ body: {
6024
+ applicationId: ApplicationVersionCreateParams.applicationId,
6025
+ propertyId: ApplicationVersionCreateParams.propertyId,
6026
+ type: ApplicationVersionCreateParams.type
6027
+ },
6028
+ authenticationNotOptional: true
6029
+ },
6030
+ ApplicationVersionCreateOptions
6031
+ );
6032
+ }
6007
6033
  async retrieve(ApplicationVersionRetrieveParams, ApplicationVersionRetrieveOptions) {
6008
6034
  const queryArray = [];
6009
6035
  return await super.sendRequest(
@@ -6033,6 +6059,31 @@ var ApplicationVersionsService = class extends Service {
6033
6059
  ApplicationVersionListOptions
6034
6060
  );
6035
6061
  }
6062
+ async update(ApplicationVersionUpdateParams, ApplicationVersionUpdateOptions) {
6063
+ return await super.sendRequest(
6064
+ {
6065
+ method: "PATCH",
6066
+ url: "applicationVersions/" + ApplicationVersionUpdateParams.applicationVersionId,
6067
+ body: {
6068
+ status: ApplicationVersionUpdateParams.status,
6069
+ versionCode: ApplicationVersionUpdateParams.versionCode
6070
+ },
6071
+ authenticationNotOptional: true
6072
+ },
6073
+ ApplicationVersionUpdateOptions
6074
+ );
6075
+ }
6076
+ async delete(ApplicationVersionDeleteParams, ApplicationVersionDeleteOptions) {
6077
+ return await super.sendRequest(
6078
+ {
6079
+ method: "DELETE",
6080
+ url: "applicationVersions/" + ApplicationVersionDeleteParams.applicationVersionId,
6081
+ authenticationNotOptional: true,
6082
+ body: void 0
6083
+ },
6084
+ ApplicationVersionDeleteOptions
6085
+ );
6086
+ }
6036
6087
  };
6037
6088
 
6038
6089
  // src/types/types.ts
package/dist/index.mjs CHANGED
@@ -5157,7 +5157,8 @@ var BenefitCardsService = class extends Service {
5157
5157
  userId: params.userId,
5158
5158
  reference: params.reference,
5159
5159
  text: params.text,
5160
- metadata: params.metadata
5160
+ metadata: params.metadata,
5161
+ invalidAt: params.invalidAt
5161
5162
  },
5162
5163
  authenticationNotOptional: true
5163
5164
  },
@@ -5885,8 +5886,13 @@ var ApplicationsService = class extends Service {
5885
5886
  propertyId: ApplicationCreateParams.propertyId,
5886
5887
  name: ApplicationCreateParams.name,
5887
5888
  colorScheme: ApplicationCreateParams.colorScheme,
5888
- appIconLight: ApplicationCreateParams.appIconLight,
5889
- appIconDark: ApplicationCreateParams.appIconDark
5889
+ icon: ApplicationCreateParams.icon,
5890
+ iosBundleIdentifier: ApplicationCreateParams.iosBundleIdentifier,
5891
+ webTitle: ApplicationCreateParams.webTitle,
5892
+ androidPackage: ApplicationCreateParams.androidPackage,
5893
+ expoProjectId: ApplicationCreateParams.expoProjectId,
5894
+ homescreenName: ApplicationCreateParams.homescreenName,
5895
+ slug: ApplicationCreateParams.slug
5890
5896
  },
5891
5897
  authenticationNotOptional: true
5892
5898
  },
@@ -5928,14 +5934,19 @@ var ApplicationsService = class extends Service {
5928
5934
  body: {
5929
5935
  name: ApplicationUpdateParams.name,
5930
5936
  colorScheme: ApplicationUpdateParams.colorScheme,
5931
- appIconLight: ApplicationUpdateParams.appIconLight,
5932
- appIconDark: ApplicationUpdateParams.appIconDark,
5937
+ icon: ApplicationUpdateParams.icon,
5933
5938
  splashScreenImageLight: ApplicationUpdateParams.splashScreenImageLight,
5934
5939
  splashScreenImageDark: ApplicationUpdateParams.splashScreenImageDark,
5935
5940
  pointClusterId: ApplicationUpdateParams.pointClusterId,
5936
5941
  mapboxStyleUrlLight: ApplicationUpdateParams.mapboxStyleUrlLight,
5937
5942
  mapboxStyleUrlDark: ApplicationUpdateParams.mapboxStyleUrlDark,
5938
- status: ApplicationUpdateParams.status
5943
+ status: ApplicationUpdateParams.status,
5944
+ iosBundleIdentifier: ApplicationUpdateParams.iosBundleIdentifier,
5945
+ webTitle: ApplicationUpdateParams.webTitle,
5946
+ androidPackage: ApplicationUpdateParams.androidPackage,
5947
+ expoProjectId: ApplicationUpdateParams.expoProjectId,
5948
+ homescreenName: ApplicationUpdateParams.homescreenName,
5949
+ slug: ApplicationUpdateParams.slug
5939
5950
  },
5940
5951
  authenticationNotOptional: true
5941
5952
  },
@@ -5960,6 +5971,21 @@ var ApplicationVersionsService = class extends Service {
5960
5971
  constructor(config) {
5961
5972
  super(config);
5962
5973
  }
5974
+ async create(ApplicationVersionCreateParams, ApplicationVersionCreateOptions) {
5975
+ return await super.sendRequest(
5976
+ {
5977
+ method: "POST",
5978
+ url: "applicationVersions",
5979
+ body: {
5980
+ applicationId: ApplicationVersionCreateParams.applicationId,
5981
+ propertyId: ApplicationVersionCreateParams.propertyId,
5982
+ type: ApplicationVersionCreateParams.type
5983
+ },
5984
+ authenticationNotOptional: true
5985
+ },
5986
+ ApplicationVersionCreateOptions
5987
+ );
5988
+ }
5963
5989
  async retrieve(ApplicationVersionRetrieveParams, ApplicationVersionRetrieveOptions) {
5964
5990
  const queryArray = [];
5965
5991
  return await super.sendRequest(
@@ -5989,6 +6015,31 @@ var ApplicationVersionsService = class extends Service {
5989
6015
  ApplicationVersionListOptions
5990
6016
  );
5991
6017
  }
6018
+ async update(ApplicationVersionUpdateParams, ApplicationVersionUpdateOptions) {
6019
+ return await super.sendRequest(
6020
+ {
6021
+ method: "PATCH",
6022
+ url: "applicationVersions/" + ApplicationVersionUpdateParams.applicationVersionId,
6023
+ body: {
6024
+ status: ApplicationVersionUpdateParams.status,
6025
+ versionCode: ApplicationVersionUpdateParams.versionCode
6026
+ },
6027
+ authenticationNotOptional: true
6028
+ },
6029
+ ApplicationVersionUpdateOptions
6030
+ );
6031
+ }
6032
+ async delete(ApplicationVersionDeleteParams, ApplicationVersionDeleteOptions) {
6033
+ return await super.sendRequest(
6034
+ {
6035
+ method: "DELETE",
6036
+ url: "applicationVersions/" + ApplicationVersionDeleteParams.applicationVersionId,
6037
+ authenticationNotOptional: true,
6038
+ body: void 0
6039
+ },
6040
+ ApplicationVersionDeleteOptions
6041
+ );
6042
+ }
5992
6043
  };
5993
6044
 
5994
6045
  // src/types/types.ts
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "provenance": true
4
4
  },
5
5
  "name": "@juhuu/sdk-ts",
6
- "version": "1.3.32",
6
+ "version": "1.3.34",
7
7
  "description": "Typescript wrapper for JUHUU services",
8
8
  "main": "./dist/index.js",
9
9
  "module": "./dist/index.mjs",