@aws-sdk/client-bedrock-agentcore 3.1043.0 → 3.1045.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 (71) hide show
  1. package/README.md +77 -0
  2. package/dist-cjs/index.js +217 -0
  3. package/dist-cjs/schemas/schemas_0.js +458 -33
  4. package/dist-es/BedrockAgentCore.js +26 -0
  5. package/dist-es/commands/CreatePaymentInstrumentCommand.js +16 -0
  6. package/dist-es/commands/CreatePaymentSessionCommand.js +16 -0
  7. package/dist-es/commands/DeletePaymentInstrumentCommand.js +16 -0
  8. package/dist-es/commands/DeletePaymentSessionCommand.js +16 -0
  9. package/dist-es/commands/GetPaymentInstrumentBalanceCommand.js +16 -0
  10. package/dist-es/commands/GetPaymentInstrumentCommand.js +16 -0
  11. package/dist-es/commands/GetPaymentSessionCommand.js +16 -0
  12. package/dist-es/commands/GetResourcePaymentTokenCommand.js +16 -0
  13. package/dist-es/commands/ListPaymentInstrumentsCommand.js +16 -0
  14. package/dist-es/commands/ListPaymentSessionsCommand.js +16 -0
  15. package/dist-es/commands/ProcessPaymentCommand.js +16 -0
  16. package/dist-es/commands/index.js +11 -0
  17. package/dist-es/models/enums.js +45 -0
  18. package/dist-es/pagination/ListPaymentInstrumentsPaginator.js +4 -0
  19. package/dist-es/pagination/ListPaymentSessionsPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +2 -0
  21. package/dist-es/schemas/schemas_0.js +449 -25
  22. package/dist-types/BedrockAgentCore.d.ts +91 -0
  23. package/dist-types/BedrockAgentCoreClient.d.ts +13 -2
  24. package/dist-types/commands/CreatePaymentInstrumentCommand.d.ts +212 -0
  25. package/dist-types/commands/CreatePaymentSessionCommand.d.ts +122 -0
  26. package/dist-types/commands/DeletePaymentInstrumentCommand.d.ts +110 -0
  27. package/dist-types/commands/DeletePaymentSessionCommand.d.ts +105 -0
  28. package/dist-types/commands/GetPaymentInstrumentBalanceCommand.d.ts +102 -0
  29. package/dist-types/commands/GetPaymentInstrumentCommand.d.ts +155 -0
  30. package/dist-types/commands/GetPaymentSessionCommand.d.ts +112 -0
  31. package/dist-types/commands/GetResourcePaymentTokenCommand.d.ts +119 -0
  32. package/dist-types/commands/InvokeHarnessCommand.d.ts +1 -1
  33. package/dist-types/commands/ListPaymentInstrumentsCommand.d.ts +103 -0
  34. package/dist-types/commands/ListPaymentSessionsCommand.d.ts +100 -0
  35. package/dist-types/commands/ProcessPaymentCommand.d.ts +117 -0
  36. package/dist-types/commands/RetrieveMemoryRecordsCommand.d.ts +1 -1
  37. package/dist-types/commands/SearchRegistryRecordsCommand.d.ts +1 -2
  38. package/dist-types/commands/StartMemoryExtractionJobCommand.d.ts +1 -1
  39. package/dist-types/commands/index.d.ts +11 -0
  40. package/dist-types/models/enums.d.ts +140 -0
  41. package/dist-types/models/models_0.d.ts +222 -154
  42. package/dist-types/models/models_1.d.ts +1321 -2
  43. package/dist-types/pagination/ListPaymentInstrumentsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/ListPaymentSessionsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +2 -0
  46. package/dist-types/schemas/schemas_0.d.ts +59 -0
  47. package/dist-types/ts3.4/BedrockAgentCore.d.ts +201 -0
  48. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +66 -0
  49. package/dist-types/ts3.4/commands/CreatePaymentInstrumentCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/CreatePaymentSessionCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/DeletePaymentInstrumentCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeletePaymentSessionCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/GetPaymentInstrumentBalanceCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/GetPaymentInstrumentCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/GetPaymentSessionCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/GetResourcePaymentTokenCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/ListPaymentInstrumentsCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/ListPaymentSessionsCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/ProcessPaymentCommand.d.ts +50 -0
  60. package/dist-types/ts3.4/commands/RetrieveMemoryRecordsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/SearchRegistryRecordsCommand.d.ts +4 -2
  62. package/dist-types/ts3.4/commands/StartMemoryExtractionJobCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  64. package/dist-types/ts3.4/models/enums.d.ts +62 -0
  65. package/dist-types/ts3.4/models/models_0.d.ts +84 -38
  66. package/dist-types/ts3.4/models/models_1.d.ts +423 -2
  67. package/dist-types/ts3.4/pagination/ListPaymentInstrumentsPaginator.d.ts +11 -0
  68. package/dist-types/ts3.4/pagination/ListPaymentSessionsPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  70. package/dist-types/ts3.4/schemas/schemas_0.d.ts +59 -0
  71. package/package.json +1 -1
