@paxosglobal/sdk 0.0.0-stage → 0.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 (212) hide show
  1. package/AGENTS.md +268 -0
  2. package/CHANGELOG.md +35 -0
  3. package/LICENSE +191 -0
  4. package/README.md +445 -2
  5. package/dist/auth.d.ts +60 -0
  6. package/dist/auth.js +248 -0
  7. package/dist/auth.js.map +1 -0
  8. package/dist/client.d.ts +353 -0
  9. package/dist/client.js +967 -0
  10. package/dist/client.js.map +1 -0
  11. package/dist/constants.d.ts +16 -0
  12. package/dist/constants.js +17 -0
  13. package/dist/constants.js.map +1 -0
  14. package/dist/decimal-fields.d.ts +16 -0
  15. package/dist/decimal-fields.js +570 -0
  16. package/dist/decimal-fields.js.map +1 -0
  17. package/dist/decimal.d.ts +25 -0
  18. package/dist/decimal.js +93 -0
  19. package/dist/decimal.js.map +1 -0
  20. package/dist/decode.d.ts +34 -0
  21. package/dist/decode.js +118 -0
  22. package/dist/decode.js.map +1 -0
  23. package/dist/enums.d.ts +1080 -0
  24. package/dist/enums.js +1031 -0
  25. package/dist/enums.js.map +1 -0
  26. package/dist/errors.d.ts +142 -0
  27. package/dist/errors.js +261 -0
  28. package/dist/errors.js.map +1 -0
  29. package/dist/generated-types.d.ts +13629 -0
  30. package/dist/generated-types.js +3 -0
  31. package/dist/generated-types.js.map +1 -0
  32. package/dist/index.d.ts +32 -0
  33. package/dist/index.js +31 -0
  34. package/dist/index.js.map +1 -0
  35. package/dist/models.d.ts +299 -0
  36. package/dist/models.js +3 -0
  37. package/dist/models.js.map +1 -0
  38. package/dist/paxos-client.d.ts +107 -0
  39. package/dist/paxos-client.js +157 -0
  40. package/dist/paxos-client.js.map +1 -0
  41. package/dist/query-keys.d.ts +1 -0
  42. package/dist/query-keys.js +31 -0
  43. package/dist/query-keys.js.map +1 -0
  44. package/dist/response-defaults.d.ts +2 -0
  45. package/dist/response-defaults.js +109 -0
  46. package/dist/response-defaults.js.map +1 -0
  47. package/dist/services/account-members.d.ts +32 -0
  48. package/dist/services/account-members.js +46 -0
  49. package/dist/services/account-members.js.map +1 -0
  50. package/dist/services/accounts.d.ts +74 -0
  51. package/dist/services/accounts.js +71 -0
  52. package/dist/services/accounts.js.map +1 -0
  53. package/dist/services/address-verification.d.ts +72 -0
  54. package/dist/services/address-verification.js +64 -0
  55. package/dist/services/address-verification.js.map +1 -0
  56. package/dist/services/api-credentials.d.ts +44 -0
  57. package/dist/services/api-credentials.js +42 -0
  58. package/dist/services/api-credentials.js.map +1 -0
  59. package/dist/services/claims.d.ts +68 -0
  60. package/dist/services/claims.js +67 -0
  61. package/dist/services/claims.js.map +1 -0
  62. package/dist/services/cross-chain-transfer.d.ts +71 -0
  63. package/dist/services/cross-chain-transfer.js +68 -0
  64. package/dist/services/cross-chain-transfer.js.map +1 -0
  65. package/dist/services/crypto-deposits.d.ts +30 -0
  66. package/dist/services/crypto-deposits.js +39 -0
  67. package/dist/services/crypto-deposits.js.map +1 -0
  68. package/dist/services/crypto-withdrawals.d.ts +60 -0
  69. package/dist/services/crypto-withdrawals.js +42 -0
  70. package/dist/services/crypto-withdrawals.js.map +1 -0
  71. package/dist/services/deposit-addresses.d.ts +54 -0
  72. package/dist/services/deposit-addresses.js +36 -0
  73. package/dist/services/deposit-addresses.js.map +1 -0
  74. package/dist/services/events.d.ts +53 -0
  75. package/dist/services/events.js +39 -0
  76. package/dist/services/events.js.map +1 -0
  77. package/dist/services/exchange.d.ts +52 -0
  78. package/dist/services/exchange.js +30 -0
  79. package/dist/services/exchange.js.map +1 -0
  80. package/dist/services/fees.d.ts +15 -0
  81. package/dist/services/fees.js +24 -0
  82. package/dist/services/fees.js.map +1 -0
  83. package/dist/services/fiat-transfers.d.ts +133 -0
  84. package/dist/services/fiat-transfers.js +127 -0
  85. package/dist/services/fiat-transfers.js.map +1 -0
  86. package/dist/services/identity-controls.d.ts +43 -0
  87. package/dist/services/identity-controls.js +42 -0
  88. package/dist/services/identity-controls.js.map +1 -0
  89. package/dist/services/identity-documents.d.ts +45 -0
  90. package/dist/services/identity-documents.js +50 -0
  91. package/dist/services/identity-documents.js.map +1 -0
  92. package/dist/services/identity.d.ts +122 -0
  93. package/dist/services/identity.js +66 -0
  94. package/dist/services/identity.js.map +1 -0
  95. package/dist/services/index.d.ts +89 -0
  96. package/dist/services/index.js +55 -0
  97. package/dist/services/index.js.map +1 -0
  98. package/dist/services/institution-members.d.ts +30 -0
  99. package/dist/services/institution-members.js +44 -0
  100. package/dist/services/institution-members.js.map +1 -0
  101. package/dist/services/internal-transfers.d.ts +15 -0
  102. package/dist/services/internal-transfers.js +26 -0
  103. package/dist/services/internal-transfers.js.map +1 -0
  104. package/dist/services/issuer-quotes.d.ts +72 -0
  105. package/dist/services/issuer-quotes.js +66 -0
  106. package/dist/services/issuer-quotes.js.map +1 -0
  107. package/dist/services/limits.d.ts +20 -0
  108. package/dist/services/limits.js +23 -0
  109. package/dist/services/limits.js.map +1 -0
  110. package/dist/services/market-data.d.ts +15 -0
  111. package/dist/services/market-data.js +23 -0
  112. package/dist/services/market-data.js.map +1 -0
  113. package/dist/services/monitoring-addresses.d.ts +64 -0
  114. package/dist/services/monitoring-addresses.js +68 -0
  115. package/dist/services/monitoring-addresses.js.map +1 -0
  116. package/dist/services/orchestration-rules.d.ts +53 -0
  117. package/dist/services/orchestration-rules.js +47 -0
  118. package/dist/services/orchestration-rules.js.map +1 -0
  119. package/dist/services/orchestrations.d.ts +70 -0
  120. package/dist/services/orchestrations.js +45 -0
  121. package/dist/services/orchestrations.js.map +1 -0
  122. package/dist/services/orders.d.ts +86 -0
  123. package/dist/services/orders.js +67 -0
  124. package/dist/services/orders.js.map +1 -0
  125. package/dist/services/paxos-transfers.d.ts +24 -0
  126. package/dist/services/paxos-transfers.js +35 -0
  127. package/dist/services/paxos-transfers.js.map +1 -0
  128. package/dist/services/payments.d.ts +46 -0
  129. package/dist/services/payments.js +35 -0
  130. package/dist/services/payments.js.map +1 -0
  131. package/dist/services/payout-groups.d.ts +59 -0
  132. package/dist/services/payout-groups.js +59 -0
  133. package/dist/services/payout-groups.js.map +1 -0
  134. package/dist/services/pricing.d.ts +67 -0
  135. package/dist/services/pricing.js +42 -0
  136. package/dist/services/pricing.js.map +1 -0
  137. package/dist/services/profiles.d.ts +106 -0
  138. package/dist/services/profiles.js +84 -0
  139. package/dist/services/profiles.js.map +1 -0
  140. package/dist/services/quote-executions.d.ts +51 -0
  141. package/dist/services/quote-executions.js +41 -0
  142. package/dist/services/quote-executions.js.map +1 -0
  143. package/dist/services/quotes.d.ts +44 -0
  144. package/dist/services/quotes.js +48 -0
  145. package/dist/services/quotes.js.map +1 -0
  146. package/dist/services/reward-addresses.d.ts +80 -0
  147. package/dist/services/reward-addresses.js +79 -0
  148. package/dist/services/reward-addresses.js.map +1 -0
  149. package/dist/services/rewards-statements.d.ts +35 -0
  150. package/dist/services/rewards-statements.js +32 -0
  151. package/dist/services/rewards-statements.js.map +1 -0
  152. package/dist/services/rewards.d.ts +34 -0
  153. package/dist/services/rewards.js +37 -0
  154. package/dist/services/rewards.js.map +1 -0
  155. package/dist/services/sandbox-deposits.d.ts +15 -0
  156. package/dist/services/sandbox-deposits.js +22 -0
  157. package/dist/services/sandbox-deposits.js.map +1 -0
  158. package/dist/services/sandbox-fiat-transfers.d.ts +15 -0
  159. package/dist/services/sandbox-fiat-transfers.js +24 -0
  160. package/dist/services/sandbox-fiat-transfers.js.map +1 -0
  161. package/dist/services/sandbox-identity.d.ts +39 -0
  162. package/dist/services/sandbox-identity.js +60 -0
  163. package/dist/services/sandbox-identity.js.map +1 -0
  164. package/dist/services/settlement.d.ts +76 -0
  165. package/dist/services/settlement.js +79 -0
  166. package/dist/services/settlement.js.map +1 -0
  167. package/dist/services/stablecoin-conversion.d.ts +70 -0
  168. package/dist/services/stablecoin-conversion.js +65 -0
  169. package/dist/services/stablecoin-conversion.js.map +1 -0
  170. package/dist/services/statements.d.ts +44 -0
  171. package/dist/services/statements.js +35 -0
  172. package/dist/services/statements.js.map +1 -0
  173. package/dist/services/tax-documentation.d.ts +21 -0
  174. package/dist/services/tax-documentation.js +33 -0
  175. package/dist/services/tax-documentation.js.map +1 -0
  176. package/dist/services/tax-forms.d.ts +45 -0
  177. package/dist/services/tax-forms.js +38 -0
  178. package/dist/services/tax-forms.js.map +1 -0
  179. package/dist/services/transfers.d.ts +96 -0
  180. package/dist/services/transfers.js +37 -0
  181. package/dist/services/transfers.js.map +1 -0
  182. package/dist/services/travel-rule.d.ts +32 -0
  183. package/dist/services/travel-rule.js +30 -0
  184. package/dist/services/travel-rule.js.map +1 -0
  185. package/dist/services/user-audit-logs.d.ts +45 -0
  186. package/dist/services/user-audit-logs.js +27 -0
  187. package/dist/services/user-audit-logs.js.map +1 -0
  188. package/dist/services/webhooks.d.ts +58 -0
  189. package/dist/services/webhooks.js +42 -0
  190. package/dist/services/webhooks.js.map +1 -0
  191. package/dist/signing.d.ts +33 -0
  192. package/dist/signing.js +186 -0
  193. package/dist/signing.js.map +1 -0
  194. package/dist/testing/fixtures.d.ts +40 -0
  195. package/dist/testing/fixtures.js +131 -0
  196. package/dist/testing/fixtures.js.map +1 -0
  197. package/dist/testing/index.d.ts +28 -0
  198. package/dist/testing/index.js +28 -0
  199. package/dist/testing/index.js.map +1 -0
  200. package/dist/testing/mock-server.d.ts +121 -0
  201. package/dist/testing/mock-server.js +276 -0
  202. package/dist/testing/mock-server.js.map +1 -0
  203. package/dist/timeouts.d.ts +13 -0
  204. package/dist/timeouts.js +71 -0
  205. package/dist/timeouts.js.map +1 -0
  206. package/dist/types.d.ts +6 -0
  207. package/dist/types.js +7 -0
  208. package/dist/types.js.map +1 -0
  209. package/dist/version.d.ts +1 -0
  210. package/dist/version.js +2 -0
  211. package/dist/version.js.map +1 -0
  212. package/package.json +67 -4
