@argent/x-shared 1.45.0 → 1.45.1

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.
@@ -30,7 +30,7 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
30
30
  products: import('zod').objectOutputType<{
31
31
  productId: import('zod').ZodOptional<import('zod').ZodString>;
32
32
  name: import('zod').ZodString;
33
- manageUrl: import('zod').ZodString;
33
+ manageUrl: import('zod').ZodOptional<import('zod').ZodString>;
34
34
  type: import('zod').ZodUnion<[import('zod').ZodLiteral<"concentratedLiquidityPosition">, import('zod').ZodLiteral<"collateralizedDebtPosition">, import('zod').ZodLiteral<"delegatedTokens">, import('zod').ZodLiteral<"strkDelegatedStaking">, import('zod').ZodLiteral<"staking">]>;
35
35
  groups: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodObject<{
36
36
  name: import('zod').ZodOptional<import('zod').ZodString>;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("zod"),a=require("../../../chains/starknet/address.cjs"),h=require("./defiPositionType.model.cjs"),b=require("../../../utils/schemas.cjs"),u=e.z.object({status:e.z.literal("initialising")}).or(e.z.object({status:e.z.literal("initialised"),balances:e.z.array(e.z.object({tokenAddress:a.addressSchemaArgentBackend,tokenBalance:e.z.string()}))})),o=e.z.object({id:e.z.number(),address:a.addressSchema,brandColor:e.z.string().optional(),name:e.z.string(),symbol:e.z.string(),decimals:e.z.number(),iconUrl:e.z.string().optional(),sendable:e.z.boolean(),popular:e.z.boolean(),refundable:e.z.boolean(),listed:e.z.boolean(),tradable:e.z.boolean(),category:e.z.union([e.z.literal("tokens"),e.z.literal("currencies"),e.z.literal("savings")]),pricingId:e.z.number().optional(),dappId:e.z.string().optional(),marketData:e.z.object({marketCap:e.z.number(),marketCap24hChange:e.z.number(),dailyVolume:e.z.number(),rank:e.z.number()}).optional(),tags:e.z.array(e.z.string()).optional()}),k=e.z.object({tokens:e.z.array(o)}),D=o,p=e.z.object({pricingId:e.z.number(),ethValue:e.z.string(),ccyValue:e.z.string(),ethDayChange:e.z.string(),ccyDayChange:e.z.string()}),y=e.z.object({prices:e.z.array(p)}),t=e.z.object({tokenAddress:a.addressSchemaArgentBackend,principal:e.z.string(),accruedFees:e.z.string(),minPrice:e.z.string(),maxPrice:e.z.string(),currentPrice:e.z.string()}),i=e.z.object({id:e.z.string(),investmentId:e.z.string().optional(),tokenAddress:a.addressSchema.optional(),totalBalances:e.z.record(e.z.string())}),n=i.extend({tokenId:e.z.string(),data:e.z.object({poolFeePercentage:e.z.string(),tickSpacingPercentage:e.z.string().optional(),token0:t,token1:t})}),P=e.z.array(n),s=i.extend({data:e.z.object({apy:e.z.string()}),investmentId:e.z.string().optional(),totalBalances:e.z.record(e.z.string())}),f=e.z.array(s),r=i.extend({data:e.z.object({apy:e.z.string().optional(),group:e.z.number().optional(),collateral:e.z.boolean(),debt:e.z.boolean(),lending:e.z.boolean()})}),j=e.z.array(r),c=i.extend({id:e.z.string(),data:e.z.object({delegatingTo:a.addressSchema}),totalBalances:e.z.record(e.z.string())}),T=e.z.array(c),d=i.extend({investmentId:e.z.string(),data:e.z.object({stakerInfo:e.z.object({name:e.z.string().optional(),iconUrl:e.z.string().optional(),address:a.addressSchema}),accruedRewards:e.z.string(),stakedAmount:e.z.string(),pendingWithdrawal:e.z.object({amount:e.z.string(),withdrawableAfter:e.z.number()}).optional(),apy:e.z.string().optional()})}),I=e.z.array(d),z=n.or(r).or(c).or(s).or(d),l=e.z.array(z),m=b.createSchemaWithWarnings({productId:e.z.string().optional(),name:e.z.string(),manageUrl:e.z.string(),type:h.defiPositionTypeSchema,groups:e.z.record(e.z.object({name:e.z.string().optional(),healthRatio:e.z.string().optional()})).optional(),positions:l}),g=e.z.object({dappId:e.z.string(),products:e.z.array(m)}),A=e.z.object({dapps:e.z.array(g)}),S=e.z.object({name:e.z.string().optional(),tokenAddress:a.addressSchema,amount:e.z.string().optional(),claimUrl:e.z.string().optional(),claimStart:e.z.number(),claimEnd:e.z.number().optional()}),C=e.z.object({accountAddress:a.addressSchema,chain:e.z.string(),airdrops:e.z.array(S)});exports.apiAccountTokenBalancesSchema=u;exports.apiAirdropSchema=S;exports.apiCollateralizedDebtPositionSchema=r;exports.apiCollateralizedDebtPositionsSchema=j;exports.apiConcentratedLiquidityPositionSchema=n;exports.apiConcentratedLiquidityPositionsSchema=P;exports.apiDefiDecompositionProduct=m;exports.apiDefiDecompositionProducts=l;exports.apiDefiDecompositionSchema=g;exports.apiDefiDecompositionToken=t;exports.apiDefiPositionSchema=z;exports.apiDefiPositionsSchema=A;exports.apiDelegatedTokensArraySchema=T;exports.apiDelegatedTokensSchema=c;exports.apiPriceDataResponseSchema=y;exports.apiPriceDetailsSchema=p;exports.apiStakingPositionSchema=s;exports.apiStakingPositionsSchema=f;exports.apiStrkDelegatedStakingPositionsSchema=I;exports.apiStrkDelegatedStakingSchema=d;exports.apiTokenInfoResponseSchema=D;exports.apiTokenInfoSchema=o;exports.apiTokensInfoResponseSchema=k;exports.apiUnclaimedRewardsSchema=C;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("zod"),a=require("../../../chains/starknet/address.cjs"),h=require("./defiPositionType.model.cjs"),b=require("../../../utils/schemas.cjs"),u=e.z.object({status:e.z.literal("initialising")}).or(e.z.object({status:e.z.literal("initialised"),balances:e.z.array(e.z.object({tokenAddress:a.addressSchemaArgentBackend,tokenBalance:e.z.string()}))})),o=e.z.object({id:e.z.number(),address:a.addressSchema,brandColor:e.z.string().optional(),name:e.z.string(),symbol:e.z.string(),decimals:e.z.number(),iconUrl:e.z.string().optional(),sendable:e.z.boolean(),popular:e.z.boolean(),refundable:e.z.boolean(),listed:e.z.boolean(),tradable:e.z.boolean(),category:e.z.union([e.z.literal("tokens"),e.z.literal("currencies"),e.z.literal("savings")]),pricingId:e.z.number().optional(),dappId:e.z.string().optional(),marketData:e.z.object({marketCap:e.z.number(),marketCap24hChange:e.z.number(),dailyVolume:e.z.number(),rank:e.z.number()}).optional(),tags:e.z.array(e.z.string()).optional()}),k=e.z.object({tokens:e.z.array(o)}),D=o,d=e.z.object({pricingId:e.z.number(),ethValue:e.z.string(),ccyValue:e.z.string(),ethDayChange:e.z.string(),ccyDayChange:e.z.string()}),y=e.z.object({prices:e.z.array(d)}),t=e.z.object({tokenAddress:a.addressSchemaArgentBackend,principal:e.z.string(),accruedFees:e.z.string(),minPrice:e.z.string(),maxPrice:e.z.string(),currentPrice:e.z.string()}),i=e.z.object({id:e.z.string(),investmentId:e.z.string().optional(),tokenAddress:a.addressSchema.optional(),totalBalances:e.z.record(e.z.string())}),n=i.extend({tokenId:e.z.string(),data:e.z.object({poolFeePercentage:e.z.string(),tickSpacingPercentage:e.z.string().optional(),token0:t,token1:t})}),P=e.z.array(n),s=i.extend({data:e.z.object({apy:e.z.string()}),investmentId:e.z.string().optional(),totalBalances:e.z.record(e.z.string())}),f=e.z.array(s),r=i.extend({data:e.z.object({apy:e.z.string().optional(),group:e.z.number().optional(),collateral:e.z.boolean(),debt:e.z.boolean(),lending:e.z.boolean()})}),j=e.z.array(r),c=i.extend({id:e.z.string(),data:e.z.object({delegatingTo:a.addressSchema}),totalBalances:e.z.record(e.z.string())}),T=e.z.array(c),p=i.extend({investmentId:e.z.string(),data:e.z.object({stakerInfo:e.z.object({name:e.z.string().optional(),iconUrl:e.z.string().optional(),address:a.addressSchema}),accruedRewards:e.z.string(),stakedAmount:e.z.string(),pendingWithdrawal:e.z.object({amount:e.z.string(),withdrawableAfter:e.z.number()}).optional(),apy:e.z.string().optional()})}),I=e.z.array(p),z=n.or(r).or(c).or(s).or(p),l=e.z.array(z),m=b.createSchemaWithWarnings({productId:e.z.string().optional(),name:e.z.string(),manageUrl:e.z.string().optional(),type:h.defiPositionTypeSchema,groups:e.z.record(e.z.object({name:e.z.string().optional(),healthRatio:e.z.string().optional()})).optional(),positions:l}),g=e.z.object({dappId:e.z.string(),products:e.z.array(m)}),A=e.z.object({dapps:e.z.array(g)}),S=e.z.object({name:e.z.string().optional(),tokenAddress:a.addressSchema,amount:e.z.string().optional(),claimUrl:e.z.string().optional(),claimStart:e.z.number(),claimEnd:e.z.number().optional()}),C=e.z.object({accountAddress:a.addressSchema,chain:e.z.string(),airdrops:e.z.array(S)});exports.apiAccountTokenBalancesSchema=u;exports.apiAirdropSchema=S;exports.apiCollateralizedDebtPositionSchema=r;exports.apiCollateralizedDebtPositionsSchema=j;exports.apiConcentratedLiquidityPositionSchema=n;exports.apiConcentratedLiquidityPositionsSchema=P;exports.apiDefiDecompositionProduct=m;exports.apiDefiDecompositionProducts=l;exports.apiDefiDecompositionSchema=g;exports.apiDefiDecompositionToken=t;exports.apiDefiPositionSchema=z;exports.apiDefiPositionsSchema=A;exports.apiDelegatedTokensArraySchema=T;exports.apiDelegatedTokensSchema=c;exports.apiPriceDataResponseSchema=y;exports.apiPriceDetailsSchema=d;exports.apiStakingPositionSchema=s;exports.apiStakingPositionsSchema=f;exports.apiStrkDelegatedStakingPositionsSchema=I;exports.apiStrkDelegatedStakingSchema=p;exports.apiTokenInfoResponseSchema=D;exports.apiTokenInfoSchema=o;exports.apiTokensInfoResponseSchema=k;exports.apiUnclaimedRewardsSchema=C;
@@ -1843,7 +1843,7 @@ export declare const apiDefiDecompositionProducts: z.ZodArray<z.ZodUnion<[z.ZodU
1843
1843
  export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
1844
1844
  productId: z.ZodOptional<z.ZodString>;
1845
1845
  name: z.ZodString;
1846
- manageUrl: z.ZodString;
1846
+ manageUrl: z.ZodOptional<z.ZodString>;
1847
1847
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
1848
1848
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1849
1849
  name: z.ZodOptional<z.ZodString>;
@@ -2214,7 +2214,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
2214
2214
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2215
2215
  productId: z.ZodOptional<z.ZodString>;
2216
2216
  name: z.ZodString;
2217
- manageUrl: z.ZodString;
2217
+ manageUrl: z.ZodOptional<z.ZodString>;
2218
2218
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
2219
2219
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2220
2220
  name: z.ZodOptional<z.ZodString>;
@@ -2585,7 +2585,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
2585
2585
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2586
2586
  productId: z.ZodOptional<z.ZodString>;
2587
2587
  name: z.ZodString;
2588
- manageUrl: z.ZodString;
2588
+ manageUrl: z.ZodOptional<z.ZodString>;
2589
2589
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
2590
2590
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2591
2591
  name: z.ZodOptional<z.ZodString>;
@@ -2956,7 +2956,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
2956
2956
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
2957
2957
  productId: z.ZodOptional<z.ZodString>;
2958
2958
  name: z.ZodString;
2959
- manageUrl: z.ZodString;
2959
+ manageUrl: z.ZodOptional<z.ZodString>;
2960
2960
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
2961
2961
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2962
2962
  name: z.ZodOptional<z.ZodString>;
@@ -3327,7 +3327,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
3327
3327
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3328
3328
  productId: z.ZodOptional<z.ZodString>;
3329
3329
  name: z.ZodString;
3330
- manageUrl: z.ZodString;
3330
+ manageUrl: z.ZodOptional<z.ZodString>;
3331
3331
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
3332
3332
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3333
3333
  name: z.ZodOptional<z.ZodString>;
@@ -3699,7 +3699,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
3699
3699
  extend: <E extends z.ZodRawShape>(extension: E) => z.ZodEffects<z.ZodObject<{
3700
3700
  productId: z.ZodOptional<z.ZodString>;
3701
3701
  name: z.ZodString;
3702
- manageUrl: z.ZodString;
3702
+ manageUrl: z.ZodOptional<z.ZodString>;
3703
3703
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
3704
3704
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3705
3705
  name: z.ZodOptional<z.ZodString>;
@@ -4070,7 +4070,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
4070
4070
  } & E, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4071
4071
  productId: z.ZodOptional<z.ZodString>;
4072
4072
  name: z.ZodString;
4073
- manageUrl: z.ZodString;
4073
+ manageUrl: z.ZodOptional<z.ZodString>;
4074
4074
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
4075
4075
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4076
4076
  name: z.ZodOptional<z.ZodString>;
@@ -4441,7 +4441,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
4441
4441
  } & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4442
4442
  productId: z.ZodOptional<z.ZodString>;
4443
4443
  name: z.ZodString;
4444
- manageUrl: z.ZodString;
4444
+ manageUrl: z.ZodOptional<z.ZodString>;
4445
4445
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
4446
4446
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4447
4447
  name: z.ZodOptional<z.ZodString>;
@@ -4812,7 +4812,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
4812
4812
  } & E, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
4813
4813
  productId: z.ZodOptional<z.ZodString>;
4814
4814
  name: z.ZodString;
4815
- manageUrl: z.ZodString;
4815
+ manageUrl: z.ZodOptional<z.ZodString>;
4816
4816
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
4817
4817
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4818
4818
  name: z.ZodOptional<z.ZodString>;
@@ -5183,7 +5183,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
5183
5183
  } & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5184
