@osdk/client 0.2.1 → 0.3.1

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.
Files changed (91) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/build/js/{chunk-MT2HE6AQ.mjs → chunk-DVD5PAXO.mjs} +119 -8
  3. package/build/js/chunk-DVD5PAXO.mjs.map +1 -0
  4. package/build/js/{chunk-CCKGGMYW.cjs → chunk-YVZITKIQ.cjs} +117 -6
  5. package/build/js/chunk-YVZITKIQ.cjs.map +1 -0
  6. package/build/js/index.cjs +15 -13
  7. package/build/js/index.cjs.map +1 -1
  8. package/build/js/index.mjs +12 -10
  9. package/build/js/index.mjs.map +1 -1
  10. package/build/js/public/objects.cjs +3 -3
  11. package/build/js/public/objects.mjs +1 -1
  12. package/build/types/Client.d.ts +2 -2
  13. package/build/types/Definitions.d.ts +4 -4
  14. package/build/types/OsdkObjectFrom.d.ts +2 -0
  15. package/build/types/definitions/LinkDefinitions.d.ts +19 -0
  16. package/build/types/definitions/LinkDefinitions.test.d.ts +1 -0
  17. package/build/types/generated/object-set-service/api/ObjectSetServiceV2/getLinks.d.ts +1 -1
  18. package/build/types/generated/ontology-metadata/api/GetFeatureConfigurationsResponse.d.ts +1 -0
  19. package/build/types/generated/ontology-metadata/api/OntologyMetadataGothamTypeMappingService/checkTranslationEligibility.d.ts +8 -0
  20. package/build/types/generated/ontology-metadata/api/OntologyMetadataGothamTypeMappingService.d.ts +1 -0
  21. package/build/types/generated/ontology-metadata/api/TypeGroupGetOrganizationsRequest.d.ts +7 -0
  22. package/build/types/generated/ontology-metadata/api/TypeGroupGetOrganizationsResponse.d.ts +9 -0
  23. package/build/types/generated/ontology-metadata/api/TypeGroupOrgsService/getOrganizationsForTypeGroups.d.ts +9 -0
  24. package/build/types/generated/ontology-metadata/api/TypeGroupOrgsService/setOrganizationsForTypeGroups.d.ts +9 -0
  25. package/build/types/generated/ontology-metadata/api/TypeGroupOrgsService.d.ts +2 -0
  26. package/build/types/generated/ontology-metadata/api/TypeGroupSetOrganizationsRequest.d.ts +11 -0
  27. package/build/types/generated/ontology-metadata/api/index.d.ts +4 -0
  28. package/build/types/generated/ontology-metadata/api/search/ActionTypeClause.d.ts +5 -1
  29. package/build/types/generated/ontology-metadata/api/typemapping/CaseSensitiveGothamObjectTypeUri.d.ts +6 -0
  30. package/build/types/generated/ontology-metadata/api/typemapping/CaseSensitiveGothamPropertyTypeUri.d.ts +6 -0
  31. package/build/types/generated/ontology-metadata/api/typemapping/CheckTranslationEligibilityRequest.d.ts +8 -0
  32. package/build/types/generated/ontology-metadata/api/typemapping/CheckTranslationEligibilityResponse.d.ts +7 -0
  33. package/build/types/generated/ontology-metadata/api/typemapping/ClientTranslationEligibilityResult.d.ts +10 -0
  34. package/build/types/generated/ontology-metadata/api/typemapping/GothamDatasourceDelegateId.d.ts +5 -0
  35. package/build/types/generated/ontology-metadata/api/typemapping/IntegrationClientType.d.ts +4 -0
  36. package/build/types/generated/ontology-metadata/api/typemapping/LoadGothamTypeInstallationStatusesResponse.d.ts +4 -4
  37. package/build/types/generated/ontology-metadata/api/typemapping/TranslatableDatasource.d.ts +5 -0
  38. package/build/types/generated/ontology-metadata/api/typemapping/TranslationEligibility.d.ts +11 -0
  39. package/build/types/generated/ontology-metadata/api/typemapping/UntranslatableSecurity.d.ts +7 -0
  40. package/build/types/generated/ontology-metadata/api/typemapping/UntranslatableSecurityFailureType.d.ts +1 -0
  41. package/build/types/generated/ontology-metadata/api/typemapping/index.d.ts +11 -0
  42. package/build/types/generated/ontology-metadata/branch/api/BranchStatus.d.ts +11 -1
  43. package/build/types/generated/ontology-metadata/branch/api/LoadOntologyBranchMarkingsRequest.d.ts +2 -0
  44. package/build/types/generated/ontology-metadata/branch/api/LoadOntologyBranchMarkingsResponse.d.ts +4 -0
  45. package/build/types/generated/ontology-metadata/branch/api/MediaReferencePropertyTypeConstraintError.d.ts +9 -0
  46. package/build/types/generated/ontology-metadata/branch/api/MediaReferencePropertyTypeHasNoDatasourcesError.d.ts +9 -0
  47. package/build/types/generated/ontology-metadata/branch/api/OntologyBranchService/loadOntologyBranchMarkings.d.ts +9 -0
  48. package/build/types/generated/ontology-metadata/branch/api/OntologyBranchService/setOntologyBranchOrganizationMarkings.d.ts +2 -2
  49. package/build/types/generated/ontology-metadata/branch/api/OntologyBranchService.d.ts +1 -0
  50. package/build/types/generated/ontology-metadata/branch/api/ValidationError.d.ts +6 -1
  51. package/build/types/generated/ontology-metadata/branch/api/index.d.ts +4 -0
  52. package/build/types/generatedNoCheck/Ontology.d.ts +483 -0
  53. package/build/types/generatedNoCheck/OntologyMetadata.d.ts +5 -0
  54. package/build/types/generatedNoCheck/index.d.ts +1 -0
  55. package/build/types/generatedNoCheck/ontology/actions/actionTakesObjectSet.d.ts +15 -0
  56. package/build/types/generatedNoCheck/ontology/actions/createOffice.d.ts +35 -0
  57. package/build/types/generatedNoCheck/ontology/actions/createOfficeAndEmployee.d.ts +45 -0
  58. package/build/types/generatedNoCheck/ontology/actions/index.d.ts +6 -0
  59. package/build/types/generatedNoCheck/ontology/actions/moveOffice.d.ts +35 -0
  60. package/build/types/generatedNoCheck/ontology/actions/promoteEmployee.d.ts +27 -0
  61. package/build/types/generatedNoCheck/ontology/actions/promoteEmployeeObject.d.ts +30 -0
  62. package/build/types/generatedNoCheck/ontology/interfaces.d.ts +1 -0
  63. package/build/types/generatedNoCheck/ontology/objects/Employee.d.ts +49 -0
  64. package/build/types/generatedNoCheck/ontology/objects/ObjectWithTimestampPrimaryKey.d.ts +18 -0
  65. package/build/types/generatedNoCheck/ontology/objects/Office.d.ts +35 -0
  66. package/build/types/generatedNoCheck/ontology/objects/equipment.d.ts +18 -0
  67. package/build/types/generatedNoCheck/ontology/objects/objectTypeWithAllPropertyTypes.d.ts +158 -0
  68. package/build/types/generatedNoCheck/ontology/objects.d.ts +5 -0
  69. package/build/types/internal/conversions/legacyToModernSingleAggregationResult.d.ts +2 -2
  70. package/build/types/internal/conversions/modernToLegacyWhereClause.d.ts +2 -2
  71. package/build/types/object/Attachment.d.ts +8 -0
  72. package/build/types/object/ObjectDefinitions.test.d.ts +1 -0
  73. package/build/types/object/convertWireToOsdkObjects.d.ts +5 -3
  74. package/build/types/object/convertWireToOsdkObjects.test.d.ts +1 -0
  75. package/build/types/object/fetchPageOrThrow.d.ts +6 -4
  76. package/build/types/object/getLinkedObjectByPkOrThrow.d.ts +4 -0
  77. package/build/types/object/getLinkedObjectOrThrow.d.ts +4 -0
  78. package/build/types/object/object.test.d.ts +1 -0
  79. package/build/types/object/pageLinkedObjectsOrThrow.d.ts +9 -0
  80. package/build/types/objectSet/ObjectSet.d.ts +2 -5
  81. package/build/types/objectSet/ObjectSetListenerWebsocket.d.ts +2 -2
  82. package/build/types/objectSet/createObjectSet.d.ts +3 -3
  83. package/build/types/objectSet/toConjureObjectSet.d.ts +3 -3
  84. package/build/types/query/WhereClause.d.ts +2 -2
  85. package/build/types/util/test/mockOntology.d.ts +59 -0
  86. package/package.json +8 -3
  87. package/build/js/chunk-CCKGGMYW.cjs.map +0 -1
  88. package/build/js/chunk-MT2HE6AQ.mjs.map +0 -1
  89. package/build/types/internal/net/V2_BASE.d.ts +0 -1
  90. package/build/types/internal/net/index.d.ts +0 -1
  91. package/build/types/internal/net/types.d.ts +0 -357
