@rippling/rippling-sdk 0.2.0-alpha.24 → 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 +7 -0
- package/functions.d.mts.map +1 -1
- package/functions.d.ts +7 -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 +68 -10
- package/resources/shiftassignments.d.mts.map +1 -1
- package/resources/shiftassignments.d.ts +68 -10
- package/resources/shiftassignments.d.ts.map +1 -1
- package/resources/supergroups/exclusion-members.d.mts +5 -3
- package/resources/supergroups/exclusion-members.d.mts.map +1 -1
- package/resources/supergroups/exclusion-members.d.ts +5 -3
- package/resources/supergroups/exclusion-members.d.ts.map +1 -1
- package/resources/supergroups/exclusion-members.js +1 -0
- package/resources/supergroups/exclusion-members.js.map +1 -1
- package/resources/supergroups/exclusion-members.mjs +1 -0
- package/resources/supergroups/exclusion-members.mjs.map +1 -1
- package/resources/supergroups/inclusion-members.d.mts +5 -3
- package/resources/supergroups/inclusion-members.d.mts.map +1 -1
- package/resources/supergroups/inclusion-members.d.ts +5 -3
- package/resources/supergroups/inclusion-members.d.ts.map +1 -1
- package/resources/supergroups/inclusion-members.js +1 -0
- package/resources/supergroups/inclusion-members.js.map +1 -1
- package/resources/supergroups/inclusion-members.mjs +1 -0
- 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 +8 -26
- package/resources/supergroups/members.d.mts.map +1 -1
- package/resources/supergroups/members.d.ts +8 -26
- package/resources/supergroups/members.d.ts.map +1 -1
- package/resources/supergroups/members.js +1 -0
- package/resources/supergroups/members.js.map +1 -1
- package/resources/supergroups/members.mjs +1 -0
- 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 +744 -32
- package/resources/unassignedshifts.d.mts.map +1 -1
- package/resources/unassignedshifts.d.ts +744 -32
- package/resources/unassignedshifts.d.ts.map +1 -1
- package/resources/unassignedshifts.js +12 -0
- package/resources/unassignedshifts.js.map +1 -1
- package/resources/unassignedshifts.mjs +12 -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 +157 -3
- package/src/functions.ts +20 -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 +68 -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 +82 -11
- package/src/resources/supergroups/exclusion-members.ts +7 -4
- package/src/resources/supergroups/inclusion-members.ts +7 -4
- package/src/resources/supergroups/index.ts +1 -1
- package/src/resources/supergroups/members.ts +10 -36
- 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 +905 -35
- 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
|
@@ -22,12 +22,26 @@ export class WorkLocations extends APIResource {
|
|
|
22
22
|
return this._client.getAPIList('/work-locations', PageCursorURL<WorkLocation>, { query, ...options });
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Create a new work location
|
|
27
|
+
*/
|
|
28
|
+
create(body: WorkLocationCreateParams, options?: RequestOptions): APIPromise<WorkLocation> {
|
|
29
|
+
return this._client.post('/work-locations', { body, ...options });
|
|
30
|
+
}
|
|
31
|
+
|
|
25
32
|
/**
|
|
26
33
|
* Retrieve a specific work location
|
|
27
34
|
*/
|
|
28
35
|
retrieve(id: string, options?: RequestOptions): APIPromise<WorkLocationRetrieveResponse> {
|
|
29
36
|
return this._client.get(path`/work-locations/${id}`, options);
|
|
30
37
|
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Updated a specific work location
|
|
41
|
+
*/
|
|
42
|
+
update(id: string, body: WorkLocationUpdateParams, options?: RequestOptions): APIPromise<WorkLocation> {
|
|
43
|
+
return this._client.patch(path`/work-locations/${id}`, { body, ...options });
|
|
44
|
+
}
|
|
31
45
|
}
|
|
32
46
|
|
|
33
47
|
export type WorkLocationsPageCursorURL = PageCursorURL<WorkLocation>;
|
|
@@ -70,11 +84,115 @@ export interface WorkLocationListParams {
|
|
|
70
84
|
order_by?: string;
|
|
71
85
|
}
|
|
72
86
|
|
|
87
|
+
export interface WorkLocationCreateParams {
|
|
88
|
+
/**
|
|
89
|
+
* The address for the work location.
|
|
90
|
+
*/
|
|
91
|
+
address: WorkLocationCreateParams.Address;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* The name of the work location.
|
|
95
|
+
*/
|
|
96
|
+
name: string;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export namespace WorkLocationCreateParams {
|
|
100
|
+
/**
|
|
101
|
+
* The address for the work location.
|
|
102
|
+
*/
|
|
103
|
+
export interface Address {
|
|
104
|
+
/**
|
|
105
|
+
* The country component, pursuant to SCIM RFC 7643 4.1.2.
|
|
106
|
+
*/
|
|
107
|
+
country?: Shared.CountryCode;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* The city or locality component.
|
|
111
|
+
*/
|
|
112
|
+
locality?: string;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* The zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
|
|
116
|
+
*/
|
|
117
|
+
postal_code?: string;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* The state or region component, pursuant to SCIM RFC 7643 4.1.2.
|
|
121
|
+
*/
|
|
122
|
+
region?: string;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* The full street address component, which may include house number, street name,
|
|
126
|
+
* P.O. box, and multi-line extended street address information, pursuant to SCIM
|
|
127
|
+
* RFC 7643 4.1.2..
|
|
128
|
+
*/
|
|
129
|
+
street_address?: string;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* The classification of the address.
|
|
133
|
+
*/
|
|
134
|
+
type?: 'HOME' | 'WORK' | 'OTHER';
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export interface WorkLocationUpdateParams {
|
|
139
|
+
/**
|
|
140
|
+
* The address for the work location.
|
|
141
|
+
*/
|
|
142
|
+
address: WorkLocationUpdateParams.Address;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* The name of the work location.
|
|
146
|
+
*/
|
|
147
|
+
name: string;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export namespace WorkLocationUpdateParams {
|
|
151
|
+
/**
|
|
152
|
+
* The address for the work location.
|
|
153
|
+
*/
|
|
154
|
+
export interface Address {
|
|
155
|
+
/**
|
|
156
|
+
* The country component, pursuant to SCIM RFC 7643 4.1.2.
|
|
157
|
+
*/
|
|
158
|
+
country?: Shared.CountryCode;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* The city or locality component.
|
|
162
|
+
*/
|
|
163
|
+
locality?: string;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* The zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
|
|
167
|
+
*/
|
|
168
|
+
postal_code?: string;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* The state or region component, pursuant to SCIM RFC 7643 4.1.2.
|
|
172
|
+
*/
|
|
173
|
+
region?: string;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* The full street address component, which may include house number, street name,
|
|
177
|
+
* P.O. box, and multi-line extended street address information, pursuant to SCIM
|
|
178
|
+
* RFC 7643 4.1.2..
|
|
179
|
+
*/
|
|
180
|
+
street_address?: string;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* The classification of the address.
|
|
184
|
+
*/
|
|
185
|
+
type?: 'HOME' | 'WORK' | 'OTHER';
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
73
189
|
export declare namespace WorkLocations {
|
|
74
190
|
export {
|
|
75
191
|
type WorkLocation as WorkLocation,
|
|
76
192
|
type WorkLocationRetrieveResponse as WorkLocationRetrieveResponse,
|
|
77
193
|
type WorkLocationsPageCursorURL as WorkLocationsPageCursorURL,
|
|
78
194
|
type WorkLocationListParams as WorkLocationListParams,
|
|
195
|
+
type WorkLocationCreateParams as WorkLocationCreateParams,
|
|
196
|
+
type WorkLocationUpdateParams as WorkLocationUpdateParams,
|
|
79
197
|
};
|
|
80
198
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.2.0-alpha.
|
|
1
|
+
export const VERSION = '0.2.0-alpha.26'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.0-alpha.26";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.0-alpha.26";
|
|
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 = '0.2.0-alpha.
|
|
4
|
+
exports.VERSION = '0.2.0-alpha.26'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.2.0-alpha.
|
|
1
|
+
export const VERSION = '0.2.0-alpha.26'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|