@juhuu/sdk-ts 1.3.32 → 1.3.33

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
@@ -1814,7 +1814,13 @@ type QuickView = {
1814
1814
  };
1815
1815
  type PanelDisplay = "modal" | "dialog" | "screen";
1816
1816
  type AppStatus = "active" | "disabled";
1817
- type AppVersionStatus = "waitingForSigninToBuild" | "waitingForBuildToFinish" | "waitingForSigninToSubmit" | "waitingForReview" | "waitingForDistribution" | "active" | "soonDeprecated" | "deprecated";
1817
+ interface ApplicationIcon {
1818
+ ios: string;
1819
+ android: string;
1820
+ web: string;
1821
+ }
1822
+ type AppVersionStatus = "waitingForBuildToStart" | "waitingForBuildToFinish" | "waitingForSubmitToStart" | "waitingForSubmitToFinish" | "waitingForDistribution" | "active" | "soonDeprecated" | "deprecated";
1823
+ type AppVersionType = "ios" | "android" | "web";
1818
1824
  interface AdditionalSubscriptionItem {
1819
1825
  stripePriceId: string;
1820
1826
  quantity: number;
@@ -2377,8 +2383,11 @@ declare class ApplicationsService extends Service {
2377
2383
 
2378
2384
  declare class ApplicationVersionsService extends Service {
2379
2385
  constructor(config: JUHUU.SetupConfig);
2386
+ create(ApplicationVersionCreateParams: JUHUU.ApplicationVersion.Create.Params, ApplicationVersionCreateOptions?: JUHUU.ApplicationVersion.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Create.Response>>;
2380
2387
  retrieve(ApplicationVersionRetrieveParams: JUHUU.ApplicationVersion.Retrieve.Params, ApplicationVersionRetrieveOptions?: JUHUU.ApplicationVersion.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Retrieve.Response>>;
2381
2388
  list(ApplicationVersionListParams: JUHUU.ApplicationVersion.List.Params, ApplicationVersionListOptions?: JUHUU.ApplicationVersion.List.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.List.Response>>;
2389
+ update(ApplicationVersionUpdateParams: JUHUU.ApplicationVersion.Update.Params, ApplicationVersionUpdateOptions?: JUHUU.ApplicationVersion.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Update.Response>>;
2390
+ delete(ApplicationVersionDeleteParams: JUHUU.ApplicationVersion.Delete.Params, ApplicationVersionDeleteOptions?: JUHUU.ApplicationVersion.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Delete.Response>>;
2382
2391
  }
2383
2392
 
2384
2393
  declare class Juhuu {
@@ -7429,16 +7438,16 @@ declare namespace JUHUU {
7429
7438
  };
7430
7439
  }
7431
7440
  namespace Application {
7432
- type Base = {
7441
+ type Object = {
7433
7442
  id: string;
7434
7443
  version: number;
7435
7444
  readonly object: "application";
7436
7445
  readonly objectType: "dto";
7446
+ createdAt: Date;
7437
7447
  name: string;
7438
7448
  propertyId: string;
7439
7449
  colorScheme: ColorScheme | null;
7440
- appIconLight: string | null;
7441
- appIconDark: string | null;
7450
+ icon: ApplicationIcon;
7442
7451
  splashScreenImageLight: string | null;
7443
7452
  splashScreenImageDark: string | null;
7444
7453
  pointClusterId: string | null;
@@ -7447,21 +7456,25 @@ declare namespace JUHUU {
7447
7456
  fontUrlTitle: string | null;
7448
7457
  fontUrlBody: string | null;
7449
7458
  status: AppStatus;
7459
+ iosBundleIdentifier: string;
7460
+ webTitle: string;
7461
+ androidPackage: string;
7462
+ expoProjectId: string;
7463
+ homescreenName: string;
7464
+ slug: string;
7450
7465
  };
7451
- interface Android extends Base {
7452
- type: "android";
7453
- }
7454
- interface Ios extends Base {
7455
- type: "ios";
7456
- }
7457
- type Object = Android | Ios;
7458
7466
  namespace Create {
7459
7467
  type Params = {
7460
7468
  propertyId: string;
7461
7469
  name: string;
7462
7470
  colorScheme?: ColorScheme | null;
7463
- appIconLight?: string | null;
7464
- appIconDark?: string | null;
7471
+ icon?: Partial<ApplicationIcon>;
7472
+ iosBundleIdentifier?: string;
7473
+ webTitle?: string;
7474
+ androidPackage?: string;
7475
+ expoProjectId?: string;
7476
+ homescreenName?: string;
7477
+ slug?: string;
7465
7478
  };
7466
7479
  type Options = JUHUU.RequestOptions;
7467
7480
  type Response = {
@@ -7496,14 +7509,19 @@ declare namespace JUHUU {
7496
7509
  applicationId: string;
7497
7510
  name?: string;
7498
7511
  colorScheme?: ColorScheme | null;
7499
- appIconLight?: string | null;
7500
- appIconDark?: string | null;
7512
+ icon?: Partial<ApplicationIcon>;
7501
7513
  splashScreenImageLight?: string | null;
7502
7514
  splashScreenImageDark?: string | null;
7503
7515
  pointClusterId?: string | null;
7504
7516
  mapboxStyleUrlLight?: string | null;
7505
7517
  mapboxStyleUrlDark?: string | null;
7506
7518
  status?: AppStatus;
7519
+ iosBundleIdentifier?: string;
7520
+ webTitle?: string;
7521
+ androidPackage?: string;
7522
+ expoProjectId?: string;
7523
+ homescreenName?: string;
7524
+ slug?: string;
7507
7525
  };
7508
7526
  type Options = JUHUU.RequestOptions;
7509
7527
  type Response = {
@@ -7521,15 +7539,38 @@ declare namespace JUHUU {
7521
7539
  }
7522
7540
  }
7523
7541
  namespace ApplicationVersion {
7524
- type Object = {
7542
+ type Base = {
7525
7543
  id: string;
7526
7544
  version: number;
7527
7545
  readonly object: "applicationVersion";
7528
7546
  readonly objectType: "dto";
7547
+ createdAt: Date;
7529
7548
  applicationId: string;
7530
7549
  propertyId: string;
7531
7550
  status: AppVersionStatus;
7551
+ versionCode: string;
7532
7552
  };
7553
+ interface Ios extends Base {
7554
+ type: "ios";
7555
+ }
7556
+ interface Android extends Base {
7557
+ type: "android";
7558
+ }
7559
+ interface Web extends Base {
7560
+ type: "web";
7561
+ }
7562
+ type Object = Ios | Android | Web;
7563
+ namespace Create {
7564
+ type Params = {
7565
+ applicationId: string;
7566
+ propertyId: string;
7567
+ type: AppVersionType;
7568
+ };
7569
+ type Options = JUHUU.RequestOptions;
7570
+ type Response = {
7571
+ applicationVersion: JUHUU.ApplicationVersion.Object;
7572
+ };
7573
+ }
7533
7574
  namespace Retrieve {
7534
7575
  type Params = {
7535
7576
  applicationVersionId: string;
@@ -7552,7 +7593,27 @@ declare namespace JUHUU {
7552
7593
  hasMore: boolean;
7553
7594
  };
7554
7595
  }
7596
+ namespace Update {
7597
+ type Params = {
7598
+ applicationVersionId: string;
7599
+ status?: AppVersionStatus;
7600
+ versionCode?: string;
7601
+ };
7602
+ type Options = JUHUU.RequestOptions;
7603
+ type Response = {
7604
+ applicationVersion: JUHUU.ApplicationVersion.Object;
7605
+ };
7606
+ }
7607
+ namespace Delete {
7608
+ type Params = {
7609
+ applicationVersionId: string;
7610
+ };
7611
+ type Options = JUHUU.RequestOptions;
7612
+ type Response = {
7613
+ applicationVersion: JUHUU.ApplicationVersion.Object;
7614
+ };
7615
+ }
7555
7616
  }
7556
7617
  }
7557
7618
 
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 };
7619
+ 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 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 };
package/dist/index.d.ts CHANGED
@@ -1814,7 +1814,13 @@ type QuickView = {
1814
1814
  };
1815
1815
  type PanelDisplay = "modal" | "dialog" | "screen";
1816
1816
  type AppStatus = "active" | "disabled";
1817
- type AppVersionStatus = "waitingForSigninToBuild" | "waitingForBuildToFinish" | "waitingForSigninToSubmit" | "waitingForReview" | "waitingForDistribution" | "active" | "soonDeprecated" | "deprecated";
1817
+ interface ApplicationIcon {
1818
+ ios: string;
1819
+ android: string;
1820
+ web: string;
1821
+ }
1822
+ type AppVersionStatus = "waitingForBuildToStart" | "waitingForBuildToFinish" | "waitingForSubmitToStart" | "waitingForSubmitToFinish" | "waitingForDistribution" | "active" | "soonDeprecated" | "deprecated";
1823
+ type AppVersionType = "ios" | "android" | "web";
1818
1824
  interface AdditionalSubscriptionItem {
1819
1825
  stripePriceId: string;
1820
1826
  quantity: number;
@@ -2377,8 +2383,11 @@ declare class ApplicationsService extends Service {
2377
2383
 
2378
2384
  declare class ApplicationVersionsService extends Service {
2379
2385
  constructor(config: JUHUU.SetupConfig);
2386
+ create(ApplicationVersionCreateParams: JUHUU.ApplicationVersion.Create.Params, ApplicationVersionCreateOptions?: JUHUU.ApplicationVersion.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Create.Response>>;
2380
2387
  retrieve(ApplicationVersionRetrieveParams: JUHUU.ApplicationVersion.Retrieve.Params, ApplicationVersionRetrieveOptions?: JUHUU.ApplicationVersion.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Retrieve.Response>>;
2381
2388
  list(ApplicationVersionListParams: JUHUU.ApplicationVersion.List.Params, ApplicationVersionListOptions?: JUHUU.ApplicationVersion.List.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.List.Response>>;
2389
+ update(ApplicationVersionUpdateParams: JUHUU.ApplicationVersion.Update.Params, ApplicationVersionUpdateOptions?: JUHUU.ApplicationVersion.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Update.Response>>;
2390
+ delete(ApplicationVersionDeleteParams: JUHUU.ApplicationVersion.Delete.Params, ApplicationVersionDeleteOptions?: JUHUU.ApplicationVersion.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.ApplicationVersion.Delete.Response>>;
2382
2391
  }
2383
2392
 
2384
2393
  declare class Juhuu {
@@ -7429,16 +7438,16 @@ declare namespace JUHUU {
7429
7438
  };
7430
7439
  }
7431
7440
  namespace Application {
7432
- type Base = {
7441
+ type Object = {
7433
7442
  id: string;
7434
7443
  version: number;
7435
7444
  readonly object: "application";
7436
7445
  readonly objectType: "dto";
7446
+ createdAt: Date;
7437
7447
  name: string;
7438
7448
  propertyId: string;
7439
7449
  colorScheme: ColorScheme | null;
7440
- appIconLight: string | null;
7441
- appIconDark: string | null;
7450
+ icon: ApplicationIcon;
7442
7451
  splashScreenImageLight: string | null;
7443
7452
  splashScreenImageDark: string | null;
7444
7453
  pointClusterId: string | null;
@@ -7447,21 +7456,25 @@ declare namespace JUHUU {
7447
7456
  fontUrlTitle: string | null;
7448
7457
  fontUrlBody: string | null;
7449
7458
  status: AppStatus;
7459
+ iosBundleIdentifier: string;
7460
+ webTitle: string;
7461
+ androidPackage: string;
7462
+ expoProjectId: string;
7463
+ homescreenName: string;
7464
+ slug: string;
7450
7465
  };
7451
- interface Android extends Base {
7452
- type: "android";
7453
- }
7454
- interface Ios extends Base {
7455
- type: "ios";
7456
- }
7457
- type Object = Android | Ios;
7458
7466
  namespace Create {
7459
7467
  type Params = {
7460
7468
  propertyId: string;
7461
7469
  name: string;
7462
7470
  colorScheme?: ColorScheme | null;
7463
- appIconLight?: string | null;
7464
- appIconDark?: string | null;
7471
+ icon?: Partial<ApplicationIcon>;
7472
+ iosBundleIdentifier?: string;
7473
+ webTitle?: string;
7474
+ androidPackage?: string;
7475
+ expoProjectId?: string;
7476
+ homescreenName?: string;
7477
+ slug?: string;
7465
7478
  };
7466
7479
  type Options = JUHUU.RequestOptions;
7467
7480
  type Response = {
@@ -7496,14 +7509,19 @@ declare namespace JUHUU {
7496
7509
  applicationId: string;
7497
7510
  name?: string;
7498
7511
  colorScheme?: ColorScheme | null;
7499
- appIconLight?: string | null;
7500
- appIconDark?: string | null;
7512
+ icon?: Partial<ApplicationIcon>;
7501
7513
  splashScreenImageLight?: string | null;
7502
7514
  splashScreenImageDark?: string | null;
7503
7515
  pointClusterId?: string | null;
7504
7516
  mapboxStyleUrlLight?: string | null;
7505
7517
  mapboxStyleUrlDark?: string | null;
7506
7518
  status?: AppStatus;
7519
+ iosBundleIdentifier?: string;
7520
+ webTitle?: string;
7521
+ androidPackage?: string;
7522
+ expoProjectId?: string;
7523
+ homescreenName?: string;
7524
+ slug?: string;
7507
7525
  };
7508
7526
  type Options = JUHUU.RequestOptions;
7509
7527
  type Response = {
@@ -7521,15 +7539,38 @@ declare namespace JUHUU {
7521
7539
  }
7522
7540
  }
7523
7541
  namespace ApplicationVersion {
7524
- type Object = {
7542
+ type Base = {
7525
7543
  id: string;
7526
7544
  version: number;
7527
7545
  readonly object: "applicationVersion";
7528
7546
  readonly objectType: "dto";
7547
+ createdAt: Date;
7529
7548
  applicationId: string;
7530
7549
  propertyId: string;
7531
7550
  status: AppVersionStatus;
7551
+ versionCode: string;
7532
7552
  };
7553
+ interface Ios extends Base {
7554
+ type: "ios";
7555
+ }
7556
+ interface Android extends Base {
7557
+ type: "android";
7558
+ }
7559
+ interface Web extends Base {
7560
+ type: "web";
7561
+ }
7562
+ type Object = Ios | Android | Web;
7563
+ namespace Create {
7564
+ type Params = {
7565
+ applicationId: string;
7566
+ propertyId: string;
7567
+ type: AppVersionType;
7568
+ };
7569
+ type Options = JUHUU.RequestOptions;
7570
+ type Response = {
7571
+ applicationVersion: JUHUU.ApplicationVersion.Object;
7572
+ };
7573
+ }
7533
7574
  namespace Retrieve {
7534
7575
  type Params = {
7535
7576
  applicationVersionId: string;
@@ -7552,7 +7593,27 @@ declare namespace JUHUU {
7552
7593
  hasMore: boolean;
7553
7594
  };
7554
7595
  }
7596
+ namespace Update {
7597
+ type Params = {
7598
+ applicationVersionId: string;
7599
+ status?: AppVersionStatus;
7600
+ versionCode?: string;
7601
+ };
7602
+ type Options = JUHUU.RequestOptions;
7603
+ type Response = {
7604
+ applicationVersion: JUHUU.ApplicationVersion.Object;
7605
+ };
7606
+ }
7607
+ namespace Delete {
7608
+ type Params = {
7609
+ applicationVersionId: string;
7610
+ };
7611
+ type Options = JUHUU.RequestOptions;
7612
+ type Response = {
7613
+ applicationVersion: JUHUU.ApplicationVersion.Object;
7614
+ };
7615
+ }
7555
7616
  }
7556
7617
  }
7557
7618
 
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 };
7619
+ 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 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 };
package/dist/index.js CHANGED
@@ -5929,8 +5929,13 @@ var ApplicationsService = class extends Service {
5929
5929
  propertyId: ApplicationCreateParams.propertyId,
5930
5930
  name: ApplicationCreateParams.name,
5931
5931
  colorScheme: ApplicationCreateParams.colorScheme,
5932
- appIconLight: ApplicationCreateParams.appIconLight,
5933
- appIconDark: ApplicationCreateParams.appIconDark
5932
+ icon: ApplicationCreateParams.icon,
5933
+ iosBundleIdentifier: ApplicationCreateParams.iosBundleIdentifier,
5934
+ webTitle: ApplicationCreateParams.webTitle,
5935
+ androidPackage: ApplicationCreateParams.androidPackage,
5936
+ expoProjectId: ApplicationCreateParams.expoProjectId,
5937
+ homescreenName: ApplicationCreateParams.homescreenName,
5938
+ slug: ApplicationCreateParams.slug
5934
5939
  },
5935
5940
  authenticationNotOptional: true
5936
5941
  },
@@ -5972,14 +5977,19 @@ var ApplicationsService = class extends Service {
5972
5977
  body: {
5973
5978
  name: ApplicationUpdateParams.name,
5974
5979
  colorScheme: ApplicationUpdateParams.colorScheme,
5975
- appIconLight: ApplicationUpdateParams.appIconLight,
5976
- appIconDark: ApplicationUpdateParams.appIconDark,
5980
+ icon: ApplicationUpdateParams.icon,
5977
5981
  splashScreenImageLight: ApplicationUpdateParams.splashScreenImageLight,
5978
5982
  splashScreenImageDark: ApplicationUpdateParams.splashScreenImageDark,
5979
5983
  pointClusterId: ApplicationUpdateParams.pointClusterId,
5980
5984
  mapboxStyleUrlLight: ApplicationUpdateParams.mapboxStyleUrlLight,
5981
5985
  mapboxStyleUrlDark: ApplicationUpdateParams.mapboxStyleUrlDark,
5982
- status: ApplicationUpdateParams.status
5986
+ status: ApplicationUpdateParams.status,
5987
+ iosBundleIdentifier: ApplicationUpdateParams.iosBundleIdentifier,
5988
+ webTitle: ApplicationUpdateParams.webTitle,
5989
+ androidPackage: ApplicationUpdateParams.androidPackage,
5990
+ expoProjectId: ApplicationUpdateParams.expoProjectId,
5991
+ homescreenName: ApplicationUpdateParams.homescreenName,
5992
+ slug: ApplicationUpdateParams.slug
5983
5993
  },
5984
5994
  authenticationNotOptional: true
5985
5995
  },
@@ -6004,6 +6014,21 @@ var ApplicationVersionsService = class extends Service {
6004
6014
  constructor(config) {
6005
6015
  super(config);
6006
6016
  }
6017
+ async create(ApplicationVersionCreateParams, ApplicationVersionCreateOptions) {
6018
+ return await super.sendRequest(
6019
+ {
6020
+ method: "POST",
6021
+ url: "applicationVersions",
6022
+ body: {
6023
+ applicationId: ApplicationVersionCreateParams.applicationId,
6024
+ propertyId: ApplicationVersionCreateParams.propertyId,
6025
+ type: ApplicationVersionCreateParams.type
6026
+ },
6027
+ authenticationNotOptional: true
6028
+ },
6029
+ ApplicationVersionCreateOptions
6030
+ );
6031
+ }
6007
6032
  async retrieve(ApplicationVersionRetrieveParams, ApplicationVersionRetrieveOptions) {
6008
6033
  const queryArray = [];
6009
6034
  return await super.sendRequest(
@@ -6033,6 +6058,31 @@ var ApplicationVersionsService = class extends Service {
6033
6058
  ApplicationVersionListOptions
6034
6059
  );
6035
6060
  }
6061
+ async update(ApplicationVersionUpdateParams, ApplicationVersionUpdateOptions) {
6062
+ return await super.sendRequest(
6063
+ {
6064
+ method: "PATCH",
6065
+ url: "applicationVersions/" + ApplicationVersionUpdateParams.applicationVersionId,
6066
+ body: {
6067
+ status: ApplicationVersionUpdateParams.status,
6068
+ versionCode: ApplicationVersionUpdateParams.versionCode
6069
+ },
6070
+ authenticationNotOptional: true
6071
+ },
6072
+ ApplicationVersionUpdateOptions
6073
+ );
6074
+ }
6075
+ async delete(ApplicationVersionDeleteParams, ApplicationVersionDeleteOptions) {
6076
+ return await super.sendRequest(
6077
+ {
6078
+ method: "DELETE",
6079
+ url: "applicationVersions/" + ApplicationVersionDeleteParams.applicationVersionId,
6080
+ authenticationNotOptional: true,
6081
+ body: void 0
6082
+ },
6083
+ ApplicationVersionDeleteOptions
6084
+ );
6085
+ }
6036
6086
  };
6037
6087
 
6038
6088
  // src/types/types.ts
package/dist/index.mjs CHANGED
@@ -5885,8 +5885,13 @@ var ApplicationsService = class extends Service {
5885
5885
  propertyId: ApplicationCreateParams.propertyId,
5886
5886
  name: ApplicationCreateParams.name,
5887
5887
  colorScheme: ApplicationCreateParams.colorScheme,
5888
- appIconLight: ApplicationCreateParams.appIconLight,
5889
- appIconDark: ApplicationCreateParams.appIconDark
5888
+ icon: ApplicationCreateParams.icon,
5889
+ iosBundleIdentifier: ApplicationCreateParams.iosBundleIdentifier,
5890
+ webTitle: ApplicationCreateParams.webTitle,
5891
+ androidPackage: ApplicationCreateParams.androidPackage,
5892
+ expoProjectId: ApplicationCreateParams.expoProjectId,
5893
+ homescreenName: ApplicationCreateParams.homescreenName,
5894
+ slug: ApplicationCreateParams.slug
5890
5895
  },
5891
5896
  authenticationNotOptional: true
5892
5897
  },
@@ -5928,14 +5933,19 @@ var ApplicationsService = class extends Service {
5928
5933
  body: {
5929
5934
  name: ApplicationUpdateParams.name,
5930
5935
  colorScheme: ApplicationUpdateParams.colorScheme,
5931
- appIconLight: ApplicationUpdateParams.appIconLight,
5932
- appIconDark: ApplicationUpdateParams.appIconDark,
5936
+ icon: ApplicationUpdateParams.icon,
5933
5937
  splashScreenImageLight: ApplicationUpdateParams.splashScreenImageLight,
5934
5938
  splashScreenImageDark: ApplicationUpdateParams.splashScreenImageDark,
5935
5939
  pointClusterId: ApplicationUpdateParams.pointClusterId,
5936
5940
  mapboxStyleUrlLight: ApplicationUpdateParams.mapboxStyleUrlLight,
5937
5941
  mapboxStyleUrlDark: ApplicationUpdateParams.mapboxStyleUrlDark,
5938
- status: ApplicationUpdateParams.status
5942
+ status: ApplicationUpdateParams.status,
5943
+ iosBundleIdentifier: ApplicationUpdateParams.iosBundleIdentifier,
5944
+ webTitle: ApplicationUpdateParams.webTitle,
5945
+ androidPackage: ApplicationUpdateParams.androidPackage,
5946
+ expoProjectId: ApplicationUpdateParams.expoProjectId,
5947
+ homescreenName: ApplicationUpdateParams.homescreenName,
5948
+ slug: ApplicationUpdateParams.slug
5939
5949
  },
5940
5950
  authenticationNotOptional: true
5941
5951
  },
@@ -5960,6 +5970,21 @@ var ApplicationVersionsService = class extends Service {
5960
5970
  constructor(config) {
5961
5971
  super(config);
5962
5972
  }
5973
+ async create(ApplicationVersionCreateParams, ApplicationVersionCreateOptions) {
5974
+ return await super.sendRequest(
5975
+ {
5976
+ method: "POST",
5977
+ url: "applicationVersions",
5978
+ body: {
5979
+ applicationId: ApplicationVersionCreateParams.applicationId,
5980
+ propertyId: ApplicationVersionCreateParams.propertyId,
5981
+ type: ApplicationVersionCreateParams.type
5982
+ },
5983
+ authenticationNotOptional: true
5984
+ },
5985
+ ApplicationVersionCreateOptions
5986
+ );
5987
+ }
5963
5988
  async retrieve(ApplicationVersionRetrieveParams, ApplicationVersionRetrieveOptions) {
5964
5989
  const queryArray = [];
5965
5990
  return await super.sendRequest(
@@ -5989,6 +6014,31 @@ var ApplicationVersionsService = class extends Service {
5989
6014
  ApplicationVersionListOptions
5990
6015
  );
5991
6016
  }
6017
+ async update(ApplicationVersionUpdateParams, ApplicationVersionUpdateOptions) {
6018
+ return await super.sendRequest(
6019
+ {
6020
+ method: "PATCH",
6021
+ url: "applicationVersions/" + ApplicationVersionUpdateParams.applicationVersionId,
6022
+ body: {
6023
+ status: ApplicationVersionUpdateParams.status,
6024
+ versionCode: ApplicationVersionUpdateParams.versionCode
6025
+ },
6026
+ authenticationNotOptional: true
6027
+ },
6028
+ ApplicationVersionUpdateOptions
6029
+ );
6030
+ }
6031
+ async delete(ApplicationVersionDeleteParams, ApplicationVersionDeleteOptions) {
6032
+ return await super.sendRequest(
6033
+ {
6034
+ method: "DELETE",
6035
+ url: "applicationVersions/" + ApplicationVersionDeleteParams.applicationVersionId,
6036
+ authenticationNotOptional: true,
6037
+ body: void 0
6038
+ },
6039
+ ApplicationVersionDeleteOptions
6040
+ );
6041
+ }
5992
6042
  };
5993
6043
 
5994
6044
  // 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.33",
7
7
  "description": "Typescript wrapper for JUHUU services",
8
8
  "main": "./dist/index.js",
9
9
  "module": "./dist/index.mjs",