5184
  productId: z.ZodOptional<z.ZodString>;
5185
5185
  name: z.ZodString;
5186
- manageUrl: z.ZodString;
5186
+ manageUrl: z.ZodOptional<z.ZodString>;
5187
5187
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
5188
5188
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5189
5189
  name: z.ZodOptional<z.ZodString>;
@@ -5558,7 +5558,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
5558
5558
  products: z.ZodArray<z.ZodEffects<z.ZodObject<{
5559
5559
  productId: z.ZodOptional<z.ZodString>;
5560
5560
  name: z.ZodString;
5561
- manageUrl: z.ZodString;
5561
+ manageUrl: z.ZodOptional<z.ZodString>;
5562
5562
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
5563
5563
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5564
5564
  name: z.ZodOptional<z.ZodString>;
@@ -5929,7 +5929,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
5929
5929
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5930
5930
  productId: z.ZodOptional<z.ZodString>;
5931
5931
  name: z.ZodString;
5932
- manageUrl: z.ZodString;
5932
+ manageUrl: z.ZodOptional<z.ZodString>;
5933
5933
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
5934
5934
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5935
5935
  name: z.ZodOptional<z.ZodString>;
@@ -6300,7 +6300,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
6300
6300
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6301
6301
  productId: z.ZodOptional<z.ZodString>;
6302
6302
  name: z.ZodString;
6303
- manageUrl: z.ZodString;
6303
+ manageUrl: z.ZodOptional<z.ZodString>;
6304
6304
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
6305
6305
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6306
6306
  name: z.ZodOptional<z.ZodString>;
@@ -6671,7 +6671,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
6671
6671
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
6672
6672
  productId: z.ZodOptional<z.ZodString>;
6673
6673
  name: z.ZodString;
6674
- manageUrl: z.ZodString;
6674
+ manageUrl: z.ZodOptional<z.ZodString>;
6675
6675
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
6676
6676
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6677
6677
  name: z.ZodOptional<z.ZodString>;
@@ -7042,7 +7042,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
7042
7042
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7043
7043
  productId: z.ZodOptional<z.ZodString>;
7044
7044
  name: z.ZodString;
7045
- manageUrl: z.ZodString;
7045
+ manageUrl: z.ZodOptional<z.ZodString>;
7046
7046
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
7047
7047
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7048
7048
  name: z.ZodOptional<z.ZodString>;
@@ -7414,7 +7414,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
7414
7414
  extend: <E extends z.ZodRawShape>(extension: E) => z.ZodEffects<z.ZodObject<{
7415
7415
  productId: z.ZodOptional<z.ZodString>;
7416
7416
  name: z.ZodString;
7417
- manageUrl: z.ZodString;
7417
+ manageUrl: z.ZodOptional<z.ZodString>;
7418
7418
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
7419
7419
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7420
7420
  name: z.ZodOptional<z.ZodString>;
@@ -7785,7 +7785,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
7785
7785
  } & E, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7786
7786
  productId: z.ZodOptional<z.ZodString>;
7787
7787
  name: z.ZodString;
7788
- manageUrl: z.ZodString;
7788
+ manageUrl: z.ZodOptional<z.ZodString>;
7789
7789
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
7790
7790
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7791
7791
  name: z.ZodOptional<z.ZodString>;
@@ -8156,7 +8156,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
8156
8156
  } & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8157
