@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
|
@@ -12,10 +12,18 @@ export declare class WorkLocations extends APIResource {
|
|
|
12
12
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
13
13
|
*/
|
|
14
14
|
list(query?: WorkLocationListParams | null | undefined, options?: RequestOptions): PagePromise<WorkLocationsPageCursorURL, WorkLocation>;
|
|
15
|
+
/**
|
|
16
|
+
* Create a new work location
|
|
17
|
+
*/
|
|
18
|
+
create(body: WorkLocationCreateParams, options?: RequestOptions): APIPromise<WorkLocation>;
|
|
15
19
|
/**
|
|
16
20
|
* Retrieve a specific work location
|
|
17
21
|
*/
|
|
18
22
|
retrieve(id: string, options?: RequestOptions): APIPromise<WorkLocationRetrieveResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Updated a specific work location
|
|
25
|
+
*/
|
|
26
|
+
update(id: string, body: WorkLocationUpdateParams, options?: RequestOptions): APIPromise<WorkLocation>;
|
|
19
27
|
}
|
|
20
28
|
export type WorkLocationsPageCursorURL = PageCursorURL<WorkLocation>;
|
|
21
29
|
export interface WorkLocation {
|
|
@@ -49,7 +57,93 @@ export interface WorkLocationListParams {
|
|
|
49
57
|
cursor?: string;
|
|
50
58
|
order_by?: string;
|
|
51
59
|
}
|
|
60
|
+
export interface WorkLocationCreateParams {
|
|
61
|
+
/**
|
|
62
|
+
* The address for the work location.
|
|
63
|
+
*/
|
|
64
|
+
address: WorkLocationCreateParams.Address;
|
|
65
|
+
/**
|
|
66
|
+
* The name of the work location.
|
|
67
|
+
*/
|
|
68
|
+
name: string;
|
|
69
|
+
}
|
|
70
|
+
export declare namespace WorkLocationCreateParams {
|
|
71
|
+
/**
|
|
72
|
+
* The address for the work location.
|
|
73
|
+
*/
|
|
74
|
+
interface Address {
|
|
75
|
+
/**
|
|
76
|
+
* The country component, pursuant to SCIM RFC 7643 4.1.2.
|
|
77
|
+
*/
|
|
78
|
+
country?: Shared.CountryCode;
|
|
79
|
+
/**
|
|
80
|
+
* The city or locality component.
|
|
81
|
+
*/
|
|
82
|
+
locality?: string;
|
|
83
|
+
/**
|
|
84
|
+
* The zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
|
|
85
|
+
*/
|
|
86
|
+
postal_code?: string;
|
|
87
|
+
/**
|
|
88
|
+
* The state or region component, pursuant to SCIM RFC 7643 4.1.2.
|
|
89
|
+
*/
|
|
90
|
+
region?: string;
|
|
91
|
+
/**
|
|
92
|
+
* The full street address component, which may include house number, street name,
|
|
93
|
+
* P.O. box, and multi-line extended street address information, pursuant to SCIM
|
|
94
|
+
* RFC 7643 4.1.2..
|
|
95
|
+
*/
|
|
96
|
+
street_address?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The classification of the address.
|
|
99
|
+
*/
|
|
100
|
+
type?: 'HOME' | 'WORK' | 'OTHER';
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
export interface WorkLocationUpdateParams {
|
|
104
|
+
/**
|
|
105
|
+
* The address for the work location.
|
|
106
|
+
*/
|
|
107
|
+
address: WorkLocationUpdateParams.Address;
|
|
108
|
+
/**
|
|
109
|
+
* The name of the work location.
|
|
110
|
+
*/
|
|
111
|
+
name: string;
|
|
112
|
+
}
|
|
113
|
+
export declare namespace WorkLocationUpdateParams {
|
|
114
|
+
/**
|
|
115
|
+
* The address for the work location.
|
|
116
|
+
*/
|
|
117
|
+
interface Address {
|
|
118
|
+
/**
|
|
119
|
+
* The country component, pursuant to SCIM RFC 7643 4.1.2.
|
|
120
|
+
*/
|
|
121
|
+
country?: Shared.CountryCode;
|
|
122
|
+
/**
|
|
123
|
+
* The city or locality component.
|
|
124
|
+
*/
|
|
125
|
+
locality?: string;
|
|
126
|
+
/**
|
|
127
|
+
* The zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
|
|
128
|
+
*/
|
|
129
|
+
postal_code?: string;
|
|
130
|
+
/**
|
|
131
|
+
* The state or region component, pursuant to SCIM RFC 7643 4.1.2.
|
|
132
|
+
*/
|
|
133
|
+
region?: string;
|
|
134
|
+
/**
|
|
135
|
+
* The full street address component, which may include house number, street name,
|
|
136
|
+
* P.O. box, and multi-line extended street address information, pursuant to SCIM
|
|
137
|
+
* RFC 7643 4.1.2..
|
|
138
|
+
*/
|
|
139
|
+
street_address?: string;
|
|
140
|
+
/**
|
|
141
|
+
* The classification of the address.
|
|
142
|
+
*/
|
|
143
|
+
type?: 'HOME' | 'WORK' | 'OTHER';
|
|
144
|
+
}
|
|
145
|
+
}
|
|
52
146
|
export declare namespace WorkLocations {
|
|
53
|
-
export { type WorkLocation as WorkLocation, type WorkLocationRetrieveResponse as WorkLocationRetrieveResponse, type WorkLocationsPageCursorURL as WorkLocationsPageCursorURL, type WorkLocationListParams as WorkLocationListParams, };
|
|
147
|
+
export { type WorkLocation as WorkLocation, type WorkLocationRetrieveResponse as WorkLocationRetrieveResponse, type WorkLocationsPageCursorURL as WorkLocationsPageCursorURL, type WorkLocationListParams as WorkLocationListParams, type WorkLocationCreateParams as WorkLocationCreateParams, type WorkLocationUpdateParams as WorkLocationUpdateParams, };
|
|
54
148
|
}
|
|
55
149
|
//# sourceMappingURL=work-locations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"work-locations.d.ts","sourceRoot":"","sources":["../src/resources/work-locations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,0BAA0B,EAAE,YAAY,CAAC;IAIxD;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"work-locations.d.ts","sourceRoot":"","sources":["../src/resources/work-locations.ts"],"names":[],"mappings":"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"}
|
|
@@ -15,12 +15,24 @@ class WorkLocations extends resource_1.APIResource {
|
|
|
15
15
|
list(query = {}, options) {
|
|
16
16
|
return this._client.getAPIList('/work-locations', (pagination_1.PageCursorURL), { query, ...options });
|
|
17
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* Create a new work location
|
|
20
|
+
*/
|
|
21
|
+
create(body, options) {
|
|
22
|
+
return this._client.post('/work-locations', { body, ...options });
|
|
23
|
+
}
|
|
18
24
|
/**
|
|
19
25
|
* Retrieve a specific work location
|
|
20
26
|
*/
|
|
21
27
|
retrieve(id, options) {
|
|
22
28
|
return this._client.get((0, path_1.path) `/work-locations/${id}`, options);
|
|
23
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* Updated a specific work location
|
|
32
|
+
*/
|
|
33
|
+
update(id, body, options) {
|
|
34
|
+
return this._client.patch((0, path_1.path) `/work-locations/${id}`, { body, ...options });
|
|
35
|
+
}
|
|
24
36
|
}
|
|
25
37
|
exports.WorkLocations = WorkLocations;
|
|
26
38
|
//# sourceMappingURL=work-locations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"work-locations.js","sourceRoot":"","sources":["../src/resources/work-locations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAEhE,oDAA8C;AAE9C,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;OAKG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,0BAA2B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxG,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"work-locations.js","sourceRoot":"","sources":["../src/resources/work-locations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAEhE,oDAA8C;AAE9C,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;OAKG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,0BAA2B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxG,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,IAA8B,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF;AAlCD,sCAkCC"}
|
|
@@ -12,11 +12,23 @@ export class WorkLocations extends APIResource {
|
|
|
12
12
|
list(query = {}, options) {
|
|
13
13
|
return this._client.getAPIList('/work-locations', (PageCursorURL), { query, ...options });
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* Create a new work location
|
|
17
|
+
*/
|
|
18
|
+
create(body, options) {
|
|
19
|
+
return this._client.post('/work-locations', { body, ...options });
|
|
20
|
+
}
|
|
15
21
|
/**
|
|
16
22
|
* Retrieve a specific work location
|
|
17
23
|
*/
|
|
18
24
|
retrieve(id, options) {
|
|
19
25
|
return this._client.get(path `/work-locations/${id}`, options);
|
|
20
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Updated a specific work location
|
|
29
|
+
*/
|
|
30
|
+
update(id, body, options) {
|
|
31
|
+
return this._client.patch(path `/work-locations/${id}`, { body, ...options });
|
|
32
|
+
}
|
|
21
33
|
}
|
|
22
34
|
//# sourceMappingURL=work-locations.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"work-locations.mjs","sourceRoot":"","sources":["../src/resources/work-locations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,aAA2B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxG,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"work-locations.mjs","sourceRoot":"","sources":["../src/resources/work-locations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,aAA2B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxG,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,IAA8B,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,mBAAmB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF"}
|
package/src/client.ts
CHANGED
|
@@ -50,6 +50,14 @@ import {
|
|
|
50
50
|
Candidates,
|
|
51
51
|
} from './resources/candidates';
|
|
52
52
|
import { Companies, CompaniesPageCursorURL, Company, CompanyListParams } from './resources/companies';
|
|
53
|
+
import {
|
|
54
|
+
CompensationBandsDetailListParams,
|
|
55
|
+
CompensationBandsDetailListResponse,
|
|
56
|
+
CompensationBandsDetailListResponsesPageCursorURL,
|
|
57
|
+
CompensationBandsDetailRetrieveParams,
|
|
58
|
+
CompensationBandsDetailRetrieveResponse,
|
|
59
|
+
CompensationBandsDetails,
|
|
60
|
+
} from './resources/compensation-bands-details';
|
|
53
61
|
import {
|
|
54
62
|
Compensation,
|
|
55
63
|
CompensationListParams,
|
|
@@ -64,11 +72,24 @@ import {
|
|
|
64
72
|
CustomFieldListResponsesPageCursorURL,
|
|
65
73
|
CustomFields,
|
|
66
74
|
} from './resources/custom-fields';
|
|
75
|
+
import {
|
|
76
|
+
CustomSettingCreateParams,
|
|
77
|
+
CustomSettingCreateResponse,
|
|
78
|
+
CustomSettingListParams,
|
|
79
|
+
CustomSettingListResponse,
|
|
80
|
+
CustomSettingListResponsesPageCursorURL,
|
|
81
|
+
CustomSettingRetrieveResponse,
|
|
82
|
+
CustomSettingUpdateParams,
|
|
83
|
+
CustomSettingUpdateResponse,
|
|
84
|
+
CustomSettings,
|
|
85
|
+
} from './resources/custom-settings';
|
|
67
86
|
import {
|
|
68
87
|
Department,
|
|
88
|
+
DepartmentCreateParams,
|
|
69
89
|
DepartmentListParams,
|
|
70
90
|
DepartmentRetrieveParams,
|
|
71
91
|
DepartmentRetrieveResponse,
|
|
92
|
+
DepartmentUpdateParams,
|
|
72
93
|
Departments,
|
|
73
94
|
DepartmentsPageCursorURL,
|
|
74
95
|
} from './resources/departments';
|
|
@@ -104,10 +125,12 @@ import {
|
|
|
104
125
|
AttributeChangeDetails,
|
|
105
126
|
AttributeChangeDetailsPageCursorURL,
|
|
106
127
|
JobAssignment,
|
|
128
|
+
JobAssignmentCreateParams,
|
|
107
129
|
JobAssignmentListChangeLogParams,
|
|
108
130
|
JobAssignmentListParams,
|
|
109
131
|
JobAssignmentRetrieveParams,
|
|
110
132
|
JobAssignmentRetrieveResponse,
|
|
133
|
+
JobAssignmentUpdateParams,
|
|
111
134
|
JobAssignments,
|
|
112
135
|
JobAssignmentsPageCursorURL,
|
|
113
136
|
} from './resources/job-assignments';
|
|
@@ -155,6 +178,11 @@ import {
|
|
|
155
178
|
JobRequisitions,
|
|
156
179
|
JobRequisitionsPageCursorURL,
|
|
157
180
|
} from './resources/job-requisitions';
|
|
181
|
+
import {
|
|
182
|
+
JobRequisitionsWrite,
|
|
183
|
+
JobRequisitionsWriteCreateParams,
|
|
184
|
+
JobRequisitionsWriteCreateResponse,
|
|
185
|
+
} from './resources/job-requisitions-write';
|
|
158
186
|
import {
|
|
159
187
|
KioskBadgeCreateParams,
|
|
160
188
|
KioskBadgeCreateResponse,
|
|
@@ -171,6 +199,9 @@ import {
|
|
|
171
199
|
import {
|
|
172
200
|
LeaveAccrualCreateParams,
|
|
173
201
|
LeaveAccrualCreateResponse,
|
|
202
|
+
LeaveAccrualListParams,
|
|
203
|
+
LeaveAccrualListResponse,
|
|
204
|
+
LeaveAccrualListResponsesPageCursorURL,
|
|
174
205
|
LeaveAccrualRetrieveParams,
|
|
175
206
|
LeaveAccrualRetrieveResponse,
|
|
176
207
|
LeaveAccruals,
|
|
@@ -233,6 +264,12 @@ import {
|
|
|
233
264
|
ObjectCategoryCreateParams,
|
|
234
265
|
ObjectCategoryUpdateParams,
|
|
235
266
|
} from './resources/object-categories';
|
|
267
|
+
import {
|
|
268
|
+
ReportRunCreateParams,
|
|
269
|
+
ReportRunCreateResponse,
|
|
270
|
+
ReportRunRetrieveResponse,
|
|
271
|
+
ReportRuns,
|
|
272
|
+
} from './resources/report-runs';
|
|
236
273
|
import {
|
|
237
274
|
ScheduleCreateParams,
|
|
238
275
|
ScheduleCreateResponse,
|
|
@@ -245,6 +282,11 @@ import {
|
|
|
245
282
|
ScheduleUpdateResponse,
|
|
246
283
|
Schedules,
|
|
247
284
|
} from './resources/schedules';
|
|
285
|
+
import {
|
|
286
|
+
ShiftAssignmentUpdateCustomfieldsParams,
|
|
287
|
+
ShiftAssignmentUpdateCustomfieldsResponse,
|
|
288
|
+
ShiftAssignments,
|
|
289
|
+
} from './resources/shift-assignments';
|
|
248
290
|
import {
|
|
249
291
|
ShiftInput,
|
|
250
292
|
ShiftInputCreateParams,
|
|
@@ -301,6 +343,17 @@ import {
|
|
|
301
343
|
TimeEntryUpdateParams,
|
|
302
344
|
TimeEntryUpdateResponse,
|
|
303
345
|
} from './resources/time-entries';
|
|
346
|
+
import {
|
|
347
|
+
TitleCreateParams,
|
|
348
|
+
TitleCreateResponse,
|
|
349
|
+
TitleListParams,
|
|
350
|
+
TitleListResponse,
|
|
351
|
+
TitleListResponsesPageCursorURL,
|
|
352
|
+
TitleRetrieveResponse,
|
|
353
|
+
TitleUpdateParams,
|
|
354
|
+
TitleUpdateResponse,
|
|
355
|
+
Titles,
|
|
356
|
+
} from './resources/titles';
|
|
304
357
|
import {
|
|
305
358
|
Track,
|
|
306
359
|
TrackListParams,
|
|
@@ -308,6 +361,13 @@ import {
|
|
|
308
361
|
Tracks,
|
|
309
362
|
TracksPageCursorURL,
|
|
310
363
|
} from './resources/tracks';
|
|
364
|
+
import {
|
|
365
|
+
UnassignedShiftAssignParams,
|
|
366
|
+
UnassignedShiftAssignResponse,
|
|
367
|
+
UnassignedShiftUpdateCustomfieldsParams,
|
|
368
|
+
UnassignedShiftUpdateCustomfieldsResponse,
|
|
369
|
+
UnassignedShifts,
|
|
370
|
+
} from './resources/unassigned-shifts';
|
|
311
371
|
import {
|
|
312
372
|
UnassignedshiftCreateParams,
|
|
313
373
|
UnassignedshiftCreateResponse,
|
|
@@ -316,13 +376,17 @@ import {
|
|
|
316
376
|
UnassignedshiftListResponsesPageCursorURL,
|
|
317
377
|
UnassignedshiftRetrieveParams,
|
|
318
378
|
UnassignedshiftRetrieveResponse,
|
|
379
|
+
UnassignedshiftUpdateParams,
|
|
380
|
+
UnassignedshiftUpdateResponse,
|
|
319
381
|
Unassignedshifts,
|
|
320
382
|
} from './resources/unassignedshifts';
|
|
321
383
|
import { User, UserListParams, UserRetrieveResponse, Users, UsersPageCursorURL } from './resources/users';
|
|
322
384
|
import {
|
|
323
385
|
WorkLocation,
|
|
386
|
+
WorkLocationCreateParams,
|
|
324
387
|
WorkLocationListParams,
|
|
325
388
|
WorkLocationRetrieveResponse,
|
|
389
|
+
WorkLocationUpdateParams,
|
|
326
390
|
WorkLocations,
|
|
327
391
|
WorkLocationsPageCursorURL,
|
|
328
392
|
} from './resources/work-locations';
|
|
@@ -454,7 +518,7 @@ export class RipplingSDK {
|
|
|
454
518
|
baseURL: string;
|
|
455
519
|
maxRetries: number;
|
|
456
520
|
timeout: number;
|
|
457
|
-
logger: Logger
|
|
521
|
+
logger: Logger;
|
|
458
522
|
logLevel: LogLevel | undefined;
|
|
459
523
|
fetchOptions: MergedRequestInit | undefined;
|
|
460
524
|
|
|
@@ -1106,17 +1170,24 @@ export class RipplingSDK {
|
|
|
1106
1170
|
jobPayRateExceptions: API.JobPayRateExceptions = new API.JobPayRateExceptions(this);
|
|
1107
1171
|
candidates: API.Candidates = new API.Candidates(this);
|
|
1108
1172
|
candidateApplications: API.CandidateApplications = new API.CandidateApplications(this);
|
|
1173
|
+
compensationBandsDetails: API.CompensationBandsDetails = new API.CompensationBandsDetails(this);
|
|
1109
1174
|
customFields: API.CustomFields = new API.CustomFields(this);
|
|
1175
|
+
customSettings: API.CustomSettings = new API.CustomSettings(this);
|
|
1110
1176
|
draftHires: API.DraftHires = new API.DraftHires(this);
|
|
1111
1177
|
entitlements: API.Entitlements = new API.Entitlements(this);
|
|
1112
1178
|
headcountPositions: API.HeadcountPositions = new API.HeadcountPositions(this);
|
|
1113
1179
|
headcountPriorities: API.HeadcountPriorities = new API.HeadcountPriorities(this);
|
|
1114
1180
|
jobFunctions: API.JobFunctions = new API.JobFunctions(this);
|
|
1181
|
+
jobRequisitionsWrite: API.JobRequisitionsWrite = new API.JobRequisitionsWrite(this);
|
|
1115
1182
|
leaveAccruals: API.LeaveAccruals = new API.LeaveAccruals(this);
|
|
1116
1183
|
locationFactors: API.LocationFactors = new API.LocationFactors(this);
|
|
1184
|
+
reportRuns: API.ReportRuns = new API.ReportRuns(this);
|
|
1117
1185
|
schedules: API.Schedules = new API.Schedules(this);
|
|
1118
1186
|
shiftassignments: API.Shiftassignments = new API.Shiftassignments(this);
|
|
1187
|
+
titles: API.Titles = new API.Titles(this);
|
|
1119
1188
|
unassignedshifts: API.Unassignedshifts = new API.Unassignedshifts(this);
|
|
1189
|
+
shiftAssignments: API.ShiftAssignments = new API.ShiftAssignments(this);
|
|
1190
|
+
unassignedShifts: API.UnassignedShifts = new API.UnassignedShifts(this);
|
|
1120
1191
|
}
|
|
1121
1192
|
|
|
1122
1193
|
RipplingSDK.Companies = Companies;
|
|
@@ -1151,17 +1222,24 @@ RipplingSDK.JobAssignments = JobAssignments;
|
|
|
1151
1222
|
RipplingSDK.JobPayRateExceptions = JobPayRateExceptions;
|
|
1152
1223
|
RipplingSDK.Candidates = Candidates;
|
|
1153
1224
|
RipplingSDK.CandidateApplications = CandidateApplications;
|
|
1225
|
+
RipplingSDK.CompensationBandsDetails = CompensationBandsDetails;
|
|
1154
1226
|
RipplingSDK.CustomFields = CustomFields;
|
|
1227
|
+
RipplingSDK.CustomSettings = CustomSettings;
|
|
1155
1228
|
RipplingSDK.DraftHires = DraftHires;
|
|
1156
1229
|
RipplingSDK.Entitlements = Entitlements;
|
|
1157
1230
|
RipplingSDK.HeadcountPositions = HeadcountPositions;
|
|
1158
1231
|
RipplingSDK.HeadcountPriorities = HeadcountPriorities;
|
|
1159
1232
|
RipplingSDK.JobFunctions = JobFunctions;
|
|
1233
|
+
RipplingSDK.JobRequisitionsWrite = JobRequisitionsWrite;
|
|
1160
1234
|
RipplingSDK.LeaveAccruals = LeaveAccruals;
|
|
1161
1235
|
RipplingSDK.LocationFactors = LocationFactors;
|
|
1236
|
+
RipplingSDK.ReportRuns = ReportRuns;
|
|
1162
1237
|
RipplingSDK.Schedules = Schedules;
|
|
1163
1238
|
RipplingSDK.Shiftassignments = Shiftassignments;
|
|
1239
|
+
RipplingSDK.Titles = Titles;
|
|
1164
1240
|
RipplingSDK.Unassignedshifts = Unassignedshifts;
|
|
1241
|
+
RipplingSDK.ShiftAssignments = ShiftAssignments;
|
|
1242
|
+
RipplingSDK.UnassignedShifts = UnassignedShifts;
|
|
1165
1243
|
|
|
1166
1244
|
export declare namespace RipplingSDK {
|
|
1167
1245
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -1199,7 +1277,9 @@ export declare namespace RipplingSDK {
|
|
|
1199
1277
|
type DepartmentRetrieveResponse as DepartmentRetrieveResponse,
|
|
1200
1278
|
type DepartmentsPageCursorURL as DepartmentsPageCursorURL,
|
|
1201
1279
|
type DepartmentListParams as DepartmentListParams,
|
|
1280
|
+
type DepartmentCreateParams as DepartmentCreateParams,
|
|
1202
1281
|
type DepartmentRetrieveParams as DepartmentRetrieveParams,
|
|
1282
|
+
type DepartmentUpdateParams as DepartmentUpdateParams,
|
|
1203
1283
|
};
|
|
1204
1284
|
|
|
1205
1285
|
export {
|
|
@@ -1395,6 +1475,8 @@ export declare namespace RipplingSDK {
|
|
|
1395
1475
|
type WorkLocationRetrieveResponse as WorkLocationRetrieveResponse,
|
|
1396
1476
|
type WorkLocationsPageCursorURL as WorkLocationsPageCursorURL,
|
|
1397
1477
|
type WorkLocationListParams as WorkLocationListParams,
|
|
1478
|
+
type WorkLocationCreateParams as WorkLocationCreateParams,
|
|
1479
|
+
type WorkLocationUpdateParams as WorkLocationUpdateParams,
|
|
1398
1480
|
};
|
|
1399
1481
|
|
|
1400
1482
|
export {
|
|
@@ -1445,7 +1527,9 @@ export declare namespace RipplingSDK {
|
|
|
1445
1527
|
type JobAssignmentsPageCursorURL as JobAssignmentsPageCursorURL,
|
|
1446
1528
|
type AttributeChangeDetailsPageCursorURL as AttributeChangeDetailsPageCursorURL,
|
|
1447
1529
|
type JobAssignmentListParams as JobAssignmentListParams,
|
|
1530
|
+
type JobAssignmentCreateParams as JobAssignmentCreateParams,
|
|
1448
1531
|
type JobAssignmentRetrieveParams as JobAssignmentRetrieveParams,
|
|
1532
|
+
type JobAssignmentUpdateParams as JobAssignmentUpdateParams,
|
|
1449
1533
|
type JobAssignmentListChangeLogParams as JobAssignmentListChangeLogParams,
|
|
1450
1534
|
};
|
|
1451
1535
|
|
|
@@ -1473,6 +1557,15 @@ export declare namespace RipplingSDK {
|
|
|
1473
1557
|
type CandidateApplicationListParams as CandidateApplicationListParams,
|
|
1474
1558
|
};
|
|
1475
1559
|
|
|
1560
|
+
export {
|
|
1561
|
+
CompensationBandsDetails as CompensationBandsDetails,
|
|
1562
|
+
type CompensationBandsDetailListResponse as CompensationBandsDetailListResponse,
|
|
1563
|
+
type CompensationBandsDetailRetrieveResponse as CompensationBandsDetailRetrieveResponse,
|
|
1564
|
+
type CompensationBandsDetailListResponsesPageCursorURL as CompensationBandsDetailListResponsesPageCursorURL,
|
|
1565
|
+
type CompensationBandsDetailListParams as CompensationBandsDetailListParams,
|
|
1566
|
+
type CompensationBandsDetailRetrieveParams as CompensationBandsDetailRetrieveParams,
|
|
1567
|
+
};
|
|
1568
|
+
|
|
1476
1569
|
export {
|
|
1477
1570
|
CustomFields as CustomFields,
|
|
1478
1571
|
type CustomFieldListResponse as CustomFieldListResponse,
|
|
@@ -1480,6 +1573,18 @@ export declare namespace RipplingSDK {
|
|
|
1480
1573
|
type CustomFieldListParams as CustomFieldListParams,
|
|
1481
1574
|
};
|
|
1482
1575
|
|
|
1576
|
+
export {
|
|
1577
|
+
CustomSettings as CustomSettings,
|
|
1578
|
+
type CustomSettingListResponse as CustomSettingListResponse,
|
|
1579
|
+
type CustomSettingCreateResponse as CustomSettingCreateResponse,
|
|
1580
|
+
type CustomSettingRetrieveResponse as CustomSettingRetrieveResponse,
|
|
1581
|
+
type CustomSettingUpdateResponse as CustomSettingUpdateResponse,
|
|
1582
|
+
type CustomSettingListResponsesPageCursorURL as CustomSettingListResponsesPageCursorURL,
|
|
1583
|
+
type CustomSettingListParams as CustomSettingListParams,
|
|
1584
|
+
type CustomSettingCreateParams as CustomSettingCreateParams,
|
|
1585
|
+
type CustomSettingUpdateParams as CustomSettingUpdateParams,
|
|
1586
|
+
};
|
|
1587
|
+
|
|
1483
1588
|
export {
|
|
1484
1589
|
DraftHires as DraftHires,
|
|
1485
1590
|
type DraftHireCreateResponse as DraftHireCreateResponse,
|
|
@@ -1517,12 +1622,21 @@ export declare namespace RipplingSDK {
|
|
|
1517
1622
|
type JobFunctionListParams as JobFunctionListParams,
|
|
1518
1623
|
};
|
|
1519
1624
|
|
|
1625
|
+
export {
|
|
1626
|
+
JobRequisitionsWrite as JobRequisitionsWrite,
|
|
1627
|
+
type JobRequisitionsWriteCreateResponse as JobRequisitionsWriteCreateResponse,
|
|
1628
|
+
type JobRequisitionsWriteCreateParams as JobRequisitionsWriteCreateParams,
|
|
1629
|
+
};
|
|
1630
|
+
|
|
1520
1631
|
export {
|
|
1521
1632
|
LeaveAccruals as LeaveAccruals,
|
|
1522
|
-
type
|
|
1633
|
+
type LeaveAccrualListResponse as LeaveAccrualListResponse,
|
|
1523
1634
|
type LeaveAccrualCreateResponse as LeaveAccrualCreateResponse,
|
|
1524
|
-
type
|
|
1635
|
+
type LeaveAccrualRetrieveResponse as LeaveAccrualRetrieveResponse,
|
|
1636
|
+
type LeaveAccrualListResponsesPageCursorURL as LeaveAccrualListResponsesPageCursorURL,
|
|
1637
|
+
type LeaveAccrualListParams as LeaveAccrualListParams,
|
|
1525
1638
|
type LeaveAccrualCreateParams as LeaveAccrualCreateParams,
|
|
1639
|
+
type LeaveAccrualRetrieveParams as LeaveAccrualRetrieveParams,
|
|
1526
1640
|
};
|
|
1527
1641
|
|
|
1528
1642
|
export {
|
|
@@ -1533,6 +1647,13 @@ export declare namespace RipplingSDK {
|
|
|
1533
1647
|
type LocationFactorListParams as LocationFactorListParams,
|
|
1534
1648
|
};
|
|
1535
1649
|
|
|
1650
|
+
export {
|
|
1651
|
+
ReportRuns as ReportRuns,
|
|
1652
|
+
type ReportRunCreateResponse as ReportRunCreateResponse,
|
|
1653
|
+
type ReportRunRetrieveResponse as ReportRunRetrieveResponse,
|
|
1654
|
+
type ReportRunCreateParams as ReportRunCreateParams,
|
|
1655
|
+
};
|
|
1656
|
+
|
|
1536
1657
|
export {
|
|
1537
1658
|
Schedules as Schedules,
|
|
1538
1659
|
type ScheduleListResponse as ScheduleListResponse,
|
|
@@ -1559,18 +1680,47 @@ export declare namespace RipplingSDK {
|
|
|
1559
1680
|
type ShiftassignmentUpdateParams as ShiftassignmentUpdateParams,
|
|
1560
1681
|
};
|
|
1561
1682
|
|
|
1683
|
+
export {
|
|
1684
|
+
Titles as Titles,
|
|
1685
|
+
type TitleListResponse as TitleListResponse,
|
|
1686
|
+
type TitleCreateResponse as TitleCreateResponse,
|
|
1687
|
+
type TitleRetrieveResponse as TitleRetrieveResponse,
|
|
1688
|
+
type TitleUpdateResponse as TitleUpdateResponse,
|
|
1689
|
+
type TitleListResponsesPageCursorURL as TitleListResponsesPageCursorURL,
|
|
1690
|
+
type TitleListParams as TitleListParams,
|
|
1691
|
+
type TitleCreateParams as TitleCreateParams,
|
|
1692
|
+
type TitleUpdateParams as TitleUpdateParams,
|
|
1693
|
+
};
|
|
1694
|
+
|
|
1562
1695
|
export {
|
|
1563
1696
|
Unassignedshifts as Unassignedshifts,
|
|
1564
1697
|
type UnassignedshiftListResponse as UnassignedshiftListResponse,
|
|
1565
1698
|
type UnassignedshiftCreateResponse as UnassignedshiftCreateResponse,
|
|
1566
1699
|
type UnassignedshiftRetrieveResponse as UnassignedshiftRetrieveResponse,
|
|
1700
|
+
type UnassignedshiftUpdateResponse as UnassignedshiftUpdateResponse,
|
|
1567
1701
|
type UnassignedshiftListResponsesPageCursorURL as UnassignedshiftListResponsesPageCursorURL,
|
|
1568
1702
|
type UnassignedshiftListParams as UnassignedshiftListParams,
|
|
1569
1703
|
type UnassignedshiftCreateParams as UnassignedshiftCreateParams,
|
|
1570
1704
|
type UnassignedshiftRetrieveParams as UnassignedshiftRetrieveParams,
|
|
1705
|
+
type UnassignedshiftUpdateParams as UnassignedshiftUpdateParams,
|
|
1706
|
+
};
|
|
1707
|
+
|
|
1708
|
+
export {
|
|
1709
|
+
ShiftAssignments as ShiftAssignments,
|
|
1710
|
+
type ShiftAssignmentUpdateCustomfieldsResponse as ShiftAssignmentUpdateCustomfieldsResponse,
|
|
1711
|
+
type ShiftAssignmentUpdateCustomfieldsParams as ShiftAssignmentUpdateCustomfieldsParams,
|
|
1712
|
+
};
|
|
1713
|
+
|
|
1714
|
+
export {
|
|
1715
|
+
UnassignedShifts as UnassignedShifts,
|
|
1716
|
+
type UnassignedShiftUpdateCustomfieldsResponse as UnassignedShiftUpdateCustomfieldsResponse,
|
|
1717
|
+
type UnassignedShiftAssignResponse as UnassignedShiftAssignResponse,
|
|
1718
|
+
type UnassignedShiftUpdateCustomfieldsParams as UnassignedShiftUpdateCustomfieldsParams,
|
|
1719
|
+
type UnassignedShiftAssignParams as UnassignedShiftAssignParams,
|
|
1571
1720
|
};
|
|
1572
1721
|
|
|
1573
1722
|
export type Address = API.Address;
|
|
1574
1723
|
export type CountryCode = API.CountryCode;
|
|
1724
|
+
export type GroupMember = API.GroupMember;
|
|
1575
1725
|
export type RedactedFields = API.RedactedFields;
|
|
1576
1726
|
}
|
package/src/functions.ts
CHANGED
|
@@ -118,3 +118,17 @@ export interface DataBridgeRequest {
|
|
|
118
118
|
connectionId: string;
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
|
+
|
|
122
|
+
export class DataBridgeRateLimitError extends Error {
|
|
123
|
+
waitTimeInSeconds: number;
|
|
124
|
+
constructor(message: string, waitTimeInSeconds: number) {
|
|
125
|
+
const jsonMessage = JSON.stringify({
|
|
126
|
+
message,
|
|
127
|
+
waitTimeInSeconds,
|
|
128
|
+
});
|
|
129
|
+
|
|
130
|
+
super(jsonMessage);
|
|
131
|
+
this.name = 'RateLimitError';
|
|
132
|
+
this.waitTimeInSeconds = waitTimeInSeconds;
|
|
133
|
+
}
|
|
134
|
+
}
|