@aws-sdk/client-payments 0.0.0-stage → 3.1174.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 (100) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +222 -2
  3. package/dist-cjs/index.js +972 -0
  4. package/dist-es/Payments.js +27 -0
  5. package/dist-es/PaymentsClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/BatchGetFinancialRecordCommand.js +4 -0
  10. package/dist-es/commands/GetAccountBalanceCommand.js +4 -0
  11. package/dist-es/commands/GetFinancialRecordCommand.js +4 -0
  12. package/dist-es/commands/GetPaymentInstrumentCommand.js +4 -0
  13. package/dist-es/commands/ListFinancialRecordsCommand.js +4 -0
  14. package/dist-es/commands/ListPaymentInstrumentsCommand.js +4 -0
  15. package/dist-es/commands/index.js +6 -0
  16. package/dist-es/endpoint/EndpointParameters.js +11 -0
  17. package/dist-es/endpoint/bdd.js +29 -0
  18. package/dist-es/endpoint/endpointResolver.js +14 -0
  19. package/dist-es/extensionConfiguration.js +1 -0
  20. package/dist-es/index.js +10 -0
  21. package/dist-es/models/PaymentsServiceException.js +9 -0
  22. package/dist-es/models/enums.js +89 -0
  23. package/dist-es/models/errors.js +84 -0
  24. package/dist-es/models/models_0.js +1 -0
  25. package/dist-es/pagination/GetAccountBalancePaginator.js +4 -0
  26. package/dist-es/pagination/Interfaces.js +1 -0
  27. package/dist-es/pagination/ListFinancialRecordsPaginator.js +4 -0
  28. package/dist-es/pagination/ListPaymentInstrumentsPaginator.js +4 -0
  29. package/dist-es/pagination/index.js +4 -0
  30. package/dist-es/runtimeConfig.browser.js +29 -0
  31. package/dist-es/runtimeConfig.js +44 -0
  32. package/dist-es/runtimeConfig.native.js +9 -0
  33. package/dist-es/runtimeConfig.shared.js +40 -0
  34. package/dist-es/runtimeExtensions.js +9 -0
  35. package/dist-es/schemas/schemas_0.js +406 -0
  36. package/dist-types/Payments.d.ts +81 -0
  37. package/dist-types/PaymentsClient.d.ts +193 -0
  38. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  39. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  40. package/dist-types/commandBuilder.d.ts +18 -0
  41. package/dist-types/commands/BatchGetFinancialRecordCommand.d.ts +231 -0
  42. package/dist-types/commands/GetAccountBalanceCommand.d.ts +124 -0
  43. package/dist-types/commands/GetFinancialRecordCommand.d.ts +200 -0
  44. package/dist-types/commands/GetPaymentInstrumentCommand.d.ts +163 -0
  45. package/dist-types/commands/ListFinancialRecordsCommand.d.ts +188 -0
  46. package/dist-types/commands/ListPaymentInstrumentsCommand.d.ts +126 -0
  47. package/dist-types/commands/index.d.ts +6 -0
  48. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  49. package/dist-types/endpoint/bdd.d.ts +2 -0
  50. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  51. package/dist-types/extensionConfiguration.d.ts +9 -0
  52. package/dist-types/index.d.ts +18 -0
  53. package/dist-types/models/PaymentsServiceException.d.ts +15 -0
  54. package/dist-types/models/enums.d.ts +225 -0
  55. package/dist-types/models/errors.d.ts +108 -0
  56. package/dist-types/models/models_0.d.ts +936 -0
  57. package/dist-types/pagination/GetAccountBalancePaginator.d.ts +7 -0
  58. package/dist-types/pagination/Interfaces.d.ts +8 -0
  59. package/dist-types/pagination/ListFinancialRecordsPaginator.d.ts +7 -0
  60. package/dist-types/pagination/ListPaymentInstrumentsPaginator.d.ts +7 -0
  61. package/dist-types/pagination/index.d.ts +4 -0
  62. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  63. package/dist-types/runtimeConfig.d.ts +58 -0
  64. package/dist-types/runtimeConfig.native.d.ts +56 -0
  65. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  66. package/dist-types/runtimeExtensions.d.ts +17 -0
  67. package/dist-types/schemas/schemas_0.d.ts +55 -0
  68. package/dist-types/ts3.4/Payments.d.ts +138 -0
  69. package/dist-types/ts3.4/PaymentsClient.d.ts +136 -0
  70. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  71. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  72. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  73. package/dist-types/ts3.4/commands/BatchGetFinancialRecordCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/GetAccountBalanceCommand.d.ts +39 -0
  75. package/dist-types/ts3.4/commands/GetFinancialRecordCommand.d.ts +39 -0
  76. package/dist-types/ts3.4/commands/GetPaymentInstrumentCommand.d.ts +39 -0
  77. package/dist-types/ts3.4/commands/ListFinancialRecordsCommand.d.ts +39 -0
  78. package/dist-types/ts3.4/commands/ListPaymentInstrumentsCommand.d.ts +39 -0
  79. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  80. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  81. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  82. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  83. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  84. package/dist-types/ts3.4/index.d.ts +13 -0
  85. package/dist-types/ts3.4/models/PaymentsServiceException.d.ts +10 -0
  86. package/dist-types/ts3.4/models/enums.d.ts +111 -0
  87. package/dist-types/ts3.4/models/errors.d.ts +45 -0
  88. package/dist-types/ts3.4/models/models_0.d.ts +340 -0
  89. package/dist-types/ts3.4/pagination/GetAccountBalancePaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  91. package/dist-types/ts3.4/pagination/ListFinancialRecordsPaginator.d.ts +11 -0
  92. package/dist-types/ts3.4/pagination/ListPaymentInstrumentsPaginator.d.ts +11 -0
  93. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  94. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  95. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  96. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  97. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  98. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  99. package/dist-types/ts3.4/schemas/schemas_0.d.ts +55 -0
  100. package/package.json +67 -4
