increase 0.28.0 → 0.29.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 +27 -0
- package/README.md +2 -2
- package/core.d.ts.map +1 -1
- package/core.js +2 -1
- package/core.js.map +1 -1
- package/core.mjs +2 -1
- package/core.mjs.map +1 -1
- package/error.d.ts +5 -5
- package/error.d.ts.map +1 -1
- package/error.js +9 -9
- package/error.js.map +1 -1
- package/error.mjs +6 -6
- package/error.mjs.map +1 -1
- package/index.d.mts +21 -9
- package/index.d.ts +21 -9
- package/index.d.ts.map +1 -1
- package/index.js +10 -7
- package/index.js.map +1 -1
- package/index.mjs +9 -6
- package/index.mjs.map +1 -1
- package/package.json +4 -1
- package/resources/account-numbers.d.ts +13 -14
- package/resources/account-numbers.d.ts.map +1 -1
- package/resources/account-numbers.js.map +1 -1
- package/resources/account-numbers.mjs.map +1 -1
- package/resources/account-transfers.d.ts +11 -12
- package/resources/account-transfers.d.ts.map +1 -1
- package/resources/account-transfers.js.map +1 -1
- package/resources/account-transfers.mjs.map +1 -1
- package/resources/accounts.d.ts +13 -0
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.js.map +1 -1
- package/resources/accounts.mjs.map +1 -1
- package/resources/ach-prenotifications.d.ts +13 -0
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-prenotifications.js.map +1 -1
- package/resources/ach-prenotifications.mjs.map +1 -1
- package/resources/ach-transfers.d.ts +172 -12
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/ach-transfers.js.map +1 -1
- package/resources/ach-transfers.mjs.map +1 -1
- package/resources/bookkeeping-accounts.d.ts +13 -0
- package/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/resources/bookkeeping-accounts.js.map +1 -1
- package/resources/bookkeeping-accounts.mjs.map +1 -1
- package/resources/bookkeeping-entry-sets.d.ts +13 -0
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/resources/bookkeeping-entry-sets.js.map +1 -1
- package/resources/bookkeeping-entry-sets.mjs.map +1 -1
- package/resources/card-disputes.d.ts +13 -0
- package/resources/card-disputes.d.ts.map +1 -1
- package/resources/card-disputes.js.map +1 -1
- package/resources/card-disputes.mjs.map +1 -1
- package/resources/cards.d.ts +17 -4
- package/resources/cards.d.ts.map +1 -1
- package/resources/cards.js.map +1 -1
- package/resources/cards.mjs.map +1 -1
- package/resources/check-deposits.d.ts +16 -2
- package/resources/check-deposits.d.ts.map +1 -1
- package/resources/check-deposits.js.map +1 -1
- package/resources/check-deposits.mjs.map +1 -1
- package/resources/check-transfers.d.ts +11 -12
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +4 -1
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/digital-card-profiles.d.ts +268 -0
- package/resources/digital-card-profiles.d.ts.map +1 -0
- package/resources/digital-card-profiles.js +71 -0
- package/resources/digital-card-profiles.js.map +1 -0
- package/resources/digital-card-profiles.mjs +43 -0
- package/resources/digital-card-profiles.mjs.map +1 -0
- package/resources/entities/entities.d.ts +19 -0
- package/resources/entities/entities.d.ts.map +1 -1
- package/resources/entities/entities.js.map +1 -1
- package/resources/entities/entities.mjs.map +1 -1
- package/resources/entities/supplemental-documents.d.ts +13 -0
- package/resources/entities/supplemental-documents.d.ts.map +1 -1
- package/resources/entities/supplemental-documents.js.map +1 -1
- package/resources/entities/supplemental-documents.mjs.map +1 -1
- package/resources/event-subscriptions.d.ts +13 -0
- package/resources/event-subscriptions.d.ts.map +1 -1
- package/resources/event-subscriptions.js.map +1 -1
- package/resources/event-subscriptions.mjs.map +1 -1
- package/resources/exports.d.ts +6 -0
- package/resources/exports.d.ts.map +1 -1
- package/resources/exports.js.map +1 -1
- package/resources/exports.mjs.map +1 -1
- package/resources/external-accounts.d.ts +36 -0
- package/resources/external-accounts.d.ts.map +1 -1
- package/resources/external-accounts.js.map +1 -1
- package/resources/external-accounts.mjs.map +1 -1
- package/resources/files.d.ts +13 -0
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js.map +1 -1
- package/resources/files.mjs.map +1 -1
- package/resources/inbound-ach-transfers.d.ts +4 -0
- package/resources/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.js.map +1 -1
- package/resources/inbound-ach-transfers.mjs.map +1 -1
- package/resources/inbound-wire-transfers.d.ts +4 -0
- package/resources/inbound-wire-transfers.d.ts.map +1 -1
- package/resources/inbound-wire-transfers.js.map +1 -1
- package/resources/inbound-wire-transfers.mjs.map +1 -1
- package/resources/index.d.ts +3 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +8 -5
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -2
- package/resources/index.mjs.map +1 -1
- package/resources/intrafi/account-enrollments.d.ts +13 -0
- package/resources/intrafi/account-enrollments.d.ts.map +1 -1
- package/resources/intrafi/account-enrollments.js.map +1 -1
- package/resources/intrafi/account-enrollments.mjs.map +1 -1
- package/resources/intrafi/exclusions.d.ts +13 -0
- package/resources/intrafi/exclusions.d.ts.map +1 -1
- package/resources/intrafi/exclusions.js.map +1 -1
- package/resources/intrafi/exclusions.mjs.map +1 -1
- package/resources/physical-card-profiles.d.ts +166 -0
- package/resources/physical-card-profiles.d.ts.map +1 -0
- package/resources/{card-profiles.js → physical-card-profiles.js} +27 -18
- package/resources/physical-card-profiles.js.map +1 -0
- package/resources/physical-card-profiles.mjs +46 -0
- package/resources/physical-card-profiles.mjs.map +1 -0
- package/resources/physical-cards.d.ts +17 -4
- package/resources/physical-cards.d.ts.map +1 -1
- package/resources/physical-cards.js.map +1 -1
- package/resources/physical-cards.mjs.map +1 -1
- package/resources/programs.d.ts +4 -0
- package/resources/programs.d.ts.map +1 -1
- package/resources/programs.js.map +1 -1
- package/resources/programs.mjs.map +1 -1
- package/resources/proof-of-authorization-request-submissions.d.ts +13 -0
- package/resources/proof-of-authorization-request-submissions.d.ts.map +1 -1
- package/resources/proof-of-authorization-request-submissions.js.map +1 -1
- package/resources/proof-of-authorization-request-submissions.mjs.map +1 -1
- package/resources/real-time-decisions.d.ts +6 -1
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-decisions.js.map +1 -1
- package/resources/real-time-decisions.mjs.map +1 -1
- package/resources/real-time-payments-request-for-payments.d.ts +13 -0
- package/resources/real-time-payments-request-for-payments.d.ts.map +1 -1
- package/resources/real-time-payments-request-for-payments.js.map +1 -1
- package/resources/real-time-payments-request-for-payments.mjs.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +11 -12
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/cards.d.ts +4 -1
- package/resources/simulations/cards.d.ts.map +1 -1
- package/resources/simulations/cards.js.map +1 -1
- package/resources/simulations/cards.mjs.map +1 -1
- package/resources/simulations/index.d.ts +2 -3
- package/resources/simulations/index.d.ts.map +1 -1
- package/resources/simulations/index.js +1 -3
- package/resources/simulations/index.js.map +1 -1
- package/resources/simulations/index.mjs +2 -3
- package/resources/simulations/index.mjs.map +1 -1
- package/resources/simulations/interest-payments.d.ts +2 -2745
- package/resources/simulations/interest-payments.d.ts.map +1 -1
- package/resources/simulations/interest-payments.js.map +1 -1
- package/resources/simulations/interest-payments.mjs.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +6 -2
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/simulations.d.ts +74 -4
- package/resources/simulations/simulations.d.ts.map +1 -1
- package/resources/simulations/simulations.js +30 -3
- package/resources/simulations/simulations.js.map +1 -1
- package/resources/simulations/simulations.mjs +30 -3
- package/resources/simulations/simulations.mjs.map +1 -1
- package/resources/transactions.d.ts +2 -1
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs.map +1 -1
- package/resources/wire-drawdown-requests.d.ts +6 -0
- package/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/resources/wire-drawdown-requests.js.map +1 -1
- package/resources/wire-drawdown-requests.mjs.map +1 -1
- package/resources/wire-transfers.d.ts +11 -12
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/core.ts +3 -1
- package/src/error.ts +11 -11
- package/src/index.ts +23 -10
- package/src/resources/account-numbers.ts +15 -17
- package/src/resources/account-transfers.ts +12 -14
- package/src/resources/accounts.ts +15 -0
- package/src/resources/ach-prenotifications.ts +15 -0
- package/src/resources/ach-transfers.ts +190 -13
- package/src/resources/bookkeeping-accounts.ts +16 -1
- package/src/resources/bookkeeping-entry-sets.ts +15 -0
- package/src/resources/card-disputes.ts +15 -0
- package/src/resources/cards.ts +20 -5
- package/src/resources/check-deposits.ts +18 -1
- package/src/resources/check-transfers.ts +12 -14
- package/src/resources/declined-transactions.ts +6 -1
- package/src/resources/digital-card-profiles.ts +348 -0
- package/src/resources/entities/entities.ts +22 -0
- package/src/resources/entities/supplemental-documents.ts +15 -0
- package/src/resources/event-subscriptions.ts +16 -1
- package/src/resources/exports.ts +7 -0
- package/src/resources/external-accounts.ts +41 -0
- package/src/resources/files.ts +15 -0
- package/src/resources/inbound-ach-transfers.ts +5 -0
- package/src/resources/inbound-wire-transfers.ts +5 -0
- package/src/resources/index.ts +23 -8
- package/src/resources/intrafi/account-enrollments.ts +15 -0
- package/src/resources/intrafi/exclusions.ts +15 -0
- package/src/resources/physical-card-profiles.ts +241 -0
- package/src/resources/physical-cards.ts +20 -5
- package/src/resources/programs.ts +5 -0
- package/src/resources/proof-of-authorization-request-submissions.ts +15 -0
- package/src/resources/real-time-decisions.ts +7 -1
- package/src/resources/real-time-payments-request-for-payments.ts +15 -0
- package/src/resources/real-time-payments-transfers.ts +12 -14
- package/src/resources/simulations/cards.ts +6 -1
- package/src/resources/simulations/index.ts +8 -7
- package/src/resources/simulations/interest-payments.ts +2 -3453
- package/src/resources/simulations/real-time-payments-transfers.ts +8 -1
- package/src/resources/simulations/simulations.ts +106 -4
- package/src/resources/transactions.ts +2 -0
- package/src/resources/wire-drawdown-requests.ts +7 -0
- package/src/resources/wire-transfers.ts +12 -14
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/card-profiles.d.ts +0 -287
- package/resources/card-profiles.d.ts.map +0 -1
- package/resources/card-profiles.js.map +0 -1
- package/resources/card-profiles.mjs +0 -37
- package/resources/card-profiles.mjs.map +0 -1
- package/resources/simulations/card-profiles.d.ts +0 -14
- package/resources/simulations/card-profiles.d.ts.map +0 -1
- package/resources/simulations/card-profiles.js +0 -19
- package/resources/simulations/card-profiles.js.map +0 -1
- package/resources/simulations/card-profiles.mjs +0 -15
- package/resources/simulations/card-profiles.mjs.map +0 -1
- package/src/resources/card-profiles.ts +0 -365
- package/src/resources/simulations/card-profiles.ts +0 -21
|
@@ -82,6 +82,13 @@ export interface IntrafiExclusion {
|
|
|
82
82
|
*/
|
|
83
83
|
fdic_certificate_number: string | null;
|
|
84
84
|
|
|
85
|
+
/**
|
|
86
|
+
* The idempotency key you chose for this object. This value is unique across
|
|
87
|
+
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
88
|
+
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
89
|
+
*/
|
|
90
|
+
idempotency_key: string | null;
|
|
91
|
+
|
|
85
92
|
/**
|
|
86
93
|
* The status of the exclusion request.
|
|
87
94
|
*
|
|
@@ -120,6 +127,14 @@ export interface ExclusionListParams extends PageParams {
|
|
|
120
127
|
* Filter IntraFi Exclusions for those belonging to the specified Entity.
|
|
121
128
|
*/
|
|
122
129
|
entity_id?: string;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
133
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
134
|
+
* request is only processed once. Learn more about
|
|
135
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
136
|
+
*/
|
|
137
|
+
idempotency_key?: string;
|
|
123
138
|
}
|
|
124
139
|
|
|
125
140
|
export namespace Exclusions {
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
2
|
+
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import { isRequestOptions } from "../core";
|
|
6
|
+
import * as PhysicalCardProfilesAPI from "./physical-card-profiles";
|
|
7
|
+
import { Page, type PageParams } from "../pagination";
|
|
8
|
+
|
|
9
|
+
export class PhysicalCardProfiles extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Create a Physical Card Profile
|
|
12
|
+
*/
|
|
13
|
+
create(
|
|
14
|
+
body: PhysicalCardProfileCreateParams,
|
|
15
|
+
options?: Core.RequestOptions,
|
|
16
|
+
): Core.APIPromise<PhysicalCardProfile> {
|
|
17
|
+
return this._client.post('/physical_card_profiles', { body, ...options });
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Retrieve a Card Profile
|
|
22
|
+
*/
|
|
23
|
+
retrieve(
|
|
24
|
+
physicalCardProfileId: string,
|
|
25
|
+
options?: Core.RequestOptions,
|
|
26
|
+
): Core.APIPromise<PhysicalCardProfile> {
|
|
27
|
+
return this._client.get(`/physical_card_profiles/${physicalCardProfileId}`, options);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* List Physical Card Profiles
|
|
32
|
+
*/
|
|
33
|
+
list(
|
|
34
|
+
query?: PhysicalCardProfileListParams,
|
|
35
|
+
options?: Core.RequestOptions,
|
|
36
|
+
): Core.PagePromise<PhysicalCardProfilesPage, PhysicalCardProfile>;
|
|
37
|
+
list(options?: Core.RequestOptions): Core.PagePromise<PhysicalCardProfilesPage, PhysicalCardProfile>;
|
|
38
|
+
list(
|
|
39
|
+
query: PhysicalCardProfileListParams | Core.RequestOptions = {},
|
|
40
|
+
options?: Core.RequestOptions,
|
|
41
|
+
): Core.PagePromise<PhysicalCardProfilesPage, PhysicalCardProfile> {
|
|
42
|
+
if (isRequestOptions(query)) {
|
|
43
|
+
return this.list({}, query);
|
|
44
|
+
}
|
|
45
|
+
return this._client.getAPIList('/physical_card_profiles', PhysicalCardProfilesPage, {
|
|
46
|
+
query,
|
|
47
|
+
...options,
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Archive a Physical Card Profile
|
|
53
|
+
*/
|
|
54
|
+
archive(
|
|
55
|
+
physicalCardProfileId: string,
|
|
56
|
+
options?: Core.RequestOptions,
|
|
57
|
+
): Core.APIPromise<PhysicalCardProfile> {
|
|
58
|
+
return this._client.post(`/physical_card_profiles/${physicalCardProfileId}/archive`, options);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Clone a Physical Card Profile
|
|
63
|
+
*/
|
|
64
|
+
clone(
|
|
65
|
+
physicalCardProfileId: string,
|
|
66
|
+
body: PhysicalCardProfileCloneParams,
|
|
67
|
+
options?: Core.RequestOptions,
|
|
68
|
+
): Core.APIPromise<PhysicalCardProfile> {
|
|
69
|
+
return this._client.post(`/physical_card_profiles/${physicalCardProfileId}/clone`, { body, ...options });
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export class PhysicalCardProfilesPage extends Page<PhysicalCardProfile> {}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* This contains artwork and metadata relating to a Physical Card's appearance. For
|
|
77
|
+
* more information, see our guide on
|
|
78
|
+
* [physical card artwork](https://increase.com/documentation/card-art-physical-cards).
|
|
79
|
+
*/
|
|
80
|
+
export interface PhysicalCardProfile {
|
|
81
|
+
/**
|
|
82
|
+
* The Card Profile identifier.
|
|
83
|
+
*/
|
|
84
|
+
id: string;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* The identifier of the File containing the physical card's back image.
|
|
88
|
+
*/
|
|
89
|
+
back_image_file_id: string | null;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* The identifier of the File containing the physical card's carrier image.
|
|
93
|
+
*/
|
|
94
|
+
carrier_image_file_id: string | null;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* A phone number the user can contact to receive support for their card.
|
|
98
|
+
*/
|
|
99
|
+
contact_phone: string | null;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
103
|
+
* the Card Dispute was created.
|
|
104
|
+
*/
|
|
105
|
+
created_at: string;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* The creator of this Physical Card Profile.
|
|
109
|
+
*
|
|
110
|
+
* - `increase` - This Physical Card Profile was created by Increase.
|
|
111
|
+
* - `user` - This Physical Card Profile was created by you.
|
|
112
|
+
*/
|
|
113
|
+
creator: 'increase' | 'user';
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* A description you can use to identify the Physical Card Profile.
|
|
117
|
+
*/
|
|
118
|
+
description: string;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* The identifier of the File containing the physical card's front image.
|
|
122
|
+
*/
|
|
123
|
+
front_image_file_id: string | null;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* The idempotency key you chose for this object. This value is unique across
|
|
127
|
+
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
128
|
+
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
129
|
+
*/
|
|
130
|
+
idempotency_key: string | null;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Whether this Physical Card Profile is the default for all cards in its Increase
|
|
134
|
+
* group.
|
|
135
|
+
*/
|
|
136
|
+
is_default: boolean;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* The status of the Physical Card Profile.
|
|
140
|
+
*
|
|
141
|
+
* - `pending_creating` - The Card Profile has not yet been processed by Increase.
|
|
142
|
+
* - `pending_reviewing` - The card profile is awaiting review by Increase.
|
|
143
|
+
* - `rejected` - There is an issue with the Physical Card Profile preventing it
|
|
144
|
+
* from use.
|
|
145
|
+
* - `pending_submitting` - The card profile is awaiting submission to the
|
|
146
|
+
* fulfillment provider.
|
|
147
|
+
* - `active` - The Physical Card Profile has been submitted to the fulfillment
|
|
148
|
+
* provider and is ready to use.
|
|
149
|
+
* - `archived` - The Physical Card Profile has been archived.
|
|
150
|
+
*/
|
|
151
|
+
status:
|
|
152
|
+
| 'pending_creating'
|
|
153
|
+
| 'pending_reviewing'
|
|
154
|
+
| 'rejected'
|
|
155
|
+
| 'pending_submitting'
|
|
156
|
+
| 'active'
|
|
157
|
+
| 'archived';
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* A constant representing the object's type. For this resource it will always be
|
|
161
|
+
* `physical_card_profile`.
|
|
162
|
+
*/
|
|
163
|
+
type: 'physical_card_profile';
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export interface PhysicalCardProfileCreateParams {
|
|
167
|
+
/**
|
|
168
|
+
* The identifier of the File containing the physical card's carrier image.
|
|
169
|
+
*/
|
|
170
|
+
carrier_image_file_id: string;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* A phone number the user can contact to receive support for their card.
|
|
174
|
+
*/
|
|
175
|
+
contact_phone: string;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* A description you can use to identify the Card Profile.
|
|
179
|
+
*/
|
|
180
|
+
description: string;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* The identifier of the File containing the physical card's front image.
|
|
184
|
+
*/
|
|
185
|
+
front_image_file_id: string;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export interface PhysicalCardProfileListParams extends PageParams {
|
|
189
|
+
/**
|
|
190
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
191
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
192
|
+
* request is only processed once. Learn more about
|
|
193
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
194
|
+
*/
|
|
195
|
+
idempotency_key?: string;
|
|
196
|
+
|
|
197
|
+
status?: PhysicalCardProfileListParams.Status;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export namespace PhysicalCardProfileListParams {
|
|
201
|
+
export interface Status {
|
|
202
|
+
/**
|
|
203
|
+
* Filter Physical Card Profiles for those with the specified statuses. For GET
|
|
204
|
+
* requests, this should be encoded as a comma-delimited string, such as
|
|
205
|
+
* `?in=one,two,three`.
|
|
206
|
+
*/
|
|
207
|
+
in?: Array<
|
|
208
|
+
'pending_creating' | 'pending_reviewing' | 'rejected' | 'pending_submitting' | 'active' | 'archived'
|
|
209
|
+
>;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export interface PhysicalCardProfileCloneParams {
|
|
214
|
+
/**
|
|
215
|
+
* The identifier of the File containing the physical card's carrier image.
|
|
216
|
+
*/
|
|
217
|
+
carrier_image_file_id?: string;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* A phone number the user can contact to receive support for their card.
|
|
221
|
+
*/
|
|
222
|
+
contact_phone?: string;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* A description you can use to identify the Card Profile.
|
|
226
|
+
*/
|
|
227
|
+
description?: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* The identifier of the File containing the physical card's front image.
|
|
231
|
+
*/
|
|
232
|
+
front_image_file_id?: string;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export namespace PhysicalCardProfiles {
|
|
236
|
+
export import PhysicalCardProfile = PhysicalCardProfilesAPI.PhysicalCardProfile;
|
|
237
|
+
export import PhysicalCardProfilesPage = PhysicalCardProfilesAPI.PhysicalCardProfilesPage;
|
|
238
|
+
export import PhysicalCardProfileCreateParams = PhysicalCardProfilesAPI.PhysicalCardProfileCreateParams;
|
|
239
|
+
export import PhysicalCardProfileListParams = PhysicalCardProfilesAPI.PhysicalCardProfileListParams;
|
|
240
|
+
export import PhysicalCardProfileCloneParams = PhysicalCardProfilesAPI.PhysicalCardProfileCloneParams;
|
|
241
|
+
}
|
|
@@ -87,6 +87,18 @@ export interface PhysicalCard {
|
|
|
87
87
|
*/
|
|
88
88
|
created_at: string;
|
|
89
89
|
|
|
90
|
+
/**
|
|
91
|
+
* The idempotency key you chose for this object. This value is unique across
|
|
92
|
+
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
93
|
+
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
94
|
+
*/
|
|
95
|
+
idempotency_key: string | null;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* The Physical Card Profile used for this Physical Card.
|
|
99
|
+
*/
|
|
100
|
+
physical_card_profile_id: string | null;
|
|
101
|
+
|
|
90
102
|
/**
|
|
91
103
|
* The details used to ship this physical card.
|
|
92
104
|
*/
|
|
@@ -241,11 +253,6 @@ export interface PhysicalCardCreateParams {
|
|
|
241
253
|
*/
|
|
242
254
|
card_id: string;
|
|
243
255
|
|
|
244
|
-
/**
|
|
245
|
-
* The card profile to use for this physical card.
|
|
246
|
-
*/
|
|
247
|
-
card_profile_id: string;
|
|
248
|
-
|
|
249
256
|
/**
|
|
250
257
|
* Details about the cardholder, as it will appear on the physical card.
|
|
251
258
|
*/
|
|
@@ -363,6 +370,14 @@ export interface PhysicalCardListParams extends PageParams {
|
|
|
363
370
|
card_id?: string;
|
|
364
371
|
|
|
365
372
|
created_at?: PhysicalCardListParams.CreatedAt;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
376
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
377
|
+
* request is only processed once. Learn more about
|
|
378
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
379
|
+
*/
|
|
380
|
+
idempotency_key?: string;
|
|
366
381
|
}
|
|
367
382
|
|
|
368
383
|
export namespace PhysicalCardListParams {
|
|
@@ -105,6 +105,13 @@ export interface ProofOfAuthorizationRequestSubmission {
|
|
|
105
105
|
*/
|
|
106
106
|
created_at: string;
|
|
107
107
|
|
|
108
|
+
/**
|
|
109
|
+
* The idempotency key you chose for this object. This value is unique across
|
|
110
|
+
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
111
|
+
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
112
|
+
*/
|
|
113
|
+
idempotency_key: string | null;
|
|
114
|
+
|
|
108
115
|
/**
|
|
109
116
|
* ID of the proof of authorization request.
|
|
110
117
|
*/
|
|
@@ -172,6 +179,14 @@ export interface ProofOfAuthorizationRequestSubmissionCreateParams {
|
|
|
172
179
|
}
|
|
173
180
|
|
|
174
181
|
export interface ProofOfAuthorizationRequestSubmissionListParams extends PageParams {
|
|
182
|
+
/**
|
|
183
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
184
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
185
|
+
* request is only processed once. Learn more about
|
|
186
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
187
|
+
*/
|
|
188
|
+
idempotency_key?: string;
|
|
189
|
+
|
|
175
190
|
/**
|
|
176
191
|
* ID of the proof of authorization request.
|
|
177
192
|
*/
|
|
@@ -646,7 +646,13 @@ export namespace RealTimeDecisionActionParams {
|
|
|
646
646
|
/**
|
|
647
647
|
* The identifier of the Card Profile to assign to the Digital Wallet token.
|
|
648
648
|
*/
|
|
649
|
-
card_profile_id
|
|
649
|
+
card_profile_id?: string;
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* The identifier of the Digital Card Profile to assign to the Digital Wallet
|
|
653
|
+
* token.
|
|
654
|
+
*/
|
|
655
|
+
digital_card_profile_id?: string;
|
|
650
656
|
|
|
651
657
|
/**
|
|
652
658
|
* An email address that can be used to verify the cardholder via one-time
|
|
@@ -115,6 +115,13 @@ export interface RealTimePaymentsRequestForPayment {
|
|
|
115
115
|
*/
|
|
116
116
|
fulfillment_transaction_id: string | null;
|
|
117
117
|
|
|
118
|
+
/**
|
|
119
|
+
* The idempotency key you chose for this object. This value is unique across
|
|
120
|
+
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
121
|
+
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
122
|
+
*/
|
|
123
|
+
idempotency_key: string | null;
|
|
124
|
+
|
|
118
125
|
/**
|
|
119
126
|
* If the request for payment is refused by the destination financial institution
|
|
120
127
|
* or the receiving customer, this will contain supplemental details.
|
|
@@ -412,6 +419,14 @@ export interface RealTimePaymentsRequestForPaymentListParams extends PageParams
|
|
|
412
419
|
account_id?: string;
|
|
413
420
|
|
|
414
421
|
created_at?: RealTimePaymentsRequestForPaymentListParams.CreatedAt;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
425
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
426
|
+
* request is only processed once. Learn more about
|
|
427
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
428
|
+
*/
|
|
429
|
+
idempotency_key?: string;
|
|
415
430
|
}
|
|
416
431
|
|
|
417
432
|
export namespace RealTimePaymentsRequestForPaymentListParams {
|
|
@@ -131,6 +131,13 @@ export interface RealTimePaymentsTransfer {
|
|
|
131
131
|
*/
|
|
132
132
|
external_account_id: string | null;
|
|
133
133
|
|
|
134
|
+
/**
|
|
135
|
+
* The idempotency key you chose for this object. This value is unique across
|
|
136
|
+
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
137
|
+
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
138
|
+
*/
|
|
139
|
+
idempotency_key: string | null;
|
|
140
|
+
|
|
134
141
|
/**
|
|
135
142
|
* The ID for the pending transaction representing the transfer. A pending
|
|
136
143
|
* transaction is created when the transfer
|
|
@@ -204,11 +211,6 @@ export interface RealTimePaymentsTransfer {
|
|
|
204
211
|
* The name of the the party on whose behalf the debtor is instructing the payment.
|
|
205
212
|
*/
|
|
206
213
|
ultimate_debtor_name: string | null;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* The unique identifier you chose for this object.
|
|
210
|
-
*/
|
|
211
|
-
unique_identifier: string | null;
|
|
212
214
|
}
|
|
213
215
|
|
|
214
216
|
export namespace RealTimePaymentsTransfer {
|
|
@@ -420,13 +422,6 @@ export interface RealTimePaymentsTransferCreateParams {
|
|
|
420
422
|
* The name of the the party on whose behalf the debtor is instructing the payment.
|
|
421
423
|
*/
|
|
422
424
|
ultimate_debtor_name?: string;
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* A unique identifier you choose for the transfer. Reusing this identifier for
|
|
426
|
-
* another transfer will result in an error. You can query for the transfer
|
|
427
|
-
* associated with this identifier using the List endpoint.
|
|
428
|
-
*/
|
|
429
|
-
unique_identifier?: string;
|
|
430
425
|
}
|
|
431
426
|
|
|
432
427
|
export interface RealTimePaymentsTransferListParams extends PageParams {
|
|
@@ -444,9 +439,12 @@ export interface RealTimePaymentsTransferListParams extends PageParams {
|
|
|
444
439
|
external_account_id?: string;
|
|
445
440
|
|
|
446
441
|
/**
|
|
447
|
-
* Filter records to the one with the specified `
|
|
442
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
443
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
444
|
+
* request is only processed once. Learn more about
|
|
445
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
448
446
|
*/
|
|
449
|
-
|
|
447
|
+
idempotency_key?: string;
|
|
450
448
|
}
|
|
451
449
|
|
|
452
450
|
export namespace RealTimePaymentsTransferListParams {
|
|
@@ -738,6 +738,9 @@ export namespace CardAuthorizationSimulation {
|
|
|
738
738
|
* Increase.
|
|
739
739
|
* - `no_account_number_found` - The account number on the check does not exist at
|
|
740
740
|
* Increase.
|
|
741
|
+
* - `refer_to_image` - The check is not readable. Please refer to the image.
|
|
742
|
+
* - `unable_to_process` - The check cannot be processed. This is rare: please
|
|
743
|
+
* contact support.
|
|
741
744
|
*/
|
|
742
745
|
reason:
|
|
743
746
|
| 'ach_route_disabled'
|
|
@@ -751,7 +754,9 @@ export namespace CardAuthorizationSimulation {
|
|
|
751
754
|
| 'not_authorized'
|
|
752
755
|
| 'amount_mismatch'
|
|
753
756
|
| 'not_our_item'
|
|
754
|
-
| 'no_account_number_found'
|
|
757
|
+
| 'no_account_number_found'
|
|
758
|
+
| 'refer_to_image'
|
|
759
|
+
| 'unable_to_process';
|
|
755
760
|
}
|
|
756
761
|
|
|
757
762
|
/**
|
|
@@ -5,7 +5,6 @@ export { AccountStatementCreateParams, AccountStatements } from './account-state
|
|
|
5
5
|
export { AccountTransfers } from './account-transfers';
|
|
6
6
|
export { CardAuthorizationSimulation, CardAuthorizeParams, CardSettlementParams, Cards } from './cards';
|
|
7
7
|
export { CardDisputeActionParams, CardDisputes } from './card-disputes';
|
|
8
|
-
export { CardProfiles } from './card-profiles';
|
|
9
8
|
export { CardRefundCreateParams, CardRefunds } from './card-refunds';
|
|
10
9
|
export { CheckDeposits } from './check-deposits';
|
|
11
10
|
export { CheckTransfers } from './check-transfers';
|
|
@@ -26,12 +25,14 @@ export {
|
|
|
26
25
|
InboundWireDrawdownRequestCreateParams,
|
|
27
26
|
InboundWireDrawdownRequests,
|
|
28
27
|
} from './inbound-wire-drawdown-requests';
|
|
29
|
-
export {
|
|
30
|
-
InterestPaymentSimulationResult,
|
|
31
|
-
InterestPaymentCreateParams,
|
|
32
|
-
InterestPayments,
|
|
33
|
-
} from './interest-payments';
|
|
28
|
+
export { InterestPaymentCreateParams, InterestPayments } from './interest-payments';
|
|
34
29
|
export { PhysicalCardShipmentAdvanceParams, PhysicalCards } from './physical-cards';
|
|
35
30
|
export { ProgramCreateParams, Programs } from './programs';
|
|
36
|
-
export {
|
|
31
|
+
export {
|
|
32
|
+
SimulationCardAuthorizationExpirationsParams,
|
|
33
|
+
SimulationCardFuelConfirmationsParams,
|
|
34
|
+
SimulationCardIncrementsParams,
|
|
35
|
+
SimulationCardReversalsParams,
|
|
36
|
+
Simulations,
|
|
37
|
+
} from './simulations';
|
|
37
38
|
export { WireTransferCreateInboundParams, WireTransfers } from './wire-transfers';
|