@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,120 @@
|
|
|
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 { RequestOptions } from '../internal/request-options';
|
|
8
|
+
import { path } from '../internal/utils/path';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Break types configured by the company for time tracking
|
|
12
|
+
*/
|
|
13
|
+
export class BreakTypes extends APIResource {
|
|
14
|
+
/**
|
|
15
|
+
* A list of break types.
|
|
16
|
+
*
|
|
17
|
+
* - Requires: `API Tier 2`
|
|
18
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
19
|
+
*/
|
|
20
|
+
list(
|
|
21
|
+
query: BreakTypeListParams | null | undefined = {},
|
|
22
|
+
options?: RequestOptions,
|
|
23
|
+
): PagePromise<BreakTypeListResponsesPageCursorURL, BreakTypeListResponse> {
|
|
24
|
+
return this._client.getAPIList('/break-types/', PageCursorURL<BreakTypeListResponse>, {
|
|
25
|
+
query,
|
|
26
|
+
...options,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Retrieve a specific break type
|
|
32
|
+
*/
|
|
33
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<BreakTypeRetrieveResponse> {
|
|
34
|
+
return this._client.get(path`/break-types/${id}/`, options);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export type BreakTypeListResponsesPageCursorURL = PageCursorURL<BreakTypeListResponse>;
|
|
39
|
+
|
|
40
|
+
export interface BreakTypeListResponse {
|
|
41
|
+
/**
|
|
42
|
+
* Identifier field
|
|
43
|
+
*/
|
|
44
|
+
id: string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Record creation date
|
|
48
|
+
*/
|
|
49
|
+
created_at: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* The display name of the break type.
|
|
53
|
+
*/
|
|
54
|
+
name: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Record update date
|
|
58
|
+
*/
|
|
59
|
+
updated_at: string;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The break category. One of: MEAL, REST, or OTHER.
|
|
63
|
+
*/
|
|
64
|
+
break_category?: 'MEAL' | 'REST' | 'OTHER';
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Whether this is a paid break (true) or unpaid (false).
|
|
68
|
+
*/
|
|
69
|
+
is_paid?: boolean;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Meta information for the response.
|
|
74
|
+
*/
|
|
75
|
+
export interface BreakTypeRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
76
|
+
/**
|
|
77
|
+
* Identifier field
|
|
78
|
+
*/
|
|
79
|
+
id: string;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Record creation date
|
|
83
|
+
*/
|
|
84
|
+
created_at: string;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* The display name of the break type.
|
|
88
|
+
*/
|
|
89
|
+
name: string;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Record update date
|
|
93
|
+
*/
|
|
94
|
+
updated_at: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The break category. One of: MEAL, REST, or OTHER.
|
|
98
|
+
*/
|
|
99
|
+
break_category?: 'MEAL' | 'REST' | 'OTHER';
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Whether this is a paid break (true) or unpaid (false).
|
|
103
|
+
*/
|
|
104
|
+
is_paid?: boolean;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export interface BreakTypeListParams {
|
|
108
|
+
cursor?: string;
|
|
109
|
+
|
|
110
|
+
order_by?: string;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export declare namespace BreakTypes {
|
|
114
|
+
export {
|
|
115
|
+
type BreakTypeListResponse as BreakTypeListResponse,
|
|
116
|
+
type BreakTypeRetrieveResponse as BreakTypeRetrieveResponse,
|
|
117
|
+
type BreakTypeListResponsesPageCursorURL as BreakTypeListResponsesPageCursorURL,
|
|
118
|
+
type BreakTypeListParams as BreakTypeListParams,
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -67,6 +67,13 @@ export interface EarningsInputListResponse {
|
|
|
67
67
|
*/
|
|
68
68
|
assignment_type?: string;
|
|
69
69
|
|
|
70
|
+
/**
|
|
71
|
+
* Identifier for the legal entity (company entity relationship) this earning is
|
|
72
|
+
* associated with. Use this to correlate earnings with a specific legal entity in
|
|
73
|
+
* a multi-entity company.
|
|
74
|
+
*/
|
|
75
|
+
company_entity_id?: string;
|
|
76
|
+
|
|
70
77
|
/**
|
|
71
78
|
* Code identifying the earning type (e.g. regular_salary).
|
|
72
79
|
*/
|
|
@@ -82,6 +89,12 @@ export interface EarningsInputListResponse {
|
|
|
82
89
|
*/
|
|
83
90
|
hours?: string;
|
|
84
91
|
|
|
92
|
+
/**
|
|
93
|
+
* Whether this earning's amount was manually overridden instead of using the
|
|
94
|
+
* calculated value. Always false for newly created earnings.
|
|
95
|
+
*/
|
|
96
|
+
is_overridden?: boolean;
|
|
97
|
+
|
|
85
98
|
/**
|
|
86
99
|
* The pay period basis date for this earning.
|
|
87
100
|
*/
|
|
@@ -130,6 +143,13 @@ export interface EarningsInputCreateResponse {
|
|
|
130
143
|
*/
|
|
131
144
|
assignment_type?: string;
|
|
132
145
|
|
|
146
|
+
/**
|
|
147
|
+
* Identifier for the legal entity (company entity relationship) this earning is
|
|
148
|
+
* associated with. Use this to correlate earnings with a specific legal entity in
|
|
149
|
+
* a multi-entity company.
|
|
150
|
+
*/
|
|
151
|
+
company_entity_id?: string;
|
|
152
|
+
|
|
133
153
|
/**
|
|
134
154
|
* Code identifying the earning type (e.g. regular_salary).
|
|
135
155
|
*/
|
|
@@ -145,6 +165,12 @@ export interface EarningsInputCreateResponse {
|
|
|
145
165
|
*/
|
|
146
166
|
hours?: string;
|
|
147
167
|
|
|
168
|
+
/**
|
|
169
|
+
* Whether this earning's amount was manually overridden instead of using the
|
|
170
|
+
* calculated value. Always false for newly created earnings.
|
|
171
|
+
*/
|
|
172
|
+
is_overridden?: boolean;
|
|
173
|
+
|
|
148
174
|
/**
|
|
149
175
|
* The pay period basis date for this earning.
|
|
150
176
|
*/
|
|
@@ -182,6 +208,13 @@ export interface EarningsInputCreateParams {
|
|
|
182
208
|
*/
|
|
183
209
|
assignment_type?: string;
|
|
184
210
|
|
|
211
|
+
/**
|
|
212
|
+
* Identifier for the legal entity (company entity relationship) this earning is
|
|
213
|
+
* associated with. Use this to correlate earnings with a specific legal entity in
|
|
214
|
+
* a multi-entity company.
|
|
215
|
+
*/
|
|
216
|
+
company_entity_id?: string;
|
|
217
|
+
|
|
185
218
|
/**
|
|
186
219
|
* Code identifying the earning type (e.g. regular_salary).
|
|
187
220
|
*/
|
|
@@ -197,6 +230,12 @@ export interface EarningsInputCreateParams {
|
|
|
197
230
|
*/
|
|
198
231
|
hours?: string;
|
|
199
232
|
|
|
233
|
+
/**
|
|
234
|
+
* Whether this earning's amount was manually overridden instead of using the
|
|
235
|
+
* calculated value. Always false for newly created earnings.
|
|
236
|
+
*/
|
|
237
|
+
is_overridden?: boolean;
|
|
238
|
+
|
|
200
239
|
/**
|
|
201
240
|
* The pay period basis date for this earning.
|
|
202
241
|
*/
|
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
|
+
}
|