8157
  productId: z.ZodOptional<z.ZodString>;
8158
8158
  name: z.ZodString;
8159
- manageUrl: z.ZodString;
8159
+ manageUrl: z.ZodOptional<z.ZodString>;
8160
8160
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
8161
8161
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8162
8162
  name: z.ZodOptional<z.ZodString>;
@@ -8527,7 +8527,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
8527
8527
  } & E, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
8528
8528
  productId: z.ZodOptional<z.ZodString>;
8529
8529
  name: z.ZodString;
8530
- manageUrl: z.ZodString;
8530
+ manageUrl: z.ZodOptional<z.ZodString>;
8531
8531
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
8532
8532
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8533
8533
  name: z.ZodOptional<z.ZodString>;
@@ -8898,7 +8898,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
8898
8898
  } & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8899
8899
  productId: z.ZodOptional<z.ZodString>;
8900
8900
  name: z.ZodString;
8901
- manageUrl: z.ZodString;
8901
+ manageUrl: z.ZodOptional<z.ZodString>;
8902
8902
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
8903
8903
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8904
8904
  name: z.ZodOptional<z.ZodString>;
@@ -9273,7 +9273,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
9273
9273
  products: z.objectOutputType<{
9274
9274
  productId: z.ZodOptional<z.ZodString>;
9275
9275
  name: z.ZodString;
9276
- manageUrl: z.ZodString;
9276
+ manageUrl: z.ZodOptional<z.ZodString>;
9277
9277
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
9278
9278
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9279
9279
  name: z.ZodOptional<z.ZodString>;
@@ -9647,7 +9647,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
9647
9647
  products: z.objectInputType<{
9648
9648
  productId: z.ZodOptional<z.ZodString>;
9649
9649
  name: z.ZodString;
9650
- manageUrl: z.ZodString;
9650
+ manageUrl: z.ZodOptional<z.ZodString>;
9651
9651
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
9652
9652
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9653
9653
  name: z.ZodOptional<z.ZodString>;
@@ -10023,7 +10023,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
10023
10023
  products: z.ZodArray<z.ZodEffects<z.ZodObject<{
10024
10024
  productId: z.ZodOptional<z.ZodString>;
10025
10025
  name: z.ZodString;
10026
- manageUrl: z.ZodString;
10026
+ manageUrl: z.ZodOptional<z.ZodString>;
10027
10027
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
10028
10028
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
10029
10029
  name: z.ZodOptional<z.ZodString>;
@@ -10394,7 +10394,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
10394
10394
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10395
10395
  productId: z.ZodOptional<z.ZodString>;
10396
10396
  name: z.ZodString;
10397
- manageUrl: z.ZodString;
10397
+ manageUrl: z.ZodOptional<z.ZodString>;
10398
10398
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
10399
10399
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
10400
10400
  name: z.ZodOptional<z.ZodString>;
@@ -10765,7 +10765,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
10765
10765
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10766
10766
  productId: z.ZodOptional<z.ZodString>;
10767
10767
  name: z.ZodString;
10768
- manageUrl: z.ZodString;
10768
+ manageUrl: z.ZodOptional<z.ZodString>;
10769
10769
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
10770
10770
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
10771
10771
  name: z.ZodOptional<z.ZodString>;
@@ -11136,7 +11136,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
11136
11136
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
11137
11137
  productId: z.ZodOptional<z.ZodString>;
11138
11138
  name: z.ZodString;
11139
- manageUrl: z.ZodString;
11139
+ manageUrl: z.ZodOptional<z.ZodString>;
11140
11140
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
11141
11141
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11142
11142
  name: z.ZodOptional<z.ZodString>;
@@ -11507,7 +11507,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
11507
11507
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11508
11508
  productId: z.ZodOptional<z.ZodString>;
11509
11509
  name: z.ZodString;
11510
- manageUrl: z.ZodString;
11510
+ manageUrl: z.ZodOptional<z.ZodString>;
11511
11511
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
11512
11512
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11513
11513
  name: z.ZodOptional<z.ZodString>;
@@ -11879,7 +11879,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
11879
11879
  extend: <E extends z.ZodRawShape>(extension: E) => z.ZodEffects<z.ZodObject<{
11880
11880
  productId: z.ZodOptional<z.ZodString>;
11881
11881
  name: z.ZodString;
11882
- manageUrl: z.ZodString;
11882
+ manageUrl: z.ZodOptional<z.ZodString>;
11883
11883
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
11884
11884
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11885
11885
  name: z.ZodOptional<z.ZodString>;
@@ -12250,7 +12250,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
12250
12250
  } & E, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12251
12251
  productId: z.ZodOptional<z.ZodString>;
12252
12252
  name: z.ZodString;
12253
- manageUrl: z.ZodString;
12253
+ manageUrl: z.ZodOptional<z.ZodString>;
12254
12254
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
12255
12255
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
12256
12256
  name: z.ZodOptional<z.ZodString>;
@@ -12621,7 +12621,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
12621
12621
  } & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12622
12622
  productId: z.ZodOptional<z.ZodString>;
12623
12623
  name: z.ZodString;
12624
- manageUrl: z.ZodString;
12624
+ manageUrl: z.ZodOptional<z.ZodString>;
12625
12625
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
12626
12626
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
12627
12627
  name: z.ZodOptional<z.ZodString>;
@@ -12992,7 +12992,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
12992
12992
  } & E, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
12993
12993
  productId: z.ZodOptional<z.ZodString>;
12994
12994
  name: z.ZodString;
12995
- manageUrl: z.ZodString;
12995
+ manageUrl: z.ZodOptional<z.ZodString>;
12996
12996
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
12997
12997
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
12998
12998
  name: z.ZodOptional<z.ZodString>;
@@ -13363,7 +13363,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
13363
13363
  } & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