@@ -0,0 +1,8 @@
1
+ import { type ConjureContext } from "conjure-lite";
2
+ import type { CheckTranslationEligibilityRequest } from "../typemapping/CheckTranslationEligibilityRequest.js";
3
+ import type { CheckTranslationEligibilityResponse } from "../typemapping/CheckTranslationEligibilityResponse.js";
4
+ /**
5
+ * Evaluate if the requested Datasource Delegates can be translated into the Simple Policy Structure
6
+ * through the specified services.
7
+ */
8
+ export declare function checkTranslationEligibility(ctx: ConjureContext, request: CheckTranslationEligibilityRequest): Promise<CheckTranslationEligibilityResponse>;
@@ -1,3 +1,4 @@
1
+ export { checkTranslationEligibility } from "./OntologyMetadataGothamTypeMappingService/checkTranslationEligibility.js";
1
2
  export { getGothamObjectTypes } from "./OntologyMetadataGothamTypeMappingService/getGothamObjectTypes.js";
2
3
  export { getGothamPropertyTypes } from "./OntologyMetadataGothamTypeMappingService/getGothamPropertyTypes.js";
3
4
  export { loadGothamTypeInstallationStatuses } from "./OntologyMetadataGothamTypeMappingService/loadGothamTypeInstallationStatuses.js";
