increase 0.260.0 → 0.262.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.
- package/CHANGELOG.md +16 -0
- package/index.d.mts +9 -0
- package/index.d.ts +9 -0
- package/index.d.ts.map +1 -1
- package/index.js +12 -0
- package/index.js.map +1 -1
- package/index.mjs +12 -0
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/card-push-transfers.d.ts +633 -0
- package/resources/card-push-transfers.d.ts.map +1 -0
- package/resources/card-push-transfers.js +94 -0
- package/resources/card-push-transfers.js.map +1 -0
- package/resources/card-push-transfers.mjs +89 -0
- package/resources/card-push-transfers.mjs.map +1 -0
- package/resources/card-tokens.d.ts +154 -0
- package/resources/card-tokens.d.ts.map +1 -0
- package/resources/card-tokens.js +50 -0
- package/resources/card-tokens.js.map +1 -0
- package/resources/card-tokens.mjs +45 -0
- package/resources/card-tokens.mjs.map +1 -0
- package/resources/card-validations.d.ts +508 -0
- package/resources/card-validations.d.ts.map +1 -0
- package/resources/card-validations.js +54 -0
- package/resources/card-validations.js.map +1 -0
- package/resources/card-validations.mjs +49 -0
- package/resources/card-validations.mjs.map +1 -0
- package/resources/entities.d.ts +14 -15
- package/resources/entities.d.ts.map +1 -1
- package/resources/entities.js +2 -0
- package/resources/entities.js.map +1 -1
- package/resources/entities.mjs +2 -0
- package/resources/entities.mjs.map +1 -1
- package/resources/index.d.ts +3 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +12 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/simulations/card-tokens.d.ts +66 -0
- package/resources/simulations/card-tokens.d.ts.map +1 -0
- package/resources/simulations/card-tokens.js +21 -0
- package/resources/simulations/card-tokens.js.map +1 -0
- package/resources/simulations/card-tokens.mjs +17 -0
- package/resources/simulations/card-tokens.mjs.map +1 -0
- package/resources/simulations/index.d.ts +1 -0
- package/resources/simulations/index.d.ts.map +1 -1
- package/resources/simulations/index.js +3 -1
- package/resources/simulations/index.js.map +1 -1
- package/resources/simulations/index.mjs +1 -0
- package/resources/simulations/index.mjs.map +1 -1
- package/resources/simulations/simulations.d.ts +4 -0
- package/resources/simulations/simulations.d.ts.map +1 -1
- package/resources/simulations/simulations.js +4 -0
- package/resources/simulations/simulations.js.map +1 -1
- package/resources/simulations/simulations.mjs +4 -0
- package/resources/simulations/simulations.mjs.map +1 -1
- package/src/index.ts +54 -0
- package/src/resources/card-push-transfers.ts +834 -0
- package/src/resources/card-tokens.ts +200 -0
- package/src/resources/card-validations.ts +643 -0
- package/src/resources/entities.ts +17 -18
- package/src/resources/index.ts +21 -0
- package/src/resources/simulations/card-tokens.ts +82 -0
- package/src/resources/simulations/index.ts +1 -0
- package/src/resources/simulations/simulations.ts +6 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -125,6 +125,7 @@ export class Entities extends APIResource {
|
|
|
125
125
|
* beneficial_owner: {
|
|
126
126
|
* individual: {
|
|
127
127
|
* address: {
|
|
128
|
+
* city: 'New York',
|
|
128
129
|
* country: 'US',
|
|
129
130
|
* line1: '33 Liberty Street',
|
|
130
131
|
* },
|
|
@@ -185,6 +186,7 @@ export class Entities extends APIResource {
|
|
|
185
186
|
* 'entity_n8y8tnk2p9339ti393yi',
|
|
186
187
|
* {
|
|
187
188
|
* address: {
|
|
189
|
+
* city: 'New York',
|
|
188
190
|
* country: 'US',
|
|
189
191
|
* line1: '33 Liberty Street',
|
|
190
192
|
* },
|
|
@@ -1310,6 +1312,11 @@ export namespace EntityCreateParams {
|
|
|
1310
1312
|
* PMB's are disallowed.
|
|
1311
1313
|
*/
|
|
1312
1314
|
export interface Address {
|
|
1315
|
+
/**
|
|
1316
|
+
* The city, district, town, or village of the address.
|
|
1317
|
+
*/
|
|
1318
|
+
city: string;
|
|
1319
|
+
|
|
1313
1320
|
/**
|
|
1314
1321
|
* The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1315
1322
|
*/
|
|
@@ -1320,12 +1327,6 @@ export namespace EntityCreateParams {
|
|
|
1320
1327
|
*/
|
|
1321
1328
|
line1: string;
|
|
1322
1329
|
|
|
1323
|
-
/**
|
|
1324
|
-
* The city, district, town, or village of the address. Required in certain
|
|
1325
|
-
* countries.
|
|
1326
|
-
*/
|
|
1327
|
-
city?: string;
|
|
1328
|
-
|
|
1329
1330
|
/**
|
|
1330
1331
|
* The second line of the address. This might be the floor or room number.
|
|
1331
1332
|
*/
|
|
@@ -2633,6 +2634,11 @@ export namespace EntityCreateBeneficialOwnerParams {
|
|
|
2633
2634
|
* PMB's are disallowed.
|
|
2634
2635
|
*/
|
|
2635
2636
|
export interface Address {
|
|
2637
|
+
/**
|
|
2638
|
+
* The city, district, town, or village of the address.
|
|
2639
|
+
*/
|
|
2640
|
+
city: string;
|
|
2641
|
+
|
|
2636
2642
|
/**
|
|
2637
2643
|
* The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
2638
2644
|
*/
|
|
@@ -2643,12 +2649,6 @@ export namespace EntityCreateBeneficialOwnerParams {
|
|
|
2643
2649
|
*/
|
|
2644
2650
|
line1: string;
|
|
2645
2651
|
|
|
2646
|
-
/**
|
|
2647
|
-
* The city, district, town, or village of the address. Required in certain
|
|
2648
|
-
* countries.
|
|
2649
|
-
*/
|
|
2650
|
-
city?: string;
|
|
2651
|
-
|
|
2652
2652
|
/**
|
|
2653
2653
|
* The second line of the address. This might be the floor or room number.
|
|
2654
2654
|
*/
|
|
@@ -2860,6 +2860,11 @@ export namespace EntityUpdateBeneficialOwnerAddressParams {
|
|
|
2860
2860
|
* PMB's are disallowed.
|
|
2861
2861
|
*/
|
|
2862
2862
|
export interface Address {
|
|
2863
|
+
/**
|
|
2864
|
+
* The city, district, town, or village of the address.
|
|
2865
|
+
*/
|
|
2866
|
+
city: string;
|
|
2867
|
+
|
|
2863
2868
|
/**
|
|
2864
2869
|
* The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
2865
2870
|
*/
|
|
@@ -2870,12 +2875,6 @@ export namespace EntityUpdateBeneficialOwnerAddressParams {
|
|
|
2870
2875
|
*/
|
|
2871
2876
|
line1: string;
|
|
2872
2877
|
|
|
2873
|
-
/**
|
|
2874
|
-
* The city, district, town, or village of the address. Required in certain
|
|
2875
|
-
* countries.
|
|
2876
|
-
*/
|
|
2877
|
-
city?: string;
|
|
2878
|
-
|
|
2879
2878
|
/**
|
|
2880
2879
|
* The second line of the address. This might be the floor or room number.
|
|
2881
2880
|
*/
|
package/src/resources/index.ts
CHANGED
|
@@ -87,6 +87,27 @@ export {
|
|
|
87
87
|
type CardPurchaseSupplement,
|
|
88
88
|
type CardPurchaseSupplementListParams,
|
|
89
89
|
} from './card-purchase-supplements';
|
|
90
|
+
export {
|
|
91
|
+
CardPushTransfersPage,
|
|
92
|
+
CardPushTransfers,
|
|
93
|
+
type CardPushTransfer,
|
|
94
|
+
type CardPushTransferCreateParams,
|
|
95
|
+
type CardPushTransferListParams,
|
|
96
|
+
} from './card-push-transfers';
|
|
97
|
+
export {
|
|
98
|
+
CardTokensPage,
|
|
99
|
+
CardTokens,
|
|
100
|
+
type CardToken,
|
|
101
|
+
type CardTokenCapabilities,
|
|
102
|
+
type CardTokenListParams,
|
|
103
|
+
} from './card-tokens';
|
|
104
|
+
export {
|
|
105
|
+
CardValidationsPage,
|
|
106
|
+
CardValidations,
|
|
107
|
+
type CardValidation,
|
|
108
|
+
type CardValidationCreateParams,
|
|
109
|
+
type CardValidationListParams,
|
|
110
|
+
} from './card-validations';
|
|
90
111
|
export {
|
|
91
112
|
CardsPage,
|
|
92
113
|
Cards,
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../resource';
|
|
4
|
+
import * as Core from '../../core';
|
|
5
|
+
import * as CardTokensAPI from '../card-tokens';
|
|
6
|
+
|
|
7
|
+
export class CardTokens extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Simulates tokenizing a card in the sandbox environment.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const cardToken =
|
|
14
|
+
* await client.simulations.cardTokens.create();
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
create(
|
|
18
|
+
body: CardTokenCreateParams,
|
|
19
|
+
options?: Core.RequestOptions,
|
|
20
|
+
): Core.APIPromise<CardTokensAPI.CardToken> {
|
|
21
|
+
return this._client.post('/simulations/card_tokens', { body, ...options });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface CardTokenCreateParams {
|
|
26
|
+
/**
|
|
27
|
+
* The capabilities of the outbound card token.
|
|
28
|
+
*/
|
|
29
|
+
capabilities?: Array<CardTokenCreateParams.Capability>;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* The expiration date of the card.
|
|
33
|
+
*/
|
|
34
|
+
expiration?: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The last 4 digits of the card number.
|
|
38
|
+
*/
|
|
39
|
+
last4?: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* The prefix of the card number, usually the first 8 digits.
|
|
43
|
+
*/
|
|
44
|
+
prefix?: string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* The total length of the card number, including prefix and last4.
|
|
48
|
+
*/
|
|
49
|
+
primary_account_number_length?: number;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export namespace CardTokenCreateParams {
|
|
53
|
+
export interface Capability {
|
|
54
|
+
/**
|
|
55
|
+
* The cross-border push transfers capability.
|
|
56
|
+
*
|
|
57
|
+
* - `supported` - The capability is supported.
|
|
58
|
+
* - `not_supported` - The capability is not supported.
|
|
59
|
+
*/
|
|
60
|
+
cross_border_push_transfers: 'supported' | 'not_supported';
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* The domestic push transfers capability.
|
|
64
|
+
*
|
|
65
|
+
* - `supported` - The capability is supported.
|
|
66
|
+
* - `not_supported` - The capability is not supported.
|
|
67
|
+
*/
|
|
68
|
+
domestic_push_transfers: 'supported' | 'not_supported';
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* The route of the capability.
|
|
72
|
+
*
|
|
73
|
+
* - `visa` - Visa and Interlink
|
|
74
|
+
* - `mastercard` - Mastercard and Maestro
|
|
75
|
+
*/
|
|
76
|
+
route: 'visa' | 'mastercard';
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export declare namespace CardTokens {
|
|
81
|
+
export { type CardTokenCreateParams as CardTokenCreateParams };
|
|
82
|
+
}
|
|
@@ -22,6 +22,7 @@ export { CardIncrements, type CardIncrementCreateParams } from './card-increment
|
|
|
22
22
|
export { CardRefunds, type CardRefundCreateParams } from './card-refunds';
|
|
23
23
|
export { CardReversals, type CardReversalCreateParams } from './card-reversals';
|
|
24
24
|
export { CardSettlements, type CardSettlementCreateParams } from './card-settlements';
|
|
25
|
+
export { CardTokens, type CardTokenCreateParams } from './card-tokens';
|
|
25
26
|
export { CheckDeposits } from './check-deposits';
|
|
26
27
|
export { CheckTransfers } from './check-transfers';
|
|
27
28
|
export {
|
|
@@ -34,6 +34,8 @@ import * as CardReversalsAPI from './card-reversals';
|
|
|
34
34
|
import { CardReversalCreateParams, CardReversals } from './card-reversals';
|
|
35
35
|
import * as CardSettlementsAPI from './card-settlements';
|
|
36
36
|
import { CardSettlementCreateParams, CardSettlements } from './card-settlements';
|
|
37
|
+
import * as CardTokensAPI from './card-tokens';
|
|
38
|
+
import { CardTokenCreateParams, CardTokens } from './card-tokens';
|
|
37
39
|
import * as CheckDepositsAPI from './check-deposits';
|
|
38
40
|
import { CheckDeposits } from './check-deposits';
|
|
39
41
|
import * as CheckTransfersAPI from './check-transfers';
|
|
@@ -137,6 +139,7 @@ export class Simulations extends APIResource {
|
|
|
137
139
|
this._client,
|
|
138
140
|
);
|
|
139
141
|
documents: DocumentsAPI.Documents = new DocumentsAPI.Documents(this._client);
|
|
142
|
+
cardTokens: CardTokensAPI.CardTokens = new CardTokensAPI.CardTokens(this._client);
|
|
140
143
|
}
|
|
141
144
|
|
|
142
145
|
Simulations.InterestPayments = InterestPayments;
|
|
@@ -167,6 +170,7 @@ Simulations.InboundMailItems = InboundMailItems;
|
|
|
167
170
|
Simulations.Programs = Programs;
|
|
168
171
|
Simulations.AccountStatements = AccountStatements;
|
|
169
172
|
Simulations.Documents = Documents;
|
|
173
|
+
Simulations.CardTokens = CardTokens;
|
|
170
174
|
|
|
171
175
|
export declare namespace Simulations {
|
|
172
176
|
export {
|
|
@@ -279,4 +283,6 @@ export declare namespace Simulations {
|
|
|
279
283
|
};
|
|
280
284
|
|
|
281
285
|
export { Documents as Documents, type DocumentCreateParams as DocumentCreateParams };
|
|
286
|
+
|
|
287
|
+
export { CardTokens as CardTokens, type CardTokenCreateParams as CardTokenCreateParams };
|
|
282
288
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.262.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.262.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.262.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|