@rippling/rippling-sdk 0.2.0-alpha.27 → 0.2.0-alpha.28
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 +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/business-partner-groups.js +4 -4
- package/resources/business-partner-groups.js.map +1 -1
- package/resources/business-partner-groups.mjs +4 -4
- package/resources/business-partner-groups.mjs.map +1 -1
- package/resources/business-partners.js +4 -4
- package/resources/business-partners.js.map +1 -1
- package/resources/business-partners.mjs +4 -4
- package/resources/business-partners.mjs.map +1 -1
- package/resources/candidate-applications.js +1 -1
- package/resources/candidate-applications.js.map +1 -1
- package/resources/candidate-applications.mjs +1 -1
- package/resources/candidate-applications.mjs.map +1 -1
- package/resources/candidates.js +1 -1
- package/resources/candidates.js.map +1 -1
- package/resources/candidates.mjs +1 -1
- package/resources/candidates.mjs.map +1 -1
- package/resources/companies.js +1 -1
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +1 -1
- package/resources/companies.mjs.map +1 -1
- package/resources/compensation-bands-details.js +2 -2
- package/resources/compensation-bands-details.js.map +1 -1
- package/resources/compensation-bands-details.mjs +2 -2
- package/resources/compensation-bands-details.mjs.map +1 -1
- package/resources/compensations.js +2 -2
- package/resources/compensations.js.map +1 -1
- package/resources/compensations.mjs +2 -2
- package/resources/compensations.mjs.map +1 -1
- package/resources/create-app-notification.js +1 -1
- package/resources/create-app-notification.js.map +1 -1
- package/resources/create-app-notification.mjs +1 -1
- package/resources/create-app-notification.mjs.map +1 -1
- package/resources/custom-apps.d.mts +84 -4
- package/resources/custom-apps.d.mts.map +1 -1
- package/resources/custom-apps.d.ts +84 -4
- package/resources/custom-apps.d.ts.map +1 -1
- package/resources/custom-apps.js +5 -5
- package/resources/custom-apps.js.map +1 -1
- package/resources/custom-apps.mjs +5 -5
- package/resources/custom-apps.mjs.map +1 -1
- package/resources/custom-fields.js +1 -1
- package/resources/custom-fields.js.map +1 -1
- package/resources/custom-fields.mjs +1 -1
- package/resources/custom-fields.mjs.map +1 -1
- package/resources/custom-pages.d.mts +40 -64
- package/resources/custom-pages.d.mts.map +1 -1
- package/resources/custom-pages.d.ts +40 -64
- package/resources/custom-pages.d.ts.map +1 -1
- package/resources/custom-pages.js +5 -5
- package/resources/custom-pages.js.map +1 -1
- package/resources/custom-pages.mjs +5 -5
- package/resources/custom-pages.mjs.map +1 -1
- package/resources/custom-settings.js +5 -5
- package/resources/custom-settings.js.map +1 -1
- package/resources/custom-settings.mjs +5 -5
- package/resources/custom-settings.mjs.map +1 -1
- package/resources/departments.js +4 -4
- package/resources/departments.js.map +1 -1
- package/resources/departments.mjs +4 -4
- package/resources/departments.mjs.map +1 -1
- package/resources/employment-types.js +2 -2
- package/resources/employment-types.js.map +1 -1
- package/resources/employment-types.mjs +2 -2
- package/resources/employment-types.mjs.map +1 -1
- package/resources/entitlements.js +1 -1
- package/resources/entitlements.js.map +1 -1
- package/resources/entitlements.mjs +1 -1
- package/resources/entitlements.mjs.map +1 -1
- package/resources/headcount-positions.js +2 -2
- package/resources/headcount-positions.js.map +1 -1
- package/resources/headcount-positions.mjs +2 -2
- package/resources/headcount-positions.mjs.map +1 -1
- package/resources/headcount-priorities.js +2 -2
- package/resources/headcount-priorities.js.map +1 -1
- package/resources/headcount-priorities.mjs +2 -2
- package/resources/headcount-priorities.mjs.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.js +6 -6
- package/resources/job-assignments.js.map +1 -1
- package/resources/job-assignments.mjs +6 -6
- package/resources/job-assignments.mjs.map +1 -1
- package/resources/job-codes.js +6 -6
- package/resources/job-codes.js.map +1 -1
- package/resources/job-codes.mjs +6 -6
- package/resources/job-codes.mjs.map +1 -1
- package/resources/job-dimensions.js +5 -5
- package/resources/job-dimensions.js.map +1 -1
- package/resources/job-dimensions.mjs +5 -5
- package/resources/job-dimensions.mjs.map +1 -1
- package/resources/job-functions.js +2 -2
- package/resources/job-functions.js.map +1 -1
- package/resources/job-functions.mjs +2 -2
- package/resources/job-functions.mjs.map +1 -1
- package/resources/job-pay-rate-exceptions.js +3 -3
- package/resources/job-pay-rate-exceptions.js.map +1 -1
- package/resources/job-pay-rate-exceptions.mjs +3 -3
- package/resources/job-pay-rate-exceptions.mjs.map +1 -1
- package/resources/job-requisitions-write.js +1 -1
- package/resources/job-requisitions-write.js.map +1 -1
- package/resources/job-requisitions-write.mjs +1 -1
- package/resources/job-requisitions-write.mjs.map +1 -1
- package/resources/job-requisitions.d.mts.map +1 -1
- package/resources/job-requisitions.d.ts.map +1 -1
- package/resources/job-requisitions.js +4 -1
- package/resources/job-requisitions.js.map +1 -1
- package/resources/job-requisitions.mjs +4 -1
- package/resources/job-requisitions.mjs.map +1 -1
- package/resources/kiosk-badges.js +5 -5
- package/resources/kiosk-badges.js.map +1 -1
- package/resources/kiosk-badges.mjs +5 -5
- package/resources/kiosk-badges.mjs.map +1 -1
- package/resources/leave-accruals.js +3 -3
- package/resources/leave-accruals.js.map +1 -1
- package/resources/leave-accruals.mjs +3 -3
- package/resources/leave-accruals.mjs.map +1 -1
- package/resources/leave-balances.js +2 -2
- package/resources/leave-balances.js.map +1 -1
- package/resources/leave-balances.mjs +2 -2
- package/resources/leave-balances.mjs.map +1 -1
- package/resources/leave-requests.js +4 -4
- package/resources/leave-requests.js.map +1 -1
- package/resources/leave-requests.mjs +4 -4
- package/resources/leave-requests.mjs.map +1 -1
- package/resources/leave-types.js +2 -2
- package/resources/leave-types.js.map +1 -1
- package/resources/leave-types.mjs +2 -2
- package/resources/leave-types.mjs.map +1 -1
- package/resources/legal-entities.js +2 -2
- package/resources/legal-entities.js.map +1 -1
- package/resources/legal-entities.mjs +2 -2
- package/resources/legal-entities.mjs.map +1 -1
- package/resources/levels.js +2 -2
- package/resources/levels.js.map +1 -1
- package/resources/levels.mjs +2 -2
- package/resources/levels.mjs.map +1 -1
- package/resources/location-factors.js +2 -2
- package/resources/location-factors.js.map +1 -1
- package/resources/location-factors.mjs +2 -2
- package/resources/location-factors.mjs.map +1 -1
- package/resources/metadata/components.js +1 -1
- package/resources/metadata/components.js.map +1 -1
- package/resources/metadata/components.mjs +1 -1
- package/resources/metadata/components.mjs.map +1 -1
- package/resources/metadata/metadata.js +1 -1
- package/resources/metadata/metadata.js.map +1 -1
- package/resources/metadata/metadata.mjs +1 -1
- package/resources/metadata/metadata.mjs.map +1 -1
- package/resources/metadata/summary.js +1 -1
- package/resources/metadata/summary.js.map +1 -1
- package/resources/metadata/summary.mjs +1 -1
- package/resources/metadata/summary.mjs.map +1 -1
- package/resources/metadata/types.js +1 -1
- package/resources/metadata/types.js.map +1 -1
- package/resources/metadata/types.mjs +1 -1
- package/resources/metadata/types.mjs.map +1 -1
- package/resources/platform-capabilities.js +1 -1
- package/resources/platform-capabilities.js.map +1 -1
- package/resources/platform-capabilities.mjs +1 -1
- package/resources/platform-capabilities.mjs.map +1 -1
- package/resources/report-runs.js +2 -2
- package/resources/report-runs.js.map +1 -1
- package/resources/report-runs.mjs +2 -2
- package/resources/report-runs.mjs.map +1 -1
- package/resources/run-query.js +1 -1
- package/resources/run-query.js.map +1 -1
- package/resources/run-query.mjs +1 -1
- package/resources/run-query.mjs.map +1 -1
- package/resources/schedules.js +4 -4
- package/resources/schedules.js.map +1 -1
- package/resources/schedules.mjs +4 -4
- package/resources/schedules.mjs.map +1 -1
- package/resources/send-email.js +1 -1
- package/resources/send-email.js.map +1 -1
- package/resources/send-email.mjs +1 -1
- package/resources/send-email.mjs.map +1 -1
- package/resources/send-slack.js +1 -1
- package/resources/send-slack.js.map +1 -1
- package/resources/send-slack.mjs +1 -1
- package/resources/send-slack.mjs.map +1 -1
- package/resources/shift-assignments.js +1 -1
- package/resources/shift-assignments.js.map +1 -1
- package/resources/shift-assignments.mjs +1 -1
- package/resources/shift-assignments.mjs.map +1 -1
- package/resources/shift-inputs.js +5 -5
- package/resources/shift-inputs.js.map +1 -1
- package/resources/shift-inputs.mjs +5 -5
- package/resources/shift-inputs.mjs.map +1 -1
- package/resources/shiftassignments.js +4 -4
- package/resources/shiftassignments.js.map +1 -1
- package/resources/shiftassignments.mjs +4 -4
- package/resources/shiftassignments.mjs.map +1 -1
- package/resources/sso-me.d.mts +3 -3
- package/resources/sso-me.d.mts.map +1 -1
- package/resources/sso-me.d.ts +3 -3
- package/resources/sso-me.d.ts.map +1 -1
- package/resources/sso-me.js +2 -2
- package/resources/sso-me.js.map +1 -1
- package/resources/sso-me.mjs +2 -2
- package/resources/sso-me.mjs.map +1 -1
- package/resources/supergroups/exclusion-members.js +2 -2
- package/resources/supergroups/exclusion-members.js.map +1 -1
- package/resources/supergroups/exclusion-members.mjs +2 -2
- package/resources/supergroups/exclusion-members.mjs.map +1 -1
- package/resources/supergroups/inclusion-members.js +2 -2
- package/resources/supergroups/inclusion-members.js.map +1 -1
- package/resources/supergroups/inclusion-members.mjs +2 -2
- package/resources/supergroups/inclusion-members.mjs.map +1 -1
- package/resources/supergroups/members.d.mts.map +1 -1
- package/resources/supergroups/members.d.ts.map +1 -1
- package/resources/supergroups/members.js +1 -4
- package/resources/supergroups/members.js.map +1 -1
- package/resources/supergroups/members.mjs +1 -4
- package/resources/supergroups/members.mjs.map +1 -1
- package/resources/supergroups/supergroups.js +2 -2
- package/resources/supergroups/supergroups.js.map +1 -1
- package/resources/supergroups/supergroups.mjs +2 -2
- package/resources/supergroups/supergroups.mjs.map +1 -1
- package/resources/teams.js +2 -2
- package/resources/teams.js.map +1 -1
- package/resources/teams.mjs +2 -2
- package/resources/teams.mjs.map +1 -1
- package/resources/time-cards.js +2 -2
- package/resources/time-cards.js.map +1 -1
- package/resources/time-cards.mjs +2 -2
- package/resources/time-cards.mjs.map +1 -1
- package/resources/time-entries.js +5 -5
- package/resources/time-entries.js.map +1 -1
- package/resources/time-entries.mjs +5 -5
- package/resources/time-entries.mjs.map +1 -1
- package/resources/titles.js +5 -5
- package/resources/titles.js.map +1 -1
- package/resources/titles.mjs +5 -5
- package/resources/titles.mjs.map +1 -1
- package/resources/tracks.js +2 -2
- package/resources/tracks.js.map +1 -1
- package/resources/tracks.mjs +2 -2
- package/resources/tracks.mjs.map +1 -1
- package/resources/unassigned-shifts.js +2 -2
- package/resources/unassigned-shifts.js.map +1 -1
- package/resources/unassigned-shifts.mjs +2 -2
- package/resources/unassigned-shifts.mjs.map +1 -1
- package/resources/unassignedshifts.js +4 -4
- package/resources/unassignedshifts.js.map +1 -1
- package/resources/unassignedshifts.mjs +4 -4
- package/resources/unassignedshifts.mjs.map +1 -1
- package/resources/users.js +2 -2
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +2 -2
- package/resources/users.mjs.map +1 -1
- package/resources/work-locations.js +5 -5
- package/resources/work-locations.js.map +1 -1
- package/resources/work-locations.mjs +5 -5
- package/resources/work-locations.mjs.map +1 -1
- package/resources/workers.js +2 -2
- package/resources/workers.js.map +1 -1
- package/resources/workers.mjs +2 -2
- package/resources/workers.mjs.map +1 -1
- package/src/client.ts +2 -6
- package/src/resources/business-partner-groups.ts +4 -4
- package/src/resources/business-partners.ts +4 -4
- package/src/resources/candidate-applications.ts +1 -1
- package/src/resources/candidates.ts +1 -1
- package/src/resources/companies.ts +1 -1
- package/src/resources/compensation-bands-details.ts +2 -2
- package/src/resources/compensations.ts +2 -2
- package/src/resources/create-app-notification.ts +1 -1
- package/src/resources/custom-apps.ts +109 -9
- package/src/resources/custom-fields.ts +1 -1
- package/src/resources/custom-pages.ts +47 -77
- package/src/resources/custom-settings.ts +5 -5
- package/src/resources/departments.ts +4 -4
- package/src/resources/employment-types.ts +2 -2
- package/src/resources/entitlements.ts +1 -1
- package/src/resources/headcount-positions.ts +2 -2
- package/src/resources/headcount-priorities.ts +2 -2
- package/src/resources/index.ts +1 -1
- package/src/resources/job-assignments.ts +6 -6
- package/src/resources/job-codes.ts +6 -6
- package/src/resources/job-dimensions.ts +5 -5
- package/src/resources/job-functions.ts +2 -2
- package/src/resources/job-pay-rate-exceptions.ts +3 -3
- package/src/resources/job-requisitions-write.ts +1 -1
- package/src/resources/job-requisitions.ts +4 -1
- package/src/resources/kiosk-badges.ts +5 -5
- package/src/resources/leave-accruals.ts +3 -3
- package/src/resources/leave-balances.ts +2 -2
- package/src/resources/leave-requests.ts +4 -4
- package/src/resources/leave-types.ts +2 -2
- package/src/resources/legal-entities.ts +2 -2
- package/src/resources/levels.ts +2 -2
- package/src/resources/location-factors.ts +2 -2
- package/src/resources/metadata/components.ts +1 -1
- package/src/resources/metadata/metadata.ts +1 -1
- package/src/resources/metadata/summary.ts +1 -1
- package/src/resources/metadata/types.ts +1 -1
- package/src/resources/platform-capabilities.ts +1 -1
- package/src/resources/report-runs.ts +2 -2
- package/src/resources/run-query.ts +1 -1
- package/src/resources/schedules.ts +4 -4
- package/src/resources/send-email.ts +1 -1
- package/src/resources/send-slack.ts +1 -1
- package/src/resources/shift-assignments.ts +1 -1
- package/src/resources/shift-inputs.ts +5 -5
- package/src/resources/shiftassignments.ts +4 -4
- package/src/resources/sso-me.ts +4 -4
- package/src/resources/supergroups/exclusion-members.ts +2 -2
- package/src/resources/supergroups/inclusion-members.ts +2 -2
- package/src/resources/supergroups/members.ts +5 -4
- package/src/resources/supergroups/supergroups.ts +2 -2
- package/src/resources/teams.ts +2 -2
- package/src/resources/time-cards.ts +2 -2
- package/src/resources/time-entries.ts +5 -5
- package/src/resources/titles.ts +5 -5
- package/src/resources/tracks.ts +2 -2
- package/src/resources/unassigned-shifts.ts +2 -2
- package/src/resources/unassignedshifts.ts +4 -4
- package/src/resources/users.ts +2 -2
- package/src/resources/work-locations.ts +5 -5
- package/src/resources/workers.ts +2 -2
- 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
|
@@ -14,31 +14,31 @@ export class WorkLocations extends APIResource {
|
|
|
14
14
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
15
15
|
*/
|
|
16
16
|
list(query = {}, options) {
|
|
17
|
-
return this._client.getAPIList('/work-locations', (PageCursorURL), { query, ...options });
|
|
17
|
+
return this._client.getAPIList('/work-locations/', (PageCursorURL), { query, ...options });
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* Create a new work location
|
|
21
21
|
*/
|
|
22
22
|
create(body, options) {
|
|
23
|
-
return this._client.post('/work-locations', { body, ...options });
|
|
23
|
+
return this._client.post('/work-locations/', { body, ...options });
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Retrieve a specific work location
|
|
27
27
|
*/
|
|
28
28
|
retrieve(id, options) {
|
|
29
|
-
return this._client.get(path `/work-locations/${id}
|
|
29
|
+
return this._client.get(path `/work-locations/${id}/`, options);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Updated a specific work location
|
|
33
33
|
*/
|
|
34
34
|
update(id, body, options) {
|
|
35
|
-
return this._client.patch(path `/work-locations/${id}
|
|
35
|
+
return this._client.patch(path `/work-locations/${id}/`, { body, ...options });
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Delete a work location
|
|
39
39
|
*/
|
|
40
40
|
delete(id, options) {
|
|
41
|
-
return this._client.delete(path `/work-locations/${id}
|
|
41
|
+
return this._client.delete(path `/work-locations/${id}/`, {
|
|
42
42
|
...options,
|
|
43
43
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
44
44
|
});
|
|
@@ -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;OAC9B,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,
|
|
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;OAC9B,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,aAA2B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,IAA8B,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,mBAAmB,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,mBAAmB,EAAE,GAAG,EAAE;YACvD,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.js
CHANGED
|
@@ -21,13 +21,13 @@ class Workers extends resource_1.APIResource {
|
|
|
21
21
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
22
22
|
*/
|
|
23
23
|
list(query = {}, options) {
|
|
24
|
-
return this._client.getAPIList('/workers', (pagination_1.PageCursorURL), { query, ...options });
|
|
24
|
+
return this._client.getAPIList('/workers/', (pagination_1.PageCursorURL), { query, ...options });
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Retrieve a specific worker
|
|
28
28
|
*/
|
|
29
29
|
retrieve(id, query = {}, options) {
|
|
30
|
-
return this._client.get((0, path_1.path) `/workers/${id}
|
|
30
|
+
return this._client.get((0, path_1.path) `/workers/${id}/`, { query, ...options });
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
exports.Workers = Workers;
|
package/resources/workers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workers.js","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAU/C,sDAAgE;AAEhE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"workers.js","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAU/C,sDAAgE;AAEhE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,0BAAqB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF;AA7BD,0BA6BC"}
|
package/resources/workers.mjs
CHANGED
|
@@ -18,13 +18,13 @@ export class Workers extends APIResource {
|
|
|
18
18
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
19
19
|
*/
|
|
20
20
|
list(query = {}, options) {
|
|
21
|
-
return this._client.getAPIList('/workers', (PageCursorURL), { query, ...options });
|
|
21
|
+
return this._client.getAPIList('/workers/', (PageCursorURL), { query, ...options });
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Retrieve a specific worker
|
|
25
25
|
*/
|
|
26
26
|
retrieve(id, query = {}, options) {
|
|
27
|
-
return this._client.get(path `/workers/${id}
|
|
27
|
+
return this._client.get(path `/workers/${id}/`, { query, ...options });
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
//# sourceMappingURL=workers.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workers.mjs","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAUf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"workers.mjs","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAUf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,aAAqB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF"}
|
package/src/client.ts
CHANGED
|
@@ -346,7 +346,7 @@ import {
|
|
|
346
346
|
ShiftassignmentUpdateResponse,
|
|
347
347
|
Shiftassignments,
|
|
348
348
|
} from './resources/shiftassignments';
|
|
349
|
-
import { SSOMe,
|
|
349
|
+
import { SSOMe, SSOMeListParams, SSOMeResource } from './resources/sso-me';
|
|
350
350
|
import {
|
|
351
351
|
Team,
|
|
352
352
|
TeamListParams,
|
|
@@ -1634,11 +1634,7 @@ export declare namespace RipplingSDK {
|
|
|
1634
1634
|
type ShiftInputUpdateParams as ShiftInputUpdateParams,
|
|
1635
1635
|
};
|
|
1636
1636
|
|
|
1637
|
-
export {
|
|
1638
|
-
SSOMeResource as SSOMeResource,
|
|
1639
|
-
type SSOMe as SSOMe,
|
|
1640
|
-
type SSOMeRetrieveParams as SSOMeRetrieveParams,
|
|
1641
|
-
};
|
|
1637
|
+
export { SSOMeResource as SSOMeResource, type SSOMe as SSOMe, type SSOMeListParams as SSOMeListParams };
|
|
1642
1638
|
|
|
1643
1639
|
export {
|
|
1644
1640
|
Supergroups as Supergroups,
|
|
@@ -24,7 +24,7 @@ export class BusinessPartnerGroups extends APIResource {
|
|
|
24
24
|
query: BusinessPartnerGroupListParams | null | undefined = {},
|
|
25
25
|
options?: RequestOptions,
|
|
26
26
|
): PagePromise<BusinessPartnerGroupsPageCursorURL, BusinessPartnerGroup> {
|
|
27
|
-
return this._client.getAPIList('/business-partner-groups', PageCursorURL<BusinessPartnerGroup>, {
|
|
27
|
+
return this._client.getAPIList('/business-partner-groups/', PageCursorURL<BusinessPartnerGroup>, {
|
|
28
28
|
query,
|
|
29
29
|
...options,
|
|
30
30
|
});
|
|
@@ -34,7 +34,7 @@ export class BusinessPartnerGroups extends APIResource {
|
|
|
34
34
|
* Create a new business partner group
|
|
35
35
|
*/
|
|
36
36
|
create(body: BusinessPartnerGroupCreateParams, options?: RequestOptions): APIPromise<BusinessPartnerGroup> {
|
|
37
|
-
return this._client.post('/business-partner-groups', { body, ...options });
|
|
37
|
+
return this._client.post('/business-partner-groups/', { body, ...options });
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
@@ -45,14 +45,14 @@ export class BusinessPartnerGroups extends APIResource {
|
|
|
45
45
|
query: BusinessPartnerGroupRetrieveParams | null | undefined = {},
|
|
46
46
|
options?: RequestOptions,
|
|
47
47
|
): APIPromise<BusinessPartnerGroupRetrieveResponse> {
|
|
48
|
-
return this._client.get(path`/business-partner-groups/${id}
|
|
48
|
+
return this._client.get(path`/business-partner-groups/${id}/`, { query, ...options });
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
52
|
* Delete a business partner group
|
|
53
53
|
*/
|
|
54
54
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
55
|
-
return this._client.delete(path`/business-partner-groups/${id}
|
|
55
|
+
return this._client.delete(path`/business-partner-groups/${id}/`, {
|
|
56
56
|
...options,
|
|
57
57
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
58
58
|
});
|
|
@@ -26,7 +26,7 @@ export class BusinessPartners extends APIResource {
|
|
|
26
26
|
query: BusinessPartnerListParams | null | undefined = {},
|
|
27
27
|
options?: RequestOptions,
|
|
28
28
|
): PagePromise<BusinessPartnersPageCursorURL, BusinessPartner> {
|
|
29
|
-
return this._client.getAPIList('/business-partners', PageCursorURL<BusinessPartner>, {
|
|
29
|
+
return this._client.getAPIList('/business-partners/', PageCursorURL<BusinessPartner>, {
|
|
30
30
|
query,
|
|
31
31
|
...options,
|
|
32
32
|
});
|
|
@@ -36,7 +36,7 @@ export class BusinessPartners extends APIResource {
|
|
|
36
36
|
* Create a new business partner
|
|
37
37
|
*/
|
|
38
38
|
create(body: BusinessPartnerCreateParams, options?: RequestOptions): APIPromise<BusinessPartner> {
|
|
39
|
-
return this._client.post('/business-partners', { body, ...options });
|
|
39
|
+
return this._client.post('/business-partners/', { body, ...options });
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -47,14 +47,14 @@ export class BusinessPartners extends APIResource {
|
|
|
47
47
|
query: BusinessPartnerRetrieveParams | null | undefined = {},
|
|
48
48
|
options?: RequestOptions,
|
|
49
49
|
): APIPromise<BusinessPartnerRetrieveResponse> {
|
|
50
|
-
return this._client.get(path`/business-partners/${id}
|
|
50
|
+
return this._client.get(path`/business-partners/${id}/`, { query, ...options });
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* Delete a business partner
|
|
55
55
|
*/
|
|
56
56
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
57
|
-
return this._client.delete(path`/business-partners/${id}
|
|
57
|
+
return this._client.delete(path`/business-partners/${id}/`, {
|
|
58
58
|
...options,
|
|
59
59
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
60
60
|
});
|
|
@@ -21,7 +21,7 @@ export class CandidateApplications extends APIResource {
|
|
|
21
21
|
options?: RequestOptions,
|
|
22
22
|
): PagePromise<CandidateApplicationListResponsesPageCursorURL, CandidateApplicationListResponse> {
|
|
23
23
|
return this._client.getAPIList(
|
|
24
|
-
'/candidate-applications',
|
|
24
|
+
'/candidate-applications/',
|
|
25
25
|
PageCursorURL<CandidateApplicationListResponse>,
|
|
26
26
|
{ query, ...options },
|
|
27
27
|
);
|
|
@@ -18,7 +18,7 @@ export class Candidates extends APIResource {
|
|
|
18
18
|
query: CandidateListParams | null | undefined = {},
|
|
19
19
|
options?: RequestOptions,
|
|
20
20
|
): PagePromise<CandidateListResponsesPageCursorURL, CandidateListResponse> {
|
|
21
|
-
return this._client.getAPIList('/candidates', PageCursorURL<CandidateListResponse>, {
|
|
21
|
+
return this._client.getAPIList('/candidates/', PageCursorURL<CandidateListResponse>, {
|
|
22
22
|
query,
|
|
23
23
|
...options,
|
|
24
24
|
});
|
|
@@ -21,7 +21,7 @@ export class Companies extends APIResource {
|
|
|
21
21
|
query: CompanyListParams | null | undefined = {},
|
|
22
22
|
options?: RequestOptions,
|
|
23
23
|
): PagePromise<CompaniesPageCursorURL, Company> {
|
|
24
|
-
return this._client.getAPIList('/companies', PageCursorURL<Company>, { query, ...options });
|
|
24
|
+
return this._client.getAPIList('/companies/', PageCursorURL<Company>, { query, ...options });
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -26,7 +26,7 @@ export class CompensationBandsDetails extends APIResource {
|
|
|
26
26
|
options?: RequestOptions,
|
|
27
27
|
): PagePromise<CompensationBandsDetailListResponsesPageCursorURL, CompensationBandsDetailListResponse> {
|
|
28
28
|
return this._client.getAPIList(
|
|
29
|
-
'/compensation-bands-details',
|
|
29
|
+
'/compensation-bands-details/',
|
|
30
30
|
PageCursorURL<CompensationBandsDetailListResponse>,
|
|
31
31
|
{ query, ...options },
|
|
32
32
|
);
|
|
@@ -40,7 +40,7 @@ export class CompensationBandsDetails extends APIResource {
|
|
|
40
40
|
query: CompensationBandsDetailRetrieveParams | null | undefined = {},
|
|
41
41
|
options?: RequestOptions,
|
|
42
42
|
): APIPromise<CompensationBandsDetailRetrieveResponse> {
|
|
43
|
-
return this._client.get(path`/compensation-bands-details/${id}
|
|
43
|
+
return this._client.get(path`/compensation-bands-details/${id}/`, { query, ...options });
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -23,7 +23,7 @@ export class Compensations extends APIResource {
|
|
|
23
23
|
query: CompensationListParams | null | undefined = {},
|
|
24
24
|
options?: RequestOptions,
|
|
25
25
|
): PagePromise<CompensationsPageCursorURL, Compensation> {
|
|
26
|
-
return this._client.getAPIList('/compensations', PageCursorURL<Compensation>, { query, ...options });
|
|
26
|
+
return this._client.getAPIList('/compensations/', PageCursorURL<Compensation>, { query, ...options });
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -34,7 +34,7 @@ export class Compensations extends APIResource {
|
|
|
34
34
|
query: CompensationRetrieveParams | null | undefined = {},
|
|
35
35
|
options?: RequestOptions,
|
|
36
36
|
): APIPromise<CompensationRetrieveResponse> {
|
|
37
|
-
return this._client.get(path`/compensations/${id}
|
|
37
|
+
return this._client.get(path`/compensations/${id}/`, { query, ...options });
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -15,7 +15,7 @@ export class CreateAppNotification extends APIResource {
|
|
|
15
15
|
body: CreateAppNotificationCreateParams,
|
|
16
16
|
options?: RequestOptions,
|
|
17
17
|
): APIPromise<CreateAppNotificationCreateResponse> {
|
|
18
|
-
return this._client.post('/create-app-notification', { body, ...options });
|
|
18
|
+
return this._client.post('/create-app-notification/', { body, ...options });
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -15,21 +15,21 @@ export class CustomApps extends APIResource {
|
|
|
15
15
|
* - Requires: `API Tier 1`
|
|
16
16
|
*/
|
|
17
17
|
list(options?: RequestOptions): PagePromise<CustomAppListResponsesPageCursorURL, CustomAppListResponse> {
|
|
18
|
-
return this._client.getAPIList('/custom-apps', PageCursorURL<CustomAppListResponse>, options);
|
|
18
|
+
return this._client.getAPIList('/custom-apps/', PageCursorURL<CustomAppListResponse>, options);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Create a new CustomApp
|
|
23
23
|
*/
|
|
24
24
|
create(body: CustomAppCreateParams, options?: RequestOptions): APIPromise<CustomAppCreateResponse> {
|
|
25
|
-
return this._client.post('/custom-apps', { body, ...options });
|
|
25
|
+
return this._client.post('/custom-apps/', { body, ...options });
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Retrieve a specific CustomApp
|
|
30
30
|
*/
|
|
31
31
|
retrieve(id: string, options?: RequestOptions): APIPromise<CustomAppRetrieveResponse> {
|
|
32
|
-
return this._client.get(path`/custom-apps/${id}
|
|
32
|
+
return this._client.get(path`/custom-apps/${id}/`, options);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -40,14 +40,14 @@ export class CustomApps extends APIResource {
|
|
|
40
40
|
body: CustomAppUpdateParams,
|
|
41
41
|
options?: RequestOptions,
|
|
42
42
|
): APIPromise<CustomAppUpdateResponse> {
|
|
43
|
-
return this._client.patch(path`/custom-apps/${id}
|
|
43
|
+
return this._client.patch(path`/custom-apps/${id}/`, { body, ...options });
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* Delete a CustomApp
|
|
48
48
|
*/
|
|
49
49
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
50
|
-
return this._client.delete(path`/custom-apps/${id}
|
|
50
|
+
return this._client.delete(path`/custom-apps/${id}/`, {
|
|
51
51
|
...options,
|
|
52
52
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
53
53
|
});
|
|
@@ -109,9 +109,34 @@ export namespace CustomAppListResponse {
|
|
|
109
109
|
api_name?: string;
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
|
-
* The ID of the canvas instance backing this page
|
|
112
|
+
* The ID of the canvas instance backing this page (canvas_page only)
|
|
113
113
|
*/
|
|
114
114
|
canvas_instance_id?: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the role that created the page
|
|
118
|
+
*/
|
|
119
|
+
created_by?: string;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* The ID of the Rippling Function rendering this page (sdui_page only)
|
|
123
|
+
*/
|
|
124
|
+
function_id?: string;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* The type of page (e.g. 'canvas_page', 'sdui_page', 'object_page')
|
|
128
|
+
*/
|
|
129
|
+
page_type?: string;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* The ID of the SDUI page instance (sdui_page only)
|
|
133
|
+
*/
|
|
134
|
+
sdui_page_id?: string;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* The ID of the role that last modified the page
|
|
138
|
+
*/
|
|
139
|
+
updated_by?: string;
|
|
115
140
|
}
|
|
116
141
|
}
|
|
117
142
|
|
|
@@ -168,9 +193,34 @@ export namespace CustomAppCreateResponse {
|
|
|
168
193
|
api_name?: string;
|
|
169
194
|
|
|
170
195
|
/**
|
|
171
|
-
* The ID of the canvas instance backing this page
|
|
196
|
+
* The ID of the canvas instance backing this page (canvas_page only)
|
|
172
197
|
*/
|
|
173
198
|
canvas_instance_id?: string;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* The ID of the role that created the page
|
|
202
|
+
*/
|
|
203
|
+
created_by?: string;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* The ID of the Rippling Function rendering this page (sdui_page only)
|
|
207
|
+
*/
|
|
208
|
+
function_id?: string;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* The type of page (e.g. 'canvas_page', 'sdui_page', 'object_page')
|
|
212
|
+
*/
|
|
213
|
+
page_type?: string;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* The ID of the SDUI page instance (sdui_page only)
|
|
217
|
+
*/
|
|
218
|
+
sdui_page_id?: string;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* The ID of the role that last modified the page
|
|
222
|
+
*/
|
|
223
|
+
updated_by?: string;
|
|
174
224
|
}
|
|
175
225
|
}
|
|
176
226
|
|
|
@@ -230,9 +280,34 @@ export namespace CustomAppRetrieveResponse {
|
|
|
230
280
|
api_name?: string;
|
|
231
281
|
|
|
232
282
|
/**
|
|
233
|
-
* The ID of the canvas instance backing this page
|
|
283
|
+
* The ID of the canvas instance backing this page (canvas_page only)
|
|
234
284
|
*/
|
|
235
285
|
canvas_instance_id?: string;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* The ID of the role that created the page
|
|
289
|
+
*/
|
|
290
|
+
created_by?: string;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* The ID of the Rippling Function rendering this page (sdui_page only)
|
|
294
|
+
*/
|
|
295
|
+
function_id?: string;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* The type of page (e.g. 'canvas_page', 'sdui_page', 'object_page')
|
|
299
|
+
*/
|
|
300
|
+
page_type?: string;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* The ID of the SDUI page instance (sdui_page only)
|
|
304
|
+
*/
|
|
305
|
+
sdui_page_id?: string;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* The ID of the role that last modified the page
|
|
309
|
+
*/
|
|
310
|
+
updated_by?: string;
|
|
236
311
|
}
|
|
237
312
|
}
|
|
238
313
|
|
|
@@ -289,9 +364,34 @@ export namespace CustomAppUpdateResponse {
|
|
|
289
364
|
api_name?: string;
|
|
290
365
|
|
|
291
366
|
/**
|
|
292
|
-
* The ID of the canvas instance backing this page
|
|
367
|
+
* The ID of the canvas instance backing this page (canvas_page only)
|
|
293
368
|
*/
|
|
294
369
|
canvas_instance_id?: string;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* The ID of the role that created the page
|
|
373
|
+
*/
|
|
374
|
+
created_by?: string;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* The ID of the Rippling Function rendering this page (sdui_page only)
|
|
378
|
+
*/
|
|
379
|
+
function_id?: string;
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* The type of page (e.g. 'canvas_page', 'sdui_page', 'object_page')
|
|
383
|
+
*/
|
|
384
|
+
page_type?: string;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* The ID of the SDUI page instance (sdui_page only)
|
|
388
|
+
*/
|
|
389
|
+
sdui_page_id?: string;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* The ID of the role that last modified the page
|
|
393
|
+
*/
|
|
394
|
+
updated_by?: string;
|
|
295
395
|
}
|
|
296
396
|
}
|
|
297
397
|
|
|
@@ -18,7 +18,7 @@ export class CustomFields extends APIResource {
|
|
|
18
18
|
query: CustomFieldListParams | null | undefined = {},
|
|
19
19
|
options?: RequestOptions,
|
|
20
20
|
): PagePromise<CustomFieldListResponsesPageCursorURL, CustomFieldListResponse> {
|
|
21
|
-
return this._client.getAPIList('/custom-fields', PageCursorURL<CustomFieldListResponse>, {
|
|
21
|
+
return this._client.getAPIList('/custom-fields/', PageCursorURL<CustomFieldListResponse>, {
|
|
22
22
|
query,
|
|
23
23
|
...options,
|
|
24
24
|
});
|