@rippling/rippling-sdk 0.2.0-alpha.53 → 0.2.0-alpha.55
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 +24 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +24 -0
- package/client.d.ts.map +1 -1
- package/client.js +24 -0
- package/client.js.map +1 -1
- package/client.mjs +24 -0
- package/client.mjs.map +1 -1
- package/examples/functions/durable.ts +6 -6
- package/examples/manifest/custom-object-creation-workflow/custom-object-creation-workflow.ts +85 -0
- package/lib/manifest/index.d.mts +1 -0
- package/lib/manifest/index.d.mts.map +1 -1
- package/lib/manifest/index.d.ts +1 -0
- package/lib/manifest/index.d.ts.map +1 -1
- package/lib/manifest/index.js +3 -1
- package/lib/manifest/index.js.map +1 -1
- package/lib/manifest/index.mjs +1 -0
- package/lib/manifest/index.mjs.map +1 -1
- package/lib/manifest/manifest-builder.d.mts +1 -1
- package/lib/manifest/manifest-builder.d.mts.map +1 -1
- package/lib/manifest/manifest-builder.d.ts +1 -1
- package/lib/manifest/manifest-builder.d.ts.map +1 -1
- package/lib/manifest/manifest-builder.js.map +1 -1
- package/lib/manifest/manifest-builder.mjs.map +1 -1
- package/lib/manifest/workflow.d.mts +155 -0
- package/lib/manifest/workflow.d.mts.map +1 -0
- package/lib/manifest/workflow.d.ts +155 -0
- package/lib/manifest/workflow.d.ts.map +1 -0
- package/lib/manifest/workflow.js +51 -0
- package/lib/manifest/workflow.js.map +1 -0
- package/lib/manifest/workflow.mjs +47 -0
- package/lib/manifest/workflow.mjs.map +1 -0
- package/package.json +1 -1
- package/resources/break-types.d.mts +85 -0
- package/resources/break-types.d.mts.map +1 -0
- package/resources/break-types.d.ts +85 -0
- package/resources/break-types.d.ts.map +1 -0
- package/resources/break-types.js +32 -0
- package/resources/break-types.js.map +1 -0
- package/resources/break-types.mjs +28 -0
- package/resources/break-types.mjs.map +1 -0
- package/resources/earnings-inputs.d.mts +33 -0
- package/resources/earnings-inputs.d.mts.map +1 -1
- package/resources/earnings-inputs.d.ts +33 -0
- package/resources/earnings-inputs.d.ts.map +1 -1
- package/resources/index.d.mts +4 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +10 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -0
- package/resources/index.mjs.map +1 -1
- package/resources/scheduled-job-assignments.d.mts +156 -0
- package/resources/scheduled-job-assignments.d.mts.map +1 -0
- package/resources/scheduled-job-assignments.d.ts +156 -0
- package/resources/scheduled-job-assignments.d.ts.map +1 -0
- package/resources/scheduled-job-assignments.js +39 -0
- package/resources/scheduled-job-assignments.js.map +1 -0
- package/resources/scheduled-job-assignments.mjs +35 -0
- package/resources/scheduled-job-assignments.mjs.map +1 -0
- package/resources/software-deployments.d.mts +468 -0
- package/resources/software-deployments.d.mts.map +1 -0
- package/resources/software-deployments.d.ts +468 -0
- package/resources/software-deployments.d.ts.map +1 -0
- package/resources/software-deployments.js +56 -0
- package/resources/software-deployments.js.map +1 -0
- package/resources/software-deployments.mjs +52 -0
- package/resources/software-deployments.mjs.map +1 -0
- package/resources/worker-time-splits.d.mts +371 -0
- package/resources/worker-time-splits.d.mts.map +1 -0
- package/resources/worker-time-splits.d.ts +371 -0
- package/resources/worker-time-splits.d.ts.map +1 -0
- package/resources/worker-time-splits.js +56 -0
- package/resources/worker-time-splits.js.map +1 -0
- package/resources/worker-time-splits.mjs +52 -0
- package/resources/worker-time-splits.mjs.map +1 -0
- package/resources/workers.d.mts +1 -1
- package/resources/workers.d.ts +1 -1
- package/resources/workers.js +1 -1
- package/resources/workers.mjs +1 -1
- package/resources/workflow-action-executions.d.mts +1483 -1263
- package/resources/workflow-action-executions.d.mts.map +1 -1
- package/resources/workflow-action-executions.d.ts +1483 -1263
- package/resources/workflow-action-executions.d.ts.map +1 -1
- package/src/client.ts +100 -0
- package/src/lib/manifest/index.ts +26 -0
- package/src/lib/manifest/manifest-builder.ts +2 -1
- package/src/lib/manifest/workflow.ts +244 -0
- package/src/resources/break-types.ts +120 -0
- package/src/resources/earnings-inputs.ts +39 -0
- package/src/resources/index.ts +38 -0
- package/src/resources/scheduled-job-assignments.ts +216 -0
- package/src/resources/software-deployments.ts +607 -0
- package/src/resources/worker-time-splits.ts +480 -0
- package/src/resources/workers.ts +1 -1
- package/src/resources/workflow-action-executions.ts +1730 -1445
- 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
- package/examples/manifest/dental-practice-management/manifest.json +0 -1912
- package/examples/manifest/gym-membership-management/manifest.json +0 -1991
- package/examples/manifest/simple-todo-app/manifest.json +0 -429
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as BusinessPartnersAPI from "./business-partners.js";
|
|
3
|
+
import * as JobCodesAPI from "./job-codes.js";
|
|
4
|
+
import * as WorkersAPI from "./workers.js";
|
|
5
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
6
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.js";
|
|
7
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
8
|
+
/**
|
|
9
|
+
* Job related information for the company
|
|
10
|
+
*/
|
|
11
|
+
export declare class WorkerTimeSplits extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* A list of worker time splits.
|
|
14
|
+
*
|
|
15
|
+
* - Requires: `API Tier 2`
|
|
16
|
+
* - Filterable fields: `worker_id`, `is_enabled`, `updated_at`
|
|
17
|
+
* - Expandable fields: `worker`, `job_codes`
|
|
18
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
19
|
+
*/
|
|
20
|
+
list(query?: WorkerTimeSplitListParams | null | undefined, options?: RequestOptions): PagePromise<WorkerTimeSplitListResponsesPageCursorURL, WorkerTimeSplitListResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Create a new worker time split
|
|
23
|
+
*/
|
|
24
|
+
create(body: WorkerTimeSplitCreateParams, options?: RequestOptions): APIPromise<WorkerTimeSplitCreateResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Retrieve a specific worker time split
|
|
27
|
+
*/
|
|
28
|
+
retrieve(id: string, query?: WorkerTimeSplitRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<WorkerTimeSplitRetrieveResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Update a specific worker time split.
|
|
31
|
+
*/
|
|
32
|
+
update(id: string, body: WorkerTimeSplitUpdateParams, options?: RequestOptions): APIPromise<WorkerTimeSplitUpdateResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Delete a worker time split
|
|
35
|
+
*/
|
|
36
|
+
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
37
|
+
}
|
|
38
|
+
export type WorkerTimeSplitListResponsesPageCursorURL = PageCursorURL<WorkerTimeSplitListResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Worker time split configuration resource.
|
|
41
|
+
*/
|
|
42
|
+
export interface WorkerTimeSplitListResponse {
|
|
43
|
+
/**
|
|
44
|
+
* Identifier field
|
|
45
|
+
*/
|
|
46
|
+
id: string;
|
|
47
|
+
/**
|
|
48
|
+
* Record creation date
|
|
49
|
+
*/
|
|
50
|
+
created_at: string;
|
|
51
|
+
/**
|
|
52
|
+
* Record update date
|
|
53
|
+
*/
|
|
54
|
+
updated_at: string;
|
|
55
|
+
/**
|
|
56
|
+
* Identifier of the worker whose time split configuration this represents.
|
|
57
|
+
*/
|
|
58
|
+
worker_id: string;
|
|
59
|
+
/**
|
|
60
|
+
* Whether hard-coded time splits are active for this worker.
|
|
61
|
+
*/
|
|
62
|
+
is_enabled?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* The job codes referenced in this time split configuration. Use ?expand=job_codes
|
|
65
|
+
* to populate.
|
|
66
|
+
*
|
|
67
|
+
* Expandable field
|
|
68
|
+
*/
|
|
69
|
+
job_codes?: Array<JobCodesAPI.JobCode>;
|
|
70
|
+
/**
|
|
71
|
+
* IDs of all unique job codes referenced across all split rows.
|
|
72
|
+
*/
|
|
73
|
+
job_codes_id?: Array<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The split rows defining time allocation percentages across job codes. Empty when
|
|
76
|
+
* is_enabled is false.
|
|
77
|
+
*/
|
|
78
|
+
splits?: Array<WorkerTimeSplitListResponse.Split>;
|
|
79
|
+
/**
|
|
80
|
+
* The worker associated with this time split configuration.
|
|
81
|
+
*
|
|
82
|
+
* Expandable field
|
|
83
|
+
*/
|
|
84
|
+
worker?: WorkersAPI.Worker;
|
|
85
|
+
}
|
|
86
|
+
export declare namespace WorkerTimeSplitListResponse {
|
|
87
|
+
/**
|
|
88
|
+
* A single split row representing a percentage allocation across one or more job
|
|
89
|
+
* codes.
|
|
90
|
+
*/
|
|
91
|
+
interface Split {
|
|
92
|
+
/**
|
|
93
|
+
* IDs of canonical /job-codes/ resources in this split row.
|
|
94
|
+
*/
|
|
95
|
+
job_code_ids?: Array<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Percentage allocated to this split row. Decimal string with precision 2; must be
|
|
98
|
+
* greater than zero per row. All rows must sum to 100.00 when is_enabled is true.
|
|
99
|
+
*/
|
|
100
|
+
split_percentage?: string;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Worker time split configuration resource.
|
|
105
|
+
*/
|
|
106
|
+
export interface WorkerTimeSplitCreateResponse {
|
|
107
|
+
/**
|
|
108
|
+
* Identifier field
|
|
109
|
+
*/
|
|
110
|
+
id: string;
|
|
111
|
+
/**
|
|
112
|
+
* Record creation date
|
|
113
|
+
*/
|
|
114
|
+
created_at: string;
|
|
115
|
+
/**
|
|
116
|
+
* Record update date
|
|
117
|
+
*/
|
|
118
|
+
updated_at: string;
|
|
119
|
+
/**
|
|
120
|
+
* Identifier of the worker whose time split configuration this represents.
|
|
121
|
+
*/
|
|
122
|
+
worker_id: string;
|
|
123
|
+
/**
|
|
124
|
+
* Whether hard-coded time splits are active for this worker.
|
|
125
|
+
*/
|
|
126
|
+
is_enabled?: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* The job codes referenced in this time split configuration. Use ?expand=job_codes
|
|
129
|
+
* to populate.
|
|
130
|
+
*
|
|
131
|
+
* Expandable field
|
|
132
|
+
*/
|
|
133
|
+
job_codes?: Array<JobCodesAPI.JobCode>;
|
|
134
|
+
/**
|
|
135
|
+
* IDs of all unique job codes referenced across all split rows.
|
|
136
|
+
*/
|
|
137
|
+
job_codes_id?: Array<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The split rows defining time allocation percentages across job codes. Empty when
|
|
140
|
+
* is_enabled is false.
|
|
141
|
+
*/
|
|
142
|
+
splits?: Array<WorkerTimeSplitCreateResponse.Split>;
|
|
143
|
+
/**
|
|
144
|
+
* The worker associated with this time split configuration.
|
|
145
|
+
*
|
|
146
|
+
* Expandable field
|
|
147
|
+
*/
|
|
148
|
+
worker?: WorkersAPI.Worker;
|
|
149
|
+
}
|
|
150
|
+
export declare namespace WorkerTimeSplitCreateResponse {
|
|
151
|
+
/**
|
|
152
|
+
* A single split row representing a percentage allocation across one or more job
|
|
153
|
+
* codes.
|
|
154
|
+
*/
|
|
155
|
+
interface Split {
|
|
156
|
+
/**
|
|
157
|
+
* IDs of canonical /job-codes/ resources in this split row.
|
|
158
|
+
*/
|
|
159
|
+
job_code_ids?: Array<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Percentage allocated to this split row. Decimal string with precision 2; must be
|
|
162
|
+
* greater than zero per row. All rows must sum to 100.00 when is_enabled is true.
|
|
163
|
+
*/
|
|
164
|
+
split_percentage?: string;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Meta information for the response.
|
|
169
|
+
*/
|
|
170
|
+
export interface WorkerTimeSplitRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
171
|
+
/**
|
|
172
|
+
* Identifier field
|
|
173
|
+
*/
|
|
174
|
+
id: string;
|
|
175
|
+
/**
|
|
176
|
+
* Record creation date
|
|
177
|
+
*/
|
|
178
|
+
created_at: string;
|
|
179
|
+
/**
|
|
180
|
+
* Record update date
|
|
181
|
+
*/
|
|
182
|
+
updated_at: string;
|
|
183
|
+
/**
|
|
184
|
+
* Identifier of the worker whose time split configuration this represents.
|
|
185
|
+
*/
|
|
186
|
+
worker_id: string;
|
|
187
|
+
/**
|
|
188
|
+
* Whether hard-coded time splits are active for this worker.
|
|
189
|
+
*/
|
|
190
|
+
is_enabled?: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* The job codes referenced in this time split configuration. Use ?expand=job_codes
|
|
193
|
+
* to populate.
|
|
194
|
+
*
|
|
195
|
+
* Expandable field
|
|
196
|
+
*/
|
|
197
|
+
job_codes?: Array<JobCodesAPI.JobCode>;
|
|
198
|
+
/**
|
|
199
|
+
* IDs of all unique job codes referenced across all split rows.
|
|
200
|
+
*/
|
|
201
|
+
job_codes_id?: Array<string>;
|
|
202
|
+
/**
|
|
203
|
+
* The split rows defining time allocation percentages across job codes. Empty when
|
|
204
|
+
* is_enabled is false.
|
|
205
|
+
*/
|
|
206
|
+
splits?: Array<WorkerTimeSplitRetrieveResponse.Split>;
|
|
207
|
+
/**
|
|
208
|
+
* The worker associated with this time split configuration.
|
|
209
|
+
*
|
|
210
|
+
* Expandable field
|
|
211
|
+
*/
|
|
212
|
+
worker?: WorkersAPI.Worker;
|
|
213
|
+
}
|
|
214
|
+
export declare namespace WorkerTimeSplitRetrieveResponse {
|
|
215
|
+
/**
|
|
216
|
+
* A single split row representing a percentage allocation across one or more job
|
|
217
|
+
* codes.
|
|
218
|
+
*/
|
|
219
|
+
interface Split {
|
|
220
|
+
/**
|
|
221
|
+
* IDs of canonical /job-codes/ resources in this split row.
|
|
222
|
+
*/
|
|
223
|
+
job_code_ids?: Array<string>;
|
|
224
|
+
/**
|
|
225
|
+
* Percentage allocated to this split row. Decimal string with precision 2; must be
|
|
226
|
+
* greater than zero per row. All rows must sum to 100.00 when is_enabled is true.
|
|
227
|
+
*/
|
|
228
|
+
split_percentage?: string;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Worker time split configuration resource.
|
|
233
|
+
*/
|
|
234
|
+
export interface WorkerTimeSplitUpdateResponse {
|
|
235
|
+
/**
|
|
236
|
+
* Identifier field
|
|
237
|
+
*/
|
|
238
|
+
id: string;
|
|
239
|
+
/**
|
|
240
|
+
* Record creation date
|
|
241
|
+
*/
|
|
242
|
+
created_at: string;
|
|
243
|
+
/**
|
|
244
|
+
* Record update date
|
|
245
|
+
*/
|
|
246
|
+
updated_at: string;
|
|
247
|
+
/**
|
|
248
|
+
* Identifier of the worker whose time split configuration this represents.
|
|
249
|
+
*/
|
|
250
|
+
worker_id: string;
|
|
251
|
+
/**
|
|
252
|
+
* Whether hard-coded time splits are active for this worker.
|
|
253
|
+
*/
|
|
254
|
+
is_enabled?: boolean;
|
|
255
|
+
/**
|
|
256
|
+
* The job codes referenced in this time split configuration. Use ?expand=job_codes
|
|
257
|
+
* to populate.
|
|
258
|
+
*
|
|
259
|
+
* Expandable field
|
|
260
|
+
*/
|
|
261
|
+
job_codes?: Array<JobCodesAPI.JobCode>;
|
|
262
|
+
/**
|
|
263
|
+
* IDs of all unique job codes referenced across all split rows.
|
|
264
|
+
*/
|
|
265
|
+
job_codes_id?: Array<string>;
|
|
266
|
+
/**
|
|
267
|
+
* The split rows defining time allocation percentages across job codes. Empty when
|
|
268
|
+
* is_enabled is false.
|
|
269
|
+
*/
|
|
270
|
+
splits?: Array<WorkerTimeSplitUpdateResponse.Split>;
|
|
271
|
+
/**
|
|
272
|
+
* The worker associated with this time split configuration.
|
|
273
|
+
*
|
|
274
|
+
* Expandable field
|
|
275
|
+
*/
|
|
276
|
+
worker?: WorkersAPI.Worker;
|
|
277
|
+
}
|
|
278
|
+
export declare namespace WorkerTimeSplitUpdateResponse {
|
|
279
|
+
/**
|
|
280
|
+
* A single split row representing a percentage allocation across one or more job
|
|
281
|
+
* codes.
|
|
282
|
+
*/
|
|
283
|
+
interface Split {
|
|
284
|
+
/**
|
|
285
|
+
* IDs of canonical /job-codes/ resources in this split row.
|
|
286
|
+
*/
|
|
287
|
+
job_code_ids?: Array<string>;
|
|
288
|
+
/**
|
|
289
|
+
* Percentage allocated to this split row. Decimal string with precision 2; must be
|
|
290
|
+
* greater than zero per row. All rows must sum to 100.00 when is_enabled is true.
|
|
291
|
+
*/
|
|
292
|
+
split_percentage?: string;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
export interface WorkerTimeSplitListParams {
|
|
296
|
+
cursor?: string;
|
|
297
|
+
expand?: string;
|
|
298
|
+
filter?: string;
|
|
299
|
+
order_by?: string;
|
|
300
|
+
}
|
|
301
|
+
export interface WorkerTimeSplitCreateParams {
|
|
302
|
+
/**
|
|
303
|
+
* Identifier of the worker whose time split configuration this represents.
|
|
304
|
+
*/
|
|
305
|
+
worker_id: string;
|
|
306
|
+
/**
|
|
307
|
+
* Whether hard-coded time splits are active for this worker.
|
|
308
|
+
*/
|
|
309
|
+
is_enabled?: boolean;
|
|
310
|
+
/**
|
|
311
|
+
* The split rows defining time allocation percentages across job codes. Empty when
|
|
312
|
+
* is_enabled is false.
|
|
313
|
+
*/
|
|
314
|
+
splits?: Array<WorkerTimeSplitCreateParams.Split>;
|
|
315
|
+
}
|
|
316
|
+
export declare namespace WorkerTimeSplitCreateParams {
|
|
317
|
+
/**
|
|
318
|
+
* A single split row representing a percentage allocation across one or more job
|
|
319
|
+
* codes.
|
|
320
|
+
*/
|
|
321
|
+
interface Split {
|
|
322
|
+
/**
|
|
323
|
+
* IDs of canonical /job-codes/ resources in this split row.
|
|
324
|
+
*/
|
|
325
|
+
job_code_ids?: Array<string>;
|
|
326
|
+
/**
|
|
327
|
+
* Percentage allocated to this split row. Decimal string with precision 2; must be
|
|
328
|
+
* greater than zero per row. All rows must sum to 100.00 when is_enabled is true.
|
|
329
|
+
*/
|
|
330
|
+
split_percentage?: string;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
export interface WorkerTimeSplitRetrieveParams {
|
|
334
|
+
expand?: string;
|
|
335
|
+
}
|
|
336
|
+
export interface WorkerTimeSplitUpdateParams {
|
|
337
|
+
/**
|
|
338
|
+
* Identifier of the worker whose time split configuration this represents.
|
|
339
|
+
*/
|
|
340
|
+
worker_id: string;
|
|
341
|
+
/**
|
|
342
|
+
* Whether hard-coded time splits are active for this worker.
|
|
343
|
+
*/
|
|
344
|
+
is_enabled?: boolean;
|
|
345
|
+
/**
|
|
346
|
+
* The split rows defining time allocation percentages across job codes. Empty when
|
|
347
|
+
* is_enabled is false.
|
|
348
|
+
*/
|
|
349
|
+
splits?: Array<WorkerTimeSplitUpdateParams.Split>;
|
|
350
|
+
}
|
|
351
|
+
export declare namespace WorkerTimeSplitUpdateParams {
|
|
352
|
+
/**
|
|
353
|
+
* A single split row representing a percentage allocation across one or more job
|
|
354
|
+
* codes.
|
|
355
|
+
*/
|
|
356
|
+
interface Split {
|
|
357
|
+
/**
|
|
358
|
+
* IDs of canonical /job-codes/ resources in this split row.
|
|
359
|
+
*/
|
|
360
|
+
job_code_ids?: Array<string>;
|
|
361
|
+
/**
|
|
362
|
+
* Percentage allocated to this split row. Decimal string with precision 2; must be
|
|
363
|
+
* greater than zero per row. All rows must sum to 100.00 when is_enabled is true.
|
|
364
|
+
*/
|
|
365
|
+
split_percentage?: string;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
export declare namespace WorkerTimeSplits {
|
|
369
|
+
export { type WorkerTimeSplitListResponse as WorkerTimeSplitListResponse, type WorkerTimeSplitCreateResponse as WorkerTimeSplitCreateResponse, type WorkerTimeSplitRetrieveResponse as WorkerTimeSplitRetrieveResponse, type WorkerTimeSplitUpdateResponse as WorkerTimeSplitUpdateResponse, type WorkerTimeSplitListResponsesPageCursorURL as WorkerTimeSplitListResponsesPageCursorURL, type WorkerTimeSplitListParams as WorkerTimeSplitListParams, type WorkerTimeSplitCreateParams as WorkerTimeSplitCreateParams, type WorkerTimeSplitRetrieveParams as WorkerTimeSplitRetrieveParams, type WorkerTimeSplitUpdateParams as WorkerTimeSplitUpdateParams, };
|
|
370
|
+
}
|
|
371
|
+
//# sourceMappingURL=worker-time-splits.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worker-time-splits.d.ts","sourceRoot":"","sources":["../src/resources/worker-time-splits.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,mBAAmB,+BAA4B;AAC3D,OAAO,KAAK,WAAW,uBAAoB;AAC3C,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,8BAA2B;AAEhE,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,yCAAyC,EAAE,2BAA2B,CAAC;IAOtF;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC5D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C;;OAEG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C;;OAEG;IACH,MAAM,CAAC,E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CAAC;QAE7B;;;WAGG;QACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC3B;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;CACnD;AAED,yBAAiB,2BAA2B,CAAC;IAC3C;;;OAGG;IACH,UAAiB,KAAK;QACpB;;WAEG;QACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAE7B;;;WAGG;QACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC3B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.WorkerTimeSplits = 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
|
+
* Job related information for the company
|
|
11
|
+
*/
|
|
12
|
+
class WorkerTimeSplits extends resource_1.APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* A list of worker time splits.
|
|
15
|
+
*
|
|
16
|
+
* - Requires: `API Tier 2`
|
|
17
|
+
* - Filterable fields: `worker_id`, `is_enabled`, `updated_at`
|
|
18
|
+
* - Expandable fields: `worker`, `job_codes`
|
|
19
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
20
|
+
*/
|
|
21
|
+
list(query = {}, options) {
|
|
22
|
+
return this._client.getAPIList('/worker-time-splits/', (pagination_1.PageCursorURL), {
|
|
23
|
+
query,
|
|
24
|
+
...options,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Create a new worker time split
|
|
29
|
+
*/
|
|
30
|
+
create(body, options) {
|
|
31
|
+
return this._client.post('/worker-time-splits/', { body, ...options });
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Retrieve a specific worker time split
|
|
35
|
+
*/
|
|
36
|
+
retrieve(id, query = {}, options) {
|
|
37
|
+
return this._client.get((0, path_1.path) `/worker-time-splits/${id}/`, { query, ...options });
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Update a specific worker time split.
|
|
41
|
+
*/
|
|
42
|
+
update(id, body, options) {
|
|
43
|
+
return this._client.patch((0, path_1.path) `/worker-time-splits/${id}/`, { body, ...options });
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Delete a worker time split
|
|
47
|
+
*/
|
|
48
|
+
delete(id, options) {
|
|
49
|
+
return this._client.delete((0, path_1.path) `/worker-time-splits/${id}/`, {
|
|
50
|
+
...options,
|
|
51
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.WorkerTimeSplits = WorkerTimeSplits;
|
|
56
|
+
//# sourceMappingURL=worker-time-splits.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worker-time-splits.js","sourceRoot":"","sources":["../src/resources/worker-time-splits.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAK/C,sDAAgE;AAChE,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;;;;;;OAOG;IACH,IAAI,CACF,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAA,0BAA0C,CAAA,EAAE;YACjG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,uBAAuB,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,uBAAuB,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,uBAAuB,EAAE,GAAG,EAAE;YAC3D,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;AA5DD,4CA4DC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
* Job related information for the company
|
|
8
|
+
*/
|
|
9
|
+
export class WorkerTimeSplits extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* A list of worker time splits.
|
|
12
|
+
*
|
|
13
|
+
* - Requires: `API Tier 2`
|
|
14
|
+
* - Filterable fields: `worker_id`, `is_enabled`, `updated_at`
|
|
15
|
+
* - Expandable fields: `worker`, `job_codes`
|
|
16
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
17
|
+
*/
|
|
18
|
+
list(query = {}, options) {
|
|
19
|
+
return this._client.getAPIList('/worker-time-splits/', (PageCursorURL), {
|
|
20
|
+
query,
|
|
21
|
+
...options,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Create a new worker time split
|
|
26
|
+
*/
|
|
27
|
+
create(body, options) {
|
|
28
|
+
return this._client.post('/worker-time-splits/', { body, ...options });
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Retrieve a specific worker time split
|
|
32
|
+
*/
|
|
33
|
+
retrieve(id, query = {}, options) {
|
|
34
|
+
return this._client.get(path `/worker-time-splits/${id}/`, { query, ...options });
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Update a specific worker time split.
|
|
38
|
+
*/
|
|
39
|
+
update(id, body, options) {
|
|
40
|
+
return this._client.patch(path `/worker-time-splits/${id}/`, { body, ...options });
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Delete a worker time split
|
|
44
|
+
*/
|
|
45
|
+
delete(id, options) {
|
|
46
|
+
return this._client.delete(path `/worker-time-splits/${id}/`, {
|
|
47
|
+
...options,
|
|
48
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=worker-time-splits.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worker-time-splits.mjs","sourceRoot":"","sources":["../src/resources/worker-time-splits.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAK/C,OAAO,EAAE,aAAa,EAAe,+BAA2B;AAChE,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;OAOG;IACH,IAAI,CACF,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAA,aAA0C,CAAA,EAAE;YACjG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uBAAuB,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,uBAAuB,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,uBAAuB,EAAE,GAAG,EAAE;YAC3D,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"}
|
package/resources/workers.d.mts
CHANGED
|
@@ -19,7 +19,7 @@ export declare class Workers extends APIResource {
|
|
|
19
19
|
*
|
|
20
20
|
* - Requires: `API Tier 1`
|
|
21
21
|
* - Filterable fields: `status`, `work_email`, `user_id`, `created_at`,
|
|
22
|
-
* `updated_at
|
|
22
|
+
* `updated_at`
|
|
23
23
|
* - Expandable fields: `user`, `manager`, `legal_entity`, `employment_type`,
|
|
24
24
|
* `compensation`, `department`, `teams`, `level`, `custom_fields`,
|
|
25
25
|
* `business_partners`
|
package/resources/workers.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare class Workers extends APIResource {
|
|
|
19
19
|
*
|
|
20
20
|
* - Requires: `API Tier 1`
|
|
21
21
|
* - Filterable fields: `status`, `work_email`, `user_id`, `created_at`,
|
|
22
|
-
* `updated_at
|
|
22
|
+
* `updated_at`
|
|
23
23
|
* - Expandable fields: `user`, `manager`, `legal_entity`, `employment_type`,
|
|
24
24
|
* `compensation`, `department`, `teams`, `level`, `custom_fields`,
|
|
25
25
|
* `business_partners`
|
package/resources/workers.js
CHANGED
|
@@ -14,7 +14,7 @@ class Workers extends resource_1.APIResource {
|
|
|
14
14
|
*
|
|
15
15
|
* - Requires: `API Tier 1`
|
|
16
16
|
* - Filterable fields: `status`, `work_email`, `user_id`, `created_at`,
|
|
17
|
-
* `updated_at
|
|
17
|
+
* `updated_at`
|
|
18
18
|
* - Expandable fields: `user`, `manager`, `legal_entity`, `employment_type`,
|
|
19
19
|
* `compensation`, `department`, `teams`, `level`, `custom_fields`,
|
|
20
20
|
* `business_partners`
|
package/resources/workers.mjs
CHANGED
|
@@ -11,7 +11,7 @@ export class Workers extends APIResource {
|
|
|
11
11
|
*
|
|
12
12
|
* - Requires: `API Tier 1`
|
|
13
13
|
* - Filterable fields: `status`, `work_email`, `user_id`, `created_at`,
|
|
14
|
-
* `updated_at
|
|
14
|
+
* `updated_at`
|
|
15
15
|
* - Expandable fields: `user`, `manager`, `legal_entity`, `employment_type`,
|
|
16
16
|
* `compensation`, `department`, `teams`, `level`, `custom_fields`,
|
|
17
17
|
* `business_partners`
|