@juhuu/sdk-ts 1.2.307 → 1.2.309
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 +28 -22
- package/dist/index.d.ts +28 -22
- package/dist/index.js +21 -4
- package/dist/index.mjs +21 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -14,10 +14,6 @@ type ProximityStrategy = {
|
|
|
14
14
|
type KitStatus = "setupComplete" | "waitingForSetup";
|
|
15
15
|
type Platform = "ios" | "android" | "windows" | "macos" | "web";
|
|
16
16
|
type DeviceStatus = "running" | "sleeping" | "shutdown";
|
|
17
|
-
type PushToken = {
|
|
18
|
-
platform: Platform;
|
|
19
|
-
token: string;
|
|
20
|
-
};
|
|
21
17
|
type ExtractType<T> = T extends {
|
|
22
18
|
type: infer U;
|
|
23
19
|
} ? U : never;
|
|
@@ -769,7 +765,6 @@ interface BenefitCardRetrieveBlockInputs {
|
|
|
769
765
|
interface BenefitCardListBlock extends BaseBlock {
|
|
770
766
|
type: "benefitCard.list";
|
|
771
767
|
in: {
|
|
772
|
-
propertyId: DataEdgeConnection;
|
|
773
768
|
userId: DataEdgeConnection;
|
|
774
769
|
reference: DataEdgeConnection;
|
|
775
770
|
limit: DataEdgeConnection;
|
|
@@ -781,7 +776,6 @@ interface BenefitCardListBlock extends BaseBlock {
|
|
|
781
776
|
hasMore: DataEdgeConnection;
|
|
782
777
|
};
|
|
783
778
|
data: {
|
|
784
|
-
propertyId?: string;
|
|
785
779
|
userId?: string;
|
|
786
780
|
reference?: string | null;
|
|
787
781
|
limit?: number;
|
|
@@ -789,7 +783,6 @@ interface BenefitCardListBlock extends BaseBlock {
|
|
|
789
783
|
};
|
|
790
784
|
}
|
|
791
785
|
interface BenefitCardListBlockInputs {
|
|
792
|
-
propertyId?: string;
|
|
793
786
|
userId?: string;
|
|
794
787
|
reference?: string | null;
|
|
795
788
|
limit?: number;
|
|
@@ -817,6 +810,8 @@ interface BenefitCardUpdateBlock extends BaseBlock {
|
|
|
817
810
|
name: DataEdgeConnection;
|
|
818
811
|
userId: DataEdgeConnection;
|
|
819
812
|
reference: DataEdgeConnection;
|
|
813
|
+
text: DataEdgeConnection;
|
|
814
|
+
metadata: DataEdgeConnection;
|
|
820
815
|
};
|
|
821
816
|
out: {
|
|
822
817
|
beforeBenefitCard: DataEdgeConnection;
|
|
@@ -828,6 +823,8 @@ interface BenefitCardUpdateBlock extends BaseBlock {
|
|
|
828
823
|
name?: LocaleString;
|
|
829
824
|
userId?: string | null;
|
|
830
825
|
reference?: string | null;
|
|
826
|
+
text?: string | null;
|
|
827
|
+
metadata?: Record<string, any>;
|
|
831
828
|
};
|
|
832
829
|
}
|
|
833
830
|
interface BenefitCardUpdateBlockInputs {
|
|
@@ -835,6 +832,8 @@ interface BenefitCardUpdateBlockInputs {
|
|
|
835
832
|
name?: LocaleString;
|
|
836
833
|
userId?: string | null;
|
|
837
834
|
reference?: string | null;
|
|
835
|
+
text?: string | null;
|
|
836
|
+
metadata?: Record<string, any>;
|
|
838
837
|
}
|
|
839
838
|
interface TextMatchBlock extends BaseBlock {
|
|
840
839
|
type: "text.match";
|
|
@@ -1954,6 +1953,7 @@ declare class BenefitCardsService extends Service {
|
|
|
1954
1953
|
retrieve(params: JUHUU.BenefitCard.Retrieve.Params, options?: JUHUU.BenefitCard.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Retrieve.Response>>;
|
|
1955
1954
|
update(params: JUHUU.BenefitCard.Update.Params, options?: JUHUU.BenefitCard.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Update.Response>>;
|
|
1956
1955
|
delete(params: JUHUU.BenefitCard.Delete.Params, options?: JUHUU.BenefitCard.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Delete.Response>>;
|
|
1956
|
+
copy(params: JUHUU.BenefitCard.Copy.Params, options?: JUHUU.BenefitCard.Copy.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Copy.Response>>;
|
|
1957
1957
|
}
|
|
1958
1958
|
|
|
1959
1959
|
declare class CatalogsService extends Service {
|
|
@@ -2331,6 +2331,7 @@ declare namespace JUHUU {
|
|
|
2331
2331
|
sessionType: Object["type"];
|
|
2332
2332
|
isOffSession: boolean;
|
|
2333
2333
|
userId: string;
|
|
2334
|
+
propertyId?: string;
|
|
2334
2335
|
};
|
|
2335
2336
|
type Options = JUHUU.RequestOptions;
|
|
2336
2337
|
type Response = {
|
|
@@ -2477,20 +2478,7 @@ declare namespace JUHUU {
|
|
|
2477
2478
|
billingEmail: string | null;
|
|
2478
2479
|
billingEmailVerified: boolean;
|
|
2479
2480
|
taxCodeArray: TaxCode[];
|
|
2480
|
-
|
|
2481
|
-
email: {
|
|
2482
|
-
enabled: boolean;
|
|
2483
|
-
emailArray: string[];
|
|
2484
|
-
};
|
|
2485
|
-
sms: {
|
|
2486
|
-
enabled: boolean;
|
|
2487
|
-
phoneNumberArray: string[];
|
|
2488
|
-
};
|
|
2489
|
-
push: {
|
|
2490
|
-
enabled: boolean;
|
|
2491
|
-
pushTokenArray: PushToken[];
|
|
2492
|
-
};
|
|
2493
|
-
};
|
|
2481
|
+
expoPushTokenArray: string[];
|
|
2494
2482
|
group: UserGroup;
|
|
2495
2483
|
createdByPropertyId: string | null;
|
|
2496
2484
|
identity: {
|
|
@@ -2568,6 +2556,7 @@ declare namespace JUHUU {
|
|
|
2568
2556
|
taxCodeArray?: TaxCode[];
|
|
2569
2557
|
acceptedTermIdArray?: string[];
|
|
2570
2558
|
group?: UserGroup;
|
|
2559
|
+
expoPushTokenArray?: string[];
|
|
2571
2560
|
};
|
|
2572
2561
|
type Options = JUHUU.RequestOptions;
|
|
2573
2562
|
type Response = {
|
|
@@ -4476,6 +4465,8 @@ declare namespace JUHUU {
|
|
|
4476
4465
|
description: string;
|
|
4477
4466
|
imageUrlArray: string[];
|
|
4478
4467
|
incidentTemplateId: string | null;
|
|
4468
|
+
responsiblesNotified: boolean;
|
|
4469
|
+
affectedNotified: boolean;
|
|
4479
4470
|
};
|
|
4480
4471
|
export interface Location extends Base {
|
|
4481
4472
|
type: "location";
|
|
@@ -5766,6 +5757,8 @@ declare namespace JUHUU {
|
|
|
5766
5757
|
userId: string | null;
|
|
5767
5758
|
propertyId: string;
|
|
5768
5759
|
reference: string | null;
|
|
5760
|
+
text: string | null;
|
|
5761
|
+
metadata: Record<string, any>;
|
|
5769
5762
|
};
|
|
5770
5763
|
namespace Create {
|
|
5771
5764
|
type Params = {
|
|
@@ -5775,6 +5768,8 @@ declare namespace JUHUU {
|
|
|
5775
5768
|
imageDark?: string | null;
|
|
5776
5769
|
userId?: string | null;
|
|
5777
5770
|
reference?: string | null;
|
|
5771
|
+
text?: string | null;
|
|
5772
|
+
metadata?: Record<string, any>;
|
|
5778
5773
|
};
|
|
5779
5774
|
type Options = JUHUU.RequestOptions;
|
|
5780
5775
|
type Response = {
|
|
@@ -5813,6 +5808,8 @@ declare namespace JUHUU {
|
|
|
5813
5808
|
imageDark?: string | null;
|
|
5814
5809
|
userId?: string | null;
|
|
5815
5810
|
reference?: string | null;
|
|
5811
|
+
text?: string | null;
|
|
5812
|
+
metadata?: Record<string, any>;
|
|
5816
5813
|
};
|
|
5817
5814
|
type Options = JUHUU.RequestOptions;
|
|
5818
5815
|
type Response = {
|
|
@@ -5828,6 +5825,15 @@ declare namespace JUHUU {
|
|
|
5828
5825
|
benefitCard: JUHUU.BenefitCard.Object;
|
|
5829
5826
|
};
|
|
5830
5827
|
}
|
|
5828
|
+
namespace Copy {
|
|
5829
|
+
type Params = {
|
|
5830
|
+
benefitCardId: string;
|
|
5831
|
+
};
|
|
5832
|
+
type Options = JUHUU.RequestOptions;
|
|
5833
|
+
type Response = {
|
|
5834
|
+
benefitCard: JUHUU.BenefitCard.Object;
|
|
5835
|
+
};
|
|
5836
|
+
}
|
|
5831
5837
|
}
|
|
5832
5838
|
namespace Catalog {
|
|
5833
5839
|
type CatalogType = "product" | "service" | "digital" | "subscription" | "marketplace" | "internal";
|
|
@@ -6709,4 +6715,4 @@ declare namespace JUHUU {
|
|
|
6709
6715
|
}
|
|
6710
6716
|
}
|
|
6711
6717
|
|
|
6712
|
-
export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, 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 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 License, type LicenseTariffIdMap, 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 MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, 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 PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type
|
|
6718
|
+
export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, 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 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 License, type LicenseTariffIdMap, 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 MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, 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 PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCustomBlock, type StartLocationUpdateBlock, type StartParameterUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type SystemLogBlock, type SystemLogBlockInputs, type TarifType, type TaxCode, type TextMatchBlock, type TextMatchBlockInputs, 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
|
@@ -14,10 +14,6 @@ type ProximityStrategy = {
|
|
|
14
14
|
type KitStatus = "setupComplete" | "waitingForSetup";
|
|
15
15
|
type Platform = "ios" | "android" | "windows" | "macos" | "web";
|
|
16
16
|
type DeviceStatus = "running" | "sleeping" | "shutdown";
|
|
17
|
-
type PushToken = {
|
|
18
|
-
platform: Platform;
|
|
19
|
-
token: string;
|
|
20
|
-
};
|
|
21
17
|
type ExtractType<T> = T extends {
|
|
22
18
|
type: infer U;
|
|
23
19
|
} ? U : never;
|
|
@@ -769,7 +765,6 @@ interface BenefitCardRetrieveBlockInputs {
|
|
|
769
765
|
interface BenefitCardListBlock extends BaseBlock {
|
|
770
766
|
type: "benefitCard.list";
|
|
771
767
|
in: {
|
|
772
|
-
propertyId: DataEdgeConnection;
|
|
773
768
|
userId: DataEdgeConnection;
|
|
774
769
|
reference: DataEdgeConnection;
|
|
775
770
|
limit: DataEdgeConnection;
|
|
@@ -781,7 +776,6 @@ interface BenefitCardListBlock extends BaseBlock {
|
|
|
781
776
|
hasMore: DataEdgeConnection;
|
|
782
777
|
};
|
|
783
778
|
data: {
|
|
784
|
-
propertyId?: string;
|
|
785
779
|
userId?: string;
|
|
786
780
|
reference?: string | null;
|
|
787
781
|
limit?: number;
|
|
@@ -789,7 +783,6 @@ interface BenefitCardListBlock extends BaseBlock {
|
|
|
789
783
|
};
|
|
790
784
|
}
|
|
791
785
|
interface BenefitCardListBlockInputs {
|
|
792
|
-
propertyId?: string;
|
|
793
786
|
userId?: string;
|
|
794
787
|
reference?: string | null;
|
|
795
788
|
limit?: number;
|
|
@@ -817,6 +810,8 @@ interface BenefitCardUpdateBlock extends BaseBlock {
|
|
|
817
810
|
name: DataEdgeConnection;
|
|
818
811
|
userId: DataEdgeConnection;
|
|
819
812
|
reference: DataEdgeConnection;
|
|
813
|
+
text: DataEdgeConnection;
|
|
814
|
+
metadata: DataEdgeConnection;
|
|
820
815
|
};
|
|
821
816
|
out: {
|
|
822
817
|
beforeBenefitCard: DataEdgeConnection;
|
|
@@ -828,6 +823,8 @@ interface BenefitCardUpdateBlock extends BaseBlock {
|
|
|
828
823
|
name?: LocaleString;
|
|
829
824
|
userId?: string | null;
|
|
830
825
|
reference?: string | null;
|
|
826
|
+
text?: string | null;
|
|
827
|
+
metadata?: Record<string, any>;
|
|
831
828
|
};
|
|
832
829
|
}
|
|
833
830
|
interface BenefitCardUpdateBlockInputs {
|
|
@@ -835,6 +832,8 @@ interface BenefitCardUpdateBlockInputs {
|
|
|
835
832
|
name?: LocaleString;
|
|
836
833
|
userId?: string | null;
|
|
837
834
|
reference?: string | null;
|
|
835
|
+
text?: string | null;
|
|
836
|
+
metadata?: Record<string, any>;
|
|
838
837
|
}
|
|
839
838
|
interface TextMatchBlock extends BaseBlock {
|
|
840
839
|
type: "text.match";
|
|
@@ -1954,6 +1953,7 @@ declare class BenefitCardsService extends Service {
|
|
|
1954
1953
|
retrieve(params: JUHUU.BenefitCard.Retrieve.Params, options?: JUHUU.BenefitCard.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Retrieve.Response>>;
|
|
1955
1954
|
update(params: JUHUU.BenefitCard.Update.Params, options?: JUHUU.BenefitCard.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Update.Response>>;
|
|
1956
1955
|
delete(params: JUHUU.BenefitCard.Delete.Params, options?: JUHUU.BenefitCard.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Delete.Response>>;
|
|
1956
|
+
copy(params: JUHUU.BenefitCard.Copy.Params, options?: JUHUU.BenefitCard.Copy.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Copy.Response>>;
|
|
1957
1957
|
}
|
|
1958
1958
|
|
|
1959
1959
|
declare class CatalogsService extends Service {
|
|
@@ -2331,6 +2331,7 @@ declare namespace JUHUU {
|
|
|
2331
2331
|
sessionType: Object["type"];
|
|
2332
2332
|
isOffSession: boolean;
|
|
2333
2333
|
userId: string;
|
|
2334
|
+
propertyId?: string;
|
|
2334
2335
|
};
|
|
2335
2336
|
type Options = JUHUU.RequestOptions;
|
|
2336
2337
|
type Response = {
|
|
@@ -2477,20 +2478,7 @@ declare namespace JUHUU {
|
|
|
2477
2478
|
billingEmail: string | null;
|
|
2478
2479
|
billingEmailVerified: boolean;
|
|
2479
2480
|
taxCodeArray: TaxCode[];
|
|
2480
|
-
|
|
2481
|
-
email: {
|
|
2482
|
-
enabled: boolean;
|
|
2483
|
-
emailArray: string[];
|
|
2484
|
-
};
|
|
2485
|
-
sms: {
|
|
2486
|
-
enabled: boolean;
|
|
2487
|
-
phoneNumberArray: string[];
|
|
2488
|
-
};
|
|
2489
|
-
push: {
|
|
2490
|
-
enabled: boolean;
|
|
2491
|
-
pushTokenArray: PushToken[];
|
|
2492
|
-
};
|
|
2493
|
-
};
|
|
2481
|
+
expoPushTokenArray: string[];
|
|
2494
2482
|
group: UserGroup;
|
|
2495
2483
|
createdByPropertyId: string | null;
|
|
2496
2484
|
identity: {
|
|
@@ -2568,6 +2556,7 @@ declare namespace JUHUU {
|
|
|
2568
2556
|
taxCodeArray?: TaxCode[];
|
|
2569
2557
|
acceptedTermIdArray?: string[];
|
|
2570
2558
|
group?: UserGroup;
|
|
2559
|
+
expoPushTokenArray?: string[];
|
|
2571
2560
|
};
|
|
2572
2561
|
type Options = JUHUU.RequestOptions;
|
|
2573
2562
|
type Response = {
|
|
@@ -4476,6 +4465,8 @@ declare namespace JUHUU {
|
|
|
4476
4465
|
description: string;
|
|
4477
4466
|
imageUrlArray: string[];
|
|
4478
4467
|
incidentTemplateId: string | null;
|
|
4468
|
+
responsiblesNotified: boolean;
|
|
4469
|
+
affectedNotified: boolean;
|
|
4479
4470
|
};
|
|
4480
4471
|
export interface Location extends Base {
|
|
4481
4472
|
type: "location";
|
|
@@ -5766,6 +5757,8 @@ declare namespace JUHUU {
|
|
|
5766
5757
|
userId: string | null;
|
|
5767
5758
|
propertyId: string;
|
|
5768
5759
|
reference: string | null;
|
|
5760
|
+
text: string | null;
|
|
5761
|
+
metadata: Record<string, any>;
|
|
5769
5762
|
};
|
|
5770
5763
|
namespace Create {
|
|
5771
5764
|
type Params = {
|
|
@@ -5775,6 +5768,8 @@ declare namespace JUHUU {
|
|
|
5775
5768
|
imageDark?: string | null;
|
|
5776
5769
|
userId?: string | null;
|
|
5777
5770
|
reference?: string | null;
|
|
5771
|
+
text?: string | null;
|
|
5772
|
+
metadata?: Record<string, any>;
|
|
5778
5773
|
};
|
|
5779
5774
|
type Options = JUHUU.RequestOptions;
|
|
5780
5775
|
type Response = {
|
|
@@ -5813,6 +5808,8 @@ declare namespace JUHUU {
|
|
|
5813
5808
|
imageDark?: string | null;
|
|
5814
5809
|
userId?: string | null;
|
|
5815
5810
|
reference?: string | null;
|
|
5811
|
+
text?: string | null;
|
|
5812
|
+
metadata?: Record<string, any>;
|
|
5816
5813
|
};
|
|
5817
5814
|
type Options = JUHUU.RequestOptions;
|
|
5818
5815
|
type Response = {
|
|
@@ -5828,6 +5825,15 @@ declare namespace JUHUU {
|
|
|
5828
5825
|
benefitCard: JUHUU.BenefitCard.Object;
|
|
5829
5826
|
};
|
|
5830
5827
|
}
|
|
5828
|
+
namespace Copy {
|
|
5829
|
+
type Params = {
|
|
5830
|
+
benefitCardId: string;
|
|
5831
|
+
};
|
|
5832
|
+
type Options = JUHUU.RequestOptions;
|
|
5833
|
+
type Response = {
|
|
5834
|
+
benefitCard: JUHUU.BenefitCard.Object;
|
|
5835
|
+
};
|
|
5836
|
+
}
|
|
5831
5837
|
}
|
|
5832
5838
|
namespace Catalog {
|
|
5833
5839
|
type CatalogType = "product" | "service" | "digital" | "subscription" | "marketplace" | "internal";
|
|
@@ -6709,4 +6715,4 @@ declare namespace JUHUU {
|
|
|
6709
6715
|
}
|
|
6710
6716
|
}
|
|
6711
6717
|
|
|
6712
|
-
export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, 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 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 License, type LicenseTariffIdMap, 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 MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, 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 PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type
|
|
6718
|
+
export { type AccessControlListElement, type AdditionalSubscriptionItem, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, 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 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 License, type LicenseTariffIdMap, 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 MqttSendBlock, type MqttSendBlockInputs, Offer, type OfferTime, type PanelDisplay, type ParamDefinition, type ParamType, type ParameterRetrieveBlock, type ParameterRetrieveBlockInputs, type ParameterUpdateBlock, type ParameterUpdateBlockInputs, 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 PropertyAgreement, type PropertyRetrieveBlock, type PropertyRetrieveBlockInputs, type PropertyUpdateBlock, type PropertyUpdateBlockInputs, type ProximityStrategy, type Purpose, type QuickAction, type QuickView, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionRetrieveBlock, type SessionRetrieveBlockInputs, type SessionSettings, type SessionStatus, type SessionTerminateBlock, type SessionTerminateBlockInputs, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type StartCustomBlock, type StartLocationUpdateBlock, type StartParameterUpdateBlock, type StartQuickActionLocationBlock, type StartSessionUpdateBlock, type SwitchBlock, type SystemLogBlock, type SystemLogBlockInputs, type TarifType, type TaxCode, type TextMatchBlock, type TextMatchBlockInputs, 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
|
@@ -530,7 +530,8 @@ var SessionService = class extends Service {
|
|
|
530
530
|
autoRenew: SessionCreateParams.autoRenew,
|
|
531
531
|
type: SessionCreateParams.sessionType,
|
|
532
532
|
isOffSession: SessionCreateParams.isOffSession,
|
|
533
|
-
userId: SessionCreateParams.userId
|
|
533
|
+
userId: SessionCreateParams.userId,
|
|
534
|
+
propertyId: SessionCreateParams.propertyId
|
|
534
535
|
},
|
|
535
536
|
authenticationNotOptional: true
|
|
536
537
|
},
|
|
@@ -942,7 +943,8 @@ var UsersService = class extends Service {
|
|
|
942
943
|
billingAddress: UserUpdateParams?.billingAddress,
|
|
943
944
|
taxCodeArray: UserUpdateParams?.taxCodeArray,
|
|
944
945
|
acceptedTermIdArray: UserUpdateParams?.acceptedTermIdArray,
|
|
945
|
-
group: UserUpdateParams?.group
|
|
946
|
+
group: UserUpdateParams?.group,
|
|
947
|
+
expoPushTokenArray: UserUpdateParams?.expoPushTokenArray
|
|
946
948
|
},
|
|
947
949
|
authenticationNotOptional: true
|
|
948
950
|
},
|
|
@@ -4695,7 +4697,9 @@ var BenefitCardsService = class extends Service {
|
|
|
4695
4697
|
imageLight: params.imageLight,
|
|
4696
4698
|
imageDark: params.imageDark,
|
|
4697
4699
|
userId: params.userId,
|
|
4698
|
-
reference: params.reference
|
|
4700
|
+
reference: params.reference,
|
|
4701
|
+
text: params.text,
|
|
4702
|
+
metadata: params.metadata
|
|
4699
4703
|
},
|
|
4700
4704
|
authenticationNotOptional: true
|
|
4701
4705
|
},
|
|
@@ -4747,7 +4751,9 @@ var BenefitCardsService = class extends Service {
|
|
|
4747
4751
|
imageLight: params.imageLight,
|
|
4748
4752
|
imageDark: params.imageDark,
|
|
4749
4753
|
userId: params.userId,
|
|
4750
|
-
reference: params.reference
|
|
4754
|
+
reference: params.reference,
|
|
4755
|
+
text: params.text,
|
|
4756
|
+
metadata: params.metadata
|
|
4751
4757
|
},
|
|
4752
4758
|
authenticationNotOptional: true
|
|
4753
4759
|
},
|
|
@@ -4765,6 +4771,17 @@ var BenefitCardsService = class extends Service {
|
|
|
4765
4771
|
options
|
|
4766
4772
|
);
|
|
4767
4773
|
}
|
|
4774
|
+
async copy(params, options) {
|
|
4775
|
+
return await super.sendRequest(
|
|
4776
|
+
{
|
|
4777
|
+
method: "POST",
|
|
4778
|
+
url: "benefitCards/" + params.benefitCardId + "/copy",
|
|
4779
|
+
authenticationNotOptional: true,
|
|
4780
|
+
body: void 0
|
|
4781
|
+
},
|
|
4782
|
+
options
|
|
4783
|
+
);
|
|
4784
|
+
}
|
|
4768
4785
|
};
|
|
4769
4786
|
|
|
4770
4787
|
// src/catalogs/catalogs.service.ts
|
package/dist/index.mjs
CHANGED
|
@@ -486,7 +486,8 @@ var SessionService = class extends Service {
|
|
|
486
486
|
autoRenew: SessionCreateParams.autoRenew,
|
|
487
487
|
type: SessionCreateParams.sessionType,
|
|
488
488
|
isOffSession: SessionCreateParams.isOffSession,
|
|
489
|
-
userId: SessionCreateParams.userId
|
|
489
|
+
userId: SessionCreateParams.userId,
|
|
490
|
+
propertyId: SessionCreateParams.propertyId
|
|
490
491
|
},
|
|
491
492
|
authenticationNotOptional: true
|
|
492
493
|
},
|
|
@@ -898,7 +899,8 @@ var UsersService = class extends Service {
|
|
|
898
899
|
billingAddress: UserUpdateParams?.billingAddress,
|
|
899
900
|
taxCodeArray: UserUpdateParams?.taxCodeArray,
|
|
900
901
|
acceptedTermIdArray: UserUpdateParams?.acceptedTermIdArray,
|
|
901
|
-
group: UserUpdateParams?.group
|
|
902
|
+
group: UserUpdateParams?.group,
|
|
903
|
+
expoPushTokenArray: UserUpdateParams?.expoPushTokenArray
|
|
902
904
|
},
|
|
903
905
|
authenticationNotOptional: true
|
|
904
906
|
},
|
|
@@ -4651,7 +4653,9 @@ var BenefitCardsService = class extends Service {
|
|
|
4651
4653
|
imageLight: params.imageLight,
|
|
4652
4654
|
imageDark: params.imageDark,
|
|
4653
4655
|
userId: params.userId,
|
|
4654
|
-
reference: params.reference
|
|
4656
|
+
reference: params.reference,
|
|
4657
|
+
text: params.text,
|
|
4658
|
+
metadata: params.metadata
|
|
4655
4659
|
},
|
|
4656
4660
|
authenticationNotOptional: true
|
|
4657
4661
|
},
|
|
@@ -4703,7 +4707,9 @@ var BenefitCardsService = class extends Service {
|
|
|
4703
4707
|
imageLight: params.imageLight,
|
|
4704
4708
|
imageDark: params.imageDark,
|
|
4705
4709
|
userId: params.userId,
|
|
4706
|
-
reference: params.reference
|
|
4710
|
+
reference: params.reference,
|
|
4711
|
+
text: params.text,
|
|
4712
|
+
metadata: params.metadata
|
|
4707
4713
|
},
|
|
4708
4714
|
authenticationNotOptional: true
|
|
4709
4715
|
},
|
|
@@ -4721,6 +4727,17 @@ var BenefitCardsService = class extends Service {
|
|
|
4721
4727
|
options
|
|
4722
4728
|
);
|
|
4723
4729
|
}
|
|
4730
|
+
async copy(params, options) {
|
|
4731
|
+
return await super.sendRequest(
|
|
4732
|
+
{
|
|
4733
|
+
method: "POST",
|
|
4734
|
+
url: "benefitCards/" + params.benefitCardId + "/copy",
|
|
4735
|
+
authenticationNotOptional: true,
|
|
4736
|
+
body: void 0
|
|
4737
|
+
},
|
|
4738
|
+
options
|
|
4739
|
+
);
|
|
4740
|
+
}
|
|
4724
4741
|
};
|
|
4725
4742
|
|
|
4726
4743
|
// src/catalogs/catalogs.service.ts
|