@truvity/sdk 0.38.2 → 0.40.13
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.
- package/Client.d.ts +5 -0
- package/Client.d.ts.map +1 -1
- package/Client.js +10 -4
- package/Client.js.map +1 -1
- package/ExtendedClient.d.ts +2 -1
- package/ExtendedClient.d.ts.map +1 -1
- package/ExtendedClient.js +6 -0
- package/ExtendedClient.js.map +1 -1
- package/api/resources/apiKeys/client/Client.d.ts +2 -0
- package/api/resources/apiKeys/client/Client.d.ts.map +1 -1
- package/api/resources/apiKeys/client/Client.js +45 -27
- package/api/resources/apiKeys/client/Client.js.map +1 -1
- package/api/resources/apiKeys/client/requests/ApiKeyHistoryRequest.d.ts +1 -3
- package/api/resources/apiKeys/client/requests/ApiKeyHistoryRequest.d.ts.map +1 -1
- package/api/resources/apiKeys/client/requests/ApiKeyHistoryRequest.js.map +1 -1
- package/api/resources/apiKeys/client/requests/ApiKeyLatestRequest.d.ts +1 -3
- package/api/resources/apiKeys/client/requests/ApiKeyLatestRequest.d.ts.map +1 -1
- package/api/resources/apiKeys/client/requests/ApiKeyLatestRequest.js.map +1 -1
- package/api/resources/apiKeys/client/requests/ApiKeyRevisionRequest.d.ts +1 -3
- package/api/resources/apiKeys/client/requests/ApiKeyRevisionRequest.d.ts.map +1 -1
- package/api/resources/apiKeys/client/requests/ApiKeyRevisionRequest.js.map +1 -1
- package/api/resources/credentials/client/Client.d.ts +23 -1
- package/api/resources/credentials/client/Client.d.ts.map +1 -1
- package/api/resources/credentials/client/Client.js +178 -41
- package/api/resources/credentials/client/Client.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialDownloadRequest.d.ts +5 -3
- package/api/resources/credentials/client/requests/CredentialDownloadRequest.d.ts.map +1 -1
- package/api/resources/credentials/client/requests/CredentialDownloadRequest.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialHistoryRequest.d.ts +1 -3
- package/api/resources/credentials/client/requests/CredentialHistoryRequest.d.ts.map +1 -1
- package/api/resources/credentials/client/requests/CredentialHistoryRequest.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialImportRequest.d.ts +2 -6
- package/api/resources/credentials/client/requests/CredentialImportRequest.d.ts.map +1 -1
- package/api/resources/credentials/client/requests/CredentialImportRequest.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialLatestRequest.d.ts +1 -3
- package/api/resources/credentials/client/requests/CredentialLatestRequest.d.ts.map +1 -1
- package/api/resources/credentials/client/requests/CredentialLatestRequest.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialRevisionRequest.d.ts +1 -3
- package/api/resources/credentials/client/requests/CredentialRevisionRequest.d.ts.map +1 -1
- package/api/resources/credentials/client/requests/CredentialRevisionRequest.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialVerifyRequest.d.ts +10 -0
- package/api/resources/credentials/client/requests/CredentialVerifyRequest.d.ts.map +1 -0
- package/api/{types/DraftFieldDateTimeValue.js → resources/credentials/client/requests/CredentialVerifyRequest.js} +1 -1
- package/api/resources/credentials/client/requests/CredentialVerifyRequest.js.map +1 -0
- package/api/resources/credentials/client/requests/GetCredentialClaimValuesRequest.d.ts +10 -0
- package/api/resources/credentials/client/requests/GetCredentialClaimValuesRequest.d.ts.map +1 -0
- package/api/resources/credentials/client/requests/GetCredentialClaimValuesRequest.js +6 -0
- package/api/resources/credentials/client/requests/GetCredentialClaimValuesRequest.js.map +1 -0
- package/api/resources/credentials/client/requests/index.d.ts +2 -0
- package/api/resources/credentials/client/requests/index.d.ts.map +1 -1
- package/api/resources/credentials/client/requests/index.js.map +1 -1
- package/api/resources/desk/client/Client.d.ts +15 -7
- package/api/resources/desk/client/Client.d.ts.map +1 -1
- package/api/resources/desk/client/Client.js +58 -40
- package/api/resources/desk/client/Client.js.map +1 -1
- package/api/resources/desk/client/requests/DidCommMessageRecvRequest.d.ts +13 -0
- package/api/resources/desk/client/requests/DidCommMessageRecvRequest.d.ts.map +1 -0
- package/api/resources/desk/client/requests/DidCommMessageRecvRequest.js +6 -0
- package/api/resources/desk/client/requests/DidCommMessageRecvRequest.js.map +1 -0
- package/api/resources/desk/client/requests/PublishedJsonLdVocabFetchRequest.d.ts +10 -0
- package/api/resources/desk/client/requests/PublishedJsonLdVocabFetchRequest.d.ts.map +1 -0
- package/api/resources/desk/client/requests/PublishedJsonLdVocabFetchRequest.js +6 -0
- package/api/resources/desk/client/requests/PublishedJsonLdVocabFetchRequest.js.map +1 -0
- package/api/resources/desk/client/requests/PublishedJsonSchemaFetchRequest.d.ts +10 -0
- package/api/resources/desk/client/requests/PublishedJsonSchemaFetchRequest.d.ts.map +1 -0
- package/api/resources/desk/client/requests/PublishedJsonSchemaFetchRequest.js +6 -0
- package/api/resources/desk/client/requests/PublishedJsonSchemaFetchRequest.js.map +1 -0
- package/api/resources/desk/client/requests/PublishedMetaSchemaFetchRequest.d.ts +10 -0
- package/api/resources/desk/client/requests/PublishedMetaSchemaFetchRequest.d.ts.map +1 -0
- package/api/resources/desk/client/requests/PublishedMetaSchemaFetchRequest.js +6 -0
- package/api/resources/desk/client/requests/PublishedMetaSchemaFetchRequest.js.map +1 -0
- package/api/resources/desk/client/requests/PublishedVcdmJsonSchemaFetchRequest.d.ts +10 -0
- package/api/resources/desk/client/requests/PublishedVcdmJsonSchemaFetchRequest.d.ts.map +1 -0
- package/api/resources/desk/client/requests/PublishedVcdmJsonSchemaFetchRequest.js +6 -0
- package/api/resources/desk/client/requests/PublishedVcdmJsonSchemaFetchRequest.js.map +1 -0
- package/api/resources/desk/client/requests/index.d.ts +5 -0
- package/api/resources/desk/client/requests/index.d.ts.map +1 -1
- package/api/resources/desk/client/requests/index.js.map +1 -1
- package/api/resources/didcommMessages/client/Client.d.ts +2 -0
- package/api/resources/didcommMessages/client/Client.d.ts.map +1 -1
- package/api/resources/didcommMessages/client/Client.js +45 -27
- package/api/resources/didcommMessages/client/Client.js.map +1 -1
- package/api/resources/didcommMessages/client/requests/DidcommMessageHistoryRequest.d.ts +1 -3
- package/api/resources/didcommMessages/client/requests/DidcommMessageHistoryRequest.d.ts.map +1 -1
- package/api/resources/didcommMessages/client/requests/DidcommMessageHistoryRequest.js.map +1 -1
- package/api/resources/didcommMessages/client/requests/DidcommMessageLatestRequest.d.ts +1 -3
- package/api/resources/didcommMessages/client/requests/DidcommMessageLatestRequest.d.ts.map +1 -1
- package/api/resources/didcommMessages/client/requests/DidcommMessageLatestRequest.js.map +1 -1
- package/api/resources/didcommMessages/client/requests/DidcommMessageRevisionRequest.d.ts +1 -3
- package/api/resources/didcommMessages/client/requests/DidcommMessageRevisionRequest.d.ts.map +1 -1
- package/api/resources/didcommMessages/client/requests/DidcommMessageRevisionRequest.js.map +1 -1
- package/api/resources/dids/client/Client.d.ts +2 -0
- package/api/resources/dids/client/Client.d.ts.map +1 -1
- package/api/resources/dids/client/Client.js +5 -3
- package/api/resources/dids/client/Client.js.map +1 -1
- package/api/resources/drafts/client/Client.d.ts +9 -7
- package/api/resources/drafts/client/Client.d.ts.map +1 -1
- package/api/resources/drafts/client/Client.js +67 -43
- package/api/resources/drafts/client/Client.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftCreateRequest.d.ts +7 -7
- package/api/resources/drafts/client/requests/DraftCreateRequest.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftExportRequest.d.ts +8 -0
- package/api/resources/drafts/client/requests/DraftExportRequest.d.ts.map +1 -1
- package/api/resources/drafts/client/requests/DraftExportRequest.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftHistoryRequest.d.ts +1 -3
- package/api/resources/drafts/client/requests/DraftHistoryRequest.d.ts.map +1 -1
- package/api/resources/drafts/client/requests/DraftHistoryRequest.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftLatestRequest.d.ts +1 -3
- package/api/resources/drafts/client/requests/DraftLatestRequest.d.ts.map +1 -1
- package/api/resources/drafts/client/requests/DraftLatestRequest.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftRevisionRequest.d.ts +1 -3
- package/api/resources/drafts/client/requests/DraftRevisionRequest.d.ts.map +1 -1
- package/api/resources/drafts/client/requests/DraftRevisionRequest.js.map +1 -1
- package/api/resources/files/client/Client.d.ts +2 -0
- package/api/resources/files/client/Client.d.ts.map +1 -1
- package/api/resources/files/client/Client.js +55 -34
- package/api/resources/files/client/Client.js.map +1 -1
- package/api/resources/files/client/requests/FileCreateRequest.d.ts +1 -3
- package/api/resources/files/client/requests/FileCreateRequest.d.ts.map +1 -1
- package/api/resources/files/client/requests/FileCreateRequest.js.map +1 -1
- package/api/resources/files/client/requests/FileDownloadRequest.d.ts +5 -3
- package/api/resources/files/client/requests/FileDownloadRequest.d.ts.map +1 -1
- package/api/resources/files/client/requests/FileDownloadRequest.js.map +1 -1
- package/api/resources/files/client/requests/FileHistoryRequest.d.ts +1 -3
- package/api/resources/files/client/requests/FileHistoryRequest.d.ts.map +1 -1
- package/api/resources/files/client/requests/FileHistoryRequest.js.map +1 -1
- package/api/resources/files/client/requests/FileLatestRequest.d.ts +1 -3
- package/api/resources/files/client/requests/FileLatestRequest.d.ts.map +1 -1
- package/api/resources/files/client/requests/FileLatestRequest.js.map +1 -1
- package/api/resources/files/client/requests/FileRevisionRequest.d.ts +1 -3
- package/api/resources/files/client/requests/FileRevisionRequest.d.ts.map +1 -1
- package/api/resources/files/client/requests/FileRevisionRequest.js.map +1 -1
- package/api/resources/gdpr/client/Client.d.ts +2 -0
- package/api/resources/gdpr/client/Client.d.ts.map +1 -1
- package/api/resources/gdpr/client/Client.js +5 -3
- package/api/resources/gdpr/client/Client.js.map +1 -1
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.d.ts.map +1 -1
- package/api/resources/index.js +3 -1
- package/api/resources/index.js.map +1 -1
- package/api/resources/keys/client/Client.d.ts +2 -0
- package/api/resources/keys/client/Client.d.ts.map +1 -1
- package/api/resources/keys/client/Client.js +65 -42
- package/api/resources/keys/client/Client.js.map +1 -1
- package/api/resources/keys/client/requests/CredentialSignRequest.d.ts +8 -6
- package/api/resources/keys/client/requests/CredentialSignRequest.d.ts.map +1 -1
- package/api/resources/keys/client/requests/CredentialSignRequest.js.map +1 -1
- package/api/resources/keys/client/requests/DidCommMessageSignRequest.d.ts +8 -6
- package/api/resources/keys/client/requests/DidCommMessageSignRequest.d.ts.map +1 -1
- package/api/resources/keys/client/requests/DidCommMessageSignRequest.js.map +1 -1
- package/api/resources/keys/client/requests/KeyHistoryRequest.d.ts +1 -3
- package/api/resources/keys/client/requests/KeyHistoryRequest.d.ts.map +1 -1
- package/api/resources/keys/client/requests/KeyHistoryRequest.js.map +1 -1
- package/api/resources/keys/client/requests/KeyLatestRequest.d.ts +1 -3
- package/api/resources/keys/client/requests/KeyLatestRequest.d.ts.map +1 -1
- package/api/resources/keys/client/requests/KeyLatestRequest.js.map +1 -1
- package/api/resources/keys/client/requests/KeyRevisionRequest.d.ts +1 -3
- package/api/resources/keys/client/requests/KeyRevisionRequest.d.ts.map +1 -1
- package/api/resources/keys/client/requests/KeyRevisionRequest.js.map +1 -1
- package/api/resources/keys/client/requests/PresentationSignRequest.d.ts +8 -6
- package/api/resources/keys/client/requests/PresentationSignRequest.d.ts.map +1 -1
- package/api/resources/keys/client/requests/PresentationSignRequest.js.map +1 -1
- package/api/resources/presentations/client/Client.d.ts +5 -1
- package/api/resources/presentations/client/Client.d.ts.map +1 -1
- package/api/resources/presentations/client/Client.js +80 -51
- package/api/resources/presentations/client/Client.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationDownloadRequest.d.ts +5 -3
- package/api/resources/presentations/client/requests/PresentationDownloadRequest.d.ts.map +1 -1
- package/api/resources/presentations/client/requests/PresentationDownloadRequest.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationExportRequest.d.ts +10 -0
- package/api/resources/presentations/client/requests/PresentationExportRequest.d.ts.map +1 -1
- package/api/resources/presentations/client/requests/PresentationExportRequest.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationHistoryRequest.d.ts +1 -3
- package/api/resources/presentations/client/requests/PresentationHistoryRequest.d.ts.map +1 -1
- package/api/resources/presentations/client/requests/PresentationHistoryRequest.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationImportRequest.d.ts +1 -3
- package/api/resources/presentations/client/requests/PresentationImportRequest.d.ts.map +1 -1
- package/api/resources/presentations/client/requests/PresentationImportRequest.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationIssueRequest.d.ts +2 -0
- package/api/resources/presentations/client/requests/PresentationIssueRequest.d.ts.map +1 -1
- package/api/resources/presentations/client/requests/PresentationIssueRequest.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationLatestRequest.d.ts +1 -3
- package/api/resources/presentations/client/requests/PresentationLatestRequest.d.ts.map +1 -1
- package/api/resources/presentations/client/requests/PresentationLatestRequest.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationRevisionRequest.d.ts +1 -3
- package/api/resources/presentations/client/requests/PresentationRevisionRequest.d.ts.map +1 -1
- package/api/resources/presentations/client/requests/PresentationRevisionRequest.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationVerifyRequest.d.ts +10 -0
- package/api/resources/presentations/client/requests/PresentationVerifyRequest.d.ts.map +1 -0
- package/api/resources/presentations/client/requests/PresentationVerifyRequest.js +6 -0
- package/api/resources/presentations/client/requests/PresentationVerifyRequest.js.map +1 -0
- package/api/resources/presentations/client/requests/index.d.ts +1 -0
- package/api/resources/presentations/client/requests/index.d.ts.map +1 -1
- package/api/resources/presentations/client/requests/index.js.map +1 -1
- package/api/resources/presentations/types/PresentationExportRequestCompositionType.d.ts +8 -0
- package/api/resources/presentations/types/PresentationExportRequestCompositionType.d.ts.map +1 -0
- package/api/resources/presentations/types/PresentationExportRequestCompositionType.js +10 -0
- package/api/resources/presentations/types/PresentationExportRequestCompositionType.js.map +1 -0
- package/api/resources/presentations/types/PresentationIssueRequestCompositionType.d.ts +8 -0
- package/api/resources/presentations/types/PresentationIssueRequestCompositionType.d.ts.map +1 -0
- package/api/resources/presentations/types/PresentationIssueRequestCompositionType.js +10 -0
- package/api/resources/presentations/types/PresentationIssueRequestCompositionType.js.map +1 -0
- package/api/resources/presentations/types/index.d.ts +2 -0
- package/api/resources/presentations/types/index.d.ts.map +1 -1
- package/api/resources/presentations/types/index.js +2 -0
- package/api/resources/presentations/types/index.js.map +1 -1
- package/api/resources/publishedSchemas/client/Client.d.ts +201 -0
- package/api/resources/publishedSchemas/client/Client.d.ts.map +1 -0
- package/api/resources/publishedSchemas/client/Client.js +986 -0
- package/api/resources/publishedSchemas/client/Client.js.map +1 -0
- package/api/resources/publishedSchemas/client/index.d.ts +3 -0
- package/api/resources/publishedSchemas/client/index.d.ts.map +1 -0
- package/api/resources/publishedSchemas/client/index.js +18 -0
- package/api/resources/publishedSchemas/client/index.js.map +1 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaDeleteRequest.d.ts +47 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaDeleteRequest.d.ts.map +1 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaDeleteRequest.js +6 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaDeleteRequest.js.map +1 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaLatestRequest.d.ts +12 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaLatestRequest.d.ts.map +1 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaLatestRequest.js +6 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaLatestRequest.js.map +1 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaRestoreRequest.d.ts +47 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaRestoreRequest.d.ts.map +1 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaRestoreRequest.js +6 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaRestoreRequest.js.map +1 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaRevisionRequest.d.ts +12 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaRevisionRequest.d.ts.map +1 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaRevisionRequest.js +6 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaRevisionRequest.js.map +1 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.d.ts +15 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.d.ts.map +1 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.js +6 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.js.map +1 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.d.ts +52 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.d.ts.map +1 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.js +6 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.js.map +1 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.d.ts +52 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.d.ts.map +1 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.js +6 -0
- package/api/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.js.map +1 -0
- package/api/resources/publishedSchemas/client/requests/index.d.ts +8 -0
- package/api/resources/publishedSchemas/client/requests/index.d.ts.map +1 -0
- package/api/resources/publishedSchemas/client/requests/index.js +3 -0
- package/api/resources/publishedSchemas/client/requests/index.js.map +1 -0
- package/api/resources/publishedSchemas/index.d.ts +2 -0
- package/api/resources/publishedSchemas/index.d.ts.map +1 -0
- package/api/resources/publishedSchemas/index.js +18 -0
- package/api/resources/publishedSchemas/index.js.map +1 -0
- package/api/resources/schemas/client/Client.d.ts +42 -11
- package/api/resources/schemas/client/Client.d.ts.map +1 -1
- package/api/resources/schemas/client/Client.js +212 -47
- package/api/resources/schemas/client/Client.js.map +1 -1
- package/api/resources/schemas/client/requests/SchemaHistoryRequest.d.ts +1 -3
- package/api/resources/schemas/client/requests/SchemaHistoryRequest.d.ts.map +1 -1
- package/api/resources/schemas/client/requests/SchemaHistoryRequest.js.map +1 -1
- package/api/resources/schemas/client/requests/SchemaImportRequest.d.ts +25 -0
- package/api/resources/schemas/client/requests/SchemaImportRequest.d.ts.map +1 -0
- package/api/{types/DraftFieldFileValue.js → resources/schemas/client/requests/SchemaImportRequest.js} +1 -1
- package/api/resources/schemas/client/requests/SchemaImportRequest.js.map +1 -0
- package/api/resources/schemas/client/requests/SchemaLatestRequest.d.ts +1 -3
- package/api/resources/schemas/client/requests/SchemaLatestRequest.d.ts.map +1 -1
- package/api/resources/schemas/client/requests/SchemaLatestRequest.js.map +1 -1
- package/api/resources/schemas/client/requests/SchemaPublishRequest.d.ts +2 -4
- package/api/resources/schemas/client/requests/SchemaPublishRequest.d.ts.map +1 -1
- package/api/resources/schemas/client/requests/SchemaPublishRequest.js.map +1 -1
- package/api/resources/schemas/client/requests/SchemaRevisionRequest.d.ts +1 -3
- package/api/resources/schemas/client/requests/SchemaRevisionRequest.d.ts.map +1 -1
- package/api/resources/schemas/client/requests/SchemaRevisionRequest.js.map +1 -1
- package/api/resources/schemas/client/requests/SchemaUpdateRequest.d.ts +1 -6
- package/api/resources/schemas/client/requests/SchemaUpdateRequest.d.ts.map +1 -1
- package/api/resources/schemas/client/requests/SchemaUpdateRequest.js.map +1 -1
- package/api/resources/schemas/client/requests/index.d.ts +1 -0
- package/api/resources/schemas/client/requests/index.d.ts.map +1 -1
- package/api/resources/schemas/client/requests/index.js.map +1 -1
- package/api/types/ArrayClaimValue.d.ts +12 -0
- package/api/types/ArrayClaimValue.d.ts.map +1 -0
- package/api/types/{DraftFieldDateValue.js → ArrayClaimValue.js} +1 -1
- package/api/types/ArrayClaimValue.js.map +1 -0
- package/api/types/BooleanClaimValue.d.ts +11 -0
- package/api/types/BooleanClaimValue.d.ts.map +1 -0
- package/api/types/{DraftFieldLinkValue.js → BooleanClaimValue.js} +1 -1
- package/api/types/BooleanClaimValue.js.map +1 -0
- package/api/types/ClaimsSchema.d.ts +6 -2
- package/api/types/ClaimsSchema.d.ts.map +1 -1
- package/api/types/ClaimsSchema.js.map +1 -1
- package/api/types/ClaimsSchemaFieldLinkValue.d.ts +2 -1
- package/api/types/ClaimsSchemaFieldLinkValue.d.ts.map +1 -1
- package/api/types/ClaimsSchemaFieldLinkValue.js.map +1 -1
- package/api/types/ClaimsSchemaFieldLinkValueLinkType.d.ts +11 -0
- package/api/types/ClaimsSchemaFieldLinkValueLinkType.d.ts.map +1 -0
- package/api/types/ClaimsSchemaFieldLinkValueLinkType.js +10 -0
- package/api/types/ClaimsSchemaFieldLinkValueLinkType.js.map +1 -0
- package/api/types/ClaimsSchemaFieldStructOptionalValue.d.ts +27 -0
- package/api/types/ClaimsSchemaFieldStructOptionalValue.d.ts.map +1 -0
- package/api/types/ClaimsSchemaFieldStructOptionalValue.js +6 -0
- package/api/types/ClaimsSchemaFieldStructOptionalValue.js.map +1 -0
- package/api/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.d.ts +35 -0
- package/api/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.d.ts.map +1 -0
- package/api/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.js +6 -0
- package/api/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.js.map +1 -0
- package/api/types/ClaimsSchemaFieldStructValue.d.ts +7 -1
- package/api/types/ClaimsSchemaFieldStructValue.d.ts.map +1 -1
- package/api/types/ClaimsSchemaFieldStructValue.js.map +1 -1
- package/api/types/ClaimsSchemaOptional.d.ts +20 -0
- package/api/types/ClaimsSchemaOptional.d.ts.map +1 -0
- package/api/types/ClaimsSchemaOptional.js +6 -0
- package/api/types/ClaimsSchemaOptional.js.map +1 -0
- package/api/types/ClaimsSchemaOptionalFieldsItem.d.ts +35 -0
- package/api/types/ClaimsSchemaOptionalFieldsItem.d.ts.map +1 -0
- package/api/types/ClaimsSchemaOptionalFieldsItem.js +6 -0
- package/api/types/ClaimsSchemaOptionalFieldsItem.js.map +1 -0
- package/api/types/CredentialClaimLinkedCredentialValue.d.ts +13 -0
- package/api/types/CredentialClaimLinkedCredentialValue.d.ts.map +1 -0
- package/api/types/CredentialClaimLinkedCredentialValue.js +6 -0
- package/api/types/CredentialClaimLinkedCredentialValue.js.map +1 -0
- package/api/types/CredentialClaimLinkedFileValue.d.ts +13 -0
- package/api/types/CredentialClaimLinkedFileValue.d.ts.map +1 -0
- package/api/types/CredentialClaimLinkedFileValue.js +6 -0
- package/api/types/CredentialClaimLinkedFileValue.js.map +1 -0
- package/api/types/CredentialClaimValue.d.ts +38 -0
- package/api/types/CredentialClaimValue.d.ts.map +1 -0
- package/api/types/CredentialClaimValue.js +6 -0
- package/api/types/CredentialClaimValue.js.map +1 -0
- package/api/types/CredentialClaimValues.d.ts +9 -0
- package/api/types/CredentialClaimValues.d.ts.map +1 -0
- package/api/types/CredentialClaimValues.js +6 -0
- package/api/types/CredentialClaimValues.js.map +1 -0
- package/api/types/CredentialSchema.d.ts +7 -2
- package/api/types/CredentialSchema.d.ts.map +1 -1
- package/api/types/CredentialSchema.js.map +1 -1
- package/api/types/CredentialSchemaCreate.d.ts +1 -1
- package/api/types/CredentialSchemaCreate.d.ts.map +1 -1
- package/api/types/CredentialSchemaCreate.js.map +1 -1
- package/api/types/CredentialSchemaUpdate.d.ts +1 -1
- package/api/types/CredentialSchemaUpdate.d.ts.map +1 -1
- package/api/types/CredentialSchemaUpdate.js.map +1 -1
- package/api/types/DateClaimValue.d.ts +11 -0
- package/api/types/DateClaimValue.d.ts.map +1 -0
- package/api/types/{DraftEnumValue.js → DateClaimValue.js} +1 -1
- package/api/types/DateClaimValue.js.map +1 -0
- package/api/types/DateTimeClaimValue.d.ts +11 -0
- package/api/types/DateTimeClaimValue.d.ts.map +1 -0
- package/api/types/DateTimeClaimValue.js +6 -0
- package/api/types/DateTimeClaimValue.js.map +1 -0
- package/api/types/Draft.d.ts +8 -4
- package/api/types/Draft.d.ts.map +1 -1
- package/api/types/Draft.js.map +1 -1
- package/api/types/DraftCreate.d.ts +7 -3
- package/api/types/DraftCreate.d.ts.map +1 -1
- package/api/types/DraftCreate.js.map +1 -1
- package/api/types/DraftCreateMetaSchema.d.ts +12 -0
- package/api/types/DraftCreateMetaSchema.d.ts.map +1 -0
- package/api/types/DraftCreateMetaSchema.js +6 -0
- package/api/types/DraftCreateMetaSchema.js.map +1 -0
- package/api/types/DraftUpdate.d.ts +2 -2
- package/api/types/DraftUpdate.d.ts.map +1 -1
- package/api/types/DraftUpdate.js.map +1 -1
- package/api/types/ErrorDetail.d.ts +1 -0
- package/api/types/ErrorDetail.d.ts.map +1 -1
- package/api/types/ErrorDetail.js.map +1 -1
- package/api/types/FileClaimValue.d.ts +12 -0
- package/api/types/FileClaimValue.d.ts.map +1 -0
- package/api/types/FileClaimValue.js +6 -0
- package/api/types/FileClaimValue.js.map +1 -0
- package/api/types/LinkClaimValue.d.ts +12 -0
- package/api/types/LinkClaimValue.d.ts.map +1 -0
- package/api/types/LinkClaimValue.js +6 -0
- package/api/types/LinkClaimValue.js.map +1 -0
- package/api/types/ListPublishedCredentialSchema.d.ts +12 -0
- package/api/types/ListPublishedCredentialSchema.d.ts.map +1 -0
- package/api/types/ListPublishedCredentialSchema.js +6 -0
- package/api/types/ListPublishedCredentialSchema.js.map +1 -0
- package/api/types/MetaSchema.d.ts +16 -0
- package/api/types/MetaSchema.d.ts.map +1 -0
- package/api/types/{DraftSchema.js → MetaSchema.js} +1 -1
- package/api/types/MetaSchema.js.map +1 -0
- package/api/types/NumberClaimValue.d.ts +11 -0
- package/api/types/NumberClaimValue.d.ts.map +1 -0
- package/api/types/NumberClaimValue.js +6 -0
- package/api/types/NumberClaimValue.js.map +1 -0
- package/api/types/ProblemInternalServerError.d.ts +1 -1
- package/api/types/ProblemInternalServerError.d.ts.map +1 -1
- package/api/types/ProblemInternalServerError.js.map +1 -1
- package/api/types/ProblemInternalServerErrorType.d.ts +11 -0
- package/api/types/ProblemInternalServerErrorType.d.ts.map +1 -0
- package/api/types/ProblemInternalServerErrorType.js +10 -0
- package/api/types/ProblemInternalServerErrorType.js.map +1 -0
- package/api/types/PublishedCredentialSchema.d.ts +12 -0
- package/api/types/PublishedCredentialSchema.d.ts.map +1 -1
- package/api/types/PublishedCredentialSchema.js.map +1 -1
- package/api/types/PublishedSchemaBaseFilter.d.ts +27 -0
- package/api/types/PublishedSchemaBaseFilter.d.ts.map +1 -0
- package/api/types/PublishedSchemaBaseFilter.js +6 -0
- package/api/types/PublishedSchemaBaseFilter.js.map +1 -0
- package/api/types/PublishedSchemaBaseFilterAnnotationsItem.d.ts +20 -0
- package/api/types/PublishedSchemaBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/api/types/PublishedSchemaBaseFilterAnnotationsItem.js +6 -0
- package/api/types/PublishedSchemaBaseFilterAnnotationsItem.js.map +1 -0
- package/api/types/PublishedSchemaBaseFilterCreatedAt.d.ts +26 -0
- package/api/types/PublishedSchemaBaseFilterCreatedAt.d.ts.map +1 -0
- package/api/types/PublishedSchemaBaseFilterCreatedAt.js +6 -0
- package/api/types/PublishedSchemaBaseFilterCreatedAt.js.map +1 -0
- package/api/types/PublishedSchemaBaseFilterDeletedAt.d.ts +32 -0
- package/api/types/PublishedSchemaBaseFilterDeletedAt.d.ts.map +1 -0
- package/api/types/PublishedSchemaBaseFilterDeletedAt.js +6 -0
- package/api/types/PublishedSchemaBaseFilterDeletedAt.js.map +1 -0
- package/api/types/{SchemaFilterPublicationEtag.d.ts → PublishedSchemaBaseFilterEtag.d.ts} +6 -3
- package/api/types/PublishedSchemaBaseFilterEtag.d.ts.map +1 -0
- package/api/types/PublishedSchemaBaseFilterEtag.js +6 -0
- package/api/types/PublishedSchemaBaseFilterEtag.js.map +1 -0
- package/api/types/PublishedSchemaBaseFilterId.d.ts +23 -0
- package/api/types/PublishedSchemaBaseFilterId.d.ts.map +1 -0
- package/api/types/PublishedSchemaBaseFilterId.js +6 -0
- package/api/types/PublishedSchemaBaseFilterId.js.map +1 -0
- package/api/types/PublishedSchemaBaseFilterLabelsItem.d.ts +20 -0
- package/api/types/PublishedSchemaBaseFilterLabelsItem.d.ts.map +1 -0
- package/api/types/PublishedSchemaBaseFilterLabelsItem.js +6 -0
- package/api/types/PublishedSchemaBaseFilterLabelsItem.js.map +1 -0
- package/api/types/PublishedSchemaBaseFilterModifiedAt.d.ts +26 -0
- package/api/types/PublishedSchemaBaseFilterModifiedAt.d.ts.map +1 -0
- package/api/types/PublishedSchemaBaseFilterModifiedAt.js +6 -0
- package/api/types/PublishedSchemaBaseFilterModifiedAt.js.map +1 -0
- package/api/types/PublishedSchemaBaseFilterRevision.d.ts +38 -0
- package/api/types/PublishedSchemaBaseFilterRevision.d.ts.map +1 -0
- package/api/types/{CredentialSchemaPublicationOutput.js → PublishedSchemaBaseFilterRevision.js} +1 -1
- package/api/types/PublishedSchemaBaseFilterRevision.js.map +1 -0
- package/api/types/PublishedSchemaFilter.d.ts +9 -0
- package/api/types/PublishedSchemaFilter.d.ts.map +1 -0
- package/api/types/PublishedSchemaFilter.js +6 -0
- package/api/types/PublishedSchemaFilter.js.map +1 -0
- package/api/types/PublishedSchemaFilterData.d.ts +14 -0
- package/api/types/PublishedSchemaFilterData.d.ts.map +1 -0
- package/api/types/PublishedSchemaFilterData.js +6 -0
- package/api/types/PublishedSchemaFilterData.js.map +1 -0
- package/api/types/PublishedSchemaFilterDataDigestMultibase.d.ts +20 -0
- package/api/types/PublishedSchemaFilterDataDigestMultibase.d.ts.map +1 -0
- package/api/types/PublishedSchemaFilterDataDigestMultibase.js +6 -0
- package/api/types/PublishedSchemaFilterDataDigestMultibase.js.map +1 -0
- package/api/types/{SchemaFilterPublicationPublishedAt.d.ts → PublishedSchemaFilterDataPublishedAt.d.ts} +3 -3
- package/api/types/PublishedSchemaFilterDataPublishedAt.d.ts.map +1 -0
- package/api/types/PublishedSchemaFilterDataPublishedAt.js +6 -0
- package/api/types/PublishedSchemaFilterDataPublishedAt.js.map +1 -0
- package/api/types/{SchemaFilterPublicationSlug.d.ts → PublishedSchemaFilterDataSlug.d.ts} +3 -3
- package/api/types/PublishedSchemaFilterDataSlug.d.ts.map +1 -0
- package/api/types/PublishedSchemaFilterDataSlug.js +6 -0
- package/api/types/PublishedSchemaFilterDataSlug.js.map +1 -0
- package/api/types/{SchemaFilterPublicationVersion.d.ts → PublishedSchemaFilterDataVersion.d.ts} +3 -3
- package/api/types/PublishedSchemaFilterDataVersion.d.ts.map +1 -0
- package/api/types/PublishedSchemaFilterDataVersion.js +6 -0
- package/api/types/PublishedSchemaFilterDataVersion.js.map +1 -0
- package/api/types/PublishedSchemaSort.d.ts +14 -0
- package/api/types/PublishedSchemaSort.d.ts.map +1 -0
- package/api/types/PublishedSchemaSort.js +6 -0
- package/api/types/PublishedSchemaSort.js.map +1 -0
- package/api/types/PublishedSchemaSortField.d.ts +20 -0
- package/api/types/PublishedSchemaSortField.d.ts.map +1 -0
- package/api/types/PublishedSchemaSortField.js +19 -0
- package/api/types/PublishedSchemaSortField.js.map +1 -0
- package/api/types/PublishedSchemaSortOrder.d.ts +12 -0
- package/api/types/PublishedSchemaSortOrder.d.ts.map +1 -0
- package/api/types/PublishedSchemaSortOrder.js +11 -0
- package/api/types/PublishedSchemaSortOrder.js.map +1 -0
- package/api/types/ResourcePublishedCredentialSchema.d.ts +30 -0
- package/api/types/ResourcePublishedCredentialSchema.d.ts.map +1 -0
- package/api/types/ResourcePublishedCredentialSchema.js +6 -0
- package/api/types/ResourcePublishedCredentialSchema.js.map +1 -0
- package/api/types/SchemaFilterData.d.ts +1 -1
- package/api/types/SchemaFilterData.d.ts.map +1 -1
- package/api/types/SchemaFilterData.js.map +1 -1
- package/api/types/SchemaFilterDataDigestMultibase.d.ts +20 -0
- package/api/types/SchemaFilterDataDigestMultibase.d.ts.map +1 -0
- package/api/types/SchemaFilterDataDigestMultibase.js +6 -0
- package/api/types/SchemaFilterDataDigestMultibase.js.map +1 -0
- package/api/types/SchemaImportDataRequest.d.ts +15 -0
- package/api/types/SchemaImportDataRequest.d.ts.map +1 -0
- package/api/types/{DraftFieldBooleanValue.js → SchemaImportDataRequest.js} +1 -1
- package/api/types/SchemaImportDataRequest.js.map +1 -0
- package/api/types/SchemaSortField.d.ts +2 -6
- package/api/types/SchemaSortField.d.ts.map +1 -1
- package/api/types/SchemaSortField.js +1 -5
- package/api/types/SchemaSortField.js.map +1 -1
- package/api/types/StringClaimValue.d.ts +11 -0
- package/api/types/StringClaimValue.d.ts.map +1 -0
- package/api/types/StringClaimValue.js +6 -0
- package/api/types/StringClaimValue.js.map +1 -0
- package/api/types/StructClaimValue.d.ts +12 -0
- package/api/types/StructClaimValue.d.ts.map +1 -0
- package/api/types/StructClaimValue.js +6 -0
- package/api/types/StructClaimValue.js.map +1 -0
- package/api/types/index.d.ts +43 -19
- package/api/types/index.d.ts.map +1 -1
- package/api/types/index.js +43 -19
- package/api/types/index.js.map +1 -1
- package/core/fetcher/Fetcher.d.ts +1 -1
- package/core/fetcher/Fetcher.d.ts.map +1 -1
- package/core/fetcher/Fetcher.js.map +1 -1
- package/core/fetcher/index.d.ts +1 -1
- package/core/fetcher/index.d.ts.map +1 -1
- package/core/fetcher/index.js.map +1 -1
- package/core/schemas/utils/maybeSkipValidation.js +1 -1
- package/core/schemas/utils/maybeSkipValidation.js.map +1 -1
- package/core/url/join.d.ts.map +1 -1
- package/core/url/join.js +23 -3
- package/core/url/join.js.map +1 -1
- package/documents/credential/claims.d.ts +11 -7
- package/documents/credential/claims.d.ts.map +1 -1
- package/documents/credential/claims.js +187 -38
- package/documents/credential/claims.js.map +1 -1
- package/documents/credential/claims.spec.js +484 -165
- package/documents/credential/claims.spec.js.map +1 -1
- package/documents/credential/testdata/udt.d.ts +50 -0
- package/documents/credential/testdata/udt.d.ts.map +1 -1
- package/documents/credential/testdata/udt.js +226 -6
- package/documents/credential/testdata/udt.js.map +1 -1
- package/documents/credential/types.d.ts +3 -3
- package/documents/credential/types.d.ts.map +1 -1
- package/documents/credential/types.js.map +1 -1
- package/documents/credential.d.ts +11 -5
- package/documents/credential.d.ts.map +1 -1
- package/documents/credential.js +151 -32
- package/documents/credential.js.map +1 -1
- package/documents/decorators.d.ts +40 -7
- package/documents/decorators.d.ts.map +1 -1
- package/documents/decorators.js +105 -20
- package/documents/decorators.js.map +1 -1
- package/documents/models.d.ts +5 -5
- package/documents/models.d.ts.map +1 -1
- package/documents/models.js +20 -16
- package/documents/models.js.map +1 -1
- package/documents/models.spec.js +1 -5
- package/documents/models.spec.js.map +1 -1
- package/documents/presentation.d.ts.map +1 -1
- package/documents/presentation.js +1 -0
- package/documents/presentation.js.map +1 -1
- package/documents/types.d.ts +8 -2
- package/documents/types.d.ts.map +1 -1
- package/documents/types.js +8 -1
- package/documents/types.js.map +1 -1
- package/documents/utils/error.d.ts +2 -0
- package/documents/utils/error.d.ts.map +1 -1
- package/documents/utils/error.js +2 -0
- package/documents/utils/error.js.map +1 -1
- package/documents/utils/error.spec.js +1 -1
- package/documents/utils/error.spec.js.map +1 -1
- package/package.json +7 -3
- package/reference.md +1499 -166
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.d.ts.map +1 -1
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/index.js.map +1 -1
- package/serialization/resources/presentations/client/requests/PresentationExportRequest.d.ts +2 -0
- package/serialization/resources/presentations/client/requests/PresentationExportRequest.d.ts.map +1 -1
- package/serialization/resources/presentations/client/requests/PresentationExportRequest.js +2 -0
- package/serialization/resources/presentations/client/requests/PresentationExportRequest.js.map +1 -1
- package/serialization/resources/presentations/client/requests/PresentationIssueRequest.d.ts +2 -0
- package/serialization/resources/presentations/client/requests/PresentationIssueRequest.d.ts.map +1 -1
- package/serialization/resources/presentations/client/requests/PresentationIssueRequest.js +2 -0
- package/serialization/resources/presentations/client/requests/PresentationIssueRequest.js.map +1 -1
- package/serialization/resources/presentations/types/PresentationExportRequestCompositionType.d.ts +11 -0
- package/serialization/resources/presentations/types/PresentationExportRequestCompositionType.d.ts.map +1 -0
- package/serialization/resources/presentations/types/PresentationExportRequestCompositionType.js +42 -0
- package/serialization/resources/presentations/types/PresentationExportRequestCompositionType.js.map +1 -0
- package/serialization/resources/presentations/types/PresentationIssueRequestCompositionType.d.ts +11 -0
- package/serialization/resources/presentations/types/PresentationIssueRequestCompositionType.d.ts.map +1 -0
- package/serialization/resources/presentations/types/PresentationIssueRequestCompositionType.js +42 -0
- package/serialization/resources/presentations/types/PresentationIssueRequestCompositionType.js.map +1 -0
- package/serialization/resources/presentations/types/index.d.ts +2 -0
- package/serialization/resources/presentations/types/index.d.ts.map +1 -1
- package/serialization/resources/presentations/types/index.js +2 -0
- package/serialization/resources/presentations/types/index.js.map +1 -1
- package/serialization/resources/publishedSchemas/client/index.d.ts +2 -0
- package/serialization/resources/publishedSchemas/client/index.d.ts.map +1 -0
- package/serialization/resources/publishedSchemas/client/index.js +18 -0
- package/serialization/resources/publishedSchemas/client/index.js.map +1 -0
- package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.d.ts +16 -0
- package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.d.ts.map +1 -0
- package/serialization/{types/DraftFieldDateTimeValue.js → resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.js} +8 -9
- package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaSearchRequest.js.map +1 -0
- package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.d.ts +13 -0
- package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.d.ts.map +1 -0
- package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.js +44 -0
- package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateAnnotationsRequest.js.map +1 -0
- package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.d.ts +13 -0
- package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.d.ts.map +1 -0
- package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.js +44 -0
- package/serialization/resources/publishedSchemas/client/requests/PublishedSchemaUpdateLabelsRequest.js.map +1 -0
- package/serialization/resources/publishedSchemas/client/requests/index.d.ts +4 -0
- package/serialization/resources/publishedSchemas/client/requests/index.d.ts.map +1 -0
- package/serialization/resources/publishedSchemas/client/requests/index.js +10 -0
- package/serialization/resources/publishedSchemas/client/requests/index.js.map +1 -0
- package/serialization/resources/publishedSchemas/index.d.ts +2 -0
- package/serialization/resources/publishedSchemas/index.d.ts.map +1 -0
- package/serialization/resources/publishedSchemas/index.js +18 -0
- package/serialization/resources/publishedSchemas/index.js.map +1 -0
- package/serialization/resources/schemas/client/requests/SchemaImportRequest.d.ts +16 -0
- package/serialization/resources/schemas/client/requests/SchemaImportRequest.d.ts.map +1 -0
- package/serialization/{types/DraftFieldBooleanValue.js → resources/schemas/client/requests/SchemaImportRequest.js} +8 -9
- package/serialization/resources/schemas/client/requests/SchemaImportRequest.js.map +1 -0
- package/serialization/resources/schemas/client/requests/SchemaPublishRequest.d.ts +1 -1
- package/serialization/resources/schemas/client/requests/SchemaPublishRequest.d.ts.map +1 -1
- package/serialization/resources/schemas/client/requests/SchemaPublishRequest.js +1 -1
- package/serialization/resources/schemas/client/requests/SchemaPublishRequest.js.map +1 -1
- package/serialization/resources/schemas/client/requests/index.d.ts +1 -0
- package/serialization/resources/schemas/client/requests/index.d.ts.map +1 -1
- package/serialization/resources/schemas/client/requests/index.js +3 -1
- package/serialization/resources/schemas/client/requests/index.js.map +1 -1
- package/serialization/types/ArrayClaimValue.d.ts +13 -0
- package/serialization/types/ArrayClaimValue.d.ts.map +1 -0
- package/serialization/types/{DraftFieldFileValue.js → ArrayClaimValue.js} +5 -7
- package/serialization/types/ArrayClaimValue.js.map +1 -0
- package/serialization/types/BooleanClaimValue.d.ts +13 -0
- package/serialization/types/BooleanClaimValue.d.ts.map +1 -0
- package/serialization/types/{CredentialSchemaPublicationOutput.js → BooleanClaimValue.js} +4 -8
- package/serialization/types/BooleanClaimValue.js.map +1 -0
- package/serialization/types/ClaimsSchema.d.ts +2 -0
- package/serialization/types/ClaimsSchema.d.ts.map +1 -1
- package/serialization/types/ClaimsSchema.js +2 -0
- package/serialization/types/ClaimsSchema.js.map +1 -1
- package/serialization/types/ClaimsSchemaFieldLinkValue.d.ts +2 -1
- package/serialization/types/ClaimsSchemaFieldLinkValue.d.ts.map +1 -1
- package/serialization/types/ClaimsSchemaFieldLinkValue.js +2 -1
- package/serialization/types/ClaimsSchemaFieldLinkValue.js.map +1 -1
- package/serialization/types/ClaimsSchemaFieldLinkValueLinkType.d.ts +11 -0
- package/serialization/types/ClaimsSchemaFieldLinkValueLinkType.d.ts.map +1 -0
- package/serialization/types/ClaimsSchemaFieldLinkValueLinkType.js +42 -0
- package/serialization/types/ClaimsSchemaFieldLinkValueLinkType.js.map +1 -0
- package/serialization/types/ClaimsSchemaFieldStructOptionalValue.d.ts +21 -0
- package/serialization/types/ClaimsSchemaFieldStructOptionalValue.d.ts.map +1 -0
- package/serialization/types/{DraftFieldStructValue.js → ClaimsSchemaFieldStructOptionalValue.js} +10 -6
- package/serialization/types/ClaimsSchemaFieldStructOptionalValue.js.map +1 -0
- package/serialization/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.d.ts +42 -0
- package/serialization/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.d.ts.map +1 -0
- package/serialization/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.js +64 -0
- package/serialization/types/ClaimsSchemaFieldStructOptionalValueFieldsItem.js.map +1 -0
- package/serialization/types/ClaimsSchemaFieldStructValue.d.ts +3 -0
- package/serialization/types/ClaimsSchemaFieldStructValue.d.ts.map +1 -1
- package/serialization/types/ClaimsSchemaFieldStructValue.js +3 -0
- package/serialization/types/ClaimsSchemaFieldStructValue.js.map +1 -1
- package/serialization/types/ClaimsSchemaOptional.d.ts +18 -0
- package/serialization/types/ClaimsSchemaOptional.d.ts.map +1 -0
- package/serialization/types/ClaimsSchemaOptional.js +49 -0
- package/serialization/types/ClaimsSchemaOptional.js.map +1 -0
- package/serialization/types/ClaimsSchemaOptionalFieldsItem.d.ts +42 -0
- package/serialization/types/ClaimsSchemaOptionalFieldsItem.d.ts.map +1 -0
- package/serialization/types/{DraftFieldStructValueFieldsItem.js → ClaimsSchemaOptionalFieldsItem.js} +18 -18
- package/serialization/types/ClaimsSchemaOptionalFieldsItem.js.map +1 -0
- package/serialization/types/CredentialClaimLinkedCredentialValue.d.ts +14 -0
- package/serialization/types/CredentialClaimLinkedCredentialValue.d.ts.map +1 -0
- package/serialization/types/{DraftFieldDateValue.js → CredentialClaimLinkedCredentialValue.js} +5 -8
- package/serialization/types/CredentialClaimLinkedCredentialValue.js.map +1 -0
- package/serialization/types/CredentialClaimLinkedFileValue.d.ts +14 -0
- package/serialization/types/CredentialClaimLinkedFileValue.d.ts.map +1 -0
- package/serialization/types/CredentialClaimLinkedFileValue.js +45 -0
- package/serialization/types/CredentialClaimLinkedFileValue.js.map +1 -0
- package/serialization/types/CredentialClaimValue.d.ts +45 -0
- package/serialization/types/CredentialClaimValue.d.ts.map +1 -0
- package/serialization/types/{DraftSchemaFieldsItem.js → CredentialClaimValue.js} +19 -18
- package/serialization/types/CredentialClaimValue.js.map +1 -0
- package/serialization/types/CredentialClaimValues.d.ts +11 -0
- package/serialization/types/CredentialClaimValues.d.ts.map +1 -0
- package/serialization/types/CredentialClaimValues.js +43 -0
- package/serialization/types/CredentialClaimValues.js.map +1 -0
- package/serialization/types/CredentialSchema.d.ts +3 -4
- package/serialization/types/CredentialSchema.d.ts.map +1 -1
- package/serialization/types/CredentialSchema.js +3 -4
- package/serialization/types/CredentialSchema.js.map +1 -1
- package/serialization/types/CredentialSchemaCreate.d.ts +2 -2
- package/serialization/types/CredentialSchemaCreate.d.ts.map +1 -1
- package/serialization/types/CredentialSchemaCreate.js +2 -2
- package/serialization/types/CredentialSchemaCreate.js.map +1 -1
- package/serialization/types/CredentialSchemaUpdate.d.ts +2 -2
- package/serialization/types/CredentialSchemaUpdate.d.ts.map +1 -1
- package/serialization/types/CredentialSchemaUpdate.js +2 -2
- package/serialization/types/CredentialSchemaUpdate.js.map +1 -1
- package/serialization/types/{DraftEnumValue.d.ts → DateClaimValue.d.ts} +3 -4
- package/serialization/types/DateClaimValue.d.ts.map +1 -0
- package/serialization/types/{DraftEnumValue.js → DateClaimValue.js} +3 -4
- package/serialization/types/DateClaimValue.js.map +1 -0
- package/serialization/types/DateTimeClaimValue.d.ts +13 -0
- package/serialization/types/DateTimeClaimValue.d.ts.map +1 -0
- package/serialization/types/DateTimeClaimValue.js +44 -0
- package/serialization/types/DateTimeClaimValue.js.map +1 -0
- package/serialization/types/Draft.d.ts +4 -3
- package/serialization/types/Draft.d.ts.map +1 -1
- package/serialization/types/Draft.js +5 -3
- package/serialization/types/Draft.js.map +1 -1
- package/serialization/types/DraftCreate.d.ts +5 -3
- package/serialization/types/DraftCreate.d.ts.map +1 -1
- package/serialization/types/DraftCreate.js +6 -3
- package/serialization/types/DraftCreate.js.map +1 -1
- package/serialization/types/DraftCreateMetaSchema.d.ts +12 -0
- package/serialization/types/DraftCreateMetaSchema.d.ts.map +1 -0
- package/serialization/types/DraftCreateMetaSchema.js +43 -0
- package/serialization/types/DraftCreateMetaSchema.js.map +1 -0
- package/serialization/types/DraftUpdate.d.ts +1 -1
- package/serialization/types/DraftUpdate.d.ts.map +1 -1
- package/serialization/types/DraftUpdate.js +2 -1
- package/serialization/types/DraftUpdate.js.map +1 -1
- package/serialization/types/FileClaimValue.d.ts +14 -0
- package/serialization/types/FileClaimValue.d.ts.map +1 -0
- package/serialization/types/FileClaimValue.js +45 -0
- package/serialization/types/FileClaimValue.js.map +1 -0
- package/serialization/types/LinkClaimValue.d.ts +14 -0
- package/serialization/types/LinkClaimValue.d.ts.map +1 -0
- package/serialization/types/LinkClaimValue.js +45 -0
- package/serialization/types/LinkClaimValue.js.map +1 -0
- package/serialization/types/ListPublishedCredentialSchema.d.ts +14 -0
- package/serialization/types/ListPublishedCredentialSchema.d.ts.map +1 -0
- package/serialization/types/ListPublishedCredentialSchema.js +45 -0
- package/serialization/types/ListPublishedCredentialSchema.js.map +1 -0
- package/serialization/types/MetaSchema.d.ts +16 -0
- package/serialization/types/MetaSchema.d.ts.map +1 -0
- package/serialization/types/MetaSchema.js +47 -0
- package/serialization/types/MetaSchema.js.map +1 -0
- package/serialization/types/NumberClaimValue.d.ts +13 -0
- package/serialization/types/NumberClaimValue.d.ts.map +1 -0
- package/serialization/types/NumberClaimValue.js +44 -0
- package/serialization/types/NumberClaimValue.js.map +1 -0
- package/serialization/types/ProblemInternalServerError.d.ts +2 -1
- package/serialization/types/ProblemInternalServerError.d.ts.map +1 -1
- package/serialization/types/ProblemInternalServerError.js +2 -1
- package/serialization/types/ProblemInternalServerError.js.map +1 -1
- package/serialization/types/ProblemInternalServerErrorType.d.ts +11 -0
- package/serialization/types/ProblemInternalServerErrorType.d.ts.map +1 -0
- package/serialization/types/ProblemInternalServerErrorType.js +42 -0
- package/serialization/types/ProblemInternalServerErrorType.js.map +1 -0
- package/serialization/types/PublishedCredentialSchema.d.ts +4 -0
- package/serialization/types/PublishedCredentialSchema.d.ts.map +1 -1
- package/serialization/types/PublishedCredentialSchema.js +4 -0
- package/serialization/types/PublishedCredentialSchema.js.map +1 -1
- package/serialization/types/PublishedSchemaBaseFilter.d.ts +30 -0
- package/serialization/types/PublishedSchemaBaseFilter.d.ts.map +1 -0
- package/serialization/types/PublishedSchemaBaseFilter.js +61 -0
- package/serialization/types/PublishedSchemaBaseFilter.js.map +1 -0
- package/serialization/types/PublishedSchemaBaseFilterAnnotationsItem.d.ts +27 -0
- package/serialization/types/PublishedSchemaBaseFilterAnnotationsItem.d.ts.map +1 -0
- package/serialization/types/PublishedSchemaBaseFilterAnnotationsItem.js +56 -0
- package/serialization/types/PublishedSchemaBaseFilterAnnotationsItem.js.map +1 -0
- package/serialization/types/{SchemaFilterPublicationPublishedAt.d.ts → PublishedSchemaBaseFilterCreatedAt.d.ts} +4 -4
- package/serialization/types/{SchemaFilterPublicationPublishedAt.d.ts.map → PublishedSchemaBaseFilterCreatedAt.d.ts.map} +1 -1
- package/serialization/types/{SchemaFilterPublicationPublishedAt.js → PublishedSchemaBaseFilterCreatedAt.js} +3 -3
- package/serialization/types/{SchemaFilterPublicationPublishedAt.js.map → PublishedSchemaBaseFilterCreatedAt.js.map} +1 -1
- package/serialization/types/PublishedSchemaBaseFilterDeletedAt.d.ts +39 -0
- package/serialization/types/PublishedSchemaBaseFilterDeletedAt.d.ts.map +1 -0
- package/serialization/types/PublishedSchemaBaseFilterDeletedAt.js +62 -0
- package/serialization/types/PublishedSchemaBaseFilterDeletedAt.js.map +1 -0
- package/serialization/types/{SchemaFilterPublicationEtag.d.ts → PublishedSchemaBaseFilterEtag.d.ts} +4 -4
- package/serialization/types/PublishedSchemaBaseFilterEtag.d.ts.map +1 -0
- package/serialization/types/{SchemaFilterPublicationEtag.js → PublishedSchemaBaseFilterEtag.js} +3 -3
- package/serialization/types/PublishedSchemaBaseFilterEtag.js.map +1 -0
- package/serialization/types/PublishedSchemaBaseFilterId.d.ts +27 -0
- package/serialization/types/PublishedSchemaBaseFilterId.d.ts.map +1 -0
- package/serialization/types/{SchemaFilterPublicationUrl.js → PublishedSchemaBaseFilterId.js} +11 -11
- package/serialization/types/PublishedSchemaBaseFilterId.js.map +1 -0
- package/serialization/types/PublishedSchemaBaseFilterLabelsItem.d.ts +27 -0
- package/serialization/types/PublishedSchemaBaseFilterLabelsItem.d.ts.map +1 -0
- package/serialization/types/PublishedSchemaBaseFilterLabelsItem.js +56 -0
- package/serialization/types/PublishedSchemaBaseFilterLabelsItem.js.map +1 -0
- package/serialization/types/PublishedSchemaBaseFilterModifiedAt.d.ts +31 -0
- package/serialization/types/PublishedSchemaBaseFilterModifiedAt.d.ts.map +1 -0
- package/serialization/types/PublishedSchemaBaseFilterModifiedAt.js +58 -0
- package/serialization/types/PublishedSchemaBaseFilterModifiedAt.js.map +1 -0
- package/serialization/types/PublishedSchemaBaseFilterRevision.d.ts +47 -0
- package/serialization/types/PublishedSchemaBaseFilterRevision.d.ts.map +1 -0
- package/serialization/types/PublishedSchemaBaseFilterRevision.js +66 -0
- package/serialization/types/PublishedSchemaBaseFilterRevision.js.map +1 -0
- package/serialization/types/PublishedSchemaFilter.d.ts +12 -0
- package/serialization/types/PublishedSchemaFilter.d.ts.map +1 -0
- package/serialization/types/PublishedSchemaFilter.js +9 -0
- package/serialization/types/PublishedSchemaFilter.js.map +1 -0
- package/serialization/types/PublishedSchemaFilterData.d.ts +20 -0
- package/serialization/types/PublishedSchemaFilterData.d.ts.map +1 -0
- package/serialization/types/PublishedSchemaFilterData.js +51 -0
- package/serialization/types/PublishedSchemaFilterData.js.map +1 -0
- package/serialization/types/PublishedSchemaFilterDataDigestMultibase.d.ts +27 -0
- package/serialization/types/PublishedSchemaFilterDataDigestMultibase.d.ts.map +1 -0
- package/serialization/types/PublishedSchemaFilterDataDigestMultibase.js +56 -0
- package/serialization/types/PublishedSchemaFilterDataDigestMultibase.js.map +1 -0
- package/serialization/types/PublishedSchemaFilterDataPublishedAt.d.ts +31 -0
- package/serialization/types/PublishedSchemaFilterDataPublishedAt.d.ts.map +1 -0
- package/serialization/types/PublishedSchemaFilterDataPublishedAt.js +58 -0
- package/serialization/types/PublishedSchemaFilterDataPublishedAt.js.map +1 -0
- package/serialization/types/{SchemaFilterPublicationSlug.d.ts → PublishedSchemaFilterDataSlug.d.ts} +4 -4
- package/serialization/types/PublishedSchemaFilterDataSlug.d.ts.map +1 -0
- package/serialization/types/{SchemaFilterPublicationSlug.js → PublishedSchemaFilterDataSlug.js} +3 -3
- package/serialization/types/PublishedSchemaFilterDataSlug.js.map +1 -0
- package/serialization/types/{SchemaFilterPublicationVersion.d.ts → PublishedSchemaFilterDataVersion.d.ts} +4 -4
- package/serialization/types/PublishedSchemaFilterDataVersion.d.ts.map +1 -0
- package/serialization/types/{SchemaFilterPublicationVersion.js → PublishedSchemaFilterDataVersion.js} +3 -3
- package/serialization/types/PublishedSchemaFilterDataVersion.js.map +1 -0
- package/serialization/types/PublishedSchemaSort.d.ts +16 -0
- package/serialization/types/PublishedSchemaSort.d.ts.map +1 -0
- package/serialization/types/PublishedSchemaSort.js +47 -0
- package/serialization/types/PublishedSchemaSort.js.map +1 -0
- package/serialization/types/PublishedSchemaSortField.d.ts +11 -0
- package/serialization/types/PublishedSchemaSortField.d.ts.map +1 -0
- package/serialization/types/PublishedSchemaSortField.js +53 -0
- package/serialization/types/PublishedSchemaSortField.js.map +1 -0
- package/serialization/types/PublishedSchemaSortOrder.d.ts +11 -0
- package/serialization/types/PublishedSchemaSortOrder.d.ts.map +1 -0
- package/serialization/types/PublishedSchemaSortOrder.js +42 -0
- package/serialization/types/PublishedSchemaSortOrder.js.map +1 -0
- package/serialization/types/ResourcePublishedCredentialSchema.d.ts +24 -0
- package/serialization/types/ResourcePublishedCredentialSchema.d.ts.map +1 -0
- package/serialization/types/ResourcePublishedCredentialSchema.js +55 -0
- package/serialization/types/ResourcePublishedCredentialSchema.js.map +1 -0
- package/serialization/types/SchemaFilterData.d.ts +2 -2
- package/serialization/types/SchemaFilterData.d.ts.map +1 -1
- package/serialization/types/SchemaFilterData.js +2 -2
- package/serialization/types/SchemaFilterData.js.map +1 -1
- package/serialization/types/SchemaFilterDataDigestMultibase.d.ts +27 -0
- package/serialization/types/SchemaFilterDataDigestMultibase.d.ts.map +1 -0
- package/serialization/types/SchemaFilterDataDigestMultibase.js +56 -0
- package/serialization/types/SchemaFilterDataDigestMultibase.js.map +1 -0
- package/serialization/types/SchemaImportDataRequest.d.ts +16 -0
- package/serialization/types/SchemaImportDataRequest.d.ts.map +1 -0
- package/serialization/types/SchemaImportDataRequest.js +47 -0
- package/serialization/types/SchemaImportDataRequest.js.map +1 -0
- package/serialization/types/SchemaSortField.d.ts +1 -1
- package/serialization/types/SchemaSortField.d.ts.map +1 -1
- package/serialization/types/SchemaSortField.js +1 -5
- package/serialization/types/SchemaSortField.js.map +1 -1
- package/serialization/types/StringClaimValue.d.ts +13 -0
- package/serialization/types/StringClaimValue.d.ts.map +1 -0
- package/serialization/types/StringClaimValue.js +44 -0
- package/serialization/types/StringClaimValue.js.map +1 -0
- package/serialization/types/StructClaimValue.d.ts +13 -0
- package/serialization/types/StructClaimValue.d.ts.map +1 -0
- package/serialization/types/StructClaimValue.js +45 -0
- package/serialization/types/StructClaimValue.js.map +1 -0
- package/serialization/types/index.d.ts +43 -19
- package/serialization/types/index.d.ts.map +1 -1
- package/serialization/types/index.js +43 -19
- package/serialization/types/index.js.map +1 -1
- package/api/types/CredentialSchemaPublicationOutput.d.ts +0 -27
- package/api/types/CredentialSchemaPublicationOutput.d.ts.map +0 -1
- package/api/types/CredentialSchemaPublicationOutput.js.map +0 -1
- package/api/types/DraftEnumValue.d.ts +0 -13
- package/api/types/DraftEnumValue.d.ts.map +0 -1
- package/api/types/DraftEnumValue.js.map +0 -1
- package/api/types/DraftFieldBooleanValue.d.ts +0 -18
- package/api/types/DraftFieldBooleanValue.d.ts.map +0 -1
- package/api/types/DraftFieldBooleanValue.js.map +0 -1
- package/api/types/DraftFieldDateTimeValue.d.ts +0 -18
- package/api/types/DraftFieldDateTimeValue.d.ts.map +0 -1
- package/api/types/DraftFieldDateTimeValue.js.map +0 -1
- package/api/types/DraftFieldDateValue.d.ts +0 -18
- package/api/types/DraftFieldDateValue.d.ts.map +0 -1
- package/api/types/DraftFieldDateValue.js.map +0 -1
- package/api/types/DraftFieldFileValue.d.ts +0 -16
- package/api/types/DraftFieldFileValue.d.ts.map +0 -1
- package/api/types/DraftFieldFileValue.js.map +0 -1
- package/api/types/DraftFieldLinkValue.d.ts +0 -18
- package/api/types/DraftFieldLinkValue.d.ts.map +0 -1
- package/api/types/DraftFieldLinkValue.js.map +0 -1
- package/api/types/DraftFieldNumberValue.d.ts +0 -18
- package/api/types/DraftFieldNumberValue.d.ts.map +0 -1
- package/api/types/DraftFieldNumberValue.js +0 -6
- package/api/types/DraftFieldNumberValue.js.map +0 -1
- package/api/types/DraftFieldStringValue.d.ts +0 -21
- package/api/types/DraftFieldStringValue.d.ts.map +0 -1
- package/api/types/DraftFieldStringValue.js +0 -6
- package/api/types/DraftFieldStringValue.js.map +0 -1
- package/api/types/DraftFieldStructValue.d.ts +0 -23
- package/api/types/DraftFieldStructValue.d.ts.map +0 -1
- package/api/types/DraftFieldStructValue.js +0 -6
- package/api/types/DraftFieldStructValue.js.map +0 -1
- package/api/types/DraftFieldStructValueFieldsItem.d.ts +0 -35
- package/api/types/DraftFieldStructValueFieldsItem.d.ts.map +0 -1
- package/api/types/DraftFieldStructValueFieldsItem.js +0 -6
- package/api/types/DraftFieldStructValueFieldsItem.js.map +0 -1
- package/api/types/DraftSchema.d.ts +0 -49
- package/api/types/DraftSchema.d.ts.map +0 -1
- package/api/types/DraftSchema.js.map +0 -1
- package/api/types/DraftSchemaFieldsItem.d.ts +0 -35
- package/api/types/DraftSchemaFieldsItem.d.ts.map +0 -1
- package/api/types/DraftSchemaFieldsItem.js +0 -6
- package/api/types/DraftSchemaFieldsItem.js.map +0 -1
- package/api/types/SchemaFilterPublication.d.ts +0 -15
- package/api/types/SchemaFilterPublication.d.ts.map +0 -1
- package/api/types/SchemaFilterPublication.js +0 -6
- package/api/types/SchemaFilterPublication.js.map +0 -1
- package/api/types/SchemaFilterPublicationEtag.d.ts.map +0 -1
- package/api/types/SchemaFilterPublicationEtag.js +0 -6
- package/api/types/SchemaFilterPublicationEtag.js.map +0 -1
- package/api/types/SchemaFilterPublicationPublishedAt.d.ts.map +0 -1
- package/api/types/SchemaFilterPublicationPublishedAt.js +0 -6
- package/api/types/SchemaFilterPublicationPublishedAt.js.map +0 -1
- package/api/types/SchemaFilterPublicationSlug.d.ts.map +0 -1
- package/api/types/SchemaFilterPublicationSlug.js +0 -6
- package/api/types/SchemaFilterPublicationSlug.js.map +0 -1
- package/api/types/SchemaFilterPublicationUrl.d.ts +0 -20
- package/api/types/SchemaFilterPublicationUrl.d.ts.map +0 -1
- package/api/types/SchemaFilterPublicationUrl.js +0 -6
- package/api/types/SchemaFilterPublicationUrl.js.map +0 -1
- package/api/types/SchemaFilterPublicationVersion.d.ts.map +0 -1
- package/api/types/SchemaFilterPublicationVersion.js +0 -6
- package/api/types/SchemaFilterPublicationVersion.js.map +0 -1
- package/serialization/types/CredentialSchemaPublicationOutput.d.ts +0 -17
- package/serialization/types/CredentialSchemaPublicationOutput.d.ts.map +0 -1
- package/serialization/types/CredentialSchemaPublicationOutput.js.map +0 -1
- package/serialization/types/DraftEnumValue.d.ts.map +0 -1
- package/serialization/types/DraftEnumValue.js.map +0 -1
- package/serialization/types/DraftFieldBooleanValue.d.ts +0 -17
- package/serialization/types/DraftFieldBooleanValue.d.ts.map +0 -1
- package/serialization/types/DraftFieldBooleanValue.js.map +0 -1
- package/serialization/types/DraftFieldDateTimeValue.d.ts +0 -17
- package/serialization/types/DraftFieldDateTimeValue.d.ts.map +0 -1
- package/serialization/types/DraftFieldDateTimeValue.js.map +0 -1
- package/serialization/types/DraftFieldDateValue.d.ts +0 -17
- package/serialization/types/DraftFieldDateValue.d.ts.map +0 -1
- package/serialization/types/DraftFieldDateValue.js.map +0 -1
- package/serialization/types/DraftFieldFileValue.d.ts +0 -16
- package/serialization/types/DraftFieldFileValue.d.ts.map +0 -1
- package/serialization/types/DraftFieldFileValue.js.map +0 -1
- package/serialization/types/DraftFieldLinkValue.d.ts +0 -17
- package/serialization/types/DraftFieldLinkValue.d.ts.map +0 -1
- package/serialization/types/DraftFieldLinkValue.js +0 -48
- package/serialization/types/DraftFieldLinkValue.js.map +0 -1
- package/serialization/types/DraftFieldNumberValue.d.ts +0 -17
- package/serialization/types/DraftFieldNumberValue.d.ts.map +0 -1
- package/serialization/types/DraftFieldNumberValue.js +0 -48
- package/serialization/types/DraftFieldNumberValue.js.map +0 -1
- package/serialization/types/DraftFieldStringValue.d.ts +0 -19
- package/serialization/types/DraftFieldStringValue.d.ts.map +0 -1
- package/serialization/types/DraftFieldStringValue.js +0 -50
- package/serialization/types/DraftFieldStringValue.js.map +0 -1
- package/serialization/types/DraftFieldStructValue.d.ts +0 -19
- package/serialization/types/DraftFieldStructValue.d.ts.map +0 -1
- package/serialization/types/DraftFieldStructValue.js.map +0 -1
- package/serialization/types/DraftFieldStructValueFieldsItem.d.ts +0 -42
- package/serialization/types/DraftFieldStructValueFieldsItem.d.ts.map +0 -1
- package/serialization/types/DraftFieldStructValueFieldsItem.js.map +0 -1
- package/serialization/types/DraftSchema.d.ts +0 -17
- package/serialization/types/DraftSchema.d.ts.map +0 -1
- package/serialization/types/DraftSchema.js +0 -48
- package/serialization/types/DraftSchema.js.map +0 -1
- package/serialization/types/DraftSchemaFieldsItem.d.ts +0 -42
- package/serialization/types/DraftSchemaFieldsItem.d.ts.map +0 -1
- package/serialization/types/DraftSchemaFieldsItem.js.map +0 -1
- package/serialization/types/SchemaFilterPublication.d.ts +0 -22
- package/serialization/types/SchemaFilterPublication.d.ts.map +0 -1
- package/serialization/types/SchemaFilterPublication.js +0 -53
- package/serialization/types/SchemaFilterPublication.js.map +0 -1
- package/serialization/types/SchemaFilterPublicationEtag.d.ts.map +0 -1
- package/serialization/types/SchemaFilterPublicationEtag.js.map +0 -1
- package/serialization/types/SchemaFilterPublicationSlug.d.ts.map +0 -1
- package/serialization/types/SchemaFilterPublicationSlug.js.map +0 -1
- package/serialization/types/SchemaFilterPublicationUrl.d.ts +0 -27
- package/serialization/types/SchemaFilterPublicationUrl.d.ts.map +0 -1
- package/serialization/types/SchemaFilterPublicationUrl.js.map +0 -1
- package/serialization/types/SchemaFilterPublicationVersion.d.ts.map +0 -1
- package/serialization/types/SchemaFilterPublicationVersion.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Client.js","sourceRoot":"","sources":["../../../../../src/api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,CAAC,UAAU,CAAC;yBAClC,CAAC,EACF,SAAS,CAAC,WAAW,CACxB,CAAC;oBACN;wBACI,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC;4BAC1B,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU;4BACtC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,IAAI;4BAC1B,WAAW,EAAE,SAAS,CAAC,WAAW;yBACrC,CAAC,CAAC;gBACX,CAAC;YACL,CAAC;YAED,QAAQ,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;gBAC7B,KAAK,UAAU;oBACX,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC;wBAC1B,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU;wBACtC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,OAAO;wBAC7B,WAAW,EAAE,SAAS,CAAC,WAAW;qBACrC,CAAC,CAAC;gBACP,KAAK,SAAS;oBACV,MAAM,IAAI,MAAM,CAAC,mBAAmB,CAChC,8EAA8E,CACjF,CAAC;gBACN,KAAK,SAAS;oBACV,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC;wBAC1B,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,YAAY;wBACrC,WAAW,EAAE,SAAS,CAAC,WAAW;qBACrC,CAAC,CAAC;YACX,CAAC;QACL,CAAC;KAAA;IAEe,8BAA8B;;YAC1C,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YAClE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;QACxC,CAAC;KAAA;CACJ;AAjyDD,sBAiyDC","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as core from '../../../../core';\nimport { mergeHeaders, mergeOnlyDefinedHeaders } from '../../../../core/headers';\nimport * as environments from '../../../../environments';\nimport * as errors from '../../../../errors/index';\nimport * as serializers from '../../../../serialization/index';\nimport * as Truvity from '../../../index';\n\nexport declare namespace Files {\n export interface Options {\n environment?: core.Supplier<environments.TruvityEnvironment | string>;\n /** Specify a custom URL to connect the client to. */\n baseUrl?: core.Supplier<string>;\n apiKey?: core.Supplier<string | undefined>;\n /** Additional headers to include in requests. */\n headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;\n fetcher?: core.FetchFunction;\n }\n\n export interface RequestOptions {\n /** The maximum time to wait for a response in seconds. */\n timeoutInSeconds?: number;\n /** The number of times to retry the request. Defaults to 2. */\n maxRetries?: number;\n /** A hook to abort the request. */\n abortSignal?: AbortSignal;\n /** Additional headers to include in the request. */\n headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;\n }\n}\n\n/**\n * The API to manage files.\n */\nexport class Files {\n protected readonly _options: Files.Options;\n\n constructor(_options: Files.Options = {}) {\n this._options = _options;\n }\n\n /**\n * Creates File's resource with **blob_id**.\n *\n * To get **blob_id** call [Upload](#tag/files/operation/FileUpload) first.\n *\n * @param {Truvity.FileCreateRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.ConflictError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileCreate({\n * blobId: \"blob_id\"\n * })\n */\n public fileCreate(\n request: Truvity.FileCreateRequest,\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileCreate(request, requestOptions));\n }\n\n private async __fileCreate(\n request: Truvity.FileCreateRequest,\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceFile>> {\n const { blobId, idempotencyKey, ..._body } = request;\n const _queryParams: Record<string, string | string[] | object | object[] | null> = {};\n _queryParams['blob_id'] = blobId;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n 'files',\n ),\n method: 'POST',\n headers: mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n ),\n contentType: 'application/json',\n queryParameters: _queryParams,\n requestType: 'json',\n body: serializers.FileCreateRequest.jsonOrThrow(_body, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 409:\n throw new Truvity.ConflictError(\n serializers.ConflictProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /files.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Search for Files with extended filters capabilities.\n *\n * @param {Truvity.FileSearchRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileSearch()\n */\n public fileSearch(\n request: Truvity.FileSearchRequest = {},\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ListFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileSearch(request, requestOptions));\n }\n\n private async __fileSearch(\n request: Truvity.FileSearchRequest = {},\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ListFile>> {\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n 'files/search',\n ),\n method: 'POST',\n headers: mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }),\n requestOptions?.headers,\n ),\n contentType: 'application/json',\n requestType: 'json',\n body: serializers.FileSearchRequest.jsonOrThrow(request, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ListFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /files/search.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Initiates a File blob upload, returning a pre-signed S3 URL. Response contains:\n *\n * - **blob_id** (required for File creation)\n *\n * - **upload_uri** (pre-signed URL for upload)\n *\n * - **timeout** (expiration in seconds).\n *\n * @param {Truvity.FileUploadRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileUpload()\n */\n public fileUpload(\n request: Truvity.FileUploadRequest = {},\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.UploadResponse> {\n return core.HttpResponsePromise.fromPromise(this.__fileUpload(request, requestOptions));\n }\n\n private async __fileUpload(\n request: Truvity.FileUploadRequest = {},\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.UploadResponse>> {\n const { idempotencyKey } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n 'files/upload',\n ),\n method: 'POST',\n headers: mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n ),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.UploadResponse.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /files/upload.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Get the latest version of File.\n *\n * @param {string} id - The ID of the resource.\n * @param {Truvity.FileLatestRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileLatest(\"id\")\n */\n public fileLatest(\n id: string,\n request: Truvity.FileLatestRequest = {},\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileLatest(id, request, requestOptions));\n }\n\n private async __fileLatest(\n id: string,\n request: Truvity.FileLatestRequest = {},\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceFile>> {\n const { ifNoneMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}`,\n ),\n method: 'GET',\n headers: mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n ),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /files/{id}.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Delete File's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.FileDeleteRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileDelete(\"id\", {\n * ifMatch: \"If-Match\"\n * })\n */\n public fileDelete(\n id: string,\n request: Truvity.FileDeleteRequest,\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<void> {\n return core.HttpResponsePromise.fromPromise(this.__fileDelete(id, request, requestOptions));\n }\n\n private async __fileDelete(\n id: string,\n request: Truvity.FileDeleteRequest,\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<void>> {\n const { idempotencyKey, ifMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}`,\n ),\n method: 'DELETE',\n headers: mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n ),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return { data: undefined, rawResponse: _response.rawResponse };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling DELETE /files/{id}.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Update annotations of File's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.FileUpdateAnnotationsRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileUpdateAnnotations(\"id\", {\n * ifMatch: \"If-Match\",\n * annotations: {\n * \"key\": \"value\"\n * }\n * })\n */\n public fileUpdateAnnotations(\n id: string,\n request: Truvity.FileUpdateAnnotationsRequest,\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileUpdateAnnotations(id, request, requestOptions));\n }\n\n private async __fileUpdateAnnotations(\n id: string,\n request: Truvity.FileUpdateAnnotationsRequest,\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceFile>> {\n const { idempotencyKey, ifMatch, ..._body } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}/annotations`,\n ),\n method: 'PATCH',\n headers: mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n ),\n contentType: 'application/json',\n requestType: 'json',\n body: serializers.FileUpdateAnnotationsRequest.jsonOrThrow(_body, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling PATCH /files/{id}/annotations.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Update labels of File's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.FileUpdateLabelsRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileUpdateLabels(\"id\", {\n * ifMatch: \"If-Match\",\n * labels: {\n * \"key\": \"value\"\n * }\n * })\n */\n public fileUpdateLabels(\n id: string,\n request: Truvity.FileUpdateLabelsRequest,\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileUpdateLabels(id, request, requestOptions));\n }\n\n private async __fileUpdateLabels(\n id: string,\n request: Truvity.FileUpdateLabelsRequest,\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceFile>> {\n const { idempotencyKey, ifMatch, ..._body } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}/labels`,\n ),\n method: 'PATCH',\n headers: mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n ),\n contentType: 'application/json',\n requestType: 'json',\n body: serializers.FileUpdateLabelsRequest.jsonOrThrow(_body, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling PATCH /files/{id}/labels.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Restore File's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.FileRestoreRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileRestore(\"id\", {\n * ifMatch: \"If-Match\"\n * })\n */\n public fileRestore(\n id: string,\n request: Truvity.FileRestoreRequest,\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileRestore(id, request, requestOptions));\n }\n\n private async __fileRestore(\n id: string,\n request: Truvity.FileRestoreRequest,\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceFile>> {\n const { idempotencyKey, ifMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}/restore`,\n ),\n method: 'POST',\n headers: mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n ),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /files/{id}/restore.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * History of the File's resources.\n *\n * @param {string} id - The ID of the resource.\n * @param {Truvity.FileHistoryRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileHistory(\"id\")\n */\n public fileHistory(\n id: string,\n request: Truvity.FileHistoryRequest = {},\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ListFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileHistory(id, request, requestOptions));\n }\n\n private async __fileHistory(\n id: string,\n request: Truvity.FileHistoryRequest = {},\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ListFile>> {\n const { ifNoneMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}/revisions`,\n ),\n method: 'GET',\n headers: mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n ),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ListFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /files/{id}/revisions.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Read the specific version of the File's resource.\n *\n * @param {string} id - The ID of the resource.\n * @param {number} revision - The revision of the resource.\n * @param {Truvity.FileRevisionRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileRevision(\"id\", 1)\n */\n public fileRevision(\n id: string,\n revision: number,\n request: Truvity.FileRevisionRequest = {},\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileRevision(id, revision, request, requestOptions));\n }\n\n private async __fileRevision(\n id: string,\n revision: number,\n request: Truvity.FileRevisionRequest = {},\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceFile>> {\n const { ifNoneMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`,\n ),\n method: 'GET',\n headers: mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n ),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError(\n 'Timeout exceeded when calling GET /files/{id}/revisions/{revision}.',\n );\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Download of File's blob.\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n */\n public fileDownload(\n id: string,\n revision: number,\n request: Truvity.FileDownloadRequest = {},\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<core.BinaryResponse> {\n return core.HttpResponsePromise.fromPromise(this.__fileDownload(id, revision, request, requestOptions));\n }\n\n private async __fileDownload(\n id: string,\n revision: number,\n request: Truvity.FileDownloadRequest = {},\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<core.BinaryResponse>> {\n const { ifNoneMatch } = request;\n const _response = await (this._options.fetcher ?? core.fetcher)<core.BinaryResponse>({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}/download`,\n ),\n method: 'GET',\n headers: mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n ),\n responseType: 'binary-response',\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return { data: _response.body, rawResponse: _response.rawResponse };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError(\n 'Timeout exceeded when calling GET /files/{id}/revisions/{revision}/download.',\n );\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n protected async _getCustomAuthorizationHeaders() {\n const apiKeyValue = await core.Supplier.get(this._options.apiKey);\n return { 'X-API-KEY': apiKeyValue };\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Client.js","sourceRoot":"","sources":["../../../../../src/api/resources/files/client/Client.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uDAAyC;AACzC,sDAAiF;AACjF,uEAAyD;AACzD,iEAAmD;AACnD,6EAA+D;AAC/D,wDAA0C;AA2B1C;;GAEG;AACH,MAAa,KAAK;IAGd,YAAY,WAA0B,EAAE;QACpC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACI,UAAU,CACb,OAAkC,EAClC,cAAqC;QAErC,OAAO,IAAI,CAAC,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC;IAC5F,CAAC;IAEa,YAAY,CACtB,OAAkC,EAClC,cAAqC;;;YAErC,MAAM,EAAE,MAAM,EAAE,cAAc,KAAe,OAAO,EAAjB,KAAK,UAAK,OAAO,EAA9C,4BAAoC,CAAU,CAAC;YACrD,MAAM,YAAY,GAAiE,EAAE,CAAC;YACtF,YAAY,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;YACjC,IAAI,QAAQ,GAAiC,IAAA,sBAAY,EACrD,MAAA,IAAI,CAAC,QAAQ,0CAAE,OAAO,EACtB,IAAA,iCAAuB,kBACnB,iBAAiB,EAAE,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,cAAc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AAW,EAAE,CAAC;QACxC,CAAC;KAAA;CACJ;AAtzDD,sBAszDC","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as core from '../../../../core';\nimport { mergeHeaders, mergeOnlyDefinedHeaders } from '../../../../core/headers';\nimport * as environments from '../../../../environments';\nimport * as errors from '../../../../errors/index';\nimport * as serializers from '../../../../serialization/index';\nimport * as Truvity from '../../../index';\n\nexport declare namespace Files {\n export interface Options {\n environment?: core.Supplier<environments.TruvityEnvironment | string>;\n /** Specify a custom URL to connect the client to. */\n baseUrl?: core.Supplier<string>;\n apiKey?: core.Supplier<string | undefined>;\n /** Additional headers to include in requests. */\n headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;\n fetcher?: core.FetchFunction;\n }\n\n export interface RequestOptions {\n /** The maximum time to wait for a response in seconds. */\n timeoutInSeconds?: number;\n /** The number of times to retry the request. Defaults to 2. */\n maxRetries?: number;\n /** A hook to abort the request. */\n abortSignal?: AbortSignal;\n /** Additional query string parameters to include in the request. */\n queryParams?: Record<string, unknown>;\n /** Additional headers to include in the request. */\n headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;\n }\n}\n\n/**\n * The API to manage files.\n */\nexport class Files {\n protected readonly _options: Files.Options;\n\n constructor(_options: Files.Options = {}) {\n this._options = _options;\n }\n\n /**\n * Creates File's resource with **blob_id**.\n *\n * To get **blob_id** call [Upload](#tag/files/operation/FileUpload) first.\n *\n * @param {Truvity.FileCreateRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.ConflictError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileCreate({\n * blobId: \"blob_id\"\n * })\n */\n public fileCreate(\n request: Truvity.FileCreateRequest,\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileCreate(request, requestOptions));\n }\n\n private async __fileCreate(\n request: Truvity.FileCreateRequest,\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceFile>> {\n const { blobId, idempotencyKey, ..._body } = request;\n const _queryParams: Record<string, string | string[] | object | object[] | null> = {};\n _queryParams['blob_id'] = blobId;\n var _headers: core.Fetcher.Args['headers'] = mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n );\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n 'files',\n ),\n method: 'POST',\n headers: _headers,\n contentType: 'application/json',\n queryParameters: { ..._queryParams, ...requestOptions?.queryParams },\n requestType: 'json',\n body: serializers.FileCreateRequest.jsonOrThrow(_body, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 409:\n throw new Truvity.ConflictError(\n serializers.ConflictProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /files.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Search for Files with extended filters capabilities.\n *\n * @param {Truvity.FileSearchRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileSearch()\n */\n public fileSearch(\n request: Truvity.FileSearchRequest = {},\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ListFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileSearch(request, requestOptions));\n }\n\n private async __fileSearch(\n request: Truvity.FileSearchRequest = {},\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ListFile>> {\n var _headers: core.Fetcher.Args['headers'] = mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }),\n requestOptions?.headers,\n );\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n 'files/search',\n ),\n method: 'POST',\n headers: _headers,\n contentType: 'application/json',\n queryParameters: requestOptions?.queryParams,\n requestType: 'json',\n body: serializers.FileSearchRequest.jsonOrThrow(request, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ListFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /files/search.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Initiates a File blob upload, returning a pre-signed S3 URL. Response contains:\n *\n * - **blob_id** (required for File creation)\n *\n * - **upload_uri** (pre-signed URL for upload)\n *\n * - **timeout** (expiration in seconds).\n *\n * @param {Truvity.FileUploadRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileUpload()\n */\n public fileUpload(\n request: Truvity.FileUploadRequest = {},\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.UploadResponse> {\n return core.HttpResponsePromise.fromPromise(this.__fileUpload(request, requestOptions));\n }\n\n private async __fileUpload(\n request: Truvity.FileUploadRequest = {},\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.UploadResponse>> {\n const { idempotencyKey } = request;\n var _headers: core.Fetcher.Args['headers'] = mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n );\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n 'files/upload',\n ),\n method: 'POST',\n headers: _headers,\n queryParameters: requestOptions?.queryParams,\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.UploadResponse.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /files/upload.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Get the latest version of File.\n *\n * @param {string} id - The ID of the resource.\n * @param {Truvity.FileLatestRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileLatest(\"id\")\n */\n public fileLatest(\n id: string,\n request: Truvity.FileLatestRequest = {},\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileLatest(id, request, requestOptions));\n }\n\n private async __fileLatest(\n id: string,\n request: Truvity.FileLatestRequest = {},\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceFile>> {\n const { ifNoneMatch } = request;\n var _headers: core.Fetcher.Args['headers'] = mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n );\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}`,\n ),\n method: 'GET',\n headers: _headers,\n queryParameters: requestOptions?.queryParams,\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /files/{id}.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Delete File's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.FileDeleteRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileDelete(\"id\", {\n * ifMatch: \"If-Match\"\n * })\n */\n public fileDelete(\n id: string,\n request: Truvity.FileDeleteRequest,\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<void> {\n return core.HttpResponsePromise.fromPromise(this.__fileDelete(id, request, requestOptions));\n }\n\n private async __fileDelete(\n id: string,\n request: Truvity.FileDeleteRequest,\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<void>> {\n const { idempotencyKey, ifMatch } = request;\n var _headers: core.Fetcher.Args['headers'] = mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n );\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}`,\n ),\n method: 'DELETE',\n headers: _headers,\n queryParameters: requestOptions?.queryParams,\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return { data: undefined, rawResponse: _response.rawResponse };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling DELETE /files/{id}.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Update annotations of File's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.FileUpdateAnnotationsRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileUpdateAnnotations(\"id\", {\n * ifMatch: \"If-Match\",\n * annotations: {\n * \"key\": \"value\"\n * }\n * })\n */\n public fileUpdateAnnotations(\n id: string,\n request: Truvity.FileUpdateAnnotationsRequest,\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileUpdateAnnotations(id, request, requestOptions));\n }\n\n private async __fileUpdateAnnotations(\n id: string,\n request: Truvity.FileUpdateAnnotationsRequest,\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceFile>> {\n const { idempotencyKey, ifMatch, ..._body } = request;\n var _headers: core.Fetcher.Args['headers'] = mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n );\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}/annotations`,\n ),\n method: 'PATCH',\n headers: _headers,\n contentType: 'application/json',\n queryParameters: requestOptions?.queryParams,\n requestType: 'json',\n body: serializers.FileUpdateAnnotationsRequest.jsonOrThrow(_body, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling PATCH /files/{id}/annotations.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Update labels of File's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.FileUpdateLabelsRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.UnsupportedMediaTypeError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileUpdateLabels(\"id\", {\n * ifMatch: \"If-Match\",\n * labels: {\n * \"key\": \"value\"\n * }\n * })\n */\n public fileUpdateLabels(\n id: string,\n request: Truvity.FileUpdateLabelsRequest,\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileUpdateLabels(id, request, requestOptions));\n }\n\n private async __fileUpdateLabels(\n id: string,\n request: Truvity.FileUpdateLabelsRequest,\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceFile>> {\n const { idempotencyKey, ifMatch, ..._body } = request;\n var _headers: core.Fetcher.Args['headers'] = mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n );\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}/labels`,\n ),\n method: 'PATCH',\n headers: _headers,\n contentType: 'application/json',\n queryParameters: requestOptions?.queryParams,\n requestType: 'json',\n body: serializers.FileUpdateLabelsRequest.jsonOrThrow(_body, {\n unrecognizedObjectKeys: 'strip',\n omitUndefined: true,\n }),\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 415:\n throw new Truvity.UnsupportedMediaTypeError(\n serializers.UnsupportedMediaTypeProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling PATCH /files/{id}/labels.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Restore File's resource.\n *\n * @param {string} id - The primary and unique identifier of the resource (inside tenant)\n * according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).\n * @param {Truvity.FileRestoreRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.MethodNotAllowedError}\n * @throws {@link Truvity.PreconditionFailedError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileRestore(\"id\", {\n * ifMatch: \"If-Match\"\n * })\n */\n public fileRestore(\n id: string,\n request: Truvity.FileRestoreRequest,\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileRestore(id, request, requestOptions));\n }\n\n private async __fileRestore(\n id: string,\n request: Truvity.FileRestoreRequest,\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceFile>> {\n const { idempotencyKey, ifMatch } = request;\n var _headers: core.Fetcher.Args['headers'] = mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined,\n 'If-Match': ifMatch,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n );\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}/restore`,\n ),\n method: 'POST',\n headers: _headers,\n queryParameters: requestOptions?.queryParams,\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 405:\n throw new Truvity.MethodNotAllowedError(\n serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 412:\n throw new Truvity.PreconditionFailedError(\n serializers.PreconditionFailedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling POST /files/{id}/restore.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * History of the File's resources.\n *\n * @param {string} id - The ID of the resource.\n * @param {Truvity.FileHistoryRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileHistory(\"id\")\n */\n public fileHistory(\n id: string,\n request: Truvity.FileHistoryRequest = {},\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ListFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileHistory(id, request, requestOptions));\n }\n\n private async __fileHistory(\n id: string,\n request: Truvity.FileHistoryRequest = {},\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ListFile>> {\n const { ifNoneMatch } = request;\n var _headers: core.Fetcher.Args['headers'] = mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n );\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}/revisions`,\n ),\n method: 'GET',\n headers: _headers,\n queryParameters: requestOptions?.queryParams,\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ListFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError('Timeout exceeded when calling GET /files/{id}/revisions.');\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Read the specific version of the File's resource.\n *\n * @param {string} id - The ID of the resource.\n * @param {number} revision - The revision of the resource.\n * @param {Truvity.FileRevisionRequest} request\n * @param {Files.RequestOptions} requestOptions - Request-specific configuration.\n *\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n *\n * @example\n * await client.files.fileRevision(\"id\", 1)\n */\n public fileRevision(\n id: string,\n revision: number,\n request: Truvity.FileRevisionRequest = {},\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<Truvity.ResourceFile> {\n return core.HttpResponsePromise.fromPromise(this.__fileRevision(id, revision, request, requestOptions));\n }\n\n private async __fileRevision(\n id: string,\n revision: number,\n request: Truvity.FileRevisionRequest = {},\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<Truvity.ResourceFile>> {\n const { ifNoneMatch } = request;\n var _headers: core.Fetcher.Args['headers'] = mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n );\n const _response = await (this._options.fetcher ?? core.fetcher)({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`,\n ),\n method: 'GET',\n headers: _headers,\n queryParameters: requestOptions?.queryParams,\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return {\n data: serializers.ResourceFile.parseOrThrow(_response.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n rawResponse: _response.rawResponse,\n };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError(\n 'Timeout exceeded when calling GET /files/{id}/revisions/{revision}.',\n );\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n /**\n * Download of File's blob.\n * @throws {@link Truvity.BadRequestError}\n * @throws {@link Truvity.UnauthorizedError}\n * @throws {@link Truvity.ForbiddenError}\n * @throws {@link Truvity.NotFoundError}\n * @throws {@link Truvity.TooManyRequestsError}\n * @throws {@link Truvity.InternalServerError}\n */\n public fileDownload(\n id: string,\n revision: number,\n request: Truvity.FileDownloadRequest = {},\n requestOptions?: Files.RequestOptions,\n ): core.HttpResponsePromise<core.BinaryResponse> {\n return core.HttpResponsePromise.fromPromise(this.__fileDownload(id, revision, request, requestOptions));\n }\n\n private async __fileDownload(\n id: string,\n revision: number,\n request: Truvity.FileDownloadRequest = {},\n requestOptions?: Files.RequestOptions,\n ): Promise<core.WithRawResponse<core.BinaryResponse>> {\n const { ifNoneMatch } = request;\n var _headers: core.Fetcher.Args['headers'] = mergeHeaders(\n this._options?.headers,\n mergeOnlyDefinedHeaders({\n 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined,\n ...(await this._getCustomAuthorizationHeaders()),\n }),\n requestOptions?.headers,\n );\n const _response = await (this._options.fetcher ?? core.fetcher)<core.BinaryResponse>({\n url: core.url.join(\n (await core.Supplier.get(this._options.baseUrl)) ??\n (await core.Supplier.get(this._options.environment)) ??\n environments.TruvityEnvironment.Default,\n `files/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}/download`,\n ),\n method: 'GET',\n headers: _headers,\n queryParameters: requestOptions?.queryParams,\n responseType: 'binary-response',\n timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,\n maxRetries: requestOptions?.maxRetries,\n abortSignal: requestOptions?.abortSignal,\n });\n if (_response.ok) {\n return { data: _response.body, rawResponse: _response.rawResponse };\n }\n\n if (_response.error.reason === 'status-code') {\n switch (_response.error.statusCode) {\n case 400:\n throw new Truvity.BadRequestError(\n serializers.BadRequestProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 401:\n throw new Truvity.UnauthorizedError(\n serializers.UnauthorizedProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 403:\n throw new Truvity.ForbiddenError(\n serializers.ForbiddenProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 404:\n throw new Truvity.NotFoundError(\n serializers.NotFoundProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 429:\n throw new Truvity.TooManyRequestsError(\n serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n case 500:\n throw new Truvity.InternalServerError(\n serializers.ProblemInternalServerError.parseOrThrow(_response.error.body, {\n unrecognizedObjectKeys: 'passthrough',\n allowUnrecognizedUnionMembers: true,\n allowUnrecognizedEnumValues: true,\n breadcrumbsPrefix: ['response'],\n }),\n _response.rawResponse,\n );\n default:\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.body,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n switch (_response.error.reason) {\n case 'non-json':\n throw new errors.TruvityError({\n statusCode: _response.error.statusCode,\n body: _response.error.rawBody,\n rawResponse: _response.rawResponse,\n });\n case 'timeout':\n throw new errors.TruvityTimeoutError(\n 'Timeout exceeded when calling GET /files/{id}/revisions/{revision}/download.',\n );\n case 'unknown':\n throw new errors.TruvityError({\n message: _response.error.errorMessage,\n rawResponse: _response.rawResponse,\n });\n }\n }\n\n protected async _getCustomAuthorizationHeaders() {\n const apiKeyValue = await core.Supplier.get(this._options.apiKey);\n return { 'X-API-KEY': apiKeyValue };\n }\n}\n"]}
|