@juhuu/sdk-ts 1.2.198 → 1.2.200

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
@@ -13,6 +13,11 @@ type ExtractType<T> = T extends {
13
13
  type UserGroup = "retailer" | "engineer" | "operator" | "user";
14
14
  type Frontend = "dashboard" | "app";
15
15
  type ApiKeyStatus = "enabled" | "disabled";
16
+ type QuickAction = {
17
+ icon: string | null;
18
+ name: LocaleString;
19
+ flowId: string;
20
+ };
16
21
  type License = {
17
22
  type: "url";
18
23
  validUntil: Date | null;
@@ -2547,7 +2552,7 @@ declare namespace JUHUU {
2547
2552
  capturedAt: Date | null;
2548
2553
  capturedBy: "system" | "propertyAdmin" | null;
2549
2554
  capturedByUserId: string | null;
2550
- isPartiallyOrFullyRefunded: boolean;
2555
+ refundLevel: boolean;
2551
2556
  };
2552
2557
  namespace Retrieve {
2553
2558
  type Params = {
@@ -2730,6 +2735,8 @@ declare namespace JUHUU {
2730
2735
  disabledBy: "propertyAdmin" | "deviceNodeArray" | null;
2731
2736
  visible: boolean;
2732
2737
  incidentTemplateIdArray: string[];
2738
+ adminQuickActionArray: QuickAction[];
2739
+ userQuickActionArray: QuickAction[];
2733
2740
  };
2734
2741
  export interface RentableDeviceGroup extends Base {
2735
2742
  type: "rentableDeviceGroup";
@@ -3581,16 +3588,16 @@ declare namespace JUHUU {
3581
3588
  id: string;
3582
3589
  readonly object: "flow";
3583
3590
  name: string;
3584
- startBlock: FlowBlock;
3585
- blocks: FlowBlock[];
3586
- edges: FlowEdge[];
3591
+ startNode: FlowBlock;
3592
+ nodeArray: FlowBlock[];
3593
+ edgeArray: FlowEdge[];
3587
3594
  };
3588
3595
  namespace Create {
3589
3596
  type Params = {
3590
3597
  name: string;
3591
- startBlock: FlowBlock;
3592
- blocks: FlowBlock[];
3593
- edges: FlowEdge[];
3598
+ startNode: FlowBlock;
3599
+ nodeArray: FlowBlock[];
3600
+ edgeArray: FlowEdge[];
3594
3601
  };
3595
3602
  type Options = JUHUU.RequestOptions;
3596
3603
  type Response = {
@@ -3622,9 +3629,9 @@ declare namespace JUHUU {
3622
3629
  type Params = {
3623
3630
  flowId: string;
3624
3631
  name?: string;
3625
- startBlock?: FlowBlock;
3626
- blocks?: FlowBlock[];
3627
- edges?: FlowEdge[];
3632
+ startNode?: FlowBlock;
3633
+ nodeArray?: FlowBlock[];
3634
+ edgeArray?: FlowEdge[];
3628
3635
  };
3629
3636
  type Options = JUHUU.RequestOptions;
3630
3637
  type Response = {
@@ -3655,7 +3662,6 @@ declare namespace JUHUU {
3655
3662
  source: "fluctuo" | null;
3656
3663
  invalidAt: Date | null;
3657
3664
  commandArray: Command[];
3658
- useQuickActionArray: Layout.PreviewButton[];
3659
3665
  deviceImageDark: string;
3660
3666
  deviceImageLight: string;
3661
3667
  callToAction: LocaleString;
@@ -3808,4 +3814,4 @@ declare namespace JUHUU {
3808
3814
  }
3809
3815
  }
3810
3816
 
3811
- export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DevicePermission, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowEdge, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Offer, type OfferTime, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type TarifType, type TaxCode, type TimeZone, type Unit, type UserGroup, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
3817
+ export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DevicePermission, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowEdge, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Offer, type OfferTime, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type Purpose, type PushToken, type QuickAction, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type TarifType, type TaxCode, type TimeZone, type Unit, type UserGroup, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
package/dist/index.d.ts CHANGED
@@ -13,6 +13,11 @@ type ExtractType<T> = T extends {
13
13
  type UserGroup = "retailer" | "engineer" | "operator" | "user";
14
14
  type Frontend = "dashboard" | "app";
15
15
  type ApiKeyStatus = "enabled" | "disabled";
16
+ type QuickAction = {
17
+ icon: string | null;
18
+ name: LocaleString;
19
+ flowId: string;
20
+ };
16
21
  type License = {
17
22
  type: "url";
18
23
  validUntil: Date | null;
@@ -2547,7 +2552,7 @@ declare namespace JUHUU {
2547
2552
  capturedAt: Date | null;
2548
2553
  capturedBy: "system" | "propertyAdmin" | null;
2549
2554
  capturedByUserId: string | null;
2550
- isPartiallyOrFullyRefunded: boolean;
2555
+ refundLevel: boolean;
2551
2556
  };
2552
2557
  namespace Retrieve {
2553
2558
  type Params = {
@@ -2730,6 +2735,8 @@ declare namespace JUHUU {
2730
2735
  disabledBy: "propertyAdmin" | "deviceNodeArray" | null;
2731
2736
  visible: boolean;
2732
2737
  incidentTemplateIdArray: string[];
2738
+ adminQuickActionArray: QuickAction[];
2739
+ userQuickActionArray: QuickAction[];
2733
2740
  };
2734
2741
  export interface RentableDeviceGroup extends Base {
2735
2742
  type: "rentableDeviceGroup";
@@ -3581,16 +3588,16 @@ declare namespace JUHUU {
3581
3588
  id: string;
3582
3589
  readonly object: "flow";
3583
3590
  name: string;
3584
- startBlock: FlowBlock;
3585
- blocks: FlowBlock[];
3586
- edges: FlowEdge[];
3591
+ startNode: FlowBlock;
3592
+ nodeArray: FlowBlock[];
3593
+ edgeArray: FlowEdge[];
3587
3594
  };
3588
3595
  namespace Create {
3589
3596
  type Params = {
3590
3597
  name: string;
3591
- startBlock: FlowBlock;
3592
- blocks: FlowBlock[];
3593
- edges: FlowEdge[];
3598
+ startNode: FlowBlock;
3599
+ nodeArray: FlowBlock[];
3600
+ edgeArray: FlowEdge[];
3594
3601
  };
3595
3602
  type Options = JUHUU.RequestOptions;
3596
3603
  type Response = {
@@ -3622,9 +3629,9 @@ declare namespace JUHUU {
3622
3629
  type Params = {
3623
3630
  flowId: string;
3624
3631
  name?: string;
3625
- startBlock?: FlowBlock;
3626
- blocks?: FlowBlock[];
3627
- edges?: FlowEdge[];
3632
+ startNode?: FlowBlock;
3633
+ nodeArray?: FlowBlock[];
3634
+ edgeArray?: FlowEdge[];
3628
3635
  };
3629
3636
  type Options = JUHUU.RequestOptions;
3630
3637
  type Response = {
@@ -3655,7 +3662,6 @@ declare namespace JUHUU {
3655
3662
  source: "fluctuo" | null;
3656
3663
  invalidAt: Date | null;
3657
3664
  commandArray: Command[];
3658
- useQuickActionArray: Layout.PreviewButton[];
3659
3665
  deviceImageDark: string;
3660
3666
  deviceImageLight: string;
3661
3667
  callToAction: LocaleString;
@@ -3808,4 +3814,4 @@ declare namespace JUHUU {
3808
3814
  }
3809
3815
  }
3810
3816
 
3811
- export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DevicePermission, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowEdge, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Offer, type OfferTime, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type TarifType, type TaxCode, type TimeZone, type Unit, type UserGroup, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
3817
+ export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DevicePermission, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FlowBlock, type FlowEdge, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Offer, type OfferTime, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type Purpose, type PushToken, type QuickAction, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type TarifType, type TaxCode, type TimeZone, type Unit, type UserGroup, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
package/dist/index.js CHANGED
@@ -3359,9 +3359,9 @@ var FlowsService = class extends Service {
3359
3359
  url: "flows",
3360
3360
  body: {
3361
3361
  name: FlowCreateParams.name,
3362
- startBlock: FlowCreateParams.startBlock,
3363
- blocks: FlowCreateParams.blocks,
3364
- edges: FlowCreateParams.edges
3362
+ startNode: FlowCreateParams.startNode,
3363
+ nodeArray: FlowCreateParams.nodeArray,
3364
+ edgeArray: FlowCreateParams.edgeArray
3365
3365
  },
3366
3366
  authenticationNotOptional: true
3367
3367
  },
@@ -3404,9 +3404,9 @@ var FlowsService = class extends Service {
3404
3404
  url: "flows/" + FlowUpdateParams.flowId,
3405
3405
  body: {
3406
3406
  name: FlowUpdateParams.name,
3407
- startBlock: FlowUpdateParams.startBlock,
3408
- blocks: FlowUpdateParams.blocks,
3409
- edges: FlowUpdateParams.edges
3407
+ startNode: FlowUpdateParams.startNode,
3408
+ nodeArray: FlowUpdateParams.nodeArray,
3409
+ edgeArray: FlowUpdateParams.edgeArray
3410
3410
  },
3411
3411
  authenticationNotOptional: true
3412
3412
  },
package/dist/index.mjs CHANGED
@@ -3315,9 +3315,9 @@ var FlowsService = class extends Service {
3315
3315
  url: "flows",
3316
3316
  body: {
3317
3317
  name: FlowCreateParams.name,
3318
- startBlock: FlowCreateParams.startBlock,
3319
- blocks: FlowCreateParams.blocks,
3320
- edges: FlowCreateParams.edges
3318
+ startNode: FlowCreateParams.startNode,
3319
+ nodeArray: FlowCreateParams.nodeArray,
3320
+ edgeArray: FlowCreateParams.edgeArray
3321
3321
  },
3322
3322
  authenticationNotOptional: true
3323
3323
  },
@@ -3360,9 +3360,9 @@ var FlowsService = class extends Service {
3360
3360
  url: "flows/" + FlowUpdateParams.flowId,
3361
3361
  body: {
3362
3362
  name: FlowUpdateParams.name,
3363
- startBlock: FlowUpdateParams.startBlock,
3364
- blocks: FlowUpdateParams.blocks,
3365
- edges: FlowUpdateParams.edges
3363
+ startNode: FlowUpdateParams.startNode,
3364
+ nodeArray: FlowUpdateParams.nodeArray,
3365
+ edgeArray: FlowUpdateParams.edgeArray
3366
3366
  },
3367
3367
  authenticationNotOptional: true
3368
3368
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.198",
3
+ "version": "1.2.200",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",