increase 0.155.0 → 0.157.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 +59 -0
- package/LICENSE +1 -1
- package/README.md +9 -0
- package/core.d.ts +1 -2
- package/core.d.ts.map +1 -1
- package/core.js +16 -11
- package/core.js.map +1 -1
- package/core.mjs +16 -11
- package/core.mjs.map +1 -1
- package/error.d.ts +30 -36
- package/error.d.ts.map +1 -1
- package/error.js +13 -43
- package/error.js.map +1 -1
- package/error.mjs +13 -43
- package/error.mjs.map +1 -1
- package/index.d.mts +5 -2
- package/index.d.ts +5 -2
- package/index.d.ts.map +1 -1
- package/index.js +6 -2
- package/index.js.map +1 -1
- package/index.mjs +6 -2
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.ts +4 -4
- package/resources/accounts.d.ts.map +1 -1
- package/resources/bookkeeping-entries.d.ts +4 -0
- package/resources/bookkeeping-entries.d.ts.map +1 -1
- package/resources/bookkeeping-entries.js.map +1 -1
- package/resources/bookkeeping-entries.mjs.map +1 -1
- package/resources/card-payments.d.ts +58 -2
- package/resources/card-payments.d.ts.map +1 -1
- package/resources/card-payments.js.map +1 -1
- package/resources/card-payments.mjs.map +1 -1
- package/resources/exports.d.ts +4 -2
- package/resources/exports.d.ts.map +1 -1
- package/resources/exports.js.map +1 -1
- package/resources/exports.mjs.map +1 -1
- package/resources/groups.d.ts +2 -1
- package/resources/groups.d.ts.map +1 -1
- package/resources/inbound-mail-items.d.ts +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/oauth-applications.d.ts +98 -0
- package/resources/oauth-applications.d.ts.map +1 -0
- package/resources/oauth-applications.js +27 -0
- package/resources/oauth-applications.js.map +1 -0
- package/resources/oauth-applications.mjs +22 -0
- package/resources/oauth-applications.mjs.map +1 -0
- package/resources/oauth-connections.d.ts +9 -0
- package/resources/oauth-connections.d.ts.map +1 -1
- package/resources/oauth-connections.js.map +1 -1
- package/resources/oauth-connections.mjs.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +15 -0
- 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/transactions.d.ts +59 -3
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs.map +1 -1
- package/src/core.ts +18 -14
- package/src/error.ts +48 -124
- package/src/index.ts +18 -2
- package/src/resources/accounts.ts +4 -4
- package/src/resources/bookkeeping-entries.ts +6 -1
- package/src/resources/card-payments.ts +64 -2
- package/src/resources/exports.ts +5 -1
- package/src/resources/groups.ts +2 -1
- package/src/resources/inbound-mail-items.ts +1 -1
- package/src/resources/index.ts +6 -0
- package/src/resources/oauth-applications.ts +137 -0
- package/src/resources/oauth-connections.ts +11 -0
- package/src/resources/real-time-payments-transfers.ts +17 -0
- package/src/resources/transactions.ts +65 -3
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1381,6 +1381,12 @@ export namespace CardPayment {
|
|
|
1381
1381
|
*/
|
|
1382
1382
|
card_payment_id: string;
|
|
1383
1383
|
|
|
1384
|
+
/**
|
|
1385
|
+
* Cashback debited for this transaction, if eligible. Cashback is paid out in
|
|
1386
|
+
* aggregate, monthly.
|
|
1387
|
+
*/
|
|
1388
|
+
cashback: CardRefund.Cashback | null;
|
|
1389
|
+
|
|
1384
1390
|
/**
|
|
1385
1391
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
1386
1392
|
* transaction's settlement currency.
|
|
@@ -1470,6 +1476,31 @@ export namespace CardPayment {
|
|
|
1470
1476
|
}
|
|
1471
1477
|
|
|
1472
1478
|
export namespace CardRefund {
|
|
1479
|
+
/**
|
|
1480
|
+
* Cashback debited for this transaction, if eligible. Cashback is paid out in
|
|
1481
|
+
* aggregate, monthly.
|
|
1482
|
+
*/
|
|
1483
|
+
export interface Cashback {
|
|
1484
|
+
/**
|
|
1485
|
+
* The cashback amount given as a string containing a decimal number. The amount is
|
|
1486
|
+
* a positive number if it will be credited to you (e.g., settlements) and a
|
|
1487
|
+
* negative number if it will be debited (e.g., refunds).
|
|
1488
|
+
*/
|
|
1489
|
+
amount: string;
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback.
|
|
1493
|
+
*
|
|
1494
|
+
* - `CAD` - Canadian Dollar (CAD)
|
|
1495
|
+
* - `CHF` - Swiss Franc (CHF)
|
|
1496
|
+
* - `EUR` - Euro (EUR)
|
|
1497
|
+
* - `GBP` - British Pound (GBP)
|
|
1498
|
+
* - `JPY` - Japanese Yen (JPY)
|
|
1499
|
+
* - `USD` - US Dollar (USD)
|
|
1500
|
+
*/
|
|
1501
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1473
1504
|
/**
|
|
1474
1505
|
* Interchange assessed as a part of this transaciton.
|
|
1475
1506
|
*/
|
|
@@ -2229,6 +2260,12 @@ export namespace CardPayment {
|
|
|
2229
2260
|
*/
|
|
2230
2261
|
card_payment_id: string;
|
|
2231
2262
|
|
|
2263
|
+
/**
|
|
2264
|
+
* Cashback earned on this transaction, if eligible. Cashback is paid out in
|
|
2265
|
+
* aggregate, monthly.
|
|
2266
|
+
*/
|
|
2267
|
+
cashback: CardSettlement.Cashback | null;
|
|
2268
|
+
|
|
2232
2269
|
/**
|
|
2233
2270
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
2234
2271
|
* transaction's settlement currency.
|
|
@@ -2243,7 +2280,7 @@ export namespace CardPayment {
|
|
|
2243
2280
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
2244
2281
|
|
|
2245
2282
|
/**
|
|
2246
|
-
* Interchange assessed as a part of this
|
|
2283
|
+
* Interchange assessed as a part of this transaction.
|
|
2247
2284
|
*/
|
|
2248
2285
|
interchange: CardSettlement.Interchange | null;
|
|
2249
2286
|
|
|
@@ -2324,7 +2361,32 @@ export namespace CardPayment {
|
|
|
2324
2361
|
|
|
2325
2362
|
export namespace CardSettlement {
|
|
2326
2363
|
/**
|
|
2327
|
-
*
|
|
2364
|
+
* Cashback earned on this transaction, if eligible. Cashback is paid out in
|
|
2365
|
+
* aggregate, monthly.
|
|
2366
|
+
*/
|
|
2367
|
+
export interface Cashback {
|
|
2368
|
+
/**
|
|
2369
|
+
* The cashback amount given as a string containing a decimal number. The amount is
|
|
2370
|
+
* a positive number if it will be credited to you (e.g., settlements) and a
|
|
2371
|
+
* negative number if it will be debited (e.g., refunds).
|
|
2372
|
+
*/
|
|
2373
|
+
amount: string;
|
|
2374
|
+
|
|
2375
|
+
/**
|
|
2376
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback.
|
|
2377
|
+
*
|
|
2378
|
+
* - `CAD` - Canadian Dollar (CAD)
|
|
2379
|
+
* - `CHF` - Swiss Franc (CHF)
|
|
2380
|
+
* - `EUR` - Euro (EUR)
|
|
2381
|
+
* - `GBP` - British Pound (GBP)
|
|
2382
|
+
* - `JPY` - Japanese Yen (JPY)
|
|
2383
|
+
* - `USD` - US Dollar (USD)
|
|
2384
|
+
*/
|
|
2385
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
2386
|
+
}
|
|
2387
|
+
|
|
2388
|
+
/**
|
|
2389
|
+
* Interchange assessed as a part of this transaction.
|
|
2328
2390
|
*/
|
|
2329
2391
|
export interface Interchange {
|
|
2330
2392
|
/**
|
package/src/resources/exports.ts
CHANGED
|
@@ -65,6 +65,8 @@ export interface Export {
|
|
|
65
65
|
* - `entity_csv` - Export a CSV of entities with a given status.
|
|
66
66
|
* - `vendor_csv` - Export a CSV of vendors added to the third-party risk
|
|
67
67
|
* management dashboard.
|
|
68
|
+
* - `dashboard_table_csv` - Certain dashboard tables are available as CSV exports.
|
|
69
|
+
* This export cannot be created via the API.
|
|
68
70
|
*/
|
|
69
71
|
category:
|
|
70
72
|
| 'account_statement_ofx'
|
|
@@ -72,7 +74,8 @@ export interface Export {
|
|
|
72
74
|
| 'balance_csv'
|
|
73
75
|
| 'bookkeeping_account_balance_csv'
|
|
74
76
|
| 'entity_csv'
|
|
75
|
-
| 'vendor_csv'
|
|
77
|
+
| 'vendor_csv'
|
|
78
|
+
| 'dashboard_table_csv';
|
|
76
79
|
|
|
77
80
|
/**
|
|
78
81
|
* The time the Export was created.
|
|
@@ -426,6 +429,7 @@ export namespace ExportListParams {
|
|
|
426
429
|
| 'bookkeeping_account_balance_csv'
|
|
427
430
|
| 'entity_csv'
|
|
428
431
|
| 'vendor_csv'
|
|
432
|
+
| 'dashboard_table_csv'
|
|
429
433
|
>;
|
|
430
434
|
}
|
|
431
435
|
|
package/src/resources/groups.ts
CHANGED
|
@@ -14,8 +14,9 @@ export class Groups extends APIResource {
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Groups represent organizations using Increase. You can retrieve information
|
|
17
|
-
* about your own organization via the API
|
|
17
|
+
* about your own organization via the API. More commonly, OAuth platforms can
|
|
18
18
|
* retrieve information about the organizations that have granted them access.
|
|
19
|
+
* Learn more about OAuth [here](https://increase.com/documentation/oauth).
|
|
19
20
|
*/
|
|
20
21
|
export interface Group {
|
|
21
22
|
/**
|
|
@@ -70,7 +70,7 @@ export interface InboundMailItem {
|
|
|
70
70
|
*
|
|
71
71
|
* - `no_matching_lockbox` - The mail item does not match any lockbox.
|
|
72
72
|
* - `no_check` - The mail item does not contain a check.
|
|
73
|
-
* - `lockbox_not_active` - The Lockbox or its
|
|
73
|
+
* - `lockbox_not_active` - The Lockbox or its associated Account is not active.
|
|
74
74
|
*/
|
|
75
75
|
rejection_reason: 'no_matching_lockbox' | 'no_check' | 'lockbox_not_active' | null;
|
|
76
76
|
|
package/src/resources/index.ts
CHANGED
|
@@ -235,6 +235,12 @@ export {
|
|
|
235
235
|
type LockboxUpdateParams,
|
|
236
236
|
type LockboxListParams,
|
|
237
237
|
} from './lockboxes';
|
|
238
|
+
export {
|
|
239
|
+
OAuthApplicationsPage,
|
|
240
|
+
OAuthApplications,
|
|
241
|
+
type OAuthApplication,
|
|
242
|
+
type OAuthApplicationListParams,
|
|
243
|
+
} from './oauth-applications';
|
|
238
244
|
export {
|
|
239
245
|
OAuthConnectionsPage,
|
|
240
246
|
OAuthConnections,
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import { isRequestOptions } from '../core';
|
|
5
|
+
import * as Core from '../core';
|
|
6
|
+
import { Page, type PageParams } from '../pagination';
|
|
7
|
+
|
|
8
|
+
export class OAuthApplications extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve an OAuth Application
|
|
11
|
+
*/
|
|
12
|
+
retrieve(oauthApplicationId: string, options?: Core.RequestOptions): Core.APIPromise<OAuthApplication> {
|
|
13
|
+
return this._client.get(`/oauth_applications/${oauthApplicationId}`, options);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* List OAuth Applications
|
|
18
|
+
*/
|
|
19
|
+
list(
|
|
20
|
+
query?: OAuthApplicationListParams,
|
|
21
|
+
options?: Core.RequestOptions,
|
|
22
|
+
): Core.PagePromise<OAuthApplicationsPage, OAuthApplication>;
|
|
23
|
+
list(options?: Core.RequestOptions): Core.PagePromise<OAuthApplicationsPage, OAuthApplication>;
|
|
24
|
+
list(
|
|
25
|
+
query: OAuthApplicationListParams | Core.RequestOptions = {},
|
|
26
|
+
options?: Core.RequestOptions,
|
|
27
|
+
): Core.PagePromise<OAuthApplicationsPage, OAuthApplication> {
|
|
28
|
+
if (isRequestOptions(query)) {
|
|
29
|
+
return this.list({}, query);
|
|
30
|
+
}
|
|
31
|
+
return this._client.getAPIList('/oauth_applications', OAuthApplicationsPage, { query, ...options });
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export class OAuthApplicationsPage extends Page<OAuthApplication> {}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* An OAuth Application lets you build an application for others to use with their
|
|
39
|
+
* Increase data. You can create an OAuth Application via the Dashboard and read
|
|
40
|
+
* information about it with the API. Learn more about OAuth
|
|
41
|
+
* [here](https://increase.com/documentation/oauth).
|
|
42
|
+
*/
|
|
43
|
+
export interface OAuthApplication {
|
|
44
|
+
/**
|
|
45
|
+
* The OAuth Application's identifier.
|
|
46
|
+
*/
|
|
47
|
+
id: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The OAuth Application's client_id. Use this to authenticate with the OAuth
|
|
51
|
+
* Application.
|
|
52
|
+
*/
|
|
53
|
+
client_id: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth
|
|
57
|
+
* Application was created.
|
|
58
|
+
*/
|
|
59
|
+
created_at: string;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth
|
|
63
|
+
* Application was deleted.
|
|
64
|
+
*/
|
|
65
|
+
deleted_at: string | null;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* The name you chose for this OAuth Application.
|
|
69
|
+
*/
|
|
70
|
+
name: string | null;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Whether the application is active.
|
|
74
|
+
*
|
|
75
|
+
* - `active` - The application is active and can be used by your users.
|
|
76
|
+
* - `deleted` - The application is deleted.
|
|
77
|
+
*/
|
|
78
|
+
status: 'active' | 'deleted';
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* A constant representing the object's type. For this resource it will always be
|
|
82
|
+
* `oauth_application`.
|
|
83
|
+
*/
|
|
84
|
+
type: 'oauth_application';
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface OAuthApplicationListParams extends PageParams {
|
|
88
|
+
created_at?: OAuthApplicationListParams.CreatedAt;
|
|
89
|
+
|
|
90
|
+
status?: OAuthApplicationListParams.Status;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export namespace OAuthApplicationListParams {
|
|
94
|
+
export interface CreatedAt {
|
|
95
|
+
/**
|
|
96
|
+
* Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
97
|
+
* timestamp.
|
|
98
|
+
*/
|
|
99
|
+
after?: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
103
|
+
* timestamp.
|
|
104
|
+
*/
|
|
105
|
+
before?: string;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Return results on or after this
|
|
109
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
110
|
+
*/
|
|
111
|
+
on_or_after?: string;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Return results on or before this
|
|
115
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
116
|
+
*/
|
|
117
|
+
on_or_before?: string;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export interface Status {
|
|
121
|
+
/**
|
|
122
|
+
* Return results whose value is in the provided list. For GET requests, this
|
|
123
|
+
* should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
124
|
+
*/
|
|
125
|
+
in?: Array<'active' | 'deleted'>;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
OAuthApplications.OAuthApplicationsPage = OAuthApplicationsPage;
|
|
130
|
+
|
|
131
|
+
export declare namespace OAuthApplications {
|
|
132
|
+
export {
|
|
133
|
+
type OAuthApplication as OAuthApplication,
|
|
134
|
+
OAuthApplicationsPage as OAuthApplicationsPage,
|
|
135
|
+
type OAuthApplicationListParams as OAuthApplicationListParams,
|
|
136
|
+
};
|
|
137
|
+
}
|
|
@@ -62,6 +62,11 @@ export interface OAuthConnection {
|
|
|
62
62
|
*/
|
|
63
63
|
group_id: string;
|
|
64
64
|
|
|
65
|
+
/**
|
|
66
|
+
* The identifier of the OAuth application this connection is for.
|
|
67
|
+
*/
|
|
68
|
+
oauth_application_id: string;
|
|
69
|
+
|
|
65
70
|
/**
|
|
66
71
|
* Whether the connection is active.
|
|
67
72
|
*
|
|
@@ -78,6 +83,12 @@ export interface OAuthConnection {
|
|
|
78
83
|
}
|
|
79
84
|
|
|
80
85
|
export interface OAuthConnectionListParams extends PageParams {
|
|
86
|
+
/**
|
|
87
|
+
* Filter results to only include OAuth Connections for a specific OAuth
|
|
88
|
+
* Application.
|
|
89
|
+
*/
|
|
90
|
+
oauth_application_id?: string;
|
|
91
|
+
|
|
81
92
|
status?: OAuthConnectionListParams.Status;
|
|
82
93
|
}
|
|
83
94
|
|
|
@@ -67,6 +67,12 @@ export interface RealTimePaymentsTransfer {
|
|
|
67
67
|
*/
|
|
68
68
|
account_id: string;
|
|
69
69
|
|
|
70
|
+
/**
|
|
71
|
+
* If the transfer is acknowledged by the recipient bank, this will contain
|
|
72
|
+
* supplemental details.
|
|
73
|
+
*/
|
|
74
|
+
acknowledgement: RealTimePaymentsTransfer.Acknowledgement | null;
|
|
75
|
+
|
|
70
76
|
/**
|
|
71
77
|
* The transfer amount in USD cents.
|
|
72
78
|
*/
|
|
@@ -223,6 +229,17 @@ export interface RealTimePaymentsTransfer {
|
|
|
223
229
|
}
|
|
224
230
|
|
|
225
231
|
export namespace RealTimePaymentsTransfer {
|
|
232
|
+
/**
|
|
233
|
+
* If the transfer is acknowledged by the recipient bank, this will contain
|
|
234
|
+
* supplemental details.
|
|
235
|
+
*/
|
|
236
|
+
export interface Acknowledgement {
|
|
237
|
+
/**
|
|
238
|
+
* When the transfer was acknowledged.
|
|
239
|
+
*/
|
|
240
|
+
acknowledged_at: string;
|
|
241
|
+
}
|
|
242
|
+
|
|
226
243
|
/**
|
|
227
244
|
* If your account requires approvals for transfers and the transfer was approved,
|
|
228
245
|
* this will contain details of the approval.
|
|
@@ -791,6 +791,12 @@ export namespace Transaction {
|
|
|
791
791
|
*/
|
|
792
792
|
card_payment_id: string;
|
|
793
793
|
|
|
794
|
+
/**
|
|
795
|
+
* Cashback debited for this transaction, if eligible. Cashback is paid out in
|
|
796
|
+
* aggregate, monthly.
|
|
797
|
+
*/
|
|
798
|
+
cashback: CardRefund.Cashback | null;
|
|
799
|
+
|
|
794
800
|
/**
|
|
795
801
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
796
802
|
* transaction's settlement currency.
|
|
@@ -880,6 +886,31 @@ export namespace Transaction {
|
|
|
880
886
|
}
|
|
881
887
|
|
|
882
888
|
export namespace CardRefund {
|
|
889
|
+
/**
|
|
890
|
+
* Cashback debited for this transaction, if eligible. Cashback is paid out in
|
|
891
|
+
* aggregate, monthly.
|
|
892
|
+
*/
|
|
893
|
+
export interface Cashback {
|
|
894
|
+
/**
|
|
895
|
+
* The cashback amount given as a string containing a decimal number. The amount is
|
|
896
|
+
* a positive number if it will be credited to you (e.g., settlements) and a
|
|
897
|
+
* negative number if it will be debited (e.g., refunds).
|
|
898
|
+
*/
|
|
899
|
+
amount: string;
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback.
|
|
903
|
+
*
|
|
904
|
+
* - `CAD` - Canadian Dollar (CAD)
|
|
905
|
+
* - `CHF` - Swiss Franc (CHF)
|
|
906
|
+
* - `EUR` - Euro (EUR)
|
|
907
|
+
* - `GBP` - British Pound (GBP)
|
|
908
|
+
* - `JPY` - Japanese Yen (JPY)
|
|
909
|
+
* - `USD` - US Dollar (USD)
|
|
910
|
+
*/
|
|
911
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
912
|
+
}
|
|
913
|
+
|
|
883
914
|
/**
|
|
884
915
|
* Interchange assessed as a part of this transaciton.
|
|
885
916
|
*/
|
|
@@ -1527,6 +1558,12 @@ export namespace Transaction {
|
|
|
1527
1558
|
*/
|
|
1528
1559
|
card_payment_id: string;
|
|
1529
1560
|
|
|
1561
|
+
/**
|
|
1562
|
+
* Cashback earned on this transaction, if eligible. Cashback is paid out in
|
|
1563
|
+
* aggregate, monthly.
|
|
1564
|
+
*/
|
|
1565
|
+
cashback: CardSettlement.Cashback | null;
|
|
1566
|
+
|
|
1530
1567
|
/**
|
|
1531
1568
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
1532
1569
|
* transaction's settlement currency.
|
|
@@ -1541,7 +1578,7 @@ export namespace Transaction {
|
|
|
1541
1578
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1542
1579
|
|
|
1543
1580
|
/**
|
|
1544
|
-
* Interchange assessed as a part of this
|
|
1581
|
+
* Interchange assessed as a part of this transaction.
|
|
1545
1582
|
*/
|
|
1546
1583
|
interchange: CardSettlement.Interchange | null;
|
|
1547
1584
|
|
|
@@ -1622,7 +1659,32 @@ export namespace Transaction {
|
|
|
1622
1659
|
|
|
1623
1660
|
export namespace CardSettlement {
|
|
1624
1661
|
/**
|
|
1625
|
-
*
|
|
1662
|
+
* Cashback earned on this transaction, if eligible. Cashback is paid out in
|
|
1663
|
+
* aggregate, monthly.
|
|
1664
|
+
*/
|
|
1665
|
+
export interface Cashback {
|
|
1666
|
+
/**
|
|
1667
|
+
* The cashback amount given as a string containing a decimal number. The amount is
|
|
1668
|
+
* a positive number if it will be credited to you (e.g., settlements) and a
|
|
1669
|
+
* negative number if it will be debited (e.g., refunds).
|
|
1670
|
+
*/
|
|
1671
|
+
amount: string;
|
|
1672
|
+
|
|
1673
|
+
/**
|
|
1674
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback.
|
|
1675
|
+
*
|
|
1676
|
+
* - `CAD` - Canadian Dollar (CAD)
|
|
1677
|
+
* - `CHF` - Swiss Franc (CHF)
|
|
1678
|
+
* - `EUR` - Euro (EUR)
|
|
1679
|
+
* - `GBP` - British Pound (GBP)
|
|
1680
|
+
* - `JPY` - Japanese Yen (JPY)
|
|
1681
|
+
* - `USD` - US Dollar (USD)
|
|
1682
|
+
*/
|
|
1683
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
/**
|
|
1687
|
+
* Interchange assessed as a part of this transaction.
|
|
1626
1688
|
*/
|
|
1627
1689
|
export interface Interchange {
|
|
1628
1690
|
/**
|
|
@@ -2940,7 +3002,7 @@ export namespace Transaction {
|
|
|
2940
3002
|
/**
|
|
2941
3003
|
* The account on which the interest was accrued.
|
|
2942
3004
|
*/
|
|
2943
|
-
accrued_on_account_id: string
|
|
3005
|
+
accrued_on_account_id: string;
|
|
2944
3006
|
|
|
2945
3007
|
/**
|
|
2946
3008
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.157.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.157.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.157.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|