@tryfinch/finch-api 6.17.0 → 6.19.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 +39 -0
- package/README.md +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/package.json +8 -29
- package/resources/connect.d.ts +2 -0
- package/resources/connect.d.ts.map +1 -0
- package/resources/connect.js +19 -0
- package/resources/connect.js.map +1 -0
- package/resources/connect.mjs +3 -0
- package/resources/connect.mjs.map +1 -0
- package/resources/hris/benefits/benefits.d.ts +5 -5
- package/resources/hris/benefits/benefits.d.ts.map +1 -1
- package/resources/hris/benefits/index.d.ts +1 -1
- package/resources/hris/benefits/index.d.ts.map +1 -1
- package/resources/hris/benefits.d.ts +2 -0
- package/resources/hris/benefits.d.ts.map +1 -0
- package/resources/hris/benefits.js +19 -0
- package/resources/hris/benefits.js.map +1 -0
- package/resources/hris/benefits.mjs +3 -0
- package/resources/hris/benefits.mjs.map +1 -0
- package/resources/hris/documents.d.ts +5 -5
- package/resources/hris/documents.d.ts.map +1 -1
- package/resources/hris/documents.js +2 -2
- package/resources/hris/documents.mjs +2 -2
- package/resources/hris/hris.d.ts +1 -1
- package/resources/hris/hris.d.ts.map +1 -1
- package/resources/hris/index.d.ts +1 -1
- package/resources/hris/index.d.ts.map +1 -1
- package/resources/hris/pay-statements.d.ts +44 -24
- package/resources/hris/pay-statements.d.ts.map +1 -1
- package/resources/hris/pay-statements.js.map +1 -1
- package/resources/hris/pay-statements.mjs.map +1 -1
- package/resources/hris.d.ts +2 -0
- package/resources/hris.d.ts.map +1 -0
- package/resources/hris.js +19 -0
- package/resources/hris.js.map +1 -0
- package/resources/hris.mjs +3 -0
- package/resources/hris.mjs.map +1 -0
- package/resources/jobs/automated.d.ts +44 -7
- package/resources/jobs/automated.d.ts.map +1 -1
- package/resources/jobs/automated.js +2 -7
- package/resources/jobs/automated.js.map +1 -1
- package/resources/jobs/automated.mjs +1 -5
- package/resources/jobs/automated.mjs.map +1 -1
- package/resources/jobs/index.d.ts +1 -1
- package/resources/jobs/index.d.ts.map +1 -1
- package/resources/jobs/index.js +1 -2
- package/resources/jobs/index.js.map +1 -1
- package/resources/jobs/index.mjs +1 -1
- package/resources/jobs/index.mjs.map +1 -1
- package/resources/jobs/jobs.d.ts +2 -2
- package/resources/jobs/jobs.d.ts.map +1 -1
- package/resources/jobs/jobs.js +0 -1
- package/resources/jobs/jobs.js.map +1 -1
- package/resources/jobs/jobs.mjs +1 -2
- package/resources/jobs/jobs.mjs.map +1 -1
- package/resources/jobs.d.ts +2 -0
- package/resources/jobs.d.ts.map +1 -0
- package/resources/jobs.js +19 -0
- package/resources/jobs.js.map +1 -0
- package/resources/jobs.mjs +3 -0
- package/resources/jobs.mjs.map +1 -0
- package/resources/payroll.d.ts +2 -0
- package/resources/payroll.d.ts.map +1 -0
- package/resources/payroll.js +19 -0
- package/resources/payroll.js.map +1 -0
- package/resources/payroll.mjs +3 -0
- package/resources/payroll.mjs.map +1 -0
- package/resources/sandbox/connections.d.ts +2 -0
- package/resources/sandbox/connections.d.ts.map +1 -0
- package/resources/sandbox/connections.js +19 -0
- package/resources/sandbox/connections.js.map +1 -0
- package/resources/sandbox/connections.mjs +3 -0
- package/resources/sandbox/connections.mjs.map +1 -0
- package/resources/sandbox/jobs.d.ts +2 -0
- package/resources/sandbox/jobs.d.ts.map +1 -0
- package/resources/sandbox/jobs.js +19 -0
- package/resources/sandbox/jobs.js.map +1 -0
- package/resources/sandbox/jobs.mjs +3 -0
- package/resources/sandbox/jobs.mjs.map +1 -0
- package/resources/sandbox/payment.d.ts +44 -24
- package/resources/sandbox/payment.d.ts.map +1 -1
- package/resources/sandbox.d.ts +2 -0
- package/resources/sandbox.d.ts.map +1 -0
- package/resources/sandbox.js +19 -0
- package/resources/sandbox.js.map +1 -0
- package/resources/sandbox.mjs +3 -0
- package/resources/sandbox.mjs.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +18 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/core.ts +3 -3
- package/src/resources/connect.ts +3 -0
- package/src/resources/hris/benefits/benefits.ts +6 -6
- package/src/resources/hris/benefits/index.ts +1 -1
- package/src/resources/hris/benefits.ts +3 -0
- package/src/resources/hris/documents.ts +5 -5
- package/src/resources/hris/hris.ts +1 -1
- package/src/resources/hris/index.ts +1 -1
- package/src/resources/hris/pay-statements.ts +48 -24
- package/src/resources/hris.ts +3 -0
- package/src/resources/jobs/automated.ts +53 -13
- package/src/resources/jobs/index.ts +1 -1
- package/src/resources/jobs/jobs.ts +2 -3
- package/src/resources/jobs.ts +3 -0
- package/src/resources/payroll.ts +3 -0
- package/src/resources/sandbox/connections.ts +3 -0
- package/src/resources/sandbox/jobs.ts +3 -0
- package/src/resources/sandbox/payment.ts +48 -24
- package/src/resources/sandbox.ts +3 -0
- package/src/resources.ts +1 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("./connections/index.js"), exports);
|
|
19
|
+
//# sourceMappingURL=connections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections.js","sourceRoot":"","sources":["../../src/resources/sandbox/connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;AAEtF,yDAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../src/resources/sandbox/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobs.d.ts","sourceRoot":"","sources":["../../src/resources/sandbox/jobs.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("./jobs/index.js"), exports);
|
|
19
|
+
//# sourceMappingURL=jobs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobs.js","sourceRoot":"","sources":["../../src/resources/sandbox/jobs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;AAEtF,kDAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobs.mjs","sourceRoot":"","sources":["../../src/resources/sandbox/jobs.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -85,12 +85,17 @@ export declare namespace PaymentCreateParams {
|
|
|
85
85
|
}
|
|
86
86
|
namespace Earning {
|
|
87
87
|
interface Attributes {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
88
|
+
metadata?: Attributes.Metadata;
|
|
89
|
+
}
|
|
90
|
+
namespace Attributes {
|
|
91
|
+
interface Metadata {
|
|
92
|
+
/**
|
|
93
|
+
* The metadata to be attached to the entity by existing rules. It is a key-value
|
|
94
|
+
* pairs where the values can be of any type (string, number, boolean, object,
|
|
95
|
+
* array, etc.).
|
|
96
|
+
*/
|
|
97
|
+
metadata?: Record<string, unknown>;
|
|
98
|
+
}
|
|
94
99
|
}
|
|
95
100
|
}
|
|
96
101
|
interface EmployeeDeduction {
|
|
@@ -118,12 +123,17 @@ export declare namespace PaymentCreateParams {
|
|
|
118
123
|
}
|
|
119
124
|
namespace EmployeeDeduction {
|
|
120
125
|
interface Attributes {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
126
|
+
metadata?: Attributes.Metadata;
|
|
127
|
+
}
|
|
128
|
+
namespace Attributes {
|
|
129
|
+
interface Metadata {
|
|
130
|
+
/**
|
|
131
|
+
* The metadata to be attached to the entity by existing rules. It is a key-value
|
|
132
|
+
* pairs where the values can be of any type (string, number, boolean, object,
|
|
133
|
+
* array, etc.).
|
|
134
|
+
*/
|
|
135
|
+
metadata?: Record<string, unknown>;
|
|
136
|
+
}
|
|
127
137
|
}
|
|
128
138
|
}
|
|
129
139
|
interface EmployerContribution {
|
|
@@ -147,12 +157,17 @@ export declare namespace PaymentCreateParams {
|
|
|
147
157
|
}
|
|
148
158
|
namespace EmployerContribution {
|
|
149
159
|
interface Attributes {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
160
|
+
metadata?: Attributes.Metadata;
|
|
161
|
+
}
|
|
162
|
+
namespace Attributes {
|
|
163
|
+
interface Metadata {
|
|
164
|
+
/**
|
|
165
|
+
* The metadata to be attached to the entity by existing rules. It is a key-value
|
|
166
|
+
* pairs where the values can be of any type (string, number, boolean, object,
|
|
167
|
+
* array, etc.).
|
|
168
|
+
*/
|
|
169
|
+
metadata?: Record<string, unknown>;
|
|
170
|
+
}
|
|
156
171
|
}
|
|
157
172
|
}
|
|
158
173
|
interface Tax {
|
|
@@ -180,12 +195,17 @@ export declare namespace PaymentCreateParams {
|
|
|
180
195
|
}
|
|
181
196
|
namespace Tax {
|
|
182
197
|
interface Attributes {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
198
|
+
metadata?: Attributes.Metadata;
|
|
199
|
+
}
|
|
200
|
+
namespace Attributes {
|
|
201
|
+
interface Metadata {
|
|
202
|
+
/**
|
|
203
|
+
* The metadata to be attached to the entity by existing rules. It is a key-value
|
|
204
|
+
* pairs where the values can be of any type (string, number, boolean, object,
|
|
205
|
+
* array, etc.).
|
|
206
|
+
*/
|
|
207
|
+
metadata?: Record<string, unknown>;
|
|
208
|
+
}
|
|
189
209
|
}
|
|
190
210
|
}
|
|
191
211
|
}
|
|
@@ -1 +1 @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AI,CAAC;YAEvB,UAAU,CAAC,EAAE,GAAG,CAAC,UAAU,GAAG,IAAI,CAAC;YAEnC;;eAEG;YACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAEzB;;eAEG;YACH,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;YAE1B;;eAEG;YACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAErB;;eAEG;YACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,IAAI,CAAC;SACtD;QAED,UAAiB,GAAG,CAAC;YACnB,UAAiB,UAAU;gBACzB,QAAQ,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC;aAChC;YAED,UAAiB,UAAU,CAAC;gBAC1B,UAAiB,QAAQ;oBACvB;;;;uBAIG;oBACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;iBACpC;aACF;SACF;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../src/resources/sandbox.ts"],"names":[],"mappings":"AAEA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("./sandbox/index.js"), exports);
|
|
19
|
+
//# sourceMappingURL=sandbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox.js","sourceRoot":"","sources":["../src/resources/sandbox.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;AAEtF,qDAAgC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox.mjs","sourceRoot":"","sources":["../src/resources/sandbox.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
package/resources.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["src/resources.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
package/resources.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources/index.js"), exports);
|
|
18
|
+
//# sourceMappingURL=resources.js.map
|
package/resources.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resources.js","sourceRoot":"","sources":["src/resources.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAkC"}
|
package/resources.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resources.mjs","sourceRoot":"","sources":["src/resources.ts"],"names":[],"mappings":""}
|
package/src/core.ts
CHANGED
|
@@ -48,8 +48,8 @@ async function defaultParseResponse<T>(props: APIResponseProps): Promise<T> {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
const contentType = response.headers.get('content-type');
|
|
51
|
-
const
|
|
52
|
-
|
|
51
|
+
const mediaType = contentType?.split(';')[0]?.trim();
|
|
52
|
+
const isJSON = mediaType?.includes('application/json') || mediaType?.endsWith('+json');
|
|
53
53
|
if (isJSON) {
|
|
54
54
|
const json = await response.json();
|
|
55
55
|
|
|
@@ -395,7 +395,7 @@ export abstract class APIClient {
|
|
|
395
395
|
!headers ? {}
|
|
396
396
|
: Symbol.iterator in headers ?
|
|
397
397
|
Object.fromEntries(Array.from(headers as Iterable<string[]>).map((header) => [...header]))
|
|
398
|
-
: { ...headers }
|
|
398
|
+
: { ...(headers as any as Record<string, string>) }
|
|
399
399
|
);
|
|
400
400
|
}
|
|
401
401
|
|
|
@@ -207,11 +207,6 @@ export interface BenefitsSupport {
|
|
|
207
207
|
[k: string]: BenefitFeaturesAndOperations | null | undefined;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
/**
|
|
211
|
-
* @deprecated use `BenefitContribution` instead
|
|
212
|
-
*/
|
|
213
|
-
export type BenfitContribution = BenefitContribution | null;
|
|
214
|
-
|
|
215
210
|
export interface CompanyBenefit {
|
|
216
211
|
benefit_id: string;
|
|
217
212
|
|
|
@@ -282,6 +277,11 @@ export interface UpdateCompanyBenefitResponse {
|
|
|
282
277
|
benefit_id: string;
|
|
283
278
|
}
|
|
284
279
|
|
|
280
|
+
/**
|
|
281
|
+
* @deprecated use `BenefitContribution` instead
|
|
282
|
+
*/
|
|
283
|
+
export type BenfitContribution = BenefitContribution | null;
|
|
284
|
+
|
|
285
285
|
export interface BenefitCreateParams {
|
|
286
286
|
/**
|
|
287
287
|
* Name of the benefit as it appears in the provider and pay statements. Recommend
|
|
@@ -319,12 +319,12 @@ export declare namespace Benefits {
|
|
|
319
319
|
type BenefitFrequency as BenefitFrequency,
|
|
320
320
|
type BenefitType as BenefitType,
|
|
321
321
|
type BenefitsSupport as BenefitsSupport,
|
|
322
|
-
type BenfitContribution as BenfitContribution,
|
|
323
322
|
type CompanyBenefit as CompanyBenefit,
|
|
324
323
|
type CreateCompanyBenefitsResponse as CreateCompanyBenefitsResponse,
|
|
325
324
|
type SupportPerBenefitType as SupportPerBenefitType,
|
|
326
325
|
type SupportedBenefit as SupportedBenefit,
|
|
327
326
|
type UpdateCompanyBenefitResponse as UpdateCompanyBenefitResponse,
|
|
327
|
+
type BenfitContribution as BenfitContribution,
|
|
328
328
|
CompanyBenefitsSinglePage as CompanyBenefitsSinglePage,
|
|
329
329
|
SupportedBenefitsSinglePage as SupportedBenefitsSinglePage,
|
|
330
330
|
type BenefitCreateParams as BenefitCreateParams,
|
|
@@ -9,12 +9,12 @@ export {
|
|
|
9
9
|
type BenefitFrequency,
|
|
10
10
|
type BenefitType,
|
|
11
11
|
type BenefitsSupport,
|
|
12
|
-
type BenfitContribution,
|
|
13
12
|
type CompanyBenefit,
|
|
14
13
|
type CreateCompanyBenefitsResponse,
|
|
15
14
|
type SupportPerBenefitType,
|
|
16
15
|
type SupportedBenefit,
|
|
17
16
|
type UpdateCompanyBenefitResponse,
|
|
17
|
+
type BenfitContribution,
|
|
18
18
|
type BenefitCreateParams,
|
|
19
19
|
type BenefitUpdateParams,
|
|
20
20
|
} from './benefits';
|
|
@@ -7,8 +7,8 @@ import * as Shared from '../shared';
|
|
|
7
7
|
|
|
8
8
|
export class Documents extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
* **Beta:** This endpoint is in beta and may change.
|
|
11
|
-
*
|
|
10
|
+
* **Beta:** This endpoint is in beta and may change. Retrieve a list of
|
|
11
|
+
* company-wide documents.
|
|
12
12
|
*/
|
|
13
13
|
list(query?: DocumentListParams, options?: Core.RequestOptions): Core.APIPromise<DocumentListResponse>;
|
|
14
14
|
list(options?: Core.RequestOptions): Core.APIPromise<DocumentListResponse>;
|
|
@@ -23,8 +23,8 @@ export class Documents extends APIResource {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
|
-
* **Beta:** This endpoint is in beta and may change.
|
|
27
|
-
*
|
|
26
|
+
* **Beta:** This endpoint is in beta and may change. Retrieve details of a
|
|
27
|
+
* specific document by its ID.
|
|
28
28
|
*/
|
|
29
29
|
retreive(documentId: string, options?: Core.RequestOptions): Core.APIPromise<DocumentRetreiveResponse> {
|
|
30
30
|
return this._client.get(`/employer/documents/${documentId}`, options);
|
|
@@ -99,7 +99,7 @@ export namespace W42005 {
|
|
|
99
99
|
/**
|
|
100
100
|
* The individual's filing status for tax purposes.
|
|
101
101
|
*/
|
|
102
|
-
filing_status?: 'married' | 'married_but_withhold_at_higher_single_rate' | 'single';
|
|
102
|
+
filing_status?: 'married' | 'married_but_withhold_at_higher_single_rate' | 'single' | null;
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* The unique identifier for the individual associated with this 2005 W4 form.
|
|
@@ -237,12 +237,12 @@ export declare namespace HRIS {
|
|
|
237
237
|
type BenefitFrequency as BenefitFrequency,
|
|
238
238
|
type BenefitType as BenefitType,
|
|
239
239
|
type BenefitsSupport as BenefitsSupport,
|
|
240
|
-
type BenfitContribution as BenfitContribution,
|
|
241
240
|
type CompanyBenefit as CompanyBenefit,
|
|
242
241
|
type CreateCompanyBenefitsResponse as CreateCompanyBenefitsResponse,
|
|
243
242
|
type SupportPerBenefitType as SupportPerBenefitType,
|
|
244
243
|
type SupportedBenefit as SupportedBenefit,
|
|
245
244
|
type UpdateCompanyBenefitResponse as UpdateCompanyBenefitResponse,
|
|
245
|
+
type BenfitContribution as BenfitContribution,
|
|
246
246
|
CompanyBenefitsSinglePage as CompanyBenefitsSinglePage,
|
|
247
247
|
SupportedBenefitsSinglePage as SupportedBenefitsSinglePage,
|
|
248
248
|
type BenefitCreateParams as BenefitCreateParams,
|
|
@@ -9,12 +9,12 @@ export {
|
|
|
9
9
|
type BenefitFrequency,
|
|
10
10
|
type BenefitType,
|
|
11
11
|
type BenefitsSupport,
|
|
12
|
-
type BenfitContribution,
|
|
13
12
|
type CompanyBenefit,
|
|
14
13
|
type CreateCompanyBenefitsResponse,
|
|
15
14
|
type SupportPerBenefitType,
|
|
16
15
|
type SupportedBenefit,
|
|
17
16
|
type UpdateCompanyBenefitResponse,
|
|
17
|
+
type BenfitContribution,
|
|
18
18
|
type BenefitCreateParams,
|
|
19
19
|
type BenefitUpdateParams,
|
|
20
20
|
} from './benefits/index';
|
|
@@ -118,12 +118,18 @@ export namespace PayStatement {
|
|
|
118
118
|
|
|
119
119
|
export namespace Earning {
|
|
120
120
|
export interface Attributes {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
121
|
+
metadata?: Attributes.Metadata;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export namespace Attributes {
|
|
125
|
+
export interface Metadata {
|
|
126
|
+
/**
|
|
127
|
+
* The metadata to be attached to the entity by existing rules. It is a key-value
|
|
128
|
+
* pairs where the values can be of any type (string, number, boolean, object,
|
|
129
|
+
* array, etc.).
|
|
130
|
+
*/
|
|
131
|
+
metadata?: Record<string, unknown>;
|
|
132
|
+
}
|
|
127
133
|
}
|
|
128
134
|
}
|
|
129
135
|
|
|
@@ -158,12 +164,18 @@ export namespace PayStatement {
|
|
|
158
164
|
|
|
159
165
|
export namespace EmployeeDeduction {
|
|
160
166
|
export interface Attributes {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
+
metadata?: Attributes.Metadata;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export namespace Attributes {
|
|
171
|
+
export interface Metadata {
|
|
172
|
+
/**
|
|
173
|
+
* The metadata to be attached to the entity by existing rules. It is a key-value
|
|
174
|
+
* pairs where the values can be of any type (string, number, boolean, object,
|
|
175
|
+
* array, etc.).
|
|
176
|
+
*/
|
|
177
|
+
metadata?: Record<string, unknown>;
|
|
178
|
+
}
|
|
167
179
|
}
|
|
168
180
|
}
|
|
169
181
|
|
|
@@ -193,12 +205,18 @@ export namespace PayStatement {
|
|
|
193
205
|
|
|
194
206
|
export namespace EmployerContribution {
|
|
195
207
|
export interface Attributes {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
208
|
+
metadata?: Attributes.Metadata;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export namespace Attributes {
|
|
212
|
+
export interface Metadata {
|
|
213
|
+
/**
|
|
214
|
+
* The metadata to be attached to the entity by existing rules. It is a key-value
|
|
215
|
+
* pairs where the values can be of any type (string, number, boolean, object,
|
|
216
|
+
* array, etc.).
|
|
217
|
+
*/
|
|
218
|
+
metadata?: Record<string, unknown>;
|
|
219
|
+
}
|
|
202
220
|
}
|
|
203
221
|
}
|
|
204
222
|
|
|
@@ -233,12 +251,18 @@ export namespace PayStatement {
|
|
|
233
251
|
|
|
234
252
|
export namespace Tax {
|
|
235
253
|
export interface Attributes {
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
254
|
+
metadata?: Attributes.Metadata;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export namespace Attributes {
|
|
258
|
+
export interface Metadata {
|
|
259
|
+
/**
|
|
260
|
+
* The metadata to be attached to the entity by existing rules. It is a key-value
|
|
261
|
+
* pairs where the values can be of any type (string, number, boolean, object,
|
|
262
|
+
* array, etc.).
|
|
263
|
+
*/
|
|
264
|
+
metadata?: Record<string, unknown>;
|
|
265
|
+
}
|
|
242
266
|
}
|
|
243
267
|
}
|
|
244
268
|
}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import { APIResource } from '../../resource';
|
|
4
4
|
import { isRequestOptions } from '../../core';
|
|
5
5
|
import * as Core from '../../core';
|
|
6
|
-
import { Page, type PageParams } from '../../pagination';
|
|
7
6
|
|
|
8
7
|
export class Automated extends APIResource {
|
|
9
8
|
/**
|
|
@@ -41,24 +40,19 @@ export class Automated extends APIResource {
|
|
|
41
40
|
* jobs are sorted in descending order by submission time. For scheduled jobs such
|
|
42
41
|
* as data syncs, only the next scheduled job is shown.
|
|
43
42
|
*/
|
|
44
|
-
list(
|
|
45
|
-
|
|
46
|
-
options?: Core.RequestOptions,
|
|
47
|
-
): Core.PagePromise<AutomatedAsyncJobsPage, AutomatedAsyncJob>;
|
|
48
|
-
list(options?: Core.RequestOptions): Core.PagePromise<AutomatedAsyncJobsPage, AutomatedAsyncJob>;
|
|
43
|
+
list(query?: AutomatedListParams, options?: Core.RequestOptions): Core.APIPromise<AutomatedListResponse>;
|
|
44
|
+
list(options?: Core.RequestOptions): Core.APIPromise<AutomatedListResponse>;
|
|
49
45
|
list(
|
|
50
46
|
query: AutomatedListParams | Core.RequestOptions = {},
|
|
51
47
|
options?: Core.RequestOptions,
|
|
52
|
-
): Core.
|
|
48
|
+
): Core.APIPromise<AutomatedListResponse> {
|
|
53
49
|
if (isRequestOptions(query)) {
|
|
54
50
|
return this.list({}, query);
|
|
55
51
|
}
|
|
56
|
-
return this._client.
|
|
52
|
+
return this._client.get('/jobs/automated', { query, ...options });
|
|
57
53
|
}
|
|
58
54
|
}
|
|
59
55
|
|
|
60
|
-
export class AutomatedAsyncJobsPage extends Page<AutomatedAsyncJob> {}
|
|
61
|
-
|
|
62
56
|
export interface AutomatedAsyncJob {
|
|
63
57
|
/**
|
|
64
58
|
* The datetime the job completed.
|
|
@@ -141,6 +135,44 @@ export interface AutomatedCreateResponse {
|
|
|
141
135
|
remaining_refreshes: number;
|
|
142
136
|
}
|
|
143
137
|
|
|
138
|
+
export interface AutomatedListResponse {
|
|
139
|
+
data: Array<AutomatedAsyncJob>;
|
|
140
|
+
|
|
141
|
+
meta: AutomatedListResponse.Meta;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export namespace AutomatedListResponse {
|
|
145
|
+
export interface Meta {
|
|
146
|
+
/**
|
|
147
|
+
* Information about remaining quotas for this connection. Only applicable for
|
|
148
|
+
* customers opted in to use Finch's Data Sync Refresh endpoint
|
|
149
|
+
* (`POST /jobs/automated`). Please contact a Finch representative for more
|
|
150
|
+
* details.
|
|
151
|
+
*/
|
|
152
|
+
quotas?: Meta.Quotas;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export namespace Meta {
|
|
156
|
+
/**
|
|
157
|
+
* Information about remaining quotas for this connection. Only applicable for
|
|
158
|
+
* customers opted in to use Finch's Data Sync Refresh endpoint
|
|
159
|
+
* (`POST /jobs/automated`). Please contact a Finch representative for more
|
|
160
|
+
* details.
|
|
161
|
+
*/
|
|
162
|
+
export interface Quotas {
|
|
163
|
+
data_sync_all?: Quotas.DataSyncAll;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export namespace Quotas {
|
|
167
|
+
export interface DataSyncAll {
|
|
168
|
+
allowed_refreshes?: number;
|
|
169
|
+
|
|
170
|
+
remaining_refreshes?: number;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
144
176
|
export type AutomatedCreateParams =
|
|
145
177
|
| AutomatedCreateParams.DataSyncAll
|
|
146
178
|
| AutomatedCreateParams.W4FormEmployeeSync;
|
|
@@ -172,15 +204,23 @@ export declare namespace AutomatedCreateParams {
|
|
|
172
204
|
}
|
|
173
205
|
}
|
|
174
206
|
|
|
175
|
-
export interface AutomatedListParams
|
|
207
|
+
export interface AutomatedListParams {
|
|
208
|
+
/**
|
|
209
|
+
* Number of items to return
|
|
210
|
+
*/
|
|
211
|
+
limit?: number;
|
|
176
212
|
|
|
177
|
-
|
|
213
|
+
/**
|
|
214
|
+
* Index to start from (defaults to 0)
|
|
215
|
+
*/
|
|
216
|
+
offset?: number;
|
|
217
|
+
}
|
|
178
218
|
|
|
179
219
|
export declare namespace Automated {
|
|
180
220
|
export {
|
|
181
221
|
type AutomatedAsyncJob as AutomatedAsyncJob,
|
|
182
222
|
type AutomatedCreateResponse as AutomatedCreateResponse,
|
|
183
|
-
|
|
223
|
+
type AutomatedListResponse as AutomatedListResponse,
|
|
184
224
|
type AutomatedCreateParams as AutomatedCreateParams,
|
|
185
225
|
type AutomatedListParams as AutomatedListParams,
|
|
186
226
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
export {
|
|
4
|
-
AutomatedAsyncJobsPage,
|
|
5
4
|
Automated,
|
|
6
5
|
type AutomatedAsyncJob,
|
|
7
6
|
type AutomatedCreateResponse,
|
|
7
|
+
type AutomatedListResponse,
|
|
8
8
|
type AutomatedCreateParams,
|
|
9
9
|
type AutomatedListParams,
|
|
10
10
|
} from './automated';
|