@juhuu/sdk-ts 1.2.308 → 1.2.310

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
@@ -14,16 +14,12 @@ 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;
24
20
  type UserGroup = "retailer" | "engineer" | "operator" | "user";
25
21
  type Frontend = "dashboard" | "app";
26
- type FlowExecutionEnvironment = "dashboard" | "app" | "backend";
22
+ type FlowExecutionEnvironment = "dashboard" | "app" | "backend" | "controlKit";
27
23
  type ApiKeyStatus = "enabled" | "disabled";
28
24
  type FlowStatus = "error" | "ready";
29
25
  type License = {
@@ -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";
@@ -855,6 +854,19 @@ interface TextMatchBlockInputs {
855
854
  text?: string;
856
855
  pattern?: string;
857
856
  }
857
+ interface TextTemplateBlock extends BaseBlock {
858
+ type: "text.template";
859
+ in: Record<string, DataEdgeConnection>;
860
+ out: {
861
+ text: DataEdgeConnection;
862
+ };
863
+ data: {
864
+ template?: string;
865
+ };
866
+ }
867
+ interface TextTemplateBlockInputs {
868
+ [key: string]: any;
869
+ }
858
870
  interface ParameterUpdateBlock extends BaseBlock {
859
871
  type: "parameter.update";
860
872
  in: {
@@ -1430,8 +1442,8 @@ interface EndCustomBlock extends BaseBlock {
1430
1442
  outputParamDefinitionArray: ParamDefinition[];
1431
1443
  };
1432
1444
  }
1433
- type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | BenefitCardRetrieveBlock | BenefitCardListBlock | BenefitCardCopyBlock | BenefitCardUpdateBlock | TextMatchBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | VariableSetBlock | VariableGetBlock | EndCustomBlock;
1434
- type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | BenefitCardRetrieveBlockInputs | BenefitCardListBlockInputs | BenefitCardCopyBlockInputs | BenefitCardUpdateBlockInputs | TextMatchBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | Record<string, unknown>;
1445
+ type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | BenefitCardRetrieveBlock | BenefitCardListBlock | BenefitCardCopyBlock | BenefitCardUpdateBlock | TextMatchBlock | TextTemplateBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | VariableSetBlock | VariableGetBlock | EndCustomBlock;
1446
+ type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | BenefitCardRetrieveBlockInputs | BenefitCardListBlockInputs | BenefitCardCopyBlockInputs | BenefitCardUpdateBlockInputs | TextMatchBlockInputs | TextTemplateBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | Record<string, unknown>;
1435
1447
  interface FlowDataEdge {
1436
1448
  id: string;
1437
1449
  type: "data";
@@ -1954,6 +1966,7 @@ declare class BenefitCardsService extends Service {
1954
1966
  retrieve(params: JUHUU.BenefitCard.Retrieve.Params, options?: JUHUU.BenefitCard.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Retrieve.Response>>;
1955
1967
  update(params: JUHUU.BenefitCard.Update.Params, options?: JUHUU.BenefitCard.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Update.Response>>;
1956
1968
  delete(params: JUHUU.BenefitCard.Delete.Params, options?: JUHUU.BenefitCard.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Delete.Response>>;
1969
+ copy(params: JUHUU.BenefitCard.Copy.Params, options?: JUHUU.BenefitCard.Copy.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Copy.Response>>;
1957
1970
  }
1958
1971
 
1959
1972
  declare class CatalogsService extends Service {
@@ -2478,20 +2491,7 @@ declare namespace JUHUU {
2478
2491
  billingEmail: string | null;
2479
2492
  billingEmailVerified: boolean;
2480
2493
  taxCodeArray: TaxCode[];
2481
- notifications: {
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
- };
2494
+ expoPushTokenArray: string[];
2495
2495
  group: UserGroup;
2496
2496
  createdByPropertyId: string | null;
2497
2497
  identity: {
@@ -2569,6 +2569,7 @@ declare namespace JUHUU {
2569
2569
  taxCodeArray?: TaxCode[];
2570
2570
  acceptedTermIdArray?: string[];
2571
2571
  group?: UserGroup;
2572
+ expoPushTokenArray?: string[];
2572
2573
  };
2573
2574
  type Options = JUHUU.RequestOptions;
2574
2575
  type Response = {
@@ -5769,6 +5770,8 @@ declare namespace JUHUU {
5769
5770
  userId: string | null;
5770
5771
  propertyId: string;
5771
5772
  reference: string | null;
5773
+ text: string | null;
5774
+ metadata: Record<string, any>;
5772
5775
  };
5773
5776
  namespace Create {
5774
5777
  type Params = {
@@ -5778,6 +5781,8 @@ declare namespace JUHUU {
5778
5781
  imageDark?: string | null;
5779
5782
  userId?: string | null;
5780
5783
  reference?: string | null;
5784
+ text?: string | null;
5785
+ metadata?: Record<string, any>;
5781
5786
  };
5782
5787
  type Options = JUHUU.RequestOptions;
5783
5788
  type Response = {
@@ -5816,6 +5821,8 @@ declare namespace JUHUU {
5816
5821
  imageDark?: string | null;
5817
5822
  userId?: string | null;
5818
5823
  reference?: string | null;
5824
+ text?: string | null;
5825
+ metadata?: Record<string, any>;
5819
5826
  };
5820
5827
  type Options = JUHUU.RequestOptions;
5821
5828
  type Response = {
@@ -5831,6 +5838,15 @@ declare namespace JUHUU {
5831
5838
  benefitCard: JUHUU.BenefitCard.Object;
5832
5839
  };
5833
5840
  }
5841
+ namespace Copy {
5842
+ type Params = {
5843
+ benefitCardId: string;
5844
+ };
5845
+ type Options = JUHUU.RequestOptions;
5846
+ type Response = {
5847
+ benefitCard: JUHUU.BenefitCard.Object;
5848
+ };
5849
+ }
5834
5850
  }
5835
5851
  namespace Catalog {
5836
5852
  type CatalogType = "product" | "service" | "digital" | "subscription" | "marketplace" | "internal";
@@ -6712,4 +6728,4 @@ declare namespace JUHUU {
6712
6728
  }
6713
6729
  }
6714
6730
 
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 PushToken, 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 };
6731
+ 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 TextTemplateBlock, type TextTemplateBlockInputs, 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,16 +14,12 @@ 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;
24
20
  type UserGroup = "retailer" | "engineer" | "operator" | "user";
25
21
  type Frontend = "dashboard" | "app";
26
- type FlowExecutionEnvironment = "dashboard" | "app" | "backend";
22
+ type FlowExecutionEnvironment = "dashboard" | "app" | "backend" | "controlKit";
27
23
  type ApiKeyStatus = "enabled" | "disabled";
28
24
  type FlowStatus = "error" | "ready";
29
25
  type License = {
@@ -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";
@@ -855,6 +854,19 @@ interface TextMatchBlockInputs {
855
854
  text?: string;
856
855
  pattern?: string;
857
856
  }
857
+ interface TextTemplateBlock extends BaseBlock {
858
+ type: "text.template";
859
+ in: Record<string, DataEdgeConnection>;
860
+ out: {
861
+ text: DataEdgeConnection;
862
+ };
863
+ data: {
864
+ template?: string;
865
+ };
866
+ }
867
+ interface TextTemplateBlockInputs {
868
+ [key: string]: any;
869
+ }
858
870
  interface ParameterUpdateBlock extends BaseBlock {
859
871
  type: "parameter.update";
860
872
  in: {
@@ -1430,8 +1442,8 @@ interface EndCustomBlock extends BaseBlock {
1430
1442
  outputParamDefinitionArray: ParamDefinition[];
1431
1443
  };
1432
1444
  }
1433
- type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | BenefitCardRetrieveBlock | BenefitCardListBlock | BenefitCardCopyBlock | BenefitCardUpdateBlock | TextMatchBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | VariableSetBlock | VariableGetBlock | EndCustomBlock;
1434
- type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | BenefitCardRetrieveBlockInputs | BenefitCardListBlockInputs | BenefitCardCopyBlockInputs | BenefitCardUpdateBlockInputs | TextMatchBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | Record<string, unknown>;
1445
+ type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartLocationUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MathSubtractBlock | MathMultiplyBlock | MathDivideBlock | MapDestructureBlock | MapConstructBlock | ParameterRetrieveBlock | PropertyRetrieveBlock | LocationRetrieveBlock | SessionRetrieveBlock | DeviceRetrieveBlock | UserRetrieveBlock | UserCreateBlock | IncidentRetrieveBlock | BenefitCardRetrieveBlock | BenefitCardListBlock | BenefitCardCopyBlock | BenefitCardUpdateBlock | TextMatchBlock | TextTemplateBlock | ParameterUpdateBlock | DeviceUpdateBlock | LocationUpdateBlock | PropertyUpdateBlock | SessionTerminateBlock | SystemLogBlock | UiNavigateScreenBlock | IncidentCreateBlock | IfBlock | SwitchBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | FlowExecuteBlock | VariableSetBlock | VariableGetBlock | EndCustomBlock;
1446
+ type FlowBlockInput = MathAddBlockInputs | MathSubtractBlockInputs | MathMultiplyBlockInputs | MathDivideBlockInputs | ParameterRetrieveBlockInputs | PropertyRetrieveBlockInputs | LocationRetrieveBlockInputs | SessionRetrieveBlockInputs | DeviceRetrieveBlockInputs | UserRetrieveBlockInputs | UserCreateBlockInputs | IncidentRetrieveBlockInputs | BenefitCardRetrieveBlockInputs | BenefitCardListBlockInputs | BenefitCardCopyBlockInputs | BenefitCardUpdateBlockInputs | TextMatchBlockInputs | TextTemplateBlockInputs | ParameterUpdateBlockInputs | DeviceUpdateBlockInputs | LocationUpdateBlockInputs | PropertyUpdateBlockInputs | SessionTerminateBlockInputs | SystemLogBlockInputs | UiNavigateScreenBlockInputs | IncidentCreateBlockInputs | HttpsPatchBlockInputs | HttpGetBlockInputs | HttpPostBlockInputs | HttpDeleteBlockInputs | HttpPutBlockInputs | MqttSendBlockInputs | FlowExecuteBlockInputs | MapDestructureBlockInputs | MapConstructBlockInputs | VariableSetBlockInputs | VariableGetBlockInputs | Record<string, unknown>;
1435
1447
  interface FlowDataEdge {
1436
1448
  id: string;
1437
1449
  type: "data";
@@ -1954,6 +1966,7 @@ declare class BenefitCardsService extends Service {
1954
1966
  retrieve(params: JUHUU.BenefitCard.Retrieve.Params, options?: JUHUU.BenefitCard.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Retrieve.Response>>;
1955
1967
  update(params: JUHUU.BenefitCard.Update.Params, options?: JUHUU.BenefitCard.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Update.Response>>;
1956
1968
  delete(params: JUHUU.BenefitCard.Delete.Params, options?: JUHUU.BenefitCard.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Delete.Response>>;
1969
+ copy(params: JUHUU.BenefitCard.Copy.Params, options?: JUHUU.BenefitCard.Copy.Options): Promise<JUHUU.HttpResponse<JUHUU.BenefitCard.Copy.Response>>;
1957
1970
  }
1958
1971
 
1959
1972
  declare class CatalogsService extends Service {
@@ -2478,20 +2491,7 @@ declare namespace JUHUU {
2478
2491
  billingEmail: string | null;
2479
2492
  billingEmailVerified: boolean;
2480
2493
  taxCodeArray: TaxCode[];
2481
- notifications: {
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
- };
2494
+ expoPushTokenArray: string[];
2495
2495
  group: UserGroup;
2496
2496
  createdByPropertyId: string | null;
2497
2497
  identity: {
@@ -2569,6 +2569,7 @@ declare namespace JUHUU {
2569
2569
  taxCodeArray?: TaxCode[];
2570
2570
  acceptedTermIdArray?: string[];
2571
2571
  group?: UserGroup;
2572
+ expoPushTokenArray?: string[];
2572
2573
  };
2573
2574
  type Options = JUHUU.RequestOptions;
2574
2575
  type Response = {
@@ -5769,6 +5770,8 @@ declare namespace JUHUU {
5769
5770
  userId: string | null;
5770
5771
  propertyId: string;
5771
5772
  reference: string | null;
5773
+ text: string | null;
5774
+ metadata: Record<string, any>;
5772
5775
  };
5773
5776
  namespace Create {
5774
5777
  type Params = {
@@ -5778,6 +5781,8 @@ declare namespace JUHUU {
5778
5781
  imageDark?: string | null;
5779
5782
  userId?: string | null;
5780
5783
  reference?: string | null;
5784
+ text?: string | null;
5785
+ metadata?: Record<string, any>;
5781
5786
  };
5782
5787
  type Options = JUHUU.RequestOptions;
5783
5788
  type Response = {
@@ -5816,6 +5821,8 @@ declare namespace JUHUU {
5816
5821
  imageDark?: string | null;
5817
5822
  userId?: string | null;
5818
5823
  reference?: string | null;
5824
+ text?: string | null;
5825
+ metadata?: Record<string, any>;
5819
5826
  };
5820
5827
  type Options = JUHUU.RequestOptions;
5821
5828
  type Response = {
@@ -5831,6 +5838,15 @@ declare namespace JUHUU {
5831
5838
  benefitCard: JUHUU.BenefitCard.Object;
5832
5839
  };
5833
5840
  }
5841
+ namespace Copy {
5842
+ type Params = {
5843
+ benefitCardId: string;
5844
+ };
5845
+ type Options = JUHUU.RequestOptions;
5846
+ type Response = {
5847
+ benefitCard: JUHUU.BenefitCard.Object;
5848
+ };
5849
+ }
5834
5850
  }
5835
5851
  namespace Catalog {
5836
5852
  type CatalogType = "product" | "service" | "digital" | "subscription" | "marketplace" | "internal";
@@ -6712,4 +6728,4 @@ declare namespace JUHUU {
6712
6728
  }
6713
6729
  }
6714
6730
 
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 PushToken, 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 };
6731
+ 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 TextTemplateBlock, type TextTemplateBlockInputs, 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.308",
3
+ "version": "1.2.310",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",