@tryfinch/finch-api 5.17.0 → 5.17.1
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 +28 -0
- package/README.md +2 -2
- package/core.d.ts +6 -1
- package/core.d.ts.map +1 -1
- package/core.js +26 -9
- package/core.js.map +1 -1
- package/core.mjs +24 -8
- package/core.mjs.map +1 -1
- package/index.d.mts +12 -12
- package/index.d.ts +12 -12
- package/index.d.ts.map +1 -1
- package/index.js +6 -6
- package/index.mjs +6 -6
- package/package.json +1 -1
- package/resources/providers.d.ts +12 -0
- package/resources/providers.d.ts.map +1 -1
- package/resources/providers.js.map +1 -1
- package/resources/providers.mjs.map +1 -1
- package/resources/sandbox/connections/accounts.d.ts +3 -3
- package/resources/sandbox/connections/accounts.d.ts.map +1 -1
- package/resources/sandbox/connections/connections.d.ts +3 -3
- package/resources/sandbox/connections/connections.d.ts.map +1 -1
- package/resources/webhooks.d.ts +12 -0
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/src/core.ts +30 -11
- package/src/index.ts +12 -12
- package/src/resources/providers.ts +16 -0
- package/src/resources/sandbox/connections/accounts.ts +3 -3
- package/src/resources/sandbox/connections/connections.ts +3 -3
- package/src/resources/webhooks.ts +16 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -24,7 +24,7 @@ export interface ConnectionCreateResponse {
|
|
|
24
24
|
|
|
25
25
|
account_id: string;
|
|
26
26
|
|
|
27
|
-
authentication_type: '
|
|
27
|
+
authentication_type: 'credential' | 'api_token' | 'oauth' | 'assisted';
|
|
28
28
|
|
|
29
29
|
company_id: string;
|
|
30
30
|
|
|
@@ -36,13 +36,13 @@ export interface ConnectionCreateResponse {
|
|
|
36
36
|
export interface ConnectionCreateParams {
|
|
37
37
|
provider_id: string;
|
|
38
38
|
|
|
39
|
-
authentication_type?: '
|
|
39
|
+
authentication_type?: 'credential' | 'api_token' | 'oauth' | 'assisted';
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* Optional: the size of the employer to be created with this connection. Defaults
|
|
43
43
|
* to 20
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
employee_size?: number;
|
|
46
46
|
|
|
47
47
|
products?: Array<string>;
|
|
48
48
|
}
|
|
@@ -441,6 +441,11 @@ export namespace AccountUpdateEvent {
|
|
|
441
441
|
|
|
442
442
|
employee_deductions?: PayStatements.EmployeeDeductions;
|
|
443
443
|
|
|
444
|
+
employer_contributions?: PayStatements.EmployerContributions;
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* [DEPRECATED] Use `employer_contributions` instead
|
|
448
|
+
*/
|
|
444
449
|
employer_deductions?: PayStatements.EmployerDeductions;
|
|
445
450
|
|
|
446
451
|
gross_pay?: boolean;
|
|
@@ -481,6 +486,17 @@ export namespace AccountUpdateEvent {
|
|
|
481
486
|
type?: boolean;
|
|
482
487
|
}
|
|
483
488
|
|
|
489
|
+
export interface EmployerContributions {
|
|
490
|
+
amount?: boolean;
|
|
491
|
+
|
|
492
|
+
currency?: boolean;
|
|
493
|
+
|
|
494
|
+
name?: boolean;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* [DEPRECATED] Use `employer_contributions` instead
|
|
499
|
+
*/
|
|
484
500
|
export interface EmployerDeductions {
|
|
485
501
|
amount?: boolean;
|
|
486
502
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.17.
|
|
1
|
+
export const VERSION = '5.17.1'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.17.
|
|
1
|
+
export declare const VERSION = "5.17.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.17.
|
|
1
|
+
export const VERSION = '5.17.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|