@hush-hush/sdk 4.1.2 → 4.1.3

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/dist/index.d.cts CHANGED
@@ -10,6 +10,7 @@ interface components {
10
10
  */
11
11
  value: string;
12
12
  used_by?: components["schemas"]["UsedByList"];
13
+ description?: components["schemas"]["ObjectDescription"];
13
14
  };
14
15
  UpdateObjectRequest: {
15
16
  /**
@@ -21,7 +22,15 @@ interface components {
21
22
  ObjectMetadata: {
22
23
  id: components["schemas"]["ObjectId"];
23
24
  used_by?: components["schemas"]["UsedByList"];
25
+ description?: components["schemas"]["ObjectDescription"];
24
26
  };
27
+ /**
28
+ * @description A free-text label set at creation, for a reader who only knows the
29
+ * id. Fixed at creation - the same as used_by, it is unaffected by a
30
+ * later value update.
31
+ * @example prod deploy webhook for homelab/vps-docker
32
+ */
33
+ ObjectDescription: string;
25
34
  /**
26
35
  * @description The consumers (repos or hosts) recorded as depending on this
27
36
  * object. Set at creation; unaffected by later value updates.
@@ -65,6 +74,20 @@ interface components {
65
74
  };
66
75
  };
67
76
  responses: {
77
+ /** @description The request could not be parsed as documented. */
78
+ BadRequest: {
79
+ headers: {
80
+ [name: string]: unknown;
81
+ };
82
+ content: {
83
+ /**
84
+ * @example {
85
+ * "error": "from must be RFC 3339"
86
+ * }
87
+ */
88
+ "application/json": components["schemas"]["Error"];
89
+ };
90
+ };
68
91
  /** @description The request is missing a valid bearer token. */
69
92
  Unauthorized: {
70
93
  headers: {
package/dist/index.d.ts CHANGED
@@ -10,6 +10,7 @@ interface components {
10
10
  */
11
11
  value: string;
12
12
  used_by?: components["schemas"]["UsedByList"];
13
+ description?: components["schemas"]["ObjectDescription"];
13
14
  };
14
15
  UpdateObjectRequest: {
15
16
  /**
@@ -21,7 +22,15 @@ interface components {
21
22
  ObjectMetadata: {
22
23
  id: components["schemas"]["ObjectId"];
23
24
  used_by?: components["schemas"]["UsedByList"];
25
+ description?: components["schemas"]["ObjectDescription"];
24
26
  };
27
+ /**
28
+ * @description A free-text label set at creation, for a reader who only knows the
29
+ * id. Fixed at creation - the same as used_by, it is unaffected by a
30
+ * later value update.
31
+ * @example prod deploy webhook for homelab/vps-docker
32
+ */
33
+ ObjectDescription: string;
25
34
  /**
26
35
  * @description The consumers (repos or hosts) recorded as depending on this
27
36
  * object. Set at creation; unaffected by later value updates.
@@ -65,6 +74,20 @@ interface components {
65
74
  };
66
75
  };
67
76
  responses: {
77
+ /** @description The request could not be parsed as documented. */
78
+ BadRequest: {
79
+ headers: {
80
+ [name: string]: unknown;
81
+ };
82
+ content: {
83
+ /**
84
+ * @example {
85
+ * "error": "from must be RFC 3339"
86
+ * }
87
+ */
88
+ "application/json": components["schemas"]["Error"];
89
+ };
90
+ };
68
91
  /** @description The request is missing a valid bearer token. */
69
92
  Unauthorized: {
70
93
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hush-hush/sdk",
3
- "version": "4.1.2",
3
+ "version": "4.1.3",
4
4
  "description": "Official Node.js/TypeScript SDK for hush-hush, generated from its OpenAPI spec",
5
5
  "keywords": [
6
6
  "hush-hush",