@truvity/sdk 0.27.9-rc.1 → 0.27.16
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/.idea/aws.xml +17 -0
- package/.idea/codeStyles/Project.xml +47 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/sdk-typescript-internal.iml +9 -0
- package/.idea/vcs.xml +6 -0
- package/Client.d.ts +6 -0
- package/Client.js +24 -14
- package/Makefile +8 -1
- package/api/errors/index.d.ts +1 -1
- package/api/errors/index.js +1 -1
- package/api/resources/apiKeys/client/Client.d.ts +181 -0
- package/api/resources/apiKeys/client/Client.js +841 -0
- package/api/resources/apiKeys/client/index.d.ts +1 -0
- package/api/resources/apiKeys/client/index.js +17 -0
- package/api/resources/apiKeys/client/requests/ApiKeyCreateRequest.d.ts +69 -0
- package/api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.d.ts +97 -0
- package/api/resources/apiKeys/client/requests/ApiKeyHistoryRequest.d.ts +57 -0
- package/api/resources/apiKeys/client/requests/ApiKeyHistoryRequest.js +5 -0
- package/api/resources/apiKeys/client/requests/ApiKeyLatestRequest.d.ts +57 -0
- package/api/resources/apiKeys/client/requests/ApiKeyLatestRequest.js +5 -0
- package/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.d.ts +97 -0
- package/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.js +5 -0
- package/api/resources/apiKeys/client/requests/ApiKeyRevisionRequest.d.ts +57 -0
- package/api/resources/apiKeys/client/requests/ApiKeyRevisionRequest.js +5 -0
- package/api/resources/apiKeys/client/requests/ApiKeySearch.d.ts +32 -0
- package/api/resources/apiKeys/client/requests/ApiKeySearch.js +5 -0
- package/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.d.ts +115 -0
- package/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.js +5 -0
- package/api/resources/apiKeys/client/requests/index.d.ts +8 -0
- package/api/resources/apiKeys/client/requests/index.js +2 -0
- package/api/resources/apiKeys/index.d.ts +1 -0
- package/api/resources/apiKeys/index.js +17 -0
- package/api/resources/gdpr/client/Client.d.ts +41 -0
- package/api/resources/gdpr/client/Client.js +142 -0
- package/api/resources/gdpr/client/index.d.ts +1 -0
- package/api/resources/gdpr/client/index.js +17 -0
- package/api/resources/gdpr/client/requests/SupportRequest.d.ts +45 -0
- package/api/resources/gdpr/client/requests/SupportRequest.js +5 -0
- package/api/resources/gdpr/client/requests/index.d.ts +1 -0
- package/api/resources/gdpr/client/requests/index.js +2 -0
- package/api/resources/gdpr/index.d.ts +1 -0
- package/api/resources/gdpr/index.js +17 -0
- package/api/resources/index.d.ts +4 -0
- package/api/resources/index.js +5 -1
- package/api/resources/keys/client/Client.d.ts +9 -0
- package/api/resources/keys/client/Client.js +86 -0
- package/api/resources/keys/client/requests/DidcommMessageSignRequest.d.ts +48 -0
- package/api/resources/keys/client/requests/DidcommMessageSignRequest.js +5 -0
- package/api/resources/keys/client/requests/index.d.ts +1 -0
- package/api/types/ApiKey.d.ts +11 -0
- package/api/types/ApiKey.js +5 -0
- package/api/types/ApiKeyCreateOutput.d.ts +10 -0
- package/api/types/ApiKeyCreateOutput.js +5 -0
- package/api/types/ApiKeyField.d.ts +17 -0
- package/api/types/ApiKeyField.js +16 -0
- package/api/types/ApiKeyFilter.d.ts +18 -0
- package/api/types/ApiKeyFilter.js +5 -0
- package/api/types/ApiKeyFilterData.d.ts +8 -0
- package/api/types/ApiKeyFilterData.js +5 -0
- package/api/types/ApiKeyFull.d.ts +9 -0
- package/api/types/ApiKeyFull.js +5 -0
- package/api/types/ApiKeyInput.d.ts +13 -0
- package/api/types/ApiKeyInput.js +5 -0
- package/api/types/{DraftInputData.d.ts → ApiKeyList.d.ts} +2 -1
- package/api/types/ApiKeyList.js +5 -0
- package/api/types/ApiKeyResource.d.ts +10 -0
- package/api/types/ApiKeyResource.js +5 -0
- package/api/types/ApiKeySecret.d.ts +10 -0
- package/api/types/ApiKeySecret.js +5 -0
- package/api/types/ApiKeySort.d.ts +11 -0
- package/api/types/ApiKeySort.js +5 -0
- package/api/types/Draft.d.ts +10 -0
- package/api/types/Draft.js +5 -0
- package/api/types/DraftFilterData.d.ts +2 -0
- package/api/types/DraftFind.d.ts +4 -0
- package/api/types/DraftInput.d.ts +1 -1
- package/api/types/SubjectId.d.ts +7 -0
- package/api/types/SubjectId.js +5 -0
- package/api/types/SupportRequestType.d.ts +13 -0
- package/api/types/SupportRequestType.js +12 -0
- package/api/types/index.d.ts +14 -1
- package/api/types/index.js +14 -1
- package/dist/Client.d.ts +6 -0
- package/dist/Client.js +24 -14
- package/dist/api/errors/index.d.ts +1 -1
- package/dist/api/errors/index.js +1 -1
- package/dist/api/resources/apiKeys/client/Client.d.ts +181 -0
- package/dist/api/resources/apiKeys/client/Client.js +841 -0
- package/dist/api/resources/apiKeys/client/index.d.ts +1 -0
- package/dist/api/resources/apiKeys/client/index.js +17 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyCreateRequest.d.ts +69 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyCreateRequest.js +5 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.d.ts +97 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.js +5 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyHistoryRequest.d.ts +57 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyHistoryRequest.js +5 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyLatestRequest.d.ts +57 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyLatestRequest.js +5 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.d.ts +97 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.js +5 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyRevisionRequest.d.ts +57 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyRevisionRequest.js +5 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeySearch.d.ts +32 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeySearch.js +5 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.d.ts +115 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.js +5 -0
- package/dist/api/resources/apiKeys/client/requests/index.d.ts +8 -0
- package/dist/api/resources/apiKeys/client/requests/index.js +2 -0
- package/dist/api/resources/apiKeys/index.d.ts +1 -0
- package/dist/api/resources/apiKeys/index.js +17 -0
- package/dist/api/resources/gdpr/client/Client.d.ts +41 -0
- package/dist/api/resources/gdpr/client/Client.js +142 -0
- package/dist/api/resources/gdpr/client/index.d.ts +1 -0
- package/dist/api/resources/gdpr/client/index.js +17 -0
- package/dist/api/resources/gdpr/client/requests/SupportRequest.d.ts +45 -0
- package/dist/api/resources/gdpr/client/requests/SupportRequest.js +5 -0
- package/dist/api/resources/gdpr/client/requests/index.d.ts +1 -0
- package/dist/api/resources/gdpr/client/requests/index.js +2 -0
- package/dist/api/resources/gdpr/index.d.ts +1 -0
- package/dist/api/resources/gdpr/index.js +17 -0
- package/dist/api/resources/index.d.ts +4 -0
- package/dist/api/resources/index.js +5 -1
- package/dist/api/resources/keys/client/Client.d.ts +9 -0
- package/dist/api/resources/keys/client/Client.js +86 -0
- package/dist/api/resources/keys/client/requests/DidcommMessageSignRequest.d.ts +48 -0
- package/dist/api/resources/keys/client/requests/DidcommMessageSignRequest.js +5 -0
- package/dist/api/resources/keys/client/requests/index.d.ts +1 -0
- package/dist/api/types/ApiKey.d.ts +11 -0
- package/dist/api/types/ApiKey.js +5 -0
- package/dist/api/types/ApiKeyCreateOutput.d.ts +10 -0
- package/dist/api/types/ApiKeyCreateOutput.js +5 -0
- package/dist/api/types/ApiKeyField.d.ts +17 -0
- package/dist/api/types/ApiKeyField.js +16 -0
- package/dist/api/types/ApiKeyFilter.d.ts +18 -0
- package/dist/api/types/ApiKeyFilter.js +5 -0
- package/dist/api/types/ApiKeyFilterData.d.ts +8 -0
- package/dist/api/types/ApiKeyFilterData.js +5 -0
- package/dist/api/types/ApiKeyFull.d.ts +9 -0
- package/dist/api/types/ApiKeyFull.js +5 -0
- package/dist/api/types/ApiKeyInput.d.ts +13 -0
- package/dist/api/types/ApiKeyInput.js +5 -0
- package/dist/api/types/{DraftInputData.d.ts → ApiKeyList.d.ts} +2 -1
- package/dist/api/types/ApiKeyList.js +5 -0
- package/dist/api/types/ApiKeyResource.d.ts +10 -0
- package/dist/api/types/ApiKeyResource.js +5 -0
- package/dist/api/types/ApiKeySecret.d.ts +10 -0
- package/dist/api/types/ApiKeySecret.js +5 -0
- package/dist/api/types/ApiKeySort.d.ts +11 -0
- package/dist/api/types/ApiKeySort.js +5 -0
- package/dist/api/types/Draft.d.ts +10 -0
- package/dist/api/types/Draft.js +5 -0
- package/dist/api/types/DraftFilterData.d.ts +2 -0
- package/dist/api/types/DraftFind.d.ts +4 -0
- package/dist/api/types/DraftInput.d.ts +1 -1
- package/dist/api/types/SubjectId.d.ts +7 -0
- package/dist/api/types/SubjectId.js +5 -0
- package/dist/api/types/SupportRequestType.d.ts +13 -0
- package/dist/api/types/SupportRequestType.js +12 -0
- package/dist/api/types/index.d.ts +14 -1
- package/dist/api/types/index.js +14 -1
- package/dist/documents/credential/draft.d.ts +3 -3
- package/dist/documents/credential/flavor.js +9 -0
- package/dist/documents/credential/flavor.spec.js +6 -0
- package/dist/documents/credential.d.ts +9 -2
- package/dist/documents/credential.js +81 -25
- package/dist/documents/types.d.ts +6 -1
- package/dist/serialization/resources/apiKeys/client/index.d.ts +1 -0
- package/dist/serialization/resources/apiKeys/client/index.js +17 -0
- package/dist/serialization/resources/apiKeys/client/requests/ApiKeySearch.d.ts +15 -0
- package/dist/serialization/resources/apiKeys/client/requests/ApiKeySearch.js +36 -0
- package/dist/serialization/resources/apiKeys/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/apiKeys/client/requests/index.js +5 -0
- package/dist/serialization/resources/apiKeys/index.d.ts +1 -0
- package/dist/serialization/resources/apiKeys/index.js +17 -0
- package/dist/serialization/resources/gdpr/client/index.d.ts +1 -0
- package/dist/serialization/resources/gdpr/client/index.js +17 -0
- package/dist/serialization/resources/gdpr/client/requests/SupportRequest.d.ts +14 -0
- package/dist/serialization/resources/gdpr/client/requests/SupportRequest.js +35 -0
- package/dist/serialization/resources/gdpr/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/gdpr/client/requests/index.js +5 -0
- package/dist/serialization/resources/gdpr/index.d.ts +1 -0
- package/dist/serialization/resources/gdpr/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +5 -1
- package/dist/serialization/resources/index.js +6 -2
- package/dist/serialization/resources/keys/client/didcommMessageSign.d.ts +9 -0
- package/dist/serialization/resources/keys/client/didcommMessageSign.js +31 -0
- package/dist/serialization/resources/keys/client/index.d.ts +1 -0
- package/dist/serialization/resources/keys/client/index.js +14 -0
- package/dist/serialization/types/ApiKey.d.ts +15 -0
- package/dist/serialization/types/ApiKey.js +36 -0
- package/dist/serialization/types/ApiKeyCreateOutput.d.ts +14 -0
- package/dist/serialization/types/ApiKeyCreateOutput.js +37 -0
- package/dist/serialization/types/ApiKeyField.d.ts +10 -0
- package/dist/serialization/types/ApiKeyField.js +40 -0
- package/dist/serialization/types/ApiKeyFilter.d.ts +28 -0
- package/dist/serialization/types/ApiKeyFilter.js +49 -0
- package/dist/serialization/types/ApiKeyFilterData.d.ts +15 -0
- package/dist/serialization/types/ApiKeyFilterData.js +36 -0
- package/dist/serialization/types/ApiKeyFull.d.ts +13 -0
- package/dist/serialization/types/ApiKeyFull.js +33 -0
- package/dist/serialization/types/ApiKeyInput.d.ts +15 -0
- package/dist/serialization/types/ApiKeyInput.js +36 -0
- package/dist/serialization/types/ApiKeyList.d.ts +13 -0
- package/dist/serialization/types/ApiKeyList.js +34 -0
- package/dist/serialization/types/ApiKeyResource.d.ts +14 -0
- package/dist/serialization/types/ApiKeyResource.js +37 -0
- package/dist/serialization/types/ApiKeySecret.d.ts +12 -0
- package/dist/serialization/types/ApiKeySecret.js +33 -0
- package/dist/serialization/types/ApiKeySort.d.ts +15 -0
- package/dist/serialization/types/ApiKeySort.js +36 -0
- package/dist/serialization/types/Draft.d.ts +14 -0
- package/dist/serialization/types/{DraftInputData.js → Draft.js} +7 -3
- package/dist/serialization/types/DraftFilterData.d.ts +3 -0
- package/dist/serialization/types/DraftFilterData.js +3 -0
- package/dist/serialization/types/DraftFind.d.ts +3 -0
- package/dist/serialization/types/DraftFind.js +3 -0
- package/dist/serialization/types/DraftInput.d.ts +2 -2
- package/dist/serialization/types/DraftInput.js +2 -2
- package/dist/serialization/types/SubjectId.d.ts +10 -0
- package/dist/serialization/types/SubjectId.js +31 -0
- package/dist/serialization/types/SupportRequestType.d.ts +10 -0
- package/dist/serialization/types/SupportRequestType.js +31 -0
- package/dist/serialization/types/index.d.ts +14 -1
- package/dist/serialization/types/index.js +14 -1
- package/documents/credential/draft.d.ts +3 -3
- package/documents/credential/flavor.js +9 -0
- package/documents/credential/flavor.spec.js +6 -0
- package/documents/credential.d.ts +9 -2
- package/documents/credential.js +81 -25
- package/documents/types.d.ts +6 -1
- package/jest.config.js +25 -0
- package/package.json +8 -2
- package/publish.sh +11 -2
- package/sdk.yaml +648 -9
- package/serialization/resources/apiKeys/client/index.d.ts +1 -0
- package/serialization/resources/apiKeys/client/index.js +17 -0
- package/serialization/resources/apiKeys/client/requests/ApiKeySearch.d.ts +15 -0
- package/serialization/resources/apiKeys/client/requests/ApiKeySearch.js +36 -0
- package/serialization/resources/apiKeys/client/requests/index.d.ts +1 -0
- package/serialization/resources/apiKeys/client/requests/index.js +5 -0
- package/serialization/resources/apiKeys/index.d.ts +1 -0
- package/serialization/resources/apiKeys/index.js +17 -0
- package/serialization/resources/gdpr/client/index.d.ts +1 -0
- package/serialization/resources/gdpr/client/index.js +17 -0
- package/serialization/resources/gdpr/client/requests/SupportRequest.d.ts +14 -0
- package/serialization/resources/gdpr/client/requests/SupportRequest.js +35 -0
- package/serialization/resources/gdpr/client/requests/index.d.ts +1 -0
- package/serialization/resources/gdpr/client/requests/index.js +5 -0
- package/serialization/resources/gdpr/index.d.ts +1 -0
- package/serialization/resources/gdpr/index.js +17 -0
- package/serialization/resources/index.d.ts +5 -1
- package/serialization/resources/index.js +6 -2
- package/serialization/resources/keys/client/didcommMessageSign.d.ts +9 -0
- package/serialization/resources/keys/client/didcommMessageSign.js +31 -0
- package/serialization/resources/keys/client/index.d.ts +1 -0
- package/serialization/resources/keys/client/index.js +14 -0
- package/serialization/types/ApiKey.d.ts +15 -0
- package/serialization/types/ApiKey.js +36 -0
- package/serialization/types/ApiKeyCreateOutput.d.ts +14 -0
- package/serialization/types/ApiKeyCreateOutput.js +37 -0
- package/serialization/types/ApiKeyField.d.ts +10 -0
- package/serialization/types/ApiKeyField.js +40 -0
- package/serialization/types/ApiKeyFilter.d.ts +28 -0
- package/serialization/types/ApiKeyFilter.js +49 -0
- package/serialization/types/ApiKeyFilterData.d.ts +15 -0
- package/serialization/types/ApiKeyFilterData.js +36 -0
- package/serialization/types/ApiKeyFull.d.ts +13 -0
- package/serialization/types/ApiKeyFull.js +33 -0
- package/serialization/types/ApiKeyInput.d.ts +15 -0
- package/serialization/types/ApiKeyInput.js +36 -0
- package/serialization/types/ApiKeyList.d.ts +13 -0
- package/serialization/types/ApiKeyList.js +34 -0
- package/serialization/types/ApiKeyResource.d.ts +14 -0
- package/serialization/types/ApiKeyResource.js +37 -0
- package/serialization/types/ApiKeySecret.d.ts +12 -0
- package/serialization/types/ApiKeySecret.js +33 -0
- package/serialization/types/ApiKeySort.d.ts +15 -0
- package/serialization/types/ApiKeySort.js +36 -0
- package/serialization/types/Draft.d.ts +14 -0
- package/serialization/types/{DraftInputData.js → Draft.js} +7 -3
- package/serialization/types/DraftFilterData.d.ts +3 -0
- package/serialization/types/DraftFilterData.js +3 -0
- package/serialization/types/DraftFind.d.ts +3 -0
- package/serialization/types/DraftFind.js +3 -0
- package/serialization/types/DraftInput.d.ts +2 -2
- package/serialization/types/DraftInput.js +2 -2
- package/serialization/types/SubjectId.d.ts +10 -0
- package/serialization/types/SubjectId.js +31 -0
- package/serialization/types/SupportRequestType.d.ts +10 -0
- package/serialization/types/SupportRequestType.js +31 -0
- package/serialization/types/index.d.ts +14 -1
- package/serialization/types/index.js +14 -1
- package/dist/serialization/types/DraftInputData.d.ts +0 -13
- package/serialization/types/DraftInputData.d.ts +0 -13
- /package/api/{types/DraftInputData.js → resources/apiKeys/client/requests/ApiKeyCreateRequest.js} +0 -0
- /package/{dist/api/types/DraftInputData.js → api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Truvity from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* body: {}
|
|
9
|
+
* }
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* {
|
|
13
|
+
* idempotencyKey: "string",
|
|
14
|
+
* body: {}
|
|
15
|
+
* }
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* {
|
|
19
|
+
* idempotencyKey: "string",
|
|
20
|
+
* body: {}
|
|
21
|
+
* }
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* {
|
|
25
|
+
* idempotencyKey: "string",
|
|
26
|
+
* body: {}
|
|
27
|
+
* }
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* {
|
|
31
|
+
* idempotencyKey: "string",
|
|
32
|
+
* body: {}
|
|
33
|
+
* }
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* {
|
|
37
|
+
* idempotencyKey: "string",
|
|
38
|
+
* body: {}
|
|
39
|
+
* }
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* {
|
|
43
|
+
* idempotencyKey: "string",
|
|
44
|
+
* body: {}
|
|
45
|
+
* }
|
|
46
|
+
*/
|
|
47
|
+
export interface ApiKeyCreateRequest {
|
|
48
|
+
/**
|
|
49
|
+
* From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).
|
|
50
|
+
* The **Idempotency-Key** is a free identifier created by the client to
|
|
51
|
+
* identify a request. It is used by the service to identify repeated request
|
|
52
|
+
* to ensure idempotent behavior by sending the same (or a similar) response
|
|
53
|
+
* without executing the request a second time.
|
|
54
|
+
*
|
|
55
|
+
* Clients should be careful as any subsequent requests with the same key may
|
|
56
|
+
* return the same response without further check. Thus, it is recommended to
|
|
57
|
+
* use a UUID version 4 (random) or any other random string with enough
|
|
58
|
+
* entropy to avoid collisions.
|
|
59
|
+
*
|
|
60
|
+
* Keys expire after 24 hours. Clients are responsible to stay within this
|
|
61
|
+
* limit, if they require idempotent behavior.
|
|
62
|
+
*
|
|
63
|
+
* See [API Guideline Rule #181][api-230] for further details.
|
|
64
|
+
*
|
|
65
|
+
* [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.
|
|
66
|
+
*/
|
|
67
|
+
idempotencyKey?: string;
|
|
68
|
+
body: Truvity.ApiKeyInput;
|
|
69
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* ifMatch: "If-Match"
|
|
8
|
+
* }
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* {
|
|
12
|
+
* idempotencyKey: "string",
|
|
13
|
+
* ifMatch: "string"
|
|
14
|
+
* }
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* {
|
|
18
|
+
* idempotencyKey: "string",
|
|
19
|
+
* ifMatch: "string"
|
|
20
|
+
* }
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* {
|
|
24
|
+
* idempotencyKey: "string",
|
|
25
|
+
* ifMatch: "string"
|
|
26
|
+
* }
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* {
|
|
30
|
+
* idempotencyKey: "string",
|
|
31
|
+
* ifMatch: "string"
|
|
32
|
+
* }
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* {
|
|
36
|
+
* idempotencyKey: "string",
|
|
37
|
+
* ifMatch: "string"
|
|
38
|
+
* }
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* {
|
|
42
|
+
* idempotencyKey: "string",
|
|
43
|
+
* ifMatch: "string"
|
|
44
|
+
* }
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* {
|
|
48
|
+
* idempotencyKey: "string",
|
|
49
|
+
* ifMatch: "string"
|
|
50
|
+
* }
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* {
|
|
54
|
+
* idempotencyKey: "string",
|
|
55
|
+
* ifMatch: "string"
|
|
56
|
+
* }
|
|
57
|
+
*/
|
|
58
|
+
export interface ApiKeyDeleteRequest {
|
|
59
|
+
/**
|
|
60
|
+
* From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).
|
|
61
|
+
* The **Idempotency-Key** is a free identifier created by the client to
|
|
62
|
+
* identify a request. It is used by the service to identify repeated request
|
|
63
|
+
* to ensure idempotent behavior by sending the same (or a similar) response
|
|
64
|
+
* without executing the request a second time.
|
|
65
|
+
*
|
|
66
|
+
* Clients should be careful as any subsequent requests with the same key may
|
|
67
|
+
* return the same response without further check. Thus, it is recommended to
|
|
68
|
+
* use a UUID version 4 (random) or any other random string with enough
|
|
69
|
+
* entropy to avoid collisions.
|
|
70
|
+
*
|
|
71
|
+
* Keys expire after 24 hours. Clients are responsible to stay within this
|
|
72
|
+
* limit, if they require idempotent behavior.
|
|
73
|
+
*
|
|
74
|
+
* See [API Guideline Rule #181][api-230] for further details.
|
|
75
|
+
*
|
|
76
|
+
* [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.
|
|
77
|
+
*/
|
|
78
|
+
idempotencyKey?: string;
|
|
79
|
+
/**
|
|
80
|
+
* From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).
|
|
81
|
+
* The **If-Match** header field is used to declare a list of identifiers that
|
|
82
|
+
* are required to match the current resource version identifier in at least
|
|
83
|
+
* one position as a pre-condition for executing the request on the server
|
|
84
|
+
* side. This behavior is used to validate and reject optimistic updates, by
|
|
85
|
+
* checking if the resource version a consumer has based his changes on is
|
|
86
|
+
* outdated on arrival of the change request to prevent lost updates.
|
|
87
|
+
*
|
|
88
|
+
* If the pre-condition fails the server will respond with status code **412**
|
|
89
|
+
* (Precondition Failed). See [RFC 9110 Section 13.1.1][rfc-9110-13.1.1] as
|
|
90
|
+
* well as [API Guideline Rule #182][api-182] for further details.
|
|
91
|
+
*
|
|
92
|
+
* [rfc-9110-13.1.1]: https://tools.ietf.org/html/rfc9110#section-13.1.1
|
|
93
|
+
*
|
|
94
|
+
* [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.
|
|
95
|
+
*/
|
|
96
|
+
ifMatch: string;
|
|
97
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* {
|
|
10
|
+
* ifNoneMatch: "string"
|
|
11
|
+
* }
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* {
|
|
15
|
+
* ifNoneMatch: "string"
|
|
16
|
+
* }
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* {
|
|
20
|
+
* ifNoneMatch: "string"
|
|
21
|
+
* }
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* {
|
|
25
|
+
* ifNoneMatch: "string"
|
|
26
|
+
* }
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* {
|
|
30
|
+
* ifNoneMatch: "string"
|
|
31
|
+
* }
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* {
|
|
35
|
+
* ifNoneMatch: "string"
|
|
36
|
+
* }
|
|
37
|
+
*/
|
|
38
|
+
export interface ApiKeyHistoryRequest {
|
|
39
|
+
/**
|
|
40
|
+
* From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).
|
|
41
|
+
* The **If-None-Match header** field is used to declare a list of identifiers
|
|
42
|
+
* that are required to fail matching all the current resource version
|
|
43
|
+
* identifiers as a pre-condition for executing the request on the server
|
|
44
|
+
* side. This is especially used in conjunction with an **\*** (asterix) that
|
|
45
|
+
* is matching all possible resource identifiers to ensure the initial
|
|
46
|
+
* creation of a resource. Other use cases are possible but rare.
|
|
47
|
+
*
|
|
48
|
+
* If the pre-condition fails the server will respond with status code **412**
|
|
49
|
+
* (Precondition Failed). See [RFC 9110 Section 13.1.2][rfc-9110-13.1.2] as
|
|
50
|
+
* well as [API Guideline Rule #182][api-182] for further details.
|
|
51
|
+
*
|
|
52
|
+
* [rfc-9110-13.1.2]: https://tools.ietf.org/html/rfc9110#section-13.1.2
|
|
53
|
+
*
|
|
54
|
+
* [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.
|
|
55
|
+
*/
|
|
56
|
+
ifNoneMatch?: string;
|
|
57
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* {
|
|
10
|
+
* ifNoneMatch: "string"
|
|
11
|
+
* }
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* {
|
|
15
|
+
* ifNoneMatch: "string"
|
|
16
|
+
* }
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* {
|
|
20
|
+
* ifNoneMatch: "string"
|
|
21
|
+
* }
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* {
|
|
25
|
+
* ifNoneMatch: "string"
|
|
26
|
+
* }
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* {
|
|
30
|
+
* ifNoneMatch: "string"
|
|
31
|
+
* }
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* {
|
|
35
|
+
* ifNoneMatch: "string"
|
|
36
|
+
* }
|
|
37
|
+
*/
|
|
38
|
+
export interface ApiKeyLatestRequest {
|
|
39
|
+
/**
|
|
40
|
+
* From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).
|
|
41
|
+
* The **If-None-Match header** field is used to declare a list of identifiers
|
|
42
|
+
* that are required to fail matching all the current resource version
|
|
43
|
+
* identifiers as a pre-condition for executing the request on the server
|
|
44
|
+
* side. This is especially used in conjunction with an **\*** (asterix) that
|
|
45
|
+
* is matching all possible resource identifiers to ensure the initial
|
|
46
|
+
* creation of a resource. Other use cases are possible but rare.
|
|
47
|
+
*
|
|
48
|
+
* If the pre-condition fails the server will respond with status code **412**
|
|
49
|
+
* (Precondition Failed). See [RFC 9110 Section 13.1.2][rfc-9110-13.1.2] as
|
|
50
|
+
* well as [API Guideline Rule #182][api-182] for further details.
|
|
51
|
+
*
|
|
52
|
+
* [rfc-9110-13.1.2]: https://tools.ietf.org/html/rfc9110#section-13.1.2
|
|
53
|
+
*
|
|
54
|
+
* [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.
|
|
55
|
+
*/
|
|
56
|
+
ifNoneMatch?: string;
|
|
57
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* ifMatch: "If-Match"
|
|
8
|
+
* }
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* {
|
|
12
|
+
* idempotencyKey: "string",
|
|
13
|
+
* ifMatch: "string"
|
|
14
|
+
* }
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* {
|
|
18
|
+
* idempotencyKey: "string",
|
|
19
|
+
* ifMatch: "string"
|
|
20
|
+
* }
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* {
|
|
24
|
+
* idempotencyKey: "string",
|
|
25
|
+
* ifMatch: "string"
|
|
26
|
+
* }
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* {
|
|
30
|
+
* idempotencyKey: "string",
|
|
31
|
+
* ifMatch: "string"
|
|
32
|
+
* }
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* {
|
|
36
|
+
* idempotencyKey: "string",
|
|
37
|
+
* ifMatch: "string"
|
|
38
|
+
* }
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* {
|
|
42
|
+
* idempotencyKey: "string",
|
|
43
|
+
* ifMatch: "string"
|
|
44
|
+
* }
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* {
|
|
48
|
+
* idempotencyKey: "string",
|
|
49
|
+
* ifMatch: "string"
|
|
50
|
+
* }
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* {
|
|
54
|
+
* idempotencyKey: "string",
|
|
55
|
+
* ifMatch: "string"
|
|
56
|
+
* }
|
|
57
|
+
*/
|
|
58
|
+
export interface ApiKeyRestoreRequest {
|
|
59
|
+
/**
|
|
60
|
+
* From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).
|
|
61
|
+
* The **Idempotency-Key** is a free identifier created by the client to
|
|
62
|
+
* identify a request. It is used by the service to identify repeated request
|
|
63
|
+
* to ensure idempotent behavior by sending the same (or a similar) response
|
|
64
|
+
* without executing the request a second time.
|
|
65
|
+
*
|
|
66
|
+
* Clients should be careful as any subsequent requests with the same key may
|
|
67
|
+
* return the same response without further check. Thus, it is recommended to
|
|
68
|
+
* use a UUID version 4 (random) or any other random string with enough
|
|
69
|
+
* entropy to avoid collisions.
|
|
70
|
+
*
|
|
71
|
+
* Keys expire after 24 hours. Clients are responsible to stay within this
|
|
72
|
+
* limit, if they require idempotent behavior.
|
|
73
|
+
*
|
|
74
|
+
* See [API Guideline Rule #181][api-230] for further details.
|
|
75
|
+
*
|
|
76
|
+
* [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.
|
|
77
|
+
*/
|
|
78
|
+
idempotencyKey?: string;
|
|
79
|
+
/**
|
|
80
|
+
* From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).
|
|
81
|
+
* The **If-Match** header field is used to declare a list of identifiers that
|
|
82
|
+
* are required to match the current resource version identifier in at least
|
|
83
|
+
* one position as a pre-condition for executing the request on the server
|
|
84
|
+
* side. This behavior is used to validate and reject optimistic updates, by
|
|
85
|
+
* checking if the resource version a consumer has based his changes on is
|
|
86
|
+
* outdated on arrival of the change request to prevent lost updates.
|
|
87
|
+
*
|
|
88
|
+
* If the pre-condition fails the server will respond with status code **412**
|
|
89
|
+
* (Precondition Failed). See [RFC 9110 Section 13.1.1][rfc-9110-13.1.1] as
|
|
90
|
+
* well as [API Guideline Rule #182][api-182] for further details.
|
|
91
|
+
*
|
|
92
|
+
* [rfc-9110-13.1.1]: https://tools.ietf.org/html/rfc9110#section-13.1.1
|
|
93
|
+
*
|
|
94
|
+
* [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.
|
|
95
|
+
*/
|
|
96
|
+
ifMatch: string;
|
|
97
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* {
|
|
10
|
+
* ifNoneMatch: "string"
|
|
11
|
+
* }
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* {
|
|
15
|
+
* ifNoneMatch: "string"
|
|
16
|
+
* }
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* {
|
|
20
|
+
* ifNoneMatch: "string"
|
|
21
|
+
* }
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* {
|
|
25
|
+
* ifNoneMatch: "string"
|
|
26
|
+
* }
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* {
|
|
30
|
+
* ifNoneMatch: "string"
|
|
31
|
+
* }
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* {
|
|
35
|
+
* ifNoneMatch: "string"
|
|
36
|
+
* }
|
|
37
|
+
*/
|
|
38
|
+
export interface ApiKeyRevisionRequest {
|
|
39
|
+
/**
|
|
40
|
+
* From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).
|
|
41
|
+
* The **If-None-Match header** field is used to declare a list of identifiers
|
|
42
|
+
* that are required to fail matching all the current resource version
|
|
43
|
+
* identifiers as a pre-condition for executing the request on the server
|
|
44
|
+
* side. This is especially used in conjunction with an **\*** (asterix) that
|
|
45
|
+
* is matching all possible resource identifiers to ensure the initial
|
|
46
|
+
* creation of a resource. Other use cases are possible but rare.
|
|
47
|
+
*
|
|
48
|
+
* If the pre-condition fails the server will respond with status code **412**
|
|
49
|
+
* (Precondition Failed). See [RFC 9110 Section 13.1.2][rfc-9110-13.1.2] as
|
|
50
|
+
* well as [API Guideline Rule #182][api-182] for further details.
|
|
51
|
+
*
|
|
52
|
+
* [rfc-9110-13.1.2]: https://tools.ietf.org/html/rfc9110#section-13.1.2
|
|
53
|
+
*
|
|
54
|
+
* [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.
|
|
55
|
+
*/
|
|
56
|
+
ifNoneMatch?: string;
|
|
57
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Truvity from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {}
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* {}
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* {}
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* {}
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* {}
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* {}
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* {}
|
|
26
|
+
*/
|
|
27
|
+
export interface ApiKeySearch {
|
|
28
|
+
/** Filter for the api-keys' resources. */
|
|
29
|
+
filter?: Truvity.ApiKeyFilter[];
|
|
30
|
+
/** Sort of the api-keys' resources. */
|
|
31
|
+
sort?: Truvity.ApiKeySort[];
|
|
32
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Truvity from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* ifMatch: "If-Match",
|
|
9
|
+
* body: {}
|
|
10
|
+
* }
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* {
|
|
14
|
+
* idempotencyKey: "string",
|
|
15
|
+
* ifMatch: "string",
|
|
16
|
+
* body: {}
|
|
17
|
+
* }
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* {
|
|
21
|
+
* idempotencyKey: "string",
|
|
22
|
+
* ifMatch: "string",
|
|
23
|
+
* body: {}
|
|
24
|
+
* }
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* {
|
|
28
|
+
* idempotencyKey: "string",
|
|
29
|
+
* ifMatch: "string",
|
|
30
|
+
* body: {}
|
|
31
|
+
* }
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* {
|
|
35
|
+
* idempotencyKey: "string",
|
|
36
|
+
* ifMatch: "string",
|
|
37
|
+
* body: {}
|
|
38
|
+
* }
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* {
|
|
42
|
+
* idempotencyKey: "string",
|
|
43
|
+
* ifMatch: "string",
|
|
44
|
+
* body: {}
|
|
45
|
+
* }
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* {
|
|
49
|
+
* idempotencyKey: "string",
|
|
50
|
+
* ifMatch: "string",
|
|
51
|
+
* body: {}
|
|
52
|
+
* }
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* {
|
|
56
|
+
* idempotencyKey: "string",
|
|
57
|
+
* ifMatch: "string",
|
|
58
|
+
* body: {}
|
|
59
|
+
* }
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* {
|
|
63
|
+
* idempotencyKey: "string",
|
|
64
|
+
* ifMatch: "string",
|
|
65
|
+
* body: {}
|
|
66
|
+
* }
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* {
|
|
70
|
+
* idempotencyKey: "string",
|
|
71
|
+
* ifMatch: "string",
|
|
72
|
+
* body: {}
|
|
73
|
+
* }
|
|
74
|
+
*/
|
|
75
|
+
export interface ApiKeyUpdateRequest {
|
|
76
|
+
/**
|
|
77
|
+
* From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).
|
|
78
|
+
* The **Idempotency-Key** is a free identifier created by the client to
|
|
79
|
+
* identify a request. It is used by the service to identify repeated request
|
|
80
|
+
* to ensure idempotent behavior by sending the same (or a similar) response
|
|
81
|
+
* without executing the request a second time.
|
|
82
|
+
*
|
|
83
|
+
* Clients should be careful as any subsequent requests with the same key may
|
|
84
|
+
* return the same response without further check. Thus, it is recommended to
|
|
85
|
+
* use a UUID version 4 (random) or any other random string with enough
|
|
86
|
+
* entropy to avoid collisions.
|
|
87
|
+
*
|
|
88
|
+
* Keys expire after 24 hours. Clients are responsible to stay within this
|
|
89
|
+
* limit, if they require idempotent behavior.
|
|
90
|
+
*
|
|
91
|
+
* See [API Guideline Rule #181][api-230] for further details.
|
|
92
|
+
*
|
|
93
|
+
* [api-230]: <https://opensource.zalando.com/restful-api-guidelines/#230>.
|
|
94
|
+
*/
|
|
95
|
+
idempotencyKey?: string;
|
|
96
|
+
/**
|
|
97
|
+
* From [Zalando RESTful API Guidelines - models/headers-1.0.0.yaml](https://opensource.zalando.com/restful-api-guidelines/models/headers-1.0.0.yaml).
|
|
98
|
+
* The **If-Match** header field is used to declare a list of identifiers that
|
|
99
|
+
* are required to match the current resource version identifier in at least
|
|
100
|
+
* one position as a pre-condition for executing the request on the server
|
|
101
|
+
* side. This behavior is used to validate and reject optimistic updates, by
|
|
102
|
+
* checking if the resource version a consumer has based his changes on is
|
|
103
|
+
* outdated on arrival of the change request to prevent lost updates.
|
|
104
|
+
*
|
|
105
|
+
* If the pre-condition fails the server will respond with status code **412**
|
|
106
|
+
* (Precondition Failed). See [RFC 9110 Section 13.1.1][rfc-9110-13.1.1] as
|
|
107
|
+
* well as [API Guideline Rule #182][api-182] for further details.
|
|
108
|
+
*
|
|
109
|
+
* [rfc-9110-13.1.1]: https://tools.ietf.org/html/rfc9110#section-13.1.1
|
|
110
|
+
*
|
|
111
|
+
* [api-182]: <https://opensource.zalando.com/restful-api-guidelines/#182>.
|
|
112
|
+
*/
|
|
113
|
+
ifMatch: string;
|
|
114
|
+
body: Truvity.ApiKeyInput;
|
|
115
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { type ApiKeyCreateRequest } from "./ApiKeyCreateRequest";
|
|
2
|
+
export { type ApiKeySearch } from "./ApiKeySearch";
|
|
3
|
+
export { type ApiKeyLatestRequest } from "./ApiKeyLatestRequest";
|
|
4
|
+
export { type ApiKeyDeleteRequest } from "./ApiKeyDeleteRequest";
|
|
5
|
+
export { type ApiKeyUpdateRequest } from "./ApiKeyUpdateRequest";
|
|
6
|
+
export { type ApiKeyRestoreRequest } from "./ApiKeyRestoreRequest";
|
|
7
|
+
export { type ApiKeyHistoryRequest } from "./ApiKeyHistoryRequest";
|
|
8
|
+
export { type ApiKeyRevisionRequest } from "./ApiKeyRevisionRequest";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|