@workos/openapi-spec 0.107.0 → 0.108.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.
- package/dist/open-api-spec.yaml +62 -0
- package/dist/types.d.ts +45 -0
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -43679,6 +43679,68 @@ components:
|
|
|
43679
43679
|
- data
|
|
43680
43680
|
- created_at
|
|
43681
43681
|
- object
|
|
43682
|
+
- type: object
|
|
43683
|
+
properties:
|
|
43684
|
+
id:
|
|
43685
|
+
type: string
|
|
43686
|
+
description: Unique identifier for the event.
|
|
43687
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
43688
|
+
event:
|
|
43689
|
+
type: string
|
|
43690
|
+
const: vault.dek.rekeyed
|
|
43691
|
+
data:
|
|
43692
|
+
type: object
|
|
43693
|
+
properties:
|
|
43694
|
+
actor_id:
|
|
43695
|
+
type: string
|
|
43696
|
+
description: The unique identifier of the actor.
|
|
43697
|
+
example: user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
43698
|
+
actor_source:
|
|
43699
|
+
type: string
|
|
43700
|
+
enum:
|
|
43701
|
+
- api
|
|
43702
|
+
- dashboard
|
|
43703
|
+
actor_name:
|
|
43704
|
+
type: string
|
|
43705
|
+
description: The name of the actor.
|
|
43706
|
+
example: Jane Doe
|
|
43707
|
+
key_ids:
|
|
43708
|
+
type: array
|
|
43709
|
+
items:
|
|
43710
|
+
type: string
|
|
43711
|
+
description: >-
|
|
43712
|
+
The unique identifiers of the re-encrypted data
|
|
43713
|
+
encryption keys.
|
|
43714
|
+
example:
|
|
43715
|
+
- dek_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
43716
|
+
key_context:
|
|
43717
|
+
type: object
|
|
43718
|
+
additionalProperties:
|
|
43719
|
+
type: string
|
|
43720
|
+
required:
|
|
43721
|
+
- actor_id
|
|
43722
|
+
- actor_source
|
|
43723
|
+
- actor_name
|
|
43724
|
+
- key_ids
|
|
43725
|
+
- key_context
|
|
43726
|
+
description: The event payload.
|
|
43727
|
+
created_at:
|
|
43728
|
+
format: date-time
|
|
43729
|
+
type: string
|
|
43730
|
+
description: An ISO 8601 timestamp.
|
|
43731
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
43732
|
+
context:
|
|
43733
|
+
$ref: '#/components/schemas/EventContextDto'
|
|
43734
|
+
object:
|
|
43735
|
+
type: string
|
|
43736
|
+
description: Distinguishes the Event object.
|
|
43737
|
+
const: event
|
|
43738
|
+
required:
|
|
43739
|
+
- id
|
|
43740
|
+
- event
|
|
43741
|
+
- data
|
|
43742
|
+
- created_at
|
|
43743
|
+
- object
|
|
43682
43744
|
- type: object
|
|
43683
43745
|
properties:
|
|
43684
43746
|
id:
|
package/dist/types.d.ts
CHANGED
|
@@ -16877,6 +16877,51 @@ export interface components {
|
|
|
16877
16877
|
* @constant
|
|
16878
16878
|
*/
|
|
16879
16879
|
object: "event";
|
|
16880
|
+
} | {
|
|
16881
|
+
/**
|
|
16882
|
+
* @description Unique identifier for the event.
|
|
16883
|
+
* @example event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
16884
|
+
*/
|
|
16885
|
+
id: string;
|
|
16886
|
+
/** @constant */
|
|
16887
|
+
event: "vault.dek.rekeyed";
|
|
16888
|
+
/** @description The event payload. */
|
|
16889
|
+
data: {
|
|
16890
|
+
/**
|
|
16891
|
+
* @description The unique identifier of the actor.
|
|
16892
|
+
* @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
16893
|
+
*/
|
|
16894
|
+
actor_id: string;
|
|
16895
|
+
/** @enum {string} */
|
|
16896
|
+
actor_source: "api" | "dashboard";
|
|
16897
|
+
/**
|
|
16898
|
+
* @description The name of the actor.
|
|
16899
|
+
* @example Jane Doe
|
|
16900
|
+
*/
|
|
16901
|
+
actor_name: string;
|
|
16902
|
+
/**
|
|
16903
|
+
* @description The unique identifiers of the re-encrypted data encryption keys.
|
|
16904
|
+
* @example [
|
|
16905
|
+
* "dek_01EHWNCE74X7JSDV0X3SZ3KJNY"
|
|
16906
|
+
* ]
|
|
16907
|
+
*/
|
|
16908
|
+
key_ids: string[];
|
|
16909
|
+
key_context: {
|
|
16910
|
+
[key: string]: string;
|
|
16911
|
+
};
|
|
16912
|
+
};
|
|
16913
|
+
/**
|
|
16914
|
+
* Format: date-time
|
|
16915
|
+
* @description An ISO 8601 timestamp.
|
|
16916
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
16917
|
+
*/
|
|
16918
|
+
created_at: string;
|
|
16919
|
+
context?: components["schemas"]["EventContextDto"];
|
|
16920
|
+
/**
|
|
16921
|
+
* @description Distinguishes the Event object.
|
|
16922
|
+
* @constant
|
|
16923
|
+
*/
|
|
16924
|
+
object: "event";
|
|
16880
16925
|
} | {
|
|
16881
16926
|
/**
|
|
16882
16927
|
* @description Unique identifier for the event.
|