@halliday-sdk/payments 3.0.0 → 3.1.0

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.
Files changed (27) hide show
  1. package/dist/paymentsApiClient/index.cjs.min.js +1 -1
  2. package/dist/paymentsApiClient/index.cjs.min.js.map +1 -1
  3. package/dist/paymentsApiClient/index.d.ts +15 -12
  4. package/dist/paymentsApiClient/index.esm.min.js +1 -1
  5. package/dist/paymentsApiClient/index.esm.min.js.map +1 -1
  6. package/dist/paymentsWidget/ethers/index.cjs.min.js +1 -1
  7. package/dist/paymentsWidget/ethers/index.cjs.min.js.map +1 -1
  8. package/dist/paymentsWidget/ethers/index.d.ts +5 -12
  9. package/dist/paymentsWidget/ethers/index.esm.min.js +1 -1
  10. package/dist/paymentsWidget/ethers/index.esm.min.js.map +1 -1
  11. package/dist/paymentsWidget/ethers/index.umd.min.js +1 -1
  12. package/dist/paymentsWidget/ethers/index.umd.min.js.map +1 -1
  13. package/dist/paymentsWidget/index.cjs.min.js +1 -15
  14. package/dist/paymentsWidget/index.cjs.min.js.map +1 -1
  15. package/dist/paymentsWidget/index.d.ts +13 -40
  16. package/dist/paymentsWidget/index.esm.min.js +1 -15
  17. package/dist/paymentsWidget/index.esm.min.js.map +1 -1
  18. package/dist/paymentsWidget/index.umd.min.js +1 -15
  19. package/dist/paymentsWidget/index.umd.min.js.map +1 -1
  20. package/dist/paymentsWidget/viem/index.cjs.min.js +1 -1
  21. package/dist/paymentsWidget/viem/index.cjs.min.js.map +1 -1
  22. package/dist/paymentsWidget/viem/index.d.ts +5 -12
  23. package/dist/paymentsWidget/viem/index.esm.min.js +1 -1
  24. package/dist/paymentsWidget/viem/index.esm.min.js.map +1 -1
  25. package/dist/paymentsWidget/viem/index.umd.min.js +1 -1
  26. package/dist/paymentsWidget/viem/index.umd.min.js.map +1 -1
  27. package/package.json +1 -1
@@ -690,8 +690,17 @@ declare const OrgInviteId: z.ZodUUID;
690
690
  type OrgInviteId = z.infer<typeof OrgInviteId>;
691
691
  declare const OrgMemberId: z.ZodUUID;
692
692
  type OrgMemberId = z.infer<typeof OrgMemberId>;
693
+ declare const IOrgTou: z.ZodObject<{
694
+ signer_name: z.ZodString;
695
+ signer_email: z.ZodString;
696
+ }, z.core.$strip>;
697
+ type IOrgTou = z.infer<typeof IOrgTou>;
693
698
  declare const ICreateOrgRequest: z.ZodObject<{
694
699
  name: z.ZodString;
700
+ tou: z.ZodOptional<z.ZodObject<{
701
+ signer_name: z.ZodString;
702
+ signer_email: z.ZodString;
703
+ }, z.core.$strip>>;
695
704
  }, z.core.$strip>;
696
705
  type ICreateOrgRequest = z.infer<typeof ICreateOrgRequest>;
697
706
  declare const ICreateOrgResponse: z.ZodObject<{
@@ -3179,11 +3188,7 @@ type ClientRedirectAfter = z.infer<typeof ClientRedirectAfter>;
3179
3188
  declare const IInitialConfirmPaymentRequest: z.ZodObject<{
3180
3189
  payment_id: z.ZodUUID;
3181
3190
  state_token: z.ZodString;
3182
- owner_chain: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3183
- network: z.ZodString;
3184
- }, z.core.$strip>]>, z.ZodTransform<string, string | {
3185
- network: string;
3186
- }>>>;
3191
+ owner_chain: z.ZodOptional<z.ZodLiteral<"ethereum">>;
3187
3192
  owner_address: z.ZodString;
3188
3193
  destination_address: z.ZodString;
3189
3194
  client_redirect_url: z.ZodOptional<z.ZodString>;
