@rippling/rippling-sdk 0.2.0-alpha.25 → 0.2.0-alpha.26
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/LICENSE +1 -1
- package/client.d.mts +33 -11
- package/client.d.mts.map +1 -1
- package/client.d.ts +33 -11
- package/client.d.ts.map +1 -1
- package/client.js +21 -0
- package/client.js.map +1 -1
- package/client.mjs +21 -0
- package/client.mjs.map +1 -1
- package/functions.d.mts +4 -0
- package/functions.d.mts.map +1 -1
- package/functions.d.ts +4 -0
- package/functions.d.ts.map +1 -1
- package/functions.js +13 -1
- package/functions.js.map +1 -1
- package/functions.mjs +11 -0
- package/functions.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/compensation-bands-details.d.mts +95 -0
- package/resources/compensation-bands-details.d.mts.map +1 -0
- package/resources/compensation-bands-details.d.ts +95 -0
- package/resources/compensation-bands-details.d.ts.map +1 -0
- package/resources/compensation-bands-details.js +29 -0
- package/resources/compensation-bands-details.js.map +1 -0
- package/resources/compensation-bands-details.mjs +25 -0
- package/resources/compensation-bands-details.mjs.map +1 -0
- package/resources/custom-settings.d.mts +270 -0
- package/resources/custom-settings.d.mts.map +1 -0
- package/resources/custom-settings.d.ts +270 -0
- package/resources/custom-settings.d.ts.map +1 -0
- package/resources/custom-settings.js +51 -0
- package/resources/custom-settings.js.map +1 -0
- package/resources/custom-settings.mjs +47 -0
- package/resources/custom-settings.mjs.map +1 -0
- package/resources/departments.d.mts +37 -1
- package/resources/departments.d.mts.map +1 -1
- package/resources/departments.d.ts +37 -1
- package/resources/departments.d.ts.map +1 -1
- package/resources/departments.js +12 -0
- package/resources/departments.js.map +1 -1
- package/resources/departments.mjs +12 -0
- package/resources/departments.mjs.map +1 -1
- package/resources/draft-hires.d.mts +27 -0
- package/resources/draft-hires.d.mts.map +1 -1
- package/resources/draft-hires.d.ts +27 -0
- package/resources/draft-hires.d.ts.map +1 -1
- package/resources/functions/executions.d.mts +6 -82
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +6 -82
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/executions.js.map +1 -1
- package/resources/functions/executions.mjs.map +1 -1
- package/resources/functions/functions.d.mts +2 -2
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +2 -2
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/functions/index.d.mts +1 -1
- package/resources/functions/index.d.mts.map +1 -1
- package/resources/functions/index.d.ts +1 -1
- package/resources/functions/index.d.ts.map +1 -1
- package/resources/functions/index.js.map +1 -1
- package/resources/functions/index.mjs.map +1 -1
- package/resources/index.d.mts +12 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +12 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +15 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +7 -0
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +70 -6
- package/resources/job-assignments.d.mts.map +1 -1
- package/resources/job-assignments.d.ts +70 -6
- package/resources/job-assignments.d.ts.map +1 -1
- package/resources/job-assignments.js +22 -0
- package/resources/job-assignments.js.map +1 -1
- package/resources/job-assignments.mjs +22 -0
- package/resources/job-assignments.mjs.map +1 -1
- package/resources/job-codes.d.mts +47 -1
- package/resources/job-codes.d.mts.map +1 -1
- package/resources/job-codes.d.ts +47 -1
- package/resources/job-codes.d.ts.map +1 -1
- package/resources/job-dimensions.d.mts +20 -0
- package/resources/job-dimensions.d.mts.map +1 -1
- package/resources/job-dimensions.d.ts +20 -0
- package/resources/job-dimensions.d.ts.map +1 -1
- package/resources/job-requisitions-write.d.mts +257 -0
- package/resources/job-requisitions-write.d.mts.map +1 -0
- package/resources/job-requisitions-write.d.ts +257 -0
- package/resources/job-requisitions-write.d.ts.map +1 -0
- package/resources/job-requisitions-write.js +15 -0
- package/resources/job-requisitions-write.js.map +1 -0
- package/resources/job-requisitions-write.mjs +11 -0
- package/resources/job-requisitions-write.mjs.map +1 -0
- package/resources/leave-accruals.d.mts +112 -6
- package/resources/leave-accruals.d.mts.map +1 -1
- package/resources/leave-accruals.d.ts +112 -6
- package/resources/leave-accruals.d.ts.map +1 -1
- package/resources/leave-accruals.js +19 -3
- package/resources/leave-accruals.js.map +1 -1
- package/resources/leave-accruals.mjs +19 -3
- package/resources/leave-accruals.mjs.map +1 -1
- package/resources/report-runs.d.mts +149 -0
- package/resources/report-runs.d.mts.map +1 -0
- package/resources/report-runs.d.ts +149 -0
- package/resources/report-runs.d.ts.map +1 -0
- package/resources/report-runs.js +22 -0
- package/resources/report-runs.js.map +1 -0
- package/resources/report-runs.mjs +18 -0
- package/resources/report-runs.mjs.map +1 -0
- package/resources/shared.d.mts +35 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +35 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/shift-assignments.d.mts +296 -0
- package/resources/shift-assignments.d.mts.map +1 -0
- package/resources/shift-assignments.d.ts +296 -0
- package/resources/shift-assignments.d.ts.map +1 -0
- package/resources/shift-assignments.js +25 -0
- package/resources/shift-assignments.js.map +1 -0
- package/resources/shift-assignments.mjs +21 -0
- package/resources/shift-assignments.mjs.map +1 -0
- package/resources/shiftassignments.d.mts +56 -4
- package/resources/shiftassignments.d.mts.map +1 -1
- package/resources/shiftassignments.d.ts +56 -4
- package/resources/shiftassignments.d.ts.map +1 -1
- package/resources/supergroups/exclusion-members.d.mts +3 -3
- package/resources/supergroups/exclusion-members.d.mts.map +1 -1
- package/resources/supergroups/exclusion-members.d.ts +3 -3
- package/resources/supergroups/exclusion-members.d.ts.map +1 -1
- package/resources/supergroups/exclusion-members.js.map +1 -1
- package/resources/supergroups/exclusion-members.mjs.map +1 -1
- package/resources/supergroups/inclusion-members.d.mts +3 -3
- package/resources/supergroups/inclusion-members.d.mts.map +1 -1
- package/resources/supergroups/inclusion-members.d.ts +3 -3
- package/resources/supergroups/inclusion-members.d.ts.map +1 -1
- package/resources/supergroups/inclusion-members.js.map +1 -1
- package/resources/supergroups/inclusion-members.mjs.map +1 -1
- package/resources/supergroups/index.d.mts +1 -1
- package/resources/supergroups/index.d.mts.map +1 -1
- package/resources/supergroups/index.d.ts +1 -1
- package/resources/supergroups/index.d.ts.map +1 -1
- package/resources/supergroups/index.js.map +1 -1
- package/resources/supergroups/index.mjs.map +1 -1
- package/resources/supergroups/members.d.mts +6 -37
- package/resources/supergroups/members.d.mts.map +1 -1
- package/resources/supergroups/members.d.ts +6 -37
- package/resources/supergroups/members.d.ts.map +1 -1
- package/resources/supergroups/members.js.map +1 -1
- package/resources/supergroups/members.mjs.map +1 -1
- package/resources/supergroups/supergroups.d.mts +2 -2
- package/resources/supergroups/supergroups.d.mts.map +1 -1
- package/resources/supergroups/supergroups.d.ts +2 -2
- package/resources/supergroups/supergroups.d.ts.map +1 -1
- package/resources/supergroups/supergroups.js.map +1 -1
- package/resources/supergroups/supergroups.mjs.map +1 -1
- package/resources/titles.d.mts +126 -0
- package/resources/titles.d.mts.map +1 -0
- package/resources/titles.d.ts +126 -0
- package/resources/titles.d.ts.map +1 -0
- package/resources/titles.js +48 -0
- package/resources/titles.js.map +1 -0
- package/resources/titles.mjs +44 -0
- package/resources/titles.mjs.map +1 -0
- package/resources/unassigned-shifts.d.mts +334 -0
- package/resources/unassigned-shifts.d.mts.map +1 -0
- package/resources/unassigned-shifts.d.ts +334 -0
- package/resources/unassigned-shifts.d.ts.map +1 -0
- package/resources/unassigned-shifts.js +42 -0
- package/resources/unassigned-shifts.js.map +1 -0
- package/resources/unassigned-shifts.mjs +38 -0
- package/resources/unassigned-shifts.mjs.map +1 -0
- package/resources/unassignedshifts.d.mts +382 -1
- package/resources/unassignedshifts.d.mts.map +1 -1
- package/resources/unassignedshifts.d.ts +382 -1
- package/resources/unassignedshifts.d.ts.map +1 -1
- package/resources/unassignedshifts.js +6 -0
- package/resources/unassignedshifts.js.map +1 -1
- package/resources/unassignedshifts.mjs +6 -0
- package/resources/unassignedshifts.mjs.map +1 -1
- package/resources/work-locations.d.mts +95 -1
- package/resources/work-locations.d.mts.map +1 -1
- package/resources/work-locations.d.ts +95 -1
- package/resources/work-locations.d.ts.map +1 -1
- package/resources/work-locations.js +12 -0
- package/resources/work-locations.js.map +1 -1
- package/resources/work-locations.mjs +12 -0
- package/resources/work-locations.mjs.map +1 -1
- package/src/client.ts +153 -3
- package/src/functions.ts +14 -0
- package/src/resources/compensation-bands-details.ts +140 -0
- package/src/resources/custom-settings.ts +371 -0
- package/src/resources/departments.ts +50 -0
- package/src/resources/draft-hires.ts +32 -0
- package/src/resources/functions/executions.ts +8 -104
- package/src/resources/functions/functions.ts +4 -8
- package/src/resources/functions/index.ts +2 -4
- package/src/resources/index.ts +66 -2
- package/src/resources/job-assignments.ts +95 -6
- package/src/resources/job-codes.ts +56 -1
- package/src/resources/job-dimensions.ts +24 -0
- package/src/resources/job-requisitions-write.ts +327 -0
- package/src/resources/leave-accruals.ts +229 -12
- package/src/resources/report-runs.ts +186 -0
- package/src/resources/shared.ts +44 -0
- package/src/resources/shift-assignments.ts +362 -0
- package/src/resources/shiftassignments.ts +70 -5
- package/src/resources/supergroups/exclusion-members.ts +4 -4
- package/src/resources/supergroups/inclusion-members.ts +4 -4
- package/src/resources/supergroups/index.ts +1 -1
- package/src/resources/supergroups/members.ts +7 -49
- package/src/resources/supergroups/supergroups.ts +2 -7
- package/src/resources/titles.ts +181 -0
- package/src/resources/unassigned-shifts.ts +415 -0
- package/src/resources/unassignedshifts.ts +467 -0
- package/src/resources/work-locations.ts +118 -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,95 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as BusinessPartnersAPI from "./business-partners.js";
|
|
3
|
+
import * as WorkersAPI from "./workers.js";
|
|
4
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
5
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.js";
|
|
6
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
7
|
+
export declare class CompensationBandsDetails extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* A List of compensation bands details
|
|
10
|
+
*
|
|
11
|
+
* - Requires: `API Tier 2`
|
|
12
|
+
* - Filterable fields: `created_at`, `updated_at`, `internal_job_code`,
|
|
13
|
+
* `worker_id`
|
|
14
|
+
* - Expandable fields: `worker`
|
|
15
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
16
|
+
*/
|
|
17
|
+
list(query?: CompensationBandsDetailListParams | null | undefined, options?: RequestOptions): PagePromise<CompensationBandsDetailListResponsesPageCursorURL, CompensationBandsDetailListResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieve a specific compensation bands detail
|
|
20
|
+
*/
|
|
21
|
+
retrieve(id: string, query?: CompensationBandsDetailRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CompensationBandsDetailRetrieveResponse>;
|
|
22
|
+
}
|
|
23
|
+
export type CompensationBandsDetailListResponsesPageCursorURL = PageCursorURL<CompensationBandsDetailListResponse>;
|
|
24
|
+
export interface CompensationBandsDetailListResponse {
|
|
25
|
+
/**
|
|
26
|
+
* Identifier field
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* Record creation date
|
|
31
|
+
*/
|
|
32
|
+
created_at: string;
|
|
33
|
+
/**
|
|
34
|
+
* Record update date
|
|
35
|
+
*/
|
|
36
|
+
updated_at: string;
|
|
37
|
+
/**
|
|
38
|
+
* Internal job code
|
|
39
|
+
*/
|
|
40
|
+
internal_job_code?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The worker associated with compensation bands
|
|
43
|
+
*
|
|
44
|
+
* Expandable field
|
|
45
|
+
*/
|
|
46
|
+
worker?: WorkersAPI.Worker;
|
|
47
|
+
/**
|
|
48
|
+
* ID of the worker associated with compensation bands
|
|
49
|
+
*/
|
|
50
|
+
worker_id?: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Meta information for the response.
|
|
54
|
+
*/
|
|
55
|
+
export interface CompensationBandsDetailRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
56
|
+
/**
|
|
57
|
+
* Identifier field
|
|
58
|
+
*/
|
|
59
|
+
id: string;
|
|
60
|
+
/**
|
|
61
|
+
* Record creation date
|
|
62
|
+
*/
|
|
63
|
+
created_at: string;
|
|
64
|
+
/**
|
|
65
|
+
* Record update date
|
|
66
|
+
*/
|
|
67
|
+
updated_at: string;
|
|
68
|
+
/**
|
|
69
|
+
* Internal job code
|
|
70
|
+
*/
|
|
71
|
+
internal_job_code?: string;
|
|
72
|
+
/**
|
|
73
|
+
* The worker associated with compensation bands
|
|
74
|
+
*
|
|
75
|
+
* Expandable field
|
|
76
|
+
*/
|
|
77
|
+
worker?: WorkersAPI.Worker;
|
|
78
|
+
/**
|
|
79
|
+
* ID of the worker associated with compensation bands
|
|
80
|
+
*/
|
|
81
|
+
worker_id?: string;
|
|
82
|
+
}
|
|
83
|
+
export interface CompensationBandsDetailListParams {
|
|
84
|
+
cursor?: string;
|
|
85
|
+
expand?: string;
|
|
86
|
+
filter?: string;
|
|
87
|
+
order_by?: string;
|
|
88
|
+
}
|
|
89
|
+
export interface CompensationBandsDetailRetrieveParams {
|
|
90
|
+
expand?: string;
|
|
91
|
+
}
|
|
92
|
+
export declare namespace CompensationBandsDetails {
|
|
93
|
+
export { type CompensationBandsDetailListResponse as CompensationBandsDetailListResponse, type CompensationBandsDetailRetrieveResponse as CompensationBandsDetailRetrieveResponse, type CompensationBandsDetailListResponsesPageCursorURL as CompensationBandsDetailListResponsesPageCursorURL, type CompensationBandsDetailListParams as CompensationBandsDetailListParams, type CompensationBandsDetailRetrieveParams as CompensationBandsDetailRetrieveParams, };
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=compensation-bands-details.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compensation-bands-details.d.ts","sourceRoot":"","sources":["../src/resources/compensation-bands-details.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,wBAAyB,SAAQ,WAAW;IACvD;;;;;;;;OAQG;IACH,IAAI,CACF,KAAK,GAAE,iCAAiC,GAAG,IAAI,GAAG,SAAc,EAChE,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,iDAAiD,EAAE,mCAAmC,CAAC;IAQtG;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qCAAqC,GAAG,IAAI,GAAG,SAAc,EACpE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uCAAuC,CAAC;CAGvD;AAED,MAAM,MAAM,iDAAiD,GAC3D,aAAa,CAAC,mCAAmC,CAAC,CAAC;AAErD,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;;OAIG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,uCAAwC,SAAQ,mBAAmB,CAAC,IAAI;IACvF;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;;OAIG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,iCAAiC;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,qCAAqC;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,wBAAwB,CAAC;IAChD,OAAO,EACL,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,iDAAiD,IAAI,iDAAiD,EAC3G,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,qCAAqC,IAAI,qCAAqC,GACpF,CAAC;CACH"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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.CompensationBandsDetails = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
class CompensationBandsDetails extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* A List of compensation bands details
|
|
11
|
+
*
|
|
12
|
+
* - Requires: `API Tier 2`
|
|
13
|
+
* - Filterable fields: `created_at`, `updated_at`, `internal_job_code`,
|
|
14
|
+
* `worker_id`
|
|
15
|
+
* - Expandable fields: `worker`
|
|
16
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
17
|
+
*/
|
|
18
|
+
list(query = {}, options) {
|
|
19
|
+
return this._client.getAPIList('/compensation-bands-details', (pagination_1.PageCursorURL), { query, ...options });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Retrieve a specific compensation bands detail
|
|
23
|
+
*/
|
|
24
|
+
retrieve(id, query = {}, options) {
|
|
25
|
+
return this._client.get((0, path_1.path) `/compensation-bands-details/${id}`, { query, ...options });
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.CompensationBandsDetails = CompensationBandsDetails;
|
|
29
|
+
//# sourceMappingURL=compensation-bands-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compensation-bands-details.js","sourceRoot":"","sources":["../src/resources/compensation-bands-details.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAEhE,oDAA8C;AAE9C,MAAa,wBAAyB,SAAQ,sBAAW;IACvD;;;;;;;;OAQG;IACH,IAAI,CACF,QAA8D,EAAE,EAChE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,6BAA6B,EAC7B,CAAA,0BAAkD,CAAA,EAClD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAkE,EAAE,EACpE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,+BAA+B,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;CACF;AA/BD,4DA+BC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { path } from "../internal/utils/path.mjs";
|
|
5
|
+
export class CompensationBandsDetails extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* A List of compensation bands details
|
|
8
|
+
*
|
|
9
|
+
* - Requires: `API Tier 2`
|
|
10
|
+
* - Filterable fields: `created_at`, `updated_at`, `internal_job_code`,
|
|
11
|
+
* `worker_id`
|
|
12
|
+
* - Expandable fields: `worker`
|
|
13
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
14
|
+
*/
|
|
15
|
+
list(query = {}, options) {
|
|
16
|
+
return this._client.getAPIList('/compensation-bands-details', (PageCursorURL), { query, ...options });
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Retrieve a specific compensation bands detail
|
|
20
|
+
*/
|
|
21
|
+
retrieve(id, query = {}, options) {
|
|
22
|
+
return this._client.get(path `/compensation-bands-details/${id}`, { query, ...options });
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=compensation-bands-details.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compensation-bands-details.mjs","sourceRoot":"","sources":["../src/resources/compensation-bands-details.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,wBAAyB,SAAQ,WAAW;IACvD;;;;;;;;OAQG;IACH,IAAI,CACF,QAA8D,EAAE,EAChE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,6BAA6B,EAC7B,CAAA,aAAkD,CAAA,EAClD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAkE,EAAE,EACpE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,+BAA+B,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;CACF"}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as BusinessPartnersAPI from "./business-partners.mjs";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
4
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
|
|
5
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
6
|
+
export declare class CustomSettings extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* A List of Setting
|
|
9
|
+
*
|
|
10
|
+
* - Requires: `Functions API`
|
|
11
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
12
|
+
*/
|
|
13
|
+
list(query?: CustomSettingListParams | null | undefined, options?: RequestOptions): PagePromise<CustomSettingListResponsesPageCursorURL, CustomSettingListResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Create a new Setting
|
|
16
|
+
*/
|
|
17
|
+
create(body?: CustomSettingCreateParams | null | undefined, options?: RequestOptions): APIPromise<CustomSettingCreateResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieve a specific Setting
|
|
20
|
+
*/
|
|
21
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<CustomSettingRetrieveResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Updated a specific Setting
|
|
24
|
+
*/
|
|
25
|
+
update(id: string, body?: CustomSettingUpdateParams | null | undefined, options?: RequestOptions): APIPromise<CustomSettingUpdateResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Delete a Setting
|
|
28
|
+
*/
|
|
29
|
+
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
30
|
+
}
|
|
31
|
+
export type CustomSettingListResponsesPageCursorURL = PageCursorURL<CustomSettingListResponse>;
|
|
32
|
+
export interface CustomSettingListResponse {
|
|
33
|
+
/**
|
|
34
|
+
* Identifier field
|
|
35
|
+
*/
|
|
36
|
+
id: string;
|
|
37
|
+
/**
|
|
38
|
+
* Record creation date
|
|
39
|
+
*/
|
|
40
|
+
created_at: string;
|
|
41
|
+
/**
|
|
42
|
+
* Record update date
|
|
43
|
+
*/
|
|
44
|
+
updated_at: string;
|
|
45
|
+
/**
|
|
46
|
+
* The unique api name of the setting
|
|
47
|
+
*/
|
|
48
|
+
api_name?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Boolean value of the setting, if it has boolean data type
|
|
51
|
+
*/
|
|
52
|
+
boolean_value?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Data type of the setting
|
|
55
|
+
*/
|
|
56
|
+
data_type?: string;
|
|
57
|
+
/**
|
|
58
|
+
* The display name of setting
|
|
59
|
+
*/
|
|
60
|
+
display_name?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Number value of the setting, if it has number data type
|
|
63
|
+
*/
|
|
64
|
+
number_value?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Secret value of the setting, if it has secret data type
|
|
67
|
+
*/
|
|
68
|
+
secret_value?: string;
|
|
69
|
+
/**
|
|
70
|
+
* String value of the setting, if it has string data type
|
|
71
|
+
*/
|
|
72
|
+
string_value?: string;
|
|
73
|
+
}
|
|
74
|
+
export interface CustomSettingCreateResponse {
|
|
75
|
+
/**
|
|
76
|
+
* Identifier field
|
|
77
|
+
*/
|
|
78
|
+
id: string;
|
|
79
|
+
/**
|
|
80
|
+
* Record creation date
|
|
81
|
+
*/
|
|
82
|
+
created_at: string;
|
|
83
|
+
/**
|
|
84
|
+
* Record update date
|
|
85
|
+
*/
|
|
86
|
+
updated_at: string;
|
|
87
|
+
/**
|
|
88
|
+
* The unique api name of the setting
|
|
89
|
+
*/
|
|
90
|
+
api_name?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Boolean value of the setting, if it has boolean data type
|
|
93
|
+
*/
|
|
94
|
+
boolean_value?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Data type of the setting
|
|
97
|
+
*/
|
|
98
|
+
data_type?: string;
|
|
99
|
+
/**
|
|
100
|
+
* The display name of setting
|
|
101
|
+
*/
|
|
102
|
+
display_name?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Number value of the setting, if it has number data type
|
|
105
|
+
*/
|
|
106
|
+
number_value?: number;
|
|
107
|
+
/**
|
|
108
|
+
* Secret value of the setting, if it has secret data type
|
|
109
|
+
*/
|
|
110
|
+
secret_value?: string;
|
|
111
|
+
/**
|
|
112
|
+
* String value of the setting, if it has string data type
|
|
113
|
+
*/
|
|
114
|
+
string_value?: string;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Meta information for the response.
|
|
118
|
+
*/
|
|
119
|
+
export interface CustomSettingRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
120
|
+
/**
|
|
121
|
+
* Identifier field
|
|
122
|
+
*/
|
|
123
|
+
id: string;
|
|
124
|
+
/**
|
|
125
|
+
* Record creation date
|
|
126
|
+
*/
|
|
127
|
+
created_at: string;
|
|
128
|
+
/**
|
|
129
|
+
* Record update date
|
|
130
|
+
*/
|
|
131
|
+
updated_at: string;
|
|
132
|
+
/**
|
|
133
|
+
* The unique api name of the setting
|
|
134
|
+
*/
|
|
135
|
+
api_name?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Boolean value of the setting, if it has boolean data type
|
|
138
|
+
*/
|
|
139
|
+
boolean_value?: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Data type of the setting
|
|
142
|
+
*/
|
|
143
|
+
data_type?: string;
|
|
144
|
+
/**
|
|
145
|
+
* The display name of setting
|
|
146
|
+
*/
|
|
147
|
+
display_name?: string;
|
|
148
|
+
/**
|
|
149
|
+
* Number value of the setting, if it has number data type
|
|
150
|
+
*/
|
|
151
|
+
number_value?: number;
|
|
152
|
+
/**
|
|
153
|
+
* Secret value of the setting, if it has secret data type
|
|
154
|
+
*/
|
|
155
|
+
secret_value?: string;
|
|
156
|
+
/**
|
|
157
|
+
* String value of the setting, if it has string data type
|
|
158
|
+
*/
|
|
159
|
+
string_value?: string;
|
|
160
|
+
}
|
|
161
|
+
export interface CustomSettingUpdateResponse {
|
|
162
|
+
/**
|
|
163
|
+
* Identifier field
|
|
164
|
+
*/
|
|
165
|
+
id: string;
|
|
166
|
+
/**
|
|
167
|
+
* Record creation date
|
|
168
|
+
*/
|
|
169
|
+
created_at: string;
|
|
170
|
+
/**
|
|
171
|
+
* Record update date
|
|
172
|
+
*/
|
|
173
|
+
updated_at: string;
|
|
174
|
+
/**
|
|
175
|
+
* The unique api name of the setting
|
|
176
|
+
*/
|
|
177
|
+
api_name?: string;
|
|
178
|
+
/**
|
|
179
|
+
* Boolean value of the setting, if it has boolean data type
|
|
180
|
+
*/
|
|
181
|
+
boolean_value?: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* Data type of the setting
|
|
184
|
+
*/
|
|
185
|
+
data_type?: string;
|
|
186
|
+
/**
|
|
187
|
+
* The display name of setting
|
|
188
|
+
*/
|
|
189
|
+
display_name?: string;
|
|
190
|
+
/**
|
|
191
|
+
* Number value of the setting, if it has number data type
|
|
192
|
+
*/
|
|
193
|
+
number_value?: number;
|
|
194
|
+
/**
|
|
195
|
+
* Secret value of the setting, if it has secret data type
|
|
196
|
+
*/
|
|
197
|
+
secret_value?: string;
|
|
198
|
+
/**
|
|
199
|
+
* String value of the setting, if it has string data type
|
|
200
|
+
*/
|
|
201
|
+
string_value?: string;
|
|
202
|
+
}
|
|
203
|
+
export interface CustomSettingListParams {
|
|
204
|
+
cursor?: string;
|
|
205
|
+
order_by?: string;
|
|
206
|
+
}
|
|
207
|
+
export interface CustomSettingCreateParams {
|
|
208
|
+
/**
|
|
209
|
+
* The unique api name of the setting
|
|
210
|
+
*/
|
|
211
|
+
api_name?: string;
|
|
212
|
+
/**
|
|
213
|
+
* Boolean value of the setting, if it has boolean data type
|
|
214
|
+
*/
|
|
215
|
+
boolean_value?: boolean;
|
|
216
|
+
/**
|
|
217
|
+
* Data type of the setting
|
|
218
|
+
*/
|
|
219
|
+
data_type?: string;
|
|
220
|
+
/**
|
|
221
|
+
* The display name of setting
|
|
222
|
+
*/
|
|
223
|
+
display_name?: string;
|
|
224
|
+
/**
|
|
225
|
+
* Number value of the setting, if it has number data type
|
|
226
|
+
*/
|
|
227
|
+
number_value?: number;
|
|
228
|
+
/**
|
|
229
|
+
* Secret value of the setting, if it has secret data type
|
|
230
|
+
*/
|
|
231
|
+
secret_value?: string;
|
|
232
|
+
/**
|
|
233
|
+
* String value of the setting, if it has string data type
|
|
234
|
+
*/
|
|
235
|
+
string_value?: string;
|
|
236
|
+
}
|
|
237
|
+
export interface CustomSettingUpdateParams {
|
|
238
|
+
/**
|
|
239
|
+
* The unique api name of the setting
|
|
240
|
+
*/
|
|
241
|
+
api_name?: string;
|
|
242
|
+
/**
|
|
243
|
+
* Boolean value of the setting, if it has boolean data type
|
|
244
|
+
*/
|
|
245
|
+
boolean_value?: boolean;
|
|
246
|
+
/**
|
|
247
|
+
* Data type of the setting
|
|
248
|
+
*/
|
|
249
|
+
data_type?: string;
|
|
250
|
+
/**
|
|
251
|
+
* The display name of setting
|
|
252
|
+
*/
|
|
253
|
+
display_name?: string;
|
|
254
|
+
/**
|
|
255
|
+
* Number value of the setting, if it has number data type
|
|
256
|
+
*/
|
|
257
|
+
number_value?: number;
|
|
258
|
+
/**
|
|
259
|
+
* Secret value of the setting, if it has secret data type
|
|
260
|
+
*/
|
|
261
|
+
secret_value?: string;
|
|
262
|
+
/**
|
|
263
|
+
* String value of the setting, if it has string data type
|
|
264
|
+
*/
|
|
265
|
+
string_value?: string;
|
|
266
|
+
}
|
|
267
|
+
export declare namespace CustomSettings {
|
|
268
|
+
export { type CustomSettingListResponse as CustomSettingListResponse, type CustomSettingCreateResponse as CustomSettingCreateResponse, type CustomSettingRetrieveResponse as CustomSettingRetrieveResponse, type CustomSettingUpdateResponse as CustomSettingUpdateResponse, type CustomSettingListResponsesPageCursorURL as CustomSettingListResponsesPageCursorURL, type CustomSettingListParams as CustomSettingListParams, type CustomSettingCreateParams as CustomSettingCreateParams, type CustomSettingUpdateParams as CustomSettingUpdateParams, };
|
|
269
|
+
}
|
|
270
|
+
//# sourceMappingURL=custom-settings.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-settings.d.mts","sourceRoot":"","sources":["../src/resources/custom-settings.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAE9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,uCAAuC,EAAE,yBAAyB,CAAC;IAOlF;;OAEG;IACH,MAAM,CACJ,IAAI,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;IAI1C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIzF;;OAEG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;IAI1C;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAM/D;AAED,MAAM,MAAM,uCAAuC,GAAG,aAAa,CAAC,yBAAyB,CAAC,CAAC;AAE/F,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IA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