@@ -124,6 +124,15 @@ export declare const SessionStatus: {
124
124
  readonly IN_PROGRESS: "IN_PROGRESS";
125
125
  };
126
126
  export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
127
+ export declare const PaymentHttpMethodType: {
128
+ readonly DELETE: "DELETE";
129
+ readonly GET: "GET";
130
+ readonly PATCH: "PATCH";
131
+ readonly POST: "POST";
132
+ readonly PUT: "PUT";
133
+ };
134
+ export type PaymentHttpMethodType =
135
+ (typeof PaymentHttpMethodType)[keyof typeof PaymentHttpMethodType];
127
136
  export declare const ProgrammingLanguage: {
128
137
  readonly JAVASCRIPT: "javascript";
129
138
  readonly PYTHON: "python";
@@ -194,6 +203,7 @@ export type HarnessConversationRole =
194
203
  export declare const OAuthGrantType: {
195
204
  readonly AUTHORIZATION_CODE: "AUTHORIZATION_CODE";
196
205
  readonly CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
206
+ readonly TOKEN_EXCHANGE: "TOKEN_EXCHANGE";
197
207
  };
198
208
  export type OAuthGrantType =
199
209
  (typeof OAuthGrantType)[keyof typeof OAuthGrantType];
@@ -267,6 +277,58 @@ export declare const EventFilterCondition: {
267
277
  };
268
278
  export type EventFilterCondition =
269
279
  (typeof EventFilterCondition)[keyof typeof EventFilterCondition];
280
+ export declare const CryptoWalletNetwork: {
281
+ readonly ETHEREUM: "ETHEREUM";
282
+ readonly SOLANA: "SOLANA";
283
+ };
284
+ export type CryptoWalletNetwork =
285
+ (typeof CryptoWalletNetwork)[keyof typeof CryptoWalletNetwork];
286
+ export declare const PaymentInstrumentType: {
287
+ readonly EMBEDDED_CRYPTO_WALLET: "EMBEDDED_CRYPTO_WALLET";
288
+ };
289
+ export type PaymentInstrumentType =
290
+ (typeof PaymentInstrumentType)[keyof typeof PaymentInstrumentType];
291
+ export declare const PaymentInstrumentStatus: {
292
+ readonly ACTIVE: "ACTIVE";
293
+ readonly DELETED: "DELETED";
294
+ readonly FAILED: "FAILED";
295
+ readonly INITIATED: "INITIATED";
296
+ };
297
+ export type PaymentInstrumentStatus =
298
+ (typeof PaymentInstrumentStatus)[keyof typeof PaymentInstrumentStatus];
299
+ export declare const BlockchainChainId: {
300
+ readonly BASE: "BASE";
301
+ readonly BASE_SEPOLIA: "BASE_SEPOLIA";
302
+ readonly ETHEREUM: "ETHEREUM";
303
+ readonly SOLANA: "SOLANA";
304
+ readonly SOLANA_DEVNET: "SOLANA_DEVNET";
305
+ };
306
+ export type BlockchainChainId =
307
+ (typeof BlockchainChainId)[keyof typeof BlockchainChainId];
308
+ export declare const InstrumentBalanceToken: {
309
+ readonly USDC: "USDC";
310
+ };
311
+ export type InstrumentBalanceToken =
312
+ (typeof InstrumentBalanceToken)[keyof typeof InstrumentBalanceToken];
313
+ export declare const Currency: {
314
+ readonly USD: "USD";
315
+ };
316
+ export type Currency = (typeof Currency)[keyof typeof Currency];
317
+ export declare const PaymentSessionStatus: {
318
+ readonly ACTIVE: "ACTIVE";
319
+ readonly DELETED: "DELETED";
320
+ readonly EXPIRED: "EXPIRED";
321
+ };
322
+ export type PaymentSessionStatus =
323
+ (typeof PaymentSessionStatus)[keyof typeof PaymentSessionStatus];
324
+ export declare const PaymentType: {
325
+ readonly CRYPTO_X402: "CRYPTO_X402";
326
+ };
327
+ export type PaymentType = (typeof PaymentType)[keyof typeof PaymentType];
328
+ export declare const PaymentStatus: {
329
+ readonly PROOF_GENERATED: "PROOF_GENERATED";
330
+ };
331
+ export type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus];
270
332
  export declare const DescriptorType: {
271
333
  readonly A2A: "A2A";
272
334
  readonly AGENT_SKILLS: "AGENT_SKILLS";
@@ -28,6 +28,7 @@ import {
28
28
  Oauth2FlowType,
29
29
  OAuthGrantType,
30
30
  OperatorType,
31
+ PaymentHttpMethodType,
31
32
  ProgrammingLanguage,
32
33
  RecommendationStatus,
33
34
  RecommendationType,
@@ -1769,6 +1770,89 @@ export interface GetResourceOauth2TokenResponse {
1769
1770
  sessionUri?: string | undefined;
1770
1771
  sessionStatus?: SessionStatus | undefined;
1771
1772
  }
1773
+ export interface CoinbaseCdpTokenRequestInput {
1774
+ requestMethod: PaymentHttpMethodType | undefined;
1775
+ requestHost?: string | undefined;
1776
+ requestPath: string | undefined;
1777
+ includeWalletAuthToken?: boolean | undefined;
1778
+ requestBody?: string | undefined;
1779
+ }
1780
+ export interface StripePrivyTokenRequestInput {
1781
+ requestHost?: string | undefined;
1782
+ requestPath: string | undefined;
1783
+ requestBody: string | undefined;
1784
+ includeAuthorizationSignature?: boolean | undefined;
1785
+ }
1786
+ export type PaymentTokenRequestInput =
1787
+ | PaymentTokenRequestInput.CoinbaseCdpTokenRequestMember
1788
+ | PaymentTokenRequestInput.StripePrivyTokenRequestMember
1789
+ | PaymentTokenRequestInput.$UnknownMember;
1790
+ export declare namespace PaymentTokenRequestInput {
1791
+ interface CoinbaseCdpTokenRequestMember {
1792
+ coinbaseCdpTokenRequest: CoinbaseCdpTokenRequestInput;
1793
+ stripePrivyTokenRequest?: never;
1794
+ $unknown?: never;
1795
+ }
1796
+ interface StripePrivyTokenRequestMember {
1797
+ coinbaseCdpTokenRequest?: never;
1798
+ stripePrivyTokenRequest: StripePrivyTokenRequestInput;
1799
+ $unknown?: never;
1800
+ }
1801
+ interface $UnknownMember {
1802
+ coinbaseCdpTokenRequest?: never;
1803
+ stripePrivyTokenRequest?: never;
1804
+ $unknown: [string, any];
1805
+ }
1806
+ interface Visitor<T> {
1807
+ coinbaseCdpTokenRequest: (value: CoinbaseCdpTokenRequestInput) => T;
1808
+ stripePrivyTokenRequest: (value: StripePrivyTokenRequestInput) => T;
1809
+ _: (name: string, value: any) => T;
1810
+ }
1811
+ }
1812
+ export interface GetResourcePaymentTokenRequest {
1813
+ workloadIdentityToken: string | undefined;
1814
+ resourceCredentialProviderName: string | undefined;
1815
+ paymentTokenRequest: PaymentTokenRequestInput | undefined;
1816
+ }
1817
+ export interface CoinbaseCdpTokenResponseOutput {
1818
+ bearerToken: string | undefined;
1819
+ walletAuthToken?: string | undefined;
1820
+ }
1821
+ export interface StripePrivyTokenResponseOutput {
1822
+ authorizationSignature?: string | undefined;
1823
+ requestExpiry?: number | undefined;
1824
+ appId: string | undefined;
1825
+ basicAuthToken: string | undefined;
1826
+ }
1827
+ export type PaymentTokenResponseOutput =
1828
+ | PaymentTokenResponseOutput.CoinbaseCdpTokenResponseMember
1829
+ | PaymentTokenResponseOutput.StripePrivyTokenResponseMember
1830
+ | PaymentTokenResponseOutput.$UnknownMember;
1831
+ export declare namespace PaymentTokenResponseOutput {
1832
+ interface CoinbaseCdpTokenResponseMember {
1833
+ coinbaseCdpTokenResponse: CoinbaseCdpTokenResponseOutput;
1834
+ stripePrivyTokenResponse?: never;
1835
+ $unknown?: never;
1836
+ }
1837
+ interface StripePrivyTokenResponseMember {
1838
+ coinbaseCdpTokenResponse?: never;
1839
+ stripePrivyTokenResponse: StripePrivyTokenResponseOutput;
1840
+ $unknown?: never;
1841
+ }
1842
+ interface $UnknownMember {
1843
+ coinbaseCdpTokenResponse?: never;
1844
+ stripePrivyTokenResponse?: never;
1845
+ $unknown: [string, any];
1846
+ }
1847
+ interface Visitor<T> {
1848
+ coinbaseCdpTokenResponse: (value: CoinbaseCdpTokenResponseOutput) => T;
1849
+ stripePrivyTokenResponse: (value: StripePrivyTokenResponseOutput) => T;
1850
+ _: (name: string, value: any) => T;
1851
+ }
1852
+ }
1853
+ export interface GetResourcePaymentTokenResponse {
1854
+ paymentTokenResponse: PaymentTokenResponseOutput | undefined;
1855
+ }
1772
1856
  export interface GetWorkloadAccessTokenRequest {
1773
1857
  workloadName: string | undefined;
1774
1858
  }
@@ -3108,41 +3192,3 @@ export interface ListSessionsOutput {
3108
3192
  sessionSummaries: SessionSummary[] | undefined;
3109
3193
  nextToken?: string | undefined;
3110
3194
  }
3111
- export interface SearchCriteria {
3112
- searchQuery: string | undefined;
3113
- memoryStrategyId?: string | undefined;
3114
- topK?: number | undefined;
3115
- metadataFilters?: MemoryMetadataFilterExpression[] | undefined;
3116
- }
3117
- export interface RetrieveMemoryRecordsInput {
3118
- memoryId: string | undefined;
3119
- namespace?: string | undefined;
3120
- namespacePath?: string | undefined;
3121
- searchCriteria: SearchCriteria | undefined;
3122
- nextToken?: string | undefined;
3123
- maxResults?: number | undefined;
3124
- }
3125
- export interface RetrieveMemoryRecordsOutput {
3126
- memoryRecordSummaries: MemoryRecordSummary[] | undefined;
3127
- nextToken?: string | undefined;
3128
- }
3129
- export interface ExtractionJob {
3130
- jobId: string | undefined;
3131
- }
3132
- export interface StartMemoryExtractionJobInput {
3133
- memoryId: string | undefined;
3134
- extractionJob: ExtractionJob | undefined;
3135
- clientToken?: string | undefined;
3136
- }
3137
- export interface StartMemoryExtractionJobOutput {
3138
- jobId: string | undefined;
3139
- }
3140
- export interface SearchRegistryRecordsRequest {
3141
- searchQuery: string | undefined;
3142
- registryIds: string[] | undefined;
3143
- maxResults?: number | undefined;
3144
- filters?: __DocumentType | undefined;
3145
- }
3146
- export interface CustomDescriptor {
3147
- inlineContent?: string | undefined;
3148
- }
@@ -1,9 +1,430 @@
1
- import { DescriptorType, RegistryRecordStatus } from "./enums";
1
+ import { DocumentType as __DocumentType } from "@smithy/types";
2
+ import {
3
+ BlockchainChainId,
4
+ CryptoWalletNetwork,
5
+ Currency,
6
+ DescriptorType,
7
+ InstrumentBalanceToken,
8
+ PaymentInstrumentStatus,
9
+ PaymentInstrumentType,
10
+ PaymentSessionStatus,
11
+ PaymentStatus,
12
+ PaymentType,
13
+ RegistryRecordStatus,
14
+ } from "./enums";
2
15
  import {
3
16
  A2aDescriptor,
4
17
  AgentSkillsDescriptor,
5
- CustomDescriptor,
18
+ MemoryMetadataFilterExpression,
19
+ MemoryRecordSummary,
6
20
  } from "./models_0";
21
+ export interface SearchCriteria {
22
+ searchQuery: string | undefined;
23
+ memoryStrategyId?: string | undefined;
24
+ topK?: number | undefined;
25
+ metadataFilters?: MemoryMetadataFilterExpression[] | undefined;
26
+ }
27
+ export interface RetrieveMemoryRecordsInput {
28
+ memoryId: string | undefined;
29
+ namespace?: string | undefined;
30
+ namespacePath?: string | undefined;
31
+ searchCriteria: SearchCriteria | undefined;
32
+ nextToken?: string | undefined;
33
+ maxResults?: number | undefined;
34
+ }
35
+ export interface RetrieveMemoryRecordsOutput {
36
+ memoryRecordSummaries: MemoryRecordSummary[] | undefined;
37
+ nextToken?: string | undefined;
38
+ }
39
+ export interface ExtractionJob {
40
+ jobId: string | undefined;
41
+ }
42
+ export interface StartMemoryExtractionJobInput {
43
+ memoryId: string | undefined;
44
+ extractionJob: ExtractionJob | undefined;
45
+ clientToken?: string | undefined;
46
+ }
47
+ export interface StartMemoryExtractionJobOutput {
48
+ jobId: string | undefined;
49
+ }
50
+ export interface LinkedAccountDeveloperJwt {
51
+ kid: string | undefined;
52
+ sub: string | undefined;
53
+ }
54
+ export interface LinkedAccountEmail {
55
+ emailAddress: string | undefined;
56
+ }
57
+ export interface OAuth2Authentication {
58
+ sub: string | undefined;
59
+ emailAddress?: string | undefined;
60
+ name?: string | undefined;
61
+ username?: string | undefined;
62
+ }
63
+ export type LinkedAccountOAuth2 =
64
+ | LinkedAccountOAuth2.AppleMember
65
+ | LinkedAccountOAuth2.GithubMember
66
+ | LinkedAccountOAuth2.GoogleMember
67
+ | LinkedAccountOAuth2.TelegramMember
68
+ | LinkedAccountOAuth2.XMember
69
+ | LinkedAccountOAuth2.$UnknownMember;
70
+ export declare namespace LinkedAccountOAuth2 {
71
+ interface GoogleMember {
72
+ google: OAuth2Authentication;
73
+ apple?: never;
74
+ x?: never;
75
+ telegram?: never;
76
+ github?: never;
77
+ $unknown?: never;
78
+ }
79
+ interface AppleMember {
80
+ google?: never;
81
+ apple: OAuth2Authentication;
82
+ x?: never;
83
+ telegram?: never;
84
+ github?: never;
85
+ $unknown?: never;
86
+ }
87
+ interface XMember {
88
+ google?: never;
89
+ apple?: never;
90
+ x: OAuth2Authentication;
91
+ telegram?: never;
92
+ github?: never;
93
+ $unknown?: never;
94
+ }
95
+ interface TelegramMember {
96
+ google?: never;
97
+ apple?: never;
98
+ x?: never;
99
+ telegram: OAuth2Authentication;
100
+ github?: never;
101
+ $unknown?: never;
102
+ }
103
+ interface GithubMember {
104
+ google?: never;
105
+ apple?: never;
106
+ x?: never;
107
+ telegram?: never;
108
+ github: OAuth2Authentication;
109
+ $unknown?: never;
110
+ }
111
+ interface $UnknownMember {
112
+ google?: never;
113
+ apple?: never;
114
+ x?: never;
115
+ telegram?: never;
116
+ github?: never;
117
+ $unknown: [string, any];
118
+ }
119
+ interface Visitor<T> {
120
+ google: (value: OAuth2Authentication) => T;
121
+ apple: (value: OAuth2Authentication) => T;
122
+ x: (value: OAuth2Authentication) => T;
123
+ telegram: (value: OAuth2Authentication) => T;
124
+ github: (value: OAuth2Authentication) => T;
125
+ _: (name: string, value: any) => T;
126
+ }
127
+ }
128
+ export interface LinkedAccountSms {
129
+ phoneNumber: string | undefined;
130
+ }
131
+ export type LinkedAccount =
132
+ | LinkedAccount.DeveloperJwtMember
133
+ | LinkedAccount.EmailMember
134
+ | LinkedAccount.OAuth2Member
135
+ | LinkedAccount.SmsMember
136
+ | LinkedAccount.$UnknownMember;
137
+ export declare namespace LinkedAccount {
138
+ interface EmailMember {
139
+ email: LinkedAccountEmail;
140
+ sms?: never;
141
+ developerJwt?: never;
142
+ oAuth2?: never;
143
+ $unknown?: never;
144
+ }
145
+ interface SmsMember {
146
+ email?: never;
147
+ sms: LinkedAccountSms;
148
+ developerJwt?: never;
149
+ oAuth2?: never;
150
+ $unknown?: never;
151
+ }
152
+ interface DeveloperJwtMember {
153
+ email?: never;
154
+ sms?: never;
155
+ developerJwt: LinkedAccountDeveloperJwt;
156
+ oAuth2?: never;
157
+ $unknown?: never;
158
+ }
159
+ interface OAuth2Member {
160
+ email?: never;
161
+ sms?: never;
162
+ developerJwt?: never;
163
+ oAuth2: LinkedAccountOAuth2;
164
+ $unknown?: never;
165
+ }
166
+ interface $UnknownMember {
167
+ email?: never;
168
+ sms?: never;
169
+ developerJwt?: never;
170
+ oAuth2?: never;
171
+ $unknown: [string, any];
172
+ }
173
+ interface Visitor<T> {
174
+ email: (value: LinkedAccountEmail) => T;
175
+ sms: (value: LinkedAccountSms) => T;
176
+ developerJwt: (value: LinkedAccountDeveloperJwt) => T;
177
+ oAuth2: (value: LinkedAccountOAuth2) => T;
178
+ _: (name: string, value: any) => T;
179
+ }
180
+ }
181
+ export interface EmbeddedCryptoWallet {
182
+ network: CryptoWalletNetwork | undefined;
183
+ linkedAccounts: LinkedAccount[] | undefined;
184
+ walletAddress?: string | undefined;
185
+ redirectUrl?: string | undefined;
186
+ }
187
+ export type PaymentInstrumentDetails =
188
+ | PaymentInstrumentDetails.EmbeddedCryptoWalletMember
189
+ | PaymentInstrumentDetails.$UnknownMember;
190
+ export declare namespace PaymentInstrumentDetails {
191
+ interface EmbeddedCryptoWalletMember {
192
+ embeddedCryptoWallet: EmbeddedCryptoWallet;
193
+ $unknown?: never;
194
+ }
195
+ interface $UnknownMember {
196
+ embeddedCryptoWallet?: never;
197
+ $unknown: [string, any];
198
+ }
199
+ interface Visitor<T> {
200
+ embeddedCryptoWallet: (value: EmbeddedCryptoWallet) => T;
201
+ _: (name: string, value: any) => T;
202
+ }
203
+ }
204
+ export interface CreatePaymentInstrumentRequest {
205
+ userId?: string | undefined;
206
+ agentName?: string | undefined;
207
+ paymentManagerArn: string | undefined;
208
+ paymentConnectorId: string | undefined;
209
+ paymentInstrumentType: PaymentInstrumentType | undefined;
210
+ paymentInstrumentDetails: PaymentInstrumentDetails | undefined;
211
+ clientToken?: string | undefined;
212
+ }
213
+ export interface PaymentInstrument {
214
+ paymentInstrumentId: string | undefined;
215
+ paymentManagerArn: string | undefined;
216
+ paymentConnectorId: string | undefined;
217
+ userId: string | undefined;
218
+ paymentInstrumentType: PaymentInstrumentType | undefined;
219
+ paymentInstrumentDetails: PaymentInstrumentDetails | undefined;
220
+ createdAt: Date | undefined;
221
+ status: PaymentInstrumentStatus | undefined;
222
+ updatedAt: Date | undefined;
223
+ }
224
+ export interface CreatePaymentInstrumentResponse {
225
+ paymentInstrument: PaymentInstrument | undefined;
226
+ }
227
+ export interface DeletePaymentInstrumentRequest {
228
+ userId?: string | undefined;
229
+ paymentManagerArn: string | undefined;
230
+ paymentConnectorId: string | undefined;
231
+ paymentInstrumentId: string | undefined;
232
+ }
233
+ export interface DeletePaymentInstrumentResponse {
234
+ status: PaymentInstrumentStatus | undefined;
235
+ }
236
+ export interface GetPaymentInstrumentRequest {
237
+ userId?: string | undefined;
238
+ agentName?: string | undefined;
239
+ paymentManagerArn: string | undefined;
240
+ paymentConnectorId?: string | undefined;
241
+ paymentInstrumentId: string | undefined;
242
+ }
243
+ export interface GetPaymentInstrumentResponse {
244
+ paymentInstrument: PaymentInstrument | undefined;
245
+ }
246
+ export interface GetPaymentInstrumentBalanceRequest {
247
+ userId?: string | undefined;
248
+ agentName?: string | undefined;
249
+ paymentManagerArn: string | undefined;
250
+ paymentConnectorId: string | undefined;
251
+ paymentInstrumentId: string | undefined;
252
+ chain: BlockchainChainId | undefined;
253
+ token: InstrumentBalanceToken | undefined;
254
+ }
255
+ export interface TokenBalance {
256
+ amount: string | undefined;
257
+ decimals: number | undefined;
258
+ token: InstrumentBalanceToken | undefined;
259
+ network: CryptoWalletNetwork | undefined;
260
+ chain: BlockchainChainId | undefined;
261
+ }
262
+ export interface GetPaymentInstrumentBalanceResponse {
263
+ paymentInstrumentId: string | undefined;
264
+ tokenBalance: TokenBalance | undefined;
265
+ }
266
+ export interface ListPaymentInstrumentsRequest {
267
+ userId?: string | undefined;
268
+ agentName?: string | undefined;
269
+ paymentManagerArn: string | undefined;
270
+ paymentConnectorId?: string | undefined;
271
+ nextToken?: string | undefined;
272
+ maxResults?: number | undefined;
273
+ }
274
+ export interface PaymentInstrumentSummary {
275
+ paymentInstrumentId: string | undefined;
276
+ paymentManagerArn: string | undefined;
277
+ paymentConnectorId: string | undefined;
278
+ userId: string | undefined;
279
+ paymentInstrumentType: PaymentInstrumentType | undefined;
280
+ status: PaymentInstrumentStatus | undefined;
281
+ createdAt: Date | undefined;
282
+ updatedAt: Date | undefined;
283
+ }
284
+ export interface ListPaymentInstrumentsResponse {
285
+ paymentInstruments: PaymentInstrumentSummary[] | undefined;
286
+ nextToken?: string | undefined;
287
+ }
288
+ export interface Amount {
289
+ value: string | undefined;
290
+ currency: Currency | undefined;
291
+ }
292
+ export interface SessionLimits {
293
+ maxSpendAmount: Amount | undefined;
294
+ }
295
+ export interface CreatePaymentSessionRequest {
296
+ userId?: string | undefined;
297
+ agentName?: string | undefined;
298
+ paymentManagerArn: string | undefined;
299
+ limits?: SessionLimits | undefined;
300
+ expiryTimeInMinutes: number | undefined;
301
+ clientToken?: string | undefined;
302
+ }
303
+ export interface AvailableLimits {
304
+ availableSpendAmount?: Amount | undefined;
305
+ updatedAt?: Date | undefined;
306
+ }
307
+ export interface PaymentSession {
308
+ paymentSessionId: string | undefined;
309
+ paymentManagerArn: string | undefined;
310
+ limits?: SessionLimits | undefined;
311
+ userId: string | undefined;
312
+ expiryTimeInMinutes: number | undefined;
313
+ createdAt: Date | undefined;
314
+ availableLimits?: AvailableLimits | undefined;
315
+ updatedAt: Date | undefined;
316
+ }
317
+ export interface CreatePaymentSessionResponse {
318
+ paymentSession: PaymentSession | undefined;
319
+ }
320
+ export interface DeletePaymentSessionRequest {
321
+ userId?: string | undefined;
322
+ paymentManagerArn: string | undefined;
323
+ paymentSessionId: string | undefined;
324
+ }
325
+ export interface DeletePaymentSessionResponse {
326
+ status: PaymentSessionStatus | undefined;
327
+ }
328
+ export interface GetPaymentSessionRequest {
329
+ userId?: string | undefined;
330
+ agentName?: string | undefined;
331
+ paymentManagerArn: string | undefined;
332
+ paymentSessionId: string | undefined;
333
+ }
334
+ export interface GetPaymentSessionResponse {
335
+ paymentSession: PaymentSession | undefined;
336
+ }
337
+ export interface ListPaymentSessionsRequest {
338
+ userId?: string | undefined;
339
+ agentName?: string | undefined;
340
+ paymentManagerArn: string | undefined;
341
+ nextToken?: string | undefined;
342
+ maxResults?: number | undefined;
343
+ }
344
+ export interface PaymentSessionSummary {
345
+ paymentSessionId: string | undefined;
346
+ paymentManagerArn: string | undefined;
347
+ userId: string | undefined;
348
+ expiryTimeInMinutes: number | undefined;
349
+ createdAt: Date | undefined;
350
+ updatedAt: Date | undefined;
351
+ }
352
+ export interface ListPaymentSessionsResponse {
353
+ paymentSessions: PaymentSessionSummary[] | undefined;
354
+ nextToken?: string | undefined;
355
+ }
356
+ export interface CryptoX402PaymentInput {
357
+ version: string | undefined;
358
+ payload: __DocumentType | undefined;
359
+ }
360
+ export type PaymentInput =
361
+ | PaymentInput.CryptoX402Member
362
+ | PaymentInput.$UnknownMember;
363
+ export declare namespace PaymentInput {
364
+ interface CryptoX402Member {
365
+ cryptoX402: CryptoX402PaymentInput;
366
+ $unknown?: never;
367
+ }
368
+ interface $UnknownMember {
369
+ cryptoX402?: never;
370
+ $unknown: [string, any];
371
+ }
372
+ interface Visitor<T> {
373
+ cryptoX402: (value: CryptoX402PaymentInput) => T;
374
+ _: (name: string, value: any) => T;
375
+ }
376
+ }
377
+ export interface ProcessPaymentRequest {
378
+ userId?: string | undefined;
379
+ agentName?: string | undefined;
380
+ paymentManagerArn: string | undefined;
381
+ paymentSessionId: string | undefined;
382
+ paymentInstrumentId: string | undefined;
383
+ paymentType: PaymentType | undefined;
384
+ paymentInput: PaymentInput | undefined;
385
+ clientToken?: string | undefined;
386
+ }
387
+ export interface CryptoX402PaymentOutput {
388
+ version: string | undefined;
389
+ payload: __DocumentType | undefined;
390
+ }
391
+ export type PaymentOutput =
392
+ | PaymentOutput.CryptoX402Member
393
+ | PaymentOutput.$UnknownMember;
394
+ export declare namespace PaymentOutput {
395
+ interface CryptoX402Member {
396
+ cryptoX402: CryptoX402PaymentOutput;
397
+ $unknown?: never;
398
+ }
399
+ interface $UnknownMember {
400
+ cryptoX402?: never;
401
+ $unknown: [string, any];
402
+ }
403
+ interface Visitor<T> {
404
+ cryptoX402: (value: CryptoX402PaymentOutput) => T;
405
+ _: (name: string, value: any) => T;
406
+ }
407
+ }
408
+ export interface ProcessPaymentResponse {
409
+ processPaymentId: string | undefined;
410
+ paymentManagerArn: string | undefined;
411
+ paymentSessionId: string | undefined;
412
+ paymentInstrumentId: string | undefined;
413
+ paymentType: PaymentType | undefined;
414
+ status: PaymentStatus | undefined;
415
+ paymentOutput: PaymentOutput | undefined;
416
+ createdAt: Date | undefined;
417
+ updatedAt: Date | undefined;
418
+ }
419
+ export interface SearchRegistryRecordsRequest {
420
+ searchQuery: string | undefined;
421
+ registryIds: string[] | undefined;
422
+ maxResults?: number | undefined;
423
+ filters?: __DocumentType | undefined;
424
+ }
425
+ export interface CustomDescriptor {
426
+ inlineContent?: string | undefined;
427
+ }
7
428
  export interface ServerDefinition {
8
429
  schemaVersion?: string | undefined;
9
430
  inlineContent?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListPaymentInstrumentsCommandInput,
4
+ ListPaymentInstrumentsCommandOutput,
5
+ } from "../commands/ListPaymentInstrumentsCommand";
6
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListPaymentInstruments: (
8
+ config: BedrockAgentCorePaginationConfiguration,
9
+ input: ListPaymentInstrumentsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListPaymentInstrumentsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListPaymentSessionsCommandInput,
4
+ ListPaymentSessionsCommandOutput,
5
+ } from "../commands/ListPaymentSessionsCommand";
6
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListPaymentSessions: (
8
+ config: BedrockAgentCorePaginationConfiguration,
9
+ input: ListPaymentSessionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListPaymentSessionsCommandOutput>;
@@ -5,6 +5,8 @@ export * from "./ListBatchEvaluationsPaginator";
5
5
  export * from "./ListEventsPaginator";
6
6
  export * from "./ListMemoryExtractionJobsPaginator";
7
7
  export * from "./ListMemoryRecordsPaginator";
8
+ export * from "./ListPaymentInstrumentsPaginator";
9
+ export * from "./ListPaymentSessionsPaginator";
8
10
  export * from "./ListRecommendationsPaginator";
9
11
  export * from "./ListSessionsPaginator";
10
12
  export * from "./RetrieveMemoryRecordsPaginator";