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
|
@@ -0,0 +1,348 @@
|
|
|
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 DigitalCardProfilesAPI from "./digital-card-profiles";
|
|
7
|
+
import { Page, type PageParams } from "../pagination";
|
|
8
|
+
|
|
9
|
+
export class DigitalCardProfiles extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Create a Digital Card Profile
|
|
12
|
+
*/
|
|
13
|
+
create(
|
|
14
|
+
body: DigitalCardProfileCreateParams,
|
|
15
|
+
options?: Core.RequestOptions,
|
|
16
|
+
): Core.APIPromise<DigitalCardProfile> {
|
|
17
|
+
return this._client.post('/digital_card_profiles', { body, ...options });
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Retrieve a Digital Card Profile
|
|
22
|
+
*/
|
|
23
|
+
retrieve(digitalCardProfileId: string, options?: Core.RequestOptions): Core.APIPromise<DigitalCardProfile> {
|
|
24
|
+
return this._client.get(`/digital_card_profiles/${digitalCardProfileId}`, options);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* List Card Profiles
|
|
29
|
+
*/
|
|
30
|
+
list(
|
|
31
|
+
query?: DigitalCardProfileListParams,
|
|
32
|
+
options?: Core.RequestOptions,
|
|
33
|
+
): Core.PagePromise<DigitalCardProfilesPage, DigitalCardProfile>;
|
|
34
|
+
list(options?: Core.RequestOptions): Core.PagePromise<DigitalCardProfilesPage, DigitalCardProfile>;
|
|
35
|
+
list(
|
|
36
|
+
query: DigitalCardProfileListParams | Core.RequestOptions = {},
|
|
37
|
+
options?: Core.RequestOptions,
|
|
38
|
+
): Core.PagePromise<DigitalCardProfilesPage, DigitalCardProfile> {
|
|
39
|
+
if (isRequestOptions(query)) {
|
|
40
|
+
return this.list({}, query);
|
|
41
|
+
}
|
|
42
|
+
return this._client.getAPIList('/digital_card_profiles', DigitalCardProfilesPage, { query, ...options });
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Archive a Digital Card Profile
|
|
47
|
+
*/
|
|
48
|
+
archive(digitalCardProfileId: string, options?: Core.RequestOptions): Core.APIPromise<DigitalCardProfile> {
|
|
49
|
+
return this._client.post(`/digital_card_profiles/${digitalCardProfileId}/archive`, options);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Clones a Digital Card Profile
|
|
54
|
+
*/
|
|
55
|
+
clone(
|
|
56
|
+
digitalCardProfileId: string,
|
|
57
|
+
body: DigitalCardProfileCloneParams,
|
|
58
|
+
options?: Core.RequestOptions,
|
|
59
|
+
): Core.APIPromise<DigitalCardProfile> {
|
|
60
|
+
return this._client.post(`/digital_card_profiles/${digitalCardProfileId}/clone`, { body, ...options });
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export class DigitalCardProfilesPage extends Page<DigitalCardProfile> {}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* This contains artwork and metadata relating to a Card's appearance in digital
|
|
68
|
+
* wallet apps like Apple Pay and Google Pay. For more information, see our guide
|
|
69
|
+
* on [digital card artwork](https://increase.com/documentation/card-art).
|
|
70
|
+
*/
|
|
71
|
+
export interface DigitalCardProfile {
|
|
72
|
+
/**
|
|
73
|
+
* The Card Profile identifier.
|
|
74
|
+
*/
|
|
75
|
+
id: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* The identifier of the File containing the card's icon image.
|
|
79
|
+
*/
|
|
80
|
+
app_icon_file_id: string;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* The identifier of the File containing the card's front image.
|
|
84
|
+
*/
|
|
85
|
+
background_image_file_id: string;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* A user-facing description for the card itself.
|
|
89
|
+
*/
|
|
90
|
+
card_description: string;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* An email address the user can contact to receive support for their card.
|
|
94
|
+
*/
|
|
95
|
+
contact_email: string | null;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* A phone number the user can contact to receive support for their card.
|
|
99
|
+
*/
|
|
100
|
+
contact_phone: string | null;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* A website the user can visit to view and receive support for their card.
|
|
104
|
+
*/
|
|
105
|
+
contact_website: string | null;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
109
|
+
* the Card Dispute was created.
|
|
110
|
+
*/
|
|
111
|
+
created_at: string;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* A description you can use to identify the Card Profile.
|
|
115
|
+
*/
|
|
116
|
+
description: string;
|
|
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
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Whether this Digital Card Profile is the default for all cards in its Increase
|
|
127
|
+
* group.
|
|
128
|
+
*/
|
|
129
|
+
is_default: boolean;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* A user-facing description for whoever is issuing the card.
|
|
133
|
+
*/
|
|
134
|
+
issuer_name: string;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* The status of the Card Profile.
|
|
138
|
+
*
|
|
139
|
+
* - `pending` - The Card Profile is awaiting review from Increase and/or
|
|
140
|
+
* processing by card networks.
|
|
141
|
+
* - `rejected` - There is an issue with the Card Profile preventing it from use.
|
|
142
|
+
* - `active` - The Card Profile can be assigned to Cards.
|
|
143
|
+
* - `archived` - The Card Profile is no longer in use.
|
|
144
|
+
*/
|
|
145
|
+
status: 'pending' | 'rejected' | 'active' | 'archived';
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* The Card's text color, specified as an RGB triple.
|
|
149
|
+
*/
|
|
150
|
+
text_color: DigitalCardProfile.TextColor;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* A constant representing the object's type. For this resource it will always be
|
|
154
|
+
* `digital_card_profile`.
|
|
155
|
+
*/
|
|
156
|
+
type: 'digital_card_profile';
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export namespace DigitalCardProfile {
|
|
160
|
+
/**
|
|
161
|
+
* The Card's text color, specified as an RGB triple.
|
|
162
|
+
*/
|
|
163
|
+
export interface TextColor {
|
|
164
|
+
/**
|
|
165
|
+
* The value of the blue channel in the RGB color.
|
|
166
|
+
*/
|
|
167
|
+
blue: number;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* The value of the green channel in the RGB color.
|
|
171
|
+
*/
|
|
172
|
+
green: number;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* The value of the red channel in the RGB color.
|
|
176
|
+
*/
|
|
177
|
+
red: number;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export interface DigitalCardProfileCreateParams {
|
|
182
|
+
/**
|
|
183
|
+
* The identifier of the File containing the card's icon image.
|
|
184
|
+
*/
|
|
185
|
+
app_icon_file_id: string;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* The identifier of the File containing the card's front image.
|
|
189
|
+
*/
|
|
190
|
+
background_image_file_id: string;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* A user-facing description for the card itself.
|
|
194
|
+
*/
|
|
195
|
+
card_description: string;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* A description you can use to identify the Card Profile.
|
|
199
|
+
*/
|
|
200
|
+
description: string;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* A user-facing description for whoever is issuing the card.
|
|
204
|
+
*/
|
|
205
|
+
issuer_name: string;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* An email address the user can contact to receive support for their card.
|
|
209
|
+
*/
|
|
210
|
+
contact_email?: string;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* A phone number the user can contact to receive support for their card.
|
|
214
|
+
*/
|
|
215
|
+
contact_phone?: string;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* A website the user can visit to view and receive support for their card.
|
|
219
|
+
*/
|
|
220
|
+
contact_website?: string;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* The Card's text color, specified as an RGB triple. The default is white.
|
|
224
|
+
*/
|
|
225
|
+
text_color?: DigitalCardProfileCreateParams.TextColor;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export namespace DigitalCardProfileCreateParams {
|
|
229
|
+
/**
|
|
230
|
+
* The Card's text color, specified as an RGB triple. The default is white.
|
|
231
|
+
*/
|
|
232
|
+
export interface TextColor {
|
|
233
|
+
/**
|
|
234
|
+
* The value of the blue channel in the RGB color.
|
|
235
|
+
*/
|
|
236
|
+
blue: number;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* The value of the green channel in the RGB color.
|
|
240
|
+
*/
|
|
241
|
+
green: number;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* The value of the red channel in the RGB color.
|
|
245
|
+
*/
|
|
246
|
+
red: number;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export interface DigitalCardProfileListParams extends PageParams {
|
|
251
|
+
/**
|
|
252
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
253
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
254
|
+
* request is only processed once. Learn more about
|
|
255
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
256
|
+
*/
|
|
257
|
+
idempotency_key?: string;
|
|
258
|
+
|
|
259
|
+
status?: DigitalCardProfileListParams.Status;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export namespace DigitalCardProfileListParams {
|
|
263
|
+
export interface Status {
|
|
264
|
+
/**
|
|
265
|
+
* Filter Digital Card Profiles for those with the specified digital wallet status
|
|
266
|
+
* or statuses. For GET requests, this should be encoded as a comma-delimited
|
|
267
|
+
* string, such as `?in=one,two,three`.
|
|
268
|
+
*/
|
|
269
|
+
in?: Array<'pending' | 'rejected' | 'active' | 'archived'>;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export interface DigitalCardProfileCloneParams {
|
|
274
|
+
/**
|
|
275
|
+
* The identifier of the File containing the card's icon image.
|
|
276
|
+
*/
|
|
277
|
+
app_icon_file_id?: string;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* The identifier of the File containing the card's front image.
|
|
281
|
+
*/
|
|
282
|
+
background_image_file_id?: string;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* A user-facing description for the card itself.
|
|
286
|
+
*/
|
|
287
|
+
card_description?: string;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* An email address the user can contact to receive support for their card.
|
|
291
|
+
*/
|
|
292
|
+
contact_email?: string;
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* A phone number the user can contact to receive support for their card.
|
|
296
|
+
*/
|
|
297
|
+
contact_phone?: string;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* A website the user can visit to view and receive support for their card.
|
|
301
|
+
*/
|
|
302
|
+
contact_website?: string;
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* A description you can use to identify the Card Profile.
|
|
306
|
+
*/
|
|
307
|
+
description?: string;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* A user-facing description for whoever is issuing the card.
|
|
311
|
+
*/
|
|
312
|
+
issuer_name?: string;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* The Card's text color, specified as an RGB triple. The default is white.
|
|
316
|
+
*/
|
|
317
|
+
text_color?: DigitalCardProfileCloneParams.TextColor;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export namespace DigitalCardProfileCloneParams {
|
|
321
|
+
/**
|
|
322
|
+
* The Card's text color, specified as an RGB triple. The default is white.
|
|
323
|
+
*/
|
|
324
|
+
export interface TextColor {
|
|
325
|
+
/**
|
|
326
|
+
* The value of the blue channel in the RGB color.
|
|
327
|
+
*/
|
|
328
|
+
blue: number;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* The value of the green channel in the RGB color.
|
|
332
|
+
*/
|
|
333
|
+
green: number;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* The value of the red channel in the RGB color.
|
|
337
|
+
*/
|
|
338
|
+
red: number;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export namespace DigitalCardProfiles {
|
|
343
|
+
export import DigitalCardProfile = DigitalCardProfilesAPI.DigitalCardProfile;
|
|
344
|
+
export import DigitalCardProfilesPage = DigitalCardProfilesAPI.DigitalCardProfilesPage;
|
|
345
|
+
export import DigitalCardProfileCreateParams = DigitalCardProfilesAPI.DigitalCardProfileCreateParams;
|
|
346
|
+
export import DigitalCardProfileListParams = DigitalCardProfilesAPI.DigitalCardProfileListParams;
|
|
347
|
+
export import DigitalCardProfileCloneParams = DigitalCardProfilesAPI.DigitalCardProfileCloneParams;
|
|
348
|
+
}
|
|
@@ -86,6 +86,13 @@ export interface Entity {
|
|
|
86
86
|
*/
|
|
87
87
|
description: string | null;
|
|
88
88
|
|
|
89
|
+
/**
|
|
90
|
+
* The idempotency key you chose for this object. This value is unique across
|
|
91
|
+
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
92
|
+
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
93
|
+
*/
|
|
94
|
+
idempotency_key: string | null;
|
|
95
|
+
|
|
89
96
|
/**
|
|
90
97
|
* Details of the joint entity. Will be present if `structure` is equal to `joint`.
|
|
91
98
|
*/
|
|
@@ -527,6 +534,13 @@ export namespace Entity {
|
|
|
527
534
|
*/
|
|
528
535
|
file_id: string;
|
|
529
536
|
|
|
537
|
+
/**
|
|
538
|
+
* The idempotency key you chose for this object. This value is unique across
|
|
539
|
+
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
540
|
+
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
541
|
+
*/
|
|
542
|
+
idempotency_key: string | null;
|
|
543
|
+
|
|
530
544
|
/**
|
|
531
545
|
* A constant representing the object's type. For this resource it will always be
|
|
532
546
|
* `entity_supplemental_document`.
|
|
@@ -2075,6 +2089,14 @@ export namespace EntityCreateParams {
|
|
|
2075
2089
|
export interface EntityListParams extends PageParams {
|
|
2076
2090
|
created_at?: EntityListParams.CreatedAt;
|
|
2077
2091
|
|
|
2092
|
+
/**
|
|
2093
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
2094
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
2095
|
+
* request is only processed once. Learn more about
|
|
2096
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
2097
|
+
*/
|
|
2098
|
+
idempotency_key?: string;
|
|
2099
|
+
|
|
2078
2100
|
status?: EntityListParams.Status;
|
|
2079
2101
|
}
|
|
2080
2102
|
|
|
@@ -50,6 +50,13 @@ export interface SupplementalDocument {
|
|
|
50
50
|
*/
|
|
51
51
|
file_id: string;
|
|
52
52
|
|
|
53
|
+
/**
|
|
54
|
+
* The idempotency key you chose for this object. This value is unique across
|
|
55
|
+
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
56
|
+
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
57
|
+
*/
|
|
58
|
+
idempotency_key: string | null;
|
|
59
|
+
|
|
53
60
|
/**
|
|
54
61
|
* A constant representing the object's type. For this resource it will always be
|
|
55
62
|
* `entity_supplemental_document`.
|
|
@@ -69,6 +76,14 @@ export interface SupplementalDocumentListParams extends PageParams {
|
|
|
69
76
|
* The identifier of the Entity to list supplemental documents for.
|
|
70
77
|
*/
|
|
71
78
|
entity_id: string;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
82
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
83
|
+
* request is only processed once. Learn more about
|
|
84
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
85
|
+
*/
|
|
86
|
+
idempotency_key?: string;
|
|
72
87
|
}
|
|
73
88
|
|
|
74
89
|
export namespace SupplementalDocuments {
|
|
@@ -75,6 +75,13 @@ export interface EventSubscription {
|
|
|
75
75
|
*/
|
|
76
76
|
created_at: string;
|
|
77
77
|
|
|
78
|
+
/**
|
|
79
|
+
* The idempotency key you chose for this object. This value is unique across
|
|
80
|
+
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
81
|
+
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
82
|
+
*/
|
|
83
|
+
idempotency_key: string | null;
|
|
84
|
+
|
|
78
85
|
/**
|
|
79
86
|
* If specified, this subscription will only receive webhooks for Events with the
|
|
80
87
|
* specified `category`.
|
|
@@ -537,7 +544,15 @@ export interface EventSubscriptionUpdateParams {
|
|
|
537
544
|
status?: 'active' | 'disabled' | 'deleted';
|
|
538
545
|
}
|
|
539
546
|
|
|
540
|
-
export interface EventSubscriptionListParams extends PageParams {
|
|
547
|
+
export interface EventSubscriptionListParams extends PageParams {
|
|
548
|
+
/**
|
|
549
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
550
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
551
|
+
* request is only processed once. Learn more about
|
|
552
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
553
|
+
*/
|
|
554
|
+
idempotency_key?: string;
|
|
555
|
+
}
|
|
541
556
|
|
|
542
557
|
export namespace EventSubscriptions {
|
|
543
558
|
export import EventSubscription = EventSubscriptionsAPI.EventSubscription;
|
package/src/resources/exports.ts
CHANGED
|
@@ -89,6 +89,13 @@ export interface Export {
|
|
|
89
89
|
*/
|
|
90
90
|
file_id: string | null;
|
|
91
91
|
|
|
92
|
+
/**
|
|
93
|
+
* The idempotency key you chose for this object. This value is unique across
|
|
94
|
+
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
95
|
+
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
96
|
+
*/
|
|
97
|
+
idempotency_key: string | null;
|
|
98
|
+
|
|
92
99
|
/**
|
|
93
100
|
* The status of the Export.
|
|
94
101
|
*
|
|
@@ -63,6 +63,15 @@ export interface ExternalAccount {
|
|
|
63
63
|
*/
|
|
64
64
|
id: string;
|
|
65
65
|
|
|
66
|
+
/**
|
|
67
|
+
* The type of entity that owns the External Account.
|
|
68
|
+
*
|
|
69
|
+
* - `business` - The External Account is owned by a business.
|
|
70
|
+
* - `individual` - The External Account is owned by an individual.
|
|
71
|
+
* - `unknown` - It's unknown what kind of entity owns the External Account.
|
|
72
|
+
*/
|
|
73
|
+
account_holder: 'business' | 'individual' | 'unknown';
|
|
74
|
+
|
|
66
75
|
/**
|
|
67
76
|
* The destination account number.
|
|
68
77
|
*/
|
|
@@ -88,6 +97,13 @@ export interface ExternalAccount {
|
|
|
88
97
|
*/
|
|
89
98
|
funding: 'checking' | 'savings' | 'other';
|
|
90
99
|
|
|
100
|
+
/**
|
|
101
|
+
* The idempotency key you chose for this object. This value is unique across
|
|
102
|
+
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
103
|
+
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
104
|
+
*/
|
|
105
|
+
idempotency_key: string | null;
|
|
106
|
+
|
|
91
107
|
/**
|
|
92
108
|
* The American Bankers' Association (ABA) Routing Transit Number (RTN).
|
|
93
109
|
*/
|
|
@@ -135,6 +151,15 @@ export interface ExternalAccountCreateParams {
|
|
|
135
151
|
*/
|
|
136
152
|
routing_number: string;
|
|
137
153
|
|
|
154
|
+
/**
|
|
155
|
+
* The type of entity that owns the External Account.
|
|
156
|
+
*
|
|
157
|
+
* - `business` - The External Account is owned by a business.
|
|
158
|
+
* - `individual` - The External Account is owned by an individual.
|
|
159
|
+
* - `unknown` - It's unknown what kind of entity owns the External Account.
|
|
160
|
+
*/
|
|
161
|
+
account_holder?: 'business' | 'individual' | 'unknown';
|
|
162
|
+
|
|
138
163
|
/**
|
|
139
164
|
* The type of the destination account. Defaults to `checking`.
|
|
140
165
|
*
|
|
@@ -146,6 +171,14 @@ export interface ExternalAccountCreateParams {
|
|
|
146
171
|
}
|
|
147
172
|
|
|
148
173
|
export interface ExternalAccountUpdateParams {
|
|
174
|
+
/**
|
|
175
|
+
* The type of entity that owns the External Account.
|
|
176
|
+
*
|
|
177
|
+
* - `business` - The External Account is owned by a business.
|
|
178
|
+
* - `individual` - The External Account is owned by an individual.
|
|
179
|
+
*/
|
|
180
|
+
account_holder?: 'business' | 'individual';
|
|
181
|
+
|
|
149
182
|
/**
|
|
150
183
|
* The description you choose to give the external account.
|
|
151
184
|
*/
|
|
@@ -162,6 +195,14 @@ export interface ExternalAccountUpdateParams {
|
|
|
162
195
|
}
|
|
163
196
|
|
|
164
197
|
export interface ExternalAccountListParams extends PageParams {
|
|
198
|
+
/**
|
|
199
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
200
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
201
|
+
* request is only processed once. Learn more about
|
|
202
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
203
|
+
*/
|
|
204
|
+
idempotency_key?: string;
|
|
205
|
+
|
|
165
206
|
/**
|
|
166
207
|
* Filter External Accounts to those with the specified Routing Number.
|
|
167
208
|
*/
|
package/src/resources/files.ts
CHANGED
|
@@ -82,6 +82,13 @@ export interface File {
|
|
|
82
82
|
*/
|
|
83
83
|
filename: 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 MIME type of the file.
|
|
87
94
|
*/
|
|
@@ -199,6 +206,14 @@ export interface FileCreateParams {
|
|
|
199
206
|
export interface FileListParams extends PageParams {
|
|
200
207
|
created_at?: FileListParams.CreatedAt;
|
|
201
208
|
|
|
209
|
+
/**
|
|
210
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
211
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
212
|
+
* request is only processed once. Learn more about
|
|
213
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
214
|
+
*/
|
|
215
|
+
idempotency_key?: string;
|
|
216
|
+
|
|
202
217
|
purpose?: FileListParams.Purpose;
|
|
203
218
|
}
|
|
204
219
|
|
|
@@ -381,6 +381,11 @@ export interface InboundACHTransferListParams extends PageParams {
|
|
|
381
381
|
*/
|
|
382
382
|
account_id?: string;
|
|
383
383
|
|
|
384
|
+
/**
|
|
385
|
+
* Filter Inbound ACH Tranfers to ones belonging to the specified Account Number.
|
|
386
|
+
*/
|
|
387
|
+
account_number_id?: string;
|
|
388
|
+
|
|
384
389
|
created_at?: InboundACHTransferListParams.CreatedAt;
|
|
385
390
|
|
|
386
391
|
/**
|
|
@@ -178,6 +178,11 @@ export interface InboundWireTransferListParams extends PageParams {
|
|
|
178
178
|
*/
|
|
179
179
|
account_id?: string;
|
|
180
180
|
|
|
181
|
+
/**
|
|
182
|
+
* Filter Inbound Wire Tranfers to ones belonging to the specified Account Number.
|
|
183
|
+
*/
|
|
184
|
+
account_number_id?: string;
|
|
185
|
+
|
|
181
186
|
created_at?: InboundWireTransferListParams.CreatedAt;
|
|
182
187
|
|
|
183
188
|
/**
|
package/src/resources/index.ts
CHANGED
|
@@ -85,13 +85,6 @@ export {
|
|
|
85
85
|
CardDisputes,
|
|
86
86
|
} from './card-disputes';
|
|
87
87
|
export { CardPayment, CardPaymentListParams, CardPaymentsPage, CardPayments } from './card-payments';
|
|
88
|
-
export {
|
|
89
|
-
CardProfile,
|
|
90
|
-
CardProfileCreateParams,
|
|
91
|
-
CardProfileListParams,
|
|
92
|
-
CardProfilesPage,
|
|
93
|
-
CardProfiles,
|
|
94
|
-
} from './card-profiles';
|
|
95
88
|
export {
|
|
96
89
|
CardPurchaseSupplement,
|
|
97
90
|
CardPurchaseSupplementListParams,
|
|
@@ -119,6 +112,14 @@ export {
|
|
|
119
112
|
DeclinedTransactionsPage,
|
|
120
113
|
DeclinedTransactions,
|
|
121
114
|
} from './declined-transactions';
|
|
115
|
+
export {
|
|
116
|
+
DigitalCardProfile,
|
|
117
|
+
DigitalCardProfileCreateParams,
|
|
118
|
+
DigitalCardProfileListParams,
|
|
119
|
+
DigitalCardProfileCloneParams,
|
|
120
|
+
DigitalCardProfilesPage,
|
|
121
|
+
DigitalCardProfiles,
|
|
122
|
+
} from './digital-card-profiles';
|
|
122
123
|
export {
|
|
123
124
|
DigitalWalletToken,
|
|
124
125
|
DigitalWalletTokenListParams,
|
|
@@ -196,6 +197,14 @@ export {
|
|
|
196
197
|
PhysicalCardsPage,
|
|
197
198
|
PhysicalCards,
|
|
198
199
|
} from './physical-cards';
|
|
200
|
+
export {
|
|
201
|
+
PhysicalCardProfile,
|
|
202
|
+
PhysicalCardProfileCreateParams,
|
|
203
|
+
PhysicalCardProfileListParams,
|
|
204
|
+
PhysicalCardProfileCloneParams,
|
|
205
|
+
PhysicalCardProfilesPage,
|
|
206
|
+
PhysicalCardProfiles,
|
|
207
|
+
} from './physical-card-profiles';
|
|
199
208
|
export { Program, ProgramListParams, ProgramsPage, Programs } from './programs';
|
|
200
209
|
export {
|
|
201
210
|
ProofOfAuthorizationRequest,
|
|
@@ -231,7 +240,13 @@ export {
|
|
|
231
240
|
RoutingNumbersPage,
|
|
232
241
|
RoutingNumbers,
|
|
233
242
|
} from './routing-numbers';
|
|
234
|
-
export {
|
|
243
|
+
export {
|
|
244
|
+
SimulationCardAuthorizationExpirationsParams,
|
|
245
|
+
SimulationCardFuelConfirmationsParams,
|
|
246
|
+
SimulationCardIncrementsParams,
|
|
247
|
+
SimulationCardReversalsParams,
|
|
248
|
+
Simulations,
|
|
249
|
+
} from './simulations/simulations';
|
|
235
250
|
export { Transaction, TransactionListParams, TransactionsPage, Transactions } from './transactions';
|
|
236
251
|
export { Webhooks } from './webhooks';
|
|
237
252
|
export {
|
|
@@ -82,6 +82,13 @@ export interface IntrafiAccountEnrollment {
|
|
|
82
82
|
*/
|
|
83
83
|
account_id: string;
|
|
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 identifier of the account in IntraFi's system. This identifier will be
|
|
87
94
|
* printed on any IntraFi statements or documents.
|
|
@@ -128,6 +135,14 @@ export interface AccountEnrollmentListParams extends PageParams {
|
|
|
128
135
|
*/
|
|
129
136
|
account_id?: string;
|
|
130
137
|
|
|
138
|
+
/**
|
|
139
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
140
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
141
|
+
* request is only processed once. Learn more about
|
|
142
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
143
|
+
*/
|
|
144
|
+
idempotency_key?: string;
|
|
145
|
+
|
|
131
146
|
status?: AccountEnrollmentListParams.Status;
|
|
132
147
|
}
|
|
133
148
|
|