Skip to content

Commit fe7f45d

Browse files
michelle0927dannyrooseveltclaude
authored
Workday - Update Base URL (#18783)
* update base url * package version * Update Workday get-worker action to use descriptor in summary Changed the $summary export to display the worker's descriptor (human-readable name) instead of the workerId for better user experience. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: Danny Roosevelt <[email protected]> Co-authored-by: Claude <[email protected]>
1 parent e999dd5 commit fe7f45d

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

components/workday/actions/change-business-title/change-business-title.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "workday-change-business-title",
55
name: "Change Business Title",
66
description: "Change the business title of a worker. [See the documentation](https://community.workday.com/sites/default/files/file-hosting/restapi/#common/v1/post-/workers/-ID-/businessTitleChanges)",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,

components/workday/actions/create-job-change/create-job-change.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "workday-create-job-change",
55
name: "Create Job Change",
66
description: "Create a job change for a worker. [See the documentation](https://community.workday.com/sites/default/files/file-hosting/restapi/#common/v1/post-/workers/-ID-/jobChanges)",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,

components/workday/actions/get-worker/get-worker.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "workday-get-worker",
55
name: "Get Worker",
66
description: "Get a worker. [See the documentation](https://community.workday.com/sites/default/files/file-hosting/restapi/#common/v1/get-/workers/-ID-)",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,
@@ -25,7 +25,7 @@ export default {
2525
$,
2626
workerId: this.workerId,
2727
});
28-
$.export("$summary", `Successfully fetched worker ${this.workerId}`);
28+
$.export("$summary", `Successfully fetched worker ${response.descriptor}`);
2929
return response;
3030
},
3131
};

components/workday/actions/list-organization-types/list-organization-types.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "workday-list-organization-types",
55
name: "List Organization Types",
66
description: "List organization types. [See the documentation](https://community.workday.com/sites/default/files/file-hosting/restapi/#common/v1/organizationTypes)",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,

components/workday/actions/list-supervisory-organizations/list-supervisory-organizations.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "workday-list-supervisory-organizations",
55
name: "List Supervisory Organizations",
66
description: "List supervisory organizations. [See the documentation](https://community.workday.com/sites/default/files/file-hosting/restapi/#common/v1/get-/supervisoryOrganizations)",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,

components/workday/actions/list-worker-payslips/list-worker-payslips.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "workday-list-worker-payslips",
55
name: "List Worker Payslips",
66
description: "List the payslips for a worker. [See the documentation](https://community.workday.com/sites/default/files/file-hosting/restapi/#common/v1/get-/workers/-ID-/paySlips)",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,

components/workday/actions/search-workers/search-workers.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "workday-search-workers",
55
name: "Search Workers",
66
description: "Retrieve a list of workers based on a search query. [See the documentation](https://community.workday.com/sites/default/files/file-hosting/restapi/#common/v1/get-/workers)",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,

components/workday/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/workday",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Pipedream Workday Components",
55
"main": "workday.app.mjs",
66
"keywords": [

components/workday/sources/new-worker-created/new-worker-created.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "workday-new-worker-created",
77
name: "New Worker Created",
88
description: "Emit new event for each new worker created in Workday. [See the documentation](https://community.workday.com/sites/default/files/file-hosting/restapi/#common/v1/get-/workers)",
9-
version: "0.0.1",
9+
version: "0.0.2",
1010
type: "source",
1111
dedupe: "unique",
1212
methods: {

components/workday/workday.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default {
6666
},
6767
methods: {
6868
_baseUrl() {
69-
return `https://${this.$auth.domain}/ccx/api/v1/${this.$auth.tenant_id}`;
69+
return this.$auth.rest_api_endpoint;
7070
},
7171
_makeRequest({
7272
$ = this, path, ...opts

0 commit comments

Comments
 (0)