@aws-sdk/client-payments 0.0.0-stage → 3.1175.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,31 @@
1
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
2
+ import { PaymentsClientConfig } from "./PaymentsClient";
3
+ export declare const getRuntimeConfig: (config: PaymentsClientConfig) => {
4
+ apiVersion: string;
5
+ base64Decoder: import("@smithy/types").Decoder;
6
+ base64Encoder: (_input: Uint8Array | string) => string;
7
+ disableHostPrefix: boolean;
8
+ endpointProvider: (
9
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
10
+ context?: {
11
+ logger?: import("@smithy/types").Logger;
12
+ },
13
+ ) => import("@smithy/types").EndpointV2;
14
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
15
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PaymentsHttpAuthSchemeProvider;
16
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
+ logger: import("@smithy/types").Logger;
18
+ protocol:
19
+ | import("@smithy/types").$ClientProtocol<any, any>
20
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
21
+ | typeof AwsJson1_0Protocol;
22
+ protocolSettings: {
23
+ [setting: string]: unknown;
24
+ defaultNamespace?: string;
25
+ };
26
+ serviceId: string;
27
+ sha256: import("@smithy/types").HashConstructor;
28
+ urlParser: import("@smithy/types").UrlParser;
29
+ utf8Decoder: import("@smithy/types").Decoder;
30
+ utf8Encoder: (input: Uint8Array | string) => string;
31
+ };
@@ -0,0 +1,11 @@
1
+ import { PaymentsExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(extensionConfiguration: PaymentsExtensionConfiguration): void;
4
+ }
5
+ export interface RuntimeExtensionsConfig {
6
+ extensions: RuntimeExtension[];
7
+ }
8
+ export declare const resolveRuntimeExtensions: (
9
+ runtimeConfig: any,
10
+ extensions: RuntimeExtension[],
11
+ ) => any;
@@ -0,0 +1,55 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
2
+ import {
3
+ StaticErrorSchema,
4
+ StaticOperationSchema,
5
+ StaticStructureSchema,
6
+ StaticUnionSchema,
7
+ } from "@smithy/types";
8
+ export declare var PaymentsServiceException$: StaticErrorSchema;
9
+ export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var InternalServerException$: StaticErrorSchema;
11
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
12
+ export declare var ThrottlingException$: StaticErrorSchema;
13
+ export declare var ValidationException$: StaticErrorSchema;
14
+ export declare const errorTypeRegistries: TypeRegistry[];
15
+ export declare var AccountBalance$: StaticStructureSchema;
16
+ export declare var Balances$: StaticStructureSchema;
17
+ export declare var BatchGetFinancialRecordRequest$: StaticStructureSchema;
18
+ export declare var BatchGetFinancialRecordResponse$: StaticStructureSchema;
19
+ export declare var BillingPeriod$: StaticStructureSchema;
20
+ export declare var BusinessUnit$: StaticStructureSchema;
21
+ export declare var Card$: StaticStructureSchema;
22
+ export declare var CnBankRedirect$: StaticStructureSchema;
23
+ export declare var CreditMemoDetails$: StaticStructureSchema;
24
+ export declare var CurrencyAmount$: StaticStructureSchema;
25
+ export declare var FinancialRecord$: StaticStructureSchema;
26
+ export declare var FinancialRecordError$: StaticStructureSchema;
27
+ export declare var FinancialRecordSummary$: StaticStructureSchema;
28
+ export declare var GetAccountBalanceRequest$: StaticStructureSchema;
29
+ export declare var GetAccountBalanceResponse$: StaticStructureSchema;
30
+ export declare var GetFinancialRecordRequest$: StaticStructureSchema;
31
+ export declare var GetFinancialRecordResponse$: StaticStructureSchema;
32
+ export declare var GetPaymentInstrumentRequest$: StaticStructureSchema;
33
+ export declare var GetPaymentInstrumentResponse$: StaticStructureSchema;
34
+ export declare var InNetBanking$: StaticStructureSchema;
35
+ export declare var InvoiceDetails$: StaticStructureSchema;
36
+ export declare var ListFinancialRecordsRequest$: StaticStructureSchema;
37
+ export declare var ListFinancialRecordsResponse$: StaticStructureSchema;
38
+ export declare var ListPaymentInstrumentsRequest$: StaticStructureSchema;
39
+ export declare var ListPaymentInstrumentsResponse$: StaticStructureSchema;
40
+ export declare var PaymentInstrument$: StaticStructureSchema;
41
+ export declare var PaymentInstrumentSummary$: StaticStructureSchema;
42
+ export declare var SepaBankAccount$: StaticStructureSchema;
43
+ export declare var UkBacsBankAccount$: StaticStructureSchema;
44
+ export declare var Upi$: StaticStructureSchema;
45
+ export declare var UsAchBankAccount$: StaticStructureSchema;
46
+ export declare var ValidationExceptionField$: StaticStructureSchema;
47
+ export declare var FinancialRecordDetails$: StaticUnionSchema;
48
+ export declare var FinancialRecordKey$: StaticUnionSchema;
49
+ export declare var PaymentInstrumentDetails$: StaticUnionSchema;
50
+ export declare var BatchGetFinancialRecord$: StaticOperationSchema;
51
+ export declare var GetAccountBalance$: StaticOperationSchema;
52
+ export declare var GetFinancialRecord$: StaticOperationSchema;
53
+ export declare var GetPaymentInstrument$: StaticOperationSchema;
54
+ export declare var ListFinancialRecords$: StaticOperationSchema;
55
+ export declare var ListPaymentInstruments$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,69 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-payments",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "3.1175.0",
4
+ "description": "AWS SDK for JavaScript Payments Client for Node.js, Browser and React Native",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-payments",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-payments"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
36
+ "scripts": {
37
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
38
+ "build:cjs": "node ../../scripts/compilation/inline",
39
+ "build:es": "premove dist-es && tsc -p tsconfig.es.json",
40
+ "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
41
+ "build:types": "premove dist-types && tsc -p tsconfig.types.json",
42
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
43
+ "clean": "premove dist-cjs dist-es dist-types",
44
+ "extract:docs": "api-extractor run --local",
45
+ "generate:client": "node ../../scripts/generate-clients/single-service",
46
+ "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
+ },
48
+ "dependencies": {
49
+ "@aws-sdk/core": "^3.981.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.98",
51
+ "@aws-sdk/types": "^3.975.1",
52
+ "@smithy/core": "^3.40.0",
53
+ "@smithy/fetch-http-handler": "^5.8.1",
54
+ "@smithy/node-http-handler": "^4.14.2",
55
+ "@smithy/types": "^4.20.0",
56
+ "tslib": "^2.6.2"
57
+ },
58
+ "devDependencies": {
59
+ "@tsconfig/node20": "20.1.8",
60
+ "@types/node": "^20.14.8",
61
+ "concurrently": "7.0.0",
62
+ "downlevel-dts": "0.10.1",
63
+ "premove": "4.0.0",
64
+ "typescript": "~7.0.2"
65
+ },
66
+ "engines": {
67
+ "node": ">=20.0.0"
68
+ }
69
+ }