@workos/openapi-spec 0.32.0 → 0.33.0

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.
@@ -33777,6 +33777,63 @@ components:
33777
33777
  - data
33778
33778
  - created_at
33779
33779
  - object
33780
+ - type: object
33781
+ properties:
33782
+ id:
33783
+ type: string
33784
+ description: Unique identifier for the event.
33785
+ example: event_01EHZNVPK3SFK441A1RGBFSHRT
33786
+ event:
33787
+ type: string
33788
+ const: vault.kek.deleted
33789
+ data:
33790
+ type: object
33791
+ properties:
33792
+ actor_id:
33793
+ type: string
33794
+ description: The unique identifier of the actor.
33795
+ example: user_01EHWNCE74X7JSDV0X3SZ3KJNY
33796
+ actor_source:
33797
+ type: string
33798
+ enum:
33799
+ - api
33800
+ - dashboard
33801
+ actor_name:
33802
+ type: string
33803
+ description: The name of the actor.
33804
+ example: Jane Doe
33805
+ key_name:
33806
+ type: string
33807
+ description: The name of the key encryption key.
33808
+ example: production-kek
33809
+ key_id:
33810
+ type: string
33811
+ description: The unique identifier of the key encryption key.
33812
+ example: key_01EHWNCE74X7JSDV0X3SZ3KJNY
33813
+ required:
33814
+ - actor_id
33815
+ - actor_source
33816
+ - actor_name
33817
+ - key_name
33818
+ - key_id
33819
+ description: The event payload.
33820
+ created_at:
33821
+ format: date-time
33822
+ type: string
33823
+ description: An ISO 8601 timestamp.
33824
+ example: '2026-01-15T12:00:00.000Z'
33825
+ context:
33826
+ $ref: '#/components/schemas/EventContextDto'
33827
+ object:
33828
+ type: string
33829
+ description: Distinguishes the Event object.
33830
+ const: event
33831
+ required:
33832
+ - id
33833
+ - event
33834
+ - data
33835
+ - created_at
33836
+ - object
33780
33837
  - type: object
33781
33838
  properties:
33782
33839
  id:
package/dist/types.d.ts CHANGED
@@ -14202,6 +14202,51 @@ export interface components {
14202
14202
  * @constant
14203
14203
  */
14204
14204
  object: "event";
14205
+ } | {
14206
+ /**
14207
+ * @description Unique identifier for the event.
14208
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
14209
+ */
14210
+ id: string;
14211
+ /** @constant */
14212
+ event: "vault.kek.deleted";
14213
+ /** @description The event payload. */
14214
+ data: {
14215
+ /**
14216
+ * @description The unique identifier of the actor.
14217
+ * @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
14218
+ */
14219
+ actor_id: string;
14220
+ /** @enum {string} */
14221
+ actor_source: "api" | "dashboard";
14222
+ /**
14223
+ * @description The name of the actor.
14224
+ * @example Jane Doe
14225
+ */
14226
+ actor_name: string;
14227
+ /**
14228
+ * @description The name of the key encryption key.
14229
+ * @example production-kek
14230
+ */
14231
+ key_name: string;
14232
+ /**
14233
+ * @description The unique identifier of the key encryption key.
14234
+ * @example key_01EHWNCE74X7JSDV0X3SZ3KJNY
14235
+ */
14236
+ key_id: string;
14237
+ };
14238
+ /**
14239
+ * Format: date-time
14240
+ * @description An ISO 8601 timestamp.
14241
+ * @example 2026-01-15T12:00:00.000Z
14242
+ */
14243
+ created_at: string;
14244
+ context?: components["schemas"]["EventContextDto"];
14245
+ /**
14246
+ * @description Distinguishes the Event object.
14247
+ * @constant
14248
+ */
14249
+ object: "event";
14205
14250
  } | {
14206
14251
  /**
14207
14252
  * @description Unique identifier for the event.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",