@truvity/sdk 0.28.3 → 0.28.4
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/api/resources/apiKeys/client/Client.d.ts +1 -0
- package/api/resources/apiKeys/client/Client.d.ts.map +1 -1
- package/api/resources/apiKeys/client/Client.js +16 -8
- package/api/resources/apiKeys/client/Client.js.map +1 -1
- package/api/resources/apiKeys/client/requests/ApiKeyCreateRequest.d.ts +8 -8
- package/api/resources/apiKeys/client/requests/ApiKeyCreateRequest.js.map +1 -1
- package/api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.d.ts +8 -8
- package/api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.js.map +1 -1
- package/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.d.ts +8 -8
- package/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.js.map +1 -1
- package/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.d.ts +8 -8
- package/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.js.map +1 -1
- package/api/resources/credentials/client/Client.d.ts +2 -0
- package/api/resources/credentials/client/Client.d.ts.map +1 -1
- package/api/resources/credentials/client/Client.js +26 -10
- package/api/resources/credentials/client/Client.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialDeleteRequest.d.ts +8 -8
- package/api/resources/credentials/client/requests/CredentialDeleteRequest.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialInput.d.ts +8 -8
- package/api/resources/credentials/client/requests/CredentialInput.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialRestoreRequest.d.ts +8 -8
- package/api/resources/credentials/client/requests/CredentialRestoreRequest.js.map +1 -1
- package/api/resources/credentials/client/requests/CredentialUploadRequest.d.ts +8 -8
- package/api/resources/credentials/client/requests/CredentialUploadRequest.js.map +1 -1
- package/api/resources/desk/client/Client.js +2 -2
- package/api/resources/desk/client/Client.js.map +1 -1
- package/api/resources/didcommMessages/client/Client.d.ts +3 -0
- package/api/resources/didcommMessages/client/Client.d.ts.map +1 -1
- package/api/resources/didcommMessages/client/Client.js +31 -7
- package/api/resources/didcommMessages/client/Client.js.map +1 -1
- package/api/resources/didcommMessages/client/requests/DidCommMessageSendInput.d.ts +8 -8
- package/api/resources/didcommMessages/client/requests/DidCommMessageSendInput.js.map +1 -1
- package/api/resources/didcommMessages/client/requests/DidcommMessageDeleteRequest.d.ts +8 -8
- package/api/resources/didcommMessages/client/requests/DidcommMessageDeleteRequest.js.map +1 -1
- package/api/resources/didcommMessages/client/requests/DidcommMessageRestoreRequest.d.ts +8 -8
- package/api/resources/didcommMessages/client/requests/DidcommMessageRestoreRequest.js.map +1 -1
- package/api/resources/dids/client/Client.js +1 -1
- package/api/resources/dids/client/Client.js.map +1 -1
- package/api/resources/drafts/client/Client.d.ts +2 -0
- package/api/resources/drafts/client/Client.d.ts.map +1 -1
- package/api/resources/drafts/client/Client.js +26 -10
- package/api/resources/drafts/client/Client.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftCreateRequest.d.ts +8 -8
- package/api/resources/drafts/client/requests/DraftCreateRequest.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftDeleteRequest.d.ts +8 -8
- package/api/resources/drafts/client/requests/DraftDeleteRequest.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftRestoreRequest.d.ts +8 -8
- package/api/resources/drafts/client/requests/DraftRestoreRequest.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftUpdateRequest.d.ts +8 -8
- package/api/resources/drafts/client/requests/DraftUpdateRequest.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 +26 -10
- package/api/resources/files/client/Client.js.map +1 -1
- package/api/resources/files/client/requests/FileCreateRequest.d.ts +8 -8
- package/api/resources/files/client/requests/FileCreateRequest.js.map +1 -1
- package/api/resources/files/client/requests/FileDeleteRequest.d.ts +8 -8
- package/api/resources/files/client/requests/FileDeleteRequest.js.map +1 -1
- package/api/resources/files/client/requests/FileRestoreRequest.d.ts +8 -8
- package/api/resources/files/client/requests/FileRestoreRequest.js.map +1 -1
- package/api/resources/files/client/requests/FileUpdateRequest.d.ts +8 -8
- package/api/resources/files/client/requests/FileUpdateRequest.js.map +1 -1
- package/api/resources/files/client/requests/FileUploadRequest.d.ts +8 -8
- package/api/resources/files/client/requests/FileUploadRequest.js.map +1 -1
- package/api/resources/gdpr/client/Client.js +1 -1
- package/api/resources/gdpr/client/Client.js.map +1 -1
- package/api/resources/keys/client/Client.d.ts +4 -4
- package/api/resources/keys/client/Client.d.ts.map +1 -1
- package/api/resources/keys/client/Client.js +44 -16
- package/api/resources/keys/client/Client.js.map +1 -1
- package/api/resources/keys/client/requests/KeyDeleteRequest.d.ts +8 -8
- package/api/resources/keys/client/requests/KeyDeleteRequest.js.map +1 -1
- package/api/resources/keys/client/requests/KeyGenerateInput.d.ts +8 -8
- package/api/resources/keys/client/requests/KeyGenerateInput.js.map +1 -1
- package/api/resources/keys/client/requests/KeyImportSecretInput.d.ts +8 -8
- package/api/resources/keys/client/requests/KeyImportSecretInput.js.map +1 -1
- package/api/resources/keys/client/requests/KeyInput.d.ts +8 -8
- package/api/resources/keys/client/requests/KeyInput.js.map +1 -1
- package/api/resources/keys/client/requests/KeyRestoreRequest.d.ts +8 -8
- package/api/resources/keys/client/requests/KeyRestoreRequest.js.map +1 -1
- package/api/resources/presentations/client/Client.d.ts +3 -0
- package/api/resources/presentations/client/Client.d.ts.map +1 -1
- package/api/resources/presentations/client/Client.js +36 -12
- package/api/resources/presentations/client/Client.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationDeleteRequest.d.ts +8 -8
- package/api/resources/presentations/client/requests/PresentationDeleteRequest.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationInput.d.ts +8 -8
- package/api/resources/presentations/client/requests/PresentationInput.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationRestoreRequest.d.ts +8 -8
- package/api/resources/presentations/client/requests/PresentationRestoreRequest.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationUploadRequest.d.ts +8 -8
- package/api/resources/presentations/client/requests/PresentationUploadRequest.js.map +1 -1
- package/api/types/DraftSchema.d.ts +17 -16
- package/api/types/DraftSchema.d.ts.map +1 -1
- package/api/types/DraftSchema.js.map +1 -1
- package/api/types/EqualKeyTypeValue.d.ts +1 -2
- package/api/types/EqualKeyTypeValue.d.ts.map +1 -1
- package/api/types/EqualKeyTypeValue.js +0 -1
- package/api/types/EqualKeyTypeValue.js.map +1 -1
- package/api/types/InKeyTypeValuesItem.d.ts +6 -8
- package/api/types/InKeyTypeValuesItem.d.ts.map +1 -1
- package/api/types/InKeyTypeValuesItem.js +0 -1
- package/api/types/InKeyTypeValuesItem.js.map +1 -1
- package/api/types/KeyGenerate.d.ts +5 -6
- package/api/types/KeyGenerate.d.ts.map +1 -1
- package/api/types/KeyGenerate.js.map +1 -1
- package/api/types/KeyGenerateType.d.ts +6 -8
- package/api/types/KeyGenerateType.d.ts.map +1 -1
- package/api/types/KeyGenerateType.js +0 -1
- package/api/types/KeyGenerateType.js.map +1 -1
- package/api/types/KeyPublic.d.ts +5 -6
- package/api/types/KeyPublic.d.ts.map +1 -1
- package/api/types/KeyPublic.js.map +1 -1
- package/api/types/KeyPublicType.d.ts +6 -8
- package/api/types/KeyPublicType.d.ts.map +1 -1
- package/api/types/KeyPublicType.js +0 -1
- package/api/types/KeyPublicType.js.map +1 -1
- package/api/types/NotEqualKeyTypeValue.d.ts +1 -2
- package/api/types/NotEqualKeyTypeValue.d.ts.map +1 -1
- package/api/types/NotEqualKeyTypeValue.js +0 -1
- package/api/types/NotEqualKeyTypeValue.js.map +1 -1
- package/api/types/NotInKeyTypeValuesItem.d.ts +6 -8
- package/api/types/NotInKeyTypeValuesItem.d.ts.map +1 -1
- package/api/types/NotInKeyTypeValuesItem.js +0 -1
- package/api/types/NotInKeyTypeValuesItem.js.map +1 -1
- package/api/types/ProblemMethodNotAllowedAlive.d.ts +1 -1
- package/api/types/ProblemMethodNotAllowedAlive.js.map +1 -1
- package/api/types/ProblemMethodNotAllowedDeleted.d.ts +1 -1
- package/api/types/ProblemMethodNotAllowedDeleted.js.map +1 -1
- package/api/types/ProblemPreconditionFailedBlob.d.ts +1 -1
- package/api/types/ProblemPreconditionFailedBlob.js.map +1 -1
- package/api/types/ProblemResourceNotFound.d.ts +1 -1
- package/api/types/ProblemResourceNotFound.js.map +1 -1
- package/documents/credential/flavor.d.ts.map +1 -1
- package/documents/credential/flavor.js +1 -0
- package/documents/credential/flavor.js.map +1 -1
- package/documents/credential/flavor.spec.js +2 -0
- package/documents/credential/flavor.spec.js.map +1 -1
- package/documents/credential/unknown.d.ts +4 -0
- package/documents/credential/unknown.d.ts.map +1 -1
- package/documents/credential/unknown.js +8 -0
- package/documents/credential/unknown.js.map +1 -1
- package/documents/credential.d.ts +4 -0
- package/documents/credential.d.ts.map +1 -1
- package/documents/credential.js +8 -0
- package/documents/credential.js.map +1 -1
- package/documents/presentation.d.ts +4 -0
- package/documents/presentation.d.ts.map +1 -1
- package/documents/presentation.js +8 -0
- package/documents/presentation.js.map +1 -1
- package/documents/types.d.ts +1 -0
- package/documents/types.d.ts.map +1 -1
- package/documents/types.js.map +1 -1
- package/package.json +1 -1
- package/reference.md +0 -4
- package/serialization/types/EqualKeyTypeValue.d.ts +1 -1
- package/serialization/types/EqualKeyTypeValue.d.ts.map +1 -1
- package/serialization/types/EqualKeyTypeValue.js +1 -1
- package/serialization/types/EqualKeyTypeValue.js.map +1 -1
- package/serialization/types/InKeyTypeValuesItem.d.ts +1 -1
- package/serialization/types/InKeyTypeValuesItem.d.ts.map +1 -1
- package/serialization/types/InKeyTypeValuesItem.js +1 -1
- package/serialization/types/InKeyTypeValuesItem.js.map +1 -1
- package/serialization/types/KeyGenerateType.d.ts +1 -1
- package/serialization/types/KeyGenerateType.d.ts.map +1 -1
- package/serialization/types/KeyGenerateType.js +1 -1
- package/serialization/types/KeyGenerateType.js.map +1 -1
- package/serialization/types/KeyPublicType.d.ts +1 -1
- package/serialization/types/KeyPublicType.d.ts.map +1 -1
- package/serialization/types/KeyPublicType.js +1 -1
- package/serialization/types/KeyPublicType.js.map +1 -1
- package/serialization/types/NotEqualKeyTypeValue.d.ts +1 -1
- package/serialization/types/NotEqualKeyTypeValue.d.ts.map +1 -1
- package/serialization/types/NotEqualKeyTypeValue.js +1 -1
- package/serialization/types/NotEqualKeyTypeValue.js.map +1 -1
- package/serialization/types/NotInKeyTypeValuesItem.d.ts +1 -1
- package/serialization/types/NotInKeyTypeValuesItem.d.ts.map +1 -1
- package/serialization/types/NotInKeyTypeValuesItem.js +1 -1
- package/serialization/types/NotInKeyTypeValuesItem.js.map +1 -1
|
@@ -15,17 +15,17 @@ export interface DraftRestoreRequest {
|
|
|
15
15
|
* to ensure idempotent behavior by sending the same (or a similar) response
|
|
16
16
|
* without executing the request a second time.
|
|
17
17
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
18
|
+
* Clients should be careful as any subsequent requests with the same key may
|
|
19
|
+
* return the same response without further check. Thus, it is recommended to
|
|
20
|
+
* use a UUID version 4 (random) or any other random string with enough
|
|
21
|
+
* entropy to avoid collisions.
|
|
22
22
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
23
|
+
* Keys expire after 24 hours. Clients are responsible to stay within this
|
|
24
|
+
* limit, if they require idempotent behavior.
|
|
25
25
|
*
|
|
26
|
-
*
|
|
26
|
+
* See [API Guideline Rule #181][api-230] for further details.
|
|
27
27
|
*
|
|
28
|
-
*
|
|
28
|
+
* [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.
|
|
29
29
|
*/
|
|
30
30
|
idempotencyKey?: string;
|
|
31
31
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraftRestoreRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/DraftRestoreRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * @example\n * {\n * ifMatch: \"If-Match\"\n * }\n */\nexport interface DraftRestoreRequest {\n /**\n * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).\n * The **Idempotency-Key** is a free identifier created by the client to\n * identify a request. It is used by the service to identify repeated request\n * to ensure idempotent behavior by sending the same (or a similar) response\n * without executing the request a second time.\n *\n *
|
|
1
|
+
{"version":3,"file":"DraftRestoreRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/DraftRestoreRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * @example\n * {\n * ifMatch: \"If-Match\"\n * }\n */\nexport interface DraftRestoreRequest {\n /**\n * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).\n * The **Idempotency-Key** is a free identifier created by the client to\n * identify a request. It is used by the service to identify repeated request\n * to ensure idempotent behavior by sending the same (or a similar) response\n * without executing the request a second time.\n *\n * Clients should be careful as any subsequent requests with the same key may\n * return the same response without further check. Thus, it is recommended to\n * use a UUID version 4 (random) or any other random string with enough\n * entropy to avoid collisions.\n *\n * Keys expire after 24 hours. Clients are responsible to stay within this\n * limit, if they require idempotent behavior.\n *\n * See [API Guideline Rule #181][api-230] for further details.\n *\n * [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.\n */\n idempotencyKey?: string;\n /**\n * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).\n * The **If-Match** header field is used to declare a list of identifiers that\n * are required to match the current resource version identifier in at least\n * one position as a pre-condition for executing the request on the server\n * side. This behavior is used to validate and reject optimistic updates, by\n * checking if the resource version a consumer has based his changes on is\n * outdated on arrival of the change request to prevent lost updates.\n *\n * If the pre-condition fails the server will respond with status code **412**\n * (Precondition Failed). See [RFC 9110 Section 13.1.1][rfc-9110-13.1.1] as\n * well as [API Guideline Rule #182][api-182] for further details.\n *\n * [rfc-9110-13.1.1]: https://tools.ietf.org/html/rfc9110#section-13.1.1\n *\n * [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.\n */\n ifMatch: string;\n}\n"]}
|
|
@@ -19,17 +19,17 @@ export interface DraftUpdateRequest {
|
|
|
19
19
|
* to ensure idempotent behavior by sending the same (or a similar) response
|
|
20
20
|
* without executing the request a second time.
|
|
21
21
|
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
22
|
+
* Clients should be careful as any subsequent requests with the same key may
|
|
23
|
+
* return the same response without further check. Thus, it is recommended to
|
|
24
|
+
* use a UUID version 4 (random) or any other random string with enough
|
|
25
|
+
* entropy to avoid collisions.
|
|
26
26
|
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* Keys expire after 24 hours. Clients are responsible to stay within this
|
|
28
|
+
* limit, if they require idempotent behavior.
|
|
29
29
|
*
|
|
30
|
-
*
|
|
30
|
+
* See [API Guideline Rule #181][api-230] for further details.
|
|
31
31
|
*
|
|
32
|
-
*
|
|
32
|
+
* [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.
|
|
33
33
|
*/
|
|
34
34
|
idempotencyKey?: string;
|
|
35
35
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraftUpdateRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/DraftUpdateRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../../../../index';\n\n/**\n * @example\n * {\n * ifMatch: \"If-Match\",\n * body: {\n * data: {}\n * }\n * }\n */\nexport interface DraftUpdateRequest {\n /**\n * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).\n * The **Idempotency-Key** is a free identifier created by the client to\n * identify a request. It is used by the service to identify repeated request\n * to ensure idempotent behavior by sending the same (or a similar) response\n * without executing the request a second time.\n *\n *
|
|
1
|
+
{"version":3,"file":"DraftUpdateRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/drafts/client/requests/DraftUpdateRequest.ts"],"names":[],"mappings":";AAAA;;GAEG","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\nimport * as Truvity from '../../../../index';\n\n/**\n * @example\n * {\n * ifMatch: \"If-Match\",\n * body: {\n * data: {}\n * }\n * }\n */\nexport interface DraftUpdateRequest {\n /**\n * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).\n * The **Idempotency-Key** is a free identifier created by the client to\n * identify a request. It is used by the service to identify repeated request\n * to ensure idempotent behavior by sending the same (or a similar) response\n * without executing the request a second time.\n *\n * Clients should be careful as any subsequent requests with the same key may\n * return the same response without further check. Thus, it is recommended to\n * use a UUID version 4 (random) or any other random string with enough\n * entropy to avoid collisions.\n *\n * Keys expire after 24 hours. Clients are responsible to stay within this\n * limit, if they require idempotent behavior.\n *\n * See [API Guideline Rule #181][api-230] for further details.\n *\n * [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.\n */\n idempotencyKey?: string;\n /**\n * From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).\n * The **If-Match** header field is used to declare a list of identifiers that\n * are required to match the current resource version identifier in at least\n * one position as a pre-condition for executing the request on the server\n * side. This behavior is used to validate and reject optimistic updates, by\n * checking if the resource version a consumer has based his changes on is\n * outdated on arrival of the change request to prevent lost updates.\n *\n * If the pre-condition fails the server will respond with status code **412**\n * (Precondition Failed). See [RFC 9110 Section 13.1.1][rfc-9110-13.1.1] as\n * well as [API Guideline Rule #182][api-182] for further details.\n *\n * [rfc-9110-13.1.1]: https://tools.ietf.org/html/rfc9110#section-13.1.1\n *\n * [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.\n */\n ifMatch: string;\n body: Truvity.DraftInput;\n}\n"]}
|
|
@@ -161,6 +161,7 @@ export declare class Files {
|
|
|
161
161
|
* @throws {@link Truvity.BadRequestError}
|
|
162
162
|
* @throws {@link Truvity.UnauthorizedError}
|
|
163
163
|
* @throws {@link Truvity.ForbiddenError}
|
|
164
|
+
* @throws {@link Truvity.NotFoundError}
|
|
164
165
|
* @throws {@link Truvity.MethodNotAllowedError}
|
|
165
166
|
* @throws {@link Truvity.PreconditionFailedError}
|
|
166
167
|
* @throws {@link Truvity.TooManyRequestsError}
|
|
@@ -214,6 +215,7 @@ export declare class Files {
|
|
|
214
215
|
* @throws {@link Truvity.BadRequestError}
|
|
215
216
|
* @throws {@link Truvity.UnauthorizedError}
|
|
216
217
|
* @throws {@link Truvity.ForbiddenError}
|
|
218
|
+
* @throws {@link Truvity.NotFoundError}
|
|
217
219
|
* @throws {@link Truvity.TooManyRequestsError}
|
|
218
220
|
* @throws {@link Truvity.InternalServerError}
|
|
219
221
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Client.d.ts","sourceRoot":"","sources":["../../../../../src/api/resources/files/client/Client.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAI1C,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC3B,UAAU,OAAO;QACb,WAAW,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,kBAAkB,GAAG,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AAO,CAAC,YAAY,CAAC;IAkIhC;;;;;;;;;;;;;;;;OAgBG;IACU,WAAW,CACpB,EAAE,EAAE,MAAM,EACV,OAAO,GAAE,OAAO,CAAC,kBAAuB,EACxC,cAAc,CAAC,EAAE,KAAK,CAAC,cAAc,GACtC,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC;IA+G5B;;;;;;;;;;;;;;;;;OAiBG;IACU,YAAY,CACrB,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,OAAO,CAAC,mBAAwB,EACzC,cAAc,CAAC,EAAE,KAAK,CAAC,cAAc,GACtC,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC;IA+GhC;;;;;;;;OAQG;IACU,YAAY,CACrB,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,OAAO,CAAC,mBAAwB,EACzC,cAAc,CAAC,EAAE,KAAK,CAAC,cAAc,GACtC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC;cA2GX,8BAA8B;;;CAIjD"}
|
|
@@ -82,7 +82,7 @@ class Files {
|
|
|
82
82
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
83
83
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'files'),
|
|
84
84
|
method: 'POST',
|
|
85
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.
|
|
85
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
|
86
86
|
contentType: 'application/json',
|
|
87
87
|
queryParameters: _queryParams,
|
|
88
88
|
requestType: 'json',
|
|
@@ -187,7 +187,7 @@ class Files {
|
|
|
187
187
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
188
188
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'files/search'),
|
|
189
189
|
method: 'POST',
|
|
190
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.
|
|
190
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
191
191
|
contentType: 'application/json',
|
|
192
192
|
requestType: 'json',
|
|
193
193
|
body: serializers.FileSearchRequest.jsonOrThrow(request, {
|
|
@@ -294,7 +294,7 @@ class Files {
|
|
|
294
294
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
295
295
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'files/upload'),
|
|
296
296
|
method: 'POST',
|
|
297
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.
|
|
297
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
|
298
298
|
contentType: 'application/json',
|
|
299
299
|
requestType: 'json',
|
|
300
300
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -392,7 +392,7 @@ class Files {
|
|
|
392
392
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
393
393
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}`),
|
|
394
394
|
method: 'GET',
|
|
395
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.
|
|
395
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
|
396
396
|
contentType: 'application/json',
|
|
397
397
|
requestType: 'json',
|
|
398
398
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -502,7 +502,7 @@ class Files {
|
|
|
502
502
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
503
503
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}`),
|
|
504
504
|
method: 'DELETE',
|
|
505
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.
|
|
505
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())),
|
|
506
506
|
contentType: 'application/json',
|
|
507
507
|
requestType: 'json',
|
|
508
508
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -629,7 +629,7 @@ class Files {
|
|
|
629
629
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
630
630
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}`),
|
|
631
631
|
method: 'PATCH',
|
|
632
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.
|
|
632
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())),
|
|
633
633
|
contentType: 'application/json',
|
|
634
634
|
queryParameters: _queryParams,
|
|
635
635
|
requestType: 'json',
|
|
@@ -744,6 +744,7 @@ class Files {
|
|
|
744
744
|
* @throws {@link Truvity.BadRequestError}
|
|
745
745
|
* @throws {@link Truvity.UnauthorizedError}
|
|
746
746
|
* @throws {@link Truvity.ForbiddenError}
|
|
747
|
+
* @throws {@link Truvity.NotFoundError}
|
|
747
748
|
* @throws {@link Truvity.MethodNotAllowedError}
|
|
748
749
|
* @throws {@link Truvity.PreconditionFailedError}
|
|
749
750
|
* @throws {@link Truvity.TooManyRequestsError}
|
|
@@ -761,7 +762,7 @@ class Files {
|
|
|
761
762
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
762
763
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}/restore`),
|
|
763
764
|
method: 'POST',
|
|
764
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.
|
|
765
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())),
|
|
765
766
|
contentType: 'application/json',
|
|
766
767
|
requestType: 'json',
|
|
767
768
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -799,6 +800,13 @@ class Files {
|
|
|
799
800
|
allowUnrecognizedEnumValues: true,
|
|
800
801
|
breadcrumbsPrefix: ['response'],
|
|
801
802
|
}));
|
|
803
|
+
case 404:
|
|
804
|
+
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
805
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
806
|
+
allowUnrecognizedUnionMembers: true,
|
|
807
|
+
allowUnrecognizedEnumValues: true,
|
|
808
|
+
breadcrumbsPrefix: ['response'],
|
|
809
|
+
}));
|
|
802
810
|
case 405:
|
|
803
811
|
throw new Truvity.MethodNotAllowedError(serializers.MethodNotAllowedProblems.parseOrThrow(_response.error.body, {
|
|
804
812
|
unrecognizedObjectKeys: 'passthrough',
|
|
@@ -873,7 +881,7 @@ class Files {
|
|
|
873
881
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
874
882
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}/revisions`),
|
|
875
883
|
method: 'GET',
|
|
876
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.
|
|
884
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
|
877
885
|
contentType: 'application/json',
|
|
878
886
|
requestType: 'json',
|
|
879
887
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -979,7 +987,7 @@ class Files {
|
|
|
979
987
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
980
988
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`),
|
|
981
989
|
method: 'GET',
|
|
982
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.
|
|
990
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
|
983
991
|
contentType: 'application/json',
|
|
984
992
|
requestType: 'json',
|
|
985
993
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1065,6 +1073,7 @@ class Files {
|
|
|
1065
1073
|
* @throws {@link Truvity.BadRequestError}
|
|
1066
1074
|
* @throws {@link Truvity.UnauthorizedError}
|
|
1067
1075
|
* @throws {@link Truvity.ForbiddenError}
|
|
1076
|
+
* @throws {@link Truvity.NotFoundError}
|
|
1068
1077
|
* @throws {@link Truvity.TooManyRequestsError}
|
|
1069
1078
|
* @throws {@link Truvity.InternalServerError}
|
|
1070
1079
|
*/
|
|
@@ -1075,7 +1084,7 @@ class Files {
|
|
|
1075
1084
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1076
1085
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}/download`),
|
|
1077
1086
|
method: 'GET',
|
|
1078
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.
|
|
1087
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.4', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
|
1079
1088
|
contentType: 'application/json',
|
|
1080
1089
|
requestType: 'json',
|
|
1081
1090
|
responseType: 'streaming',
|
|
@@ -1109,6 +1118,13 @@ class Files {
|
|
|
1109
1118
|
allowUnrecognizedEnumValues: true,
|
|
1110
1119
|
breadcrumbsPrefix: ['response'],
|
|
1111
1120
|
}));
|
|
1121
|
+
case 404:
|
|
1122
|
+
throw new Truvity.NotFoundError(serializers.NotFoundProblems.parseOrThrow(_response.error.body, {
|
|
1123
|
+
unrecognizedObjectKeys: 'passthrough',
|
|
1124
|
+
allowUnrecognizedUnionMembers: true,
|
|
1125
|
+
allowUnrecognizedEnumValues: true,
|
|
1126
|
+
breadcrumbsPrefix: ['response'],
|
|
1127
|
+
}));
|
|
1112
1128
|
case 429:
|
|
1113
1129
|
throw new Truvity.TooManyRequestsError(serializers.TooManyRequestsProblems.parseOrThrow(_response.error.body, {
|
|
1114
1130
|
unrecognizedObjectKeys: 'passthrough',
|