@juhuu/sdk-ts 1.2.308 → 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 +25 -22
- package/dist/index.d.ts +25 -22
- package/dist/index.js +19 -3
- package/dist/index.mjs +19 -3
- 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 {
|
|
@@ -2478,20 +2478,7 @@ declare namespace JUHUU {
|
|
|
2478
2478
|
billingEmail: string | null;
|
|
2479
2479
|
billingEmailVerified: boolean;
|
|
2480
2480
|
taxCodeArray: TaxCode[];
|
|
2481
|
-
|
|
2482
|
-
email: {
|
|
2483
|
-
enabled: boolean;
|
|
2484
|
-
emailArray: string[];
|
|
2485
|
-
};
|
|
2486
|
-
sms: {
|
|
2487
|
-
enabled: boolean;
|
|
2488
|
-
phoneNumberArray: string[];
|
|
2489
|
-
};
|
|
2490
|
-
push: {
|
|
2491
|
-
enabled: boolean;
|
|
2492
|
-
pushTokenArray: PushToken[];
|
|
2493
|
-
};
|
|
2494
|
-
};
|
|
2481
|
+
expoPushTokenArray: string[];
|
|
2495
2482
|
group: UserGroup;
|
|
2496
2483
|
createdByPropertyId: string | null;
|
|
2497
2484
|
identity: {
|
|
@@ -2569,6 +2556,7 @@ declare namespace JUHUU {
|
|
|
2569
2556
|
taxCodeArray?: TaxCode[];
|
|
2570
2557
|
acceptedTermIdArray?: string[];
|
|
2571
2558
|
group?: UserGroup;
|
|
2559
|
+
expoPushTokenArray?: string[];
|
|
2572
2560
|
};
|
|
2573
2561
|
type Options = JUHUU.RequestOptions;
|
|
2574
2562
|
type Response = {
|
|
@@ -5769,6 +5757,8 @@ declare namespace JUHUU {
|
|
|
5769
5757
|
userId: string | null;
|
|
5770
5758
|
propertyId: string;
|
|
5771
5759
|
reference: string | null;
|
|
5760
|
+
text: string | null;
|
|
5761
|
+
metadata: Record<string, any>;
|
|
5772
5762
|
};
|
|
5773
5763
|
namespace Create {
|
|
5774
5764
|
type Params = {
|
|
@@ -5778,6 +5768,8 @@ declare namespace JUHUU {
|
|
|
5778
5768
|
imageDark?: string | null;
|
|
5779
5769
|
userId?: string | null;
|
|
5780
5770
|
reference?: string | null;
|
|
5771
|
+
text?: string | null;
|
|
5772
|
+
metadata?: Record<string, any>;
|
|
5781
5773
|
};
|
|
5782
5774
|
type Options = JUHUU.RequestOptions;
|
|
5783
5775
|
type Response = {
|
|
@@ -5816,6 +5808,8 @@ declare namespace JUHUU {
|
|
|
5816
5808
|
imageDark?: string | null;
|
|
5817
5809
|
userId?: string | null;
|
|
5818
5810
|
reference?: string | null;
|
|
5811
|
+
text?: string | null;
|
|
5812
|
+
metadata?: Record<string, any>;
|
|
5819
5813
|
};
|
|
5820
5814
|
type Options = JUHUU.RequestOptions;
|
|
5821
5815
|
type Response = {
|
|
@@ -5831,6 +5825,15 @@ declare namespace JUHUU {
|
|
|
5831
5825
|
benefitCard: JUHUU.BenefitCard.Object;
|
|
5832
5826
|
};
|
|
5833
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
|
+
}
|
|
5834
5837
|
}
|
|
5835
5838
|
namespace Catalog {
|
|
5836
5839
|
type CatalogType = "product" | "service" | "digital" | "subscription" | "marketplace" | "internal";
|
|
@@ -6712,4 +6715,4 @@ declare namespace JUHUU {
|
|
|
6712
6715
|
}
|
|
6713
6716
|
}
|
|
6714
6717
|
|
|
6715
|
-
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 {
|
|
@@ -2478,20 +2478,7 @@ declare namespace JUHUU {
|
|
|
2478
2478
|
billingEmail: string | null;
|
|
2479
2479
|
billingEmailVerified: boolean;
|
|
2480
2480
|
taxCodeArray: TaxCode[];
|
|
2481
|
-
|
|
2482
|
-
email: {
|
|
2483
|
-
enabled: boolean;
|
|
2484
|
-
emailArray: string[];
|
|
2485
|
-
};
|
|
2486
|
-
sms: {
|
|
2487
|
-
enabled: boolean;
|
|
2488
|
-
phoneNumberArray: string[];
|
|
2489
|
-
};
|
|
2490
|
-
push: {
|
|
2491
|
-
enabled: boolean;
|
|
2492
|
-
pushTokenArray: PushToken[];
|
|
2493
|
-
};
|
|
2494
|
-
};
|
|
2481
|
+
expoPushTokenArray: string[];
|
|
2495
2482
|
group: UserGroup;
|
|
2496
2483
|
createdByPropertyId: string | null;
|
|
2497
2484
|
identity: {
|
|
@@ -2569,6 +2556,7 @@ declare namespace JUHUU {
|
|
|
2569
2556
|
taxCodeArray?: TaxCode[];
|
|
2570
2557
|
acceptedTermIdArray?: string[];
|
|
2571
2558
|
group?: UserGroup;
|
|
2559
|
+
expoPushTokenArray?: string[];
|
|
2572
2560
|
};
|
|
2573
2561
|
type Options = JUHUU.RequestOptions;
|
|
2574
2562
|
type Response = {
|
|
@@ -5769,6 +5757,8 @@ declare namespace JUHUU {
|
|
|
5769
5757
|
userId: string | null;
|
|
5770
5758
|
propertyId: string;
|
|
5771
5759
|
reference: string | null;
|
|
5760
|
+
text: string | null;
|
|
5761
|
+
metadata: Record<string, any>;
|
|
5772
5762
|
};
|
|
5773
5763
|
namespace Create {
|
|
5774
5764
|
type Params = {
|
|
@@ -5778,6 +5768,8 @@ declare namespace JUHUU {
|
|
|
5778
5768
|
imageDark?: string | null;
|
|
5779
5769
|
userId?: string | null;
|
|
5780
5770
|
reference?: string | null;
|
|
5771
|
+
text?: string | null;
|
|
5772
|
+
metadata?: Record<string, any>;
|
|
5781
5773
|
};
|
|
5782
5774
|
type Options = JUHUU.RequestOptions;
|
|
5783
5775
|
type Response = {
|
|
@@ -5816,6 +5808,8 @@ declare namespace JUHUU {
|
|
|
5816
5808
|
imageDark?: string | null;
|
|
5817
5809
|
userId?: string | null;
|
|
5818
5810
|
reference?: string | null;
|
|
5811
|
+
text?: string | null;
|
|
5812
|
+
metadata?: Record<string, any>;
|
|
5819
5813
|
};
|
|
5820
5814
|
type Options = JUHUU.RequestOptions;
|
|
5821
5815
|
type Response = {
|
|
@@ -5831,6 +5825,15 @@ declare namespace JUHUU {
|
|
|
5831
5825
|
benefitCard: JUHUU.BenefitCard.Object;
|
|
5832
5826
|
};
|
|
5833
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
|
+
}
|
|
5834
5837
|
}
|
|
5835
5838
|
namespace Catalog {
|
|
5836
5839
|
type CatalogType = "product" | "service" | "digital" | "subscription" | "marketplace" | "internal";
|
|
@@ -6712,4 +6715,4 @@ declare namespace JUHUU {
|
|
|
6712
6715
|
}
|
|
6713
6716
|
}
|
|
6714
6717
|
|
|
6715
|
-
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
|
@@ -943,7 +943,8 @@ var UsersService = class extends Service {
|
|
|
943
943
|
billingAddress: UserUpdateParams?.billingAddress,
|
|
944
944
|
taxCodeArray: UserUpdateParams?.taxCodeArray,
|
|
945
945
|
acceptedTermIdArray: UserUpdateParams?.acceptedTermIdArray,
|
|
946
|
-
group: UserUpdateParams?.group
|
|
946
|
+
group: UserUpdateParams?.group,
|
|
947
|
+
expoPushTokenArray: UserUpdateParams?.expoPushTokenArray
|
|
947
948
|
},
|
|
948
949
|
authenticationNotOptional: true
|
|
949
950
|
},
|
|
@@ -4696,7 +4697,9 @@ var BenefitCardsService = class extends Service {
|
|
|
4696
4697
|
imageLight: params.imageLight,
|
|
4697
4698
|
imageDark: params.imageDark,
|
|
4698
4699
|
userId: params.userId,
|
|
4699
|
-
reference: params.reference
|
|
4700
|
+
reference: params.reference,
|
|
4701
|
+
text: params.text,
|
|
4702
|
+
metadata: params.metadata
|
|
4700
4703
|
},
|
|
4701
4704
|
authenticationNotOptional: true
|
|
4702
4705
|
},
|
|
@@ -4748,7 +4751,9 @@ var BenefitCardsService = class extends Service {
|
|
|
4748
4751
|
imageLight: params.imageLight,
|
|
4749
4752
|
imageDark: params.imageDark,
|
|
4750
4753
|
userId: params.userId,
|
|
4751
|
-
reference: params.reference
|
|
4754
|
+
reference: params.reference,
|
|
4755
|
+
text: params.text,
|
|
4756
|
+
metadata: params.metadata
|
|
4752
4757
|
},
|
|
4753
4758
|
authenticationNotOptional: true
|
|
4754
4759
|
},
|
|
@@ -4766,6 +4771,17 @@ var BenefitCardsService = class extends Service {
|
|
|
4766
4771
|
options
|
|
4767
4772
|
);
|
|
4768
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
|
+
}
|
|
4769
4785
|
};
|
|
4770
4786
|
|
|
4771
4787
|
// src/catalogs/catalogs.service.ts
|
package/dist/index.mjs
CHANGED
|
@@ -899,7 +899,8 @@ var UsersService = class extends Service {
|
|
|
899
899
|
billingAddress: UserUpdateParams?.billingAddress,
|
|
900
900
|
taxCodeArray: UserUpdateParams?.taxCodeArray,
|
|
901
901
|
acceptedTermIdArray: UserUpdateParams?.acceptedTermIdArray,
|
|
902
|
-
group: UserUpdateParams?.group
|
|
902
|
+
group: UserUpdateParams?.group,
|
|
903
|
+
expoPushTokenArray: UserUpdateParams?.expoPushTokenArray
|
|
903
904
|
},
|
|
904
905
|
authenticationNotOptional: true
|
|
905
906
|
},
|
|
@@ -4652,7 +4653,9 @@ var BenefitCardsService = class extends Service {
|
|
|
4652
4653
|
imageLight: params.imageLight,
|
|
4653
4654
|
imageDark: params.imageDark,
|
|
4654
4655
|
userId: params.userId,
|
|
4655
|
-
reference: params.reference
|
|
4656
|
+
reference: params.reference,
|
|
4657
|
+
text: params.text,
|
|
4658
|
+
metadata: params.metadata
|
|
4656
4659
|
},
|
|
4657
4660
|
authenticationNotOptional: true
|
|
4658
4661
|
},
|
|
@@ -4704,7 +4707,9 @@ var BenefitCardsService = class extends Service {
|
|
|
4704
4707
|
imageLight: params.imageLight,
|
|
4705
4708
|
imageDark: params.imageDark,
|
|
4706
4709
|
userId: params.userId,
|
|
4707
|
-
reference: params.reference
|
|
4710
|
+
reference: params.reference,
|
|
4711
|
+
text: params.text,
|
|
4712
|
+
metadata: params.metadata
|
|
4708
4713
|
},
|
|
4709
4714
|
authenticationNotOptional: true
|
|
4710
4715
|
},
|
|
@@ -4722,6 +4727,17 @@ var BenefitCardsService = class extends Service {
|
|
|
4722
4727
|
options
|
|
4723
4728
|
);
|
|
4724
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
|
+
}
|
|
4725
4741
|
};
|
|
4726
4742
|
|
|
4727
4743
|
// src/catalogs/catalogs.service.ts
|