@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.
Files changed (298) hide show
  1. package/.idea/aws.xml +17 -0
  2. package/.idea/codeStyles/Project.xml +47 -0
  3. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  4. package/.idea/misc.xml +6 -0
  5. package/.idea/modules.xml +8 -0
  6. package/.idea/sdk-typescript-internal.iml +9 -0
  7. package/.idea/vcs.xml +6 -0
  8. package/Client.d.ts +6 -0
  9. package/Client.js +24 -14
  10. package/Makefile +8 -1
  11. package/api/errors/index.d.ts +1 -1
  12. package/api/errors/index.js +1 -1
  13. package/api/resources/apiKeys/client/Client.d.ts +181 -0
  14. package/api/resources/apiKeys/client/Client.js +841 -0
  15. package/api/resources/apiKeys/client/index.d.ts +1 -0
  16. package/api/resources/apiKeys/client/index.js +17 -0
  17. package/api/resources/apiKeys/client/requests/ApiKeyCreateRequest.d.ts +69 -0
  18. package/api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.d.ts +97 -0
  19. package/api/resources/apiKeys/client/requests/ApiKeyHistoryRequest.d.ts +57 -0
  20. package/api/resources/apiKeys/client/requests/ApiKeyHistoryRequest.js +5 -0
  21. package/api/resources/apiKeys/client/requests/ApiKeyLatestRequest.d.ts +57 -0
  22. package/api/resources/apiKeys/client/requests/ApiKeyLatestRequest.js +5 -0
  23. package/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.d.ts +97 -0
  24. package/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.js +5 -0
  25. package/api/resources/apiKeys/client/requests/ApiKeyRevisionRequest.d.ts +57 -0
  26. package/api/resources/apiKeys/client/requests/ApiKeyRevisionRequest.js +5 -0
  27. package/api/resources/apiKeys/client/requests/ApiKeySearch.d.ts +32 -0
  28. package/api/resources/apiKeys/client/requests/ApiKeySearch.js +5 -0
  29. package/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.d.ts +115 -0
  30. package/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.js +5 -0
  31. package/api/resources/apiKeys/client/requests/index.d.ts +8 -0
  32. package/api/resources/apiKeys/client/requests/index.js +2 -0
  33. package/api/resources/apiKeys/index.d.ts +1 -0
  34. package/api/resources/apiKeys/index.js +17 -0
  35. package/api/resources/gdpr/client/Client.d.ts +41 -0
  36. package/api/resources/gdpr/client/Client.js +142 -0
  37. package/api/resources/gdpr/client/index.d.ts +1 -0
  38. package/api/resources/gdpr/client/index.js +17 -0
  39. package/api/resources/gdpr/client/requests/SupportRequest.d.ts +45 -0
  40. package/api/resources/gdpr/client/requests/SupportRequest.js +5 -0
  41. package/api/resources/gdpr/client/requests/index.d.ts +1 -0
  42. package/api/resources/gdpr/client/requests/index.js +2 -0
  43. package/api/resources/gdpr/index.d.ts +1 -0
  44. package/api/resources/gdpr/index.js +17 -0
  45. package/api/resources/index.d.ts +4 -0
  46. package/api/resources/index.js +5 -1
  47. package/api/resources/keys/client/Client.d.ts +9 -0
  48. package/api/resources/keys/client/Client.js +86 -0
  49. package/api/resources/keys/client/requests/DidcommMessageSignRequest.d.ts +48 -0
  50. package/api/resources/keys/client/requests/DidcommMessageSignRequest.js +5 -0
  51. package/api/resources/keys/client/requests/index.d.ts +1 -0
  52. package/api/types/ApiKey.d.ts +11 -0
  53. package/api/types/ApiKey.js +5 -0
  54. package/api/types/ApiKeyCreateOutput.d.ts +10 -0
  55. package/api/types/ApiKeyCreateOutput.js +5 -0
  56. package/api/types/ApiKeyField.d.ts +17 -0
  57. package/api/types/ApiKeyField.js +16 -0
  58. package/api/types/ApiKeyFilter.d.ts +18 -0
  59. package/api/types/ApiKeyFilter.js +5 -0
  60. package/api/types/ApiKeyFilterData.d.ts +8 -0
  61. package/api/types/ApiKeyFilterData.js +5 -0
  62. package/api/types/ApiKeyFull.d.ts +9 -0
  63. package/api/types/ApiKeyFull.js +5 -0
  64. package/api/types/ApiKeyInput.d.ts +13 -0
  65. package/api/types/ApiKeyInput.js +5 -0
  66. package/api/types/{DraftInputData.d.ts → ApiKeyList.d.ts} +2 -1
  67. package/api/types/ApiKeyList.js +5 -0
  68. package/api/types/ApiKeyResource.d.ts +10 -0
  69. package/api/types/ApiKeyResource.js +5 -0
  70. package/api/types/ApiKeySecret.d.ts +10 -0
  71. package/api/types/ApiKeySecret.js +5 -0
  72. package/api/types/ApiKeySort.d.ts +11 -0
  73. package/api/types/ApiKeySort.js +5 -0
  74. package/api/types/Draft.d.ts +10 -0
  75. package/api/types/Draft.js +5 -0
  76. package/api/types/DraftFilterData.d.ts +2 -0
  77. package/api/types/DraftFind.d.ts +4 -0
  78. package/api/types/DraftInput.d.ts +1 -1
  79. package/api/types/SubjectId.d.ts +7 -0
  80. package/api/types/SubjectId.js +5 -0
  81. package/api/types/SupportRequestType.d.ts +13 -0
  82. package/api/types/SupportRequestType.js +12 -0
  83. package/api/types/index.d.ts +14 -1
  84. package/api/types/index.js +14 -1
  85. package/dist/Client.d.ts +6 -0
  86. package/dist/Client.js +24 -14
  87. package/dist/api/errors/index.d.ts +1 -1
  88. package/dist/api/errors/index.js +1 -1
  89. package/dist/api/resources/apiKeys/client/Client.d.ts +181 -0
  90. package/dist/api/resources/apiKeys/client/Client.js +841 -0
  91. package/dist/api/resources/apiKeys/client/index.d.ts +1 -0
  92. package/dist/api/resources/apiKeys/client/index.js +17 -0
  93. package/dist/api/resources/apiKeys/client/requests/ApiKeyCreateRequest.d.ts +69 -0
  94. package/dist/api/resources/apiKeys/client/requests/ApiKeyCreateRequest.js +5 -0
  95. package/dist/api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.d.ts +97 -0
  96. package/dist/api/resources/apiKeys/client/requests/ApiKeyDeleteRequest.js +5 -0
  97. package/dist/api/resources/apiKeys/client/requests/ApiKeyHistoryRequest.d.ts +57 -0
  98. package/dist/api/resources/apiKeys/client/requests/ApiKeyHistoryRequest.js +5 -0
  99. package/dist/api/resources/apiKeys/client/requests/ApiKeyLatestRequest.d.ts +57 -0
  100. package/dist/api/resources/apiKeys/client/requests/ApiKeyLatestRequest.js +5 -0
  101. package/dist/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.d.ts +97 -0
  102. package/dist/api/resources/apiKeys/client/requests/ApiKeyRestoreRequest.js +5 -0
  103. package/dist/api/resources/apiKeys/client/requests/ApiKeyRevisionRequest.d.ts +57 -0
  104. package/dist/api/resources/apiKeys/client/requests/ApiKeyRevisionRequest.js +5 -0
  105. package/dist/api/resources/apiKeys/client/requests/ApiKeySearch.d.ts +32 -0
  106. package/dist/api/resources/apiKeys/client/requests/ApiKeySearch.js +5 -0
  107. package/dist/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.d.ts +115 -0
  108. package/dist/api/resources/apiKeys/client/requests/ApiKeyUpdateRequest.js +5 -0
  109. package/dist/api/resources/apiKeys/client/requests/index.d.ts +8 -0
  110. package/dist/api/resources/apiKeys/client/requests/index.js +2 -0
  111. package/dist/api/resources/apiKeys/index.d.ts +1 -0
  112. package/dist/api/resources/apiKeys/index.js +17 -0
  113. package/dist/api/resources/gdpr/client/Client.d.ts +41 -0
  114. package/dist/api/resources/gdpr/client/Client.js +142 -0
  115. package/dist/api/resources/gdpr/client/index.d.ts +1 -0
  116. package/dist/api/resources/gdpr/client/index.js +17 -0
  117. package/dist/api/resources/gdpr/client/requests/SupportRequest.d.ts +45 -0
  118. package/dist/api/resources/gdpr/client/requests/SupportRequest.js +5 -0
  119. package/dist/api/resources/gdpr/client/requests/index.d.ts +1 -0
  120. package/dist/api/resources/gdpr/client/requests/index.js +2 -0
  121. package/dist/api/resources/gdpr/index.d.ts +1 -0
  122. package/dist/api/resources/gdpr/index.js +17 -0
  123. package/dist/api/resources/index.d.ts +4 -0
  124. package/dist/api/resources/index.js +5 -1
  125. package/dist/api/resources/keys/client/Client.d.ts +9 -0
  126. package/dist/api/resources/keys/client/Client.js +86 -0
  127. package/dist/api/resources/keys/client/requests/DidcommMessageSignRequest.d.ts +48 -0
  128. package/dist/api/resources/keys/client/requests/DidcommMessageSignRequest.js +5 -0
  129. package/dist/api/resources/keys/client/requests/index.d.ts +1 -0
  130. package/dist/api/types/ApiKey.d.ts +11 -0
  131. package/dist/api/types/ApiKey.js +5 -0
  132. package/dist/api/types/ApiKeyCreateOutput.d.ts +10 -0
  133. package/dist/api/types/ApiKeyCreateOutput.js +5 -0
  134. package/dist/api/types/ApiKeyField.d.ts +17 -0
  135. package/dist/api/types/ApiKeyField.js +16 -0
  136. package/dist/api/types/ApiKeyFilter.d.ts +18 -0
  137. package/dist/api/types/ApiKeyFilter.js +5 -0
  138. package/dist/api/types/ApiKeyFilterData.d.ts +8 -0
  139. package/dist/api/types/ApiKeyFilterData.js +5 -0
  140. package/dist/api/types/ApiKeyFull.d.ts +9 -0
  141. package/dist/api/types/ApiKeyFull.js +5 -0
  142. package/dist/api/types/ApiKeyInput.d.ts +13 -0
  143. package/dist/api/types/ApiKeyInput.js +5 -0
  144. package/dist/api/types/{DraftInputData.d.ts → ApiKeyList.d.ts} +2 -1
  145. package/dist/api/types/ApiKeyList.js +5 -0
  146. package/dist/api/types/ApiKeyResource.d.ts +10 -0
  147. package/dist/api/types/ApiKeyResource.js +5 -0
  148. package/dist/api/types/ApiKeySecret.d.ts +10 -0
  149. package/dist/api/types/ApiKeySecret.js +5 -0
  150. package/dist/api/types/ApiKeySort.d.ts +11 -0
  151. package/dist/api/types/ApiKeySort.js +5 -0
  152. package/dist/api/types/Draft.d.ts +10 -0
  153. package/dist/api/types/Draft.js +5 -0
  154. package/dist/api/types/DraftFilterData.d.ts +2 -0
  155. package/dist/api/types/DraftFind.d.ts +4 -0
  156. package/dist/api/types/DraftInput.d.ts +1 -1
  157. package/dist/api/types/SubjectId.d.ts +7 -0
  158. package/dist/api/types/SubjectId.js +5 -0
  159. package/dist/api/types/SupportRequestType.d.ts +13 -0
  160. package/dist/api/types/SupportRequestType.js +12 -0
  161. package/dist/api/types/index.d.ts +14 -1
  162. package/dist/api/types/index.js +14 -1
  163. package/dist/documents/credential/draft.d.ts +3 -3
  164. package/dist/documents/credential/flavor.js +9 -0
  165. package/dist/documents/credential/flavor.spec.js +6 -0
  166. package/dist/documents/credential.d.ts +9 -2
  167. package/dist/documents/credential.js +81 -25
  168. package/dist/documents/types.d.ts +6 -1
  169. package/dist/serialization/resources/apiKeys/client/index.d.ts +1 -0
  170. package/dist/serialization/resources/apiKeys/client/index.js +17 -0
  171. package/dist/serialization/resources/apiKeys/client/requests/ApiKeySearch.d.ts +15 -0
  172. package/dist/serialization/resources/apiKeys/client/requests/ApiKeySearch.js +36 -0
  173. package/dist/serialization/resources/apiKeys/client/requests/index.d.ts +1 -0
  174. package/dist/serialization/resources/apiKeys/client/requests/index.js +5 -0
  175. package/dist/serialization/resources/apiKeys/index.d.ts +1 -0
  176. package/dist/serialization/resources/apiKeys/index.js +17 -0
  177. package/dist/serialization/resources/gdpr/client/index.d.ts +1 -0
  178. package/dist/serialization/resources/gdpr/client/index.js +17 -0
  179. package/dist/serialization/resources/gdpr/client/requests/SupportRequest.d.ts +14 -0
  180. package/dist/serialization/resources/gdpr/client/requests/SupportRequest.js +35 -0
  181. package/dist/serialization/resources/gdpr/client/requests/index.d.ts +1 -0
  182. package/dist/serialization/resources/gdpr/client/requests/index.js +5 -0
  183. package/dist/serialization/resources/gdpr/index.d.ts +1 -0
  184. package/dist/serialization/resources/gdpr/index.js +17 -0
  185. package/dist/serialization/resources/index.d.ts +5 -1
  186. package/dist/serialization/resources/index.js +6 -2
  187. package/dist/serialization/resources/keys/client/didcommMessageSign.d.ts +9 -0
  188. package/dist/serialization/resources/keys/client/didcommMessageSign.js +31 -0
  189. package/dist/serialization/resources/keys/client/index.d.ts +1 -0
  190. package/dist/serialization/resources/keys/client/index.js +14 -0
  191. package/dist/serialization/types/ApiKey.d.ts +15 -0
  192. package/dist/serialization/types/ApiKey.js +36 -0
  193. package/dist/serialization/types/ApiKeyCreateOutput.d.ts +14 -0
  194. package/dist/serialization/types/ApiKeyCreateOutput.js +37 -0
  195. package/dist/serialization/types/ApiKeyField.d.ts +10 -0
  196. package/dist/serialization/types/ApiKeyField.js +40 -0
  197. package/dist/serialization/types/ApiKeyFilter.d.ts +28 -0
  198. package/dist/serialization/types/ApiKeyFilter.js +49 -0
  199. package/dist/serialization/types/ApiKeyFilterData.d.ts +15 -0
  200. package/dist/serialization/types/ApiKeyFilterData.js +36 -0
  201. package/dist/serialization/types/ApiKeyFull.d.ts +13 -0
  202. package/dist/serialization/types/ApiKeyFull.js +33 -0
  203. package/dist/serialization/types/ApiKeyInput.d.ts +15 -0
  204. package/dist/serialization/types/ApiKeyInput.js +36 -0
  205. package/dist/serialization/types/ApiKeyList.d.ts +13 -0
  206. package/dist/serialization/types/ApiKeyList.js +34 -0
  207. package/dist/serialization/types/ApiKeyResource.d.ts +14 -0
  208. package/dist/serialization/types/ApiKeyResource.js +37 -0
  209. package/dist/serialization/types/ApiKeySecret.d.ts +12 -0
  210. package/dist/serialization/types/ApiKeySecret.js +33 -0
  211. package/dist/serialization/types/ApiKeySort.d.ts +15 -0
  212. package/dist/serialization/types/ApiKeySort.js +36 -0
  213. package/dist/serialization/types/Draft.d.ts +14 -0
  214. package/dist/serialization/types/{DraftInputData.js → Draft.js} +7 -3
  215. package/dist/serialization/types/DraftFilterData.d.ts +3 -0
  216. package/dist/serialization/types/DraftFilterData.js +3 -0
  217. package/dist/serialization/types/DraftFind.d.ts +3 -0
  218. package/dist/serialization/types/DraftFind.js +3 -0
  219. package/dist/serialization/types/DraftInput.d.ts +2 -2
  220. package/dist/serialization/types/DraftInput.js +2 -2
  221. package/dist/serialization/types/SubjectId.d.ts +10 -0
  222. package/dist/serialization/types/SubjectId.js +31 -0
  223. package/dist/serialization/types/SupportRequestType.d.ts +10 -0
  224. package/dist/serialization/types/SupportRequestType.js +31 -0
  225. package/dist/serialization/types/index.d.ts +14 -1
  226. package/dist/serialization/types/index.js +14 -1
  227. package/documents/credential/draft.d.ts +3 -3
  228. package/documents/credential/flavor.js +9 -0
  229. package/documents/credential/flavor.spec.js +6 -0
  230. package/documents/credential.d.ts +9 -2
  231. package/documents/credential.js +81 -25
  232. package/documents/types.d.ts +6 -1
  233. package/jest.config.js +25 -0
  234. package/package.json +8 -2
  235. package/publish.sh +11 -2
  236. package/sdk.yaml +648 -9
  237. package/serialization/resources/apiKeys/client/index.d.ts +1 -0
  238. package/serialization/resources/apiKeys/client/index.js +17 -0
  239. package/serialization/resources/apiKeys/client/requests/ApiKeySearch.d.ts +15 -0
  240. package/serialization/resources/apiKeys/client/requests/ApiKeySearch.js +36 -0
  241. package/serialization/resources/apiKeys/client/requests/index.d.ts +1 -0
  242. package/serialization/resources/apiKeys/client/requests/index.js +5 -0
  243. package/serialization/resources/apiKeys/index.d.ts +1 -0
  244. package/serialization/resources/apiKeys/index.js +17 -0
  245. package/serialization/resources/gdpr/client/index.d.ts +1 -0
  246. package/serialization/resources/gdpr/client/index.js +17 -0
  247. package/serialization/resources/gdpr/client/requests/SupportRequest.d.ts +14 -0
  248. package/serialization/resources/gdpr/client/requests/SupportRequest.js +35 -0
  249. package/serialization/resources/gdpr/client/requests/index.d.ts +1 -0
  250. package/serialization/resources/gdpr/client/requests/index.js +5 -0
  251. package/serialization/resources/gdpr/index.d.ts +1 -0
  252. package/serialization/resources/gdpr/index.js +17 -0
  253. package/serialization/resources/index.d.ts +5 -1
  254. package/serialization/resources/index.js +6 -2
  255. package/serialization/resources/keys/client/didcommMessageSign.d.ts +9 -0
  256. package/serialization/resources/keys/client/didcommMessageSign.js +31 -0
  257. package/serialization/resources/keys/client/index.d.ts +1 -0
  258. package/serialization/resources/keys/client/index.js +14 -0
  259. package/serialization/types/ApiKey.d.ts +15 -0
  260. package/serialization/types/ApiKey.js +36 -0
  261. package/serialization/types/ApiKeyCreateOutput.d.ts +14 -0
  262. package/serialization/types/ApiKeyCreateOutput.js +37 -0
  263. package/serialization/types/ApiKeyField.d.ts +10 -0
  264. package/serialization/types/ApiKeyField.js +40 -0
  265. package/serialization/types/ApiKeyFilter.d.ts +28 -0
  266. package/serialization/types/ApiKeyFilter.js +49 -0
  267. package/serialization/types/ApiKeyFilterData.d.ts +15 -0
  268. package/serialization/types/ApiKeyFilterData.js +36 -0
  269. package/serialization/types/ApiKeyFull.d.ts +13 -0
  270. package/serialization/types/ApiKeyFull.js +33 -0
  271. package/serialization/types/ApiKeyInput.d.ts +15 -0
  272. package/serialization/types/ApiKeyInput.js +36 -0
  273. package/serialization/types/ApiKeyList.d.ts +13 -0
  274. package/serialization/types/ApiKeyList.js +34 -0
  275. package/serialization/types/ApiKeyResource.d.ts +14 -0
  276. package/serialization/types/ApiKeyResource.js +37 -0
  277. package/serialization/types/ApiKeySecret.d.ts +12 -0
  278. package/serialization/types/ApiKeySecret.js +33 -0
  279. package/serialization/types/ApiKeySort.d.ts +15 -0
  280. package/serialization/types/ApiKeySort.js +36 -0
  281. package/serialization/types/Draft.d.ts +14 -0
  282. package/serialization/types/{DraftInputData.js → Draft.js} +7 -3
  283. package/serialization/types/DraftFilterData.d.ts +3 -0
  284. package/serialization/types/DraftFilterData.js +3 -0
  285. package/serialization/types/DraftFind.d.ts +3 -0
  286. package/serialization/types/DraftFind.js +3 -0
  287. package/serialization/types/DraftInput.d.ts +2 -2
  288. package/serialization/types/DraftInput.js +2 -2
  289. package/serialization/types/SubjectId.d.ts +10 -0
  290. package/serialization/types/SubjectId.js +31 -0
  291. package/serialization/types/SupportRequestType.d.ts +10 -0
  292. package/serialization/types/SupportRequestType.js +31 -0
  293. package/serialization/types/index.d.ts +14 -1
  294. package/serialization/types/index.js +14 -1
  295. package/dist/serialization/types/DraftInputData.d.ts +0 -13
  296. package/serialization/types/DraftInputData.d.ts +0 -13
  297. /package/api/{types/DraftInputData.js → resources/apiKeys/client/requests/ApiKeyCreateRequest.js} +0 -0
  298. /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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./client";