@rippling/rippling-sdk 0.2.0-alpha.97 → 0.2.0-alpha.99
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/client.d.mts +25 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +25 -4
- package/client.d.ts.map +1 -1
- package/client.js +21 -0
- package/client.js.map +1 -1
- package/client.mjs +22 -1
- package/client.mjs.map +1 -1
- package/lib/manifest/acp-agent-source-files.d.mts +1 -1
- package/lib/manifest/acp-agent-source-files.d.ts +1 -1
- package/lib/manifest/acp-agent-source-files.js +3 -10
- package/lib/manifest/acp-agent-source-files.js.map +1 -1
- package/lib/manifest/acp-agent-source-files.mjs +3 -10
- package/lib/manifest/acp-agent-source-files.mjs.map +1 -1
- package/package.json +2 -1
- package/resources/index.d.mts +5 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -1
- package/resources/index.mjs.map +1 -1
- package/resources/metadata/index.d.mts +1 -1
- package/resources/metadata/index.d.mts.map +1 -1
- package/resources/metadata/index.d.ts +1 -1
- package/resources/metadata/index.d.ts.map +1 -1
- package/resources/metadata/index.js.map +1 -1
- package/resources/metadata/index.mjs +1 -1
- package/resources/metadata/index.mjs.map +1 -1
- package/resources/metadata/metadata.d.mts +47 -1
- package/resources/metadata/metadata.d.mts.map +1 -1
- package/resources/metadata/metadata.d.ts +47 -1
- package/resources/metadata/metadata.d.ts.map +1 -1
- package/resources/metadata/metadata.js +15 -0
- package/resources/metadata/metadata.js.map +1 -1
- package/resources/metadata/metadata.mjs +15 -0
- package/resources/metadata/metadata.mjs.map +1 -1
- package/resources/sandboxes.d.mts +224 -1
- package/resources/sandboxes.d.mts.map +1 -1
- package/resources/sandboxes.d.ts +224 -1
- package/resources/sandboxes.d.ts.map +1 -1
- package/resources/sandboxes.js +6 -0
- package/resources/sandboxes.js.map +1 -1
- package/resources/sandboxes.mjs +6 -0
- package/resources/sandboxes.mjs.map +1 -1
- package/resources/sites.d.mts +3 -0
- package/resources/sites.d.mts.map +1 -1
- package/resources/sites.d.ts +3 -0
- package/resources/sites.d.ts.map +1 -1
- package/resources/sites.js +3 -0
- package/resources/sites.js.map +1 -1
- package/resources/sites.mjs +3 -0
- package/resources/sites.mjs.map +1 -1
- package/resources/variable-compensation-payout-labels.d.mts +155 -0
- package/resources/variable-compensation-payout-labels.d.mts.map +1 -0
- package/resources/variable-compensation-payout-labels.d.ts +155 -0
- package/resources/variable-compensation-payout-labels.d.ts.map +1 -0
- package/resources/variable-compensation-payout-labels.js +41 -0
- package/resources/variable-compensation-payout-labels.js.map +1 -0
- package/resources/variable-compensation-payout-labels.mjs +37 -0
- package/resources/variable-compensation-payout-labels.mjs.map +1 -0
- package/resources/variable-compensation-payout-types.d.mts +334 -0
- package/resources/variable-compensation-payout-types.d.mts.map +1 -0
- package/resources/variable-compensation-payout-types.d.ts +334 -0
- package/resources/variable-compensation-payout-types.d.ts.map +1 -0
- package/resources/variable-compensation-payout-types.js +52 -0
- package/resources/variable-compensation-payout-types.js.map +1 -0
- package/resources/variable-compensation-payout-types.mjs +48 -0
- package/resources/variable-compensation-payout-types.mjs.map +1 -0
- package/resources/variable-compensation-payout-writes.d.mts +6 -17
- package/resources/variable-compensation-payout-writes.d.mts.map +1 -1
- package/resources/variable-compensation-payout-writes.d.ts +6 -17
- package/resources/variable-compensation-payout-writes.d.ts.map +1 -1
- package/resources/variable-compensation-payout-writes.js +2 -1
- package/resources/variable-compensation-payout-writes.js.map +1 -1
- package/resources/variable-compensation-payout-writes.mjs +2 -1
- package/resources/variable-compensation-payout-writes.mjs.map +1 -1
- package/resources/variable-compensation-payouts.d.mts +501 -0
- package/resources/variable-compensation-payouts.d.mts.map +1 -0
- package/resources/variable-compensation-payouts.d.ts +501 -0
- package/resources/variable-compensation-payouts.d.ts.map +1 -0
- package/resources/variable-compensation-payouts.js +41 -0
- package/resources/variable-compensation-payouts.js.map +1 -0
- package/resources/variable-compensation-payouts.mjs +37 -0
- package/resources/variable-compensation-payouts.mjs.map +1 -0
- package/src/client.ts +94 -1
- package/src/lib/manifest/acp-agent-source-files.ts +3 -13
- package/src/resources/index.ts +38 -1
- package/src/resources/metadata/index.ts +7 -1
- package/src/resources/metadata/metadata.ts +54 -0
- package/src/resources/sandboxes.ts +265 -0
- package/src/resources/sites.ts +3 -0
- package/src/resources/variable-compensation-payout-labels.ts +227 -0
- package/src/resources/variable-compensation-payout-types.ts +440 -0
- package/src/resources/variable-compensation-payout-writes.ts +6 -20
- package/src/resources/variable-compensation-payouts.ts +702 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.VariableCompensationPayoutTypes = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const headers_1 = require("../internal/headers.js");
|
|
8
|
+
const path_1 = require("../internal/utils/path.js");
|
|
9
|
+
/**
|
|
10
|
+
* Compensation associated with workers
|
|
11
|
+
*/
|
|
12
|
+
class VariableCompensationPayoutTypes extends resource_1.APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* A list of variable compensation payout types.
|
|
15
|
+
*
|
|
16
|
+
* - Requires: `API Tier 1`
|
|
17
|
+
*/
|
|
18
|
+
list(options) {
|
|
19
|
+
return this._client.getAPIList('/variable-compensation-payout-types/', (pagination_1.PageCursorURL), options);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Create a custom payout type. Omit key; the server assigns one. Use PATCH
|
|
23
|
+
* /variable-compensation-payout-types/{key}/ to update.
|
|
24
|
+
*/
|
|
25
|
+
create(body, options) {
|
|
26
|
+
return this._client.post('/variable-compensation-payout-types/', { body, ...options });
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Retrieve a specific variable compensation payout type by key.
|
|
30
|
+
*/
|
|
31
|
+
retrieve(id, options) {
|
|
32
|
+
return this._client.get((0, path_1.path) `/variable-compensation-payout-types/${id}/`, options);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Update a custom payout type's display name or per-entity earning mappings.
|
|
36
|
+
*/
|
|
37
|
+
update(id, body, options) {
|
|
38
|
+
return this._client.patch((0, path_1.path) `/variable-compensation-payout-types/${id}/`, { body, ...options });
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Delete a custom payout type. Built-in payout types cannot be deleted. Returns
|
|
42
|
+
* 200 with a null body.
|
|
43
|
+
*/
|
|
44
|
+
delete(id, options) {
|
|
45
|
+
return this._client.delete((0, path_1.path) `/variable-compensation-payout-types/${id}/`, {
|
|
46
|
+
...options,
|
|
47
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.VariableCompensationPayoutTypes = VariableCompensationPayoutTypes;
|
|
52
|
+
//# sourceMappingURL=variable-compensation-payout-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variable-compensation-payout-types.js","sourceRoot":"","sources":["../src/resources/variable-compensation-payout-types.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAgE;AAChE,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,+BAAgC,SAAQ,sBAAW;IAC9D;;;;OAIG;IACH,IAAI,CACF,OAAwB;QAKxB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,sCAAsC,EACtC,CAAA,0BAAyD,CAAA,EACzD,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,IAAgD,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sCAAsC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,uCAAuC,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,IAAgD,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,uCAAuC,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,uCAAuC,EAAE,GAAG,EAAE;YAC3E,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA1DD,0EA0DC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { PageCursorURL } from "../core/pagination.mjs";
|
|
4
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
5
|
+
import { path } from "../internal/utils/path.mjs";
|
|
6
|
+
/**
|
|
7
|
+
* Compensation associated with workers
|
|
8
|
+
*/
|
|
9
|
+
export class VariableCompensationPayoutTypes extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* A list of variable compensation payout types.
|
|
12
|
+
*
|
|
13
|
+
* - Requires: `API Tier 1`
|
|
14
|
+
*/
|
|
15
|
+
list(options) {
|
|
16
|
+
return this._client.getAPIList('/variable-compensation-payout-types/', (PageCursorURL), options);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Create a custom payout type. Omit key; the server assigns one. Use PATCH
|
|
20
|
+
* /variable-compensation-payout-types/{key}/ to update.
|
|
21
|
+
*/
|
|
22
|
+
create(body, options) {
|
|
23
|
+
return this._client.post('/variable-compensation-payout-types/', { body, ...options });
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Retrieve a specific variable compensation payout type by key.
|
|
27
|
+
*/
|
|
28
|
+
retrieve(id, options) {
|
|
29
|
+
return this._client.get(path `/variable-compensation-payout-types/${id}/`, options);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Update a custom payout type's display name or per-entity earning mappings.
|
|
33
|
+
*/
|
|
34
|
+
update(id, body, options) {
|
|
35
|
+
return this._client.patch(path `/variable-compensation-payout-types/${id}/`, { body, ...options });
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Delete a custom payout type. Built-in payout types cannot be deleted. Returns
|
|
39
|
+
* 200 with a null body.
|
|
40
|
+
*/
|
|
41
|
+
delete(id, options) {
|
|
42
|
+
return this._client.delete(path `/variable-compensation-payout-types/${id}/`, {
|
|
43
|
+
...options,
|
|
44
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=variable-compensation-payout-types.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variable-compensation-payout-types.mjs","sourceRoot":"","sources":["../src/resources/variable-compensation-payout-types.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,aAAa,EAAe,+BAA2B;AAChE,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,+BAAgC,SAAQ,WAAW;IAC9D;;;;OAIG;IACH,IAAI,CACF,OAAwB;QAKxB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,sCAAsC,EACtC,CAAA,aAAyD,CAAA,EACzD,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,IAAgD,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sCAAsC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uCAAuC,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,IAAgD,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,uCAAuC,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,uCAAuC,EAAE,GAAG,EAAE;YAC3E,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -6,39 +6,28 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class VariableCompensationPayoutWrites extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* Create a
|
|
9
|
+
* Create and submit a payout into payroll. For ledger create-or-update of a payout
|
|
10
|
+
* row, use POST /variable-compensation-payouts/.
|
|
10
11
|
*/
|
|
11
12
|
create(body: VariableCompensationPayoutWriteCreateParams, options?: RequestOptions): APIPromise<VariableCompensationPayoutWriteCreateResponse>;
|
|
12
13
|
}
|
|
13
14
|
export interface VariableCompensationPayoutWriteCreateResponse {
|
|
14
|
-
/**
|
|
15
|
-
* Identifier field
|
|
16
|
-
*/
|
|
17
|
-
id: string;
|
|
18
15
|
/**
|
|
19
16
|
* Payout amount.
|
|
20
17
|
*/
|
|
21
18
|
amount_base: VariableCompensationPayoutWriteCreateResponse.AmountBase;
|
|
22
19
|
/**
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
created_at: string;
|
|
26
|
-
/**
|
|
27
|
-
* RoleWithCompany ID for the payout recipient.
|
|
20
|
+
* ID of the worker who receives this payout.
|
|
28
21
|
*/
|
|
29
22
|
payee_id: string;
|
|
30
23
|
/**
|
|
31
|
-
*
|
|
24
|
+
* Key of the company payment type used for this payout.
|
|
32
25
|
*/
|
|
33
26
|
payment_type: string;
|
|
34
27
|
/**
|
|
35
28
|
* Date on which the payout is scheduled.
|
|
36
29
|
*/
|
|
37
30
|
scheduled_date: string;
|
|
38
|
-
/**
|
|
39
|
-
* Record update date
|
|
40
|
-
*/
|
|
41
|
-
updated_at: string;
|
|
42
31
|
/**
|
|
43
32
|
* Optional markdown summary of the eligibility conditions.
|
|
44
33
|
*/
|
|
@@ -81,11 +70,11 @@ export interface VariableCompensationPayoutWriteCreateParams {
|
|
|
81
70
|
*/
|
|
82
71
|
amount_base: VariableCompensationPayoutWriteCreateParams.AmountBase;
|
|
83
72
|
/**
|
|
84
|
-
*
|
|
73
|
+
* ID of the worker who receives this payout.
|
|
85
74
|
*/
|
|
86
75
|
payee_id: string;
|
|
87
76
|
/**
|
|
88
|
-
*
|
|
77
|
+
* Key of the company payment type used for this payout.
|
|
89
78
|
*/
|
|
90
79
|
payment_type: string;
|
|
91
80
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variable-compensation-payout-writes.d.mts","sourceRoot":"","sources":["../src/resources/variable-compensation-payout-writes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,gCAAiC,SAAQ,WAAW;IAC/D
|
|
1
|
+
{"version":3,"file":"variable-compensation-payout-writes.d.mts","sourceRoot":"","sources":["../src/resources/variable-compensation-payout-writes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,gCAAiC,SAAQ,WAAW;IAC/D;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,2CAA2C,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6CAA6C,CAAC;CAG7D;AAED,MAAM,WAAW,6CAA6C;IAC5D;;OAEG;IACH,WAAW,EAAE,6CAA6C,CAAC,UAAU,CAAC;IAEtE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,yBAAiB,6CAA6C,CAAC;IAC7D;;OAEG;IACH,UAAiB,UAAU;QACzB;;WAEG;QACH,aAAa,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,2CAA2C;IAC1D;;OAEG;IACH,WAAW,EAAE,2CAA2C,CAAC,UAAU,CAAC;IAEpE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,yBAAiB,2CAA2C,CAAC;IAC3D;;OAEG;IACH,UAAiB,UAAU;QACzB;;WAEG;QACH,aAAa,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,CAAC,OAAO,WAAW,gCAAgC,CAAC;IACxD,OAAO,EACL,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,2CAA2C,IAAI,2CAA2C,GAChG,CAAC;CACH"}
|
|
@@ -6,39 +6,28 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class VariableCompensationPayoutWrites extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* Create a
|
|
9
|
+
* Create and submit a payout into payroll. For ledger create-or-update of a payout
|
|
10
|
+
* row, use POST /variable-compensation-payouts/.
|
|
10
11
|
*/
|
|
11
12
|
create(body: VariableCompensationPayoutWriteCreateParams, options?: RequestOptions): APIPromise<VariableCompensationPayoutWriteCreateResponse>;
|
|
12
13
|
}
|
|
13
14
|
export interface VariableCompensationPayoutWriteCreateResponse {
|
|
14
|
-
/**
|
|
15
|
-
* Identifier field
|
|
16
|
-
*/
|
|
17
|
-
id: string;
|
|
18
15
|
/**
|
|
19
16
|
* Payout amount.
|
|
20
17
|
*/
|
|
21
18
|
amount_base: VariableCompensationPayoutWriteCreateResponse.AmountBase;
|
|
22
19
|
/**
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
created_at: string;
|
|
26
|
-
/**
|
|
27
|
-
* RoleWithCompany ID for the payout recipient.
|
|
20
|
+
* ID of the worker who receives this payout.
|
|
28
21
|
*/
|
|
29
22
|
payee_id: string;
|
|
30
23
|
/**
|
|
31
|
-
*
|
|
24
|
+
* Key of the company payment type used for this payout.
|
|
32
25
|
*/
|
|
33
26
|
payment_type: string;
|
|
34
27
|
/**
|
|
35
28
|
* Date on which the payout is scheduled.
|
|
36
29
|
*/
|
|
37
30
|
scheduled_date: string;
|
|
38
|
-
/**
|
|
39
|
-
* Record update date
|
|
40
|
-
*/
|
|
41
|
-
updated_at: string;
|
|
42
31
|
/**
|
|
43
32
|
* Optional markdown summary of the eligibility conditions.
|
|
44
33
|
*/
|
|
@@ -81,11 +70,11 @@ export interface VariableCompensationPayoutWriteCreateParams {
|
|
|
81
70
|
*/
|
|
82
71
|
amount_base: VariableCompensationPayoutWriteCreateParams.AmountBase;
|
|
83
72
|
/**
|
|
84
|
-
*
|
|
73
|
+
* ID of the worker who receives this payout.
|
|
85
74
|
*/
|
|
86
75
|
payee_id: string;
|
|
87
76
|
/**
|
|
88
|
-
*
|
|
77
|
+
* Key of the company payment type used for this payout.
|
|
89
78
|
*/
|
|
90
79
|
payment_type: string;
|
|
91
80
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variable-compensation-payout-writes.d.ts","sourceRoot":"","sources":["../src/resources/variable-compensation-payout-writes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,gCAAiC,SAAQ,WAAW;IAC/D
|
|
1
|
+
{"version":3,"file":"variable-compensation-payout-writes.d.ts","sourceRoot":"","sources":["../src/resources/variable-compensation-payout-writes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,gCAAiC,SAAQ,WAAW;IAC/D;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,2CAA2C,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6CAA6C,CAAC;CAG7D;AAED,MAAM,WAAW,6CAA6C;IAC5D;;OAEG;IACH,WAAW,EAAE,6CAA6C,CAAC,UAAU,CAAC;IAEtE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,yBAAiB,6CAA6C,CAAC;IAC7D;;OAEG;IACH,UAAiB,UAAU;QACzB;;WAEG;QACH,aAAa,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,2CAA2C;IAC1D;;OAEG;IACH,WAAW,EAAE,2CAA2C,CAAC,UAAU,CAAC;IAEpE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,yBAAiB,2CAA2C,CAAC;IAC3D;;OAEG;IACH,UAAiB,UAAU;QACzB;;WAEG;QACH,aAAa,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,CAAC,OAAO,WAAW,gCAAgC,CAAC;IACxD,OAAO,EACL,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,2CAA2C,IAAI,2CAA2C,GAChG,CAAC;CACH"}
|
|
@@ -8,7 +8,8 @@ const resource_1 = require("../core/resource.js");
|
|
|
8
8
|
*/
|
|
9
9
|
class VariableCompensationPayoutWrites extends resource_1.APIResource {
|
|
10
10
|
/**
|
|
11
|
-
* Create a
|
|
11
|
+
* Create and submit a payout into payroll. For ledger create-or-update of a payout
|
|
12
|
+
* row, use POST /variable-compensation-payouts/.
|
|
12
13
|
*/
|
|
13
14
|
create(body, options) {
|
|
14
15
|
return this._client.post('/variable-compensation-payout-writes/', { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variable-compensation-payout-writes.js","sourceRoot":"","sources":["../src/resources/variable-compensation-payout-writes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,gCAAiC,SAAQ,sBAAW;IAC/D
|
|
1
|
+
{"version":3,"file":"variable-compensation-payout-writes.js","sourceRoot":"","sources":["../src/resources/variable-compensation-payout-writes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,gCAAiC,SAAQ,sBAAW;IAC/D;;;OAGG;IACH,MAAM,CACJ,IAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uCAAuC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;CACF;AAXD,4EAWC"}
|
|
@@ -5,7 +5,8 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
5
5
|
*/
|
|
6
6
|
export class VariableCompensationPayoutWrites extends APIResource {
|
|
7
7
|
/**
|
|
8
|
-
* Create a
|
|
8
|
+
* Create and submit a payout into payroll. For ledger create-or-update of a payout
|
|
9
|
+
* row, use POST /variable-compensation-payouts/.
|
|
9
10
|
*/
|
|
10
11
|
create(body, options) {
|
|
11
12
|
return this._client.post('/variable-compensation-payout-writes/', { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variable-compensation-payout-writes.mjs","sourceRoot":"","sources":["../src/resources/variable-compensation-payout-writes.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C;;GAEG;AACH,MAAM,OAAO,gCAAiC,SAAQ,WAAW;IAC/D
|
|
1
|
+
{"version":3,"file":"variable-compensation-payout-writes.mjs","sourceRoot":"","sources":["../src/resources/variable-compensation-payout-writes.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C;;GAEG;AACH,MAAM,OAAO,gCAAiC,SAAQ,WAAW;IAC/D;;;OAGG;IACH,MAAM,CACJ,IAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uCAAuC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;CACF"}
|