13364
13364
  productId: z.ZodOptional<z.ZodString>;
13365
13365
  name: z.ZodString;
13366
- manageUrl: z.ZodString;
13366
+ manageUrl: z.ZodOptional<z.ZodString>;
13367
13367
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
13368
13368
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13369
13369
  name: z.ZodOptional<z.ZodString>;
@@ -13738,7 +13738,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
13738
13738
  products: z.objectOutputType<{
13739
13739
  productId: z.ZodOptional<z.ZodString>;
13740
13740
  name: z.ZodString;
13741
- manageUrl: z.ZodString;
13741
+ manageUrl: z.ZodOptional<z.ZodString>;
13742
13742
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
13743
13743
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13744
13744
  name: z.ZodOptional<z.ZodString>;
@@ -14112,7 +14112,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
14112
14112
  products: z.objectInputType<{
14113
14113
  productId: z.ZodOptional<z.ZodString>;
14114
14114
  name: z.ZodString;
14115
- manageUrl: z.ZodString;
14115
+ manageUrl: z.ZodOptional<z.ZodString>;
14116
14116
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
14117
14117
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14118
14118
  name: z.ZodOptional<z.ZodString>;
@@ -14488,7 +14488,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
14488
14488
  products: z.objectOutputType<{
14489
14489
  productId: z.ZodOptional<z.ZodString>;
14490
14490
  name: z.ZodString;
14491
- manageUrl: z.ZodString;
14491
+ manageUrl: z.ZodOptional<z.ZodString>;
14492
14492
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
14493
14493
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14494
14494
  name: z.ZodOptional<z.ZodString>;
@@ -14864,7 +14864,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
14864
14864
  products: z.objectInputType<{
14865
14865
  productId: z.ZodOptional<z.ZodString>;
14866
14866
  name: z.ZodString;
14867
- manageUrl: z.ZodString;
14867
+ manageUrl: z.ZodOptional<z.ZodString>;
14868
14868
  type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
14869
14869
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14870
14870
  name: z.ZodOptional<z.ZodString>;
@@ -106,7 +106,7 @@ const f = t.object({
106
106
  }), w = t.array(p), b = r.or(c).or(l).or(s).or(p), h = t.array(b), u = g({
107
107
  productId: t.string().optional(),
108
108
  name: t.string(),
109
- manageUrl: t.string(),
109
+ manageUrl: t.string().optional(),
110
110
  type: d,
111
111
  groups: t.record(t.object({
112
112
  name: t.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@argent/x-shared",
3
- "version": "1.45.0",
3
+ "version": "1.45.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/argentlabs/x-shared.git"