diff --git a/.repository-projection.json b/.repository-projection.json index bd318c2..0246f8d 100644 --- a/.repository-projection.json +++ b/.repository-projection.json @@ -3,11 +3,11 @@ "projection": "api", "projectionSchemaVersion": 1, "sourceRepository": "dx-corp/mono", - "sourceSha": "d0d58ccb0f20b687dd375f134fb6232234a29ce3", + "sourceSha": "05ffa5bd55862a27569a1bb6083c242d13a599bc", "destinationRepository": "dx-corp/api", - "priorProjectedBase": "0954ddfc9f36f96d97d5505a306220d1f8d2f40e", + "priorProjectedBase": "dd768bf09229b6b6ffcbbe8f1f5620f2845ec3d4", "definitionDigest": "4c1601bee99ccc8305013324608e9c146999b21427179d25fd342f69aebd37bd", "toolDigest": "43a26c174df3e078b4b041bce280da81df7309f4", - "contentDigest": "df9864e28f86892251a2676f9bf33b12856faf8ada094151731a269a619aaa16", + "contentDigest": "bea163129b47328627024b8940b373962f8dd5d51294a87430b54cf5d70878a7", "publicationEligible": true } diff --git a/openapi/deixicpublic/v1/sdk.openapi.yaml b/openapi/deixicpublic/v1/sdk.openapi.yaml index 92af2e6..1507deb 100644 --- a/openapi/deixicpublic/v1/sdk.openapi.yaml +++ b/openapi/deixicpublic/v1/sdk.openapi.yaml @@ -1056,6 +1056,16 @@ paths: $ref: '#/components/schemas/deixicpublic.v1.ReconcileComplianceLibraryResponse' components: schemas: + deixicpublic.v1.BusinessSourceFieldProperty: + type: string + title: BusinessSourceFieldProperty + enum: + - BUSINESS_SOURCE_FIELD_PROPERTY_UNSPECIFIED + - BUSINESS_SOURCE_FIELD_PROPERTY_DISPLAY_NAME + - BUSINESS_SOURCE_FIELD_PROPERTY_EXTERNAL_ID + description: |- + Binds a record to a caller-named connection resource. The response is the + projected record; the binding itself stays with the implementation. deixicpublic.v1.ClientMcpMode: type: string title: ClientMcpMode @@ -1293,11 +1303,18 @@ components: recordId: type: string title: record_id + groupIds: + type: array + items: + type: string + title: group_ids + fields: + type: array + items: + $ref: '#/components/schemas/deixicpublic.v1.BusinessSourceFieldMapping' + title: fields title: BindBusinessObjectSourceRequest additionalProperties: false - description: |- - Binds a record to a caller-named connection resource. The response is the - projected record; the binding itself stays with the implementation. deixicpublic.v1.BindBusinessObjectSourceResponse: type: object properties: @@ -1608,8 +1625,41 @@ components: blueprintOrigin: title: blueprint_origin $ref: '#/components/schemas/deixicpublic.v1.BusinessBlueprintOrigin' + displayFieldId: + type: string + title: display_field_id + fields: + type: array + items: + $ref: '#/components/schemas/deixicpublic.v1.BusinessObjectTypeField' + title: fields title: BusinessObjectType additionalProperties: false + deixicpublic.v1.BusinessObjectTypeField: + type: object + properties: + fieldId: + type: string + title: field_id + groupId: + type: string + title: group_id + sourceMappable: + type: boolean + title: source_mappable + title: BusinessObjectTypeField + additionalProperties: false + deixicpublic.v1.BusinessSourceFieldMapping: + type: object + properties: + fieldId: + type: string + title: field_id + property: + title: property + $ref: '#/components/schemas/deixicpublic.v1.BusinessSourceFieldProperty' + title: BusinessSourceFieldMapping + additionalProperties: false deixicpublic.v1.BusinessTextList: type: object properties: @@ -2344,6 +2394,9 @@ components: afterKey: type: string title: after_key + peerObjectId: + type: string + title: peer_object_id title: ListBusinessObjectRelationshipsRequest additionalProperties: false deixicpublic.v1.ListBusinessObjectRelationshipsResponse: diff --git a/proto/deixicpublic/v1/sdk.proto b/proto/deixicpublic/v1/sdk.proto index 896ab97..88263ae 100644 --- a/proto/deixicpublic/v1/sdk.proto +++ b/proto/deixicpublic/v1/sdk.proto @@ -454,17 +454,25 @@ message ListBusinessObjectsResponse { repeated BusinessObject objects = 1; string next_object_id = 2; } + // Names the built-in blueprint member a tenant type was cloned from. message BusinessBlueprintOrigin { string blueprint_id = 1; int64 version = 2; string source_type_id = 3; } +message BusinessObjectTypeField { + string field_id = 1; + string group_id = 2; + bool source_mappable = 3; +} message BusinessObjectType { string type_id = 1; string name = 2; int64 revision = 3; BusinessBlueprintOrigin blueprint_origin = 4; + string display_field_id = 5; + repeated BusinessObjectTypeField fields = 6; } message ListBusinessObjectTypesRequest { string organization_id = 1; @@ -490,8 +498,18 @@ message ListBusinessBlueprintsRequest { message ListBusinessBlueprintsResponse { repeated BusinessBlueprint blueprints = 1; } + // Binds a record to a caller-named connection resource. The response is the // projected record; the binding itself stays with the implementation. +enum BusinessSourceFieldProperty { + BUSINESS_SOURCE_FIELD_PROPERTY_UNSPECIFIED = 0; + BUSINESS_SOURCE_FIELD_PROPERTY_DISPLAY_NAME = 1; + BUSINESS_SOURCE_FIELD_PROPERTY_EXTERNAL_ID = 2; +} +message BusinessSourceFieldMapping { + string field_id = 1; + BusinessSourceFieldProperty property = 2; +} message BindBusinessObjectSourceRequest { string organization_id = 1; string workspace_id = 2; @@ -501,6 +519,8 @@ message BindBusinessObjectSourceRequest { string connection_id = 6; string family_stable_id = 7; string record_id = 8; + repeated string group_ids = 9; + repeated BusinessSourceFieldMapping fields = 10; } message BindBusinessObjectSourceResponse { BusinessObject object = 1; @@ -517,6 +537,7 @@ message ListBusinessObjectRelationshipsRequest { string relationship_id = 4; int32 limit = 5; string after_key = 6; + string peer_object_id = 7; } message ListBusinessObjectRelationshipsResponse { repeated BusinessObjectRelationship relationships = 1; @@ -611,6 +632,7 @@ message ComplianceLibraryChange { ComplianceLibraryChangeKind kind = 1; string object_id = 2; } + // Preview returns the plan digest; apply must name that digest and is polled // with the same idempotency key until applied is true. message ReconcileComplianceLibraryRequest {