@tryfinch/finch-api 5.17.0 → 5.17.2

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.
@@ -24,7 +24,7 @@ export interface ConnectionCreateResponse {
24
24
 
25
25
  account_id: string;
26
26
 
27
- authentication_type: 'credentials' | 'api_token' | 'oauth' | 'assisted';
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?: 'credentials' | 'api_token' | 'oauth' | 'assisted';
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
- employer_size?: number;
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.0'; // x-release-please-version
1
+ export const VERSION = '5.17.2'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.17.0";
1
+ export declare const VERSION = "5.17.2";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '5.17.0'; // x-release-please-version
4
+ exports.VERSION = '5.17.2'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.17.0'; // x-release-please-version
1
+ export const VERSION = '5.17.2'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map