@@ -0,0 +1,7 @@
1
+ import type { TypeGroupRid } from "./TypeGroupRid.js";
2
+ /**
3
+ * Request to get the associated OrganizationRid(s) for given TypeGroupRid(s).
4
+ */
5
+ export interface TypeGroupGetOrganizationsRequest {
6
+ typeGroupRids: Array<TypeGroupRid>;
7
+ }
@@ -0,0 +1,9 @@
1
+ import type { OrganizationRid } from "./OrganizationRid.js";
2
+ import type { TypeGroupRid } from "./TypeGroupRid.js";
3
+ /**
4
+ * Response for TypeGroupGetOrganizationsRequest. Please note that this will contain
5
+ * OrganizationRid(s) only for TypeGroupRid(s) that are visible to the user.
6
+ */
7
+ export interface TypeGroupGetOrganizationsResponse {
8
+ organizationRidByTypeGroupRid: Record<TypeGroupRid, Array<OrganizationRid>>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { type ConjureContext } from "conjure-lite";
2
+ import type { TypeGroupGetOrganizationsRequest } from "../TypeGroupGetOrganizationsRequest.js";
3
+ import type { TypeGroupGetOrganizationsResponse } from "../TypeGroupGetOrganizationsResponse.js";
4
+ /**
5
+ * Endpoint to batch load organization rids per TypeGroup. The response will only contain entries for
6
+ * TypeGroupRid(s) paired with Organizations that are visible to the user. At most 500 TypeGroupRids can be
7
+ * requested in the same request.
8
+ */
9
+ export declare function getOrganizationsForTypeGroups(ctx: ConjureContext, request: TypeGroupGetOrganizationsRequest): Promise<TypeGroupGetOrganizationsResponse>;
@@ -0,0 +1,9 @@
1
+ import { type ConjureContext } from "conjure-lite";
2
+ import type { TypeGroupSetOrganizationsRequest } from "../TypeGroupSetOrganizationsRequest.js";
3
+ /**
4
+ * Endpoint to batch set organization markings on TypeGroups. The requesting user
5
+ * should have permissions to modify the specified TypeGroupRid(s) and have
6
+ * relevant permissions to apply the specified organizations' markings. At most 50 TypeGroups can be set in the
7
+ * same request.
8
+ */
9
+ export declare function setOrganizationsForTypeGroups(ctx: ConjureContext, request: TypeGroupSetOrganizationsRequest): Promise<void>;
@@ -0,0 +1,2 @@
1
+ export { getOrganizationsForTypeGroups } from "./TypeGroupOrgsService/getOrganizationsForTypeGroups.js";
2
+ export { setOrganizationsForTypeGroups } from "./TypeGroupOrgsService/setOrganizationsForTypeGroups.js";
@@ -0,0 +1,11 @@
1
+ import type { OrganizationRid } from "./OrganizationRid.js";
2
+ import type { TypeGroupRid } from "./TypeGroupRid.js";
3
+ /**
4
+ * Request to associate given set of OrganizationRids with the specified TypeGroupRid(s).
5
+ * Users should have permissions to modify the specified TypeGroupRid(s) and also have
6
+ * relevant permissions to apply the specified organizations' markings.
7
+ * An empty set of organizations is not permissible.
8
+ */
9
+ export interface TypeGroupSetOrganizationsRequest {
10
+ organizationRidByTypeGroupRid: Record<TypeGroupRid, Array<OrganizationRid>>;
11
+ }
@@ -5,6 +5,7 @@ export * as OntologyMetadataGothamTypeMappingService from "./OntologyMetadataGot
5
5
  export * as OntologyMetadataSearchService from "./OntologyMetadataSearchService.js";
6
6
  export * as OntologyMetadataSemanticSearchService from "./OntologyMetadataSemanticSearchService.js";
7
7
  export * as OntologyMetadataService from "./OntologyMetadataService.js";
8
+ export * as TypeGroupOrgsService from "./TypeGroupOrgsService.js";
8
9
  export type { ActionApplierRevertConfig } from "./ActionApplierRevertConfig.js";
9
10
  export type { ActionApplyClientPreferences } from "./ActionApplyClientPreferences.js";
10
11
  export type { ActionApplyDisallowedClients } from "./ActionApplyDisallowedClients.js";
@@ -633,12 +634,15 @@ export type { Type } from "./Type.js";
633
634
  export type { TypeClass } from "./TypeClass.js";
634
635
  export type { TypeGroup } from "./TypeGroup.js";
635
636
  export type { TypeGroupDisplayMetadata } from "./TypeGroupDisplayMetadata.js";
637
+ export type { TypeGroupGetOrganizationsRequest } from "./TypeGroupGetOrganizationsRequest.js";
638
+ export type { TypeGroupGetOrganizationsResponse } from "./TypeGroupGetOrganizationsResponse.js";
636
639
  export type { TypeGroupIconColors } from "./TypeGroupIconColors.js";
637
640
  export type { TypeGroupIdInRequest } from "./TypeGroupIdInRequest.js";
638
641
  export type { TypeGroupLoadRequest } from "./TypeGroupLoadRequest.js";
639
642
  export type { TypeGroupLoadResponse } from "./TypeGroupLoadResponse.js";
640
643
  export type { TypeGroupRid } from "./TypeGroupRid.js";
641
644
  export type { TypeGroupRidOrIdInRequest } from "./TypeGroupRidOrIdInRequest.js";
645
+ export type { TypeGroupSetOrganizationsRequest } from "./TypeGroupSetOrganizationsRequest.js";
642
646
  export type { UniqueIdentifier } from "./UniqueIdentifier.js";
643
647
  export type { UnresolvedOntologySparkInputProperties } from "./UnresolvedOntologySparkInputProperties.js";
644
648
  export type { UrlTarget } from "./UrlTarget.js";
@@ -16,6 +16,10 @@ export interface ActionTypeClause_affectedObjectTypeRid {
16
16
  type: "affectedObjectTypeRid";
17
17
  affectedObjectTypeRid: ObjectTypeRid;
18
18
  }
19
+ export interface ActionTypeClause_inputObjectTypeRid {
20
+ type: "inputObjectTypeRid";
21
+ inputObjectTypeRid: ObjectTypeRid;
22
+ }
19
23
  export interface ActionTypeClause_actionTypeApiName {
20
24
  type: "actionTypeApiName";
21
25
  actionTypeApiName: FullTextStringPredicate;
@@ -55,4 +59,4 @@ export interface ActionTypeClause_hasWebhook {
55
59
  /**
56
60
  * Data structure to represent search query for ActionTypes. Supports filters for various ActionType features.
57
61
  */
58
- export type ActionTypeClause = ActionTypeClause_and | ActionTypeClause_or | ActionTypeClause_affectedObjectTypeRid | ActionTypeClause_actionTypeApiName | ActionTypeClause_actionTypeRid | ActionTypeClause_actionTypeDisplayName | ActionTypeClause_typeClasses | ActionTypeClause_actionTypeDescription | ActionTypeClause_status | ActionTypeClause_logicRule | ActionTypeClause_hasActionLog | ActionTypeClause_hasWebhook;
62
+ export type ActionTypeClause = ActionTypeClause_and | ActionTypeClause_or | ActionTypeClause_affectedObjectTypeRid | ActionTypeClause_inputObjectTypeRid | ActionTypeClause_actionTypeApiName | ActionTypeClause_actionTypeRid | ActionTypeClause_actionTypeDisplayName | ActionTypeClause_typeClasses | ActionTypeClause_actionTypeDescription | ActionTypeClause_status | ActionTypeClause_logicRule | ActionTypeClause_hasActionLog | ActionTypeClause_hasWebhook;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This type exists because Conjure does not support using an alias of an external type as a key to a map
3
+ * (see LoadGothamTypeInstallationStatusesResponse). The values of this type should always be lowercased in
4
+ * responses, but clients should convert to an internal case-insensitive type where possible.
5
+ */
6
+ export type CaseSensitiveGothamObjectTypeUri = string;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This type exists because Conjure does not support using an alias of an external type as a key to a map
3
+ * (see LoadGothamTypeInstallationStatusesResponse). Values of this type should always be lowercased in
4
+ * responses, but clients should convert to an internal case-insensitive type where possible.
5
+ */
6
+ export type CaseSensitiveGothamPropertyTypeUri = string;
@@ -0,0 +1,8 @@
1
+ import type { DatasourceIdentifier } from "../DatasourceIdentifier.js";
2
+ import type { GothamDatasourceDelegateId } from "./GothamDatasourceDelegateId.js";
3
+ /**
4
+ * Check if the following Datasource rids can be translated through the specified workflows.
5
+ */
6
+ export interface CheckTranslationEligibilityRequest {
7
+ delegates: Record<GothamDatasourceDelegateId, DatasourceIdentifier>;
8
+ }
@@ -0,0 +1,7 @@
1
+ import type { ClientTranslationEligibilityResult } from "./ClientTranslationEligibilityResult.js";
2
+ /**
3
+ * Returns the security translation eligibility of the requested Delegates.
4
+ */
5
+ export interface CheckTranslationEligibilityResponse {
6
+ clientTranslationEligibility: Array<ClientTranslationEligibilityResult>;
7
+ }
@@ -0,0 +1,10 @@
1
+ import type { GothamDatasourceDelegateId } from "./GothamDatasourceDelegateId.js";
2
+ import type { IntegrationClientType } from "./IntegrationClientType.js";
3
+ import type { TranslationEligibility } from "./TranslationEligibility.js";
4
+ /**
5
+ * Per client eligibility result.
6
+ */
7
+ export interface ClientTranslationEligibilityResult {
8
+ clientType: IntegrationClientType;
9
+ translationEligibility: Record<GothamDatasourceDelegateId, TranslationEligibility>;
10
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * An identifier to represent a Foundry object that GSS will use to delegate security to. This is only to
3
+ * map requested delegates to their corresponding translation eligibility response and is not persisted.
4
+ */
5
+ export type GothamDatasourceDelegateId = string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The types of clients that can be used to integrate data into Gotham
3
+ */
4
+ export type IntegrationClientType = "OSS_DIRECT";
@@ -1,10 +1,10 @@
1
- import type { GothamObjectTypeUri } from "./GothamObjectTypeUri.js";
2
- import type { GothamPropertyTypeUri } from "./GothamPropertyTypeUri.js";
1
+ import type { CaseSensitiveGothamObjectTypeUri } from "./CaseSensitiveGothamObjectTypeUri.js";
2
+ import type { CaseSensitiveGothamPropertyTypeUri } from "./CaseSensitiveGothamPropertyTypeUri.js";
3
3
  import type { GothamTypeInstallStatusWithVersion } from "./GothamTypeInstallStatusWithVersion.js";
4
4
  /**
5
5
  * The installation statuses along with the versions of the types queried, indexed by the type URI.
6
6
  */
7
7
  export interface LoadGothamTypeInstallationStatusesResponse {
8
- objectTypeStatuses: Record<GothamObjectTypeUri, GothamTypeInstallStatusWithVersion>;
9
- propertyTypeStatuses: Record<GothamPropertyTypeUri, GothamTypeInstallStatusWithVersion>;
8
+ objectTypeStatuses: Record<CaseSensitiveGothamObjectTypeUri, GothamTypeInstallStatusWithVersion>;
9
+ propertyTypeStatuses: Record<CaseSensitiveGothamPropertyTypeUri, GothamTypeInstallStatusWithVersion>;
10
10
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * The requested Delegate can be translated to a simple policy
3
+ */
4
+ export interface TranslatableDatasource {
5
+ }
@@ -0,0 +1,11 @@
1
+ import type { TranslatableDatasource } from "./TranslatableDatasource.js";
2
+ import type { UntranslatableSecurity } from "./UntranslatableSecurity.js";
3
+ export interface TranslationEligibility_translatableDatasource {
4
+ type: "translatableDatasource";
5
+ translatableDatasource: TranslatableDatasource;
6
+ }
7
+ export interface TranslationEligibility_untranslatableSecurity {
8
+ type: "untranslatableSecurity";
9
+ untranslatableSecurity: UntranslatableSecurity;
10
+ }
11
+ export type TranslationEligibility = TranslationEligibility_translatableDatasource | TranslationEligibility_untranslatableSecurity;
@@ -0,0 +1,7 @@
1
+ import type { UntranslatableSecurityFailureType } from "./UntranslatableSecurityFailureType.js";
2
+ /**
3
+ * The requested Delegate cannot be integrated into Gotham.
4
+ */
5
+ export interface UntranslatableSecurity {
6
+ causes: Array<UntranslatableSecurityFailureType>;
7
+ }
@@ -0,0 +1 @@
1
+ export type UntranslatableSecurityFailureType = "INVALID_MARKINGS_SUMMARY" | "FAILED_DATASOURCE_MARKING_LOAD" | "INACCESSIBLE_DELEGATE" | "UNSUPPORTED_GPS_POLICY" | "UNSUPPORTED_DATASOURCE_IDENTIFIER_TYPE" | "UNHANDLED_TRANSLATION_FAILURE";
@@ -1,3 +1,8 @@
1
+ export type { CaseSensitiveGothamObjectTypeUri } from "./CaseSensitiveGothamObjectTypeUri.js";
2
+ export type { CaseSensitiveGothamPropertyTypeUri } from "./CaseSensitiveGothamPropertyTypeUri.js";
3
+ export type { CheckTranslationEligibilityRequest } from "./CheckTranslationEligibilityRequest.js";
4
+ export type { CheckTranslationEligibilityResponse } from "./CheckTranslationEligibilityResponse.js";
5
+ export type { ClientTranslationEligibilityResult } from "./ClientTranslationEligibilityResult.js";
1
6
  export type { ExpectedGeoHashBaseType } from "./ExpectedGeoHashBaseType.js";
2
7
  export type { ExpectedStringBaseType } from "./ExpectedStringBaseType.js";
3
8
  export type { ExpectedTimestampBaseType } from "./ExpectedTimestampBaseType.js";
@@ -5,6 +10,7 @@ export type { ExternalMappingConfiguration } from "./ExternalMappingConfiguratio
5
10
  export type { ExternalMappingConfigurationFilter } from "./ExternalMappingConfigurationFilter.js";
6
11
  export type { GetGothamObjectTypesResponse } from "./GetGothamObjectTypesResponse.js";
7
12
  export type { GetGothamPropertyTypesResponse } from "./GetGothamPropertyTypesResponse.js";
13
+ export type { GothamDatasourceDelegateId } from "./GothamDatasourceDelegateId.js";
8
14
  export type { GothamIntrinsic } from "./GothamIntrinsic.js";
9
15
  export type { GothamIntrinsicEndDate } from "./GothamIntrinsicEndDate.js";
10
16
  export type { GothamIntrinsicExpectedBaseType } from "./GothamIntrinsicExpectedBaseType.js";
@@ -46,6 +52,7 @@ export type { GothamTypeInstallQueuedStatus } from "./GothamTypeInstallQueuedSta
46
52
  export type { GothamTypeInstallStagedStatus } from "./GothamTypeInstallStagedStatus.js";
47
53
  export type { GothamTypeInstallStatus } from "./GothamTypeInstallStatus.js";
48
54
  export type { GothamTypeInstallStatusWithVersion } from "./GothamTypeInstallStatusWithVersion.js";
55
+ export type { IntegrationClientType } from "./IntegrationClientType.js";
49
56
  export type { LoadGothamTypeInstallationStatusesRequest } from "./LoadGothamTypeInstallationStatusesRequest.js";
50
57
  export type { LoadGothamTypeInstallationStatusesResponse } from "./LoadGothamTypeInstallationStatusesResponse.js";
51
58
  export type { ObjectTypeGothamMapping } from "./ObjectTypeGothamMapping.js";
@@ -54,5 +61,9 @@ export type { ObjectTypeHasUnavailableRepresentativePropertyTypes } from "./Obje
54
61
  export type { PropertyTypeGothamMapping } from "./PropertyTypeGothamMapping.js";
55
62
  export type { SharedPropertyTypeGothamMapping } from "./SharedPropertyTypeGothamMapping.js";
56
63
  export type { SharedPropertyTypeGothamMappingModification } from "./SharedPropertyTypeGothamMappingModification.js";
64
+ export type { TranslatableDatasource } from "./TranslatableDatasource.js";
65
+ export type { TranslationEligibility } from "./TranslationEligibility.js";
57
66
  export type { UnavailableGothamObjectTypeCause } from "./UnavailableGothamObjectTypeCause.js";
58
67
  export type { UnavailableGothamPropertyTypeCause } from "./UnavailableGothamPropertyTypeCause.js";
68
+ export type { UntranslatableSecurity } from "./UntranslatableSecurity.js";
69
+ export type { UntranslatableSecurityFailureType } from "./UntranslatableSecurityFailureType.js";
@@ -1 +1,11 @@
1
- export type BranchStatus = "OPEN" | "MERGED" | "CLOSED";
1
+ /**
2
+ * Represents the status of a branch.
3
+ * Inactive branches were branches that were open but were not modified for a specific timeout period (default
4
+ * 14 days). Any indexed data on the branch is now deindexed. The branch can become open again via reactivating.
5
+ * Open branches are the default state of a branch.
6
+ * Merged branches are branches that had their modifications merged into the default branch of the ontology;
7
+ * these branches cannot ever be modified or merged again.
8
+ * Closed branches are branches that were manually closed. Closed branches are not reopenable and cannot
9
+ * ever be modified or merged.
10
+ */
11
+ export type BranchStatus = "INACTIVE" | "OPEN" | "MERGED" | "CLOSED";
@@ -0,0 +1,2 @@
1
+ export interface LoadOntologyBranchMarkingsRequest {
2
+ }
@@ -0,0 +1,4 @@
1
+ import type { MarkingId } from "../../api/MarkingId.js";
2
+ export interface LoadOntologyBranchMarkingsResponse {
3
+ markingIds: Array<MarkingId>;
4
+ }
@@ -0,0 +1,9 @@
1
+ import type { MediaReferencePropertyTypeHasNoDatasourcesError } from "./MediaReferencePropertyTypeHasNoDatasourcesError.js";
2
+ export interface MediaReferencePropertyTypeConstraintError_mediaReferencePropertyTypeHasNoDatasources {
3
+ type: "mediaReferencePropertyTypeHasNoDatasources";
4
+ mediaReferencePropertyTypeHasNoDatasources: MediaReferencePropertyTypeHasNoDatasourcesError;
5
+ }
6
+ /**
7
+ * A type representing validation errors associated with media reference property type validation.
8
+ */
9
+ export type MediaReferencePropertyTypeConstraintError = MediaReferencePropertyTypeConstraintError_mediaReferencePropertyTypeHasNoDatasources;
@@ -0,0 +1,9 @@
1
+ import type { ObjectTypeRid } from "../../api/ObjectTypeRid.js";
2
+ import type { PropertyTypeRid } from "../../api/PropertyTypeRid.js";
3
+ /**
4
+ * An error representing when a media reference property is not referenced by any media datasources.
5
+ */
6
+ export interface MediaReferencePropertyTypeHasNoDatasourcesError {
7
+ objectType: ObjectTypeRid;
8
+ propertyType: PropertyTypeRid;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { type ConjureContext } from "conjure-lite";
2
+ import type { OntologyBranchRid } from "../../../api/OntologyBranchRid.js";
3
+ import type { LoadOntologyBranchMarkingsRequest } from "../LoadOntologyBranchMarkingsRequest.js";
4
+ import type { LoadOntologyBranchMarkingsResponse } from "../LoadOntologyBranchMarkingsResponse.js";
5
+ /**
6
+ * Load the markings for an ontology branch. Markings for orgs the user does not belong to will be
7
+ * filtered out.
8
+ */
9
+ export declare function loadOntologyBranchMarkings(ctx: ConjureContext, ontologyBranchRid: OntologyBranchRid, request: LoadOntologyBranchMarkingsRequest): Promise<LoadOntologyBranchMarkingsResponse>;
@@ -2,7 +2,7 @@ import { type ConjureContext } from "conjure-lite";
2
2
  import type { SetOntologyBranchOrganizationMarkingsRequest } from "../SetOntologyBranchOrganizationMarkingsRequest.js";
3
3
  import type { SetOntologyBranchOrganizationMarkingsResponse } from "../SetOntologyBranchOrganizationMarkingsResponse.js";
4
4
  /**
5
- * Manually set the org markings for an ontology branch. This will throw if the stack does
6
- * not have the `organizationMarkingsRequiredOnOntologyProposals` set to true.
5
+ * Manually set the org markings for an ontology branch. This will throw if the stack does not
6
+ * have the `organizationMarkingsRequiredOnOntologyProposals` set to true.
7
7
  */
8
8
  export declare function setOntologyBranchOrganizationMarkings(ctx: ConjureContext, request: SetOntologyBranchOrganizationMarkingsRequest): Promise<SetOntologyBranchOrganizationMarkingsResponse>;
@@ -3,6 +3,7 @@ export { createOntologyServiceBranch } from "./OntologyBranchService/createOntol
3
3
  export { findConflicts } from "./OntologyBranchService/findConflicts.js";
4
4
  export { loadOntologyBranch } from "./OntologyBranchService/loadOntologyBranch.js";
5
5
  export { loadOntologyBranchByVersion } from "./OntologyBranchService/loadOntologyBranchByVersion.js";
6
+ export { loadOntologyBranchMarkings } from "./OntologyBranchService/loadOntologyBranchMarkings.js";
6
7
  export { mergeOntologyServiceBranch } from "./OntologyBranchService/mergeOntologyServiceBranch.js";
7
8
  export { setOntologyBranchOrganizationMarkings } from "./OntologyBranchService/setOntologyBranchOrganizationMarkings.js";
8
9
  export { validateOntologyBranch } from "./OntologyBranchService/validateOntologyBranch.js";
@@ -1,5 +1,6 @@
1
1
  import type { ForeignKeyConstraintError } from "./ForeignKeyConstraintError.js";
2
2
  import type { FoundrySchemaConstraintError } from "./FoundrySchemaConstraintError.js";
3
+ import type { MediaReferencePropertyTypeConstraintError } from "./MediaReferencePropertyTypeConstraintError.js";
3
4
  import type { NumberOfDatasourcesConstraintError } from "./NumberOfDatasourcesConstraintError.js";
4
5
  import type { SchemaMigrationError } from "./SchemaMigrationError.js";
5
6
  export interface ValidationError_foreignKeyConstraint {
@@ -18,4 +19,8 @@ export interface ValidationError_schemaMigration {
18
19
  type: "schemaMigration";
19
20
  schemaMigration: SchemaMigrationError;
20
21
  }
21
- export type ValidationError = ValidationError_foreignKeyConstraint | ValidationError_foundrySchemaConstraint | ValidationError_numberOfDatasourcesConstraint | ValidationError_schemaMigration;
22
+ export interface ValidationError_mediaReferencePropertyTypeConstraint {
23
+ type: "mediaReferencePropertyTypeConstraint";
24
+ mediaReferencePropertyTypeConstraint: MediaReferencePropertyTypeConstraintError;
25
+ }
26
+ export type ValidationError = ValidationError_foreignKeyConstraint | ValidationError_foundrySchemaConstraint | ValidationError_numberOfDatasourcesConstraint | ValidationError_schemaMigration | ValidationError_mediaReferencePropertyTypeConstraint;
@@ -25,8 +25,12 @@ export type { LinkTypeReferencesInvalidForeignKeyError } from "./LinkTypeReferen
25
25
  export type { LinkTypeReferencesInvalidPrimaryKeyError } from "./LinkTypeReferencesInvalidPrimaryKeyError.js";
26
26
  export type { LoadOntologyBranchByVersionRequest } from "./LoadOntologyBranchByVersionRequest.js";
27
27
  export type { LoadOntologyBranchByVersionResponse } from "./LoadOntologyBranchByVersionResponse.js";
28
+ export type { LoadOntologyBranchMarkingsRequest } from "./LoadOntologyBranchMarkingsRequest.js";
29
+ export type { LoadOntologyBranchMarkingsResponse } from "./LoadOntologyBranchMarkingsResponse.js";
28
30
  export type { LoadOntologyBranchRequest } from "./LoadOntologyBranchRequest.js";
29
31
  export type { LoadOntologyBranchResponse } from "./LoadOntologyBranchResponse.js";
32
+ export type { MediaReferencePropertyTypeConstraintError } from "./MediaReferencePropertyTypeConstraintError.js";
33
+ export type { MediaReferencePropertyTypeHasNoDatasourcesError } from "./MediaReferencePropertyTypeHasNoDatasourcesError.js";
30
34
  export type { MergeableStatus } from "./MergeableStatus.js";
31
35
  export type { MergeOntologyServiceBranchRequest } from "./MergeOntologyServiceBranchRequest.js";
32
36
  export type { MergeOntologyServiceBranchResponse } from "./MergeOntologyServiceBranchResponse.js";