@elqora/artifacts 0.1.0

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wire.d.ts","sourceRoot":"","sources":["../../src/generated/wire.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,qBAAqB,GAAG;IAClC,WAAW,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,4CAA4C,CAAC;IAC5D,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,eAAe,EAAE,gDAAgD,CAAC;IAClE,IAAI,EAAE,iDAAiD,CAAC;IACxD,YAAY,EAAE,6CAA6C,CAAC;IAC5D,mBAAmB,CAAC,EAAE,oDAAoD,CAAC;IAC3E,SAAS,EAAE,2DAA2D,CAAC;IACvE,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,iDAAiD,CAAC;IAC/D,WAAW,EAAE,4CAA4C,CAAC;IAC1D,UAAU,CAAC,EAAE,mDAAmD,CAAC;IACjE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,GAAG,uBAAuB,GAAG,wBAAwB,GAAG,qBAAqB,GAAG,wBAAwB,GAAG,0BAA0B,CAAC;AAE/L,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,QAAQ,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACp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AAC;CACxB,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG;IAC9C,WAAW,EAAE,YAAY,CAAC;IAC1B,YAAY,CAAC,EAAE;QACf,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CAAC;IACA,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG;IAC9C,WAAW,EAAE,YAAY,CAAC;IAC1B,YAAY,EAAE,uBAAuB,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC","sourcesContent":["// Code generated from canonical JSON Schemas; DO NOT EDIT.\n\nexport type WireArtifactIntegrity = {\n \"algorithm\": \"sha256\" | \"sha384\" | \"sha512\";\n \"hash\": string;\n \"size\"?: number;\n \"verifiedAt\"?: WireArtifactProtocolCommonContractsTimestamp;\n [key: string]: unknown;\n};\n\nexport type WireArtifactLink = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"id\": WireArtifactProtocolCommonContractsArtifactLinkId;\n \"artifactId\": WireArtifactProtocolCommonContractsArtifactId;\n \"artifactVersionId\"?: WireArtifactProtocolCommonContractsArtifactVersionId;\n \"subject\": WireArtifactProtocolCommonContractsArtifactSubjectReference;\n \"role\": string;\n \"note\"?: string;\n \"createdBy\": WireArtifactProtocolCommonContractsActorReference;\n \"createdAt\": WireArtifactProtocolCommonContractsTimestamp;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\nexport type WireArtifactSource = WireInlineArtifactSource | WireLocalArtifactSource | WireObjectArtifactSource | WireUrlArtifactSource | WireHostedArtifactSource | WireProviderArtifactSource;\n\nexport type WireInlineArtifactSource = {\n \"type\": \"inline\";\n \"value\": unknown;\n \"mediaType\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireLocalArtifactSource = {\n \"type\": \"local\";\n \"localId\": string;\n \"filename\"?: string;\n \"mediaType\"?: string;\n \"size\"?: number;\n \"syncState\": \"local_only\" | \"pending_upload\" | \"uploading\" | \"uploaded\" | \"failed\";\n \"remoteVersionId\"?: WireArtifactProtocolCommonContractsArtifactVersionId;\n [key: string]: unknown;\n};\n\nexport type WireObjectArtifactSource = {\n \"type\": \"object\";\n \"objectId\": string;\n \"filename\"?: string;\n \"mediaType\"?: string;\n \"size\"?: number;\n \"storageProvider\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireUrlArtifactSource = {\n \"type\": \"url\";\n \"url\": string;\n \"provider\"?: string;\n \"mediaType\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireHostedArtifactSource = {\n \"type\": \"hosted\";\n \"recordType\": string;\n \"recordId\": string;\n [key: string]: unknown;\n};\n\nexport type WireProviderArtifactSource = {\n \"type\": \"provider\";\n \"provider\": string;\n \"reference\": unknown;\n [key: string]: unknown;\n};\n\nexport type WireArtifactVersion = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"id\": WireArtifactProtocolCommonContractsArtifactVersionId;\n \"artifactId\": WireArtifactProtocolCommonContractsArtifactId;\n \"version\": number;\n \"source\": WireArtifactSource;\n \"integrity\"?: WireArtifactIntegrity;\n \"createdBy\": WireArtifactProtocolCommonContractsActorReference;\n \"createdAt\": WireArtifactProtocolCommonContractsTimestamp;\n \"note\"?: string;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\nexport type WireArtifact = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"id\": WireArtifactProtocolCommonContractsArtifactId;\n \"scope\"?: WireArtifactProtocolCommonContractsArtifactScopeReference;\n \"kind\": string;\n \"valueType\": WireArtifactProtocolCommonContractsArtifactValueType;\n \"title\"?: string;\n \"description\"?: string;\n \"currentVersionId\"?: WireArtifactProtocolCommonContractsArtifactVersionId;\n \"createdBy\": WireArtifactProtocolCommonContractsActorReference;\n \"createdAt\": WireArtifactProtocolCommonContractsTimestamp;\n \"updatedAt\": WireArtifactProtocolCommonContractsTimestamp;\n \"archivedAt\"?: WireArtifactProtocolCommonContractsTimestamp;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\nexport type WireArtifactAccessPolicy = {\n \"read\"?: WireArtifactAccessPolicyRules;\n \"write\"?: WireArtifactAccessPolicyRules;\n \"submit\"?: WireArtifactAccessPolicyRules;\n \"verify\"?: WireArtifactAccessPolicyRules;\n [key: string]: unknown;\n};\n\nexport type WireArtifactAccessPolicyRules = Array<WireArtifactAccessPolicyRule>;\n\nexport type WireArtifactAccessPolicyRule = {\n \"actors\": Array<string>;\n \"condition\"?: WireArtifactCondition;\n [key: string]: unknown;\n};\n\n/** A language-neutral recursive condition AST. Resolution of host identifiers is host-defined. */\nexport type WireArtifactCondition = WireArtifactConditionCondition;\n\nexport type WireArtifactConditionCondition = WireArtifactConditionState | WireArtifactConditionActor | WireArtifactConditionArtifactExists | WireArtifactConditionArtifactValue | WireArtifactConditionAnd | WireArtifactConditionOr | WireArtifactConditionNot;\n\nexport type WireArtifactConditionState = {\n \"kind\": \"state\";\n \"namespace\": string;\n \"in\": Array<string>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactConditionActor = {\n \"kind\": \"actor\";\n \"in\": Array<string>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactConditionArtifactExists = {\n \"kind\": \"artifact_exists\";\n \"artifact\": string;\n [key: string]: unknown;\n};\n\nexport type WireArtifactConditionArtifactValue = {\n \"kind\": \"artifact_value\";\n \"artifact\": string;\n \"operator\": \"eq\" | \"neq\" | \"gt\" | \"gte\" | \"lt\" | \"lte\" | \"contains\" | \"in\";\n \"value\": unknown;\n [key: string]: unknown;\n};\n\nexport type WireArtifactConditionAnd = {\n \"kind\": \"and\";\n \"conditions\": Array<WireArtifactConditionCondition>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactConditionOr = {\n \"kind\": \"or\";\n \"conditions\": Array<WireArtifactConditionCondition>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactConditionNot = {\n \"kind\": \"not\";\n \"condition\": WireArtifactConditionCondition;\n [key: string]: unknown;\n};\n\nexport type WireArtifactLifecyclePolicy = {\n \"createAt\"?: string;\n \"editableDuring\"?: Array<string>;\n \"submitDuring\"?: Array<string>;\n \"lockAt\"?: string;\n \"invalidateOn\"?: Array<string>;\n \"condition\"?: WireArtifactCondition;\n [key: string]: unknown;\n};\n\nexport type WireArtifactPresentationPolicy = {\n \"label\"?: string;\n \"helpText\"?: string;\n \"order\"?: number;\n \"display\"?: string;\n \"config\"?: {\n [key: string]: unknown;\n};\n [key: string]: unknown;\n};\n\nexport type WireArtifactPrivacyPolicy = {\n \"classification\": \"public\" | \"internal\" | \"private\" | \"sensitive\" | \"restricted\";\n \"reveal\"?: Array<WireArtifactRevealRule>;\n \"masking\"?: WireArtifactMaskingPolicy;\n \"encryption\"?: WireArtifactEncryptionPolicy;\n [key: string]: unknown;\n};\n\nexport type WireArtifactRevealRule = {\n \"actors\": Array<string>;\n \"when\"?: WireArtifactCondition;\n \"representation\": \"hidden\" | \"masked\" | \"approximate\" | \"full\";\n [key: string]: unknown;\n};\n\nexport type WireArtifactMaskingPolicy = {\n \"strategy\": string;\n \"config\"?: {\n [key: string]: unknown;\n};\n [key: string]: unknown;\n};\n\nexport type WireArtifactEncryptionPolicy = {\n \"required\": boolean;\n \"level\"?: string;\n \"keyScope\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireArtifactProviderPolicy = {\n \"actors\": Array<string>;\n \"mode\"?: \"single\" | \"any\" | \"all\";\n \"delegation\"?: \"forbidden\" | \"allowed\";\n [key: string]: unknown;\n};\n\nexport type WireArtifactRequirementPolicy = {\n \"mode\": \"required\" | \"optional\" | \"conditional\";\n \"condition\"?: WireArtifactCondition;\n \"blocks\"?: Array<string>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactRetentionPolicy = WireArtifactRetentionPolicyForever | WireArtifactRetentionPolicyDuration | WireArtifactRetentionPolicyUntil | WireArtifactRetentionPolicyHostDefined;\n\nexport type WireArtifactRetentionPolicyForever = {\n \"policy\": \"forever\";\n [key: string]: unknown;\n};\n\nexport type WireArtifactRetentionPolicyDuration = {\n \"policy\": \"duration\";\n \"days\": number;\n [key: string]: unknown;\n};\n\nexport type WireArtifactRetentionPolicyUntil = {\n \"policy\": \"until\";\n \"date\": WireArtifactProtocolCommonContractsDate;\n [key: string]: unknown;\n};\n\nexport type WireArtifactRetentionPolicyHostDefined = {\n \"policy\": \"host_defined\";\n \"key\": string;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValidationPolicy = {\n \"mode\"?: \"strict\" | \"lenient\";\n \"rules\"?: Array<WireArtifactValidationRule>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValidationRule = {\n \"type\": string;\n \"config\"?: {\n [key: string]: unknown;\n};\n [key: string]: unknown;\n};\n\nexport type WireArtifactVerificationPolicy = {\n \"required\": boolean;\n \"methods\"?: Array<string>;\n \"actors\"?: Array<string>;\n \"condition\"?: WireArtifactCondition;\n [key: string]: unknown;\n};\n\n/** The major.minor version of the serialized Artifact Protocol record. */\nexport type WireArtifactProtocolCommonContractsSchemaVersion = \"1.0\";\n\n/** A non-empty, case-sensitive identifier whose generation and internal form are host-defined. */\nexport type WireArtifactProtocolCommonContractsOpaqueIdentifier = string;\n\nexport type WireArtifactProtocolCommonContractsArtifactId = WireArtifactProtocolCommonContractsOpaqueIdentifier;\n\nexport type WireArtifactProtocolCommonContractsArtifactVersionId = WireArtifactProtocolCommonContractsOpaqueIdentifier;\n\nexport type WireArtifactProtocolCommonContractsArtifactLinkId = WireArtifactProtocolCommonContractsOpaqueIdentifier;\n\nexport type WireArtifactProtocolCommonContractsArtifactSpecId = WireArtifactProtocolCommonContractsOpaqueIdentifier;\n\nexport type WireArtifactProtocolCommonContractsArtifactSubmissionId = WireArtifactProtocolCommonContractsOpaqueIdentifier;\n\nexport type WireArtifactProtocolCommonContractsArtifactVerificationId = WireArtifactProtocolCommonContractsOpaqueIdentifier;\n\nexport type WireArtifactProtocolCommonContractsArtifactRequirementId = WireArtifactProtocolCommonContractsOpaqueIdentifier;\n\n/** An RFC 3339 full-date string. */\nexport type WireArtifactProtocolCommonContractsDate = string;\n\n/** An RFC 3339 date-time string. */\nexport type WireArtifactProtocolCommonContractsTimestamp = string;\n\nexport type WireArtifactProtocolCommonContractsArtifactValueType = \"text\" | \"number\" | \"boolean\" | \"currency\" | \"date\" | \"datetime\" | \"time\" | \"location\" | \"file\" | \"image\" | \"video\" | \"audio\" | \"link\" | \"structured\" | \"reference\" | \"signature\" | \"collection\";\n\nexport type WireArtifactProtocolCommonContractsActorReference = {\n \"type\": string;\n \"id\"?: WireArtifactProtocolCommonContractsOpaqueIdentifier;\n \"displayName\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireArtifactProtocolCommonContractsArtifactScopeReference = {\n \"type\": string;\n \"id\": WireArtifactProtocolCommonContractsOpaqueIdentifier;\n [key: string]: unknown;\n};\n\nexport type WireArtifactProtocolCommonContractsArtifactSubjectReference = {\n \"type\": string;\n \"id\": WireArtifactProtocolCommonContractsOpaqueIdentifier;\n \"scope\"?: {\n [key: string]: string;\n};\n [key: string]: unknown;\n};\n\n/** Host extensions represented by arbitrary JSON values. */\nexport type WireArtifactProtocolCommonContractsArtifactMetadata = {\n [key: string]: unknown;\n};\n\nexport type WireArtifactSubmission = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"id\": WireArtifactProtocolCommonContractsArtifactSubmissionId;\n \"artifactId\": WireArtifactProtocolCommonContractsArtifactId;\n \"artifactVersionId\"?: WireArtifactProtocolCommonContractsArtifactVersionId;\n \"submittedBy\": WireArtifactProtocolCommonContractsActorReference;\n \"value\"?: unknown;\n \"submittedAt\": WireArtifactProtocolCommonContractsTimestamp;\n \"context\"?: WireArtifactSubmissionContext;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\nexport type WireArtifactSubmissionContext = {\n \"latitude\"?: number;\n \"longitude\"?: number;\n \"deviceId\"?: string;\n \"ipAddress\"?: unknown | unknown;\n \"userAgent\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireArtifactVerification = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"id\": WireArtifactProtocolCommonContractsArtifactVerificationId;\n \"artifactId\": WireArtifactProtocolCommonContractsArtifactId;\n \"artifactVersionId\"?: WireArtifactProtocolCommonContractsArtifactVersionId;\n \"submissionId\"?: WireArtifactProtocolCommonContractsArtifactSubmissionId;\n \"status\": \"pending\" | \"verified\" | \"rejected\" | \"waived\";\n \"method\"?: string;\n \"verifiedBy\"?: WireArtifactProtocolCommonContractsActorReference;\n \"reason\"?: string;\n \"createdAt\": WireArtifactProtocolCommonContractsTimestamp;\n \"verifiedAt\"?: WireArtifactProtocolCommonContractsTimestamp;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\nexport type WireArtifactRequirement = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"id\": WireArtifactProtocolCommonContractsArtifactRequirementId;\n \"key\"?: string;\n \"allowedKinds\"?: Array<string>;\n \"allowedValueTypes\"?: Array<WireArtifactProtocolCommonContractsArtifactValueType>;\n \"minimumCount\"?: number;\n \"maximumCount\"?: number;\n \"required\": boolean;\n \"specId\"?: WireArtifactProtocolCommonContractsArtifactSpecId;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\n/** An immutable copy of a specification revision captured by a host. */\nexport type WireArtifactSpecSnapshot = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"sourceSpecId\": WireArtifactProtocolCommonContractsArtifactSpecId;\n \"sourceVersion\": number;\n \"key\": string;\n \"name\": string;\n \"description\"?: string;\n \"kind\": string;\n \"valueType\": WireArtifactProtocolCommonContractsArtifactValueType;\n \"config\"?: {\n \"valueType\"?: WireArtifactProtocolCommonContractsArtifactValueType;\n [key: string]: unknown;\n};\n \"provider\"?: WireArtifactProviderPolicy;\n \"requirement\"?: WireArtifactRequirementPolicy;\n \"lifecycle\"?: WireArtifactLifecyclePolicy;\n \"access\"?: WireArtifactAccessPolicy;\n \"privacy\"?: WireArtifactPrivacyPolicy;\n \"validation\"?: WireArtifactValidationPolicy;\n \"verification\"?: WireArtifactVerificationPolicy;\n \"retention\"?: WireArtifactRetentionPolicy;\n \"presentation\"?: WireArtifactPresentationPolicy;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\nexport type WireArtifactSpec = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"id\": WireArtifactProtocolCommonContractsArtifactSpecId;\n \"key\": string;\n \"name\": string;\n \"description\"?: string;\n \"version\": number;\n \"kind\": string;\n \"valueType\": WireArtifactProtocolCommonContractsArtifactValueType;\n \"config\"?: {\n \"valueType\"?: WireArtifactProtocolCommonContractsArtifactValueType;\n [key: string]: unknown;\n};\n \"provider\"?: WireArtifactProviderPolicy;\n \"requirement\"?: WireArtifactRequirementPolicy;\n \"lifecycle\"?: WireArtifactLifecyclePolicy;\n \"access\"?: WireArtifactAccessPolicy;\n \"privacy\"?: WireArtifactPrivacyPolicy;\n \"validation\"?: WireArtifactValidationPolicy;\n \"verification\"?: WireArtifactVerificationPolicy;\n \"retention\"?: WireArtifactRetentionPolicy;\n \"presentation\"?: WireArtifactPresentationPolicy;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\n/** Standardized representation constraints. Artifact kind remains a separate host-defined semantic identifier. */\nexport type WireArtifactValueSchema = WireArtifactValueSchemaText | WireArtifactValueSchemaNumber | WireArtifactValueSchemaBoolean | WireArtifactValueSchemaCurrency | WireArtifactValueSchemaDate | WireArtifactValueSchemaDatetime | WireArtifactValueSchemaTime | WireArtifactValueSchemaLocation | WireArtifactValueSchemaFile | WireArtifactValueSchemaImage | WireArtifactValueSchemaVideo | WireArtifactValueSchemaAudio | WireArtifactValueSchemaLink | WireArtifactValueSchemaStructured | WireArtifactValueSchemaReference | WireArtifactValueSchemaSignature | WireArtifactValueSchemaCollection;\n\nexport type WireArtifactValueSchemaText = {\n \"valueType\": \"text\";\n \"minLength\"?: number;\n \"maxLength\"?: number;\n \"multiline\"?: boolean;\n \"pattern\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaNumber = {\n \"valueType\": \"number\";\n \"minimum\"?: number;\n \"maximum\"?: number;\n \"integer\"?: boolean;\n \"multipleOf\"?: number;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaBoolean = {\n \"valueType\": \"boolean\";\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaCurrency = {\n \"valueType\": \"currency\";\n \"currencies\"?: Array<string>;\n \"minimumMinorUnits\"?: number;\n \"maximumMinorUnits\"?: number;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaDate = {\n \"valueType\": \"date\";\n \"minimum\"?: WireArtifactProtocolCommonContractsDate;\n \"maximum\"?: WireArtifactProtocolCommonContractsDate;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaDatetime = {\n \"valueType\": \"datetime\";\n \"minimum\"?: WireArtifactProtocolCommonContractsTimestamp;\n \"maximum\"?: WireArtifactProtocolCommonContractsTimestamp;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaTime = {\n \"valueType\": \"time\";\n \"minimum\"?: string;\n \"maximum\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaLocation = {\n \"valueType\": \"location\";\n \"mode\": \"point\" | \"address\" | \"point_and_address\";\n \"requireCoordinates\"?: boolean;\n \"allowManualEntry\"?: boolean;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaFile = WireArtifactValueSchemaFileBase & {\n \"valueType\": \"file\";\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaImage = WireArtifactValueSchemaFileBase & {\n \"valueType\": \"image\";\n \"requireTimestamp\"?: boolean;\n \"requireLocation\"?: boolean;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaVideo = WireArtifactValueSchemaFileBase & {\n \"valueType\": \"video\";\n \"maxDurationSeconds\"?: number;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaAudio = WireArtifactValueSchemaFileBase & {\n \"valueType\": \"audio\";\n \"maxDurationSeconds\"?: number;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaFileBase = {\n \"minFiles\"?: number;\n \"maxFiles\"?: number;\n \"acceptedMimeTypes\"?: Array<string>;\n \"maxSizeBytes\"?: number;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaLink = {\n \"valueType\": \"link\";\n \"allowedSchemes\"?: Array<string>;\n \"allowedHosts\"?: Array<string>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaStructured = {\n \"valueType\": \"structured\";\n \"jsonSchema\"?: {\n [key: string]: unknown;\n};\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaReference = {\n \"valueType\": \"reference\";\n \"providers\"?: Array<string>;\n \"resourceTypes\"?: Array<string>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaSignature = {\n \"valueType\": \"signature\";\n \"methods\"?: Array<string>;\n \"requireTimestamp\"?: boolean;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaCollection = {\n \"valueType\": \"collection\";\n \"itemSchema\": WireArtifactValueSchema;\n \"minItems\"?: number;\n \"maxItems\"?: number;\n \"uniqueItems\"?: boolean;\n [key: string]: unknown;\n};\n"]}
@@ -0,0 +1,3 @@
1
+ // Code generated from canonical JSON Schemas; DO NOT EDIT.
2
+ export {};
3
+ //# sourceMappingURL=wire.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wire.js","sourceRoot":"","sources":["../../src/generated/wire.ts"],"names":[],"mappings":"AAAA,2DAA2D","sourcesContent":["// Code generated from canonical JSON Schemas; DO NOT EDIT.\n\nexport type WireArtifactIntegrity = {\n \"algorithm\": \"sha256\" | \"sha384\" | \"sha512\";\n \"hash\": string;\n \"size\"?: number;\n \"verifiedAt\"?: WireArtifactProtocolCommonContractsTimestamp;\n [key: string]: unknown;\n};\n\nexport type WireArtifactLink = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"id\": WireArtifactProtocolCommonContractsArtifactLinkId;\n \"artifactId\": WireArtifactProtocolCommonContractsArtifactId;\n \"artifactVersionId\"?: WireArtifactProtocolCommonContractsArtifactVersionId;\n \"subject\": WireArtifactProtocolCommonContractsArtifactSubjectReference;\n \"role\": string;\n \"note\"?: string;\n \"createdBy\": WireArtifactProtocolCommonContractsActorReference;\n \"createdAt\": WireArtifactProtocolCommonContractsTimestamp;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\nexport type WireArtifactSource = WireInlineArtifactSource | WireLocalArtifactSource | WireObjectArtifactSource | WireUrlArtifactSource | WireHostedArtifactSource | WireProviderArtifactSource;\n\nexport type WireInlineArtifactSource = {\n \"type\": \"inline\";\n \"value\": unknown;\n \"mediaType\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireLocalArtifactSource = {\n \"type\": \"local\";\n \"localId\": string;\n \"filename\"?: string;\n \"mediaType\"?: string;\n \"size\"?: number;\n \"syncState\": \"local_only\" | \"pending_upload\" | \"uploading\" | \"uploaded\" | \"failed\";\n \"remoteVersionId\"?: WireArtifactProtocolCommonContractsArtifactVersionId;\n [key: string]: unknown;\n};\n\nexport type WireObjectArtifactSource = {\n \"type\": \"object\";\n \"objectId\": string;\n \"filename\"?: string;\n \"mediaType\"?: string;\n \"size\"?: number;\n \"storageProvider\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireUrlArtifactSource = {\n \"type\": \"url\";\n \"url\": string;\n \"provider\"?: string;\n \"mediaType\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireHostedArtifactSource = {\n \"type\": \"hosted\";\n \"recordType\": string;\n \"recordId\": string;\n [key: string]: unknown;\n};\n\nexport type WireProviderArtifactSource = {\n \"type\": \"provider\";\n \"provider\": string;\n \"reference\": unknown;\n [key: string]: unknown;\n};\n\nexport type WireArtifactVersion = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"id\": WireArtifactProtocolCommonContractsArtifactVersionId;\n \"artifactId\": WireArtifactProtocolCommonContractsArtifactId;\n \"version\": number;\n \"source\": WireArtifactSource;\n \"integrity\"?: WireArtifactIntegrity;\n \"createdBy\": WireArtifactProtocolCommonContractsActorReference;\n \"createdAt\": WireArtifactProtocolCommonContractsTimestamp;\n \"note\"?: string;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\nexport type WireArtifact = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"id\": WireArtifactProtocolCommonContractsArtifactId;\n \"scope\"?: WireArtifactProtocolCommonContractsArtifactScopeReference;\n \"kind\": string;\n \"valueType\": WireArtifactProtocolCommonContractsArtifactValueType;\n \"title\"?: string;\n \"description\"?: string;\n \"currentVersionId\"?: WireArtifactProtocolCommonContractsArtifactVersionId;\n \"createdBy\": WireArtifactProtocolCommonContractsActorReference;\n \"createdAt\": WireArtifactProtocolCommonContractsTimestamp;\n \"updatedAt\": WireArtifactProtocolCommonContractsTimestamp;\n \"archivedAt\"?: WireArtifactProtocolCommonContractsTimestamp;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\nexport type WireArtifactAccessPolicy = {\n \"read\"?: WireArtifactAccessPolicyRules;\n \"write\"?: WireArtifactAccessPolicyRules;\n \"submit\"?: WireArtifactAccessPolicyRules;\n \"verify\"?: WireArtifactAccessPolicyRules;\n [key: string]: unknown;\n};\n\nexport type WireArtifactAccessPolicyRules = Array<WireArtifactAccessPolicyRule>;\n\nexport type WireArtifactAccessPolicyRule = {\n \"actors\": Array<string>;\n \"condition\"?: WireArtifactCondition;\n [key: string]: unknown;\n};\n\n/** A language-neutral recursive condition AST. Resolution of host identifiers is host-defined. */\nexport type WireArtifactCondition = WireArtifactConditionCondition;\n\nexport type WireArtifactConditionCondition = WireArtifactConditionState | WireArtifactConditionActor | WireArtifactConditionArtifactExists | WireArtifactConditionArtifactValue | WireArtifactConditionAnd | WireArtifactConditionOr | WireArtifactConditionNot;\n\nexport type WireArtifactConditionState = {\n \"kind\": \"state\";\n \"namespace\": string;\n \"in\": Array<string>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactConditionActor = {\n \"kind\": \"actor\";\n \"in\": Array<string>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactConditionArtifactExists = {\n \"kind\": \"artifact_exists\";\n \"artifact\": string;\n [key: string]: unknown;\n};\n\nexport type WireArtifactConditionArtifactValue = {\n \"kind\": \"artifact_value\";\n \"artifact\": string;\n \"operator\": \"eq\" | \"neq\" | \"gt\" | \"gte\" | \"lt\" | \"lte\" | \"contains\" | \"in\";\n \"value\": unknown;\n [key: string]: unknown;\n};\n\nexport type WireArtifactConditionAnd = {\n \"kind\": \"and\";\n \"conditions\": Array<WireArtifactConditionCondition>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactConditionOr = {\n \"kind\": \"or\";\n \"conditions\": Array<WireArtifactConditionCondition>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactConditionNot = {\n \"kind\": \"not\";\n \"condition\": WireArtifactConditionCondition;\n [key: string]: unknown;\n};\n\nexport type WireArtifactLifecyclePolicy = {\n \"createAt\"?: string;\n \"editableDuring\"?: Array<string>;\n \"submitDuring\"?: Array<string>;\n \"lockAt\"?: string;\n \"invalidateOn\"?: Array<string>;\n \"condition\"?: WireArtifactCondition;\n [key: string]: unknown;\n};\n\nexport type WireArtifactPresentationPolicy = {\n \"label\"?: string;\n \"helpText\"?: string;\n \"order\"?: number;\n \"display\"?: string;\n \"config\"?: {\n [key: string]: unknown;\n};\n [key: string]: unknown;\n};\n\nexport type WireArtifactPrivacyPolicy = {\n \"classification\": \"public\" | \"internal\" | \"private\" | \"sensitive\" | \"restricted\";\n \"reveal\"?: Array<WireArtifactRevealRule>;\n \"masking\"?: WireArtifactMaskingPolicy;\n \"encryption\"?: WireArtifactEncryptionPolicy;\n [key: string]: unknown;\n};\n\nexport type WireArtifactRevealRule = {\n \"actors\": Array<string>;\n \"when\"?: WireArtifactCondition;\n \"representation\": \"hidden\" | \"masked\" | \"approximate\" | \"full\";\n [key: string]: unknown;\n};\n\nexport type WireArtifactMaskingPolicy = {\n \"strategy\": string;\n \"config\"?: {\n [key: string]: unknown;\n};\n [key: string]: unknown;\n};\n\nexport type WireArtifactEncryptionPolicy = {\n \"required\": boolean;\n \"level\"?: string;\n \"keyScope\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireArtifactProviderPolicy = {\n \"actors\": Array<string>;\n \"mode\"?: \"single\" | \"any\" | \"all\";\n \"delegation\"?: \"forbidden\" | \"allowed\";\n [key: string]: unknown;\n};\n\nexport type WireArtifactRequirementPolicy = {\n \"mode\": \"required\" | \"optional\" | \"conditional\";\n \"condition\"?: WireArtifactCondition;\n \"blocks\"?: Array<string>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactRetentionPolicy = WireArtifactRetentionPolicyForever | WireArtifactRetentionPolicyDuration | WireArtifactRetentionPolicyUntil | WireArtifactRetentionPolicyHostDefined;\n\nexport type WireArtifactRetentionPolicyForever = {\n \"policy\": \"forever\";\n [key: string]: unknown;\n};\n\nexport type WireArtifactRetentionPolicyDuration = {\n \"policy\": \"duration\";\n \"days\": number;\n [key: string]: unknown;\n};\n\nexport type WireArtifactRetentionPolicyUntil = {\n \"policy\": \"until\";\n \"date\": WireArtifactProtocolCommonContractsDate;\n [key: string]: unknown;\n};\n\nexport type WireArtifactRetentionPolicyHostDefined = {\n \"policy\": \"host_defined\";\n \"key\": string;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValidationPolicy = {\n \"mode\"?: \"strict\" | \"lenient\";\n \"rules\"?: Array<WireArtifactValidationRule>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValidationRule = {\n \"type\": string;\n \"config\"?: {\n [key: string]: unknown;\n};\n [key: string]: unknown;\n};\n\nexport type WireArtifactVerificationPolicy = {\n \"required\": boolean;\n \"methods\"?: Array<string>;\n \"actors\"?: Array<string>;\n \"condition\"?: WireArtifactCondition;\n [key: string]: unknown;\n};\n\n/** The major.minor version of the serialized Artifact Protocol record. */\nexport type WireArtifactProtocolCommonContractsSchemaVersion = \"1.0\";\n\n/** A non-empty, case-sensitive identifier whose generation and internal form are host-defined. */\nexport type WireArtifactProtocolCommonContractsOpaqueIdentifier = string;\n\nexport type WireArtifactProtocolCommonContractsArtifactId = WireArtifactProtocolCommonContractsOpaqueIdentifier;\n\nexport type WireArtifactProtocolCommonContractsArtifactVersionId = WireArtifactProtocolCommonContractsOpaqueIdentifier;\n\nexport type WireArtifactProtocolCommonContractsArtifactLinkId = WireArtifactProtocolCommonContractsOpaqueIdentifier;\n\nexport type WireArtifactProtocolCommonContractsArtifactSpecId = WireArtifactProtocolCommonContractsOpaqueIdentifier;\n\nexport type WireArtifactProtocolCommonContractsArtifactSubmissionId = WireArtifactProtocolCommonContractsOpaqueIdentifier;\n\nexport type WireArtifactProtocolCommonContractsArtifactVerificationId = WireArtifactProtocolCommonContractsOpaqueIdentifier;\n\nexport type WireArtifactProtocolCommonContractsArtifactRequirementId = WireArtifactProtocolCommonContractsOpaqueIdentifier;\n\n/** An RFC 3339 full-date string. */\nexport type WireArtifactProtocolCommonContractsDate = string;\n\n/** An RFC 3339 date-time string. */\nexport type WireArtifactProtocolCommonContractsTimestamp = string;\n\nexport type WireArtifactProtocolCommonContractsArtifactValueType = \"text\" | \"number\" | \"boolean\" | \"currency\" | \"date\" | \"datetime\" | \"time\" | \"location\" | \"file\" | \"image\" | \"video\" | \"audio\" | \"link\" | \"structured\" | \"reference\" | \"signature\" | \"collection\";\n\nexport type WireArtifactProtocolCommonContractsActorReference = {\n \"type\": string;\n \"id\"?: WireArtifactProtocolCommonContractsOpaqueIdentifier;\n \"displayName\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireArtifactProtocolCommonContractsArtifactScopeReference = {\n \"type\": string;\n \"id\": WireArtifactProtocolCommonContractsOpaqueIdentifier;\n [key: string]: unknown;\n};\n\nexport type WireArtifactProtocolCommonContractsArtifactSubjectReference = {\n \"type\": string;\n \"id\": WireArtifactProtocolCommonContractsOpaqueIdentifier;\n \"scope\"?: {\n [key: string]: string;\n};\n [key: string]: unknown;\n};\n\n/** Host extensions represented by arbitrary JSON values. */\nexport type WireArtifactProtocolCommonContractsArtifactMetadata = {\n [key: string]: unknown;\n};\n\nexport type WireArtifactSubmission = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"id\": WireArtifactProtocolCommonContractsArtifactSubmissionId;\n \"artifactId\": WireArtifactProtocolCommonContractsArtifactId;\n \"artifactVersionId\"?: WireArtifactProtocolCommonContractsArtifactVersionId;\n \"submittedBy\": WireArtifactProtocolCommonContractsActorReference;\n \"value\"?: unknown;\n \"submittedAt\": WireArtifactProtocolCommonContractsTimestamp;\n \"context\"?: WireArtifactSubmissionContext;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\nexport type WireArtifactSubmissionContext = {\n \"latitude\"?: number;\n \"longitude\"?: number;\n \"deviceId\"?: string;\n \"ipAddress\"?: unknown | unknown;\n \"userAgent\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireArtifactVerification = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"id\": WireArtifactProtocolCommonContractsArtifactVerificationId;\n \"artifactId\": WireArtifactProtocolCommonContractsArtifactId;\n \"artifactVersionId\"?: WireArtifactProtocolCommonContractsArtifactVersionId;\n \"submissionId\"?: WireArtifactProtocolCommonContractsArtifactSubmissionId;\n \"status\": \"pending\" | \"verified\" | \"rejected\" | \"waived\";\n \"method\"?: string;\n \"verifiedBy\"?: WireArtifactProtocolCommonContractsActorReference;\n \"reason\"?: string;\n \"createdAt\": WireArtifactProtocolCommonContractsTimestamp;\n \"verifiedAt\"?: WireArtifactProtocolCommonContractsTimestamp;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\nexport type WireArtifactRequirement = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"id\": WireArtifactProtocolCommonContractsArtifactRequirementId;\n \"key\"?: string;\n \"allowedKinds\"?: Array<string>;\n \"allowedValueTypes\"?: Array<WireArtifactProtocolCommonContractsArtifactValueType>;\n \"minimumCount\"?: number;\n \"maximumCount\"?: number;\n \"required\": boolean;\n \"specId\"?: WireArtifactProtocolCommonContractsArtifactSpecId;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\n/** An immutable copy of a specification revision captured by a host. */\nexport type WireArtifactSpecSnapshot = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"sourceSpecId\": WireArtifactProtocolCommonContractsArtifactSpecId;\n \"sourceVersion\": number;\n \"key\": string;\n \"name\": string;\n \"description\"?: string;\n \"kind\": string;\n \"valueType\": WireArtifactProtocolCommonContractsArtifactValueType;\n \"config\"?: {\n \"valueType\"?: WireArtifactProtocolCommonContractsArtifactValueType;\n [key: string]: unknown;\n};\n \"provider\"?: WireArtifactProviderPolicy;\n \"requirement\"?: WireArtifactRequirementPolicy;\n \"lifecycle\"?: WireArtifactLifecyclePolicy;\n \"access\"?: WireArtifactAccessPolicy;\n \"privacy\"?: WireArtifactPrivacyPolicy;\n \"validation\"?: WireArtifactValidationPolicy;\n \"verification\"?: WireArtifactVerificationPolicy;\n \"retention\"?: WireArtifactRetentionPolicy;\n \"presentation\"?: WireArtifactPresentationPolicy;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\nexport type WireArtifactSpec = {\n \"schemaVersion\": WireArtifactProtocolCommonContractsSchemaVersion;\n \"id\": WireArtifactProtocolCommonContractsArtifactSpecId;\n \"key\": string;\n \"name\": string;\n \"description\"?: string;\n \"version\": number;\n \"kind\": string;\n \"valueType\": WireArtifactProtocolCommonContractsArtifactValueType;\n \"config\"?: {\n \"valueType\"?: WireArtifactProtocolCommonContractsArtifactValueType;\n [key: string]: unknown;\n};\n \"provider\"?: WireArtifactProviderPolicy;\n \"requirement\"?: WireArtifactRequirementPolicy;\n \"lifecycle\"?: WireArtifactLifecyclePolicy;\n \"access\"?: WireArtifactAccessPolicy;\n \"privacy\"?: WireArtifactPrivacyPolicy;\n \"validation\"?: WireArtifactValidationPolicy;\n \"verification\"?: WireArtifactVerificationPolicy;\n \"retention\"?: WireArtifactRetentionPolicy;\n \"presentation\"?: WireArtifactPresentationPolicy;\n \"metadata\"?: WireArtifactProtocolCommonContractsArtifactMetadata;\n [key: string]: unknown;\n};\n\n/** Standardized representation constraints. Artifact kind remains a separate host-defined semantic identifier. */\nexport type WireArtifactValueSchema = WireArtifactValueSchemaText | WireArtifactValueSchemaNumber | WireArtifactValueSchemaBoolean | WireArtifactValueSchemaCurrency | WireArtifactValueSchemaDate | WireArtifactValueSchemaDatetime | WireArtifactValueSchemaTime | WireArtifactValueSchemaLocation | WireArtifactValueSchemaFile | WireArtifactValueSchemaImage | WireArtifactValueSchemaVideo | WireArtifactValueSchemaAudio | WireArtifactValueSchemaLink | WireArtifactValueSchemaStructured | WireArtifactValueSchemaReference | WireArtifactValueSchemaSignature | WireArtifactValueSchemaCollection;\n\nexport type WireArtifactValueSchemaText = {\n \"valueType\": \"text\";\n \"minLength\"?: number;\n \"maxLength\"?: number;\n \"multiline\"?: boolean;\n \"pattern\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaNumber = {\n \"valueType\": \"number\";\n \"minimum\"?: number;\n \"maximum\"?: number;\n \"integer\"?: boolean;\n \"multipleOf\"?: number;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaBoolean = {\n \"valueType\": \"boolean\";\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaCurrency = {\n \"valueType\": \"currency\";\n \"currencies\"?: Array<string>;\n \"minimumMinorUnits\"?: number;\n \"maximumMinorUnits\"?: number;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaDate = {\n \"valueType\": \"date\";\n \"minimum\"?: WireArtifactProtocolCommonContractsDate;\n \"maximum\"?: WireArtifactProtocolCommonContractsDate;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaDatetime = {\n \"valueType\": \"datetime\";\n \"minimum\"?: WireArtifactProtocolCommonContractsTimestamp;\n \"maximum\"?: WireArtifactProtocolCommonContractsTimestamp;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaTime = {\n \"valueType\": \"time\";\n \"minimum\"?: string;\n \"maximum\"?: string;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaLocation = {\n \"valueType\": \"location\";\n \"mode\": \"point\" | \"address\" | \"point_and_address\";\n \"requireCoordinates\"?: boolean;\n \"allowManualEntry\"?: boolean;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaFile = WireArtifactValueSchemaFileBase & {\n \"valueType\": \"file\";\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaImage = WireArtifactValueSchemaFileBase & {\n \"valueType\": \"image\";\n \"requireTimestamp\"?: boolean;\n \"requireLocation\"?: boolean;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaVideo = WireArtifactValueSchemaFileBase & {\n \"valueType\": \"video\";\n \"maxDurationSeconds\"?: number;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaAudio = WireArtifactValueSchemaFileBase & {\n \"valueType\": \"audio\";\n \"maxDurationSeconds\"?: number;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaFileBase = {\n \"minFiles\"?: number;\n \"maxFiles\"?: number;\n \"acceptedMimeTypes\"?: Array<string>;\n \"maxSizeBytes\"?: number;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaLink = {\n \"valueType\": \"link\";\n \"allowedSchemes\"?: Array<string>;\n \"allowedHosts\"?: Array<string>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaStructured = {\n \"valueType\": \"structured\";\n \"jsonSchema\"?: {\n [key: string]: unknown;\n};\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaReference = {\n \"valueType\": \"reference\";\n \"providers\"?: Array<string>;\n \"resourceTypes\"?: Array<string>;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaSignature = {\n \"valueType\": \"signature\";\n \"methods\"?: Array<string>;\n \"requireTimestamp\"?: boolean;\n [key: string]: unknown;\n};\n\nexport type WireArtifactValueSchemaCollection = {\n \"valueType\": \"collection\";\n \"itemSchema\": WireArtifactValueSchema;\n \"minItems\"?: number;\n \"maxItems\"?: number;\n \"uniqueItems\"?: boolean;\n [key: string]: unknown;\n};\n"]}
@@ -0,0 +1,363 @@
1
+ export type * from "./generated/wire.js";
2
+ import type * as Generated from "./generated/wire.js";
3
+ import { ARTIFACT_CONDITION_KINDS, ARTIFACT_INTEGRITY_ALGORITHMS, ARTIFACT_PRIVACY_CLASSIFICATIONS, ARTIFACT_PRIVACY_REPRESENTATIONS, ARTIFACT_SOURCE_TYPES, ARTIFACT_VALUE_OPERATORS, ARTIFACT_VALUE_TYPES, ARTIFACT_VERIFICATION_STATUSES, LOCAL_ARTIFACT_SYNC_STATES } from "./generated/vocabulary.js";
4
+ export { ARTIFACT_CONDITION_KINDS, ARTIFACT_INTEGRITY_ALGORITHMS, ARTIFACT_PRIVACY_CLASSIFICATIONS, ARTIFACT_PRIVACY_REPRESENTATIONS, ARTIFACT_SOURCE_TYPES, ARTIFACT_VALUE_OPERATORS, ARTIFACT_VALUE_TYPES, ARTIFACT_VERIFICATION_STATUSES, LOCAL_ARTIFACT_SYNC_STATES, };
5
+ /** The schema version implemented by this binding. */
6
+ export declare const ARTIFACT_PROTOCOL_VERSION: "1.0";
7
+ export type ArtifactProtocolVersion = typeof ARTIFACT_PROTOCOL_VERSION;
8
+ /** Base fields carried by every top-level protocol record. */
9
+ export interface ArtifactProtocolRecord extends Pick<Generated.WireArtifact, "schemaVersion"> {
10
+ schemaVersion: ArtifactProtocolVersion;
11
+ }
12
+ /** Opaque, non-empty serialized identifiers. Their generation is host-defined. */
13
+ export type ArtifactId = string;
14
+ export type ArtifactVersionId = string;
15
+ export type ArtifactLinkId = string;
16
+ export type ArtifactSpecId = string;
17
+ export type ArtifactRequirementId = string;
18
+ export type ArtifactSubmissionId = string;
19
+ export type ArtifactVerificationId = string;
20
+ /** Host extension data. Values must be JSON-serializable when encoded. */
21
+ export type ArtifactMetadata = Record<string, unknown>;
22
+ export type ArtifactValueType = (typeof ARTIFACT_VALUE_TYPES)[number];
23
+ export type ArtifactKind = string;
24
+ export type ArtifactRole = string;
25
+ export interface ActorReference<TType extends string = string> {
26
+ type: TType;
27
+ id?: string;
28
+ displayName?: string;
29
+ }
30
+ export interface ArtifactScopeReference<TType extends string = string> {
31
+ type: TType;
32
+ id: string;
33
+ }
34
+ export interface ArtifactSubjectReference<TType extends string = string> {
35
+ type: TType;
36
+ id: string;
37
+ scope?: Record<string, string>;
38
+ }
39
+ export interface Artifact<TKind extends string = ArtifactKind, TValueType extends ArtifactValueType = ArtifactValueType> extends ArtifactProtocolRecord, Omit<Generated.WireArtifact, "scope" | "kind" | "valueType" | "createdBy" | "metadata"> {
40
+ id: ArtifactId;
41
+ scope?: ArtifactScopeReference;
42
+ kind: TKind;
43
+ valueType: TValueType;
44
+ title?: string;
45
+ description?: string;
46
+ currentVersionId?: ArtifactVersionId;
47
+ createdBy: ActorReference;
48
+ createdAt: string;
49
+ updatedAt: string;
50
+ archivedAt?: string;
51
+ metadata?: ArtifactMetadata;
52
+ }
53
+ export interface InlineArtifactSource<TValue = unknown> extends Omit<Generated.WireInlineArtifactSource, "value"> {
54
+ type: "inline";
55
+ value: TValue;
56
+ mediaType?: string;
57
+ }
58
+ export type LocalArtifactSyncState = (typeof LOCAL_ARTIFACT_SYNC_STATES)[number];
59
+ export interface LocalArtifactSource extends Generated.WireLocalArtifactSource {
60
+ type: "local";
61
+ localId: string;
62
+ filename?: string;
63
+ mediaType?: string;
64
+ size?: number;
65
+ syncState: LocalArtifactSyncState;
66
+ remoteVersionId?: ArtifactVersionId;
67
+ }
68
+ export interface ObjectArtifactSource extends Generated.WireObjectArtifactSource {
69
+ type: "object";
70
+ objectId: string;
71
+ filename?: string;
72
+ mediaType?: string;
73
+ size?: number;
74
+ storageProvider?: string;
75
+ }
76
+ export interface UrlArtifactSource extends Generated.WireUrlArtifactSource {
77
+ type: "url";
78
+ url: string;
79
+ provider?: string;
80
+ mediaType?: string;
81
+ }
82
+ export interface HostedArtifactSource extends Generated.WireHostedArtifactSource {
83
+ type: "hosted";
84
+ recordType: string;
85
+ recordId: string;
86
+ }
87
+ export interface ProviderArtifactSource<TProvider extends string = string, TReference = unknown> extends Omit<Generated.WireProviderArtifactSource, "provider" | "reference"> {
88
+ type: "provider";
89
+ provider: TProvider;
90
+ reference: TReference;
91
+ }
92
+ export type ArtifactSource = InlineArtifactSource | LocalArtifactSource | ObjectArtifactSource | UrlArtifactSource | HostedArtifactSource | ProviderArtifactSource;
93
+ export type ArtifactIntegrityAlgorithm = (typeof ARTIFACT_INTEGRITY_ALGORITHMS)[number];
94
+ export interface ArtifactIntegrity extends Generated.WireArtifactIntegrity {
95
+ algorithm: ArtifactIntegrityAlgorithm;
96
+ hash: string;
97
+ size?: number;
98
+ verifiedAt?: string;
99
+ }
100
+ export interface ArtifactVersion<TSource extends ArtifactSource = ArtifactSource> extends ArtifactProtocolRecord, Omit<Generated.WireArtifactVersion, "source" | "integrity" | "createdBy" | "metadata"> {
101
+ id: ArtifactVersionId;
102
+ artifactId: ArtifactId;
103
+ version: number;
104
+ source: TSource;
105
+ integrity?: ArtifactIntegrity;
106
+ createdBy: ActorReference;
107
+ createdAt: string;
108
+ note?: string;
109
+ metadata?: ArtifactMetadata;
110
+ }
111
+ export interface ArtifactLink<TRole extends string = ArtifactRole, TSubjectType extends string = string> extends ArtifactProtocolRecord, Omit<Generated.WireArtifactLink, "subject" | "role" | "createdBy" | "metadata"> {
112
+ id: ArtifactLinkId;
113
+ artifactId: ArtifactId;
114
+ /** Omit to follow the logical artifact; provide to pin immutable content. */
115
+ artifactVersionId?: ArtifactVersionId;
116
+ subject: ArtifactSubjectReference<TSubjectType>;
117
+ role: TRole;
118
+ note?: string;
119
+ createdBy: ActorReference;
120
+ createdAt: string;
121
+ metadata?: ArtifactMetadata;
122
+ }
123
+ export type ArtifactValueOperator = (typeof ARTIFACT_VALUE_OPERATORS)[number];
124
+ export interface ArtifactStateCondition extends Generated.WireArtifactConditionState {
125
+ kind: "state";
126
+ namespace: string;
127
+ in: string[];
128
+ }
129
+ export interface ArtifactActorCondition extends Generated.WireArtifactConditionActor {
130
+ kind: "actor";
131
+ in: string[];
132
+ }
133
+ export interface ArtifactExistsCondition extends Generated.WireArtifactConditionArtifactExists {
134
+ kind: "artifact_exists";
135
+ artifact: string;
136
+ }
137
+ export interface ArtifactValueCondition<TValue = unknown> extends Omit<Generated.WireArtifactConditionArtifactValue, "value"> {
138
+ kind: "artifact_value";
139
+ artifact: string;
140
+ operator: ArtifactValueOperator;
141
+ value: TValue;
142
+ }
143
+ export interface ArtifactAndCondition extends Omit<Generated.WireArtifactConditionAnd, "conditions"> {
144
+ kind: "and";
145
+ conditions: ArtifactCondition[];
146
+ }
147
+ export interface ArtifactOrCondition extends Omit<Generated.WireArtifactConditionOr, "conditions"> {
148
+ kind: "or";
149
+ conditions: ArtifactCondition[];
150
+ }
151
+ export interface ArtifactNotCondition extends Omit<Generated.WireArtifactConditionNot, "condition"> {
152
+ kind: "not";
153
+ condition: ArtifactCondition;
154
+ }
155
+ export type ArtifactCondition = ArtifactStateCondition | ArtifactActorCondition | ArtifactExistsCondition | ArtifactValueCondition | ArtifactAndCondition | ArtifactOrCondition | ArtifactNotCondition;
156
+ export interface ArtifactProviderPolicy extends Generated.WireArtifactProviderPolicy {
157
+ actors: string[];
158
+ mode?: "single" | "any" | "all";
159
+ delegation?: "forbidden" | "allowed";
160
+ }
161
+ export interface ArtifactRequirementPolicy extends Omit<Generated.WireArtifactRequirementPolicy, "condition"> {
162
+ mode: "required" | "optional" | "conditional";
163
+ condition?: ArtifactCondition;
164
+ blocks?: string[];
165
+ }
166
+ export interface ArtifactLifecyclePolicy extends Omit<Generated.WireArtifactLifecyclePolicy, "condition"> {
167
+ createAt?: string;
168
+ editableDuring?: string[];
169
+ submitDuring?: string[];
170
+ lockAt?: string;
171
+ invalidateOn?: string[];
172
+ condition?: ArtifactCondition;
173
+ }
174
+ export interface ArtifactAccessRule extends Omit<Generated.WireArtifactAccessPolicyRule, "condition"> {
175
+ actors: string[];
176
+ condition?: ArtifactCondition;
177
+ }
178
+ export interface ArtifactAccessPolicy extends Omit<Generated.WireArtifactAccessPolicy, "read" | "write" | "submit" | "verify"> {
179
+ read?: ArtifactAccessRule[];
180
+ write?: ArtifactAccessRule[];
181
+ submit?: ArtifactAccessRule[];
182
+ verify?: ArtifactAccessRule[];
183
+ }
184
+ export type ArtifactPrivacyClassification = (typeof ARTIFACT_PRIVACY_CLASSIFICATIONS)[number];
185
+ export type ArtifactPrivacyRepresentation = (typeof ARTIFACT_PRIVACY_REPRESENTATIONS)[number];
186
+ export interface ArtifactRevealRule extends Omit<Generated.WireArtifactRevealRule, "when"> {
187
+ actors: string[];
188
+ when?: ArtifactCondition;
189
+ representation: ArtifactPrivacyRepresentation;
190
+ }
191
+ export interface ArtifactMaskingPolicy extends Generated.WireArtifactMaskingPolicy {
192
+ strategy: string;
193
+ config?: Record<string, unknown>;
194
+ }
195
+ export interface ArtifactEncryptionPolicy extends Generated.WireArtifactEncryptionPolicy {
196
+ required: boolean;
197
+ level?: string;
198
+ keyScope?: string;
199
+ }
200
+ export interface ArtifactPrivacyPolicy extends Omit<Generated.WireArtifactPrivacyPolicy, "reveal" | "masking" | "encryption"> {
201
+ classification: ArtifactPrivacyClassification;
202
+ reveal?: ArtifactRevealRule[];
203
+ masking?: ArtifactMaskingPolicy;
204
+ encryption?: ArtifactEncryptionPolicy;
205
+ }
206
+ export interface ArtifactValidationRule extends Generated.WireArtifactValidationRule {
207
+ type: string;
208
+ config?: Record<string, unknown>;
209
+ }
210
+ export interface ArtifactValidationPolicy extends Omit<Generated.WireArtifactValidationPolicy, "rules"> {
211
+ mode?: "strict" | "lenient";
212
+ rules?: ArtifactValidationRule[];
213
+ }
214
+ export interface ArtifactVerificationPolicy extends Omit<Generated.WireArtifactVerificationPolicy, "condition"> {
215
+ required: boolean;
216
+ methods?: string[];
217
+ actors?: string[];
218
+ condition?: ArtifactCondition;
219
+ }
220
+ export type ArtifactRetentionPolicy = {
221
+ policy: "forever";
222
+ } | {
223
+ policy: "duration";
224
+ days: number;
225
+ } | {
226
+ policy: "until";
227
+ date: string;
228
+ } | {
229
+ policy: "host_defined";
230
+ key: string;
231
+ };
232
+ export interface ArtifactPresentationPolicy extends Generated.WireArtifactPresentationPolicy {
233
+ label?: string;
234
+ helpText?: string;
235
+ order?: number;
236
+ display?: string;
237
+ config?: Record<string, unknown>;
238
+ }
239
+ export interface TextArtifactValueSchema extends Generated.WireArtifactValueSchemaText {
240
+ valueType: "text";
241
+ }
242
+ export interface NumberArtifactValueSchema extends Generated.WireArtifactValueSchemaNumber {
243
+ valueType: "number";
244
+ }
245
+ export interface BooleanArtifactValueSchema extends Generated.WireArtifactValueSchemaBoolean {
246
+ valueType: "boolean";
247
+ }
248
+ export interface CurrencyArtifactValueSchema extends Generated.WireArtifactValueSchemaCurrency {
249
+ valueType: "currency";
250
+ }
251
+ export interface DateArtifactValueSchema extends Generated.WireArtifactValueSchemaDate {
252
+ valueType: "date";
253
+ }
254
+ export interface DatetimeArtifactValueSchema extends Generated.WireArtifactValueSchemaDatetime {
255
+ valueType: "datetime";
256
+ }
257
+ export interface TimeArtifactValueSchema extends Generated.WireArtifactValueSchemaTime {
258
+ valueType: "time";
259
+ }
260
+ export interface LocationArtifactValueSchema extends Generated.WireArtifactValueSchemaLocation {
261
+ valueType: "location";
262
+ }
263
+ export interface FileArtifactValueSchema extends Generated.WireArtifactValueSchemaFile {
264
+ valueType: "file";
265
+ }
266
+ export interface ImageArtifactValueSchema extends Generated.WireArtifactValueSchemaImage {
267
+ valueType: "image";
268
+ }
269
+ export interface VideoArtifactValueSchema extends Generated.WireArtifactValueSchemaVideo {
270
+ valueType: "video";
271
+ }
272
+ export interface AudioArtifactValueSchema extends Generated.WireArtifactValueSchemaAudio {
273
+ valueType: "audio";
274
+ }
275
+ export interface LinkArtifactValueSchema extends Generated.WireArtifactValueSchemaLink {
276
+ valueType: "link";
277
+ }
278
+ export interface StructuredArtifactValueSchema extends Generated.WireArtifactValueSchemaStructured {
279
+ valueType: "structured";
280
+ }
281
+ export interface ReferenceArtifactValueSchema extends Generated.WireArtifactValueSchemaReference {
282
+ valueType: "reference";
283
+ }
284
+ export interface SignatureArtifactValueSchema extends Generated.WireArtifactValueSchemaSignature {
285
+ valueType: "signature";
286
+ }
287
+ export interface CollectionArtifactValueSchema extends Omit<Generated.WireArtifactValueSchemaCollection, "itemSchema"> {
288
+ valueType: "collection";
289
+ itemSchema: ArtifactValueSchema;
290
+ }
291
+ export type ArtifactValueSchema = TextArtifactValueSchema | NumberArtifactValueSchema | BooleanArtifactValueSchema | CurrencyArtifactValueSchema | DateArtifactValueSchema | DatetimeArtifactValueSchema | TimeArtifactValueSchema | LocationArtifactValueSchema | FileArtifactValueSchema | ImageArtifactValueSchema | VideoArtifactValueSchema | AudioArtifactValueSchema | LinkArtifactValueSchema | StructuredArtifactValueSchema | ReferenceArtifactValueSchema | SignatureArtifactValueSchema | CollectionArtifactValueSchema;
292
+ export type ArtifactValueConfig<TValueType extends ArtifactValueType> = Omit<Extract<ArtifactValueSchema, {
293
+ valueType: TValueType;
294
+ }>, "valueType"> & {
295
+ valueType?: TValueType;
296
+ };
297
+ export interface ArtifactSpec<TKind extends string = ArtifactKind, TValueType extends ArtifactValueType = ArtifactValueType, TConfig extends object = ArtifactValueConfig<TValueType>> extends ArtifactProtocolRecord, Omit<Generated.WireArtifactSpec, "kind" | "valueType" | "config" | "provider" | "requirement" | "lifecycle" | "access" | "privacy" | "validation" | "verification" | "retention" | "presentation" | "metadata"> {
298
+ id: ArtifactSpecId;
299
+ key: string;
300
+ name: string;
301
+ description?: string;
302
+ version: number;
303
+ kind: TKind;
304
+ valueType: TValueType;
305
+ config?: TConfig;
306
+ provider?: ArtifactProviderPolicy;
307
+ requirement?: ArtifactRequirementPolicy;
308
+ lifecycle?: ArtifactLifecyclePolicy;
309
+ access?: ArtifactAccessPolicy;
310
+ privacy?: ArtifactPrivacyPolicy;
311
+ validation?: ArtifactValidationPolicy;
312
+ verification?: ArtifactVerificationPolicy;
313
+ retention?: ArtifactRetentionPolicy;
314
+ presentation?: ArtifactPresentationPolicy;
315
+ metadata?: ArtifactMetadata;
316
+ }
317
+ export type ArtifactSpecSnapshot<TKind extends string = ArtifactKind, TValueType extends ArtifactValueType = ArtifactValueType, TConfig extends object = ArtifactValueConfig<TValueType>> = Omit<ArtifactSpec<TKind, TValueType, TConfig>, "id" | "version"> & {
318
+ sourceSpecId: ArtifactSpecId;
319
+ sourceVersion: number;
320
+ };
321
+ export interface ArtifactRequirement extends ArtifactProtocolRecord, Omit<Generated.WireArtifactRequirement, "metadata"> {
322
+ id: ArtifactRequirementId;
323
+ key?: string;
324
+ allowedKinds?: string[];
325
+ allowedValueTypes?: ArtifactValueType[];
326
+ minimumCount?: number;
327
+ maximumCount?: number;
328
+ required: boolean;
329
+ specId?: ArtifactSpecId;
330
+ metadata?: ArtifactMetadata;
331
+ }
332
+ export interface ArtifactSubmissionContext extends Generated.WireArtifactSubmissionContext {
333
+ latitude?: number;
334
+ longitude?: number;
335
+ deviceId?: string;
336
+ ipAddress?: string;
337
+ userAgent?: string;
338
+ }
339
+ export interface ArtifactSubmission<TValue = unknown> extends ArtifactProtocolRecord, Omit<Generated.WireArtifactSubmission, "submittedBy" | "value" | "context" | "metadata"> {
340
+ id: ArtifactSubmissionId;
341
+ artifactId: ArtifactId;
342
+ artifactVersionId?: ArtifactVersionId;
343
+ submittedBy: ActorReference;
344
+ value?: TValue;
345
+ submittedAt: string;
346
+ context?: ArtifactSubmissionContext;
347
+ metadata?: ArtifactMetadata;
348
+ }
349
+ export type ArtifactVerificationStatus = (typeof ARTIFACT_VERIFICATION_STATUSES)[number];
350
+ export interface ArtifactVerification extends ArtifactProtocolRecord, Omit<Generated.WireArtifactVerification, "verifiedBy" | "metadata"> {
351
+ id: ArtifactVerificationId;
352
+ artifactId: ArtifactId;
353
+ artifactVersionId?: ArtifactVersionId;
354
+ submissionId?: ArtifactSubmissionId;
355
+ status: ArtifactVerificationStatus;
356
+ method?: string;
357
+ verifiedBy?: ActorReference;
358
+ reason?: string;
359
+ createdAt: string;
360
+ verifiedAt?: string;
361
+ metadata?: ArtifactMetadata;
362
+ }
363
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,qBAAqB,CAAC;AACzC,OAAO,KAAK,KAAK,SAAS,MAAM,qBAAqB,CAAC;AACtD,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,gCAAgC,EAChC,gCAAgC,EAChC,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,8BAA8B,EAC9B,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,gCAAgC,EAChC,gCAAgC,EAChC,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,8BAA8B,EAC9B,0BAA0B,GAC3B,CAAC;AAEF,sDAAsD;AACtD,eAAO,MAAM,yBAAyB,EAAG,KAAc,CAAC;AAExD,MAAM,MAAM,uBAAuB,GAAG,OAAO,yBAAyB,CAAC;AAEvE,8DAA8D;AAC9D,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,SAAS,CAAC,YAAY,EAAE,eAAe,CAAC;IAC3F,aAAa,EAAE,uBAAuB,CAAC;CACxC;AAED,kFAAkF;AAClF,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC;AACvC,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AACpC,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AACpC,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC;AAC3C,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC;AAC1C,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC;AAE5C,0EAA0E;AAC1E,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEvD,MAAM,MAAM,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D,MAAM,WAAW,oBAAqB,SAAQ,sBAAsB,EAAE,IAAI,CAAC,SAAS,CAAC,wBAAwB,EAAE,YAAY,GAAG,UAAU,CAAC;IACvI,EAAE,EAAE,sBAAsB,CAAC;IAC3B,UAAU,EAAE,UAAU,CAAC;IACvB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC,MAAM,EAAE,0BAA0B,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,gBAAgB,CAAC;CAC7B","sourcesContent":["export type * from \"./generated/wire.js\";\nimport type * as Generated from \"./generated/wire.js\";\nimport {\n ARTIFACT_CONDITION_KINDS,\n ARTIFACT_INTEGRITY_ALGORITHMS,\n ARTIFACT_PRIVACY_CLASSIFICATIONS,\n ARTIFACT_PRIVACY_REPRESENTATIONS,\n ARTIFACT_SOURCE_TYPES,\n ARTIFACT_VALUE_OPERATORS,\n ARTIFACT_VALUE_TYPES,\n ARTIFACT_VERIFICATION_STATUSES,\n LOCAL_ARTIFACT_SYNC_STATES,\n} from \"./generated/vocabulary.js\";\nexport {\n ARTIFACT_CONDITION_KINDS,\n ARTIFACT_INTEGRITY_ALGORITHMS,\n ARTIFACT_PRIVACY_CLASSIFICATIONS,\n ARTIFACT_PRIVACY_REPRESENTATIONS,\n ARTIFACT_SOURCE_TYPES,\n ARTIFACT_VALUE_OPERATORS,\n ARTIFACT_VALUE_TYPES,\n ARTIFACT_VERIFICATION_STATUSES,\n LOCAL_ARTIFACT_SYNC_STATES,\n};\n\n/** The schema version implemented by this binding. */\nexport const ARTIFACT_PROTOCOL_VERSION = \"1.0\" as const;\n\nexport type ArtifactProtocolVersion = typeof ARTIFACT_PROTOCOL_VERSION;\n\n/** Base fields carried by every top-level protocol record. */\nexport interface ArtifactProtocolRecord extends Pick<Generated.WireArtifact, \"schemaVersion\"> {\n schemaVersion: ArtifactProtocolVersion;\n}\n\n/** Opaque, non-empty serialized identifiers. Their generation is host-defined. */\nexport type ArtifactId = string;\nexport type ArtifactVersionId = string;\nexport type ArtifactLinkId = string;\nexport type ArtifactSpecId = string;\nexport type ArtifactRequirementId = string;\nexport type ArtifactSubmissionId = string;\nexport type ArtifactVerificationId = string;\n\n/** Host extension data. Values must be JSON-serializable when encoded. */\nexport type ArtifactMetadata = Record<string, unknown>;\n\nexport type ArtifactValueType = (typeof ARTIFACT_VALUE_TYPES)[number];\n\nexport type ArtifactKind = string;\nexport type ArtifactRole = string;\n\nexport interface ActorReference<TType extends string = string> {\n type: TType;\n id?: string;\n displayName?: string;\n}\n\nexport interface ArtifactScopeReference<TType extends string = string> {\n type: TType;\n id: string;\n}\n\nexport interface ArtifactSubjectReference<TType extends string = string> {\n type: TType;\n id: string;\n scope?: Record<string, string>;\n}\n\nexport interface Artifact<\n TKind extends string = ArtifactKind,\n TValueType extends ArtifactValueType = ArtifactValueType,\n> extends ArtifactProtocolRecord, Omit<Generated.WireArtifact, \"scope\" | \"kind\" | \"valueType\" | \"createdBy\" | \"metadata\"> {\n id: ArtifactId;\n scope?: ArtifactScopeReference;\n kind: TKind;\n valueType: TValueType;\n title?: string;\n description?: string;\n currentVersionId?: ArtifactVersionId;\n createdBy: ActorReference;\n createdAt: string;\n updatedAt: string;\n archivedAt?: string;\n metadata?: ArtifactMetadata;\n}\n\nexport interface InlineArtifactSource<TValue = unknown> extends Omit<Generated.WireInlineArtifactSource, \"value\"> {\n type: \"inline\";\n value: TValue;\n mediaType?: string;\n}\n\nexport type LocalArtifactSyncState =\n (typeof LOCAL_ARTIFACT_SYNC_STATES)[number];\n\nexport interface LocalArtifactSource extends Generated.WireLocalArtifactSource {\n type: \"local\";\n localId: string;\n filename?: string;\n mediaType?: string;\n size?: number;\n syncState: LocalArtifactSyncState;\n remoteVersionId?: ArtifactVersionId;\n}\n\nexport interface ObjectArtifactSource extends Generated.WireObjectArtifactSource {\n type: \"object\";\n objectId: string;\n filename?: string;\n mediaType?: string;\n size?: number;\n storageProvider?: string;\n}\n\nexport interface UrlArtifactSource extends Generated.WireUrlArtifactSource {\n type: \"url\";\n url: string;\n provider?: string;\n mediaType?: string;\n}\n\nexport interface HostedArtifactSource extends Generated.WireHostedArtifactSource {\n type: \"hosted\";\n recordType: string;\n recordId: string;\n}\n\nexport interface ProviderArtifactSource<\n TProvider extends string = string,\n TReference = unknown,\n> extends Omit<Generated.WireProviderArtifactSource, \"provider\" | \"reference\"> {\n type: \"provider\";\n provider: TProvider;\n reference: TReference;\n}\n\nexport type ArtifactSource =\n | InlineArtifactSource\n | LocalArtifactSource\n | ObjectArtifactSource\n | UrlArtifactSource\n | HostedArtifactSource\n | ProviderArtifactSource;\n\nexport type ArtifactIntegrityAlgorithm =\n (typeof ARTIFACT_INTEGRITY_ALGORITHMS)[number];\n\nexport interface ArtifactIntegrity extends Generated.WireArtifactIntegrity {\n algorithm: ArtifactIntegrityAlgorithm;\n hash: string;\n size?: number;\n verifiedAt?: string;\n}\n\nexport interface ArtifactVersion<\n TSource extends ArtifactSource = ArtifactSource,\n> extends ArtifactProtocolRecord, Omit<Generated.WireArtifactVersion, \"source\" | \"integrity\" | \"createdBy\" | \"metadata\"> {\n id: ArtifactVersionId;\n artifactId: ArtifactId;\n version: number;\n source: TSource;\n integrity?: ArtifactIntegrity;\n createdBy: ActorReference;\n createdAt: string;\n note?: string;\n metadata?: ArtifactMetadata;\n}\n\nexport interface ArtifactLink<\n TRole extends string = ArtifactRole,\n TSubjectType extends string = string,\n> extends ArtifactProtocolRecord, Omit<Generated.WireArtifactLink, \"subject\" | \"role\" | \"createdBy\" | \"metadata\"> {\n id: ArtifactLinkId;\n artifactId: ArtifactId;\n /** Omit to follow the logical artifact; provide to pin immutable content. */\n artifactVersionId?: ArtifactVersionId;\n subject: ArtifactSubjectReference<TSubjectType>;\n role: TRole;\n note?: string;\n createdBy: ActorReference;\n createdAt: string;\n metadata?: ArtifactMetadata;\n}\n\nexport type ArtifactValueOperator = (typeof ARTIFACT_VALUE_OPERATORS)[number];\n\nexport interface ArtifactStateCondition extends Generated.WireArtifactConditionState {\n kind: \"state\";\n namespace: string;\n in: string[];\n}\n\nexport interface ArtifactActorCondition extends Generated.WireArtifactConditionActor {\n kind: \"actor\";\n in: string[];\n}\n\nexport interface ArtifactExistsCondition extends Generated.WireArtifactConditionArtifactExists {\n kind: \"artifact_exists\";\n artifact: string;\n}\n\nexport interface ArtifactValueCondition<TValue = unknown> extends Omit<Generated.WireArtifactConditionArtifactValue, \"value\"> {\n kind: \"artifact_value\";\n artifact: string;\n operator: ArtifactValueOperator;\n value: TValue;\n}\n\nexport interface ArtifactAndCondition extends Omit<Generated.WireArtifactConditionAnd, \"conditions\"> { kind: \"and\"; conditions: ArtifactCondition[]; }\nexport interface ArtifactOrCondition extends Omit<Generated.WireArtifactConditionOr, \"conditions\"> { kind: \"or\"; conditions: ArtifactCondition[]; }\nexport interface ArtifactNotCondition extends Omit<Generated.WireArtifactConditionNot, \"condition\"> { kind: \"not\"; condition: ArtifactCondition; }\n\nexport type ArtifactCondition =\n | ArtifactStateCondition | ArtifactActorCondition | ArtifactExistsCondition\n | ArtifactValueCondition | ArtifactAndCondition | ArtifactOrCondition\n | ArtifactNotCondition;\n\nexport interface ArtifactProviderPolicy extends Generated.WireArtifactProviderPolicy {\n actors: string[];\n mode?: \"single\" | \"any\" | \"all\";\n delegation?: \"forbidden\" | \"allowed\";\n}\n\nexport interface ArtifactRequirementPolicy extends Omit<Generated.WireArtifactRequirementPolicy, \"condition\"> {\n mode: \"required\" | \"optional\" | \"conditional\";\n condition?: ArtifactCondition;\n blocks?: string[];\n}\n\nexport interface ArtifactLifecyclePolicy extends Omit<Generated.WireArtifactLifecyclePolicy, \"condition\"> {\n createAt?: string;\n editableDuring?: string[];\n submitDuring?: string[];\n lockAt?: string;\n invalidateOn?: string[];\n condition?: ArtifactCondition;\n}\n\nexport interface ArtifactAccessRule extends Omit<Generated.WireArtifactAccessPolicyRule, \"condition\"> {\n actors: string[];\n condition?: ArtifactCondition;\n}\n\nexport interface ArtifactAccessPolicy extends Omit<Generated.WireArtifactAccessPolicy, \"read\" | \"write\" | \"submit\" | \"verify\"> {\n read?: ArtifactAccessRule[];\n write?: ArtifactAccessRule[];\n submit?: ArtifactAccessRule[];\n verify?: ArtifactAccessRule[];\n}\n\nexport type ArtifactPrivacyClassification =\n (typeof ARTIFACT_PRIVACY_CLASSIFICATIONS)[number];\n\nexport type ArtifactPrivacyRepresentation =\n (typeof ARTIFACT_PRIVACY_REPRESENTATIONS)[number];\n\nexport interface ArtifactRevealRule extends Omit<Generated.WireArtifactRevealRule, \"when\"> {\n actors: string[];\n when?: ArtifactCondition;\n representation: ArtifactPrivacyRepresentation;\n}\n\nexport interface ArtifactMaskingPolicy extends Generated.WireArtifactMaskingPolicy {\n strategy: string;\n config?: Record<string, unknown>;\n}\n\nexport interface ArtifactEncryptionPolicy extends Generated.WireArtifactEncryptionPolicy {\n required: boolean;\n level?: string;\n keyScope?: string;\n}\n\nexport interface ArtifactPrivacyPolicy extends Omit<Generated.WireArtifactPrivacyPolicy, \"reveal\" | \"masking\" | \"encryption\"> {\n classification: ArtifactPrivacyClassification;\n reveal?: ArtifactRevealRule[];\n masking?: ArtifactMaskingPolicy;\n encryption?: ArtifactEncryptionPolicy;\n}\n\nexport interface ArtifactValidationRule extends Generated.WireArtifactValidationRule {\n type: string;\n config?: Record<string, unknown>;\n}\n\nexport interface ArtifactValidationPolicy extends Omit<Generated.WireArtifactValidationPolicy, \"rules\"> {\n mode?: \"strict\" | \"lenient\";\n rules?: ArtifactValidationRule[];\n}\n\nexport interface ArtifactVerificationPolicy extends Omit<Generated.WireArtifactVerificationPolicy, \"condition\"> {\n required: boolean;\n methods?: string[];\n actors?: string[];\n condition?: ArtifactCondition;\n}\n\nexport type ArtifactRetentionPolicy =\n | { policy: \"forever\" }\n | { policy: \"duration\"; days: number }\n | { policy: \"until\"; date: string }\n | { policy: \"host_defined\"; key: string };\n\nexport interface ArtifactPresentationPolicy extends Generated.WireArtifactPresentationPolicy {\n label?: string;\n helpText?: string;\n order?: number;\n display?: string;\n config?: Record<string, unknown>;\n}\n\nexport interface TextArtifactValueSchema extends Generated.WireArtifactValueSchemaText { valueType: \"text\"; }\nexport interface NumberArtifactValueSchema extends Generated.WireArtifactValueSchemaNumber { valueType: \"number\"; }\nexport interface BooleanArtifactValueSchema extends Generated.WireArtifactValueSchemaBoolean { valueType: \"boolean\"; }\nexport interface CurrencyArtifactValueSchema extends Generated.WireArtifactValueSchemaCurrency { valueType: \"currency\"; }\nexport interface DateArtifactValueSchema extends Generated.WireArtifactValueSchemaDate { valueType: \"date\"; }\nexport interface DatetimeArtifactValueSchema extends Generated.WireArtifactValueSchemaDatetime { valueType: \"datetime\"; }\nexport interface TimeArtifactValueSchema extends Generated.WireArtifactValueSchemaTime { valueType: \"time\"; }\nexport interface LocationArtifactValueSchema extends Generated.WireArtifactValueSchemaLocation { valueType: \"location\"; }\nexport interface FileArtifactValueSchema extends Generated.WireArtifactValueSchemaFile { valueType: \"file\"; }\nexport interface ImageArtifactValueSchema extends Generated.WireArtifactValueSchemaImage { valueType: \"image\"; }\nexport interface VideoArtifactValueSchema extends Generated.WireArtifactValueSchemaVideo { valueType: \"video\"; }\nexport interface AudioArtifactValueSchema extends Generated.WireArtifactValueSchemaAudio { valueType: \"audio\"; }\nexport interface LinkArtifactValueSchema extends Generated.WireArtifactValueSchemaLink { valueType: \"link\"; }\nexport interface StructuredArtifactValueSchema extends Generated.WireArtifactValueSchemaStructured { valueType: \"structured\"; }\nexport interface ReferenceArtifactValueSchema extends Generated.WireArtifactValueSchemaReference { valueType: \"reference\"; }\nexport interface SignatureArtifactValueSchema extends Generated.WireArtifactValueSchemaSignature { valueType: \"signature\"; }\nexport interface CollectionArtifactValueSchema extends Omit<Generated.WireArtifactValueSchemaCollection, \"itemSchema\"> { valueType: \"collection\"; itemSchema: ArtifactValueSchema; }\n\nexport type ArtifactValueSchema =\n | TextArtifactValueSchema | NumberArtifactValueSchema | BooleanArtifactValueSchema\n | CurrencyArtifactValueSchema | DateArtifactValueSchema | DatetimeArtifactValueSchema\n | TimeArtifactValueSchema | LocationArtifactValueSchema | FileArtifactValueSchema\n | ImageArtifactValueSchema | VideoArtifactValueSchema | AudioArtifactValueSchema\n | LinkArtifactValueSchema | StructuredArtifactValueSchema | ReferenceArtifactValueSchema\n | SignatureArtifactValueSchema | CollectionArtifactValueSchema;\n\nexport type ArtifactValueConfig<TValueType extends ArtifactValueType> =\n Omit<Extract<ArtifactValueSchema, { valueType: TValueType }>, \"valueType\"> &\n { valueType?: TValueType };\n\nexport interface ArtifactSpec<\n TKind extends string = ArtifactKind,\n TValueType extends ArtifactValueType = ArtifactValueType,\n TConfig extends object = ArtifactValueConfig<TValueType>,\n> extends ArtifactProtocolRecord, Omit<Generated.WireArtifactSpec, \"kind\" | \"valueType\" | \"config\" | \"provider\" | \"requirement\" | \"lifecycle\" | \"access\" | \"privacy\" | \"validation\" | \"verification\" | \"retention\" | \"presentation\" | \"metadata\"> {\n id: ArtifactSpecId;\n key: string;\n name: string;\n description?: string;\n version: number;\n kind: TKind;\n valueType: TValueType;\n config?: TConfig;\n provider?: ArtifactProviderPolicy;\n requirement?: ArtifactRequirementPolicy;\n lifecycle?: ArtifactLifecyclePolicy;\n access?: ArtifactAccessPolicy;\n privacy?: ArtifactPrivacyPolicy;\n validation?: ArtifactValidationPolicy;\n verification?: ArtifactVerificationPolicy;\n retention?: ArtifactRetentionPolicy;\n presentation?: ArtifactPresentationPolicy;\n metadata?: ArtifactMetadata;\n}\n\nexport type ArtifactSpecSnapshot<\n TKind extends string = ArtifactKind,\n TValueType extends ArtifactValueType = ArtifactValueType,\n TConfig extends object = ArtifactValueConfig<TValueType>,\n> = Omit<ArtifactSpec<TKind, TValueType, TConfig>, \"id\" | \"version\"> & {\n sourceSpecId: ArtifactSpecId;\n sourceVersion: number;\n};\n\nexport interface ArtifactRequirement extends ArtifactProtocolRecord, Omit<Generated.WireArtifactRequirement, \"metadata\"> {\n id: ArtifactRequirementId;\n key?: string;\n allowedKinds?: string[];\n allowedValueTypes?: ArtifactValueType[];\n minimumCount?: number;\n maximumCount?: number;\n required: boolean;\n specId?: ArtifactSpecId;\n metadata?: ArtifactMetadata;\n}\n\nexport interface ArtifactSubmissionContext extends Generated.WireArtifactSubmissionContext {\n latitude?: number;\n longitude?: number;\n deviceId?: string;\n ipAddress?: string;\n userAgent?: string;\n}\n\nexport interface ArtifactSubmission<TValue = unknown> extends ArtifactProtocolRecord, Omit<Generated.WireArtifactSubmission, \"submittedBy\" | \"value\" | \"context\" | \"metadata\"> {\n id: ArtifactSubmissionId;\n artifactId: ArtifactId;\n artifactVersionId?: ArtifactVersionId;\n submittedBy: ActorReference;\n value?: TValue;\n submittedAt: string;\n context?: ArtifactSubmissionContext;\n metadata?: ArtifactMetadata;\n}\n\nexport type ArtifactVerificationStatus =\n (typeof ARTIFACT_VERIFICATION_STATUSES)[number];\n\nexport interface ArtifactVerification extends ArtifactProtocolRecord, Omit<Generated.WireArtifactVerification, \"verifiedBy\" | \"metadata\"> {\n id: ArtifactVerificationId;\n artifactId: ArtifactId;\n artifactVersionId?: ArtifactVersionId;\n submissionId?: ArtifactSubmissionId;\n status: ArtifactVerificationStatus;\n method?: string;\n verifiedBy?: ActorReference;\n reason?: string;\n createdAt: string;\n verifiedAt?: string;\n metadata?: ArtifactMetadata;\n}\n"]}
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ import { ARTIFACT_CONDITION_KINDS, ARTIFACT_INTEGRITY_ALGORITHMS, ARTIFACT_PRIVACY_CLASSIFICATIONS, ARTIFACT_PRIVACY_REPRESENTATIONS, ARTIFACT_SOURCE_TYPES, ARTIFACT_VALUE_OPERATORS, ARTIFACT_VALUE_TYPES, ARTIFACT_VERIFICATION_STATUSES, LOCAL_ARTIFACT_SYNC_STATES, } from "./generated/vocabulary.js";
2
+ export { ARTIFACT_CONDITION_KINDS, ARTIFACT_INTEGRITY_ALGORITHMS, ARTIFACT_PRIVACY_CLASSIFICATIONS, ARTIFACT_PRIVACY_REPRESENTATIONS, ARTIFACT_SOURCE_TYPES, ARTIFACT_VALUE_OPERATORS, ARTIFACT_VALUE_TYPES, ARTIFACT_VERIFICATION_STATUSES, LOCAL_ARTIFACT_SYNC_STATES, };
3
+ /** The schema version implemented by this binding. */
4
+ export const ARTIFACT_PROTOCOL_VERSION = "1.0";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,gCAAgC,EAChC,gCAAgC,EAChC,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,8BAA8B,EAC9B,0BAA0B,GAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,gCAAgC,EAChC,gCAAgC,EAChC,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,8BAA8B,EAC9B,0BAA0B,GAC3B,CAAC;AAEF,sDAAsD;AACtD,MAAM,CAAC,MAAM,yBAAyB,GAAG,KAAc,CAAC","sourcesContent":["export type * from \"./generated/wire.js\";\nimport type * as Generated from \"./generated/wire.js\";\nimport {\n ARTIFACT_CONDITION_KINDS,\n ARTIFACT_INTEGRITY_ALGORITHMS,\n ARTIFACT_PRIVACY_CLASSIFICATIONS,\n ARTIFACT_PRIVACY_REPRESENTATIONS,\n ARTIFACT_SOURCE_TYPES,\n ARTIFACT_VALUE_OPERATORS,\n ARTIFACT_VALUE_TYPES,\n ARTIFACT_VERIFICATION_STATUSES,\n LOCAL_ARTIFACT_SYNC_STATES,\n} from \"./generated/vocabulary.js\";\nexport {\n ARTIFACT_CONDITION_KINDS,\n ARTIFACT_INTEGRITY_ALGORITHMS,\n ARTIFACT_PRIVACY_CLASSIFICATIONS,\n ARTIFACT_PRIVACY_REPRESENTATIONS,\n ARTIFACT_SOURCE_TYPES,\n ARTIFACT_VALUE_OPERATORS,\n ARTIFACT_VALUE_TYPES,\n ARTIFACT_VERIFICATION_STATUSES,\n LOCAL_ARTIFACT_SYNC_STATES,\n};\n\n/** The schema version implemented by this binding. */\nexport const ARTIFACT_PROTOCOL_VERSION = \"1.0\" as const;\n\nexport type ArtifactProtocolVersion = typeof ARTIFACT_PROTOCOL_VERSION;\n\n/** Base fields carried by every top-level protocol record. */\nexport interface ArtifactProtocolRecord extends Pick<Generated.WireArtifact, \"schemaVersion\"> {\n schemaVersion: ArtifactProtocolVersion;\n}\n\n/** Opaque, non-empty serialized identifiers. Their generation is host-defined. */\nexport type ArtifactId = string;\nexport type ArtifactVersionId = string;\nexport type ArtifactLinkId = string;\nexport type ArtifactSpecId = string;\nexport type ArtifactRequirementId = string;\nexport type ArtifactSubmissionId = string;\nexport type ArtifactVerificationId = string;\n\n/** Host extension data. Values must be JSON-serializable when encoded. */\nexport type ArtifactMetadata = Record<string, unknown>;\n\nexport type ArtifactValueType = (typeof ARTIFACT_VALUE_TYPES)[number];\n\nexport type ArtifactKind = string;\nexport type ArtifactRole = string;\n\nexport interface ActorReference<TType extends string = string> {\n type: TType;\n id?: string;\n displayName?: string;\n}\n\nexport interface ArtifactScopeReference<TType extends string = string> {\n type: TType;\n id: string;\n}\n\nexport interface ArtifactSubjectReference<TType extends string = string> {\n type: TType;\n id: string;\n scope?: Record<string, string>;\n}\n\nexport interface Artifact<\n TKind extends string = ArtifactKind,\n TValueType extends ArtifactValueType = ArtifactValueType,\n> extends ArtifactProtocolRecord, Omit<Generated.WireArtifact, \"scope\" | \"kind\" | \"valueType\" | \"createdBy\" | \"metadata\"> {\n id: ArtifactId;\n scope?: ArtifactScopeReference;\n kind: TKind;\n valueType: TValueType;\n title?: string;\n description?: string;\n currentVersionId?: ArtifactVersionId;\n createdBy: ActorReference;\n createdAt: string;\n updatedAt: string;\n archivedAt?: string;\n metadata?: ArtifactMetadata;\n}\n\nexport interface InlineArtifactSource<TValue = unknown> extends Omit<Generated.WireInlineArtifactSource, \"value\"> {\n type: \"inline\";\n value: TValue;\n mediaType?: string;\n}\n\nexport type LocalArtifactSyncState =\n (typeof LOCAL_ARTIFACT_SYNC_STATES)[number];\n\nexport interface LocalArtifactSource extends Generated.WireLocalArtifactSource {\n type: \"local\";\n localId: string;\n filename?: string;\n mediaType?: string;\n size?: number;\n syncState: LocalArtifactSyncState;\n remoteVersionId?: ArtifactVersionId;\n}\n\nexport interface ObjectArtifactSource extends Generated.WireObjectArtifactSource {\n type: \"object\";\n objectId: string;\n filename?: string;\n mediaType?: string;\n size?: number;\n storageProvider?: string;\n}\n\nexport interface UrlArtifactSource extends Generated.WireUrlArtifactSource {\n type: \"url\";\n url: string;\n provider?: string;\n mediaType?: string;\n}\n\nexport interface HostedArtifactSource extends Generated.WireHostedArtifactSource {\n type: \"hosted\";\n recordType: string;\n recordId: string;\n}\n\nexport interface ProviderArtifactSource<\n TProvider extends string = string,\n TReference = unknown,\n> extends Omit<Generated.WireProviderArtifactSource, \"provider\" | \"reference\"> {\n type: \"provider\";\n provider: TProvider;\n reference: TReference;\n}\n\nexport type ArtifactSource =\n | InlineArtifactSource\n | LocalArtifactSource\n | ObjectArtifactSource\n | UrlArtifactSource\n | HostedArtifactSource\n | ProviderArtifactSource;\n\nexport type ArtifactIntegrityAlgorithm =\n (typeof ARTIFACT_INTEGRITY_ALGORITHMS)[number];\n\nexport interface ArtifactIntegrity extends Generated.WireArtifactIntegrity {\n algorithm: ArtifactIntegrityAlgorithm;\n hash: string;\n size?: number;\n verifiedAt?: string;\n}\n\nexport interface ArtifactVersion<\n TSource extends ArtifactSource = ArtifactSource,\n> extends ArtifactProtocolRecord, Omit<Generated.WireArtifactVersion, \"source\" | \"integrity\" | \"createdBy\" | \"metadata\"> {\n id: ArtifactVersionId;\n artifactId: ArtifactId;\n version: number;\n source: TSource;\n integrity?: ArtifactIntegrity;\n createdBy: ActorReference;\n createdAt: string;\n note?: string;\n metadata?: ArtifactMetadata;\n}\n\nexport interface ArtifactLink<\n TRole extends string = ArtifactRole,\n TSubjectType extends string = string,\n> extends ArtifactProtocolRecord, Omit<Generated.WireArtifactLink, \"subject\" | \"role\" | \"createdBy\" | \"metadata\"> {\n id: ArtifactLinkId;\n artifactId: ArtifactId;\n /** Omit to follow the logical artifact; provide to pin immutable content. */\n artifactVersionId?: ArtifactVersionId;\n subject: ArtifactSubjectReference<TSubjectType>;\n role: TRole;\n note?: string;\n createdBy: ActorReference;\n createdAt: string;\n metadata?: ArtifactMetadata;\n}\n\nexport type ArtifactValueOperator = (typeof ARTIFACT_VALUE_OPERATORS)[number];\n\nexport interface ArtifactStateCondition extends Generated.WireArtifactConditionState {\n kind: \"state\";\n namespace: string;\n in: string[];\n}\n\nexport interface ArtifactActorCondition extends Generated.WireArtifactConditionActor {\n kind: \"actor\";\n in: string[];\n}\n\nexport interface ArtifactExistsCondition extends Generated.WireArtifactConditionArtifactExists {\n kind: \"artifact_exists\";\n artifact: string;\n}\n\nexport interface ArtifactValueCondition<TValue = unknown> extends Omit<Generated.WireArtifactConditionArtifactValue, \"value\"> {\n kind: \"artifact_value\";\n artifact: string;\n operator: ArtifactValueOperator;\n value: TValue;\n}\n\nexport interface ArtifactAndCondition extends Omit<Generated.WireArtifactConditionAnd, \"conditions\"> { kind: \"and\"; conditions: ArtifactCondition[]; }\nexport interface ArtifactOrCondition extends Omit<Generated.WireArtifactConditionOr, \"conditions\"> { kind: \"or\"; conditions: ArtifactCondition[]; }\nexport interface ArtifactNotCondition extends Omit<Generated.WireArtifactConditionNot, \"condition\"> { kind: \"not\"; condition: ArtifactCondition; }\n\nexport type ArtifactCondition =\n | ArtifactStateCondition | ArtifactActorCondition | ArtifactExistsCondition\n | ArtifactValueCondition | ArtifactAndCondition | ArtifactOrCondition\n | ArtifactNotCondition;\n\nexport interface ArtifactProviderPolicy extends Generated.WireArtifactProviderPolicy {\n actors: string[];\n mode?: \"single\" | \"any\" | \"all\";\n delegation?: \"forbidden\" | \"allowed\";\n}\n\nexport interface ArtifactRequirementPolicy extends Omit<Generated.WireArtifactRequirementPolicy, \"condition\"> {\n mode: \"required\" | \"optional\" | \"conditional\";\n condition?: ArtifactCondition;\n blocks?: string[];\n}\n\nexport interface ArtifactLifecyclePolicy extends Omit<Generated.WireArtifactLifecyclePolicy, \"condition\"> {\n createAt?: string;\n editableDuring?: string[];\n submitDuring?: string[];\n lockAt?: string;\n invalidateOn?: string[];\n condition?: ArtifactCondition;\n}\n\nexport interface ArtifactAccessRule extends Omit<Generated.WireArtifactAccessPolicyRule, \"condition\"> {\n actors: string[];\n condition?: ArtifactCondition;\n}\n\nexport interface ArtifactAccessPolicy extends Omit<Generated.WireArtifactAccessPolicy, \"read\" | \"write\" | \"submit\" | \"verify\"> {\n read?: ArtifactAccessRule[];\n write?: ArtifactAccessRule[];\n submit?: ArtifactAccessRule[];\n verify?: ArtifactAccessRule[];\n}\n\nexport type ArtifactPrivacyClassification =\n (typeof ARTIFACT_PRIVACY_CLASSIFICATIONS)[number];\n\nexport type ArtifactPrivacyRepresentation =\n (typeof ARTIFACT_PRIVACY_REPRESENTATIONS)[number];\n\nexport interface ArtifactRevealRule extends Omit<Generated.WireArtifactRevealRule, \"when\"> {\n actors: string[];\n when?: ArtifactCondition;\n representation: ArtifactPrivacyRepresentation;\n}\n\nexport interface ArtifactMaskingPolicy extends Generated.WireArtifactMaskingPolicy {\n strategy: string;\n config?: Record<string, unknown>;\n}\n\nexport interface ArtifactEncryptionPolicy extends Generated.WireArtifactEncryptionPolicy {\n required: boolean;\n level?: string;\n keyScope?: string;\n}\n\nexport interface ArtifactPrivacyPolicy extends Omit<Generated.WireArtifactPrivacyPolicy, \"reveal\" | \"masking\" | \"encryption\"> {\n classification: ArtifactPrivacyClassification;\n reveal?: ArtifactRevealRule[];\n masking?: ArtifactMaskingPolicy;\n encryption?: ArtifactEncryptionPolicy;\n}\n\nexport interface ArtifactValidationRule extends Generated.WireArtifactValidationRule {\n type: string;\n config?: Record<string, unknown>;\n}\n\nexport interface ArtifactValidationPolicy extends Omit<Generated.WireArtifactValidationPolicy, \"rules\"> {\n mode?: \"strict\" | \"lenient\";\n rules?: ArtifactValidationRule[];\n}\n\nexport interface ArtifactVerificationPolicy extends Omit<Generated.WireArtifactVerificationPolicy, \"condition\"> {\n required: boolean;\n methods?: string[];\n actors?: string[];\n condition?: ArtifactCondition;\n}\n\nexport type ArtifactRetentionPolicy =\n | { policy: \"forever\" }\n | { policy: \"duration\"; days: number }\n | { policy: \"until\"; date: string }\n | { policy: \"host_defined\"; key: string };\n\nexport interface ArtifactPresentationPolicy extends Generated.WireArtifactPresentationPolicy {\n label?: string;\n helpText?: string;\n order?: number;\n display?: string;\n config?: Record<string, unknown>;\n}\n\nexport interface TextArtifactValueSchema extends Generated.WireArtifactValueSchemaText { valueType: \"text\"; }\nexport interface NumberArtifactValueSchema extends Generated.WireArtifactValueSchemaNumber { valueType: \"number\"; }\nexport interface BooleanArtifactValueSchema extends Generated.WireArtifactValueSchemaBoolean { valueType: \"boolean\"; }\nexport interface CurrencyArtifactValueSchema extends Generated.WireArtifactValueSchemaCurrency { valueType: \"currency\"; }\nexport interface DateArtifactValueSchema extends Generated.WireArtifactValueSchemaDate { valueType: \"date\"; }\nexport interface DatetimeArtifactValueSchema extends Generated.WireArtifactValueSchemaDatetime { valueType: \"datetime\"; }\nexport interface TimeArtifactValueSchema extends Generated.WireArtifactValueSchemaTime { valueType: \"time\"; }\nexport interface LocationArtifactValueSchema extends Generated.WireArtifactValueSchemaLocation { valueType: \"location\"; }\nexport interface FileArtifactValueSchema extends Generated.WireArtifactValueSchemaFile { valueType: \"file\"; }\nexport interface ImageArtifactValueSchema extends Generated.WireArtifactValueSchemaImage { valueType: \"image\"; }\nexport interface VideoArtifactValueSchema extends Generated.WireArtifactValueSchemaVideo { valueType: \"video\"; }\nexport interface AudioArtifactValueSchema extends Generated.WireArtifactValueSchemaAudio { valueType: \"audio\"; }\nexport interface LinkArtifactValueSchema extends Generated.WireArtifactValueSchemaLink { valueType: \"link\"; }\nexport interface StructuredArtifactValueSchema extends Generated.WireArtifactValueSchemaStructured { valueType: \"structured\"; }\nexport interface ReferenceArtifactValueSchema extends Generated.WireArtifactValueSchemaReference { valueType: \"reference\"; }\nexport interface SignatureArtifactValueSchema extends Generated.WireArtifactValueSchemaSignature { valueType: \"signature\"; }\nexport interface CollectionArtifactValueSchema extends Omit<Generated.WireArtifactValueSchemaCollection, \"itemSchema\"> { valueType: \"collection\"; itemSchema: ArtifactValueSchema; }\n\nexport type ArtifactValueSchema =\n | TextArtifactValueSchema | NumberArtifactValueSchema | BooleanArtifactValueSchema\n | CurrencyArtifactValueSchema | DateArtifactValueSchema | DatetimeArtifactValueSchema\n | TimeArtifactValueSchema | LocationArtifactValueSchema | FileArtifactValueSchema\n | ImageArtifactValueSchema | VideoArtifactValueSchema | AudioArtifactValueSchema\n | LinkArtifactValueSchema | StructuredArtifactValueSchema | ReferenceArtifactValueSchema\n | SignatureArtifactValueSchema | CollectionArtifactValueSchema;\n\nexport type ArtifactValueConfig<TValueType extends ArtifactValueType> =\n Omit<Extract<ArtifactValueSchema, { valueType: TValueType }>, \"valueType\"> &\n { valueType?: TValueType };\n\nexport interface ArtifactSpec<\n TKind extends string = ArtifactKind,\n TValueType extends ArtifactValueType = ArtifactValueType,\n TConfig extends object = ArtifactValueConfig<TValueType>,\n> extends ArtifactProtocolRecord, Omit<Generated.WireArtifactSpec, \"kind\" | \"valueType\" | \"config\" | \"provider\" | \"requirement\" | \"lifecycle\" | \"access\" | \"privacy\" | \"validation\" | \"verification\" | \"retention\" | \"presentation\" | \"metadata\"> {\n id: ArtifactSpecId;\n key: string;\n name: string;\n description?: string;\n version: number;\n kind: TKind;\n valueType: TValueType;\n config?: TConfig;\n provider?: ArtifactProviderPolicy;\n requirement?: ArtifactRequirementPolicy;\n lifecycle?: ArtifactLifecyclePolicy;\n access?: ArtifactAccessPolicy;\n privacy?: ArtifactPrivacyPolicy;\n validation?: ArtifactValidationPolicy;\n verification?: ArtifactVerificationPolicy;\n retention?: ArtifactRetentionPolicy;\n presentation?: ArtifactPresentationPolicy;\n metadata?: ArtifactMetadata;\n}\n\nexport type ArtifactSpecSnapshot<\n TKind extends string = ArtifactKind,\n TValueType extends ArtifactValueType = ArtifactValueType,\n TConfig extends object = ArtifactValueConfig<TValueType>,\n> = Omit<ArtifactSpec<TKind, TValueType, TConfig>, \"id\" | \"version\"> & {\n sourceSpecId: ArtifactSpecId;\n sourceVersion: number;\n};\n\nexport interface ArtifactRequirement extends ArtifactProtocolRecord, Omit<Generated.WireArtifactRequirement, \"metadata\"> {\n id: ArtifactRequirementId;\n key?: string;\n allowedKinds?: string[];\n allowedValueTypes?: ArtifactValueType[];\n minimumCount?: number;\n maximumCount?: number;\n required: boolean;\n specId?: ArtifactSpecId;\n metadata?: ArtifactMetadata;\n}\n\nexport interface ArtifactSubmissionContext extends Generated.WireArtifactSubmissionContext {\n latitude?: number;\n longitude?: number;\n deviceId?: string;\n ipAddress?: string;\n userAgent?: string;\n}\n\nexport interface ArtifactSubmission<TValue = unknown> extends ArtifactProtocolRecord, Omit<Generated.WireArtifactSubmission, \"submittedBy\" | \"value\" | \"context\" | \"metadata\"> {\n id: ArtifactSubmissionId;\n artifactId: ArtifactId;\n artifactVersionId?: ArtifactVersionId;\n submittedBy: ActorReference;\n value?: TValue;\n submittedAt: string;\n context?: ArtifactSubmissionContext;\n metadata?: ArtifactMetadata;\n}\n\nexport type ArtifactVerificationStatus =\n (typeof ARTIFACT_VERIFICATION_STATUSES)[number];\n\nexport interface ArtifactVerification extends ArtifactProtocolRecord, Omit<Generated.WireArtifactVerification, \"verifiedBy\" | \"metadata\"> {\n id: ArtifactVerificationId;\n artifactId: ArtifactId;\n artifactVersionId?: ArtifactVersionId;\n submissionId?: ArtifactSubmissionId;\n status: ArtifactVerificationStatus;\n method?: string;\n verifiedBy?: ActorReference;\n reason?: string;\n createdAt: string;\n verifiedAt?: string;\n metadata?: ArtifactMetadata;\n}\n"]}