diff --git a/pom.xml b/pom.xml index 5824b563..4171ee96 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.bullhorn sdk-rest - 1.4.57 + 1.4.58 jar Bullhorn REST SDK diff --git a/src/main/java/com/bullhornsdk/data/api/mock/MockDataLoader.groovy b/src/main/java/com/bullhornsdk/data/api/mock/MockDataLoader.groovy index d8ace8f9..236c852e 100644 --- a/src/main/java/com/bullhornsdk/data/api/mock/MockDataLoader.groovy +++ b/src/main/java/com/bullhornsdk/data/api/mock/MockDataLoader.groovy @@ -18,6 +18,10 @@ import com.bullhornsdk.data.model.entity.core.customobjectinstances.person.* import com.bullhornsdk.data.model.entity.core.customobjectinstances.placement.* import com.bullhornsdk.data.model.entity.core.edithistory.EditHistory import com.bullhornsdk.data.model.entity.core.edithistory.FieldChange +import com.bullhornsdk.data.model.entity.core.eds.EdsData +import com.bullhornsdk.data.model.entity.core.eds.EdsEntityType +import com.bullhornsdk.data.model.entity.core.eds.EdsEntityTypeSchemaVersion +import com.bullhornsdk.data.model.entity.core.eds.EdsSourceSystem import com.bullhornsdk.data.model.entity.core.onboarding365.forms.FederalTaxForm import com.bullhornsdk.data.model.entity.core.onboarding365.forms.LocalTaxForm import com.bullhornsdk.data.model.entity.core.onboarding365.forms.StateTaxForm @@ -685,6 +689,12 @@ public class MockDataLoader { entityFiles.put(CandidateAvailability.class, "candidateavailability-data.txt"); + // enterprise data store + entityFiles.put(EdsData.class, "eds/edsdata-data.txt"); + entityFiles.put(EdsEntityType.class, "eds/entitytype-data.txt"); + entityFiles.put(EdsEntityTypeSchemaVersion.class, "eds/entitytypeschemaversion-data.txt"); + entityFiles.put(EdsSourceSystem.class, "eds/sourcesystem-data.txt"); + return entityFiles; } @@ -940,6 +950,12 @@ public class MockDataLoader { entityMetaFiles.put(CandidateAvailability.class, "meta/candidateavailability-meta-data.txt"); + // enterprise data store + entityMetaFiles.put(EdsData.class, "meta/eds/edsdata-meta-data.txt"); + entityMetaFiles.put(EdsEntityType.class, "meta/eds/entitytype-meta-data.txt"); + entityMetaFiles.put(EdsEntityTypeSchemaVersion.class, "meta/eds/entitytypeschemaversion-meta-data.txt"); + entityMetaFiles.put(EdsSourceSystem.class, "meta/eds/sourcesystem-meta-data.txt"); + return entityMetaFiles; } diff --git a/src/main/java/com/bullhornsdk/data/model/entity/core/eds/EdsData.java b/src/main/java/com/bullhornsdk/data/model/entity/core/eds/EdsData.java new file mode 100644 index 00000000..18607634 --- /dev/null +++ b/src/main/java/com/bullhornsdk/data/model/entity/core/eds/EdsData.java @@ -0,0 +1,364 @@ +package com.bullhornsdk.data.model.entity.core.eds; + +import com.bullhornsdk.data.model.entity.core.type.CreateEntity; +import com.bullhornsdk.data.model.entity.core.type.DateLastModifiedEntity; +import com.bullhornsdk.data.model.entity.core.type.QueryEntity; +import com.bullhornsdk.data.model.entity.core.type.UpdateEntity; +import com.bullhornsdk.data.util.ReadOnly; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.annotation.JsonRootName; +import org.joda.time.DateTime; + +import java.util.Objects; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonRootName(value = "data") +@JsonPropertyOrder({"id", "entityType", "sourceId", "entityTypeSchemaVersion", "dateAdded", "dateLastModified", + "dateAddedInSourceSystem", "dateLastModifiedInSourceSystem", "payload", "isDeleted", "candidateId", "clientCorporationId", + "clientContactId", "jobOrderId", "jobSubmissionId", "corporateUserId", "leadId", "opportunityId", "placementId", "appointmentId", "noteId", "payableChargeId", "billableChargeId"}) +public class EdsData implements QueryEntity, UpdateEntity, CreateEntity, DateLastModifiedEntity { + private Integer id; + private EdsEntityType entityType; + private Integer sourceId; + private EdsEntityTypeSchemaVersion entityTypeSchemaVersion; + private DateTime dateAdded; + private DateTime dateLastModified; + private DateTime dateAddedInSourceSystem; + private DateTime dateLastModifiedInSourceSystem; + private String payload; + private Boolean isDeleted; + private Integer candidateId; + private Integer clientCorporationId; + private Integer clientContactId; + private Integer jobOrderId; + private Integer jobSubmissionId; + private Integer corporateUserId; + private Integer leadId; + private Integer opportunityId; + private Integer placementId; + private Integer appointmentId; + private Integer noteId; + private Integer payableChargeId; + private Integer billableChargeId; + + @Override + @JsonProperty("id") + public Integer getId() { + return id; + } + + @Override + @JsonProperty("id") + public void setId(Integer id) { + this.id = id; + } + + @JsonProperty("entityType") + public EdsEntityType getEntityType() { + return entityType; + } + + @JsonProperty("entityType") + public void setEntityType(EdsEntityType entityType) { + this.entityType = entityType; + } + + @JsonProperty("sourceId") + public Integer getSourceId() { + return sourceId; + } + + @JsonProperty("sourceId") + public void setSourceId(Integer sourceId) { + this.sourceId = sourceId; + } + + @JsonProperty("entityTypeSchemaVersion") + public EdsEntityTypeSchemaVersion getEntityTypeSchemaVersion() { + return entityTypeSchemaVersion; + } + + @JsonProperty("entityTypeSchemaVersion") + public void setEntityTypeSchemaVersion(EdsEntityTypeSchemaVersion entityTypeSchemaVersion) { + this.entityTypeSchemaVersion = entityTypeSchemaVersion; + } + + @JsonProperty("dateAdded") + public DateTime getDateAdded() { + return dateAdded; + } + + @JsonProperty("dateAdded") + public void setDateAdded(DateTime dateAdded) { + this.dateAdded = dateAdded; + } + + @JsonProperty("dateLastModified") + public DateTime getDateLastModified() { + return dateLastModified; + } + + @ReadOnly + @JsonProperty("dateLastModified") + public void setDateLastModified(DateTime dateLastModified) { + this.dateLastModified = dateLastModified; + } + + @JsonProperty("dateAddedInSourceSystem") + public DateTime getDateAddedInSourceSystem() { + return dateAddedInSourceSystem; + } + + @JsonProperty("dateAddedInSourceSystem") + public void setDateAddedInSourceSystem(DateTime dateAddedInSourceSystem) { + this.dateAddedInSourceSystem = dateAddedInSourceSystem; + } + + @JsonProperty("dateLastModifiedInSourceSystem") + public DateTime getDateLastModifiedInSourceSystem() { + return dateLastModifiedInSourceSystem; + } + + @JsonProperty("dateLastModifiedInSourceSystem") + public void setDateLastModifiedInSourceSystem(DateTime dateLastModifiedInSourceSystem) { + this.dateLastModifiedInSourceSystem = dateLastModifiedInSourceSystem; + } + + @JsonProperty("payload") + public String getPayload() { + return payload; + } + + @JsonProperty("payload") + public void setPayload(String payload) { + this.payload = payload; + } + + @JsonProperty("isDeleted") + public Boolean getIsDeleted() { + return isDeleted; + } + + @JsonProperty("isDeleted") + public void setIsDeleted(Boolean deleted) { + isDeleted = deleted; + } + + @JsonProperty("candidateId") + public Integer getCandidateId() { + return candidateId; + } + + @JsonProperty("candidateId") + public void setCandidateId(Integer candidateId) { + this.candidateId = candidateId; + } + + @JsonProperty("clientCorporationId") + public Integer getClientCorporationId() { + return clientCorporationId; + } + + @JsonProperty("clientCorporationId") + public void setClientCorporationId(Integer clientCorporationId) { + this.clientCorporationId = clientCorporationId; + } + + @JsonProperty("clientContactId") + public Integer getClientContactId() { + return clientContactId; + } + + @JsonProperty("clientContactId") + public void setClientContactId(Integer clientContactId) { + this.clientContactId = clientContactId; + } + + @JsonProperty("jobOrderId") + public Integer getJobOrderId() { + return jobOrderId; + } + + @JsonProperty("jobOrderId") + public void setJobOrderId(Integer jobOrderId) { + this.jobOrderId = jobOrderId; + } + + @JsonProperty("jobSubmissionId") + public Integer getJobSubmissionId() { + return jobSubmissionId; + } + + @JsonProperty("jobSubmissionId") + public void setJobSubmissionId(Integer jobSubmissionId) { + this.jobSubmissionId = jobSubmissionId; + } + + @JsonProperty("corporateUserId") + public Integer getCorporateUserId() { + return corporateUserId; + } + + @JsonProperty("corporateUserId") + public void setCorporateUserId(Integer corporateUserId) { + this.corporateUserId = corporateUserId; + } + + @JsonProperty("leadId") + public Integer getLeadId() { + return leadId; + } + + @JsonProperty("leadId") + public void setLeadId(Integer leadId) { + this.leadId = leadId; + } + + @JsonProperty("opportunityId") + public Integer getOpportunityId() { + return opportunityId; + } + + @JsonProperty("opportunityId") + public void setOpportunityId(Integer opportunityId) { + this.opportunityId = opportunityId; + } + + @JsonProperty("placementId") + public Integer getPlacementId() { + return placementId; + } + + @JsonProperty("placementId") + public void setPlacementId(Integer placementId) { + this.placementId = placementId; + } + + @JsonProperty("appointmentId") + public Integer getAppointmentId() { + return appointmentId; + } + + @JsonProperty("appointmentId") + public void setAppointmentId(Integer appointmentId) { + this.appointmentId = appointmentId; + } + + @JsonProperty("noteId") + public Integer getNoteId() { + return noteId; + } + + @JsonProperty("noteId") + public void setNoteId(Integer noteId) { + this.noteId = noteId; + } + + @JsonProperty("payableChargeId") + public Integer getPayableChargeId() { + return payableChargeId; + } + + @JsonProperty("payableChargeId") + public void setPayableChargeId(Integer payableChargeId) { + this.payableChargeId = payableChargeId; + } + + @JsonProperty("billableChargeId") + public Integer getBillableChargeId() { + return billableChargeId; + } + + @JsonProperty("billableChargeId") + public void setBillableChargeId(Integer billableChargeId) { + this.billableChargeId = billableChargeId; + } + + @Override + public String toString() { + return "EdsData{" + + "id=" + id + + ", entityType =" + entityType + + ", sourceId =" + sourceId + + ", entityTypeSchemaVersion =" + entityTypeSchemaVersion + + ", dateAdded =" + dateAdded + + ", dateLastModified =" + dateLastModified + + ", dateAddedInSource =" + dateAddedInSourceSystem + + ", dateLastModifiedInSource =" + dateLastModifiedInSourceSystem + + ", payload =" + payload + + ", isDeleted =" + isDeleted + + ", candidateId =" + candidateId + + ", clientCorporationId =" + clientCorporationId + + ", clientContactId =" + clientContactId + + ", jobOrderId =" + jobOrderId + + ", jobSubmission =" + jobSubmissionId + + ", corporateUserId =" + corporateUserId + + ", leadId =" + leadId + + ", opportunityId =" + opportunityId + + ", placementId =" + placementId + + ", appointmentId =" + appointmentId + + ", noteId =" + noteId + + ", payableChargeId =" + payableChargeId + + ", billableChargeId =" + billableChargeId + + '}'; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + EdsData that = (EdsData) o; + return Objects.equals(id, that.id) && + Objects.equals(entityType, that.entityType) && + Objects.equals(sourceId, that.sourceId) && + Objects.equals(entityTypeSchemaVersion, that.entityTypeSchemaVersion) && + Objects.equals(dateAdded, that.dateAdded) && + Objects.equals(dateLastModified, that.dateLastModified) && + Objects.equals(dateAddedInSourceSystem, that.dateAddedInSourceSystem) && + Objects.equals(dateLastModifiedInSourceSystem, that.dateLastModifiedInSourceSystem) && + Objects.equals(payload, that.payload) && + Objects.equals(isDeleted, that.isDeleted) && + Objects.equals(candidateId, that.candidateId) && + Objects.equals(clientCorporationId, that.clientCorporationId) && + Objects.equals(clientContactId, that.clientContactId) && + Objects.equals(jobOrderId, that.jobOrderId) && + Objects.equals(jobSubmissionId, that.jobSubmissionId) && + Objects.equals(corporateUserId, that.corporateUserId) && + Objects.equals(leadId, that.leadId) && + Objects.equals(opportunityId, that.opportunityId) && + Objects.equals(placementId, that.placementId) && + Objects.equals(appointmentId, that.appointmentId) && + Objects.equals(noteId, that.noteId) && + Objects.equals(payableChargeId, that.payableChargeId) && + Objects.equals(billableChargeId, that.billableChargeId); + } + + @Override + public int hashCode() { + return Objects.hash(id, + entityType, + sourceId, + entityTypeSchemaVersion, + dateAdded, + dateLastModified, + dateAddedInSourceSystem, + dateLastModifiedInSourceSystem, + payload, + isDeleted, + candidateId, + clientCorporationId, + clientContactId, + jobOrderId, + jobSubmissionId, + corporateUserId, + leadId, + opportunityId, + placementId, + appointmentId, + noteId, + payableChargeId, + billableChargeId); + } +} diff --git a/src/main/java/com/bullhornsdk/data/model/entity/core/eds/EdsEntityType.java b/src/main/java/com/bullhornsdk/data/model/entity/core/eds/EdsEntityType.java new file mode 100644 index 00000000..79bbdf4b --- /dev/null +++ b/src/main/java/com/bullhornsdk/data/model/entity/core/eds/EdsEntityType.java @@ -0,0 +1,121 @@ +package com.bullhornsdk.data.model.entity.core.eds; + +import com.bullhornsdk.data.model.entity.core.type.CreateEntity; +import com.bullhornsdk.data.model.entity.core.type.QueryEntity; +import com.bullhornsdk.data.model.entity.core.type.UpdateEntity; +import com.bullhornsdk.data.model.entity.embedded.OneToMany; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.annotation.JsonRootName; + +import java.util.Objects; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonRootName(value = "data") +@JsonPropertyOrder({"id", "sourceSystem", "edsData", "edsEntityTypeSchemaVersions", "name", "display"}) +public class EdsEntityType implements QueryEntity, UpdateEntity, CreateEntity { + private Integer id; + private EdsSourceSystem sourceSystem; + private OneToMany edsData; + private OneToMany edsEntityTypeSchemaVersions; + private String name; + private String display; + + @Override + @JsonProperty("id") + public Integer getId() { + return id; + } + + @Override + @JsonProperty("id") + public void setId(Integer id) { + this.id = id; + } + + @JsonProperty("sourceSystem") + public EdsSourceSystem getSourceSystem() { + return sourceSystem; + } + + @JsonProperty("sourceSystem") + public void setSourceSystem(EdsSourceSystem sourceSystem) { + this.sourceSystem = sourceSystem; + } + + @JsonProperty("edsData") + public OneToMany getEdsData() { + return edsData; + } + + @JsonProperty("edsData") + public void setEdsData(OneToMany edsData) { + this.edsData = edsData; + } + + @JsonProperty("edsEntityTypeSchemaVersions") + public OneToMany getEdsEntityTypeSchemaVersions() { + return edsEntityTypeSchemaVersions; + } + + @JsonProperty("edsEntityTypeSchemaVersions") + public void setEdsEntityTypeSchemaVersions(OneToMany edsEntityTypeSchemaVersions) { + this.edsEntityTypeSchemaVersions = edsEntityTypeSchemaVersions; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("display") + public String getDisplay() { + return display; + } + + @JsonProperty("display") + public void setDisplay(String display) { + this.display = display; + } + + @Override + public String toString() { + return "EdsEntityType{" + + "id=" + id + + ", sourceSystem =" + sourceSystem + + ", edsData =" + edsData + + ", edsEntityTypeSchemaVersions =" + edsEntityTypeSchemaVersions + + ", name =" + name + + ", display =" + display + + '}'; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + EdsEntityType that = (EdsEntityType) o; + return Objects.equals(id, that.id) && + Objects.equals(sourceSystem, that.sourceSystem) && + Objects.equals(edsData, that.edsData) && + Objects.equals(edsEntityTypeSchemaVersions, that.edsEntityTypeSchemaVersions) && + Objects.equals(name, that.name) && + Objects.equals(display, that.display); + } + + @Override + public int hashCode() { + return Objects.hash(id, + sourceSystem, + edsData, + edsEntityTypeSchemaVersions, + name, + display); + } +} diff --git a/src/main/java/com/bullhornsdk/data/model/entity/core/eds/EdsEntityTypeSchemaVersion.java b/src/main/java/com/bullhornsdk/data/model/entity/core/eds/EdsEntityTypeSchemaVersion.java new file mode 100644 index 00000000..162bf2d8 --- /dev/null +++ b/src/main/java/com/bullhornsdk/data/model/entity/core/eds/EdsEntityTypeSchemaVersion.java @@ -0,0 +1,107 @@ +package com.bullhornsdk.data.model.entity.core.eds; + +import com.bullhornsdk.data.model.entity.core.type.CreateEntity; +import com.bullhornsdk.data.model.entity.core.type.QueryEntity; +import com.bullhornsdk.data.model.entity.core.type.UpdateEntity; +import com.bullhornsdk.data.model.entity.embedded.OneToMany; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.annotation.JsonRootName; + +import java.util.Objects; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonRootName(value = "data") +@JsonPropertyOrder({"id", "description", "edsData", "entityType", "schema"}) +public class EdsEntityTypeSchemaVersion implements QueryEntity, UpdateEntity, CreateEntity { + private Integer id; + private String description; + private OneToMany edsData; + private EdsEntityType entityType; + private String schema; + + @Override + @JsonProperty("id") + public Integer getId() { + return id; + } + + @Override + @JsonProperty("id") + public void setId(Integer id) { + this.id = id; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("edsData") + public OneToMany getEdsData() { + return edsData; + } + + @JsonProperty("edsData") + public void setEdsData(OneToMany edsData) { + this.edsData = edsData; + } + + @JsonProperty("entityType") + public EdsEntityType getEntityType() { + return entityType; + } + + @JsonProperty("entityType") + public void setEntityType(EdsEntityType entityType) { + this.entityType = entityType; + } + + @JsonProperty("schema") + public String getSchema() { + return schema; + } + + @JsonProperty("schema") + public void setSchema(String schema) { + this.schema = schema; + } + + @Override + public String toString() { + return "EntityTypeSchemaVersion{" + + "id=" + id + + ", description =" + description + + ", edsData =" + edsData + + ", entityType =" + entityType + + ", schema =" + schema + + '}'; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + EdsEntityTypeSchemaVersion that = (EdsEntityTypeSchemaVersion) o; + return Objects.equals(id, that.id) && + Objects.equals(description, that.description) && + Objects.equals(edsData, that.edsData) && + Objects.equals(entityType, that.entityType) && + Objects.equals(schema, that.schema); + } + + @Override + public int hashCode() { + return Objects.hash(id, + description, + edsData, + entityType, + schema); + } +} diff --git a/src/main/java/com/bullhornsdk/data/model/entity/core/eds/EdsSourceSystem.java b/src/main/java/com/bullhornsdk/data/model/entity/core/eds/EdsSourceSystem.java new file mode 100644 index 00000000..8270a003 --- /dev/null +++ b/src/main/java/com/bullhornsdk/data/model/entity/core/eds/EdsSourceSystem.java @@ -0,0 +1,93 @@ +package com.bullhornsdk.data.model.entity.core.eds; + +import com.bullhornsdk.data.model.entity.core.type.CreateEntity; +import com.bullhornsdk.data.model.entity.core.type.QueryEntity; +import com.bullhornsdk.data.model.entity.core.type.UpdateEntity; +import com.bullhornsdk.data.model.entity.embedded.OneToMany; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.annotation.JsonRootName; + +import java.util.Objects; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonRootName(value = "data") +@JsonPropertyOrder({"id", "name", "display", "edsEntityTypes"}) +public class EdsSourceSystem implements QueryEntity, UpdateEntity, CreateEntity { + private Integer id; + private String name; + private String display; + private OneToMany entityTypes; + + @Override + @JsonProperty("id") + public Integer getId() { + return id; + } + + @Override + @JsonProperty("id") + public void setId(Integer id) { + this.id = id; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("display") + public String getDisplay() { + return display; + } + + @JsonProperty("display") + public void setDisplay(String display) { + this.display = display; + } + + @JsonProperty("edsEntityTypes") + public OneToMany getEntityTypes() { + return entityTypes; + } + + @JsonProperty("edsEntityTypes") + public void setEntityTypes(OneToMany entityTypes) { + this.entityTypes = entityTypes; + } + + @Override + public String toString() { + return "EntityTypeSchemaVersion{" + + "id=" + id + + ", name =" + name + + ", display =" + display + + ", edsEntityTypes =" + entityTypes + + '}'; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + EdsSourceSystem that = (EdsSourceSystem) o; + return Objects.equals(id, that.id) && + Objects.equals(name, that.name) && + Objects.equals(display, that.display) && + Objects.equals(entityTypes, that.entityTypes); + } + + @Override + public int hashCode() { + return Objects.hash(id, + name, + display, + entityTypes); + } +} diff --git a/src/main/java/com/bullhornsdk/data/model/enums/BullhornEntityInfo.java b/src/main/java/com/bullhornsdk/data/model/enums/BullhornEntityInfo.java index f1e83602..3b548688 100644 --- a/src/main/java/com/bullhornsdk/data/model/enums/BullhornEntityInfo.java +++ b/src/main/java/com/bullhornsdk/data/model/enums/BullhornEntityInfo.java @@ -80,6 +80,10 @@ import com.bullhornsdk.data.model.entity.core.customobjectinstances.placement.PlacementCustomObjectInstance7; import com.bullhornsdk.data.model.entity.core.customobjectinstances.placement.PlacementCustomObjectInstance8; import com.bullhornsdk.data.model.entity.core.customobjectinstances.placement.PlacementCustomObjectInstance9; +import com.bullhornsdk.data.model.entity.core.eds.EdsData; +import com.bullhornsdk.data.model.entity.core.eds.EdsEntityType; +import com.bullhornsdk.data.model.entity.core.eds.EdsEntityTypeSchemaVersion; +import com.bullhornsdk.data.model.entity.core.eds.EdsSourceSystem; import com.bullhornsdk.data.model.entity.core.onboarding365.forms.FederalTaxForm; import com.bullhornsdk.data.model.entity.core.onboarding365.forms.LocalTaxForm; import com.bullhornsdk.data.model.entity.core.onboarding365.forms.StateTaxForm; @@ -481,7 +485,13 @@ public enum BullhornEntityInfo { // Onboarding365 Entities LOCAL_TAX_FORM("LocalTaxForm", LocalTaxForm.class, LocalTaxFormWrapper.class, LocalTaxFormListWrapper.class, null, null), STATE_TAX_FORM("StateTaxForm", StateTaxForm.class, StateTaxFormWrapper.class, StateTaxFormListWrapper.class, null, null), - FEDERAL_TAX_FORM("FederalTaxForm", FederalTaxForm.class, FederalTaxFormWrapper.class, FederalTaxFormListWrapper.class, null, null); + FEDERAL_TAX_FORM("FederalTaxForm", FederalTaxForm.class, FederalTaxFormWrapper.class, FederalTaxFormListWrapper.class, null, null), + + // Enterprise Data Store Entities + EDS_DATA("EdsData", EdsData.class, EdsDataWrapper.class, EdsDataListWrapper.class, null, null), + EDS_ENTITY_TYPE("EdsEntityType", EdsEntityType.class, EdsEntityTypeWrapper.class, EdsEntityTypeListWrapper.class, null, null), + EDS_ENTITY_TYPE_SCHEMA_VERSION("EdsEntityTypeSchemaVersion", EdsEntityTypeSchemaVersion.class, EdsEntityTypeSchemaVersionWrapper.class, EdsEntityTypeSchemaVersionListWrapper.class, null, null), + EDS_SOURCE_SYSTEM("EdsSourceSystem", EdsSourceSystem.class, EdsSourceSystemWrapper.class, EdsSourceSystemListWrapper.class, null, null); private final String name; diff --git a/src/main/java/com/bullhornsdk/data/model/response/list/EdsDataListWrapper.java b/src/main/java/com/bullhornsdk/data/model/response/list/EdsDataListWrapper.java new file mode 100644 index 00000000..0f3f37d4 --- /dev/null +++ b/src/main/java/com/bullhornsdk/data/model/response/list/EdsDataListWrapper.java @@ -0,0 +1,11 @@ +package com.bullhornsdk.data.model.response.list; + +import com.bullhornsdk.data.model.entity.core.eds.EdsData; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ "data", "count", "start" }) +public class EdsDataListWrapper extends StandardListWrapper { + +} diff --git a/src/main/java/com/bullhornsdk/data/model/response/list/EdsEntityTypeListWrapper.java b/src/main/java/com/bullhornsdk/data/model/response/list/EdsEntityTypeListWrapper.java new file mode 100644 index 00000000..1c81fc21 --- /dev/null +++ b/src/main/java/com/bullhornsdk/data/model/response/list/EdsEntityTypeListWrapper.java @@ -0,0 +1,11 @@ +package com.bullhornsdk.data.model.response.list; + +import com.bullhornsdk.data.model.entity.core.eds.EdsEntityType; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ "data", "count", "start" }) +public class EdsEntityTypeListWrapper extends StandardListWrapper { + +} diff --git a/src/main/java/com/bullhornsdk/data/model/response/list/EdsEntityTypeSchemaVersionListWrapper.java b/src/main/java/com/bullhornsdk/data/model/response/list/EdsEntityTypeSchemaVersionListWrapper.java new file mode 100644 index 00000000..09b1fa94 --- /dev/null +++ b/src/main/java/com/bullhornsdk/data/model/response/list/EdsEntityTypeSchemaVersionListWrapper.java @@ -0,0 +1,11 @@ +package com.bullhornsdk.data.model.response.list; + +import com.bullhornsdk.data.model.entity.core.eds.EdsEntityTypeSchemaVersion; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ "data", "count", "start" }) +public class EdsEntityTypeSchemaVersionListWrapper extends StandardListWrapper { + +} diff --git a/src/main/java/com/bullhornsdk/data/model/response/list/EdsSourceSystemListWrapper.java b/src/main/java/com/bullhornsdk/data/model/response/list/EdsSourceSystemListWrapper.java new file mode 100644 index 00000000..6c0de0ec --- /dev/null +++ b/src/main/java/com/bullhornsdk/data/model/response/list/EdsSourceSystemListWrapper.java @@ -0,0 +1,11 @@ +package com.bullhornsdk.data.model.response.list; + +import com.bullhornsdk.data.model.entity.core.eds.EdsSourceSystem; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ "data", "count", "start" }) +public class EdsSourceSystemListWrapper extends StandardListWrapper { + +} diff --git a/src/main/java/com/bullhornsdk/data/model/response/single/EdsDataWrapper.java b/src/main/java/com/bullhornsdk/data/model/response/single/EdsDataWrapper.java new file mode 100644 index 00000000..b9976ecf --- /dev/null +++ b/src/main/java/com/bullhornsdk/data/model/response/single/EdsDataWrapper.java @@ -0,0 +1,7 @@ +package com.bullhornsdk.data.model.response.single; + +import com.bullhornsdk.data.model.entity.core.eds.EdsData; + +public class EdsDataWrapper extends StandardWrapper { + +} diff --git a/src/main/java/com/bullhornsdk/data/model/response/single/EdsEntityTypeSchemaVersionWrapper.java b/src/main/java/com/bullhornsdk/data/model/response/single/EdsEntityTypeSchemaVersionWrapper.java new file mode 100644 index 00000000..bd80d94b --- /dev/null +++ b/src/main/java/com/bullhornsdk/data/model/response/single/EdsEntityTypeSchemaVersionWrapper.java @@ -0,0 +1,7 @@ +package com.bullhornsdk.data.model.response.single; + +import com.bullhornsdk.data.model.entity.core.eds.EdsEntityTypeSchemaVersion; + +public class EdsEntityTypeSchemaVersionWrapper extends StandardWrapper { + +} diff --git a/src/main/java/com/bullhornsdk/data/model/response/single/EdsEntityTypeWrapper.java b/src/main/java/com/bullhornsdk/data/model/response/single/EdsEntityTypeWrapper.java new file mode 100644 index 00000000..93656175 --- /dev/null +++ b/src/main/java/com/bullhornsdk/data/model/response/single/EdsEntityTypeWrapper.java @@ -0,0 +1,7 @@ +package com.bullhornsdk.data.model.response.single; + +import com.bullhornsdk.data.model.entity.core.eds.EdsEntityType; + +public class EdsEntityTypeWrapper extends StandardWrapper { + +} diff --git a/src/main/java/com/bullhornsdk/data/model/response/single/EdsSourceSystemWrapper.java b/src/main/java/com/bullhornsdk/data/model/response/single/EdsSourceSystemWrapper.java new file mode 100644 index 00000000..cef93dc8 --- /dev/null +++ b/src/main/java/com/bullhornsdk/data/model/response/single/EdsSourceSystemWrapper.java @@ -0,0 +1,7 @@ +package com.bullhornsdk.data.model.response.single; + +import com.bullhornsdk.data.model.entity.core.eds.EdsSourceSystem; + +public class EdsSourceSystemWrapper extends StandardWrapper { + +} diff --git a/src/test/resources/testdata/rest/eds/edsdata-data.txt b/src/test/resources/testdata/rest/eds/edsdata-data.txt new file mode 100644 index 00000000..1e5ddf50 --- /dev/null +++ b/src/test/resources/testdata/rest/eds/edsdata-data.txt @@ -0,0 +1,586 @@ +{ + "start": 0, + "count": 20, + "data": [ + { + "id": 1, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 2, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 3, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 4, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 5, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 6, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 7, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 8, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 9, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 10, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 11, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 12, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 13, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 14, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 15, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 16, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 17, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 18, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 19, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + }, + { + "id": 20, + "appointmentId": null, + "billableChargeId": null, + "candidateId": null, + "clientContactId": null, + "clientCorporationId": null, + "corporateUserId": null, + "dateAdded": 1679921299822, + "dateAddedInSourceSystem": 1665762392903, + "dateLastModified": 1679921299822, + "dateLastModifiedInSourceSystem": 1665762392903, + "entityType": { + "id": 1 + }, + "entityTypeSchemaVersion": { + "id": 1 + }, + "isDeleted": false, + "jobOrderId": null, + "jobSubmissionId": null, + "leadId": null, + "noteId": null, + "opportunityId": null, + "payableChargeId": null, + "payload": "{\"Customer_Id\":1,\n\"Id\":15220,\n\"Type\":”Send”,\n\"Url\":null,\n\"PageTitle\":null,\n\"Description\":null,\n\"EmailTemplate_Id\":17483,\n\"TextMessageTemplate_Id\":null,\n\"BullhornCandidateId\":99999,\n\"BullhornLeadId\":null,\n\"BullhornJobId\":null,\n\"DateCreated\":\"2023-02-27T16:42:11.27\",\n\"DateModified\":null}", + "placementId": null, + "sourceId": 1 + } + ] +} diff --git a/src/test/resources/testdata/rest/eds/entitytype-data.txt b/src/test/resources/testdata/rest/eds/entitytype-data.txt new file mode 100644 index 00000000..e97ca7c2 --- /dev/null +++ b/src/test/resources/testdata/rest/eds/entitytype-data.txt @@ -0,0 +1,357 @@ +{ + "start": 0, + "count": 20, + "data": [ + { + "id": 20, + "display": "Test Entity", + "edsData": { + "total": 0, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 1, + "data": [ + ] + }, + "name": "Test Entity", + "sourceSystem": { + "id": 1 + } + }, + { + "id": 19, + "display": "ET1", + "edsData": { + "total": 1, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 0, + "data": [ + ] + }, + "name": "ET1", + "sourceSystem": { + "id": 3 + } + },{ + "id": 18, + "display": "Test Entity", + "edsData": { + "total": 0, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 1, + "data": [ + ] + }, + "name": "Test Entity", + "sourceSystem": { + "id": 1 + } + }, + { + "id": 17, + "display": "ET1", + "edsData": { + "total": 1, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 0, + "data": [ + ] + }, + "name": "ET1", + "sourceSystem": { + "id": 3 + } + },{ + "id": 16, + "display": "Test Entity", + "edsData": { + "total": 0, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 1, + "data": [ + ] + }, + "name": "Test Entity", + "sourceSystem": { + "id": 1 + } + }, + { + "id": 15, + "display": "ET1", + "edsData": { + "total": 1, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 0, + "data": [ + ] + }, + "name": "ET1", + "sourceSystem": { + "id": 3 + } + },{ + "id": 14, + "display": "Test Entity", + "edsData": { + "total": 0, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 1, + "data": [ + ] + }, + "name": "Test Entity", + "sourceSystem": { + "id": 1 + } + }, + { + "id": 13, + "display": "ET1", + "edsData": { + "total": 1, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 0, + "data": [ + ] + }, + "name": "ET1", + "sourceSystem": { + "id": 3 + } + },{ + "id": 12, + "display": "Test Entity", + "edsData": { + "total": 0, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 1, + "data": [ + ] + }, + "name": "Test Entity", + "sourceSystem": { + "id": 1 + } + }, + { + "id": 11, + "display": "ET1", + "edsData": { + "total": 1, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 0, + "data": [ + ] + }, + "name": "ET1", + "sourceSystem": { + "id": 3 + } + },{ + "id": 10, + "display": "Test Entity", + "edsData": { + "total": 0, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 1, + "data": [ + ] + }, + "name": "Test Entity", + "sourceSystem": { + "id": 1 + } + }, + { + "id": 9, + "display": "ET1", + "edsData": { + "total": 1, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 0, + "data": [ + ] + }, + "name": "ET1", + "sourceSystem": { + "id": 3 + } + },{ + "id": 8, + "display": "Test Entity", + "edsData": { + "total": 0, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 1, + "data": [ + ] + }, + "name": "Test Entity", + "sourceSystem": { + "id": 1 + } + }, + { + "id": 7, + "display": "ET1", + "edsData": { + "total": 1, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 0, + "data": [ + ] + }, + "name": "ET1", + "sourceSystem": { + "id": 3 + } + },{ + "id": 6, + "display": "Test Entity", + "edsData": { + "total": 0, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 1, + "data": [ + ] + }, + "name": "Test Entity", + "sourceSystem": { + "id": 1 + } + }, + { + "id": 5, + "display": "ET1", + "edsData": { + "total": 1, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 0, + "data": [ + ] + }, + "name": "ET1", + "sourceSystem": { + "id": 3 + } + },{ + "id": 4, + "display": "Test Entity", + "edsData": { + "total": 0, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 1, + "data": [ + ] + }, + "name": "Test Entity", + "sourceSystem": { + "id": 1 + } + }, + { + "id": 3, + "display": "ET1", + "edsData": { + "total": 1, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 0, + "data": [ + ] + }, + "name": "ET1", + "sourceSystem": { + "id": 3 + } + },{ + "id": 2, + "display": "Test Entity", + "edsData": { + "total": 0, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 1, + "data": [ + ] + }, + "name": "Test Entity", + "sourceSystem": { + "id": 1 + } + }, + { + "id": 1, + "display": "ET1", + "edsData": { + "total": 1, + "data": [ + ] + }, + "edsEntityTypeSchemaVersions": { + "total": 0, + "data": [ + ] + }, + "name": "ET1", + "sourceSystem": { + "id": 3 + } + } + ] +} diff --git a/src/test/resources/testdata/rest/eds/entitytypeschemaversion-data.txt b/src/test/resources/testdata/rest/eds/entitytypeschemaversion-data.txt new file mode 100644 index 00000000..4068b2e2 --- /dev/null +++ b/src/test/resources/testdata/rest/eds/entitytypeschemaversion-data.txt @@ -0,0 +1,247 @@ +{ + "start": 0, + "count": 20, + "data": [ + { + "id": 20, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 19, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 18, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 17, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 16, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 15, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 14, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 13, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 12, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 11, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 10, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 9, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 8, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 7, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 6, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 5, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 4, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 3, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 2, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + }, { + "id": 1, + "description": "Test Entity Schema", + "edsData": { + "total": 1, + "data": [ + ] + }, + "entityType": { + "id": 2 + }, + "schema": "{}" + } + ] +} diff --git a/src/test/resources/testdata/rest/eds/sourcesystem-data.txt b/src/test/resources/testdata/rest/eds/sourcesystem-data.txt new file mode 100644 index 00000000..dcad1357 --- /dev/null +++ b/src/test/resources/testdata/rest/eds/sourcesystem-data.txt @@ -0,0 +1,206 @@ +{ + "start": 0, + "count": 20, + "data": [ + { + "id": 20, + "display": "Analytics Test part2", + "edsEntityTypes": { + "total": 0, + "data": [ + ] + }, + "name": "Analytics Test part2" + }, + { + "id": 19, + "display": "Analytics Test", + "edsEntityTypes": { + "total": 1, + "data": [ + ] + }, + "name": "Analytics Test" + }, + { + "id": 18, + "display": "SS1", + "edsEntityTypes": { + "total": 1, + "data": [ + ] + }, + "name": "SS1" + }, + { + "id": 17, + "display": "Analytics Test part2", + "edsEntityTypes": { + "total": 0, + "data": [ + ] + }, + "name": "Analytics Test part2" + }, + { + "id": 16, + "display": "Analytics Test", + "edsEntityTypes": { + "total": 1, + "data": [ + ] + }, + "name": "Analytics Test" + }, + { + "id": 15, + "display": "SS1", + "edsEntityTypes": { + "total": 1, + "data": [ + ] + }, + "name": "SS1" + }, + { + "id": 14, + "display": "Analytics Test part2", + "edsEntityTypes": { + "total": 0, + "data": [ + ] + }, + "name": "Analytics Test part2" + }, + { + "id": 13, + "display": "Analytics Test", + "edsEntityTypes": { + "total": 1, + "data": [ + ] + }, + "name": "Analytics Test" + }, + { + "id": 12, + "display": "SS1", + "edsEntityTypes": { + "total": 1, + "data": [ + ] + }, + "name": "SS1" + }, + { + "id": 11, + "display": "Analytics Test part2", + "edsEntityTypes": { + "total": 0, + "data": [ + ] + }, + "name": "Analytics Test part2" + }, + { + "id": 10, + "display": "Analytics Test", + "edsEntityTypes": { + "total": 1, + "data": [ + ] + }, + "name": "Analytics Test" + }, + { + "id": 9, + "display": "SS1", + "edsEntityTypes": { + "total": 1, + "data": [ + ] + }, + "name": "SS1" + }, + { + "id": 8, + "display": "Analytics Test part2", + "edsEntityTypes": { + "total": 0, + "data": [ + ] + }, + "name": "Analytics Test part2" + }, + { + "id": 7, + "display": "Analytics Test", + "edsEntityTypes": { + "total": 1, + "data": [ + ] + }, + "name": "Analytics Test" + }, + { + "id": 6, + "display": "SS1", + "edsEntityTypes": { + "total": 1, + "data": [ + ] + }, + "name": "SS1" + }, + { + "id": 5, + "display": "Analytics Test part2", + "edsEntityTypes": { + "total": 0, + "data": [ + ] + }, + "name": "Analytics Test part2" + }, + { + "id": 4, + "display": "Analytics Test", + "edsEntityTypes": { + "total": 1, + "data": [ + ] + }, + "name": "Analytics Test" + }, + { + "id": 3, + "display": "SS1", + "edsEntityTypes": { + "total": 1, + "data": [ + ] + }, + "name": "SS1" + }, + { + "id": 2, + "display": "Analytics Test part2", + "edsEntityTypes": { + "total": 0, + "data": [ + ] + }, + "name": "Analytics Test part2" + }, + { + "id": 1, + "display": "Analytics Test", + "edsEntityTypes": { + "total": 1, + "data": [ + ] + }, + "name": "Analytics Test" + } + ] +} diff --git a/src/test/resources/testdata/rest/meta/eds/edsdata-meta-data.txt b/src/test/resources/testdata/rest/meta/eds/edsdata-meta-data.txt new file mode 100644 index 00000000..4e8140fe --- /dev/null +++ b/src/test/resources/testdata/rest/meta/eds/edsdata-meta-data.txt @@ -0,0 +1,221 @@ +{ + "entity": "EdsData", + "entityMetaUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/meta/EdsData?fields=*", + "label": "Eds Data", + "dateLastModified": "1679566503302", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer", + "label": "ID" + }, + { + "name": "appointmentId", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Appointment Id", + "hideFromSearch": false + }, + { + "name": "billableChargeId", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Billable Charge Id", + "hideFromSearch": false + }, + { + "name": "candidateId", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Candidate Id", + "hideFromSearch": false + }, + { + "name": "clientContactId", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Client Contact Id", + "hideFromSearch": false + }, + { + "name": "clientCorporationId", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Client Corporation Id", + "hideFromSearch": false + }, + { + "name": "corporateUserId", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Corporate User Id", + "hideFromSearch": false + }, + { + "name": "dateAdded", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "Date Added", + "hideFromSearch": false + }, + { + "name": "dateAddedInSourceSystem", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "Date Added In Source System", + "hideFromSearch": false + }, + { + "name": "dateLastModified", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "Date Last Modified", + "hideFromSearch": false + }, + { + "name": "dateLastModifiedInSourceSystem", + "type": "SCALAR", + "dataType": "Timestamp", + "confidential": false, + "label": "Date Last Modified In Source System", + "hideFromSearch": false + }, + { + "name": "entityType", + "type": "TO_ONE", + "confidential": false, + "label": "Entity Type", + "optionsType": "EdsEntityType", + "optionsUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/options/EdsEntityType", + "hideFromSearch": false, + "associatedEntity": { + "entity": "EdsEntityType", + "entityMetaUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/meta/EdsEntityType?fields=*", + "label": "Eds Entity Type", + "dateLastModified": "1679566503485", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer", + "label": "ID" + } + ] + } + }, + { + "name": "entityTypeSchemaVersion", + "type": "TO_ONE", + "confidential": false, + "label": "Entity Type Schema Version", + "optionsType": "EdsEntityTypeSchemaVersion", + "optionsUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/options/EdsEntityTypeSchemaVersion", + "hideFromSearch": false, + "associatedEntity": { + "entity": "EdsEntityTypeSchemaVersion", + "entityMetaUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/meta/EdsEntityTypeSchemaVersion?fields=*", + "label": "Eds Entity Type Schema Version", + "dateLastModified": "1679566503937", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer", + "label": "ID" + } + ] + } + }, + { + "name": "isDeleted", + "type": "SCALAR", + "dataType": "Boolean", + "confidential": false, + "label": "Is Deleted", + "hideFromSearch": false + }, + { + "name": "jobOrderId", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Job Order Id", + "hideFromSearch": false + }, + { + "name": "jobSubmissionId", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Job Submission Id", + "hideFromSearch": false + }, + { + "name": "leadId", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Lead Id", + "hideFromSearch": false + }, + { + "name": "noteId", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Note Id", + "hideFromSearch": false + }, + { + "name": "opportunityId", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Opportunity Id", + "hideFromSearch": false + }, + { + "name": "payableChargeId", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Payable Charge Id", + "hideFromSearch": false + }, + { + "name": "payload", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "Payload", + "hideFromSearch": false + }, + { + "name": "placementId", + "type": "SCALAR", + "dataType": "Integer", + "confidential": false, + "label": "Placement Id", + "hideFromSearch": false + }, + { + "name": "sourceId", + "type": "SCALAR", + "dataType": "Long", + "confidential": false, + "label": "Source Id", + "hideFromSearch": false + } + ] +} diff --git a/src/test/resources/testdata/rest/meta/eds/entitytype-meta-data.txt b/src/test/resources/testdata/rest/meta/eds/entitytype-meta-data.txt new file mode 100644 index 00000000..5019adc4 --- /dev/null +++ b/src/test/resources/testdata/rest/meta/eds/entitytype-meta-data.txt @@ -0,0 +1,101 @@ +{ + "entity": "EdsEntityType", + "entityMetaUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/meta/EdsEntityType?fields=*", + "label": "Eds Entity Type", + "dateLastModified": "1679566503485", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer", + "label": "ID" + }, + { + "name": "display", + "type": "SCALAR", + "dataType": "String", + "maxLength": 64, + "confidential": false, + "label": "Display", + "hideFromSearch": false + }, + { + "name": "edsData", + "type": "TO_MANY", + "confidential": false, + "label": "Eds Data", + "optionsType": "EdsData", + "optionsUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/options/EdsData", + "hideFromSearch": false, + "associatedEntity": { + "entity": "EdsData", + "entityMetaUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/meta/EdsData?fields=*", + "label": "Eds Data", + "dateLastModified": "1679566503302", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer", + "label": "ID" + } + ] + } + }, + { + "name": "edsEntityTypeSchemaVersions", + "type": "TO_MANY", + "confidential": false, + "label": "Eds Entity Type Schema Versions", + "optionsType": "EdsEntityTypeSchemaVersion", + "optionsUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/options/EdsEntityTypeSchemaVersion", + "hideFromSearch": false, + "associatedEntity": { + "entity": "EdsEntityTypeSchemaVersion", + "entityMetaUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/meta/EdsEntityTypeSchemaVersion?fields=*", + "label": "Eds Entity Type Schema Version", + "dateLastModified": "1679566503937", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer", + "label": "ID" + } + ] + } + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 64, + "confidential": false, + "label": "Name", + "hideFromSearch": false + }, + { + "name": "sourceSystem", + "type": "TO_ONE", + "confidential": false, + "label": "Source System", + "optionsType": "EdsSourceSystem", + "optionsUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/options/EdsSourceSystem", + "hideFromSearch": false, + "associatedEntity": { + "entity": "EdsSourceSystem", + "entityMetaUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/meta/EdsSourceSystem?fields=*", + "label": "Eds Source System", + "dateLastModified": "1679566523003", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer", + "label": "ID" + } + ] + } + } + ] +} diff --git a/src/test/resources/testdata/rest/meta/eds/entitytypeschemaversion-meta-data.txt b/src/test/resources/testdata/rest/meta/eds/entitytypeschemaversion-meta-data.txt new file mode 100644 index 00000000..6f4ae70c --- /dev/null +++ b/src/test/resources/testdata/rest/meta/eds/entitytypeschemaversion-meta-data.txt @@ -0,0 +1,78 @@ +{ + "entity": "EdsEntityTypeSchemaVersion", + "entityMetaUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/meta/EdsEntityTypeSchemaVersion?fields=*", + "label": "Eds Entity Type Schema Version", + "dateLastModified": "1679566503937", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer", + "label": "ID" + }, + { + "name": "description", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "Description", + "hideFromSearch": false + }, + { + "name": "edsData", + "type": "TO_MANY", + "confidential": false, + "label": "Eds Data", + "optionsType": "EdsData", + "optionsUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/options/EdsData", + "hideFromSearch": false, + "associatedEntity": { + "entity": "EdsData", + "entityMetaUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/meta/EdsData?fields=*", + "label": "Eds Data", + "dateLastModified": "1679566503302", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer", + "label": "ID" + } + ] + } + }, + { + "name": "entityType", + "type": "TO_ONE", + "confidential": false, + "label": "Entity Type", + "optionsType": "EdsEntityType", + "optionsUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/options/EdsEntityType", + "hideFromSearch": false, + "associatedEntity": { + "entity": "EdsEntityType", + "entityMetaUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/meta/EdsEntityType?fields=*", + "label": "Eds Entity Type", + "dateLastModified": "1679566503485", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer", + "label": "ID" + } + ] + } + }, + { + "name": "schema", + "type": "SCALAR", + "dataType": "String", + "maxLength": 2147483647, + "confidential": false, + "label": "Schema", + "hideFromSearch": false + } + ] +} diff --git a/src/test/resources/testdata/rest/meta/eds/sourcesystem-meta-data.txt b/src/test/resources/testdata/rest/meta/eds/sourcesystem-meta-data.txt new file mode 100644 index 00000000..136efa9d --- /dev/null +++ b/src/test/resources/testdata/rest/meta/eds/sourcesystem-meta-data.txt @@ -0,0 +1,55 @@ +{ + "entity": "EdsSourceSystem", + "entityMetaUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/meta/EdsSourceSystem?fields=*", + "label": "Eds Source System", + "dateLastModified": "1679566523003", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer", + "label": "ID" + }, + { + "name": "display", + "type": "SCALAR", + "dataType": "String", + "maxLength": 64, + "confidential": false, + "label": "Display", + "hideFromSearch": false + }, + { + "name": "edsEntityTypes", + "type": "TO_MANY", + "confidential": false, + "label": "Eds Entity Types", + "optionsType": "EdsEntityType", + "optionsUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/options/EdsEntityType", + "hideFromSearch": false, + "associatedEntity": { + "entity": "EdsEntityType", + "entityMetaUrl": "https://rest91.bullhornstaffing.com/rest-services/12h5dd/meta/EdsEntityType?fields=*", + "label": "Eds Entity Type", + "dateLastModified": "1679566503485", + "fields": [ + { + "name": "id", + "type": "ID", + "dataType": "Integer", + "label": "ID" + } + ] + } + }, + { + "name": "name", + "type": "SCALAR", + "dataType": "String", + "maxLength": 64, + "confidential": false, + "label": "Name", + "hideFromSearch": false + } + ] +}