@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/workday/index.js~
packages/ari/workday/index.jsModified+6−30
Index: package/packages/ari/workday/index.js
===================================================================
--- package/packages/ari/workday/index.js
+++ package/packages/ari/workday/index.js
@@ -287,25 +287,21 @@
var workdayCostCenterAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: WorkdayCostCenterAriResourceOwner,
resourceType: WorkdayCostCenterAriResourceType,
resourceIdSlug: "{workdayTenantKey}/{costCenterWorkdayId}",
resourceIdSegmentFormats: {
workdayTenantKey: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
costCenterWorkdayId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/workday/cost-center/index.ts
var WorkdayCostCenterAri = class _WorkdayCostCenterAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._costCenterWorkdayId = opts.resourceIdSegmentValues.costCenterWorkdayId;
+ super(opts), this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._costCenterWorkdayId = opts.resourceIdSegmentValues.costCenterWorkdayId;
}
get workdayTenantKey() {
return this._workdayTenantKey;
}
@@ -346,25 +342,21 @@
var workdayJobProfileAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: WorkdayJobProfileAriResourceOwner,
resourceType: WorkdayJobProfileAriResourceType,
resourceIdSlug: "{workdayTenantKey}/{jobProfileWorkdayId}",
resourceIdSegmentFormats: {
workdayTenantKey: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
jobProfileWorkdayId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/workday/job-profile/index.ts
var WorkdayJobProfileAri = class _WorkdayJobProfileAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._jobProfileWorkdayId = opts.resourceIdSegmentValues.jobProfileWorkdayId;
+ super(opts), this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._jobProfileWorkdayId = opts.resourceIdSegmentValues.jobProfileWorkdayId;
}
get workdayTenantKey() {
return this._workdayTenantKey;
}
@@ -405,25 +397,21 @@
var workdayPositionAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: WorkdayPositionAriResourceOwner,
resourceType: WorkdayPositionAriResourceType,
resourceIdSlug: "{workdayTenantKey}/{positionWorkdayId}",
resourceIdSegmentFormats: {
workdayTenantKey: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
positionWorkdayId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/workday/position/index.ts
var WorkdayPositionAri = class _WorkdayPositionAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._positionWorkdayId = opts.resourceIdSegmentValues.positionWorkdayId;
+ super(opts), this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._positionWorkdayId = opts.resourceIdSegmentValues.positionWorkdayId;
}
get workdayTenantKey() {
return this._workdayTenantKey;
}
@@ -464,25 +452,21 @@
var workdayStaffAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: WorkdayStaffAriResourceOwner,
resourceType: WorkdayStaffAriResourceType,
resourceIdSlug: "{workdayTenantKey}/{staffId}",
resourceIdSegmentFormats: {
workdayTenantKey: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
staffId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/workday/staff/index.ts
var WorkdayStaffAri = class _WorkdayStaffAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._staffId = opts.resourceIdSegmentValues.staffId;
+ super(opts), this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._staffId = opts.resourceIdSegmentValues.staffId;
}
get workdayTenantKey() {
return this._workdayTenantKey;
}
@@ -523,25 +507,21 @@
var workdaySupervisoryOrgAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: WorkdaySupervisoryOrgAriResourceOwner,
resourceType: WorkdaySupervisoryOrgAriResourceType,
resourceIdSlug: "{workdayTenantKey}/{supervisoryOrgWorkdayId}",
resourceIdSegmentFormats: {
workdayTenantKey: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
supervisoryOrgWorkdayId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/workday/supervisory-org/index.ts
var WorkdaySupervisoryOrgAri = class _WorkdaySupervisoryOrgAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._supervisoryOrgWorkdayId = opts.resourceIdSegmentValues.supervisoryOrgWorkdayId;
+ super(opts), this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._supervisoryOrgWorkdayId = opts.resourceIdSegmentValues.supervisoryOrgWorkdayId;
}
get workdayTenantKey() {
return this._workdayTenantKey;
}
@@ -582,25 +562,21 @@
var workdayWorkerAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: WorkdayWorkerAriResourceOwner,
resourceType: WorkdayWorkerAriResourceType,
resourceIdSlug: "{workdayTenantKey}/{workerWorkdayId}",
resourceIdSegmentFormats: {
workdayTenantKey: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
workerWorkdayId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/workday/worker/index.ts
var WorkdayWorkerAri = class _WorkdayWorkerAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._workerWorkdayId = opts.resourceIdSegmentValues.workerWorkdayId;
+ super(opts), this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._workerWorkdayId = opts.resourceIdSegmentValues.workerWorkdayId;
}
get workdayTenantKey() {
return this._workdayTenantKey;
}