@@ -0,0 +1,89 @@
1
+ /**
2
+ * Service classes for all Paxos API endpoints.
3
+ *
4
+ * Each service is accessed via the corresponding accessor on {@link PaxosClient}
5
+ * (e.g., client.transfers, client.identity, client.profiles).
6
+ */
7
+ export { AccountMembersService } from "./account-members.js";
8
+ export { AccountsService } from "./accounts.js";
9
+ export type { ListAccountsParams } from "./accounts.js";
10
+ export { AddressVerificationService } from "./address-verification.js";
11
+ export type { ListVerificationsParams } from "./address-verification.js";
12
+ export { ApiCredentialsService } from "./api-credentials.js";
13
+ export type { ListApiCredentialsParams } from "./api-credentials.js";
14
+ export { ClaimsService } from "./claims.js";
15
+ export type { ListClaimSchedulesParams, ListClaimsParams } from "./claims.js";
16
+ export { CrossChainTransferService } from "./cross-chain-transfer.js";
17
+ export type { ListCrossChainAttestationsParams, GetCrossChainFeesParams, ListCrossChainTransfersParams, } from "./cross-chain-transfer.js";
18
+ export { CryptoDepositsService } from "./crypto-deposits.js";
19
+ export { CryptoWithdrawalsService } from "./crypto-withdrawals.js";
20
+ export type { ListCryptoDestinationAddressesParams } from "./crypto-withdrawals.js";
21
+ export { DepositAddressesService } from "./deposit-addresses.js";
22
+ export type { ListDepositAddressesParams } from "./deposit-addresses.js";
23
+ export { EventsService } from "./events.js";
24
+ export type { ListEventsParams, GetEventParams } from "./events.js";
25
+ export { ExchangeService } from "./exchange.js";
26
+ export type { ListProfileExecutionsParams, ListProfileOrdersParams } from "./exchange.js";
27
+ export { FeesService } from "./fees.js";
28
+ export { FiatTransfersService } from "./fiat-transfers.js";
29
+ export type { ListFiatAccountsParams, GetFiatAccountParams, ListFiatDepositInstructionsParams, } from "./fiat-transfers.js";
30
+ export { IdentityService } from "./identity.js";
31
+ export type { ListIdentitiesParams, GetIdentityParams } from "./identity.js";
32
+ export { IdentityControlsService } from "./identity-controls.js";
33
+ export type { ListIdentityControlsParams, DeleteIdentityControlParams } from "./identity-controls.js";
34
+ export { IdentityDocumentsService } from "./identity-documents.js";
35
+ export type { ListIdentityDocumentsParams } from "./identity-documents.js";
36
+ export { InstitutionMembersService } from "./institution-members.js";
37
+ export { InternalTransfersService } from "./internal-transfers.js";
38
+ export { IssuerQuotesService } from "./issuer-quotes.js";
39
+ export type { GetIssuerQuoteSettlementAvailabilityParams, ListIssuerQuoteExecutionsParams } from "./issuer-quotes.js";
40
+ export { LimitsService } from "./limits.js";
41
+ export type { ListTransferLimitsParams } from "./limits.js";
42
+ export { MarketDataService } from "./market-data.js";
43
+ export { MonitoringAddressesService } from "./monitoring-addresses.js";
44
+ export type { ListMonitoringAddressParams } from "./monitoring-addresses.js";
45
+ export { OrchestrationRulesService } from "./orchestration-rules.js";
46
+ export type { ListOrchestrationRulesParams } from "./orchestration-rules.js";
47
+ export { OrchestrationsService } from "./orchestrations.js";
48
+ export type { ListOrchestrationsParams } from "./orchestrations.js";
49
+ export { OrdersService } from "./orders.js";
50
+ export type { ListExecutionsParams, ListOrdersParams } from "./orders.js";
51
+ export { PaxosTransfersService } from "./paxos-transfers.js";
52
+ export { PaymentsService } from "./payments.js";
53
+ export type { ListPaymentsParams } from "./payments.js";
54
+ export { PayoutGroupsService } from "./payout-groups.js";
55
+ export type { ListPayoutGroupsParams } from "./payout-groups.js";
56
+ export { PricingService } from "./pricing.js";
57
+ export type { ListPricesParams, ListHistoricalPricesParams, ListHistoricalCandlesParams } from "./pricing.js";
58
+ export { ProfilesService } from "./profiles.js";
59
+ export type { ListProfilesParams, GetProfileParams, ListProfileBalancesParams, GetProfileBalanceParams, } from "./profiles.js";
60
+ export { QuoteExecutionsService } from "./quote-executions.js";
61
+ export type { ListQuoteExecutionsParams } from "./quote-executions.js";
62
+ export { QuotesService } from "./quotes.js";
63
+ export type { ListQuotesParams } from "./quotes.js";
64
+ export { RewardAddressesService } from "./reward-addresses.js";
65
+ export type { ListAttributionAddressesParams } from "./reward-addresses.js";
66
+ export { RewardsService } from "./rewards.js";
67
+ export type { GetRewardDetailsParams, GetRewardsRatesParams } from "./rewards.js";
68
+ export { RewardsStatementsService } from "./rewards-statements.js";
69
+ export type { ListRewardsStatementsParams } from "./rewards-statements.js";
70
+ export { SandboxDepositsService } from "./sandbox-deposits.js";
71
+ export { SandboxFiatTransfersService } from "./sandbox-fiat-transfers.js";
72
+ export { SandboxIdentityService } from "./sandbox-identity.js";
73
+ export { SettlementService } from "./settlement.js";
74
+ export type { ListTransactionsParams } from "./settlement.js";
75
+ export { StablecoinConversionService } from "./stablecoin-conversion.js";
76
+ export type { ListStablecoinConversionsParams } from "./stablecoin-conversion.js";
77
+ export { StatementsService } from "./statements.js";
78
+ export type { ListStatementsParams } from "./statements.js";
79
+ export { TaxDocumentationService } from "./tax-documentation.js";
80
+ export { TaxFormsService } from "./tax-forms.js";
81
+ export type { ListTaxFormRevisionsParams, ListTaxFormsParams } from "./tax-forms.js";
82
+ export { TransfersService } from "./transfers.js";
83
+ export type { ListTransfersParams } from "./transfers.js";
84
+ export { TravelRuleService } from "./travel-rule.js";
85
+ export type { ListVaspsParams } from "./travel-rule.js";
86
+ export { UserAuditLogsService } from "./user-audit-logs.js";
87
+ export type { ListUserAuditLogsParams } from "./user-audit-logs.js";
88
+ export { WebhooksService } from "./webhooks.js";
89
+ export type { ListWebhooksParams, ListDeliveryHistoriesParams } from "./webhooks.js";
@@ -0,0 +1,55 @@
1
+ // Code generated from the Paxos OpenAPI specification. DO NOT EDIT.
2
+ /**
3
+ * Service classes for all Paxos API endpoints.
4
+ *
5
+ * Each service is accessed via the corresponding accessor on {@link PaxosClient}
6
+ * (e.g., client.transfers, client.identity, client.profiles).
7
+ */
8
+ export { AccountMembersService } from "./account-members.js";
9
+ export { AccountsService } from "./accounts.js";
10
+ export { AddressVerificationService } from "./address-verification.js";
11
+ export { ApiCredentialsService } from "./api-credentials.js";
12
+ export { ClaimsService } from "./claims.js";
13
+ export { CrossChainTransferService } from "./cross-chain-transfer.js";
14
+ export { CryptoDepositsService } from "./crypto-deposits.js";
15
+ export { CryptoWithdrawalsService } from "./crypto-withdrawals.js";
16
+ export { DepositAddressesService } from "./deposit-addresses.js";
17
+ export { EventsService } from "./events.js";
18
+ export { ExchangeService } from "./exchange.js";
19
+ export { FeesService } from "./fees.js";
20
+ export { FiatTransfersService } from "./fiat-transfers.js";
21
+ export { IdentityService } from "./identity.js";
22
+ export { IdentityControlsService } from "./identity-controls.js";
23
+ export { IdentityDocumentsService } from "./identity-documents.js";
24
+ export { InstitutionMembersService } from "./institution-members.js";
25
+ export { InternalTransfersService } from "./internal-transfers.js";
26
+ export { IssuerQuotesService } from "./issuer-quotes.js";
27
+ export { LimitsService } from "./limits.js";
28
+ export { MarketDataService } from "./market-data.js";
29
+ export { MonitoringAddressesService } from "./monitoring-addresses.js";
30
+ export { OrchestrationRulesService } from "./orchestration-rules.js";
31
+ export { OrchestrationsService } from "./orchestrations.js";
32
+ export { OrdersService } from "./orders.js";
33
+ export { PaxosTransfersService } from "./paxos-transfers.js";
34
+ export { PaymentsService } from "./payments.js";
35
+ export { PayoutGroupsService } from "./payout-groups.js";
36
+ export { PricingService } from "./pricing.js";
37
+ export { ProfilesService } from "./profiles.js";
38
+ export { QuoteExecutionsService } from "./quote-executions.js";
39
+ export { QuotesService } from "./quotes.js";
40
+ export { RewardAddressesService } from "./reward-addresses.js";
41
+ export { RewardsService } from "./rewards.js";
42
+ export { RewardsStatementsService } from "./rewards-statements.js";
43
+ export { SandboxDepositsService } from "./sandbox-deposits.js";
44
+ export { SandboxFiatTransfersService } from "./sandbox-fiat-transfers.js";
45
+ export { SandboxIdentityService } from "./sandbox-identity.js";
46
+ export { SettlementService } from "./settlement.js";
47
+ export { StablecoinConversionService } from "./stablecoin-conversion.js";
48
+ export { StatementsService } from "./statements.js";
49
+ export { TaxDocumentationService } from "./tax-documentation.js";
50
+ export { TaxFormsService } from "./tax-forms.js";
51
+ export { TransfersService } from "./transfers.js";
52
+ export { TravelRuleService } from "./travel-rule.js";
53
+ export { UserAuditLogsService } from "./user-audit-logs.js";
54
+ export { WebhooksService } from "./webhooks.js";
55
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,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e,EAAE,MAAM,eAAe,CAAC","sourcesContent":["// Code generated from the Paxos OpenAPI specification. DO NOT EDIT.\n\n/**\n * Service classes for all Paxos API endpoints.\n *\n * Each service is accessed via the corresponding accessor on {@link PaxosClient}\n * (e.g., client.transfers, client.identity, client.profiles).\n */\n\nexport { AccountMembersService } from \"./account-members.js\";\nexport { AccountsService } from \"./accounts.js\";\nexport type { ListAccountsParams } from \"./accounts.js\";\nexport { AddressVerificationService } from \"./address-verification.js\";\nexport type { ListVerificationsParams } from \"./address-verification.js\";\nexport { ApiCredentialsService } from \"./api-credentials.js\";\nexport type { ListApiCredentialsParams } from \"./api-credentials.js\";\nexport { ClaimsService } from \"./claims.js\";\nexport type { ListClaimSchedulesParams, ListClaimsParams } from \"./claims.js\";\nexport { CrossChainTransferService } from \"./cross-chain-transfer.js\";\nexport type {\n ListCrossChainAttestationsParams,\n GetCrossChainFeesParams,\n ListCrossChainTransfersParams,\n} from \"./cross-chain-transfer.js\";\nexport { CryptoDepositsService } from \"./crypto-deposits.js\";\nexport { CryptoWithdrawalsService } from \"./crypto-withdrawals.js\";\nexport type { ListCryptoDestinationAddressesParams } from \"./crypto-withdrawals.js\";\nexport { DepositAddressesService } from \"./deposit-addresses.js\";\nexport type { ListDepositAddressesParams } from \"./deposit-addresses.js\";\nexport { EventsService } from \"./events.js\";\nexport type { ListEventsParams, GetEventParams } from \"./events.js\";\nexport { ExchangeService } from \"./exchange.js\";\nexport type { ListProfileExecutionsParams, ListProfileOrdersParams } from \"./exchange.js\";\nexport { FeesService } from \"./fees.js\";\nexport { FiatTransfersService } from \"./fiat-transfers.js\";\nexport type {\n ListFiatAccountsParams,\n GetFiatAccountParams,\n ListFiatDepositInstructionsParams,\n} from \"./fiat-transfers.js\";\nexport { IdentityService } from \"./identity.js\";\nexport type { ListIdentitiesParams, GetIdentityParams } from \"./identity.js\";\nexport { IdentityControlsService } from \"./identity-controls.js\";\nexport type { ListIdentityControlsParams, DeleteIdentityControlParams } from \"./identity-controls.js\";\nexport { IdentityDocumentsService } from \"./identity-documents.js\";\nexport type { ListIdentityDocumentsParams } from \"./identity-documents.js\";\nexport { InstitutionMembersService } from \"./institution-members.js\";\nexport { InternalTransfersService } from \"./internal-transfers.js\";\nexport { IssuerQuotesService } from \"./issuer-quotes.js\";\nexport type { GetIssuerQuoteSettlementAvailabilityParams, ListIssuerQuoteExecutionsParams } from \"./issuer-quotes.js\";\nexport { LimitsService } from \"./limits.js\";\nexport type { ListTransferLimitsParams } from \"./limits.js\";\nexport { MarketDataService } from \"./market-data.js\";\nexport { MonitoringAddressesService } from \"./monitoring-addresses.js\";\nexport type { ListMonitoringAddressParams } from \"./monitoring-addresses.js\";\nexport { OrchestrationRulesService } from \"./orchestration-rules.js\";\nexport type { ListOrchestrationRulesParams } from \"./orchestration-rules.js\";\nexport { OrchestrationsService } from \"./orchestrations.js\";\nexport type { ListOrchestrationsParams } from \"./orchestrations.js\";\nexport { OrdersService } from \"./orders.js\";\nexport type { ListExecutionsParams, ListOrdersParams } from \"./orders.js\";\nexport { PaxosTransfersService } from \"./paxos-transfers.js\";\nexport { PaymentsService } from \"./payments.js\";\nexport type { ListPaymentsParams } from \"./payments.js\";\nexport { PayoutGroupsService } from \"./payout-groups.js\";\nexport type { ListPayoutGroupsParams } from \"./payout-groups.js\";\nexport { PricingService } from \"./pricing.js\";\nexport type { ListPricesParams, ListHistoricalPricesParams, ListHistoricalCandlesParams } from \"./pricing.js\";\nexport { ProfilesService } from \"./profiles.js\";\nexport type {\n ListProfilesParams,\n GetProfileParams,\n ListProfileBalancesParams,\n GetProfileBalanceParams,\n} from \"./profiles.js\";\nexport { QuoteExecutionsService } from \"./quote-executions.js\";\nexport type { ListQuoteExecutionsParams } from \"./quote-executions.js\";\nexport { QuotesService } from \"./quotes.js\";\nexport type { ListQuotesParams } from \"./quotes.js\";\nexport { RewardAddressesService } from \"./reward-addresses.js\";\nexport type { ListAttributionAddressesParams } from \"./reward-addresses.js\";\nexport { RewardsService } from \"./rewards.js\";\nexport type { GetRewardDetailsParams, GetRewardsRatesParams } from \"./rewards.js\";\nexport { RewardsStatementsService } from \"./rewards-statements.js\";\nexport type { ListRewardsStatementsParams } from \"./rewards-statements.js\";\nexport { SandboxDepositsService } from \"./sandbox-deposits.js\";\nexport { SandboxFiatTransfersService } from \"./sandbox-fiat-transfers.js\";\nexport { SandboxIdentityService } from \"./sandbox-identity.js\";\nexport { SettlementService } from \"./settlement.js\";\nexport type { ListTransactionsParams } from \"./settlement.js\";\nexport { StablecoinConversionService } from \"./stablecoin-conversion.js\";\nexport type { ListStablecoinConversionsParams } from \"./stablecoin-conversion.js\";\nexport { StatementsService } from \"./statements.js\";\nexport type { ListStatementsParams } from \"./statements.js\";\nexport { TaxDocumentationService } from \"./tax-documentation.js\";\nexport { TaxFormsService } from \"./tax-forms.js\";\nexport type { ListTaxFormRevisionsParams, ListTaxFormsParams } from \"./tax-forms.js\";\nexport { TransfersService } from \"./transfers.js\";\nexport type { ListTransfersParams } from \"./transfers.js\";\nexport { TravelRuleService } from \"./travel-rule.js\";\nexport type { ListVaspsParams } from \"./travel-rule.js\";\nexport { UserAuditLogsService } from \"./user-audit-logs.js\";\nexport type { ListUserAuditLogsParams } from \"./user-audit-logs.js\";\nexport { WebhooksService } from \"./webhooks.js\";\nexport type { ListWebhooksParams, ListDeliveryHistoriesParams } from \"./webhooks.js\";\n"]}
@@ -0,0 +1,30 @@
1
+ import type { RequestOptions, WithRaw } from "../client.js";
2
+ import type { AddInstitutionMembersRequest, AddInstitutionMembersResponse, DeleteInstitutionMemberResponse } from "../models.js";
3
+ /**
4
+ * InstitutionMembersService — Institution Members allow you to associate
5
+ * persons with an institution on our Platform. Each institution can have
6
+ * multiple members, with each member representing the relationship to a person
7
+ * identity.
8
+ *
9
+ * When creating an institution identity, you must designate at least one
10
+ * institution member. This requirement ensures we have complete information
11
+ * about the institution's ownership structure and key personnel, which is
12
+ * necessary to onboard institutions.
13
+ *
14
+ * Access via `client.institutionMembers`.
15
+ */
16
+ export declare class InstitutionMembersService {
17
+ private readonly client;
18
+ /**
19
+ * Add Institution Members
20
+ *
21
+ * Requires scope: identity:write_identity
22
+ */
23
+ addInstitutionMembers(request: AddInstitutionMembersRequest, opts?: RequestOptions): Promise<WithRaw<AddInstitutionMembersResponse>>;
24
+ /**
25
+ * Remove Institution Member
26
+ *
27
+ * Requires scope: identity:write_identity
28
+ */
29
+ deleteInstitutionMember(id: string, opts?: RequestOptions): Promise<WithRaw<DeleteInstitutionMemberResponse>>;
30
+ }
@@ -0,0 +1,44 @@
1
+ // Code generated from the Paxos OpenAPI specification. DO NOT EDIT.
2
+ import { buildPath } from "../client.js";
3
+ /**
4
+ * InstitutionMembersService — Institution Members allow you to associate
5
+ * persons with an institution on our Platform. Each institution can have
6
+ * multiple members, with each member representing the relationship to a person
7
+ * identity.
8
+ *
9
+ * When creating an institution identity, you must designate at least one
10
+ * institution member. This requirement ensures we have complete information
11
+ * about the institution's ownership structure and key personnel, which is
12
+ * necessary to onboard institutions.
13
+ *
14
+ * Access via `client.institutionMembers`.
15
+ */
16
+ export class InstitutionMembersService {
17
+ client;
18
+ /** @internal */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Add Institution Members
24
+ *
25
+ * Requires scope: identity:write_identity
26
+ */
27
+ async addInstitutionMembers(request, opts) {
28
+ return this.client.post("/identity/institution-members", request, opts, {
29
+ responseSchema: "AddInstitutionMembersResponse",
30
+ requestSchema: "AddInstitutionMembersRequest",
31
+ });
32
+ }
33
+ /**
34
+ * Remove Institution Member
35
+ *
36
+ * Requires scope: identity:write_identity
37
+ */
38
+ async deleteInstitutionMember(id, opts) {
39
+ return this.client.delete(buildPath("/identity/institution-members/{id}", { id: id }), undefined, opts, {
40
+ responseSchema: "DeleteInstitutionMemberResponse",
41
+ });
42
+ }
43
+ }
44
+ //# sourceMappingURL=institution-members.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"institution-members.js","sourceRoot":"","sources":["../../src/services/institution-members.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAEpE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAQzC;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,yBAAyB;IAEP;IAD7B,gBAAgB;IAChB,YAA6B,MAAkB;QAAlB,WAAM,GAAN,MAAM,CAAY;IAAG,CAAC;IAEnD;;;;OAIG;IACH,KAAK,CAAC,qBAAqB,CACzB,OAAqC,EACrC,IAAqB;QAErB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAyC,+BAA+B,EAAE,OAAO,EAAE,IAAI,EAAE;YAC9G,cAAc,EAAE,+BAA+B;YAC/C,aAAa,EAAE,8BAA8B;SAC9C,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,uBAAuB,CAAC,EAAU,EAAE,IAAqB;QAC7D,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,oCAAoC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE;YACtG,cAAc,EAAE,iCAAiC;SAClD,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["// Code generated from the Paxos OpenAPI specification. DO NOT EDIT.\n\nimport { buildPath } from \"../client.js\";\nimport type { HttpClient, RequestOptions, WithRaw } from \"../client.js\";\nimport type {\n AddInstitutionMembersRequest,\n AddInstitutionMembersResponse,\n DeleteInstitutionMemberResponse,\n} from \"../models.js\";\n\n/**\n * InstitutionMembersService — Institution Members allow you to associate\n * persons with an institution on our Platform. Each institution can have\n * multiple members, with each member representing the relationship to a person\n * identity.\n *\n * When creating an institution identity, you must designate at least one\n * institution member. This requirement ensures we have complete information\n * about the institution's ownership structure and key personnel, which is\n * necessary to onboard institutions.\n *\n * Access via `client.institutionMembers`.\n */\nexport class InstitutionMembersService {\n /** @internal */\n constructor(private readonly client: HttpClient) {}\n\n /**\n * Add Institution Members\n *\n * Requires scope: identity:write_identity\n */\n async addInstitutionMembers(\n request: AddInstitutionMembersRequest,\n opts?: RequestOptions,\n ): Promise<WithRaw<AddInstitutionMembersResponse>> {\n return this.client.post<WithRaw<AddInstitutionMembersResponse>>(\"/identity/institution-members\", request, opts, {\n responseSchema: \"AddInstitutionMembersResponse\",\n requestSchema: \"AddInstitutionMembersRequest\",\n });\n }\n\n /**\n * Remove Institution Member\n *\n * Requires scope: identity:write_identity\n */\n async deleteInstitutionMember(id: string, opts?: RequestOptions): Promise<WithRaw<DeleteInstitutionMemberResponse>> {\n return this.client.delete(buildPath(\"/identity/institution-members/{id}\", { id: id }), undefined, opts, {\n responseSchema: \"DeleteInstitutionMemberResponse\",\n });\n }\n}\n"]}
@@ -0,0 +1,15 @@
1
+ import type { RequestOptions, WithRaw } from "../client.js";
2
+ import type { CreateInternalTransferRequest, Transfer } from "../models.js";
3
+ /**
4
+ * InternalTransfersService provides access to InternalTransfers API operations.
5
+ * Access via `client.internalTransfers`.
6
+ */
7
+ export declare class InternalTransfersService {
8
+ private readonly client;
9
+ /**
10
+ * Create Internal Transfer
11
+ *
12
+ * Requires scope: transfer:write_internal_transfer
13
+ */
14
+ createInternalTransfer(request: CreateInternalTransferRequest, opts?: RequestOptions): Promise<WithRaw<Transfer>>;
15
+ }
@@ -0,0 +1,26 @@
1
+ // Code generated from the Paxos OpenAPI specification. DO NOT EDIT.
2
+ /**
3
+ * InternalTransfersService provides access to InternalTransfers API operations.
4
+ * Access via `client.internalTransfers`.
5
+ */
6
+ export class InternalTransfersService {
7
+ client;
8
+ /** @internal */
9
+ constructor(client) {
10
+ this.client = client;
11
+ }
12
+ /**
13
+ * Create Internal Transfer
14
+ *
15
+ * Requires scope: transfer:write_internal_transfer
16
+ */
17
+ async createInternalTransfer(request, opts) {
18
+ const body = { ...request, ref_id: request.ref_id || globalThis.crypto.randomUUID() };
19
+ return this.client.post("/transfer/internal", body, opts, {
20
+ responseSchema: "Transfer",
21
+ requestSchema: "CreateInternalTransferRequest",
22
+ replayProtected: true,
23
+ });
24
+ }
25
+ }
26
+ //# sourceMappingURL=internal-transfers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal-transfers.js","sourceRoot":"","sources":["../../src/services/internal-transfers.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAKpE;;;GAGG;AACH,MAAM,OAAO,wBAAwB;IAEN;IAD7B,gBAAgB;IAChB,YAA6B,MAAkB;QAAlB,WAAM,GAAN,MAAM,CAAY;IAAG,CAAC;IAEnD;;;;OAIG;IACH,KAAK,CAAC,sBAAsB,CAC1B,OAAsC,EACtC,IAAqB;QAErB,MAAM,IAAI,GAAG,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,CAAC;QACtF,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAoB,oBAAoB,EAAE,IAAI,EAAE,IAAI,EAAE;YAC3E,cAAc,EAAE,UAAU;YAC1B,aAAa,EAAE,+BAA+B;YAC9C,eAAe,EAAE,IAAI;SACtB,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["// Code generated from the Paxos OpenAPI specification. DO NOT EDIT.\n\nimport type { HttpClient, RequestOptions, WithRaw } from \"../client.js\";\nimport type { CreateInternalTransferRequest, Transfer } from \"../models.js\";\n\n/**\n * InternalTransfersService provides access to InternalTransfers API operations.\n * Access via `client.internalTransfers`.\n */\nexport class InternalTransfersService {\n /** @internal */\n constructor(private readonly client: HttpClient) {}\n\n /**\n * Create Internal Transfer\n *\n * Requires scope: transfer:write_internal_transfer\n */\n async createInternalTransfer(\n request: CreateInternalTransferRequest,\n opts?: RequestOptions,\n ): Promise<WithRaw<Transfer>> {\n const body = { ...request, ref_id: request.ref_id || globalThis.crypto.randomUUID() };\n return this.client.post<WithRaw<Transfer>>(\"/transfer/internal\", body, opts, {\n responseSchema: \"Transfer\",\n requestSchema: \"CreateInternalTransferRequest\",\n replayProtected: true,\n });\n }\n}\n"]}
@@ -0,0 +1,72 @@
1
+ import type { RequestOptions, PageIterator, WithRaw } from "../client.js";
2
+ import type { KnownIssuerQuoteExecutionStatus, KnownSortOrder } from "../enums.js";
3
+ import type { CreateIssuerQuoteExecutionRequest, CreateIssuerQuoteExecutionResponse, CreateIssuerQuoteRequest, CreateIssuerQuoteResponse, GetIssuerQuoteSettlementAvailabilityResponse, IssuerQuoteExecution } from "../models.js";
4
+ export interface GetIssuerQuoteSettlementAvailabilityParams {
5
+ /** Trading pair for the quote. Only "PAXGUSD" is currently supported. */
6
+ market: string;
7
+ }
8
+ export interface ListIssuerQuoteExecutionsParams {
9
+ /** Optionally filter by the target profile of the issuer quote execution. */
10
+ profile_id?: string;
11
+ /** Optionally filter by status. */
12
+ status?: (KnownIssuerQuoteExecutionStatus | (string & {}))[];
13
+ /** Only return records after this timestamp, inclusive. RFC3339 format, like `2006-01-02T15:04:05Z`. */
14
+ created_range_begin?: string;
15
+ /** Only return records before this timestamp, inclusive. RFC3339 format, like `2006-01-02T15:04:05Z`. */
16
+ created_range_end?: string;
17
+ /** Number of results to return. Defaults to 100 if no limit provided. Maximum 1000. */
18
+ limit?: number;
19
+ /** Determines whether the items are returned in ascending (ASC), or descending (DESC) order.
20
+ Sorted by created at timestamp. Defaults to DESC. */
21
+ order?: KnownSortOrder | (string & {});
22
+ /** Resume from a cursor previously returned as a page's `nextCursor`. */
23
+ page_cursor?: string;
24
+ }
25
+ /**
26
+ * IssuerQuotesService — Issuer Quotes are "held rates" offered by Paxos to
27
+ * mint or redeem Paxos-issued assets at a specific price within a period of
28
+ * time - for example, the option to buy PAXG within the next 5 seconds for
29
+ * $3,000.
30
+ *
31
+ * The typical Issuer Quotes workflow is as follows:
32
+ *
33
+ * 1. Call {@link IssuerQuotesService.createIssuerQuote | Create Issuer Quote}
34
+ * to get a quote for the asset you want to mint or redeem to a specific
35
+ * profile.
36
+ * 2. Call
37
+ * {@link IssuerQuotesService.createIssuerQuoteExecution | Create Issuer Quote Execution}
38
+ * with the quote ID and profile ID.
39
+ *
40
+ * You can call
41
+ * {@link IssuerQuotesService.listIssuerQuoteExecutions | List Issuer Quote Executions}
42
+ * to review or construct reports on issuer quote execution activity.
43
+ *
44
+ * Access via `client.issuerQuotes`.
45
+ */
46
+ export declare class IssuerQuotesService {
47
+ private readonly client;
48
+ /**
49
+ * Create Issuer Quote
50
+ *
51
+ * Requires scope: exchange:write_issuer_quote
52
+ */
53
+ createIssuerQuote(request: CreateIssuerQuoteRequest, opts?: RequestOptions): Promise<WithRaw<CreateIssuerQuoteResponse>>;
54
+ /**
55
+ * Get Issuer Quote Settlement Availability
56
+ *
57
+ * Requires scope: exchange:write_issuer_quote
58
+ */
59
+ getIssuerQuoteSettlementAvailability(params?: GetIssuerQuoteSettlementAvailabilityParams, opts?: RequestOptions): Promise<WithRaw<GetIssuerQuoteSettlementAvailabilityResponse>>;
60
+ /**
61
+ * Create Issuer Quote Execution
62
+ *
63
+ * Requires scope: exchange:write_issuer_quote_execution
64
+ */
65
+ createIssuerQuoteExecution(quoteId: string, request: CreateIssuerQuoteExecutionRequest, opts?: RequestOptions): Promise<WithRaw<CreateIssuerQuoteExecutionResponse>>;
66
+ /**
67
+ * List Issuer Quote Executions
68
+ *
69
+ * Requires scope: exchange:read_issuer_quote_execution
70
+ */
71
+ listIssuerQuoteExecutions(params?: ListIssuerQuoteExecutionsParams, opts?: RequestOptions): PageIterator<WithRaw<IssuerQuoteExecution>>;
72
+ }
@@ -0,0 +1,66 @@
1
+ // Code generated from the Paxos OpenAPI specification. DO NOT EDIT.
2
+ import { buildPath } from "../client.js";
3
+ /**
4
+ * IssuerQuotesService — Issuer Quotes are "held rates" offered by Paxos to
5
+ * mint or redeem Paxos-issued assets at a specific price within a period of
6
+ * time - for example, the option to buy PAXG within the next 5 seconds for
7
+ * $3,000.
8
+ *
9
+ * The typical Issuer Quotes workflow is as follows:
10
+ *
11
+ * 1. Call {@link IssuerQuotesService.createIssuerQuote | Create Issuer Quote}
12
+ * to get a quote for the asset you want to mint or redeem to a specific
13
+ * profile.
14
+ * 2. Call
15
+ * {@link IssuerQuotesService.createIssuerQuoteExecution | Create Issuer Quote Execution}
16
+ * with the quote ID and profile ID.
17
+ *
18
+ * You can call
19
+ * {@link IssuerQuotesService.listIssuerQuoteExecutions | List Issuer Quote Executions}
20
+ * to review or construct reports on issuer quote execution activity.
21
+ *
22
+ * Access via `client.issuerQuotes`.
23
+ */
24
+ export class IssuerQuotesService {
25
+ client;
26
+ /** @internal */
27
+ constructor(client) {
28
+ this.client = client;
29
+ }
30
+ /**
31
+ * Create Issuer Quote
32
+ *
33
+ * Requires scope: exchange:write_issuer_quote
34
+ */
35
+ async createIssuerQuote(request, opts) {
36
+ return this.client.post("/issuer-quote", request, opts, {
37
+ responseSchema: "CreateIssuerQuoteResponse",
38
+ requestSchema: "CreateIssuerQuoteRequest",
39
+ });
40
+ }
41
+ /**
42
+ * Get Issuer Quote Settlement Availability
43
+ *
44
+ * Requires scope: exchange:write_issuer_quote
45
+ */
46
+ async getIssuerQuoteSettlementAvailability(params, opts) {
47
+ return this.client.get("/issuer-quote/settlement-availability", params, opts, { responseSchema: "GetIssuerQuoteSettlementAvailabilityResponse" });
48
+ }
49
+ /**
50
+ * Create Issuer Quote Execution
51
+ *
52
+ * Requires scope: exchange:write_issuer_quote_execution
53
+ */
54
+ async createIssuerQuoteExecution(quoteId, request, opts) {
55
+ return this.client.post(buildPath("/issuer-quote/{quote_id}", { quote_id: quoteId }), request, opts, { responseSchema: "CreateIssuerQuoteExecutionResponse", requestSchema: "CreateIssuerQuoteExecutionRequest" });
56
+ }
57
+ /**
58
+ * List Issuer Quote Executions
59
+ *
60
+ * Requires scope: exchange:read_issuer_quote_execution
61
+ */
62
+ listIssuerQuoteExecutions(params, opts) {
63
+ return this.client.paginate("/issuer-quotes", "issuer_quote_executions", params, opts, { responseSchema: "ListIssuerQuoteExecutionsResponse" });
64
+ }
65
+ }
66
+ //# sourceMappingURL=issuer-quotes.js.map
@@ -0,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mC,EAAE,CACxD,CAAC;IACJ,CAAC;CACF","sourcesContent":["// Code generated from the Paxos OpenAPI specification. DO NOT EDIT.\n\nimport { buildPath } from \"../client.js\";\nimport type { HttpClient, RequestOptions, PageIterator, WithRaw } from \"../client.js\";\nimport type { KnownIssuerQuoteExecutionStatus, KnownSortOrder } from \"../enums.js\";\nimport type {\n CreateIssuerQuoteExecutionRequest,\n CreateIssuerQuoteExecutionResponse,\n CreateIssuerQuoteRequest,\n CreateIssuerQuoteResponse,\n GetIssuerQuoteSettlementAvailabilityResponse,\n IssuerQuoteExecution,\n} from \"../models.js\";\n\nexport interface GetIssuerQuoteSettlementAvailabilityParams {\n /** Trading pair for the quote. Only \"PAXGUSD\" is currently supported. */\n market: string;\n}\n\nexport interface ListIssuerQuoteExecutionsParams {\n /** Optionally filter by the target profile of the issuer quote execution. */\n profile_id?: string;\n /** Optionally filter by status. */\n status?: (KnownIssuerQuoteExecutionStatus | (string & {}))[];\n /** Only return records after this timestamp, inclusive. RFC3339 format, like `2006-01-02T15:04:05Z`. */\n created_range_begin?: string;\n /** Only return records before this timestamp, inclusive. RFC3339 format, like `2006-01-02T15:04:05Z`. */\n created_range_end?: string;\n /** Number of results to return. Defaults to 100 if no limit provided. Maximum 1000. */\n limit?: number;\n /** Determines whether the items are returned in ascending (ASC), or descending (DESC) order.\nSorted by created at timestamp. Defaults to DESC. */\n order?: KnownSortOrder | (string & {});\n /** Resume from a cursor previously returned as a page's `nextCursor`. */\n page_cursor?: string;\n}\n\n/**\n * IssuerQuotesService — Issuer Quotes are \"held rates\" offered by Paxos to\n * mint or redeem Paxos-issued assets at a specific price within a period of\n * time - for example, the option to buy PAXG within the next 5 seconds for\n * $3,000.\n *\n * The typical Issuer Quotes workflow is as follows:\n *\n * 1. Call {@link IssuerQuotesService.createIssuerQuote | Create Issuer Quote}\n * to get a quote for the asset you want to mint or redeem to a specific\n * profile.\n * 2. Call\n * {@link IssuerQuotesService.createIssuerQuoteExecution | Create Issuer Quote Execution}\n * with the quote ID and profile ID.\n *\n * You can call\n * {@link IssuerQuotesService.listIssuerQuoteExecutions | List Issuer Quote Executions}\n * to review or construct reports on issuer quote execution activity.\n *\n * Access via `client.issuerQuotes`.\n */\nexport class IssuerQuotesService {\n /** @internal */\n constructor(private readonly client: HttpClient) {}\n\n /**\n * Create Issuer Quote\n *\n * Requires scope: exchange:write_issuer_quote\n */\n async createIssuerQuote(\n request: CreateIssuerQuoteRequest,\n opts?: RequestOptions,\n ): Promise<WithRaw<CreateIssuerQuoteResponse>> {\n return this.client.post<WithRaw<CreateIssuerQuoteResponse>>(\"/issuer-quote\", request, opts, {\n responseSchema: \"CreateIssuerQuoteResponse\",\n requestSchema: \"CreateIssuerQuoteRequest\",\n });\n }\n\n /**\n * Get Issuer Quote Settlement Availability\n *\n * Requires scope: exchange:write_issuer_quote\n */\n async getIssuerQuoteSettlementAvailability(\n params?: GetIssuerQuoteSettlementAvailabilityParams,\n opts?: RequestOptions,\n ): Promise<WithRaw<GetIssuerQuoteSettlementAvailabilityResponse>> {\n return this.client.get<WithRaw<GetIssuerQuoteSettlementAvailabilityResponse>>(\n \"/issuer-quote/settlement-availability\",\n params,\n opts,\n { responseSchema: \"GetIssuerQuoteSettlementAvailabilityResponse\" },\n );\n }\n\n /**\n * Create Issuer Quote Execution\n *\n * Requires scope: exchange:write_issuer_quote_execution\n */\n async createIssuerQuoteExecution(\n quoteId: string,\n request: CreateIssuerQuoteExecutionRequest,\n opts?: RequestOptions,\n ): Promise<WithRaw<CreateIssuerQuoteExecutionResponse>> {\n return this.client.post<WithRaw<CreateIssuerQuoteExecutionResponse>>(\n buildPath(\"/issuer-quote/{quote_id}\", { quote_id: quoteId }),\n request,\n opts,\n { responseSchema: \"CreateIssuerQuoteExecutionResponse\", requestSchema: \"CreateIssuerQuoteExecutionRequest\" },\n );\n }\n\n /**\n * List Issuer Quote Executions\n *\n * Requires scope: exchange:read_issuer_quote_execution\n */\n listIssuerQuoteExecutions(\n params?: ListIssuerQuoteExecutionsParams,\n opts?: RequestOptions,\n ): PageIterator<WithRaw<IssuerQuoteExecution>> {\n return this.client.paginate<WithRaw<IssuerQuoteExecution>>(\n \"/issuer-quotes\",\n \"issuer_quote_executions\",\n params,\n opts,\n { responseSchema: \"ListIssuerQuoteExecutionsResponse\" },\n );\n }\n}\n"]}
@@ -0,0 +1,20 @@
1
+ import type { RequestOptions, WithRaw } from "../client.js";
2
+ import type { KnownTransferType } from "../enums.js";
3
+ import type { ListTransferLimitsResponse } from "../models.js";
4
+ export interface ListTransferLimitsParams {
5
+ /** Type of transfer to fetch limits for. */
6
+ transfer_type: KnownTransferType | (string & {});
7
+ }
8
+ /**
9
+ * LimitsService provides access to Limits API operations.
10
+ * Access via `client.limits`.
11
+ */
12
+ export declare class LimitsService {
13
+ private readonly client;
14
+ /**
15
+ * List Transfer Limits
16
+ *
17
+ * Requires scope: transfer:read_transfer_limit
18
+ */
19
+ listTransferLimits(params?: ListTransferLimitsParams, opts?: RequestOptions): Promise<WithRaw<ListTransferLimitsResponse>>;
20
+ }
@@ -0,0 +1,23 @@
1
+ // Code generated from the Paxos OpenAPI specification. DO NOT EDIT.
2
+ /**
3
+ * LimitsService provides access to Limits API operations.
4
+ * Access via `client.limits`.
5
+ */
6
+ export class LimitsService {
7
+ client;
8
+ /** @internal */
9
+ constructor(client) {
10
+ this.client = client;
11
+ }
12
+ /**
13
+ * List Transfer Limits
14
+ *
15
+ * Requires scope: transfer:read_transfer_limit
16
+ */
17
+ async listTransferLimits(params, opts) {
18
+ return this.client.get("/transfer/limits/utilizations", params, opts, {
19
+ responseSchema: "ListTransferLimitsResponse",
20
+ });
21
+ }
22
+ }
23
+ //# sourceMappingURL=limits.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"limits.js","sourceRoot":"","sources":["../../src/services/limits.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAWpE;;;GAGG;AACH,MAAM,OAAO,aAAa;IAEK;IAD7B,gBAAgB;IAChB,YAA6B,MAAkB;QAAlB,WAAM,GAAN,MAAM,CAAY;IAAG,CAAC;IAEnD;;;;OAIG;IACH,KAAK,CAAC,kBAAkB,CACtB,MAAiC,EACjC,IAAqB;QAErB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAsC,+BAA+B,EAAE,MAAM,EAAE,IAAI,EAAE;YACzG,cAAc,EAAE,4BAA4B;SAC7C,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["// Code generated from the Paxos OpenAPI specification. DO NOT EDIT.\n\nimport type { HttpClient, RequestOptions, WithRaw } from \"../client.js\";\nimport type { KnownTransferType } from \"../enums.js\";\nimport type { ListTransferLimitsResponse } from \"../models.js\";\n\nexport interface ListTransferLimitsParams {\n /** Type of transfer to fetch limits for. */\n transfer_type: KnownTransferType | (string & {});\n}\n\n/**\n * LimitsService provides access to Limits API operations.\n * Access via `client.limits`.\n */\nexport class LimitsService {\n /** @internal */\n constructor(private readonly client: HttpClient) {}\n\n /**\n * List Transfer Limits\n *\n * Requires scope: transfer:read_transfer_limit\n */\n async listTransferLimits(\n params?: ListTransferLimitsParams,\n opts?: RequestOptions,\n ): Promise<WithRaw<ListTransferLimitsResponse>> {\n return this.client.get<WithRaw<ListTransferLimitsResponse>>(\"/transfer/limits/utilizations\", params, opts, {\n responseSchema: \"ListTransferLimitsResponse\",\n });\n }\n}\n"]}
@@ -0,0 +1,15 @@
1
+ import type { RequestOptions, WithRaw } from "../client.js";
2
+ import type { ListMarketsResponse } from "../models.js";
3
+ /**
4
+ * MarketDataService — Market data provides various parameters of the order
5
+ * book and historical order data.
6
+ *
7
+ * Access via `client.marketData`.
8
+ */
9
+ export declare class MarketDataService {
10
+ private readonly client;
11
+ /**
12
+ * List Markets
13
+ */
14
+ listMarkets(opts?: RequestOptions): Promise<WithRaw<ListMarketsResponse>>;
15
+ }
@@ -0,0 +1,23 @@
1
+ // Code generated from the Paxos OpenAPI specification. DO NOT EDIT.
2
+ /**
3
+ * MarketDataService — Market data provides various parameters of the order
4
+ * book and historical order data.
5
+ *
6
+ * Access via `client.marketData`.
7
+ */
8
+ export class MarketDataService {
9
+ client;
10
+ /** @internal */
11
+ constructor(client) {
12
+ this.client = client;
13
+ }
14
+ /**
15
+ * List Markets
16
+ */
17
+ async listMarkets(opts) {
18
+ return this.client.get("/markets", undefined, opts, {
19
+ responseSchema: "ListMarketsResponse",
20
+ });
21
+ }
22
+ }
23
+ //# sourceMappingURL=market-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"market-data.js","sourceRoot":"","sources":["../../src/services/market-data.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAKpE;;;;;GAKG;AACH,MAAM,OAAO,iBAAiB;IAEC;IAD7B,gBAAgB;IAChB,YAA6B,MAAkB;QAAlB,WAAM,GAAN,MAAM,CAAY;IAAG,CAAC;IAEnD;;OAEG;IACH,KAAK,CAAC,WAAW,CAAC,IAAqB;QACrC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAA+B,UAAU,EAAE,SAAS,EAAE,IAAI,EAAE;YAChF,cAAc,EAAE,qBAAqB;SACtC,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["// Code generated from the Paxos OpenAPI specification. DO NOT EDIT.\n\nimport type { HttpClient, RequestOptions, WithRaw } from \"../client.js\";\nimport type { ListMarketsResponse } from \"../models.js\";\n\n/**\n * MarketDataService — Market data provides various parameters of the order\n * book and historical order data.\n *\n * Access via `client.marketData`.\n */\nexport class MarketDataService {\n /** @internal */\n constructor(private readonly client: HttpClient) {}\n\n /**\n * List Markets\n */\n async listMarkets(opts?: RequestOptions): Promise<WithRaw<ListMarketsResponse>> {\n return this.client.get<WithRaw<ListMarketsResponse>>(\"/markets\", undefined, opts, {\n responseSchema: \"ListMarketsResponse\",\n });\n }\n}\n"]}
@@ -0,0 +1,64 @@
1
+ import type { RequestOptions, PageIterator, WithRaw } from "../client.js";
2
+ import type { KnownCryptoNetwork, KnownSortOrder } from "../enums.js";
3
+ import type { CreateMonitoringAddressRequest, CreateMonitoringAddressResponse, GetMonitoringAddressResponse, MonitoringAddress, UpdateMonitoringAddressRequest, UpdateMonitoringAddressResponse } from "../models.js";
4
+ export interface ListMonitoringAddressParams {
5
+ /** On-chain address Paxos is monitoring for eligible reward activity. Must be valid for the specified network.
6
+ For `SOLANA` specify the wallet account (ie: not a derived/token account like an ATA). */
7
+ address?: string;
8
+ /** Network the address belongs to. Supported: `ETHEREUM`, `SOLANA`, `INK`, `XLAYER`. */
9
+ crypto_network?: KnownCryptoNetwork | (string & {});
10
+ /** Number of results to return. Defaults to `100` if no limit is provided. Maximum `1000`. */
11
+ limit?: number;
12
+ /** Results are ordered by `created_at`. Specify the ordering of the results. Defaults to `DESC`. */
13
+ order?: KnownSortOrder | (string & {});
14
+ /** Resume from a cursor previously returned as a page's `nextCursor`. */
15
+ page_cursor?: string;
16
+ }
17
+ /**
18
+ * MonitoringAddressesService — A Monitoring Address is a blockchain address
19
+ * that Paxos monitors daily for eligible stablecoin activity and determines
20
+ * the amount of rewards your organization will earn. We recommend adding any
21
+ * addresses you expect to hold, receive, or mint Paxos stablecoins as a
22
+ * monitoring address in order to receive rewards for all of your qualifying
23
+ * on-chain activity.
24
+ *
25
+ * \> Monitoring addresses must be added by month end (`23:59 UTC+0`) in order
26
+ * to earn rewards for that month. Addresses added after month end will start
27
+ * earning rewards for the following month.
28
+ *
29
+ * *These endpoints are only relevant for Global Dollar Network (GDN)
30
+ * partners.*
31
+ *
32
+ * Access via `client.monitoringAddresses`.
33
+ */
34
+ export declare class MonitoringAddressesService {
35
+ private readonly client;
36
+ /**
37
+ * List Monitoring Address
38
+ *
39
+ * Requires scope: rewards:read_monitoring_address
40
+ * @deprecated This API operation is deprecated.
41
+ */
42
+ listMonitoringAddress(params?: ListMonitoringAddressParams, opts?: RequestOptions): PageIterator<WithRaw<MonitoringAddress>>;
43
+ /**
44
+ * Create Monitoring Address
45
+ *
46
+ * Requires scope: rewards:write_monitoring_address
47
+ * @deprecated This API operation is deprecated.
48
+ */
49
+ createMonitoringAddress(request: CreateMonitoringAddressRequest, opts?: RequestOptions): Promise<WithRaw<CreateMonitoringAddressResponse>>;
50
+ /**
51
+ * Get Monitoring Address
52
+ *
53
+ * Requires scope: rewards:read_monitoring_address
54
+ * @deprecated This API operation is deprecated.
55
+ */
56
+ getMonitoringAddress(id: string, opts?: RequestOptions): Promise<WithRaw<GetMonitoringAddressResponse>>;
57
+ /**
58
+ * Update Monitoring Address
59
+ *
60
+ * Requires scope: rewards:write_monitoring_address
61
+ * @deprecated This API operation is deprecated.
62
+ */
63
+ updateMonitoringAddress(id: string, request: UpdateMonitoringAddressRequest, opts?: RequestOptions): Promise<WithRaw<UpdateMonitoringAddressResponse>>;
64
+ }