@@ -0,0 +1,43 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core/httpAuthSchemes";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ Provider,
13
+ } from "@smithy/types";
14
+ import { PaymentsClientResolvedConfig } from "../PaymentsClient";
15
+ export interface PaymentsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface PaymentsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ PaymentsClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ PaymentsHttpAuthSchemeParameters,
22
+ object
23
+ > {}
24
+ export declare const defaultPaymentsHttpAuthSchemeParametersProvider: (
25
+ config: PaymentsClientResolvedConfig,
26
+ context: HandlerExecutionContext,
27
+ input: object,
28
+ ) => Promise<PaymentsHttpAuthSchemeParameters>;
29
+ export interface PaymentsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<PaymentsHttpAuthSchemeParameters> {}
30
+ export declare const defaultPaymentsHttpAuthSchemeProvider: PaymentsHttpAuthSchemeProvider;
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ authSchemePreference?: string[] | Provider<string[]>;
33
+ httpAuthSchemes?: HttpAuthScheme[];
34
+ httpAuthSchemeProvider?: PaymentsHttpAuthSchemeProvider;
35
+ }
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
37
+ readonly authSchemePreference: Provider<string[]>;
38
+ readonly httpAuthSchemes: HttpAuthScheme[];
39
+ readonly httpAuthSchemeProvider: PaymentsHttpAuthSchemeProvider;
40
+ }
41
+ export declare const resolveHttpAuthSchemeConfig: <T>(
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
43
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,40 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ PaymentsClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./PaymentsClient";
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
8
+ added: EndpointParameterInstructions,
9
+ plugins: (
10
+ CommandCtor: any,
11
+ clientStack: any,
12
+ config: any,
13
+ options: any,
14
+ ) => import("@smithy/types").Pluggable<any, any>[],
15
+ op: string,
16
+ $: import("@smithy/types").StaticOperationSchema,
17
+ smithyContext?: Record<string, unknown>,
18
+ ) => {
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
22
+ I,
23
+ O,
24
+ PaymentsClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ ...[input]: import("@smithy/types").OptionalParameter<I>
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ I,
32
+ O,
33
+ PaymentsClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
38
+ };
39
+ export declare const _ep0: EndpointParameterInstructions;
40
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ BatchGetFinancialRecordRequest,
4
+ BatchGetFinancialRecordResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface BatchGetFinancialRecordCommandInput extends BatchGetFinancialRecordRequest {}
8
+ export interface BatchGetFinancialRecordCommandOutput
9
+ extends BatchGetFinancialRecordResponse, __MetadataBearer {}
10
+ declare const BatchGetFinancialRecordCommand_base: {
11
+ new (
12
+ input: BatchGetFinancialRecordCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ BatchGetFinancialRecordCommandInput,
15
+ BatchGetFinancialRecordCommandOutput,
16
+ import("..").PaymentsClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: BatchGetFinancialRecordCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ BatchGetFinancialRecordCommandInput,
24
+ BatchGetFinancialRecordCommandOutput,
25
+ import("..").PaymentsClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class BatchGetFinancialRecordCommand extends BatchGetFinancialRecordCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: BatchGetFinancialRecordRequest;
35
+ output: BatchGetFinancialRecordResponse;
36
+ };
37
+ sdk: {
38
+ input: BatchGetFinancialRecordCommandInput;
39
+ output: BatchGetFinancialRecordCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetAccountBalanceRequest, GetAccountBalanceResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetAccountBalanceCommandInput extends GetAccountBalanceRequest {}
5
+ export interface GetAccountBalanceCommandOutput
6
+ extends GetAccountBalanceResponse, __MetadataBearer {}
7
+ declare const GetAccountBalanceCommand_base: {
8
+ new (
9
+ input: GetAccountBalanceCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ GetAccountBalanceCommandInput,
12
+ GetAccountBalanceCommandOutput,
13
+ import("..").PaymentsClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: GetAccountBalanceCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ GetAccountBalanceCommandInput,
21
+ GetAccountBalanceCommandOutput,
22
+ import("..").PaymentsClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class GetAccountBalanceCommand extends GetAccountBalanceCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: GetAccountBalanceRequest;
32
+ output: GetAccountBalanceResponse;
33
+ };
34
+ sdk: {
35
+ input: GetAccountBalanceCommandInput;
36
+ output: GetAccountBalanceCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetFinancialRecordRequest, GetFinancialRecordResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetFinancialRecordCommandInput extends GetFinancialRecordRequest {}
5
+ export interface GetFinancialRecordCommandOutput
6
+ extends GetFinancialRecordResponse, __MetadataBearer {}
7
+ declare const GetFinancialRecordCommand_base: {
8
+ new (
9
+ input: GetFinancialRecordCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ GetFinancialRecordCommandInput,
12
+ GetFinancialRecordCommandOutput,
13
+ import("..").PaymentsClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ ...[input]: [] | [GetFinancialRecordCommandInput]
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ GetFinancialRecordCommandInput,
21
+ GetFinancialRecordCommandOutput,
22
+ import("..").PaymentsClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class GetFinancialRecordCommand extends GetFinancialRecordCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: GetFinancialRecordRequest;
32
+ output: GetFinancialRecordResponse;
33
+ };
34
+ sdk: {
35
+ input: GetFinancialRecordCommandInput;
36
+ output: GetFinancialRecordCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetPaymentInstrumentRequest, GetPaymentInstrumentResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetPaymentInstrumentCommandInput extends GetPaymentInstrumentRequest {}
5
+ export interface GetPaymentInstrumentCommandOutput
6
+ extends GetPaymentInstrumentResponse, __MetadataBearer {}
7
+ declare const GetPaymentInstrumentCommand_base: {
8
+ new (
9
+ input: GetPaymentInstrumentCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ GetPaymentInstrumentCommandInput,
12
+ GetPaymentInstrumentCommandOutput,
13
+ import("..").PaymentsClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: GetPaymentInstrumentCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ GetPaymentInstrumentCommandInput,
21
+ GetPaymentInstrumentCommandOutput,
22
+ import("..").PaymentsClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class GetPaymentInstrumentCommand extends GetPaymentInstrumentCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: GetPaymentInstrumentRequest;
32
+ output: GetPaymentInstrumentResponse;
33
+ };
34
+ sdk: {
35
+ input: GetPaymentInstrumentCommandInput;
36
+ output: GetPaymentInstrumentCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { ListFinancialRecordsRequest, ListFinancialRecordsResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface ListFinancialRecordsCommandInput extends ListFinancialRecordsRequest {}
5
+ export interface ListFinancialRecordsCommandOutput
6
+ extends ListFinancialRecordsResponse, __MetadataBearer {}
7
+ declare const ListFinancialRecordsCommand_base: {
8
+ new (
9
+ input: ListFinancialRecordsCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ ListFinancialRecordsCommandInput,
12
+ ListFinancialRecordsCommandOutput,
13
+ import("..").PaymentsClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: ListFinancialRecordsCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ ListFinancialRecordsCommandInput,
21
+ ListFinancialRecordsCommandOutput,
22
+ import("..").PaymentsClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class ListFinancialRecordsCommand extends ListFinancialRecordsCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: ListFinancialRecordsRequest;
32
+ output: ListFinancialRecordsResponse;
33
+ };
34
+ sdk: {
35
+ input: ListFinancialRecordsCommandInput;
36
+ output: ListFinancialRecordsCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { ListPaymentInstrumentsRequest, ListPaymentInstrumentsResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface ListPaymentInstrumentsCommandInput extends ListPaymentInstrumentsRequest {}
5
+ export interface ListPaymentInstrumentsCommandOutput
6
+ extends ListPaymentInstrumentsResponse, __MetadataBearer {}
7
+ declare const ListPaymentInstrumentsCommand_base: {
8
+ new (
9
+ input: ListPaymentInstrumentsCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ ListPaymentInstrumentsCommandInput,
12
+ ListPaymentInstrumentsCommandOutput,
13
+ import("..").PaymentsClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ ...[input]: [] | [ListPaymentInstrumentsCommandInput]
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ ListPaymentInstrumentsCommandInput,
21
+ ListPaymentInstrumentsCommandOutput,
22
+ import("..").PaymentsClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class ListPaymentInstrumentsCommand extends ListPaymentInstrumentsCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: ListPaymentInstrumentsRequest;
32
+ output: ListPaymentInstrumentsResponse;
33
+ };
34
+ sdk: {
35
+ input: ListPaymentInstrumentsCommandInput;
36
+ output: ListPaymentInstrumentsCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,6 @@
1
+ export * from "./BatchGetFinancialRecordCommand";
2
+ export * from "./GetAccountBalanceCommand";
3
+ export * from "./GetFinancialRecordCommand";
4
+ export * from "./GetPaymentInstrumentCommand";
5
+ export * from "./ListFinancialRecordsCommand";
6
+ export * from "./ListPaymentInstrumentsCommand";
@@ -0,0 +1,45 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
+ endpoint?:
10
+ | string
11
+ | Provider<string>
12
+ | Endpoint
13
+ | Provider<Endpoint>
14
+ | EndpointV2
15
+ | Provider<EndpointV2>;
16
+ region?: string | undefined | Provider<string | undefined>;
17
+ }
18
+ export type ClientResolvedEndpointParameters = Pick<
19
+ ClientInputEndpointParameters,
20
+ Exclude<keyof ClientInputEndpointParameters, "endpoint">
21
+ > & {
22
+ defaultSigningName: string;
23
+ };
24
+ export declare const resolveClientEndpointParameters: <T>(
25
+ options: T & ClientInputEndpointParameters,
26
+ ) => T & ClientResolvedEndpointParameters;
27
+ export declare const commonParams: {
28
+ readonly UseFIPS: {
29
+ readonly type: "builtInParams";
30
+ readonly name: "useFipsEndpoint";
31
+ };
32
+ readonly Endpoint: {
33
+ readonly type: "builtInParams";
34
+ readonly name: "endpoint";
35
+ };
36
+ readonly Region: {
37
+ readonly type: "builtInParams";
38
+ readonly name: "region";
39
+ };
40
+ };
41
+ export interface EndpointParameters extends __EndpointParameters {
42
+ UseFIPS?: boolean | undefined;
43
+ Endpoint?: string | undefined;
44
+ Region?: string | undefined;
45
+ }
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ },
8
+ ) => EndpointV2;
@@ -0,0 +1,10 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ export interface PaymentsExtensionConfiguration
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
8
+ DefaultExtensionConfiguration,
9
+ AwsRegionExtensionConfiguration,
10
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,13 @@
1
+ export * from "./PaymentsClient";
2
+ export * from "./Payments";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { PaymentsExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
8
+ export * from "./pagination";
9
+ export * from "./schemas/schemas_0";
10
+ export * from "./models/enums";
11
+ export * from "./models/errors";
12
+ export * from "./models/models_0";
13
+ export { PaymentsServiceException } from "./models/PaymentsServiceException";
@@ -0,0 +1,10 @@
1
+ import {
2
+ ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
+ } from "@smithy/core/client";
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
7
+ export declare class PaymentsServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -0,0 +1,111 @@
1
+ export declare const AccessDeniedExceptionReason: {
2
+ readonly INVALID_ACCOUNT_STATE: "INVALID_ACCOUNT_STATE";
3
+ readonly NOT_AUTHORIZED: "NOT_AUTHORIZED";
4
+ readonly OTHER: "OTHER";
5
+ };
6
+ export type AccessDeniedExceptionReason =
7
+ (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
8
+ export declare const BatchErrorCode: {
9
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
10
+ readonly NOT_FOUND: "NOT_FOUND";
11
+ };
12
+ export type BatchErrorCode = (typeof BatchErrorCode)[keyof typeof BatchErrorCode];
13
+ export declare const LineOfBusiness: {
14
+ readonly AWS_CLOUD_SERVICES: "AWS_CLOUD_SERVICES";
15
+ readonly AWS_MARKETPLACE: "AWS_MARKETPLACE";
16
+ readonly PROSERVE_MARKETING_AND_TRAINING: "PROSERVE_MARKETING_AND_TRAINING";
17
+ };
18
+ export type LineOfBusiness = (typeof LineOfBusiness)[keyof typeof LineOfBusiness];
19
+ export declare const DueStatus: {
20
+ readonly DUE: "DUE";
21
+ readonly PAST_DUE: "PAST_DUE";
22
+ };
23
+ export type DueStatus = (typeof DueStatus)[keyof typeof DueStatus];
24
+ export declare const InvoiceFrequency: {
25
+ readonly ONE_TIME: "ONE_TIME";
26
+ readonly RECURRING: "RECURRING";
27
+ };
28
+ export type InvoiceFrequency = (typeof InvoiceFrequency)[keyof typeof InvoiceFrequency];
29
+ export declare const SettlementStatus: {
30
+ readonly CLOSED: "CLOSED";
31
+ readonly OPEN: "OPEN";
32
+ };
33
+ export type SettlementStatus = (typeof SettlementStatus)[keyof typeof SettlementStatus];
34
+ export declare const FinancialRecordStatus: {
35
+ readonly CANCELED: "CANCELED";
36
+ readonly OUTSTANDING: "OUTSTANDING";
37
+ readonly PROCESSING: "PROCESSING";
38
+ readonly SETTLED: "SETTLED";
39
+ };
40
+ export type FinancialRecordStatus =
41
+ (typeof FinancialRecordStatus)[keyof typeof FinancialRecordStatus];
42
+ export declare const FinancialRecordType: {
43
+ readonly CREDIT_MEMO: "CREDIT_MEMO";
44
+ readonly INVOICE: "INVOICE";
45
+ };
46
+ export type FinancialRecordType = (typeof FinancialRecordType)[keyof typeof FinancialRecordType];
47
+ export declare const ValidationExceptionReason: {
48
+ readonly CANNOT_PARSE: "CANNOT_PARSE";
49
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
50
+ readonly INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN";
51
+ readonly OTHER: "OTHER";
52
+ readonly UNSUPPORTED_ACTION: "UNSUPPORTED_ACTION";
53
+ };
54
+ export type ValidationExceptionReason =
55
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
56
+ export declare const BalanceType: {
57
+ readonly INVOICES_DUE: "INVOICES_DUE";
58
+ readonly INVOICES_PAST_DUE: "INVOICES_PAST_DUE";
59
+ readonly OUTSTANDING_CREDIT_MEMOS: "OUTSTANDING_CREDIT_MEMOS";
60
+ };
61
+ export type BalanceType = (typeof BalanceType)[keyof typeof BalanceType];
62
+ export declare const CardBrand: {
63
+ readonly AMEX: "AMEX";
64
+ readonly CHINA_UNIONPAY: "CHINA_UNIONPAY";
65
+ readonly DISCOVER: "DISCOVER";
66
+ readonly JCB: "JCB";
67
+ readonly MASTERCARD: "MASTERCARD";
68
+ readonly RUPAY: "RUPAY";
69
+ readonly VISA: "VISA";
70
+ };
71
+ export type CardBrand = (typeof CardBrand)[keyof typeof CardBrand];
72
+ export declare const CardType: {
73
+ readonly CREDIT: "CREDIT";
74
+ readonly DEBIT: "DEBIT";
75
+ };
76
+ export type CardType = (typeof CardType)[keyof typeof CardType];
77
+ export declare const BankAccountType: {
78
+ readonly CHECKING: "CHECKING";
79
+ readonly SAVINGS: "SAVINGS";
80
+ };
81
+ export type BankAccountType = (typeof BankAccountType)[keyof typeof BankAccountType];
82
+ export declare const PaymentMethod: {
83
+ readonly CARD: "CARD";
84
+ readonly CN_BANK_REDIRECT: "CN_BANK_REDIRECT";
85
+ readonly IN_NET_BANKING: "IN_NET_BANKING";
86
+ readonly PAY_BY_INVOICE: "PAY_BY_INVOICE";
87
+ readonly PIX: "PIX";
88
+ readonly SEPA_BANK_ACCOUNT: "SEPA_BANK_ACCOUNT";
89
+ readonly UK_BACS_BANK_ACCOUNT: "UK_BACS_BANK_ACCOUNT";
90
+ readonly UPI: "UPI";
91
+ readonly US_ACH_BANK_ACCOUNT: "US_ACH_BANK_ACCOUNT";
92
+ };
93
+ export type PaymentMethod = (typeof PaymentMethod)[keyof typeof PaymentMethod];
94
+ export declare const PaymentInstrumentStatus: {
95
+ readonly ACTIVE: "ACTIVE";
96
+ readonly INVALID: "INVALID";
97
+ readonly PENDING_SETUP: "PENDING_SETUP";
98
+ readonly SETUP_IN_PROGRESS: "SETUP_IN_PROGRESS";
99
+ };
100
+ export type PaymentInstrumentStatus =
101
+ (typeof PaymentInstrumentStatus)[keyof typeof PaymentInstrumentStatus];
102
+ export declare const FinancialRecordSortField: {
103
+ readonly ISSUED_AT: "ISSUED_AT";
104
+ };
105
+ export type FinancialRecordSortField =
106
+ (typeof FinancialRecordSortField)[keyof typeof FinancialRecordSortField];
107
+ export declare const SortOrder: {
108
+ readonly ASCENDING: "ASCENDING";
109
+ readonly DESCENDING: "DESCENDING";
110
+ };
111
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
@@ -0,0 +1,45 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import { AccessDeniedExceptionReason, ValidationExceptionReason } from "./enums";
3
+ import { ValidationExceptionField } from "./models_0";
4
+ import { PaymentsServiceException as __BaseException } from "./PaymentsServiceException";
5
+ export declare class AccessDeniedException extends __BaseException {
6
+ static readonly shapeId: string;
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
9
+ reason?: AccessDeniedExceptionReason | undefined;
10
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
11
+ }
12
+ export declare class InternalServerException extends __BaseException {
13
+ static readonly shapeId: string;
14
+ readonly name: "InternalServerException";
15
+ readonly $fault: "server";
16
+ $retryable: {};
17
+ retryAfterSeconds?: number | undefined;
18
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
19
+ }
20
+ export declare class ThrottlingException extends __BaseException {
21
+ static readonly shapeId: string;
22
+ readonly name: "ThrottlingException";
23
+ readonly $fault: "client";
24
+ $retryable: {
25
+ throttling: boolean;
26
+ };
27
+ retryAfterSeconds?: number | undefined;
28
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
29
+ }
30
+ export declare class ValidationException extends __BaseException {
31
+ static readonly shapeId: string;
32
+ readonly name: "ValidationException";
33
+ readonly $fault: "client";
34
+ reason: ValidationExceptionReason | undefined;
35
+ fieldList?: ValidationExceptionField[] | undefined;
36
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
37
+ }
38
+ export declare class ResourceNotFoundException extends __BaseException {
39
+ static readonly shapeId: string;
40
+ readonly name: "ResourceNotFoundException";
41
+ readonly $fault: "client";
42
+ resourceId?: string | undefined;
43
+ resourceType?: string | undefined;
44
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
45
+ }