@rippling/rippling-sdk 0.2.0-alpha.53 → 0.2.0-alpha.54
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/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 +84 -0
- package/resources/workflow-action-executions.d.mts.map +1 -1
- package/resources/workflow-action-executions.d.ts +84 -0
- 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 +98 -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
- 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
package/src/resources/index.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
export * from './shared';
|
|
4
|
+
export {
|
|
5
|
+
BreakTypes,
|
|
6
|
+
type BreakTypeListResponse,
|
|
7
|
+
type BreakTypeRetrieveResponse,
|
|
8
|
+
type BreakTypeListParams,
|
|
9
|
+
type BreakTypeListResponsesPageCursorURL,
|
|
10
|
+
} from './break-types';
|
|
4
11
|
export {
|
|
5
12
|
BusinessPartnerGroups,
|
|
6
13
|
type BusinessPartnerGroup,
|
|
@@ -336,6 +343,13 @@ export {
|
|
|
336
343
|
} from './report-runs';
|
|
337
344
|
export { Reports, type ReportRetrieveResponse } from './reports/reports';
|
|
338
345
|
export { SSOMeResource, type SSOMe, type SSOMeListParams } from './sso-me';
|
|
346
|
+
export {
|
|
347
|
+
ScheduledJobAssignments,
|
|
348
|
+
type ScheduledJobAssignmentListResponse,
|
|
349
|
+
type ScheduledJobAssignmentRetrieveResponse,
|
|
350
|
+
type ScheduledJobAssignmentListParams,
|
|
351
|
+
type ScheduledJobAssignmentListResponsesPageCursorURL,
|
|
352
|
+
} from './scheduled-job-assignments';
|
|
339
353
|
export {
|
|
340
354
|
Schedules,
|
|
341
355
|
type ScheduleListResponse,
|
|
@@ -378,6 +392,18 @@ export {
|
|
|
378
392
|
type ShiftassignmentUpdateParams,
|
|
379
393
|
type ShiftassignmentListResponsesPageCursorURL,
|
|
380
394
|
} from './shiftassignments';
|
|
395
|
+
export {
|
|
396
|
+
SoftwareDeployments,
|
|
397
|
+
type SoftwareDeploymentListResponse,
|
|
398
|
+
type SoftwareDeploymentCreateResponse,
|
|
399
|
+
type SoftwareDeploymentRetrieveResponse,
|
|
400
|
+
type SoftwareDeploymentUpdateResponse,
|
|
401
|
+
type SoftwareDeploymentListParams,
|
|
402
|
+
type SoftwareDeploymentCreateParams,
|
|
403
|
+
type SoftwareDeploymentRetrieveParams,
|
|
404
|
+
type SoftwareDeploymentUpdateParams,
|
|
405
|
+
type SoftwareDeploymentListResponsesPageCursorURL,
|
|
406
|
+
} from './software-deployments';
|
|
381
407
|
export {
|
|
382
408
|
Supergroups,
|
|
383
409
|
type Supergroup,
|
|
@@ -468,6 +494,18 @@ export {
|
|
|
468
494
|
type WorkLocationUpdateParams,
|
|
469
495
|
type WorkLocationsPageCursorURL,
|
|
470
496
|
} from './work-locations';
|
|
497
|
+
export {
|
|
498
|
+
WorkerTimeSplits,
|
|
499
|
+
type WorkerTimeSplitListResponse,
|
|
500
|
+
type WorkerTimeSplitCreateResponse,
|
|
501
|
+
type WorkerTimeSplitRetrieveResponse,
|
|
502
|
+
type WorkerTimeSplitUpdateResponse,
|
|
503
|
+
type WorkerTimeSplitListParams,
|
|
504
|
+
type WorkerTimeSplitCreateParams,
|
|
505
|
+
type WorkerTimeSplitRetrieveParams,
|
|
506
|
+
type WorkerTimeSplitUpdateParams,
|
|
507
|
+
type WorkerTimeSplitListResponsesPageCursorURL,
|
|
508
|
+
} from './worker-time-splits';
|
|
471
509
|
export {
|
|
472
510
|
Workers,
|
|
473
511
|
type Worker,
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as BusinessPartnersAPI from './business-partners';
|
|
5
|
+
import { APIPromise } from '../core/api-promise';
|
|
6
|
+
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
7
|
+
import { buildHeaders } from '../internal/headers';
|
|
8
|
+
import { RequestOptions } from '../internal/request-options';
|
|
9
|
+
import { path } from '../internal/utils/path';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Job related information for the company
|
|
13
|
+
*/
|
|
14
|
+
export class ScheduledJobAssignments extends APIResource {
|
|
15
|
+
/**
|
|
16
|
+
* A list of scheduled job assignments.
|
|
17
|
+
*
|
|
18
|
+
* - Requires: `API Tier 2`
|
|
19
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`, `effective_from`
|
|
20
|
+
*/
|
|
21
|
+
list(
|
|
22
|
+
query: ScheduledJobAssignmentListParams | null | undefined = {},
|
|
23
|
+
options?: RequestOptions,
|
|
24
|
+
): PagePromise<ScheduledJobAssignmentListResponsesPageCursorURL, ScheduledJobAssignmentListResponse> {
|
|
25
|
+
return this._client.getAPIList(
|
|
26
|
+
'/scheduled-job-assignments/',
|
|
27
|
+
PageCursorURL<ScheduledJobAssignmentListResponse>,
|
|
28
|
+
{ query, ...options },
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Retrieve a specific scheduled job assignment
|
|
34
|
+
*/
|
|
35
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<ScheduledJobAssignmentRetrieveResponse> {
|
|
36
|
+
return this._client.get(path`/scheduled-job-assignments/${id}/`, options);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Delete a scheduled job assignment
|
|
41
|
+
*/
|
|
42
|
+
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
43
|
+
return this._client.delete(path`/scheduled-job-assignments/${id}/`, {
|
|
44
|
+
...options,
|
|
45
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export type ScheduledJobAssignmentListResponsesPageCursorURL =
|
|
51
|
+
PageCursorURL<ScheduledJobAssignmentListResponse>;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Platform API DTO for a scheduled change targeting an EmployeeTimeTrackingJob.
|
|
55
|
+
*/
|
|
56
|
+
export interface ScheduledJobAssignmentListResponse {
|
|
57
|
+
/**
|
|
58
|
+
* Identifier field
|
|
59
|
+
*/
|
|
60
|
+
id: string;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Record creation date
|
|
64
|
+
*/
|
|
65
|
+
created_at: string;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Record update date
|
|
69
|
+
*/
|
|
70
|
+
updated_at: string;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Type of scheduled change: UNASSIGN or PAY_RATE_UPDATE.
|
|
74
|
+
*/
|
|
75
|
+
change_type?: 'UNASSIGN' | 'PAY_RATE_UPDATE';
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* The ID of the role that created this scheduled change.
|
|
79
|
+
*/
|
|
80
|
+
changed_by_id?: string;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* When the scheduled change will be applied (ISO 8601).
|
|
84
|
+
*/
|
|
85
|
+
effective_from?: string;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* The ID of the job assignment (ETTJ) this scheduled change targets.
|
|
89
|
+
*/
|
|
90
|
+
job_assignment_id?: string;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* The ID of the job code assigned.
|
|
94
|
+
*/
|
|
95
|
+
job_code_id?: string;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Display name of the job code.
|
|
99
|
+
*/
|
|
100
|
+
job_code_name?: string;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* The ID of the job dimension the job code belongs to.
|
|
104
|
+
*/
|
|
105
|
+
job_dimension_id?: string;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Display name of the job dimension.
|
|
109
|
+
*/
|
|
110
|
+
job_dimension_name?: string;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* New pay rate value, if the change modifies pay_rate.
|
|
114
|
+
*/
|
|
115
|
+
pay_rate?: number;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Reason provided when the scheduled change was created.
|
|
119
|
+
*/
|
|
120
|
+
reason?: string;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* The ID of the worker (role) the job assignment belongs to.
|
|
124
|
+
*/
|
|
125
|
+
worker_id?: string;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Meta information for the response.
|
|
130
|
+
*/
|
|
131
|
+
export interface ScheduledJobAssignmentRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
132
|
+
/**
|
|
133
|
+
* Identifier field
|
|
134
|
+
*/
|
|
135
|
+
id: string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Record creation date
|
|
139
|
+
*/
|
|
140
|
+
created_at: string;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Record update date
|
|
144
|
+
*/
|
|
145
|
+
updated_at: string;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Type of scheduled change: UNASSIGN or PAY_RATE_UPDATE.
|
|
149
|
+
*/
|
|
150
|
+
change_type?: 'UNASSIGN' | 'PAY_RATE_UPDATE';
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* The ID of the role that created this scheduled change.
|
|
154
|
+
*/
|
|
155
|
+
changed_by_id?: string;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* When the scheduled change will be applied (ISO 8601).
|
|
159
|
+
*/
|
|
160
|
+
effective_from?: string;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* The ID of the job assignment (ETTJ) this scheduled change targets.
|
|
164
|
+
*/
|
|
165
|
+
job_assignment_id?: string;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* The ID of the job code assigned.
|
|
169
|
+
*/
|
|
170
|
+
job_code_id?: string;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Display name of the job code.
|
|
174
|
+
*/
|
|
175
|
+
job_code_name?: string;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* The ID of the job dimension the job code belongs to.
|
|
179
|
+
*/
|
|
180
|
+
job_dimension_id?: string;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Display name of the job dimension.
|
|
184
|
+
*/
|
|
185
|
+
job_dimension_name?: string;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* New pay rate value, if the change modifies pay_rate.
|
|
189
|
+
*/
|
|
190
|
+
pay_rate?: number;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Reason provided when the scheduled change was created.
|
|
194
|
+
*/
|
|
195
|
+
reason?: string;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The ID of the worker (role) the job assignment belongs to.
|
|
199
|
+
*/
|
|
200
|
+
worker_id?: string;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export interface ScheduledJobAssignmentListParams {
|
|
204
|
+
cursor?: string;
|
|
205
|
+
|
|
206
|
+
order_by?: string;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export declare namespace ScheduledJobAssignments {
|
|
210
|
+
export {
|
|
211
|
+
type ScheduledJobAssignmentListResponse as ScheduledJobAssignmentListResponse,
|
|
212
|
+
type ScheduledJobAssignmentRetrieveResponse as ScheduledJobAssignmentRetrieveResponse,
|
|
213
|
+
type ScheduledJobAssignmentListResponsesPageCursorURL as ScheduledJobAssignmentListResponsesPageCursorURL,
|
|
214
|
+
type ScheduledJobAssignmentListParams as ScheduledJobAssignmentListParams,
|
|
215
|
+
};
|
|
216
|
+
}
|