@@ -3210,11 +3215,7 @@ type IContinueConfirmPaymentRequest = z.infer<typeof IContinueConfirmPaymentRequ
3210
3215
  declare const IConfirmPaymentRequest: z.ZodUnion<readonly [z.ZodObject<{
3211
3216
  payment_id: z.ZodUUID;
3212
3217
  state_token: z.ZodString;
3213
- owner_chain: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3214
- network: z.ZodString;
3215
- }, z.core.$strip>]>, z.ZodTransform<string, string | {
3216
- network: string;
3217
- }>>>;
3218
+ owner_chain: z.ZodOptional<z.ZodLiteral<"ethereum">>;
3218
3219
  owner_address: z.ZodString;
3219
3220
  destination_address: z.ZodString;
3220
3221
  client_redirect_url: z.ZodOptional<z.ZodString>;
@@ -3674,7 +3675,7 @@ declare const IConfirmPaymentResponse: z.ZodUnion<readonly [z.ZodObject<{
3674
3675
  type IConfirmPaymentResponse = z.infer<typeof IConfirmPaymentResponse>;
3675
3676
  declare const IPaymentStatusRequest: z.ZodObject<{
3676
3677
  payment_id: z.ZodUUID;
3677
- enable_withdraw_pending: z.ZodOptional<z.ZodBoolean>;
3678
+ enable_withdraw_pending: z.ZodOptional<z.ZodString>;
3678
3679
  }, z.core.$strip>;
3679
3680
  type IPaymentStatusRequest = z.infer<typeof IPaymentStatusRequest>;
3680
3681
  declare const IOnrampSessionRequest: z.ZodObject<{
@@ -3787,6 +3788,7 @@ declare const IPaymentBalancesResult: z.ZodObject<{
3787
3788
  kind: z.ZodLiteral<"amount">;
3788
3789
  amount: z.ZodString;
3789
3790
  withdrawal_fee: z.ZodNullable<z.ZodString>;
3791
+ min_withdrawal_amount: z.ZodNullable<z.ZodString>;
3790
3792
  }, z.core.$strip>, z.ZodObject<{
3791
3793
  kind: z.ZodLiteral<"error">;
3792
3794
  }, z.core.$strip>]>;
@@ -3808,6 +3810,7 @@ declare const IPaymentBalancesResponse: z.ZodObject<{
3808
3810
  kind: z.ZodLiteral<"amount">;
3809
3811
  amount: z.ZodString;
3810
3812
  withdrawal_fee: z.ZodNullable<z.ZodString>;
3813
+ min_withdrawal_amount: z.ZodNullable<z.ZodString>;
3811
3814
  }, z.core.$strip>, z.ZodObject<{
3812
3815
  kind: z.ZodLiteral<"error">;
3813
3816
  }, z.core.$strip>]>;
@@ -4374,5 +4377,5 @@ declare class HSON {
4374
4377
  static parse(str: string): any;
4375
4378
  }
4376
4379
 
4377
- export { Account, Address, AddressFamily, AddressFamilyMap, AddressUrl, AleoAddress, Amount, Asset, AssetDetails, AssetKey, Balance, BlockNumber, Bool, BtcAddress, ChainConfig, ChainKey, ClientRedirectAfter, Constants, CountryAlpha2, CountryAlpha3, CountryCode, DogeAddress, EIP712TypedData, EVMAddress, EVMChainConfig, EVMTokenAddress, EVMTokenDetails, ErrorCodes, Feature, Fiat, FiatDetails, FiatKey, FulfilledStatus, GeoFilter, Geolocation, GeolocationIssue, HSON, HttpsUrl, IAmountIssue, IAsset, IAssetAmount, IAssetDetails, IAssetsResults, IChain, IChainDetails, IChainInfo, IChainsResults, IChange, IChangeAmount, IChangeStructure, IConfirmPaymentRequest, IConfirmPaymentResponse, IContinueConfirmPaymentRequest, ICreateAPIKeyRequest, ICreateAPIKeyResponse, ICreateOrgInviteRequest, ICreateOrgRequest, ICreateOrgResponse, ICreateRevShareRequest, ICreateRevShareResponse, IDeleteAPIKeyRequest, IDeleteInviteRequest, IDeleteOrgMemberRequest, IDeleteRevShareRequest, IDisableOrgRequest, IEffect, IEffectAmount, IEffectStructure, IEntry, IFailureContent, IFees, IFiat, IFixedInputQuoteRequest, IFulfilledChangeAmount, IFulfilledEffectAmount, IFulfilledEntry, IFulfilledRouteItem, IFundingIssue, IGeolocationRequest, IGeolocationResponse, IGetAPIKeysResponse, IGetMyOrgInvitesRequest, IGetMyOrgsRequest, IGetMyOrgsResponse, IGetOrgInfoResponse, IGetOrgInvitesRequest, IGetOrgInvitesResponse, IGetOrgMembersRequest, IGetOrgMembersResponse, IGetOrgsResponse, IGetRevSharesRequest, IGetRevSharesResponse, IGetWalletInfoRequest, IGetWalletInfoResponse, IInitialConfirmPaymentRequest, IInputsOutputsResult, IInputsOutputsResults, IInstruction, IIssue, IOnrampInstruction, IOnrampSessionRequest, IOnrampSessionResult, IPayinMethodsRequest, IPayinMethodsResponse, IPaymentBalancesResponse, IPaymentBalancesResult, IPaymentChoice, IPaymentStatus, IPaymentStatusRequest, IPaymentStatusesResults, IPiece, IQuote, IQuoteRequest, IQuoteResponse, IQuotedEntry, IQuotedRouteItem, IRequestForAssets, IRequestForChains, IRequestForInputs, IRequestForOrgPayments, IRequestForOutputs, IRequestForPaymentBalances, IRequestForPaymentsPaginationKey, IRequestForPrices, IRequestForSPWInfo, IRequestForUpdateLegacy, IRequestForUserPayments, IRequestForWallet, IRequestForWithdrawLegacy, IRequestForWithdrawPayload, IRequestForWithdrawWithStateToken, IResource, IRevShare, IRevShareProfile, IRouteItem, ISPWInfo, ISPWInfoResponse, ISignatureType, IToken, ITokenAmount, ITransferInInstruction, IUpdateAPIKeyRequest, IUpdateInviteRequest, IUpdateOrgConfigRequest, IUpdateOrgCreditRequest, IUpdateOrgFeaturesRequest, IUpdateOrgMemberPermsRequest, IUpdateOrgOwnerRequest, IUpdateOrgRequest, IUpdateRevShareRequest, IUpdateRevShareResponse, IUserVerifyInstruction, IVerificationReason, IVerificationType, IVerifyOwnershipRequest, IVerifyOwnershipResponse, IWalletResult, IWithdrawPayloadResponse, IWithdrawPaymentAuthorizationRequest, IWithdrawPaymentAuthorizationResponse, IWithdrawPaymentRequestLegacy, IWithdrawPaymentRequestWithStateToken, IWithdrawPaymentResponse, IWithdrawResponse, IWithdrawalStatus, InviteStatus, Ip, Limits, Login, LtcAddress, Milliseconds, MyOrgsPaginationKey, NonTerminalObservedStatus, None, ObservedStatus, OnrampMethod, OrgConfig, OrgFeature, OrgId, OrgInviteId, OrgMemberId, OtherIssue, OwnerIssue, PayinMethod, PayinMethodIssue, PayinMethodKey, PaymentCategory, PaymentsApiClientError, PayoutMethod, Percentage, Perms, PieceInfo, PositiveNumeric, Price, Prices, Property, ProviderIssue, PurchaseStatus, RampName, RampType, Realm, RevShareAddressMap, RevSharePercentage, SafeUrl, Sau, Signature, SolAddress, SolChainConfig, SolAddress as SolTokenAddress, SolTokenDetails, StateAlpha2, StepType, TerminalObservedStatus, Token, TokenDetails, TokenKey, TonAddress, TransactionReceipt, TransactionRequest, TronAddress, TxId, UnknownIssue, WalletPurpose, WithdrawAccount, WorkflowAccount, WorkflowOverallStatus, WorkflowOverallStatusStored, XrplAddress, ZDate, PaymentsApiClient as default };
4380
+ export { Account, Address, AddressFamily, AddressFamilyMap, AddressUrl, AleoAddress, Amount, Asset, AssetDetails, AssetKey, Balance, BlockNumber, Bool, BtcAddress, ChainConfig, ChainKey, ClientRedirectAfter, Constants, CountryAlpha2, CountryAlpha3, CountryCode, DogeAddress, EIP712TypedData, EVMAddress, EVMChainConfig, EVMTokenAddress, EVMTokenDetails, ErrorCodes, Feature, Fiat, FiatDetails, FiatKey, FulfilledStatus, GeoFilter, Geolocation, GeolocationIssue, HSON, HttpsUrl, IAmountIssue, IAsset, IAssetAmount, IAssetDetails, IAssetsResults, IChain, IChainDetails, IChainInfo, IChainsResults, IChange, IChangeAmount, IChangeStructure, IConfirmPaymentRequest, IConfirmPaymentResponse, IContinueConfirmPaymentRequest, ICreateAPIKeyRequest, ICreateAPIKeyResponse, ICreateOrgInviteRequest, ICreateOrgRequest, ICreateOrgResponse, ICreateRevShareRequest, ICreateRevShareResponse, IDeleteAPIKeyRequest, IDeleteInviteRequest, IDeleteOrgMemberRequest, IDeleteRevShareRequest, IDisableOrgRequest, IEffect, IEffectAmount, IEffectStructure, IEntry, IFailureContent, IFees, IFiat, IFixedInputQuoteRequest, IFulfilledChangeAmount, IFulfilledEffectAmount, IFulfilledEntry, IFulfilledRouteItem, IFundingIssue, IGeolocationRequest, IGeolocationResponse, IGetAPIKeysResponse, IGetMyOrgInvitesRequest, IGetMyOrgsRequest, IGetMyOrgsResponse, IGetOrgInfoResponse, IGetOrgInvitesRequest, IGetOrgInvitesResponse, IGetOrgMembersRequest, IGetOrgMembersResponse, IGetOrgsResponse, IGetRevSharesRequest, IGetRevSharesResponse, IGetWalletInfoRequest, IGetWalletInfoResponse, IInitialConfirmPaymentRequest, IInputsOutputsResult, IInputsOutputsResults, IInstruction, IIssue, IOnrampInstruction, IOnrampSessionRequest, IOnrampSessionResult, IOrgTou, IPayinMethodsRequest, IPayinMethodsResponse, IPaymentBalancesResponse, IPaymentBalancesResult, IPaymentChoice, IPaymentStatus, IPaymentStatusRequest, IPaymentStatusesResults, IPiece, IQuote, IQuoteRequest, IQuoteResponse, IQuotedEntry, IQuotedRouteItem, IRequestForAssets, IRequestForChains, IRequestForInputs, IRequestForOrgPayments, IRequestForOutputs, IRequestForPaymentBalances, IRequestForPaymentsPaginationKey, IRequestForPrices, IRequestForSPWInfo, IRequestForUpdateLegacy, IRequestForUserPayments, IRequestForWallet, IRequestForWithdrawLegacy, IRequestForWithdrawPayload, IRequestForWithdrawWithStateToken, IResource, IRevShare, IRevShareProfile, IRouteItem, ISPWInfo, ISPWInfoResponse, ISignatureType, IToken, ITokenAmount, ITransferInInstruction, IUpdateAPIKeyRequest, IUpdateInviteRequest, IUpdateOrgConfigRequest, IUpdateOrgCreditRequest, IUpdateOrgFeaturesRequest, IUpdateOrgMemberPermsRequest, IUpdateOrgOwnerRequest, IUpdateOrgRequest, IUpdateRevShareRequest, IUpdateRevShareResponse, IUserVerifyInstruction, IVerificationReason, IVerificationType, IVerifyOwnershipRequest, IVerifyOwnershipResponse, IWalletResult, IWithdrawPayloadResponse, IWithdrawPaymentAuthorizationRequest, IWithdrawPaymentAuthorizationResponse, IWithdrawPaymentRequestLegacy, IWithdrawPaymentRequestWithStateToken, IWithdrawPaymentResponse, IWithdrawResponse, IWithdrawalStatus, InviteStatus, Ip, Limits, Login, LtcAddress, Milliseconds, MyOrgsPaginationKey, NonTerminalObservedStatus, None, ObservedStatus, OnrampMethod, OrgConfig, OrgFeature, OrgId, OrgInviteId, OrgMemberId, OtherIssue, OwnerIssue, PayinMethod, PayinMethodIssue, PayinMethodKey, PaymentCategory, PaymentsApiClientError, PayoutMethod, Percentage, Perms, PieceInfo, PositiveNumeric, Price, Prices, Property, ProviderIssue, PurchaseStatus, RampName, RampType, Realm, RevShareAddressMap, RevSharePercentage, SafeUrl, Sau, Signature, SolAddress, SolChainConfig, SolAddress as SolTokenAddress, SolTokenDetails, StateAlpha2, StepType, TerminalObservedStatus, Token, TokenDetails, TokenKey, TonAddress, TransactionReceipt, TransactionRequest, TronAddress, TxId, UnknownIssue, WalletPurpose, WithdrawAccount, WorkflowAccount, WorkflowOverallStatus, WorkflowOverallStatusStored, XrplAddress, ZDate, PaymentsApiClient as default };
4378
4381
  export type { IRequestForWithdraw, IWithdrawPaymentRequest, PaymentsApiClientOptions, ResponseValidationOptions };