@workos-inc/node 12.3.0 → 12.4.1
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/lib/{factory-ND4UZ76L.mjs → factory-D4TQZOWl.mjs} +338 -593
- package/lib/factory-D4TQZOWl.mjs.map +1 -0
- package/lib/{factory-xvKEp07N.d.cts → factory-D5AfaGZn.d.cts} +444 -909
- package/lib/{factory-BurShrC1.cjs → factory-Eg0FV6MT.cjs} +338 -593
- package/lib/factory-Eg0FV6MT.cjs.map +1 -0
- package/lib/{factory-xvKEp07N.d.mts → factory-rQgzNO-3.d.mts} +87 -909
- package/lib/index.cjs +52 -103
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +2 -442
- package/lib/index.d.mts +2 -85
- package/lib/index.mjs +52 -103
- package/lib/index.mjs.map +1 -1
- package/lib/index.worker.cjs +2 -3
- package/lib/index.worker.d.cts +2 -5
- package/lib/index.worker.d.mts +2 -5
- package/lib/index.worker.mjs +2 -3
- package/lib/{webapi-CfgZkeeN.mjs → webapi-CFOFAgDt.mjs} +256 -299
- package/lib/webapi-CFOFAgDt.mjs.map +1 -0
- package/lib/{webapi-MD5xmNba.cjs → webapi-rpGT44g1.cjs} +256 -299
- package/lib/webapi-rpGT44g1.cjs.map +1 -0
- package/package.json +2 -2
- package/lib/factory-BurShrC1.cjs.map +0 -1
- package/lib/factory-ND4UZ76L.mjs.map +0 -1
- package/lib/webapi-CfgZkeeN.mjs.map +0 -1
- package/lib/webapi-MD5xmNba.cjs.map +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/common/crypto/crypto-provider.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Interface encapsulating the various crypto computations used by the library,
|
|
4
3
|
* allowing pluggable underlying crypto implementations.
|
|
@@ -70,8 +69,6 @@ declare abstract class CryptoProvider {
|
|
|
70
69
|
*/
|
|
71
70
|
abstract randomUUID(): string;
|
|
72
71
|
}
|
|
73
|
-
//#endregion
|
|
74
|
-
//#region src/common/interfaces/http-client.interface.d.ts
|
|
75
72
|
type RequestHeaders = Record<string, string | number | string[]>;
|
|
76
73
|
type RequestOptions = {
|
|
77
74
|
params?: Record<string, any>;
|
|
@@ -98,8 +95,6 @@ interface HttpClientResponseInterface {
|
|
|
98
95
|
getRawResponse: () => unknown;
|
|
99
96
|
toJSON: () => Promise<any | null>;
|
|
100
97
|
}
|
|
101
|
-
//#endregion
|
|
102
|
-
//#region src/common/net/http-client.d.ts
|
|
103
98
|
interface HttpClientOptions extends RequestInit {
|
|
104
99
|
/** Per-request timeout in milliseconds. */
|
|
105
100
|
timeout?: number;
|
|
@@ -162,19 +157,13 @@ declare abstract class HttpClient implements HttpClientInterface {
|
|
|
162
157
|
private getSleepTimeInMilliseconds;
|
|
163
158
|
sleep: (retryAttempt: number, retryAfterMs?: number | null) => Promise<unknown>;
|
|
164
159
|
}
|
|
165
|
-
//#endregion
|
|
166
|
-
//#region src/common/crypto/decode-payload.d.ts
|
|
167
160
|
type WebhookPayload = string | Uint8Array | ArrayBuffer | object;
|
|
168
|
-
//#endregion
|
|
169
|
-
//#region src/common/interfaces/pagination-options.interface.d.ts
|
|
170
161
|
interface PaginationOptions {
|
|
171
162
|
limit?: number;
|
|
172
163
|
before?: string | null;
|
|
173
164
|
after?: string | null;
|
|
174
165
|
order?: 'asc' | 'desc';
|
|
175
166
|
}
|
|
176
|
-
//#endregion
|
|
177
|
-
//#region src/agents/interfaces/agent-blueprint.interface.d.ts
|
|
178
167
|
/** Who may mint sessions from an agent blueprint. */
|
|
179
168
|
interface AgentBlueprintInvocableBy {
|
|
180
169
|
/**
|
|
@@ -323,8 +312,6 @@ interface SerializedUpdateAgentBlueprintOptions {
|
|
|
323
312
|
}
|
|
324
313
|
/** Options for listing agent blueprints. */
|
|
325
314
|
type ListAgentBlueprintsOptions = PaginationOptions;
|
|
326
|
-
//#endregion
|
|
327
|
-
//#region src/agents/interfaces/agent-instance.interface.d.ts
|
|
328
315
|
/** How an agent instance was minted. */
|
|
329
316
|
type AgentInstanceType = 'delegated' | 'autonomous';
|
|
330
317
|
/** A concrete agent minted from an agent blueprint. */
|
|
@@ -369,8 +356,6 @@ interface SerializedListAgentInstancesOptions extends PaginationOptions {
|
|
|
369
356
|
organization_id?: string;
|
|
370
357
|
agent_blueprint_id?: string;
|
|
371
358
|
}
|
|
372
|
-
//#endregion
|
|
373
|
-
//#region src/agents/interfaces/agent-registration.interface.d.ts
|
|
374
359
|
/** The lifecycle status of an agent registration. */
|
|
375
360
|
type AgentRegistrationStatus = 'unverified' | 'verified' | 'expired' | 'revoked';
|
|
376
361
|
/** The kind of agent registration, derived from its authentication method. */
|
|
@@ -463,8 +448,6 @@ interface SerializedAgentRegistration {
|
|
|
463
448
|
created_at: string;
|
|
464
449
|
updated_at: string;
|
|
465
450
|
}
|
|
466
|
-
//#endregion
|
|
467
|
-
//#region src/agents/interfaces/agent-event.interface.d.ts
|
|
468
451
|
interface AgentBlueprintEventData extends AgentBlueprint {
|
|
469
452
|
invocableAs: {
|
|
470
453
|
instanceTypes: AgentInstanceType[];
|
|
@@ -640,14 +623,10 @@ interface AgentRegistrationLifecycleEventData {
|
|
|
640
623
|
interface AgentRegistrationLifecycleEventResponseData {
|
|
641
624
|
agent_registration_id: string;
|
|
642
625
|
}
|
|
643
|
-
//#endregion
|
|
644
|
-
//#region src/directory-sync/interfaces/delete-directory-options.interface.d.ts
|
|
645
626
|
interface DeleteDirectoryOptions {
|
|
646
627
|
/** Unique identifier for the Directory. */
|
|
647
628
|
id: string;
|
|
648
629
|
}
|
|
649
|
-
//#endregion
|
|
650
|
-
//#region src/directory-sync/interfaces/directory-group.interface.d.ts
|
|
651
630
|
interface DirectoryGroup {
|
|
652
631
|
/** Distinguishes the Directory Group object. */
|
|
653
632
|
object?: 'directory_group';
|
|
@@ -679,8 +658,6 @@ interface DirectoryGroupResponse {
|
|
|
679
658
|
created_at: string;
|
|
680
659
|
updated_at: string;
|
|
681
660
|
}
|
|
682
|
-
//#endregion
|
|
683
|
-
//#region src/directory-sync/interfaces/directory-metadata-user.interface.d.ts
|
|
684
661
|
/** Counts of active and inactive directory users. */
|
|
685
662
|
interface DirectoryMetadataUser {
|
|
686
663
|
/** Count of active directory users. */
|
|
@@ -692,8 +669,6 @@ interface DirectoryMetadataUserResponse {
|
|
|
692
669
|
active: number;
|
|
693
670
|
inactive: number;
|
|
694
671
|
}
|
|
695
|
-
//#endregion
|
|
696
|
-
//#region src/directory-sync/interfaces/directory-metadata.interface.d.ts
|
|
697
672
|
/** Aggregate counts of directory users and groups synced from the provider. */
|
|
698
673
|
interface DirectoryMetadata {
|
|
699
674
|
/** Counts of active and inactive directory users. */
|
|
@@ -705,18 +680,12 @@ interface DirectoryMetadataResponse {
|
|
|
705
680
|
users: DirectoryMetadataUserResponse;
|
|
706
681
|
groups: number;
|
|
707
682
|
}
|
|
708
|
-
//#endregion
|
|
709
|
-
//#region src/directory-sync/interfaces/directory-state.interface.d.ts
|
|
710
683
|
type DirectoryState = 'active' | 'validating' | 'invalid_credentials' | 'inactive' | 'deleting';
|
|
711
684
|
type DirectoryStateResponse = 'linked' | 'validating' | 'invalid_credentials' | 'unlinked' | 'deleting';
|
|
712
|
-
//#endregion
|
|
713
|
-
//#region src/directory-sync/interfaces/directory-sync-get-group-options.interface.d.ts
|
|
714
685
|
interface DirectorySyncGetGroupOptions {
|
|
715
686
|
/** Unique identifier for the Directory Group. */
|
|
716
687
|
id: string;
|
|
717
688
|
}
|
|
718
|
-
//#endregion
|
|
719
|
-
//#region src/directory-sync/interfaces/directory-token.interface.d.ts
|
|
720
689
|
interface DirectoryToken {
|
|
721
690
|
object: 'directory_token';
|
|
722
691
|
id: string;
|
|
@@ -733,11 +702,7 @@ interface DirectoryTokenResponse {
|
|
|
733
702
|
token_suffix: string;
|
|
734
703
|
created_at: string;
|
|
735
704
|
}
|
|
736
|
-
//#endregion
|
|
737
|
-
//#region src/directory-sync/interfaces/directory-type.interface.d.ts
|
|
738
705
|
type DirectoryType = 'azure scim v2.0' | 'bamboohr' | 'breathe hr' | 'cezanne hr' | 'cyberark scim v2.0' | 'fourth hr' | 'generic scim v2.0' | 'gsuite directory' | 'hibob' | 'sailpoint scim v2.0' | 'jump cloud scim v2.0' | 'okta scim v2.0' | 'onelogin scim v2.0' | 'people hr' | 'personio' | 'pingfederate scim v2.0' | 'rippling scim v2.0' | 's3' | 'sftp' | 'sftp workday' | 'workday';
|
|
739
|
-
//#endregion
|
|
740
|
-
//#region src/directory-sync/interfaces/directory-user-with-groups-email.interface.d.ts
|
|
741
706
|
interface DirectoryUserWithGroupsEmail {
|
|
742
707
|
/** Whether this is the primary email address. */
|
|
743
708
|
primary?: boolean;
|
|
@@ -751,16 +716,12 @@ interface DirectoryUserWithGroupsEmailResponse {
|
|
|
751
716
|
type?: string;
|
|
752
717
|
value?: string | null;
|
|
753
718
|
}
|
|
754
|
-
//#endregion
|
|
755
|
-
//#region src/directory-sync/interfaces/directory-user-with-groups-state.interface.d.ts
|
|
756
719
|
declare const DirectoryUserWithGroupsState: {
|
|
757
720
|
readonly Active: "active";
|
|
758
721
|
readonly Suspended: "suspended";
|
|
759
722
|
readonly Inactive: "inactive";
|
|
760
723
|
};
|
|
761
724
|
type DirectoryUserWithGroupsState = (typeof DirectoryUserWithGroupsState)[keyof typeof DirectoryUserWithGroupsState];
|
|
762
|
-
//#endregion
|
|
763
|
-
//#region src/authorization/interfaces/environment-role.interface.d.ts
|
|
764
725
|
interface EnvironmentRole {
|
|
765
726
|
object: 'role';
|
|
766
727
|
id: string;
|
|
@@ -793,8 +754,6 @@ interface EnvironmentRoleListResponse {
|
|
|
793
754
|
object: 'list';
|
|
794
755
|
data: EnvironmentRoleResponse[];
|
|
795
756
|
}
|
|
796
|
-
//#endregion
|
|
797
|
-
//#region src/authorization/interfaces/create-environment-role-options.interface.d.ts
|
|
798
757
|
interface CreateEnvironmentRoleOptions {
|
|
799
758
|
slug: string;
|
|
800
759
|
name: string;
|
|
@@ -807,8 +766,6 @@ interface SerializedCreateEnvironmentRoleOptions {
|
|
|
807
766
|
description?: string;
|
|
808
767
|
resource_type_slug?: string;
|
|
809
768
|
}
|
|
810
|
-
//#endregion
|
|
811
|
-
//#region src/authorization/interfaces/update-environment-role-options.interface.d.ts
|
|
812
769
|
interface UpdateEnvironmentRoleOptions {
|
|
813
770
|
name?: string;
|
|
814
771
|
description?: string | null;
|
|
@@ -817,18 +774,12 @@ interface SerializedUpdateEnvironmentRoleOptions {
|
|
|
817
774
|
name?: string;
|
|
818
775
|
description?: string | null;
|
|
819
776
|
}
|
|
820
|
-
//#endregion
|
|
821
|
-
//#region src/authorization/interfaces/set-environment-role-permissions-options.interface.d.ts
|
|
822
777
|
interface SetEnvironmentRolePermissionsOptions {
|
|
823
778
|
permissions: string[];
|
|
824
779
|
}
|
|
825
|
-
//#endregion
|
|
826
|
-
//#region src/authorization/interfaces/add-environment-role-permission-options.interface.d.ts
|
|
827
780
|
interface AddEnvironmentRolePermissionOptions {
|
|
828
781
|
permissionSlug: string;
|
|
829
782
|
}
|
|
830
|
-
//#endregion
|
|
831
|
-
//#region src/authorization/interfaces/organization-role.interface.d.ts
|
|
832
783
|
interface OrganizationRole {
|
|
833
784
|
object: 'role';
|
|
834
785
|
id: string;
|
|
@@ -841,8 +792,6 @@ interface OrganizationRole {
|
|
|
841
792
|
createdAt: Date;
|
|
842
793
|
updatedAt: Date;
|
|
843
794
|
}
|
|
844
|
-
//#endregion
|
|
845
|
-
//#region src/authorization/interfaces/create-organization-role-options.interface.d.ts
|
|
846
795
|
interface CreateOrganizationRoleOptions {
|
|
847
796
|
slug?: string;
|
|
848
797
|
name: string;
|
|
@@ -855,8 +804,6 @@ interface SerializedCreateOrganizationRoleOptions {
|
|
|
855
804
|
description?: string;
|
|
856
805
|
resource_type_slug?: string;
|
|
857
806
|
}
|
|
858
|
-
//#endregion
|
|
859
|
-
//#region src/authorization/interfaces/update-organization-role-options.interface.d.ts
|
|
860
807
|
interface UpdateOrganizationRoleOptions {
|
|
861
808
|
name?: string;
|
|
862
809
|
description?: string | null;
|
|
@@ -865,23 +812,15 @@ interface SerializedUpdateOrganizationRoleOptions {
|
|
|
865
812
|
name?: string;
|
|
866
813
|
description?: string | null;
|
|
867
814
|
}
|
|
868
|
-
//#endregion
|
|
869
|
-
//#region src/authorization/interfaces/set-organization-role-permissions-options.interface.d.ts
|
|
870
815
|
interface SetOrganizationRolePermissionsOptions {
|
|
871
816
|
permissions: string[];
|
|
872
817
|
}
|
|
873
|
-
//#endregion
|
|
874
|
-
//#region src/authorization/interfaces/add-organization-role-permission-options.interface.d.ts
|
|
875
818
|
interface AddOrganizationRolePermissionOptions {
|
|
876
819
|
permissionSlug: string;
|
|
877
820
|
}
|
|
878
|
-
//#endregion
|
|
879
|
-
//#region src/authorization/interfaces/remove-organization-role-permission-options.interface.d.ts
|
|
880
821
|
interface RemoveOrganizationRolePermissionOptions {
|
|
881
822
|
permissionSlug: string;
|
|
882
823
|
}
|
|
883
|
-
//#endregion
|
|
884
|
-
//#region src/authorization/interfaces/permission.interface.d.ts
|
|
885
824
|
interface Permission {
|
|
886
825
|
object: 'permission';
|
|
887
826
|
id: string;
|
|
@@ -904,8 +843,6 @@ interface PermissionResponse {
|
|
|
904
843
|
created_at: string;
|
|
905
844
|
updated_at: string;
|
|
906
845
|
}
|
|
907
|
-
//#endregion
|
|
908
|
-
//#region src/authorization/interfaces/create-permission-options.interface.d.ts
|
|
909
846
|
interface CreatePermissionOptions {
|
|
910
847
|
slug: string;
|
|
911
848
|
name: string;
|
|
@@ -918,8 +855,6 @@ interface SerializedCreatePermissionOptions {
|
|
|
918
855
|
description?: string;
|
|
919
856
|
resource_type_slug?: string;
|
|
920
857
|
}
|
|
921
|
-
//#endregion
|
|
922
|
-
//#region src/authorization/interfaces/update-permission-options.interface.d.ts
|
|
923
858
|
interface UpdatePermissionOptions {
|
|
924
859
|
name?: string;
|
|
925
860
|
description?: string | null;
|
|
@@ -928,11 +863,7 @@ interface SerializedUpdatePermissionOptions {
|
|
|
928
863
|
name?: string;
|
|
929
864
|
description?: string | null;
|
|
930
865
|
}
|
|
931
|
-
//#endregion
|
|
932
|
-
//#region src/authorization/interfaces/list-permissions-options.interface.d.ts
|
|
933
866
|
type ListPermissionsOptions = PaginationOptions;
|
|
934
|
-
//#endregion
|
|
935
|
-
//#region src/authorization/interfaces/authorization-resource.interface.d.ts
|
|
936
867
|
interface AuthorizationResource {
|
|
937
868
|
/** Distinguishes the Resource object. */
|
|
938
869
|
object: 'authorization_resource';
|
|
@@ -1001,8 +932,6 @@ interface SerializedUpdateAuthorizationResourceOptions {
|
|
|
1001
932
|
name?: string;
|
|
1002
933
|
description?: string | null;
|
|
1003
934
|
}
|
|
1004
|
-
//#endregion
|
|
1005
|
-
//#region src/authorization/interfaces/list-authorization-resources-options.interface.d.ts
|
|
1006
935
|
interface ListAuthorizationResourcesOptions extends PaginationOptions {
|
|
1007
936
|
organizationId?: string;
|
|
1008
937
|
resourceTypeSlug?: string;
|
|
@@ -1017,15 +946,11 @@ interface SerializedListAuthorizationResourcesOptions extends PaginationOptions
|
|
|
1017
946
|
parent_resource_type_slug?: string;
|
|
1018
947
|
parent_external_id?: string;
|
|
1019
948
|
}
|
|
1020
|
-
//#endregion
|
|
1021
|
-
//#region src/authorization/interfaces/get-authorization-resource-by-external-id-options.interface.d.ts
|
|
1022
949
|
interface GetAuthorizationResourceByExternalIdOptions {
|
|
1023
950
|
organizationId: string;
|
|
1024
951
|
resourceTypeSlug: string;
|
|
1025
952
|
externalId: string;
|
|
1026
953
|
}
|
|
1027
|
-
//#endregion
|
|
1028
|
-
//#region src/authorization/interfaces/update-authorization-resource-by-external-id-options.interface.d.ts
|
|
1029
954
|
interface UpdateAuthorizationResourceByExternalIdOptions {
|
|
1030
955
|
organizationId: string;
|
|
1031
956
|
resourceTypeSlug: string;
|
|
@@ -1033,22 +958,16 @@ interface UpdateAuthorizationResourceByExternalIdOptions {
|
|
|
1033
958
|
name?: string;
|
|
1034
959
|
description?: string | null;
|
|
1035
960
|
}
|
|
1036
|
-
//#endregion
|
|
1037
|
-
//#region src/authorization/interfaces/delete-authorization-resource-by-external-id-options.interface.d.ts
|
|
1038
961
|
interface DeleteAuthorizationResourceByExternalIdOptions {
|
|
1039
962
|
organizationId: string;
|
|
1040
963
|
resourceTypeSlug: string;
|
|
1041
964
|
externalId: string;
|
|
1042
965
|
cascadeDelete?: boolean;
|
|
1043
966
|
}
|
|
1044
|
-
//#endregion
|
|
1045
|
-
//#region src/authorization/interfaces/delete-authorization-resource-options.interface.d.ts
|
|
1046
967
|
interface DeleteAuthorizationResourceOptions {
|
|
1047
968
|
resourceId: string;
|
|
1048
969
|
cascadeDelete?: boolean;
|
|
1049
970
|
}
|
|
1050
|
-
//#endregion
|
|
1051
|
-
//#region src/authorization/interfaces/authorization-resource-identifier.interface.d.ts
|
|
1052
971
|
interface AuthorizationResourceIdentifierById {
|
|
1053
972
|
resourceId: string;
|
|
1054
973
|
}
|
|
@@ -1056,8 +975,6 @@ interface AuthorizationResourceIdentifierByExternalId {
|
|
|
1056
975
|
resourceExternalId: string;
|
|
1057
976
|
resourceTypeSlug: string;
|
|
1058
977
|
}
|
|
1059
|
-
//#endregion
|
|
1060
|
-
//#region src/authorization/interfaces/authorization-resource-check.interface.d.ts
|
|
1061
978
|
interface AuthorizationCheckResult {
|
|
1062
979
|
authorized: boolean;
|
|
1063
980
|
}
|
|
@@ -1074,8 +991,6 @@ interface SerializedAuthorizationCheckOptions {
|
|
|
1074
991
|
resource_external_id?: string;
|
|
1075
992
|
resource_type_slug?: string;
|
|
1076
993
|
}
|
|
1077
|
-
//#endregion
|
|
1078
|
-
//#region src/authorization/interfaces/list-resources-for-membership-options.interface.d.ts
|
|
1079
994
|
interface BaseListResourcesForMembershipOptions extends PaginationOptions {
|
|
1080
995
|
organizationMembershipId: string;
|
|
1081
996
|
permissionSlug: string;
|
|
@@ -1094,8 +1009,6 @@ interface SerializedListResourcesForMembershipOptions extends PaginationOptions
|
|
|
1094
1009
|
parent_resource_type_slug?: string;
|
|
1095
1010
|
parent_resource_external_id?: string;
|
|
1096
1011
|
}
|
|
1097
|
-
//#endregion
|
|
1098
|
-
//#region src/authorization/interfaces/list-memberships-for-resource-options.interface.d.ts
|
|
1099
1012
|
interface ListMembershipsForResourceOptions extends PaginationOptions {
|
|
1100
1013
|
resourceId: string;
|
|
1101
1014
|
/** The permission slug to filter by. Only users with this permission on the resource are returned. */
|
|
@@ -1103,8 +1016,6 @@ interface ListMembershipsForResourceOptions extends PaginationOptions {
|
|
|
1103
1016
|
/** Filter by assignment type. Use `direct` for direct assignments only, or `indirect` to include inherited assignments. */
|
|
1104
1017
|
assignment?: 'direct' | 'indirect';
|
|
1105
1018
|
}
|
|
1106
|
-
//#endregion
|
|
1107
|
-
//#region src/authorization/interfaces/list-memberships-for-resource-by-external-id-options.interface.d.ts
|
|
1108
1019
|
interface ListMembershipsForResourceByExternalIdOptions extends PaginationOptions {
|
|
1109
1020
|
organizationId: string;
|
|
1110
1021
|
resourceTypeSlug: string;
|
|
@@ -1112,8 +1023,6 @@ interface ListMembershipsForResourceByExternalIdOptions extends PaginationOption
|
|
|
1112
1023
|
permissionSlug: string;
|
|
1113
1024
|
assignment?: 'direct' | 'indirect';
|
|
1114
1025
|
}
|
|
1115
|
-
//#endregion
|
|
1116
|
-
//#region src/authorization/interfaces/role-assignment.interface.d.ts
|
|
1117
1026
|
interface RoleAssignmentRole {
|
|
1118
1027
|
slug: string;
|
|
1119
1028
|
}
|
|
@@ -1165,8 +1074,6 @@ interface RoleAssignmentResponse {
|
|
|
1165
1074
|
created_at: string;
|
|
1166
1075
|
updated_at: string;
|
|
1167
1076
|
}
|
|
1168
|
-
//#endregion
|
|
1169
|
-
//#region src/authorization/interfaces/list-role-assignments-options.interface.d.ts
|
|
1170
1077
|
interface ListRoleAssignmentsOptions extends PaginationOptions {
|
|
1171
1078
|
organizationMembershipId: string;
|
|
1172
1079
|
/** Filter role assignments to only those granted on the resource with this ID. */
|
|
@@ -1181,8 +1088,6 @@ interface SerializedListRoleAssignmentsOptions extends PaginationOptions {
|
|
|
1181
1088
|
resource_external_id?: string;
|
|
1182
1089
|
resource_type_slug?: string;
|
|
1183
1090
|
}
|
|
1184
|
-
//#endregion
|
|
1185
|
-
//#region src/authorization/interfaces/list-role-assignments-for-resource-options.interface.d.ts
|
|
1186
1091
|
interface ListRoleAssignmentsForResourceOptions extends PaginationOptions {
|
|
1187
1092
|
resourceId: string;
|
|
1188
1093
|
/** Filter role assignments to only those that grant this role. */
|
|
@@ -1191,8 +1096,6 @@ interface ListRoleAssignmentsForResourceOptions extends PaginationOptions {
|
|
|
1191
1096
|
interface SerializedListRoleAssignmentsForResourceOptions extends PaginationOptions {
|
|
1192
1097
|
role_slug?: string;
|
|
1193
1098
|
}
|
|
1194
|
-
//#endregion
|
|
1195
|
-
//#region src/authorization/interfaces/list-role-assignments-for-resource-by-external-id-options.interface.d.ts
|
|
1196
1099
|
interface ListRoleAssignmentsForResourceByExternalIdOptions extends PaginationOptions {
|
|
1197
1100
|
organizationId: string;
|
|
1198
1101
|
resourceTypeSlug: string;
|
|
@@ -1200,8 +1103,6 @@ interface ListRoleAssignmentsForResourceByExternalIdOptions extends PaginationOp
|
|
|
1200
1103
|
/** Filter role assignments to only those that grant this role. */
|
|
1201
1104
|
roleSlug?: string;
|
|
1202
1105
|
}
|
|
1203
|
-
//#endregion
|
|
1204
|
-
//#region src/authorization/interfaces/assign-role-options.interface.d.ts
|
|
1205
1106
|
interface BaseAssignRoleOptions {
|
|
1206
1107
|
organizationMembershipId: string;
|
|
1207
1108
|
roleSlug: string;
|
|
@@ -1215,8 +1116,6 @@ interface SerializedAssignRoleOptions {
|
|
|
1215
1116
|
resource_external_id?: string;
|
|
1216
1117
|
resource_type_slug?: string;
|
|
1217
1118
|
}
|
|
1218
|
-
//#endregion
|
|
1219
|
-
//#region src/authorization/interfaces/remove-role-options.interface.d.ts
|
|
1220
1119
|
interface BaseRemoveRoleOptions {
|
|
1221
1120
|
organizationMembershipId: string;
|
|
1222
1121
|
roleSlug: string;
|
|
@@ -1230,14 +1129,10 @@ interface SerializedRemoveRoleOptions {
|
|
|
1230
1129
|
resource_external_id?: string;
|
|
1231
1130
|
resource_type_slug?: string;
|
|
1232
1131
|
}
|
|
1233
|
-
//#endregion
|
|
1234
|
-
//#region src/authorization/interfaces/remove-role-assignment-options.interface.d.ts
|
|
1235
1132
|
interface RemoveRoleAssignmentOptions {
|
|
1236
1133
|
organizationMembershipId: string;
|
|
1237
1134
|
roleAssignmentId: string;
|
|
1238
1135
|
}
|
|
1239
|
-
//#endregion
|
|
1240
|
-
//#region src/authorization/interfaces/group-role-assignment.interface.d.ts
|
|
1241
1136
|
interface GroupRoleAssignment {
|
|
1242
1137
|
/** Distinguishes the group role assignment object. */
|
|
1243
1138
|
object: 'group_role_assignment';
|
|
@@ -1263,22 +1158,16 @@ interface GroupRoleAssignmentResponse {
|
|
|
1263
1158
|
created_at: string;
|
|
1264
1159
|
updated_at: string;
|
|
1265
1160
|
}
|
|
1266
|
-
//#endregion
|
|
1267
|
-
//#region src/authorization/interfaces/list-group-role-assignments-options.interface.d.ts
|
|
1268
1161
|
interface ListGroupRoleAssignmentsOptions extends PaginationOptions {
|
|
1269
1162
|
/** The ID of the group. */
|
|
1270
1163
|
groupId: string;
|
|
1271
1164
|
}
|
|
1272
|
-
//#endregion
|
|
1273
|
-
//#region src/authorization/interfaces/get-group-role-assignment-options.interface.d.ts
|
|
1274
1165
|
interface GetGroupRoleAssignmentOptions {
|
|
1275
1166
|
/** The ID of the group. */
|
|
1276
1167
|
groupId: string;
|
|
1277
1168
|
/** The ID of the group role assignment. */
|
|
1278
1169
|
roleAssignmentId: string;
|
|
1279
1170
|
}
|
|
1280
|
-
//#endregion
|
|
1281
|
-
//#region src/authorization/interfaces/create-group-role-assignment-options.interface.d.ts
|
|
1282
1171
|
interface BaseCreateGroupRoleAssignmentOptions {
|
|
1283
1172
|
groupId: string;
|
|
1284
1173
|
roleSlug: string;
|
|
@@ -1298,16 +1187,12 @@ interface SerializedCreateGroupRoleAssignmentOptions {
|
|
|
1298
1187
|
resource_external_id?: string;
|
|
1299
1188
|
resource_type_slug?: string;
|
|
1300
1189
|
}
|
|
1301
|
-
//#endregion
|
|
1302
|
-
//#region src/authorization/interfaces/remove-group-role-assignment-options.interface.d.ts
|
|
1303
1190
|
interface RemoveGroupRoleAssignmentOptions {
|
|
1304
1191
|
/** The ID of the group. */
|
|
1305
1192
|
groupId: string;
|
|
1306
1193
|
/** The ID of the group role assignment to remove. */
|
|
1307
1194
|
roleAssignmentId: string;
|
|
1308
1195
|
}
|
|
1309
|
-
//#endregion
|
|
1310
|
-
//#region src/authorization/interfaces/remove-group-role-assignments-options.interface.d.ts
|
|
1311
1196
|
interface BaseRemoveGroupRoleAssignmentsOptions {
|
|
1312
1197
|
groupId: string;
|
|
1313
1198
|
roleSlug: string;
|
|
@@ -1327,8 +1212,6 @@ interface SerializedRemoveGroupRoleAssignmentsOptions {
|
|
|
1327
1212
|
resource_external_id?: string;
|
|
1328
1213
|
resource_type_slug?: string;
|
|
1329
1214
|
}
|
|
1330
|
-
//#endregion
|
|
1331
|
-
//#region src/authorization/interfaces/replace-group-role-assignments-options.interface.d.ts
|
|
1332
1215
|
interface BaseGroupRoleAssignmentEntry {
|
|
1333
1216
|
roleSlug: string;
|
|
1334
1217
|
}
|
|
@@ -1359,21 +1242,15 @@ interface SerializedGroupRoleAssignmentEntry {
|
|
|
1359
1242
|
interface SerializedReplaceGroupRoleAssignmentsOptions {
|
|
1360
1243
|
role_assignments: SerializedGroupRoleAssignmentEntry[];
|
|
1361
1244
|
}
|
|
1362
|
-
//#endregion
|
|
1363
|
-
//#region src/authorization/interfaces/list-effective-permissions-options.interface.d.ts
|
|
1364
1245
|
interface ListEffectivePermissionsOptions extends PaginationOptions {
|
|
1365
1246
|
organizationMembershipId: string;
|
|
1366
1247
|
resourceId: string;
|
|
1367
1248
|
}
|
|
1368
|
-
//#endregion
|
|
1369
|
-
//#region src/authorization/interfaces/list-effective-permissions-by-external-id-options.interface.d.ts
|
|
1370
1249
|
interface ListEffectivePermissionsByExternalIdOptions extends PaginationOptions {
|
|
1371
1250
|
organizationMembershipId: string;
|
|
1372
1251
|
resourceTypeSlug: string;
|
|
1373
1252
|
externalId: string;
|
|
1374
1253
|
}
|
|
1375
|
-
//#endregion
|
|
1376
|
-
//#region src/roles/interfaces/role.interface.d.ts
|
|
1377
1254
|
interface RoleResponse {
|
|
1378
1255
|
slug: string;
|
|
1379
1256
|
}
|
|
@@ -1436,8 +1313,6 @@ interface RoleList {
|
|
|
1436
1313
|
object: 'list';
|
|
1437
1314
|
data: Role[];
|
|
1438
1315
|
}
|
|
1439
|
-
//#endregion
|
|
1440
|
-
//#region src/directory-sync/interfaces/directory-user.interface.d.ts
|
|
1441
1316
|
type DefaultCustomAttributes = Record<string, unknown>;
|
|
1442
1317
|
interface DirectoryUser<TCustomAttributes extends object = DefaultCustomAttributes, TRawAttributes = any> {
|
|
1443
1318
|
object: 'directory_user';
|
|
@@ -1482,8 +1357,6 @@ interface DirectoryUserWithGroups<TCustomAttributes extends object = DefaultCust
|
|
|
1482
1357
|
interface DirectoryUserWithGroupsResponse<TCustomAttributes extends object = DefaultCustomAttributes> extends DirectoryUserResponse<TCustomAttributes> {
|
|
1483
1358
|
groups: DirectoryGroupResponse[];
|
|
1484
1359
|
}
|
|
1485
|
-
//#endregion
|
|
1486
|
-
//#region src/directory-sync/interfaces/directory.interface.d.ts
|
|
1487
1360
|
interface Directory {
|
|
1488
1361
|
/** Distinguishes the Directory object. */
|
|
1489
1362
|
object: 'directory';
|
|
@@ -1521,8 +1394,6 @@ interface DirectoryResponse {
|
|
|
1521
1394
|
created_at: string;
|
|
1522
1395
|
updated_at: string;
|
|
1523
1396
|
}
|
|
1524
|
-
//#endregion
|
|
1525
|
-
//#region src/directory-sync/interfaces/event-directory.interface.d.ts
|
|
1526
1397
|
interface EventDirectoryDomain {
|
|
1527
1398
|
object: 'organization_domain';
|
|
1528
1399
|
id: string;
|
|
@@ -1552,36 +1423,26 @@ interface EventDirectoryResponse {
|
|
|
1552
1423
|
created_at: string;
|
|
1553
1424
|
updated_at: string;
|
|
1554
1425
|
}
|
|
1555
|
-
//#endregion
|
|
1556
|
-
//#region src/directory-sync/interfaces/get-directory-group-options.interface.d.ts
|
|
1557
1426
|
interface GetDirectoryGroupOptions {
|
|
1558
1427
|
/** Unique identifier of the Directory. */
|
|
1559
1428
|
directoryId: string;
|
|
1560
1429
|
/** Unique identifier for the Directory Group. */
|
|
1561
1430
|
groupId: string;
|
|
1562
1431
|
}
|
|
1563
|
-
//#endregion
|
|
1564
|
-
//#region src/directory-sync/interfaces/get-directory-options.interface.d.ts
|
|
1565
1432
|
interface GetDirectoryOptions {
|
|
1566
1433
|
/** Unique identifier for the Directory. */
|
|
1567
1434
|
id: string;
|
|
1568
1435
|
}
|
|
1569
|
-
//#endregion
|
|
1570
|
-
//#region src/directory-sync/interfaces/get-directory-user-options.interface.d.ts
|
|
1571
1436
|
interface GetDirectoryUserOptions {
|
|
1572
1437
|
/** Unique identifier of the Directory. */
|
|
1573
1438
|
directoryId: string;
|
|
1574
1439
|
/** Unique identifier for the Directory User. */
|
|
1575
1440
|
userId: string;
|
|
1576
1441
|
}
|
|
1577
|
-
//#endregion
|
|
1578
|
-
//#region src/directory-sync/interfaces/get-user-options.interface.d.ts
|
|
1579
1442
|
interface GetUserOptions {
|
|
1580
1443
|
/** Unique identifier for the Directory User. */
|
|
1581
1444
|
id: string;
|
|
1582
1445
|
}
|
|
1583
|
-
//#endregion
|
|
1584
|
-
//#region src/directory-sync/interfaces/list-directories-options.interface.d.ts
|
|
1585
1446
|
interface ListDirectoriesOptions extends PaginationOptions {
|
|
1586
1447
|
/** Filter Directories by their associated organization. */
|
|
1587
1448
|
organizationId?: string;
|
|
@@ -1592,28 +1453,20 @@ interface SerializedListDirectoriesOptions extends PaginationOptions {
|
|
|
1592
1453
|
organization_id?: string;
|
|
1593
1454
|
search?: string;
|
|
1594
1455
|
}
|
|
1595
|
-
//#endregion
|
|
1596
|
-
//#region src/directory-sync/interfaces/list-directory-users-options.interface.d.ts
|
|
1597
1456
|
interface ListDirectoryUsersOptions extends PaginationOptions {
|
|
1598
1457
|
directory?: string;
|
|
1599
1458
|
group?: string;
|
|
1600
1459
|
}
|
|
1601
|
-
//#endregion
|
|
1602
|
-
//#region src/directory-sync/interfaces/list-groups-in-directory-options.interface.d.ts
|
|
1603
1460
|
interface ListGroupsInDirectoryOptions extends PaginationOptions {
|
|
1604
1461
|
/** Unique identifier of the Directory. */
|
|
1605
1462
|
directoryId: string;
|
|
1606
1463
|
/** Filter Directory Groups to those this Directory User belongs to. */
|
|
1607
1464
|
user?: string;
|
|
1608
1465
|
}
|
|
1609
|
-
//#endregion
|
|
1610
|
-
//#region src/directory-sync/interfaces/list-groups-options.interface.d.ts
|
|
1611
1466
|
interface ListDirectoryGroupsOptions extends PaginationOptions {
|
|
1612
1467
|
directory?: string;
|
|
1613
1468
|
user?: string;
|
|
1614
1469
|
}
|
|
1615
|
-
//#endregion
|
|
1616
|
-
//#region src/directory-sync/interfaces/list-users-in-directory-options.interface.d.ts
|
|
1617
1470
|
interface ListUsersInDirectoryOptions extends PaginationOptions {
|
|
1618
1471
|
/** Unique identifier of the Directory. */
|
|
1619
1472
|
directoryId: string;
|
|
@@ -1624,8 +1477,6 @@ interface ListUsersInDirectoryOptions extends PaginationOptions {
|
|
|
1624
1477
|
/** Filter Directory Users by their primary email address. */
|
|
1625
1478
|
email?: string;
|
|
1626
1479
|
}
|
|
1627
|
-
//#endregion
|
|
1628
|
-
//#region src/directory-sync/interfaces/slim-role.interface.d.ts
|
|
1629
1480
|
/** The primary role assigned to the user. */
|
|
1630
1481
|
interface SlimRole {
|
|
1631
1482
|
/** The slug of the assigned role. */
|
|
@@ -1634,8 +1485,20 @@ interface SlimRole {
|
|
|
1634
1485
|
interface SlimRoleResponse {
|
|
1635
1486
|
slug: string;
|
|
1636
1487
|
}
|
|
1637
|
-
|
|
1638
|
-
|
|
1488
|
+
interface AuthorizeLogoutOptions {
|
|
1489
|
+
profileId: string;
|
|
1490
|
+
}
|
|
1491
|
+
interface SerializedAuthorizeLogoutOptions {
|
|
1492
|
+
profile_id: string;
|
|
1493
|
+
}
|
|
1494
|
+
interface AuthorizeLogoutResponse {
|
|
1495
|
+
logout_token: string;
|
|
1496
|
+
logout_url: string;
|
|
1497
|
+
}
|
|
1498
|
+
interface AuthorizeLogout {
|
|
1499
|
+
logoutToken: string;
|
|
1500
|
+
logoutUrl: string;
|
|
1501
|
+
}
|
|
1639
1502
|
/**
|
|
1640
1503
|
* PKCE fields must be provided together or not at all.
|
|
1641
1504
|
* Use workos.pkce.generate() to create a valid pair.
|
|
@@ -1687,8 +1550,6 @@ type SSOWithProvider = SSOAuthorizationURLBaseFields & PKCEFields$1 & {
|
|
|
1687
1550
|
organization?: never;
|
|
1688
1551
|
};
|
|
1689
1552
|
type SSOAuthorizationURLOptions = SSOWithConnection | SSOWithOrganization | SSOWithProvider;
|
|
1690
|
-
//#endregion
|
|
1691
|
-
//#region src/sso/interfaces/connection-type.enum.d.ts
|
|
1692
1553
|
declare enum ConnectionType {
|
|
1693
1554
|
ADFSSAML = "ADFSSAML",
|
|
1694
1555
|
AdpOidc = "AdpOidc",
|
|
@@ -1729,8 +1590,6 @@ declare enum ConnectionType {
|
|
|
1729
1590
|
SimpleSamlPhpSAML = "SimpleSamlPhpSAML",
|
|
1730
1591
|
VMwareSAML = "VMwareSAML"
|
|
1731
1592
|
}
|
|
1732
|
-
//#endregion
|
|
1733
|
-
//#region src/sso/interfaces/connection.interface.d.ts
|
|
1734
1593
|
type ConnectionState = 'requires_type' | 'draft' | 'active' | 'validating' | 'inactive' | 'deleting';
|
|
1735
1594
|
interface ConnectionDomain {
|
|
1736
1595
|
object: 'connection_domain';
|
|
@@ -1767,8 +1626,6 @@ interface ConnectionResponse {
|
|
|
1767
1626
|
created_at: string;
|
|
1768
1627
|
updated_at: string;
|
|
1769
1628
|
}
|
|
1770
|
-
//#endregion
|
|
1771
|
-
//#region src/sso/interfaces/connection-event.interface.d.ts
|
|
1772
1629
|
type SamlCertificateType = 'ResponseSigning' | 'RequestSigning' | 'ResponseEncryption';
|
|
1773
1630
|
interface ConnectionEventConnection {
|
|
1774
1631
|
id: string;
|
|
@@ -1816,13 +1673,9 @@ interface ConnectionSamlCertificateRenewedEventResponseData {
|
|
|
1816
1673
|
certificate: SamlCertificateRenewedResponse;
|
|
1817
1674
|
renewed_at: string;
|
|
1818
1675
|
}
|
|
1819
|
-
//#endregion
|
|
1820
|
-
//#region src/sso/interfaces/get-profile-options.interface.d.ts
|
|
1821
1676
|
interface GetProfileOptions {
|
|
1822
1677
|
accessToken: string;
|
|
1823
1678
|
}
|
|
1824
|
-
//#endregion
|
|
1825
|
-
//#region src/sso/interfaces/get-profile-and-token-options.interface.d.ts
|
|
1826
1679
|
interface GetProfileAndTokenOptions {
|
|
1827
1680
|
clientId: string;
|
|
1828
1681
|
code: string;
|
|
@@ -1833,8 +1686,6 @@ interface GetProfileAndTokenOptions {
|
|
|
1833
1686
|
*/
|
|
1834
1687
|
codeVerifier?: string;
|
|
1835
1688
|
}
|
|
1836
|
-
//#endregion
|
|
1837
|
-
//#region src/sso/interfaces/list-connections-options.interface.d.ts
|
|
1838
1689
|
interface ListConnectionsOptions extends PaginationOptions {
|
|
1839
1690
|
/** Filter Connections by their type. */
|
|
1840
1691
|
connectionType?: ConnectionType;
|
|
@@ -1842,17 +1693,16 @@ interface ListConnectionsOptions extends PaginationOptions {
|
|
|
1842
1693
|
domain?: string;
|
|
1843
1694
|
/** Filter Connections by their associated organization. */
|
|
1844
1695
|
organizationId?: string;
|
|
1696
|
+
/** Filter Connections by their state. */
|
|
1697
|
+
state?: 'active' | 'inactive' | 'validating';
|
|
1845
1698
|
}
|
|
1846
1699
|
interface SerializedListConnectionsOptions extends PaginationOptions {
|
|
1847
1700
|
connection_type?: ConnectionType;
|
|
1848
1701
|
domain?: string;
|
|
1849
1702
|
organization_id?: string;
|
|
1703
|
+
state?: 'active' | 'inactive' | 'validating';
|
|
1850
1704
|
}
|
|
1851
|
-
//#endregion
|
|
1852
|
-
//#region src/common/interfaces/unknown-record.interface.d.ts
|
|
1853
1705
|
type UnknownRecord = Record<string, unknown>;
|
|
1854
|
-
//#endregion
|
|
1855
|
-
//#region src/user-management/interfaces/oauth-tokens.interface.d.ts
|
|
1856
1706
|
interface OauthTokens {
|
|
1857
1707
|
accessToken: string;
|
|
1858
1708
|
refreshToken: string;
|
|
@@ -1865,8 +1715,6 @@ interface OauthTokensResponse {
|
|
|
1865
1715
|
expires_at: number;
|
|
1866
1716
|
scopes: string[];
|
|
1867
1717
|
}
|
|
1868
|
-
//#endregion
|
|
1869
|
-
//#region src/sso/interfaces/profile.interface.d.ts
|
|
1870
1718
|
interface Profile<CustomAttributesType extends UnknownRecord> {
|
|
1871
1719
|
object: 'profile';
|
|
1872
1720
|
/** Unique identifier of the profile. */
|
|
@@ -1919,8 +1767,6 @@ interface ProfileResponse<CustomAttributesType extends UnknownRecord> {
|
|
|
1919
1767
|
[key: string]: any;
|
|
1920
1768
|
};
|
|
1921
1769
|
}
|
|
1922
|
-
//#endregion
|
|
1923
|
-
//#region src/sso/interfaces/profile-and-token.interface.d.ts
|
|
1924
1770
|
interface ProfileAndToken<CustomAttributesType extends UnknownRecord> {
|
|
1925
1771
|
accessToken: string;
|
|
1926
1772
|
profile: Profile<CustomAttributesType>;
|
|
@@ -1931,8 +1777,6 @@ interface ProfileAndTokenResponse<CustomAttributesType extends UnknownRecord> {
|
|
|
1931
1777
|
profile: ProfileResponse<CustomAttributesType>;
|
|
1932
1778
|
oauth_tokens?: OauthTokensResponse;
|
|
1933
1779
|
}
|
|
1934
|
-
//#endregion
|
|
1935
|
-
//#region src/user-management/interfaces/impersonator.interface.d.ts
|
|
1936
1780
|
interface Impersonator {
|
|
1937
1781
|
email: string;
|
|
1938
1782
|
reason: string | null;
|
|
@@ -1941,8 +1785,6 @@ interface ImpersonatorResponse {
|
|
|
1941
1785
|
email: string;
|
|
1942
1786
|
reason: string | null;
|
|
1943
1787
|
}
|
|
1944
|
-
//#endregion
|
|
1945
|
-
//#region src/user-management/interfaces/user.interface.d.ts
|
|
1946
1788
|
/** The user object. */
|
|
1947
1789
|
interface User {
|
|
1948
1790
|
/** Distinguishes the user object. */
|
|
@@ -1996,8 +1838,6 @@ interface CreateUserResponse extends User {
|
|
|
1996
1838
|
interface CreateUserResponseResponse extends UserResponse {
|
|
1997
1839
|
radar_auth_attempt_id?: string;
|
|
1998
1840
|
}
|
|
1999
|
-
//#endregion
|
|
2000
|
-
//#region src/user-management/interfaces/authentication-response.interface.d.ts
|
|
2001
1841
|
type AuthenticationMethod = 'SSO' | 'Password' | 'Passkey' | 'AppleOAuth' | 'BitbucketOAuth' | 'DiscordOAuth' | 'GitHubOAuth' | 'GitLabOAuth' | 'GoogleOAuth' | 'GrokOAuth' | 'XOAuth' | 'IntuitOAuth' | 'LinkedInOAuth' | 'MicrosoftOAuth' | 'SalesforceOAuth' | 'SlackOAuth' | 'VercelMarketplaceOAuth' | 'VercelOAuth' | 'XeroOAuth' | 'MagicAuth' | 'CrossAppAuth' | 'ExternalAuth' | 'MigratedSession' | 'Impersonation';
|
|
2002
1842
|
interface AuthenticationResponse {
|
|
2003
1843
|
user: User;
|
|
@@ -2018,8 +1858,6 @@ interface AuthenticationResponseResponse {
|
|
|
2018
1858
|
authentication_method?: AuthenticationMethod;
|
|
2019
1859
|
oauth_tokens?: OauthTokensResponse;
|
|
2020
1860
|
}
|
|
2021
|
-
//#endregion
|
|
2022
|
-
//#region src/user-management/interfaces/authenticate-with-session-cookie.interface.d.ts
|
|
2023
1861
|
interface AuthenticateWithSessionCookieOptions {
|
|
2024
1862
|
sessionData: string;
|
|
2025
1863
|
cookiePassword?: string;
|
|
@@ -2057,8 +1895,6 @@ type AuthenticateWithSessionCookieSuccessResponse = {
|
|
|
2057
1895
|
user: User;
|
|
2058
1896
|
impersonator?: Impersonator;
|
|
2059
1897
|
};
|
|
2060
|
-
//#endregion
|
|
2061
|
-
//#region src/user-management/interfaces/access-token-claims.interface.d.ts
|
|
2062
1898
|
/**
|
|
2063
1899
|
* The claims of a verified WorkOS access token, as returned by
|
|
2064
1900
|
* `userManagement.verifyAccessToken()`.
|
|
@@ -2081,8 +1917,6 @@ interface AccessTokenClaims extends UserManagementAccessToken {
|
|
|
2081
1917
|
auth_time: number;
|
|
2082
1918
|
[claim: string]: unknown;
|
|
2083
1919
|
}
|
|
2084
|
-
//#endregion
|
|
2085
|
-
//#region src/user-management/interfaces/authenticate-with-options-base.interface.d.ts
|
|
2086
1920
|
interface AuthenticateWithSessionOptions {
|
|
2087
1921
|
cookiePassword?: string;
|
|
2088
1922
|
sealSession: boolean;
|
|
@@ -2120,8 +1954,6 @@ interface SerializedAuthenticatePublicClientBase {
|
|
|
2120
1954
|
type WithResolvedClientId<T> = Omit<T, 'clientId'> & {
|
|
2121
1955
|
clientId: string;
|
|
2122
1956
|
};
|
|
2123
|
-
//#endregion
|
|
2124
|
-
//#region src/user-management/interfaces/authenticate-with-code-options.interface.d.ts
|
|
2125
1957
|
interface AuthenticateWithCodeOptions extends AuthenticateWithOptionsBase {
|
|
2126
1958
|
codeVerifier?: string;
|
|
2127
1959
|
code: string;
|
|
@@ -2138,8 +1970,6 @@ interface SerializedAuthenticateWithCodeOptions extends SerializedAuthenticateWi
|
|
|
2138
1970
|
invitation_token?: string;
|
|
2139
1971
|
signals_id?: string;
|
|
2140
1972
|
}
|
|
2141
|
-
//#endregion
|
|
2142
|
-
//#region src/user-management/interfaces/authenticate-with-code-and-verifier-options.interface.d.ts
|
|
2143
1973
|
interface AuthenticateWithCodeAndVerifierOptions extends AuthenticateWithOptionsBase {
|
|
2144
1974
|
codeVerifier: string;
|
|
2145
1975
|
code: string;
|
|
@@ -2153,8 +1983,6 @@ interface SerializedAuthenticateWithCodeAndVerifierOptions extends SerializedAut
|
|
|
2153
1983
|
invitation_token?: string;
|
|
2154
1984
|
signals_id?: string;
|
|
2155
1985
|
}
|
|
2156
|
-
//#endregion
|
|
2157
|
-
//#region src/user-management/interfaces/authenticate-with-email-verification-options.interface.d.ts
|
|
2158
1986
|
interface AuthenticateWithEmailVerificationOptions extends AuthenticateWithOptionsBase {
|
|
2159
1987
|
code: string;
|
|
2160
1988
|
pendingAuthenticationToken: string;
|
|
@@ -2167,8 +1995,6 @@ interface SerializedAuthenticateWithEmailVerificationOptions extends SerializedA
|
|
|
2167
1995
|
code: string;
|
|
2168
1996
|
pending_authentication_token: string;
|
|
2169
1997
|
}
|
|
2170
|
-
//#endregion
|
|
2171
|
-
//#region src/user-management/interfaces/authenticate-with-magic-auth-options.interface.d.ts
|
|
2172
1998
|
interface AuthenticateWithMagicAuthOptions extends AuthenticateWithOptionsBase {
|
|
2173
1999
|
code: string;
|
|
2174
2000
|
email: string;
|
|
@@ -2189,8 +2015,6 @@ interface SerializedAuthenticateWithMagicAuthOptions extends SerializedAuthentic
|
|
|
2189
2015
|
radar_auth_attempt_id?: string;
|
|
2190
2016
|
signals_id?: string;
|
|
2191
2017
|
}
|
|
2192
|
-
//#endregion
|
|
2193
|
-
//#region src/user-management/interfaces/authenticate-with-radar-email-challenge-options.interface.d.ts
|
|
2194
2018
|
interface AuthenticateWithRadarEmailChallengeOptions extends AuthenticateWithOptionsBase {
|
|
2195
2019
|
code: string;
|
|
2196
2020
|
radarChallengeId: string;
|
|
@@ -2205,8 +2029,6 @@ interface SerializedAuthenticateWithRadarEmailChallengeOptions extends Serialize
|
|
|
2205
2029
|
radar_challenge_id: string;
|
|
2206
2030
|
pending_authentication_token: string;
|
|
2207
2031
|
}
|
|
2208
|
-
//#endregion
|
|
2209
|
-
//#region src/user-management/interfaces/authenticate-with-radar-sms-challenge-options.interface.d.ts
|
|
2210
2032
|
interface AuthenticateWithRadarSmsChallengeOptions extends AuthenticateWithOptionsBase {
|
|
2211
2033
|
code: string;
|
|
2212
2034
|
verificationId: string;
|
|
@@ -2223,8 +2045,6 @@ interface SerializedAuthenticateWithRadarSmsChallengeOptions extends SerializedA
|
|
|
2223
2045
|
phone_number: string;
|
|
2224
2046
|
pending_authentication_token: string;
|
|
2225
2047
|
}
|
|
2226
|
-
//#endregion
|
|
2227
|
-
//#region src/user-management/interfaces/authenticate-with-organization-selection.interface.d.ts
|
|
2228
2048
|
interface AuthenticateWithOrganizationSelectionOptions extends AuthenticateWithOptionsBase {
|
|
2229
2049
|
organizationId: string;
|
|
2230
2050
|
pendingAuthenticationToken: string;
|
|
@@ -2237,8 +2057,6 @@ interface SerializedAuthenticateWithOrganizationSelectionOptions extends Seriali
|
|
|
2237
2057
|
organization_id: string;
|
|
2238
2058
|
pending_authentication_token: string;
|
|
2239
2059
|
}
|
|
2240
|
-
//#endregion
|
|
2241
|
-
//#region src/user-management/interfaces/authenticate-with-password-options.interface.d.ts
|
|
2242
2060
|
interface AuthenticateWithPasswordOptions extends AuthenticateWithOptionsBase {
|
|
2243
2061
|
email: string;
|
|
2244
2062
|
password: string;
|
|
@@ -2257,8 +2075,6 @@ interface SerializedAuthenticateWithPasswordOptions extends SerializedAuthentica
|
|
|
2257
2075
|
radar_auth_attempt_id?: string;
|
|
2258
2076
|
signals_id?: string;
|
|
2259
2077
|
}
|
|
2260
|
-
//#endregion
|
|
2261
|
-
//#region src/user-management/interfaces/authenticate-with-refresh-token-options.interface.d.ts
|
|
2262
2078
|
interface AuthenticateWithRefreshTokenOptions extends AuthenticateWithOptionsBase {
|
|
2263
2079
|
refreshToken: string;
|
|
2264
2080
|
organizationId?: string;
|
|
@@ -2271,8 +2087,6 @@ interface SerializedAuthenticateWithRefreshTokenOptions extends SerializedAuthen
|
|
|
2271
2087
|
refresh_token: string;
|
|
2272
2088
|
organization_id: string | undefined;
|
|
2273
2089
|
}
|
|
2274
|
-
//#endregion
|
|
2275
|
-
//#region src/user-management/interfaces/authenticate-with-refresh-token-public-client-options.interface.d.ts
|
|
2276
2090
|
/** Options for refreshing tokens as a public client (no client_secret required) */
|
|
2277
2091
|
interface AuthenticateWithRefreshTokenPublicClientOptions extends AuthenticateWithOptionsBase {
|
|
2278
2092
|
refreshToken: string;
|
|
@@ -2283,8 +2097,6 @@ interface SerializedAuthenticateWithRefreshTokenPublicClientOptions extends Seri
|
|
|
2283
2097
|
refresh_token: string;
|
|
2284
2098
|
organization_id: string | undefined;
|
|
2285
2099
|
}
|
|
2286
|
-
//#endregion
|
|
2287
|
-
//#region src/user-management/interfaces/authenticate-with-totp-options.interface.d.ts
|
|
2288
2100
|
interface AuthenticateWithTotpOptions extends AuthenticateWithOptionsBase {
|
|
2289
2101
|
code: string;
|
|
2290
2102
|
pendingAuthenticationToken: string;
|
|
@@ -2299,8 +2111,6 @@ interface SerializedAuthenticateWithTotpOptions extends SerializedAuthenticateWi
|
|
|
2299
2111
|
pending_authentication_token: string;
|
|
2300
2112
|
authentication_challenge_id: string;
|
|
2301
2113
|
}
|
|
2302
|
-
//#endregion
|
|
2303
|
-
//#region src/user-management/interfaces/authentication-event.interface.d.ts
|
|
2304
2114
|
interface AuthenticationEventError {
|
|
2305
2115
|
code: string;
|
|
2306
2116
|
message: string;
|
|
@@ -2337,16 +2147,12 @@ interface AuthenticationEventResponse {
|
|
|
2337
2147
|
user_agent: string | null;
|
|
2338
2148
|
user_id: string | null;
|
|
2339
2149
|
}
|
|
2340
|
-
//#endregion
|
|
2341
|
-
//#region src/multi-factor-auth/interfaces/sms.interface.d.ts
|
|
2342
2150
|
interface Sms {
|
|
2343
2151
|
phoneNumber: string;
|
|
2344
2152
|
}
|
|
2345
2153
|
interface SmsResponse {
|
|
2346
2154
|
phone_number: string;
|
|
2347
2155
|
}
|
|
2348
|
-
//#endregion
|
|
2349
|
-
//#region src/multi-factor-auth/interfaces/totp.interface.d.ts
|
|
2350
2156
|
interface Totp {
|
|
2351
2157
|
issuer: string;
|
|
2352
2158
|
user: string;
|
|
@@ -2365,8 +2171,6 @@ interface TotpWithSecretsResponse extends TotpResponse {
|
|
|
2365
2171
|
secret: string;
|
|
2366
2172
|
uri: string;
|
|
2367
2173
|
}
|
|
2368
|
-
//#endregion
|
|
2369
|
-
//#region src/multi-factor-auth/interfaces/factor.interface.d.ts
|
|
2370
2174
|
type FactorType = 'sms' | 'totp' | 'generic_otp' | 'webauthn';
|
|
2371
2175
|
interface Factor {
|
|
2372
2176
|
object: 'authentication_factor';
|
|
@@ -2404,8 +2208,6 @@ interface FactorWithSecretsResponse {
|
|
|
2404
2208
|
sms?: SmsResponse;
|
|
2405
2209
|
totp?: TotpWithSecretsResponse;
|
|
2406
2210
|
}
|
|
2407
|
-
//#endregion
|
|
2408
|
-
//#region src/user-management/interfaces/authentication-factor.interface.d.ts
|
|
2409
2211
|
type AuthenticationFactorType = FactorType;
|
|
2410
2212
|
interface AuthenticationFactor {
|
|
2411
2213
|
object: 'authentication_factor';
|
|
@@ -2445,8 +2247,6 @@ interface AuthenticationFactorWithSecretsResponse {
|
|
|
2445
2247
|
totp: TotpWithSecretsResponse;
|
|
2446
2248
|
user_id: string;
|
|
2447
2249
|
}
|
|
2448
|
-
//#endregion
|
|
2449
|
-
//#region src/user-management/interfaces/authentication-radar-risk-detected-event.interface.d.ts
|
|
2450
2250
|
type AuthenticationRadarRiskDetectedEventData = {
|
|
2451
2251
|
authMethod: string;
|
|
2452
2252
|
action: 'signup' | 'login';
|
|
@@ -2467,8 +2267,6 @@ interface AuthenticationRadarRiskDetectedEventResponseData {
|
|
|
2467
2267
|
user_id: string;
|
|
2468
2268
|
email: string;
|
|
2469
2269
|
}
|
|
2470
|
-
//#endregion
|
|
2471
|
-
//#region src/user-management/interfaces/authorization-url-options.interface.d.ts
|
|
2472
2270
|
/**
|
|
2473
2271
|
* PKCE fields must be provided together or not at all.
|
|
2474
2272
|
* Use workos.pkce.generate() to create a valid pair.
|
|
@@ -2516,8 +2314,6 @@ interface PKCEAuthorizationURLResult {
|
|
|
2516
2314
|
/** The PKCE code verifier. Store securely and pass to authenticateWithCode(). */
|
|
2517
2315
|
codeVerifier: string;
|
|
2518
2316
|
}
|
|
2519
|
-
//#endregion
|
|
2520
|
-
//#region src/connect/interfaces/application-credentials-list-item.interface.d.ts
|
|
2521
2317
|
interface ApplicationCredentialsListItem {
|
|
2522
2318
|
/** Distinguishes the connect application secret object. */
|
|
2523
2319
|
object: 'connect_application_secret';
|
|
@@ -2540,8 +2336,6 @@ interface ApplicationCredentialsListItemResponse {
|
|
|
2540
2336
|
created_at: string;
|
|
2541
2337
|
updated_at: string;
|
|
2542
2338
|
}
|
|
2543
|
-
//#endregion
|
|
2544
|
-
//#region src/connect/interfaces/user-object.interface.d.ts
|
|
2545
2339
|
interface UserObject {
|
|
2546
2340
|
/** Your application's user identifier, which will be stored as an [`external_id`](https://workos.com/docs/authkit/metadata/external-identifiers). Used for upserting and deduplication. */
|
|
2547
2341
|
id: string;
|
|
@@ -2561,8 +2355,6 @@ interface UserObjectResponse {
|
|
|
2561
2355
|
last_name?: string;
|
|
2562
2356
|
metadata?: Record<string, string>;
|
|
2563
2357
|
}
|
|
2564
|
-
//#endregion
|
|
2565
|
-
//#region src/connect/interfaces/user-consent-option-choice.interface.d.ts
|
|
2566
2358
|
interface UserConsentOptionChoice {
|
|
2567
2359
|
/** The value of this choice. */
|
|
2568
2360
|
value?: string;
|
|
@@ -2573,8 +2365,6 @@ interface UserConsentOptionChoiceResponse {
|
|
|
2573
2365
|
value?: string;
|
|
2574
2366
|
label?: string;
|
|
2575
2367
|
}
|
|
2576
|
-
//#endregion
|
|
2577
|
-
//#region src/connect/interfaces/user-consent-option.interface.d.ts
|
|
2578
2368
|
interface UserConsentOption {
|
|
2579
2369
|
/** The claim name for this consent option. */
|
|
2580
2370
|
claim: string;
|
|
@@ -2591,8 +2381,6 @@ interface UserConsentOptionResponse {
|
|
|
2591
2381
|
label: string;
|
|
2592
2382
|
choices: UserConsentOptionChoiceResponse[];
|
|
2593
2383
|
}
|
|
2594
|
-
//#endregion
|
|
2595
|
-
//#region src/connect/interfaces/complete-oauth-2-options.interface.d.ts
|
|
2596
2384
|
interface CompleteOAuth2Options {
|
|
2597
2385
|
/** Identifier provided when AuthKit redirected to your login page. */
|
|
2598
2386
|
externalAuthId: string;
|
|
@@ -2601,8 +2389,6 @@ interface CompleteOAuth2Options {
|
|
|
2601
2389
|
/** Array of [User Consent Options](https://workos.com/docs/reference/workos-connect/standalone/user-consent-options) to store with the session. */
|
|
2602
2390
|
userConsentOptions?: UserConsentOption[];
|
|
2603
2391
|
}
|
|
2604
|
-
//#endregion
|
|
2605
|
-
//#region src/connect/interfaces/connect-application-redirect-uri.interface.d.ts
|
|
2606
2392
|
interface ConnectApplicationRedirectUri {
|
|
2607
2393
|
/** The redirect URI for the application. */
|
|
2608
2394
|
uri: string;
|
|
@@ -2613,8 +2399,6 @@ interface ConnectApplicationRedirectUriResponse {
|
|
|
2613
2399
|
uri: string;
|
|
2614
2400
|
default: boolean;
|
|
2615
2401
|
}
|
|
2616
|
-
//#endregion
|
|
2617
|
-
//#region src/connect/interfaces/connect-application.interface.d.ts
|
|
2618
2402
|
interface ConnectApplicationOAuth {
|
|
2619
2403
|
/** Distinguishes the connect application object. */
|
|
2620
2404
|
object: 'connect_application';
|
|
@@ -2721,14 +2505,10 @@ interface ConnectApplicationM2MResponse {
|
|
|
2721
2505
|
}
|
|
2722
2506
|
type ConnectApplication = ConnectApplicationOAuth | ConnectApplicationM2M;
|
|
2723
2507
|
type ConnectApplicationResponse = ConnectApplicationOAuthResponse | ConnectApplicationM2MResponse;
|
|
2724
|
-
//#endregion
|
|
2725
|
-
//#region src/connect/interfaces/create-application-client-secret-options.interface.d.ts
|
|
2726
2508
|
interface CreateApplicationClientSecretOptions {
|
|
2727
2509
|
/** The application ID or client ID of the Connect Application. */
|
|
2728
2510
|
id: string;
|
|
2729
2511
|
}
|
|
2730
|
-
//#endregion
|
|
2731
|
-
//#region src/connect/interfaces/redirect-uri-input.interface.d.ts
|
|
2732
2512
|
interface RedirectUriInput {
|
|
2733
2513
|
/** The redirect URI. */
|
|
2734
2514
|
uri: string;
|
|
@@ -2739,8 +2519,6 @@ interface RedirectUriInputResponse {
|
|
|
2739
2519
|
uri: string;
|
|
2740
2520
|
default?: boolean | null;
|
|
2741
2521
|
}
|
|
2742
|
-
//#endregion
|
|
2743
|
-
//#region src/connect/interfaces/create-oauth-application.interface.d.ts
|
|
2744
2522
|
interface CreateOAuthApplication {
|
|
2745
2523
|
/** The name of the application. */
|
|
2746
2524
|
name: string;
|
|
@@ -2769,8 +2547,6 @@ interface CreateOAuthApplicationResponse {
|
|
|
2769
2547
|
is_first_party: boolean;
|
|
2770
2548
|
organization_id?: string | null;
|
|
2771
2549
|
}
|
|
2772
|
-
//#endregion
|
|
2773
|
-
//#region src/connect/interfaces/create-m2m-application.interface.d.ts
|
|
2774
2550
|
interface CreateM2MApplication {
|
|
2775
2551
|
/** The name of the application. */
|
|
2776
2552
|
name: string;
|
|
@@ -2790,23 +2566,15 @@ interface CreateM2MApplicationResponse {
|
|
|
2790
2566
|
scopes?: string[] | null;
|
|
2791
2567
|
organization_id: string;
|
|
2792
2568
|
}
|
|
2793
|
-
//#endregion
|
|
2794
|
-
//#region src/connect/interfaces/create-application-options.interface.d.ts
|
|
2795
2569
|
type CreateApplicationOptions = {} & (CreateOAuthApplication | CreateM2MApplication);
|
|
2796
|
-
//#endregion
|
|
2797
|
-
//#region src/connect/interfaces/delete-application-options.interface.d.ts
|
|
2798
2570
|
interface DeleteApplicationOptions {
|
|
2799
2571
|
/** The application ID or client ID of the Connect Application. */
|
|
2800
2572
|
id: string;
|
|
2801
2573
|
}
|
|
2802
|
-
//#endregion
|
|
2803
|
-
//#region src/connect/interfaces/delete-client-secret-options.interface.d.ts
|
|
2804
2574
|
interface DeleteClientSecretOptions {
|
|
2805
2575
|
/** The unique ID of the client secret. */
|
|
2806
2576
|
id: string;
|
|
2807
2577
|
}
|
|
2808
|
-
//#endregion
|
|
2809
|
-
//#region src/connect/interfaces/external-auth-complete-response.interface.d.ts
|
|
2810
2578
|
interface ExternalAuthCompleteResponse {
|
|
2811
2579
|
/** URI to redirect the user back to AuthKit to complete the OAuth flow. */
|
|
2812
2580
|
redirectUri: string;
|
|
@@ -2814,26 +2582,18 @@ interface ExternalAuthCompleteResponse {
|
|
|
2814
2582
|
interface ExternalAuthCompleteResponseWire {
|
|
2815
2583
|
redirect_uri: string;
|
|
2816
2584
|
}
|
|
2817
|
-
//#endregion
|
|
2818
|
-
//#region src/connect/interfaces/get-application-options.interface.d.ts
|
|
2819
2585
|
interface GetApplicationOptions {
|
|
2820
2586
|
/** The application ID or client ID of the Connect Application. */
|
|
2821
2587
|
id: string;
|
|
2822
2588
|
}
|
|
2823
|
-
//#endregion
|
|
2824
|
-
//#region src/connect/interfaces/list-application-client-secrets-options.interface.d.ts
|
|
2825
2589
|
interface ListApplicationClientSecretsOptions {
|
|
2826
2590
|
/** The application ID or client ID of the Connect Application. */
|
|
2827
2591
|
id: string;
|
|
2828
2592
|
}
|
|
2829
|
-
//#endregion
|
|
2830
|
-
//#region src/connect/interfaces/list-applications-options.interface.d.ts
|
|
2831
2593
|
interface ListApplicationsOptions extends PaginationOptions {
|
|
2832
2594
|
/** Filter Connect Applications by organization ID. */
|
|
2833
2595
|
organizationId?: string;
|
|
2834
2596
|
}
|
|
2835
|
-
//#endregion
|
|
2836
|
-
//#region src/connect/interfaces/new-connect-application-secret.interface.d.ts
|
|
2837
2597
|
interface NewConnectApplicationSecret {
|
|
2838
2598
|
/** Distinguishes the connect application secret object. */
|
|
2839
2599
|
object: 'connect_application_secret';
|
|
@@ -2859,8 +2619,6 @@ interface NewConnectApplicationSecretResponse {
|
|
|
2859
2619
|
updated_at: string;
|
|
2860
2620
|
secret: string;
|
|
2861
2621
|
}
|
|
2862
|
-
//#endregion
|
|
2863
|
-
//#region src/connect/interfaces/update-application-options.interface.d.ts
|
|
2864
2622
|
interface UpdateApplicationOptions {
|
|
2865
2623
|
/** The application ID or client ID of the Connect Application. */
|
|
2866
2624
|
id: string;
|
|
@@ -2873,8 +2631,6 @@ interface UpdateApplicationOptions {
|
|
|
2873
2631
|
/** Updated redirect URIs for the application. OAuth applications only. */
|
|
2874
2632
|
redirectUris?: RedirectUriInput[] | null;
|
|
2875
2633
|
}
|
|
2876
|
-
//#endregion
|
|
2877
|
-
//#region src/connect/interfaces/token-exchange.interface.d.ts
|
|
2878
2634
|
interface ExchangeTokenOptions {
|
|
2879
2635
|
/**
|
|
2880
2636
|
* The OpenID issuer of the environment, e.g. `https://auth.example.com` or
|
|
@@ -2907,8 +2663,6 @@ interface TokenExchangeResponseResponse {
|
|
|
2907
2663
|
expires_in: number;
|
|
2908
2664
|
scope?: string;
|
|
2909
2665
|
}
|
|
2910
|
-
//#endregion
|
|
2911
|
-
//#region src/user-management/interfaces/authorized-connect-application.interface.d.ts
|
|
2912
2666
|
interface AuthorizedConnectApplication {
|
|
2913
2667
|
object: 'authorized_connect_application';
|
|
2914
2668
|
id: string;
|
|
@@ -2923,8 +2677,6 @@ interface AuthorizedConnectApplicationResponse {
|
|
|
2923
2677
|
oauth_resource?: string;
|
|
2924
2678
|
application: ConnectApplicationResponse;
|
|
2925
2679
|
}
|
|
2926
|
-
//#endregion
|
|
2927
|
-
//#region src/user-management/interfaces/create-magic-auth-options.interface.d.ts
|
|
2928
2680
|
interface CreateMagicAuthOptions {
|
|
2929
2681
|
email: string;
|
|
2930
2682
|
invitationToken?: string;
|
|
@@ -2941,8 +2693,6 @@ interface SerializedCreateMagicAuthOptions {
|
|
|
2941
2693
|
radar_auth_attempt_id?: string;
|
|
2942
2694
|
signals_id?: string;
|
|
2943
2695
|
}
|
|
2944
|
-
//#endregion
|
|
2945
|
-
//#region src/user-management/interfaces/create-organization-membership-options.interface.d.ts
|
|
2946
2696
|
interface CreateOrganizationMembershipOptions {
|
|
2947
2697
|
organizationId: string;
|
|
2948
2698
|
userId: string;
|
|
@@ -2955,16 +2705,12 @@ interface SerializedCreateOrganizationMembershipOptions {
|
|
|
2955
2705
|
role_slug?: string;
|
|
2956
2706
|
role_slugs?: string[];
|
|
2957
2707
|
}
|
|
2958
|
-
//#endregion
|
|
2959
|
-
//#region src/user-management/interfaces/create-password-reset-options.interface.d.ts
|
|
2960
2708
|
interface CreatePasswordResetOptions {
|
|
2961
2709
|
email: string;
|
|
2962
2710
|
}
|
|
2963
2711
|
interface SerializedCreatePasswordResetOptions {
|
|
2964
2712
|
email: string;
|
|
2965
2713
|
}
|
|
2966
|
-
//#endregion
|
|
2967
|
-
//#region src/user-management/interfaces/create-user-api-key-options.interface.d.ts
|
|
2968
2714
|
interface CreateUserApiKeyOptions {
|
|
2969
2715
|
name: string;
|
|
2970
2716
|
organizationId: string;
|
|
@@ -2978,11 +2724,7 @@ interface SerializedCreateUserApiKeyOptions {
|
|
|
2978
2724
|
expires_at?: string;
|
|
2979
2725
|
}
|
|
2980
2726
|
interface CreateUserApiKeyRequestOptions extends Pick<PostOptions, 'idempotencyKey'> {}
|
|
2981
|
-
//#endregion
|
|
2982
|
-
//#region src/user-management/interfaces/password-hash-type.interface.d.ts
|
|
2983
2727
|
type PasswordHashType = 'bcrypt' | 'firebase-scrypt' | 'ssha' | 'scrypt' | 'argon2';
|
|
2984
|
-
//#endregion
|
|
2985
|
-
//#region src/user-management/interfaces/create-user-options.interface.d.ts
|
|
2986
2728
|
interface CreateUserOptions {
|
|
2987
2729
|
email: string;
|
|
2988
2730
|
password?: string;
|
|
@@ -3013,8 +2755,6 @@ interface SerializedCreateUserOptions {
|
|
|
3013
2755
|
user_agent?: string;
|
|
3014
2756
|
signals_id?: string;
|
|
3015
2757
|
}
|
|
3016
|
-
//#endregion
|
|
3017
|
-
//#region src/user-management/interfaces/create-waitlist-entry-options.interface.d.ts
|
|
3018
2758
|
interface CreateWaitlistEntryOptions {
|
|
3019
2759
|
/** The email address of the user joining the waitlist. */
|
|
3020
2760
|
email: string;
|
|
@@ -3028,8 +2768,6 @@ interface SerializedCreateWaitlistEntryOptions {
|
|
|
3028
2768
|
additional_fields?: Record<string, string>;
|
|
3029
2769
|
send_confirmation_email?: boolean;
|
|
3030
2770
|
}
|
|
3031
|
-
//#endregion
|
|
3032
|
-
//#region src/user-management/interfaces/email-verification.interface.d.ts
|
|
3033
2771
|
interface EmailVerification {
|
|
3034
2772
|
/** Distinguishes the email verification object. */
|
|
3035
2773
|
object: 'email_verification';
|
|
@@ -3076,8 +2814,6 @@ interface EmailVerificationEventResponse {
|
|
|
3076
2814
|
created_at: string;
|
|
3077
2815
|
updated_at: string;
|
|
3078
2816
|
}
|
|
3079
|
-
//#endregion
|
|
3080
|
-
//#region src/user-management/interfaces/enroll-auth-factor.interface.d.ts
|
|
3081
2817
|
interface EnrollAuthFactorOptions {
|
|
3082
2818
|
userId: string;
|
|
3083
2819
|
type: 'totp';
|
|
@@ -3091,15 +2827,11 @@ interface SerializedEnrollUserInMfaFactorOptions {
|
|
|
3091
2827
|
totp_user?: string;
|
|
3092
2828
|
totp_secret?: string;
|
|
3093
2829
|
}
|
|
3094
|
-
//#endregion
|
|
3095
|
-
//#region src/user-management/interfaces/identity.interface.d.ts
|
|
3096
2830
|
interface Identity {
|
|
3097
2831
|
idpId: string;
|
|
3098
2832
|
type: 'OAuth';
|
|
3099
2833
|
provider: 'AppleOAuth' | 'GoogleOAuth' | 'GitHubOAuth' | 'MicrosoftOAuth' | 'SalesforceOAuth';
|
|
3100
2834
|
}
|
|
3101
|
-
//#endregion
|
|
3102
|
-
//#region src/user-management/interfaces/invitation.interface.d.ts
|
|
3103
2835
|
interface Invitation {
|
|
3104
2836
|
/** Distinguishes the invitation object. */
|
|
3105
2837
|
object: 'invitation';
|
|
@@ -3179,18 +2911,12 @@ interface InvitationEventResponse {
|
|
|
3179
2911
|
created_at: string;
|
|
3180
2912
|
updated_at: string;
|
|
3181
2913
|
}
|
|
3182
|
-
//#endregion
|
|
3183
|
-
//#region src/user-management/interfaces/list-auth-factors-options.interface.d.ts
|
|
3184
2914
|
interface ListAuthFactorsOptions extends PaginationOptions {
|
|
3185
2915
|
userId: string;
|
|
3186
2916
|
}
|
|
3187
|
-
//#endregion
|
|
3188
|
-
//#region src/user-management/interfaces/list-groups-for-organization-membership-options.interface.d.ts
|
|
3189
2917
|
interface ListGroupsForOrganizationMembershipOptions extends PaginationOptions {
|
|
3190
2918
|
organizationMembershipId: string;
|
|
3191
2919
|
}
|
|
3192
|
-
//#endregion
|
|
3193
|
-
//#region src/user-management/interfaces/list-invitations-options.interface.d.ts
|
|
3194
2920
|
interface ListInvitationsOptions extends PaginationOptions {
|
|
3195
2921
|
/** The ID of the [organization](https://workos.com/docs/reference/organization) that the recipient will join. */
|
|
3196
2922
|
organizationId?: string;
|
|
@@ -3201,8 +2927,6 @@ interface SerializedListInvitationsOptions extends PaginationOptions {
|
|
|
3201
2927
|
organization_id?: string;
|
|
3202
2928
|
email?: string;
|
|
3203
2929
|
}
|
|
3204
|
-
//#endregion
|
|
3205
|
-
//#region src/user-management/interfaces/organization-membership.interface.d.ts
|
|
3206
2930
|
type OrganizationMembershipStatus = 'active' | 'inactive' | 'pending';
|
|
3207
2931
|
interface BaseOrganizationMembership {
|
|
3208
2932
|
object: 'organization_membership';
|
|
@@ -3246,8 +2970,6 @@ interface OrganizationMembershipResponse extends BaseOrganizationMembershipRespo
|
|
|
3246
2970
|
user?: UserResponse;
|
|
3247
2971
|
}
|
|
3248
2972
|
type AuthorizationOrganizationMembershipResponse = BaseOrganizationMembershipResponse;
|
|
3249
|
-
//#endregion
|
|
3250
|
-
//#region src/user-management/interfaces/list-organization-memberships-options.interface.d.ts
|
|
3251
2973
|
type ListOrganizationMembershipsOptions = PaginationOptions & {
|
|
3252
2974
|
statuses?: OrganizationMembershipStatus[];
|
|
3253
2975
|
} & ({
|
|
@@ -3262,25 +2984,17 @@ interface SerializedListOrganizationMembershipsOptions extends PaginationOptions
|
|
|
3262
2984
|
user_id?: string;
|
|
3263
2985
|
statuses?: string;
|
|
3264
2986
|
}
|
|
3265
|
-
//#endregion
|
|
3266
|
-
//#region src/user-management/interfaces/list-sessions-options.interface.d.ts
|
|
3267
2987
|
interface ListSessionsOptions extends PaginationOptions {}
|
|
3268
2988
|
interface SerializedListSessionsOptions extends PaginationOptions {}
|
|
3269
|
-
//#endregion
|
|
3270
|
-
//#region src/user-management/interfaces/list-user-feature-flags-options.interface.d.ts
|
|
3271
2989
|
interface ListUserFeatureFlagsOptions extends PaginationOptions {
|
|
3272
2990
|
userId: string;
|
|
3273
2991
|
}
|
|
3274
|
-
//#endregion
|
|
3275
|
-
//#region src/user-management/interfaces/list-user-api-keys-options.interface.d.ts
|
|
3276
2992
|
interface ListUserApiKeysOptions extends PaginationOptions {
|
|
3277
2993
|
organizationId?: string;
|
|
3278
2994
|
}
|
|
3279
2995
|
interface SerializedListUserApiKeysOptions extends PaginationOptions {
|
|
3280
2996
|
organization_id?: string;
|
|
3281
2997
|
}
|
|
3282
|
-
//#endregion
|
|
3283
|
-
//#region src/user-management/interfaces/list-users-options.interface.d.ts
|
|
3284
2998
|
interface ListUsersOptions extends PaginationOptions {
|
|
3285
2999
|
/** Filter users by their email address. */
|
|
3286
3000
|
email?: string;
|
|
@@ -3291,8 +3005,6 @@ interface SerializedListUsersOptions extends PaginationOptions {
|
|
|
3291
3005
|
email?: string;
|
|
3292
3006
|
organization_id?: string;
|
|
3293
3007
|
}
|
|
3294
|
-
//#endregion
|
|
3295
|
-
//#region src/user-management/interfaces/waitlist-entry.interface.d.ts
|
|
3296
3008
|
type WaitlistEntryState = 'pending' | 'approved' | 'denied';
|
|
3297
3009
|
interface WaitlistEntry {
|
|
3298
3010
|
/** Distinguishes the Waitlist Entry object. */
|
|
@@ -3325,8 +3037,6 @@ interface WaitlistEntryResponse {
|
|
|
3325
3037
|
created_at: string;
|
|
3326
3038
|
updated_at: string;
|
|
3327
3039
|
}
|
|
3328
|
-
//#endregion
|
|
3329
|
-
//#region src/user-management/interfaces/list-waitlist-entries-options.interface.d.ts
|
|
3330
3040
|
interface ListWaitlistEntriesOptions extends PaginationOptions {
|
|
3331
3041
|
/** Filter entries by state. */
|
|
3332
3042
|
state?: WaitlistEntryState;
|
|
@@ -3337,17 +3047,11 @@ interface SerializedListWaitlistEntriesOptions extends PaginationOptions {
|
|
|
3337
3047
|
state?: WaitlistEntryState;
|
|
3338
3048
|
email?: string;
|
|
3339
3049
|
}
|
|
3340
|
-
//#endregion
|
|
3341
|
-
//#region src/user-management/interfaces/locale.interface.d.ts
|
|
3342
3050
|
type Locale = 'af' | 'am' | 'ar' | 'bg' | 'bn' | 'bs' | 'ca' | 'cs' | 'da' | 'de' | 'de-DE' | 'el' | 'en' | 'en-AU' | 'en-CA' | 'en-GB' | 'en-US' | 'es' | 'es-419' | 'es-ES' | 'es-US' | 'et' | 'fa' | 'fi' | 'fil' | 'fr' | 'fr-BE' | 'fr-CA' | 'fr-FR' | 'fy' | 'gl' | 'gu' | 'ha' | 'he' | 'hi' | 'hr' | 'hu' | 'hy' | 'id' | 'is' | 'it' | 'it-IT' | 'ja' | 'jv' | 'ka' | 'kk' | 'km' | 'kn' | 'ko' | 'lt' | 'lv' | 'mk' | 'ml' | 'mn' | 'mr' | 'ms' | 'my' | 'nb' | 'ne' | 'nl' | 'nl-BE' | 'nl-NL' | 'nn' | 'no' | 'pa' | 'pl' | 'pt' | 'pt-BR' | 'pt-PT' | 'ro' | 'ru' | 'sk' | 'sl' | 'sq' | 'sr' | 'sv' | 'sw' | 'ta' | 'te' | 'th' | 'tr' | 'uk' | 'ur' | 'uz' | 'vi' | 'zh' | 'zh-CN' | 'zh-HK' | 'zh-TW' | 'zu';
|
|
3343
|
-
//#endregion
|
|
3344
|
-
//#region src/user-management/interfaces/logout-url-options.interface.d.ts
|
|
3345
3051
|
interface LogoutURLOptions {
|
|
3346
3052
|
sessionId: string;
|
|
3347
3053
|
returnTo?: string;
|
|
3348
3054
|
}
|
|
3349
|
-
//#endregion
|
|
3350
|
-
//#region src/user-management/interfaces/magic-auth.interface.d.ts
|
|
3351
3055
|
interface MagicAuth {
|
|
3352
3056
|
/** Distinguishes the Magic Auth object. */
|
|
3353
3057
|
object: 'magic_auth';
|
|
@@ -3400,8 +3104,6 @@ interface MagicAuthEventResponse {
|
|
|
3400
3104
|
created_at: string;
|
|
3401
3105
|
updated_at: string;
|
|
3402
3106
|
}
|
|
3403
|
-
//#endregion
|
|
3404
|
-
//#region src/user-management/interfaces/password-reset.interface.d.ts
|
|
3405
3107
|
interface PasswordReset {
|
|
3406
3108
|
/** Distinguishes the password reset object. */
|
|
3407
3109
|
object: 'password_reset';
|
|
@@ -3446,8 +3148,6 @@ interface PasswordResetEventResponse {
|
|
|
3446
3148
|
expires_at: string;
|
|
3447
3149
|
created_at: string;
|
|
3448
3150
|
}
|
|
3449
|
-
//#endregion
|
|
3450
|
-
//#region src/user-management/interfaces/refresh-and-seal-session-data.interface.d.ts
|
|
3451
3151
|
declare enum RefreshSessionFailureReason {
|
|
3452
3152
|
INVALID_SESSION_COOKIE = "invalid_session_cookie",
|
|
3453
3153
|
NO_SESSION_COOKIE_PROVIDED = "no_session_cookie_provided",
|
|
@@ -3496,16 +3196,12 @@ type RefreshSessionSuccessResponse = Omit<AuthenticateWithSessionCookieSuccessRe
|
|
|
3496
3196
|
sealedSession?: string;
|
|
3497
3197
|
};
|
|
3498
3198
|
type RefreshSessionResponse = RefreshSessionFailedResponse | RefreshSessionSuccessResponse;
|
|
3499
|
-
//#endregion
|
|
3500
|
-
//#region src/user-management/interfaces/resend-invitation-options.interface.d.ts
|
|
3501
3199
|
interface ResendInvitationOptions {
|
|
3502
3200
|
locale?: Locale;
|
|
3503
3201
|
}
|
|
3504
3202
|
interface SerializedResendInvitationOptions {
|
|
3505
3203
|
locale?: Locale;
|
|
3506
3204
|
}
|
|
3507
|
-
//#endregion
|
|
3508
|
-
//#region src/user-management/interfaces/reset-password-options.interface.d.ts
|
|
3509
3205
|
interface ResetPasswordOptions {
|
|
3510
3206
|
token: string;
|
|
3511
3207
|
newPassword: string;
|
|
@@ -3514,8 +3210,6 @@ interface SerializedResetPasswordOptions {
|
|
|
3514
3210
|
token: string;
|
|
3515
3211
|
new_password: string;
|
|
3516
3212
|
}
|
|
3517
|
-
//#endregion
|
|
3518
|
-
//#region src/user-management/interfaces/revoke-session-options.interface.d.ts
|
|
3519
3213
|
interface RevokeSessionOptions {
|
|
3520
3214
|
sessionId: string;
|
|
3521
3215
|
}
|
|
@@ -3523,8 +3217,6 @@ interface SerializedRevokeSessionOptions {
|
|
|
3523
3217
|
session_id: string;
|
|
3524
3218
|
}
|
|
3525
3219
|
declare const serializeRevokeSessionOptions: (options: RevokeSessionOptions) => SerializedRevokeSessionOptions;
|
|
3526
|
-
//#endregion
|
|
3527
|
-
//#region src/user-management/interfaces/send-invitation-options.interface.d.ts
|
|
3528
3220
|
interface SendInvitationOptions {
|
|
3529
3221
|
email: string;
|
|
3530
3222
|
organizationId?: string;
|
|
@@ -3541,8 +3233,6 @@ interface SerializedSendInvitationOptions {
|
|
|
3541
3233
|
role_slug?: string;
|
|
3542
3234
|
locale?: Locale;
|
|
3543
3235
|
}
|
|
3544
|
-
//#endregion
|
|
3545
|
-
//#region src/user-management/interfaces/send-radar-sms-challenge-options.interface.d.ts
|
|
3546
3236
|
interface SendRadarSmsChallengeOptions {
|
|
3547
3237
|
userId: string;
|
|
3548
3238
|
pendingAuthenticationToken: string;
|
|
@@ -3565,13 +3255,9 @@ interface SendRadarSmsChallengeResponseResponse {
|
|
|
3565
3255
|
verification_id: string;
|
|
3566
3256
|
phone_number: string;
|
|
3567
3257
|
}
|
|
3568
|
-
//#endregion
|
|
3569
|
-
//#region src/user-management/interfaces/send-verification-email-options.interface.d.ts
|
|
3570
3258
|
interface SendVerificationEmailOptions {
|
|
3571
3259
|
userId: string;
|
|
3572
3260
|
}
|
|
3573
|
-
//#endregion
|
|
3574
|
-
//#region src/user-management/interfaces/session.interface.d.ts
|
|
3575
3261
|
type AuthMethod = 'cross_app_auth' | 'external_auth' | 'impersonation' | 'magic_code' | 'migrated_session' | 'oauth' | 'passkey' | 'password' | 'sso' | 'unknown';
|
|
3576
3262
|
type SessionStatus = 'active' | 'expired' | 'revoked';
|
|
3577
3263
|
interface Session {
|
|
@@ -3604,8 +3290,6 @@ interface SessionResponse {
|
|
|
3604
3290
|
created_at: string;
|
|
3605
3291
|
updated_at: string;
|
|
3606
3292
|
}
|
|
3607
|
-
//#endregion
|
|
3608
|
-
//#region src/user-management/interfaces/update-organization-membership-options.interface.d.ts
|
|
3609
3293
|
interface UpdateOrganizationMembershipOptions {
|
|
3610
3294
|
roleSlug?: string;
|
|
3611
3295
|
roleSlugs?: string[];
|
|
@@ -3614,8 +3298,6 @@ interface SerializedUpdateOrganizationMembershipOptions {
|
|
|
3614
3298
|
role_slug?: string;
|
|
3615
3299
|
role_slugs?: string[];
|
|
3616
3300
|
}
|
|
3617
|
-
//#endregion
|
|
3618
|
-
//#region src/user-management/interfaces/update-user-options.interface.d.ts
|
|
3619
3301
|
interface UpdateUserOptions {
|
|
3620
3302
|
userId: string;
|
|
3621
3303
|
email?: string;
|
|
@@ -3643,8 +3325,6 @@ interface SerializedUpdateUserOptions {
|
|
|
3643
3325
|
locale?: string;
|
|
3644
3326
|
metadata?: Record<string, string | null>;
|
|
3645
3327
|
}
|
|
3646
|
-
//#endregion
|
|
3647
|
-
//#region src/user-management/interfaces/update-user-password-options.interface.d.ts
|
|
3648
3328
|
interface UpdateUserPasswordOptions {
|
|
3649
3329
|
userId: string;
|
|
3650
3330
|
password: string;
|
|
@@ -3652,8 +3332,6 @@ interface UpdateUserPasswordOptions {
|
|
|
3652
3332
|
interface SerializedUpdateUserPasswordOptions {
|
|
3653
3333
|
password: string;
|
|
3654
3334
|
}
|
|
3655
|
-
//#endregion
|
|
3656
|
-
//#region src/user-management/interfaces/user-api-key.interface.d.ts
|
|
3657
3335
|
interface UserApiKey {
|
|
3658
3336
|
object: 'api_key';
|
|
3659
3337
|
id: string;
|
|
@@ -3686,16 +3364,12 @@ interface SerializedUserApiKey {
|
|
|
3686
3364
|
created_at: string;
|
|
3687
3365
|
updated_at: string;
|
|
3688
3366
|
}
|
|
3689
|
-
//#endregion
|
|
3690
|
-
//#region src/user-management/interfaces/user-api-key-with-value.interface.d.ts
|
|
3691
3367
|
interface UserApiKeyWithValue extends UserApiKey {
|
|
3692
3368
|
value: string;
|
|
3693
3369
|
}
|
|
3694
3370
|
interface SerializedUserApiKeyWithValue extends SerializedUserApiKey {
|
|
3695
3371
|
value: string;
|
|
3696
3372
|
}
|
|
3697
|
-
//#endregion
|
|
3698
|
-
//#region src/user-management/interfaces/verify-email-options.interface.d.ts
|
|
3699
3373
|
interface VerifyEmailOptions {
|
|
3700
3374
|
code: string;
|
|
3701
3375
|
userId: string;
|
|
@@ -3703,8 +3377,6 @@ interface VerifyEmailOptions {
|
|
|
3703
3377
|
interface SerializedVerifyEmailOptions {
|
|
3704
3378
|
code: string;
|
|
3705
3379
|
}
|
|
3706
|
-
//#endregion
|
|
3707
|
-
//#region src/user-management/interfaces/waitlist.interface.d.ts
|
|
3708
3380
|
interface Waitlist {
|
|
3709
3381
|
/** Distinguishes the Waitlist object. */
|
|
3710
3382
|
object: 'waitlist';
|
|
@@ -3721,8 +3393,6 @@ interface WaitlistResponse {
|
|
|
3721
3393
|
created_at: string;
|
|
3722
3394
|
updated_at: string;
|
|
3723
3395
|
}
|
|
3724
|
-
//#endregion
|
|
3725
|
-
//#region src/user-management/interfaces/waitlist-user-event.interface.d.ts
|
|
3726
3396
|
/** The waitlist entry as delivered on `waitlist_user.*` events. */
|
|
3727
3397
|
interface WaitlistUserEventData {
|
|
3728
3398
|
object: 'waitlist_user';
|
|
@@ -3746,8 +3416,6 @@ interface WaitlistUserEventResponseData {
|
|
|
3746
3416
|
created_at: string;
|
|
3747
3417
|
updated_at: string;
|
|
3748
3418
|
}
|
|
3749
|
-
//#endregion
|
|
3750
|
-
//#region src/organization-domains/interfaces/create-organization-domain-options.interface.d.ts
|
|
3751
3419
|
interface CreateOrganizationDomainOptions {
|
|
3752
3420
|
domain: string;
|
|
3753
3421
|
organizationId: string;
|
|
@@ -3756,8 +3424,6 @@ interface SerializedCreateOrganizationDomainOptions {
|
|
|
3756
3424
|
domain: string;
|
|
3757
3425
|
organization_id: string;
|
|
3758
3426
|
}
|
|
3759
|
-
//#endregion
|
|
3760
|
-
//#region src/organization-domains/interfaces/organization-domain.interface.d.ts
|
|
3761
3427
|
declare enum OrganizationDomainState {
|
|
3762
3428
|
Verified = "verified",
|
|
3763
3429
|
Pending = "pending",
|
|
@@ -3802,8 +3468,6 @@ interface OrganizationDomainResponse {
|
|
|
3802
3468
|
created_at: string;
|
|
3803
3469
|
updated_at: string;
|
|
3804
3470
|
}
|
|
3805
|
-
//#endregion
|
|
3806
|
-
//#region src/organization-domains/interfaces/organization-domain-verification-failed.interface.d.ts
|
|
3807
3471
|
interface OrganizationDomainVerificationFailed {
|
|
3808
3472
|
reason: string;
|
|
3809
3473
|
organizationDomain: OrganizationDomain;
|
|
@@ -3812,8 +3476,6 @@ interface OrganizationDomainVerificationFailedResponse {
|
|
|
3812
3476
|
reason: string;
|
|
3813
3477
|
organization_domain: OrganizationDomainResponse;
|
|
3814
3478
|
}
|
|
3815
|
-
//#endregion
|
|
3816
|
-
//#region src/api-keys/interfaces/api-key.interface.d.ts
|
|
3817
3479
|
/** The API Key object if the value is valid, or `null` if invalid. */
|
|
3818
3480
|
interface ApiKey {
|
|
3819
3481
|
/** Distinguishes the API Key object. */
|
|
@@ -3862,8 +3524,6 @@ interface SerializedApiKey {
|
|
|
3862
3524
|
created_at: string;
|
|
3863
3525
|
updated_at: string;
|
|
3864
3526
|
}
|
|
3865
|
-
//#endregion
|
|
3866
|
-
//#region src/api-keys/interfaces/api-key-event.interface.d.ts
|
|
3867
3527
|
interface ApiKeyPreviousAttributes {
|
|
3868
3528
|
expiresAt: Date | null;
|
|
3869
3529
|
}
|
|
@@ -3876,8 +3536,6 @@ interface ApiKeyUpdatedEventData extends ApiKey {
|
|
|
3876
3536
|
interface SerializedApiKeyUpdatedEventData extends SerializedApiKey {
|
|
3877
3537
|
previous_attributes: SerializedApiKeyPreviousAttributes;
|
|
3878
3538
|
}
|
|
3879
|
-
//#endregion
|
|
3880
|
-
//#region src/api-keys/interfaces/create-organization-api-key-options.interface.d.ts
|
|
3881
3539
|
interface CreateOrganizationApiKeyOptions {
|
|
3882
3540
|
organizationId: string;
|
|
3883
3541
|
name: string;
|
|
@@ -3890,8 +3548,6 @@ interface SerializedCreateOrganizationApiKeyOptions {
|
|
|
3890
3548
|
expires_at?: string;
|
|
3891
3549
|
}
|
|
3892
3550
|
interface CreateOrganizationApiKeyRequestOptions extends Pick<PostOptions, 'idempotencyKey'> {}
|
|
3893
|
-
//#endregion
|
|
3894
|
-
//#region src/api-keys/interfaces/created-api-key.interface.d.ts
|
|
3895
3551
|
interface CreatedApiKey {
|
|
3896
3552
|
object: 'api_key';
|
|
3897
3553
|
id: string;
|
|
@@ -3924,13 +3580,9 @@ interface SerializedCreatedApiKey {
|
|
|
3924
3580
|
created_at: string;
|
|
3925
3581
|
updated_at: string;
|
|
3926
3582
|
}
|
|
3927
|
-
//#endregion
|
|
3928
|
-
//#region src/api-keys/interfaces/list-organization-api-keys-options.interface.d.ts
|
|
3929
3583
|
interface ListOrganizationApiKeysOptions extends PaginationOptions {
|
|
3930
3584
|
organizationId: string;
|
|
3931
3585
|
}
|
|
3932
|
-
//#endregion
|
|
3933
|
-
//#region src/api-keys/interfaces/validate-api-key.interface.d.ts
|
|
3934
3586
|
interface ValidateApiKeyOptions {
|
|
3935
3587
|
value: string;
|
|
3936
3588
|
}
|
|
@@ -3946,8 +3598,6 @@ interface SerializedValidateApiKeyResponse {
|
|
|
3946
3598
|
api_key: SerializedApiKey | null;
|
|
3947
3599
|
agent_registration_id?: string;
|
|
3948
3600
|
}
|
|
3949
|
-
//#endregion
|
|
3950
|
-
//#region src/actions/interfaces/action-event.interface.d.ts
|
|
3951
3601
|
interface ActionDeniedEventDataBase {
|
|
3952
3602
|
actionEndpointId: string;
|
|
3953
3603
|
actionExecutionId: string;
|
|
@@ -3980,8 +3630,6 @@ interface ActionUserRegistrationDeniedEventData extends ActionDeniedEventDataBas
|
|
|
3980
3630
|
interface ActionUserRegistrationDeniedEventResponseData extends ActionDeniedEventResponseDataBase {
|
|
3981
3631
|
type: 'user_registration';
|
|
3982
3632
|
}
|
|
3983
|
-
//#endregion
|
|
3984
|
-
//#region src/radar/interfaces/radar-event.interface.d.ts
|
|
3985
3633
|
interface RadarChallengeCreatedEventData {
|
|
3986
3634
|
type: 'email';
|
|
3987
3635
|
radarChallengeId: string;
|
|
@@ -3994,8 +3642,6 @@ interface RadarChallengeCreatedEventResponseData {
|
|
|
3994
3642
|
user_id: string;
|
|
3995
3643
|
email: string;
|
|
3996
3644
|
}
|
|
3997
|
-
//#endregion
|
|
3998
|
-
//#region src/common/interfaces/resource-export-event.interface.d.ts
|
|
3999
3645
|
type ResourceExportResourceType = 'users' | 'organizations' | 'events' | 'sessions' | 'auditLogEvents' | 'connections' | 'directoryUsers' | 'scimLogs';
|
|
4000
3646
|
interface ResourceExportEventData {
|
|
4001
3647
|
id: string;
|
|
@@ -4005,14 +3651,10 @@ interface ResourceExportEventResponseData {
|
|
|
4005
3651
|
id: string;
|
|
4006
3652
|
resource_type: ResourceExportResourceType;
|
|
4007
3653
|
}
|
|
4008
|
-
//#endregion
|
|
4009
|
-
//#region src/feature-flags/interfaces/add-flag-target-options.interface.d.ts
|
|
4010
3654
|
interface AddFlagTargetOptions {
|
|
4011
3655
|
slug: string;
|
|
4012
3656
|
targetId: string;
|
|
4013
3657
|
}
|
|
4014
|
-
//#endregion
|
|
4015
|
-
//#region src/feature-flags/interfaces/create-flag-rule-options.interface.d.ts
|
|
4016
3658
|
interface CreateFlagRuleOptions {
|
|
4017
3659
|
/** The feature flag's slug. */
|
|
4018
3660
|
flagSlug: string;
|
|
@@ -4020,15 +3662,11 @@ interface CreateFlagRuleOptions {
|
|
|
4020
3662
|
targetType: string;
|
|
4021
3663
|
value: boolean;
|
|
4022
3664
|
}
|
|
4023
|
-
//#endregion
|
|
4024
|
-
//#region src/feature-flags/interfaces/create-flag-target-options.interface.d.ts
|
|
4025
3665
|
interface CreateFlagTargetOptions {
|
|
4026
3666
|
/** The rule determines the flag, target type, and value. */
|
|
4027
3667
|
ruleId: string;
|
|
4028
3668
|
targetId: string;
|
|
4029
3669
|
}
|
|
4030
|
-
//#endregion
|
|
4031
|
-
//#region src/feature-flags/interfaces/flag-rule.interface.d.ts
|
|
4032
3670
|
interface FlagRule {
|
|
4033
3671
|
object: 'flag_rule';
|
|
4034
3672
|
id: string;
|
|
@@ -4057,8 +3695,6 @@ interface FlagRuleResponse {
|
|
|
4057
3695
|
created_at: string;
|
|
4058
3696
|
updated_at: string;
|
|
4059
3697
|
}
|
|
4060
|
-
//#endregion
|
|
4061
|
-
//#region src/feature-flags/interfaces/flag-target.interface.d.ts
|
|
4062
3698
|
/** A target's membership in a flag rule. */
|
|
4063
3699
|
interface FlagTarget {
|
|
4064
3700
|
object: 'flag_target';
|
|
@@ -4095,8 +3731,6 @@ interface LegacyFlagTargetResponse extends Omit<FlagTargetResponse, 'rule_id'> {
|
|
|
4095
3731
|
}
|
|
4096
3732
|
type FlagTargetResource = FlagTarget | LegacyFlagTarget;
|
|
4097
3733
|
type FlagTargetResourceResponse = FlagTargetResponse | LegacyFlagTargetResponse;
|
|
4098
|
-
//#endregion
|
|
4099
|
-
//#region src/feature-flags/interfaces/create-rule-with-targets-options.interface.d.ts
|
|
4100
3734
|
interface CreateRuleWithTargetsOptions extends CreateFlagRuleOptions {
|
|
4101
3735
|
targetIds: string[];
|
|
4102
3736
|
}
|
|
@@ -4104,8 +3738,6 @@ interface CreateRuleWithTargetsResult {
|
|
|
4104
3738
|
rule: FlagRule;
|
|
4105
3739
|
targets: FlagTarget[];
|
|
4106
3740
|
}
|
|
4107
|
-
//#endregion
|
|
4108
|
-
//#region src/feature-flags/interfaces/evaluation-context.interface.d.ts
|
|
4109
3741
|
/**
|
|
4110
3742
|
* A single resource in a typed evaluation context. V1 carries only the exact
|
|
4111
3743
|
* resource ID; attribute matching is a future capability layered onto this
|
|
@@ -4138,8 +3770,6 @@ type TypedEvaluationContext = Record<string, EvaluationResource>;
|
|
|
4138
3770
|
* so the flag falls back to its default value.
|
|
4139
3771
|
*/
|
|
4140
3772
|
type EvaluationContext = LegacyEvaluationContext | TypedEvaluationContext;
|
|
4141
|
-
//#endregion
|
|
4142
|
-
//#region src/feature-flags/interfaces/feature-flag.interface.d.ts
|
|
4143
3773
|
interface FeatureFlag {
|
|
4144
3774
|
/** Distinguishes the Feature Flag object. */
|
|
4145
3775
|
object: 'feature_flag';
|
|
@@ -4174,8 +3804,6 @@ interface FeatureFlagResponse {
|
|
|
4174
3804
|
created_at: string;
|
|
4175
3805
|
updated_at: string;
|
|
4176
3806
|
}
|
|
4177
|
-
//#endregion
|
|
4178
|
-
//#region src/feature-flags/interfaces/flag-poll-response.interface.d.ts
|
|
4179
3807
|
interface FlagPollCondition {
|
|
4180
3808
|
operator: string;
|
|
4181
3809
|
target_type?: string;
|
|
@@ -4199,38 +3827,26 @@ interface FlagPollResponse {
|
|
|
4199
3827
|
version: 2;
|
|
4200
3828
|
flags: Record<string, FlagPollEntry>;
|
|
4201
3829
|
}
|
|
4202
|
-
//#endregion
|
|
4203
|
-
//#region src/feature-flags/interfaces/flag-change.interface.d.ts
|
|
4204
3830
|
interface FlagChange {
|
|
4205
3831
|
key: string;
|
|
4206
3832
|
previous: FlagPollEntry | null;
|
|
4207
3833
|
current: FlagPollEntry | null;
|
|
4208
3834
|
}
|
|
4209
|
-
//#endregion
|
|
4210
|
-
//#region src/feature-flags/interfaces/list-flag-rules-options.interface.d.ts
|
|
4211
3835
|
interface ListFlagRulesOptions extends Pick<PaginationOptions, 'limit' | 'before' | 'after'> {
|
|
4212
3836
|
/** The feature flag's slug. Rules are always returned in position order. */
|
|
4213
3837
|
flagSlug: string;
|
|
4214
3838
|
}
|
|
4215
|
-
//#endregion
|
|
4216
|
-
//#region src/feature-flags/interfaces/list-flag-targets-options.interface.d.ts
|
|
4217
3839
|
interface ListFlagTargetsOptions extends PaginationOptions {
|
|
4218
3840
|
ruleId?: string;
|
|
4219
3841
|
flagSlug?: string;
|
|
4220
3842
|
targetType?: string;
|
|
4221
3843
|
targetId?: string;
|
|
4222
3844
|
}
|
|
4223
|
-
//#endregion
|
|
4224
|
-
//#region src/feature-flags/interfaces/list-feature-flags-options.interface.d.ts
|
|
4225
3845
|
type ListFeatureFlagsOptions = PaginationOptions;
|
|
4226
|
-
//#endregion
|
|
4227
|
-
//#region src/feature-flags/interfaces/remove-flag-target-options.interface.d.ts
|
|
4228
3846
|
interface RemoveFlagTargetOptions {
|
|
4229
3847
|
slug: string;
|
|
4230
3848
|
targetId: string;
|
|
4231
3849
|
}
|
|
4232
|
-
//#endregion
|
|
4233
|
-
//#region src/feature-flags/interfaces/runtime-client-options.interface.d.ts
|
|
4234
3850
|
interface RuntimeClientLogger {
|
|
4235
3851
|
debug(...args: unknown[]): void;
|
|
4236
3852
|
info(...args: unknown[]): void;
|
|
@@ -4244,8 +3860,6 @@ interface RuntimeClientOptions {
|
|
|
4244
3860
|
requestTimeoutMs?: number;
|
|
4245
3861
|
logger?: RuntimeClientLogger;
|
|
4246
3862
|
}
|
|
4247
|
-
//#endregion
|
|
4248
|
-
//#region src/feature-flags/interfaces/runtime-client-stats.interface.d.ts
|
|
4249
3863
|
interface RuntimeClientStats {
|
|
4250
3864
|
pollCount: number;
|
|
4251
3865
|
pollErrorCount: number;
|
|
@@ -4254,8 +3868,6 @@ interface RuntimeClientStats {
|
|
|
4254
3868
|
cacheAge: number | null;
|
|
4255
3869
|
flagCount: number;
|
|
4256
3870
|
}
|
|
4257
|
-
//#endregion
|
|
4258
|
-
//#region src/groups/interfaces/add-group-organization-membership-options.interface.d.ts
|
|
4259
3871
|
interface AddGroupOrganizationMembershipOptions {
|
|
4260
3872
|
organizationId: string;
|
|
4261
3873
|
groupId: string;
|
|
@@ -4264,8 +3876,6 @@ interface AddGroupOrganizationMembershipOptions {
|
|
|
4264
3876
|
interface SerializedAddGroupOrganizationMembershipOptions {
|
|
4265
3877
|
organization_membership_id: string;
|
|
4266
3878
|
}
|
|
4267
|
-
//#endregion
|
|
4268
|
-
//#region src/groups/interfaces/create-group-options.interface.d.ts
|
|
4269
3879
|
interface CreateGroupOptions {
|
|
4270
3880
|
organizationId: string;
|
|
4271
3881
|
name: string;
|
|
@@ -4275,20 +3885,14 @@ interface SerializedCreateGroupOptions {
|
|
|
4275
3885
|
name: string;
|
|
4276
3886
|
description?: string | null;
|
|
4277
3887
|
}
|
|
4278
|
-
//#endregion
|
|
4279
|
-
//#region src/groups/interfaces/delete-group-options.interface.d.ts
|
|
4280
3888
|
interface DeleteGroupOptions {
|
|
4281
3889
|
organizationId: string;
|
|
4282
3890
|
groupId: string;
|
|
4283
3891
|
}
|
|
4284
|
-
//#endregion
|
|
4285
|
-
//#region src/groups/interfaces/get-group-options.interface.d.ts
|
|
4286
3892
|
interface GetGroupOptions {
|
|
4287
3893
|
organizationId: string;
|
|
4288
3894
|
groupId: string;
|
|
4289
3895
|
}
|
|
4290
|
-
//#endregion
|
|
4291
|
-
//#region src/groups/interfaces/group.interface.d.ts
|
|
4292
3896
|
interface Group {
|
|
4293
3897
|
/** The Group object. */
|
|
4294
3898
|
object: 'group';
|
|
@@ -4314,26 +3918,18 @@ interface GroupResponse {
|
|
|
4314
3918
|
created_at: string;
|
|
4315
3919
|
updated_at: string;
|
|
4316
3920
|
}
|
|
4317
|
-
//#endregion
|
|
4318
|
-
//#region src/groups/interfaces/list-group-organization-memberships-options.interface.d.ts
|
|
4319
3921
|
interface ListGroupOrganizationMembershipsOptions extends PaginationOptions {
|
|
4320
3922
|
organizationId: string;
|
|
4321
3923
|
groupId: string;
|
|
4322
3924
|
}
|
|
4323
|
-
//#endregion
|
|
4324
|
-
//#region src/groups/interfaces/list-groups-options.interface.d.ts
|
|
4325
3925
|
interface ListGroupsOptions extends PaginationOptions {
|
|
4326
3926
|
organizationId: string;
|
|
4327
3927
|
}
|
|
4328
|
-
//#endregion
|
|
4329
|
-
//#region src/groups/interfaces/remove-group-organization-membership-options.interface.d.ts
|
|
4330
3928
|
interface RemoveGroupOrganizationMembershipOptions {
|
|
4331
3929
|
organizationId: string;
|
|
4332
3930
|
groupId: string;
|
|
4333
3931
|
organizationMembershipId: string;
|
|
4334
3932
|
}
|
|
4335
|
-
//#endregion
|
|
4336
|
-
//#region src/groups/interfaces/update-group-options.interface.d.ts
|
|
4337
3933
|
interface UpdateGroupOptions {
|
|
4338
3934
|
organizationId: string;
|
|
4339
3935
|
groupId: string;
|
|
@@ -4344,8 +3940,6 @@ interface SerializedUpdateGroupOptions {
|
|
|
4344
3940
|
name?: string;
|
|
4345
3941
|
description?: string | null;
|
|
4346
3942
|
}
|
|
4347
|
-
//#endregion
|
|
4348
|
-
//#region src/pipes/interfaces/api-key-installation.interface.d.ts
|
|
4349
3943
|
interface ApiKeyInstallation {
|
|
4350
3944
|
/** The API key secret to store for the tenant. */
|
|
4351
3945
|
secret: string;
|
|
@@ -4359,22 +3953,16 @@ interface ApiKeyInstallationResponse {
|
|
|
4359
3953
|
user_id: string;
|
|
4360
3954
|
organization_id?: string;
|
|
4361
3955
|
}
|
|
4362
|
-
//#endregion
|
|
4363
|
-
//#region src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request-connection-owner.interface.d.ts
|
|
4364
3956
|
declare const DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner: {
|
|
4365
3957
|
readonly User: "user";
|
|
4366
3958
|
readonly Organization: "organization";
|
|
4367
3959
|
};
|
|
4368
3960
|
type DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner = (typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner)[keyof typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner];
|
|
4369
|
-
//#endregion
|
|
4370
|
-
//#region src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request-connection-intent.interface.d.ts
|
|
4371
3961
|
declare const DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent: {
|
|
4372
3962
|
readonly Add: "add";
|
|
4373
3963
|
readonly Reauthorize: "reauthorize";
|
|
4374
3964
|
};
|
|
4375
3965
|
type DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent = (typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent)[keyof typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent];
|
|
4376
|
-
//#endregion
|
|
4377
|
-
//#region src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request.interface.d.ts
|
|
4378
3966
|
interface DataIntegrationsGetDataIntegrationAuthorizeUrlRequest {
|
|
4379
3967
|
/** A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers. */
|
|
4380
3968
|
accountDisplayName?: string | null;
|
|
@@ -4409,44 +3997,32 @@ interface DataIntegrationsGetDataIntegrationAuthorizeUrlRequestResponse {
|
|
|
4409
3997
|
connection_intent?: DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent;
|
|
4410
3998
|
connected_account_id?: string;
|
|
4411
3999
|
}
|
|
4412
|
-
//#endregion
|
|
4413
|
-
//#region src/pipes/interfaces/authorize-data-integration-options.interface.d.ts
|
|
4414
4000
|
interface AuthorizeDataIntegrationOptions extends DataIntegrationsGetDataIntegrationAuthorizeUrlRequest {
|
|
4415
4001
|
/** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
|
|
4416
4002
|
slug: string;
|
|
4417
4003
|
}
|
|
4418
|
-
//#endregion
|
|
4419
|
-
//#region src/pipes/interfaces/connected-account-auth-method.interface.d.ts
|
|
4420
4004
|
declare const ConnectedAccountAuthMethod: {
|
|
4421
4005
|
readonly OAuth: "oauth";
|
|
4422
4006
|
readonly ApiKey: "api_key";
|
|
4423
4007
|
readonly ClientCredentials: "client_credentials";
|
|
4424
4008
|
};
|
|
4425
4009
|
type ConnectedAccountAuthMethod = (typeof ConnectedAccountAuthMethod)[keyof typeof ConnectedAccountAuthMethod];
|
|
4426
|
-
//#endregion
|
|
4427
|
-
//#region src/pipes/interfaces/connected-account-connection-role.interface.d.ts
|
|
4428
4010
|
declare const ConnectedAccountConnectionRole: {
|
|
4429
4011
|
readonly Compatibility: "compatibility";
|
|
4430
4012
|
readonly Standard: "standard";
|
|
4431
4013
|
};
|
|
4432
4014
|
type ConnectedAccountConnectionRole = (typeof ConnectedAccountConnectionRole)[keyof typeof ConnectedAccountConnectionRole];
|
|
4433
|
-
//#endregion
|
|
4434
|
-
//#region src/pipes/interfaces/connected-account-input-state.interface.d.ts
|
|
4435
4015
|
declare const ConnectedAccountInputState: {
|
|
4436
4016
|
readonly Connected: "connected";
|
|
4437
4017
|
readonly NeedsReauthorization: "needs_reauthorization";
|
|
4438
4018
|
};
|
|
4439
4019
|
type ConnectedAccountInputState = (typeof ConnectedAccountInputState)[keyof typeof ConnectedAccountInputState];
|
|
4440
|
-
//#endregion
|
|
4441
|
-
//#region src/pipes/interfaces/connected-account-state.interface.d.ts
|
|
4442
4020
|
declare const ConnectedAccountState: {
|
|
4443
4021
|
readonly Connected: "connected";
|
|
4444
4022
|
readonly NeedsReauthorization: "needs_reauthorization";
|
|
4445
4023
|
readonly Disconnected: "disconnected";
|
|
4446
4024
|
};
|
|
4447
4025
|
type ConnectedAccountState = (typeof ConnectedAccountState)[keyof typeof ConnectedAccountState];
|
|
4448
|
-
//#endregion
|
|
4449
|
-
//#region src/pipes/interfaces/connected-account-warning.interface.d.ts
|
|
4450
4026
|
interface ConnectedAccountWarning {
|
|
4451
4027
|
code: 'duplicate_account_display_name';
|
|
4452
4028
|
/** A human-readable explanation of the non-blocking warning. */
|
|
@@ -4456,8 +4032,6 @@ interface ConnectedAccountWarningResponse {
|
|
|
4456
4032
|
code: 'duplicate_account_display_name';
|
|
4457
4033
|
message: string;
|
|
4458
4034
|
}
|
|
4459
|
-
//#endregion
|
|
4460
|
-
//#region src/pipes/interfaces/connected-account.interface.d.ts
|
|
4461
4035
|
interface ConnectedAccount {
|
|
4462
4036
|
/** Distinguishes the connected account object. */
|
|
4463
4037
|
object: 'connected_account';
|
|
@@ -4529,15 +4103,11 @@ interface ConnectedAccountResponse {
|
|
|
4529
4103
|
updated_at: string;
|
|
4530
4104
|
warnings?: ConnectedAccountWarningResponse[];
|
|
4531
4105
|
}
|
|
4532
|
-
//#endregion
|
|
4533
|
-
//#region src/pipes/interfaces/data-integrations-create-api-key-connection-request-connection-owner.interface.d.ts
|
|
4534
4106
|
declare const DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner: {
|
|
4535
4107
|
readonly User: "user";
|
|
4536
4108
|
readonly Organization: "organization";
|
|
4537
4109
|
};
|
|
4538
4110
|
type DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner = (typeof DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner)[keyof typeof DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner];
|
|
4539
|
-
//#endregion
|
|
4540
|
-
//#region src/pipes/interfaces/create-data-integration-api-key-options.interface.d.ts
|
|
4541
4111
|
interface CreateDataIntegrationApiKeyOptions {
|
|
4542
4112
|
/** The identifier of the integration. */
|
|
4543
4113
|
slug: string;
|
|
@@ -4552,23 +4122,17 @@ interface CreateDataIntegrationApiKeyOptions {
|
|
|
4552
4122
|
/** Must be `add`: this endpoint only creates another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard. Creating an additional connection is not yet available: until it is, `add` succeeds only when the owner has no connection for this integration and otherwise returns 404 `multiple_connections_unavailable`. */
|
|
4553
4123
|
connectionIntent: 'add';
|
|
4554
4124
|
}
|
|
4555
|
-
//#endregion
|
|
4556
|
-
//#region src/pipes/interfaces/create-data-integration-auth-methods.interface.d.ts
|
|
4557
4125
|
declare const CreateDataIntegrationAuthMethods: {
|
|
4558
4126
|
readonly OAuth: "oauth";
|
|
4559
4127
|
readonly ApiKey: "api_key";
|
|
4560
4128
|
readonly ClientCredentials: "client_credentials";
|
|
4561
4129
|
};
|
|
4562
4130
|
type CreateDataIntegrationAuthMethods = (typeof CreateDataIntegrationAuthMethods)[keyof typeof CreateDataIntegrationAuthMethods];
|
|
4563
|
-
//#endregion
|
|
4564
|
-
//#region src/pipes/interfaces/data-integrations-create-client-credentials-connection-request-connection-owner.interface.d.ts
|
|
4565
4131
|
declare const DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner: {
|
|
4566
4132
|
readonly User: "user";
|
|
4567
4133
|
readonly Organization: "organization";
|
|
4568
4134
|
};
|
|
4569
4135
|
type DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner = (typeof DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner)[keyof typeof DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner];
|
|
4570
|
-
//#endregion
|
|
4571
|
-
//#region src/pipes/interfaces/create-data-integration-client-credential-options.interface.d.ts
|
|
4572
4136
|
interface CreateDataIntegrationClientCredentialOptions {
|
|
4573
4137
|
/** The identifier of the integration. */
|
|
4574
4138
|
slug: string;
|
|
@@ -4587,15 +4151,11 @@ interface CreateDataIntegrationClientCredentialOptions {
|
|
|
4587
4151
|
/** Must be `add`: this endpoint only creates another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard. Creating an additional connection is not yet available: until it is, `add` succeeds only when the owner has no connection for this integration and otherwise returns 404 `multiple_connections_unavailable`. */
|
|
4588
4152
|
connectionIntent: 'add';
|
|
4589
4153
|
}
|
|
4590
|
-
//#endregion
|
|
4591
|
-
//#region src/pipes/interfaces/data-integrations-vend-credentials-request-connection-owner.interface.d.ts
|
|
4592
4154
|
declare const DataIntegrationsVendCredentialsRequestConnectionOwner: {
|
|
4593
4155
|
readonly User: "user";
|
|
4594
4156
|
readonly Organization: "organization";
|
|
4595
4157
|
};
|
|
4596
4158
|
type DataIntegrationsVendCredentialsRequestConnectionOwner = (typeof DataIntegrationsVendCredentialsRequestConnectionOwner)[keyof typeof DataIntegrationsVendCredentialsRequestConnectionOwner];
|
|
4597
|
-
//#endregion
|
|
4598
|
-
//#region src/pipes/interfaces/data-integrations-vend-credentials-request.interface.d.ts
|
|
4599
4159
|
interface DataIntegrationsVendCredentialsRequest {
|
|
4600
4160
|
/** A [User](https://workos.com/docs/reference/authkit/user) identifier. When `connection_owner` is `organization`, this is the user the credentials are vended on behalf of; they must be an active member of the organization. */
|
|
4601
4161
|
userId: string;
|
|
@@ -4615,21 +4175,15 @@ interface DataIntegrationsVendCredentialsRequestResponse {
|
|
|
4615
4175
|
connection_owner?: DataIntegrationsVendCredentialsRequestConnectionOwner;
|
|
4616
4176
|
supports_multiple_connections?: boolean;
|
|
4617
4177
|
}
|
|
4618
|
-
//#endregion
|
|
4619
|
-
//#region src/pipes/interfaces/create-data-integration-credential-options.interface.d.ts
|
|
4620
4178
|
interface CreateDataIntegrationCredentialOptions extends DataIntegrationsVendCredentialsRequest {
|
|
4621
4179
|
/** The identifier of the integration. */
|
|
4622
4180
|
slug: string;
|
|
4623
4181
|
}
|
|
4624
|
-
//#endregion
|
|
4625
|
-
//#region src/pipes/interfaces/data-integration-credentials-input-type.interface.d.ts
|
|
4626
4182
|
declare const DataIntegrationCredentialsInputType: {
|
|
4627
4183
|
readonly Custom: "custom";
|
|
4628
4184
|
readonly Organization: "organization";
|
|
4629
4185
|
};
|
|
4630
4186
|
type DataIntegrationCredentialsInputType = (typeof DataIntegrationCredentialsInputType)[keyof typeof DataIntegrationCredentialsInputType];
|
|
4631
|
-
//#endregion
|
|
4632
|
-
//#region src/pipes/interfaces/data-integration-credentials-input.interface.d.ts
|
|
4633
4187
|
interface DataIntegrationCredentialsInput {
|
|
4634
4188
|
/** The credentials type. `custom` uses your own OAuth app credentials; `organization` has each organization supply its own credentials (configured per-organization). */
|
|
4635
4189
|
type: DataIntegrationCredentialsInputType;
|
|
@@ -4643,15 +4197,11 @@ interface DataIntegrationCredentialsInputResponse {
|
|
|
4643
4197
|
client_id?: string;
|
|
4644
4198
|
client_secret?: string;
|
|
4645
4199
|
}
|
|
4646
|
-
//#endregion
|
|
4647
|
-
//#region src/pipes/interfaces/custom-provider-definition-authenticate-via.interface.d.ts
|
|
4648
4200
|
declare const CustomProviderDefinitionAuthenticateVia: {
|
|
4649
4201
|
readonly RequestBody: "request_body";
|
|
4650
4202
|
readonly BasicAuthHeader: "basic_auth_header";
|
|
4651
4203
|
};
|
|
4652
4204
|
type CustomProviderDefinitionAuthenticateVia = (typeof CustomProviderDefinitionAuthenticateVia)[keyof typeof CustomProviderDefinitionAuthenticateVia];
|
|
4653
|
-
//#endregion
|
|
4654
|
-
//#region src/pipes/interfaces/custom-provider-definition.interface.d.ts
|
|
4655
4205
|
interface CustomProviderDefinition {
|
|
4656
4206
|
/** A descriptive name for the custom provider. */
|
|
4657
4207
|
name: string;
|
|
@@ -4689,15 +4239,11 @@ interface CustomProviderDefinitionResponse {
|
|
|
4689
4239
|
token_body_content_type?: string;
|
|
4690
4240
|
authenticate_via?: CustomProviderDefinitionAuthenticateVia;
|
|
4691
4241
|
}
|
|
4692
|
-
//#endregion
|
|
4693
|
-
//#region src/pipes/interfaces/create-data-integration-ownership.interface.d.ts
|
|
4694
4242
|
declare const CreateDataIntegrationOwnership: {
|
|
4695
4243
|
readonly User: "user";
|
|
4696
4244
|
readonly Organization: "organization";
|
|
4697
4245
|
};
|
|
4698
4246
|
type CreateDataIntegrationOwnership = (typeof CreateDataIntegrationOwnership)[keyof typeof CreateDataIntegrationOwnership];
|
|
4699
|
-
//#endregion
|
|
4700
|
-
//#region src/pipes/interfaces/create-data-integration.interface.d.ts
|
|
4701
4247
|
interface CreateDataIntegration {
|
|
4702
4248
|
/** The provider to create a Data Integration for. For a built-in provider use its slug (e.g. `github`, `slack`). For a custom provider, this is the new provider slug and `custom_provider` must be supplied. A custom provider slug cannot shadow an existing global provider slug. */
|
|
4703
4249
|
provider: string;
|
|
@@ -4732,20 +4278,14 @@ interface CreateDataIntegrationResponse {
|
|
|
4732
4278
|
api_key?: ApiKeyInstallationResponse;
|
|
4733
4279
|
custom_provider?: CustomProviderDefinitionResponse;
|
|
4734
4280
|
}
|
|
4735
|
-
//#endregion
|
|
4736
|
-
//#region src/pipes/interfaces/create-data-integration-options.interface.d.ts
|
|
4737
4281
|
interface CreateDataIntegrationOptions extends CreateDataIntegration {
|
|
4738
4282
|
provider: string;
|
|
4739
4283
|
}
|
|
4740
|
-
//#endregion
|
|
4741
|
-
//#region src/pipes/interfaces/organization-connected-account-state.interface.d.ts
|
|
4742
4284
|
declare const OrganizationConnectedAccountState: {
|
|
4743
4285
|
readonly Connected: "connected";
|
|
4744
4286
|
readonly NeedsReauthorization: "needs_reauthorization";
|
|
4745
4287
|
};
|
|
4746
4288
|
type OrganizationConnectedAccountState = (typeof OrganizationConnectedAccountState)[keyof typeof OrganizationConnectedAccountState];
|
|
4747
|
-
//#endregion
|
|
4748
|
-
//#region src/pipes/interfaces/create-organization-connected-account-options.interface.d.ts
|
|
4749
4289
|
interface CreateOrganizationConnectedAccountOptions {
|
|
4750
4290
|
/** An [Organization](https://workos.com/docs/reference/organization) identifier. */
|
|
4751
4291
|
organizationId: string;
|
|
@@ -4766,8 +4306,6 @@ interface CreateOrganizationConnectedAccountOptions {
|
|
|
4766
4306
|
/** Explicitly create a connection. Omit for compatibility behavior. Until additional connections are available, `add` returns 404 `multiple_connections_unavailable` if the owner already has a connection. */
|
|
4767
4307
|
connectionIntent?: 'add';
|
|
4768
4308
|
}
|
|
4769
|
-
//#endregion
|
|
4770
|
-
//#region src/pipes/interfaces/create-user-connected-account-options.interface.d.ts
|
|
4771
4309
|
interface CreateUserConnectedAccountOptions {
|
|
4772
4310
|
/** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
|
|
4773
4311
|
userId: string;
|
|
@@ -4788,8 +4326,6 @@ interface CreateUserConnectedAccountOptions {
|
|
|
4788
4326
|
/** Explicitly create a connection. Omit for compatibility behavior. Until additional connections are available, `add` returns 404 `multiple_connections_unavailable` if the owner already has a connection. */
|
|
4789
4327
|
connectionIntent?: 'add';
|
|
4790
4328
|
}
|
|
4791
|
-
//#endregion
|
|
4792
|
-
//#region src/pipes/interfaces/data-integration-access-token-response-access-token.interface.d.ts
|
|
4793
4329
|
/** The [access token](https://workos.com/docs/reference/pipes/access-token) object, present when `active` is `true`. */
|
|
4794
4330
|
interface DataIntegrationAccessTokenResponseAccessToken {
|
|
4795
4331
|
/** Distinguishes the access token object. */
|
|
@@ -4810,8 +4346,6 @@ interface DataIntegrationAccessTokenResponseAccessTokenResponse {
|
|
|
4810
4346
|
scopes: string[];
|
|
4811
4347
|
missing_scopes: string[];
|
|
4812
4348
|
}
|
|
4813
|
-
//#endregion
|
|
4814
|
-
//#region src/pipes/interfaces/data-integration-access-token-response.interface.d.ts
|
|
4815
4349
|
type DataIntegrationAccessTokenResponse = {
|
|
4816
4350
|
active: true;
|
|
4817
4351
|
accessToken: DataIntegrationAccessTokenResponseAccessToken;
|
|
@@ -4826,16 +4360,12 @@ type DataIntegrationAccessTokenResponseWire = {
|
|
|
4826
4360
|
active: false;
|
|
4827
4361
|
error: 'needs_reauthorization' | 'not_installed';
|
|
4828
4362
|
};
|
|
4829
|
-
//#endregion
|
|
4830
|
-
//#region src/pipes/interfaces/data-integration-auth-methods.interface.d.ts
|
|
4831
4363
|
declare const DataIntegrationAuthMethods: {
|
|
4832
4364
|
readonly OAuth: "oauth";
|
|
4833
4365
|
readonly ApiKey: "api_key";
|
|
4834
4366
|
readonly ClientCredentials: "client_credentials";
|
|
4835
4367
|
};
|
|
4836
4368
|
type DataIntegrationAuthMethods = (typeof DataIntegrationAuthMethods)[keyof typeof DataIntegrationAuthMethods];
|
|
4837
|
-
//#endregion
|
|
4838
|
-
//#region src/pipes/interfaces/data-integration-authorize-url-response.interface.d.ts
|
|
4839
4369
|
interface DataIntegrationAuthorizeUrlResponse {
|
|
4840
4370
|
/** The OAuth authorization URL to redirect the user to. */
|
|
4841
4371
|
url: string;
|
|
@@ -4849,15 +4379,11 @@ interface DataIntegrationAuthorizeUrlResponseWire {
|
|
|
4849
4379
|
state?: string;
|
|
4850
4380
|
completion?: 'finish_required';
|
|
4851
4381
|
}
|
|
4852
|
-
//#endregion
|
|
4853
|
-
//#region src/pipes/interfaces/data-integration-credential-type.interface.d.ts
|
|
4854
4382
|
declare const DataIntegrationCredentialType: {
|
|
4855
4383
|
readonly Custom: "custom";
|
|
4856
4384
|
readonly Organization: "organization";
|
|
4857
4385
|
};
|
|
4858
4386
|
type DataIntegrationCredentialType = (typeof DataIntegrationCredentialType)[keyof typeof DataIntegrationCredentialType];
|
|
4859
|
-
//#endregion
|
|
4860
|
-
//#region src/pipes/interfaces/data-integration-credential.interface.d.ts
|
|
4861
4387
|
/** The integration-level OAuth app credentials. `null` for `api_key` and `client_credentials` integrations, which hold no integration-level credentials (secrets are installed per-tenant). */
|
|
4862
4388
|
interface DataIntegrationCredential {
|
|
4863
4389
|
/** The credentials type. `custom` uses your own OAuth app credentials; `organization` has each organization supply its own credentials (so `client_id`/`redacted_client_secret` are null on the integration itself). */
|
|
@@ -4872,8 +4398,6 @@ interface DataIntegrationCredentialResponse {
|
|
|
4872
4398
|
client_id: string | null;
|
|
4873
4399
|
redacted_client_secret: string | null;
|
|
4874
4400
|
}
|
|
4875
|
-
//#endregion
|
|
4876
|
-
//#region src/pipes/interfaces/data-integration-vended-credential.interface.d.ts
|
|
4877
4401
|
/**
|
|
4878
4402
|
* A vended credential, discriminated by its authentication method.
|
|
4879
4403
|
* `config` contains provider-declared, non-secret snapshot values with live
|
|
@@ -4936,15 +4460,11 @@ type DataIntegrationVendedCredentialResponse = {
|
|
|
4936
4460
|
missing_scopes: string[];
|
|
4937
4461
|
metadata: Record<string, unknown>;
|
|
4938
4462
|
};
|
|
4939
|
-
//#endregion
|
|
4940
|
-
//#region src/pipes/interfaces/data-integration-credentials-response-error.interface.d.ts
|
|
4941
4463
|
declare const DataIntegrationCredentialsResponseError: {
|
|
4942
4464
|
readonly NotInstalled: "not_installed";
|
|
4943
4465
|
readonly NeedsReauthorization: "needs_reauthorization";
|
|
4944
4466
|
};
|
|
4945
4467
|
type DataIntegrationCredentialsResponseError = (typeof DataIntegrationCredentialsResponseError)[keyof typeof DataIntegrationCredentialsResponseError];
|
|
4946
|
-
//#endregion
|
|
4947
|
-
//#region src/pipes/interfaces/data-integration-credentials-response.interface.d.ts
|
|
4948
4468
|
type DataIntegrationCredentialsResponse = {
|
|
4949
4469
|
active: true;
|
|
4950
4470
|
credential: DataIntegrationVendedCredential;
|
|
@@ -4963,15 +4483,11 @@ type DataIntegrationCredentialsResponseWire = {
|
|
|
4963
4483
|
error: DataIntegrationCredentialsResponseError;
|
|
4964
4484
|
credential?: undefined;
|
|
4965
4485
|
};
|
|
4966
|
-
//#endregion
|
|
4967
|
-
//#region src/pipes/interfaces/data-integration-custom-provider-authenticate-via.interface.d.ts
|
|
4968
4486
|
declare const DataIntegrationCustomProviderAuthenticateVia: {
|
|
4969
4487
|
readonly RequestBody: "request_body";
|
|
4970
4488
|
readonly BasicAuthHeader: "basic_auth_header";
|
|
4971
4489
|
};
|
|
4972
4490
|
type DataIntegrationCustomProviderAuthenticateVia = (typeof DataIntegrationCustomProviderAuthenticateVia)[keyof typeof DataIntegrationCustomProviderAuthenticateVia];
|
|
4973
|
-
//#endregion
|
|
4974
|
-
//#region src/pipes/interfaces/data-integration-custom-provider.interface.d.ts
|
|
4975
4491
|
/** The OAuth definition when this is a custom provider; `null` for built-in providers. */
|
|
4976
4492
|
interface DataIntegrationCustomProvider {
|
|
4977
4493
|
/** A descriptive name for the custom provider. */
|
|
@@ -5010,8 +4526,6 @@ interface DataIntegrationCustomProviderResponse {
|
|
|
5010
4526
|
token_body_content_type: string;
|
|
5011
4527
|
authenticate_via: DataIntegrationCustomProviderAuthenticateVia;
|
|
5012
4528
|
}
|
|
5013
|
-
//#endregion
|
|
5014
|
-
//#region src/pipes/interfaces/data-integration-finish-connection-response.interface.d.ts
|
|
5015
4529
|
interface DataIntegrationFinishConnectionResponse {
|
|
5016
4530
|
/** The connected account that was saved. */
|
|
5017
4531
|
connectedAccount: ConnectedAccount;
|
|
@@ -5019,15 +4533,11 @@ interface DataIntegrationFinishConnectionResponse {
|
|
|
5019
4533
|
interface DataIntegrationFinishConnectionResponseWire {
|
|
5020
4534
|
connected_account: ConnectedAccountResponse;
|
|
5021
4535
|
}
|
|
5022
|
-
//#endregion
|
|
5023
|
-
//#region src/pipes/interfaces/data-integration-installation-connection-role.interface.d.ts
|
|
5024
4536
|
declare const DataIntegrationInstallationConnectionRole: {
|
|
5025
4537
|
readonly Compatibility: "compatibility";
|
|
5026
4538
|
readonly Standard: "standard";
|
|
5027
4539
|
};
|
|
5028
4540
|
type DataIntegrationInstallationConnectionRole = (typeof DataIntegrationInstallationConnectionRole)[keyof typeof DataIntegrationInstallationConnectionRole];
|
|
5029
|
-
//#endregion
|
|
5030
|
-
//#region src/pipes/interfaces/data-integration-installation.interface.d.ts
|
|
5031
4541
|
/** The tenant installation created when an API key was supplied at creation time; `null` otherwise. Not populated on list/get responses. */
|
|
5032
4542
|
interface DataIntegrationInstallation {
|
|
5033
4543
|
/** Unique identifier of the installation. */
|
|
@@ -5054,23 +4564,17 @@ interface DataIntegrationInstallationResponse {
|
|
|
5054
4564
|
organization_id: string | null;
|
|
5055
4565
|
api_key_last_4: string | null;
|
|
5056
4566
|
}
|
|
5057
|
-
//#endregion
|
|
5058
|
-
//#region src/pipes/interfaces/data-integration-ownership.interface.d.ts
|
|
5059
4567
|
declare const DataIntegrationOwnership: {
|
|
5060
4568
|
readonly User: "user";
|
|
5061
4569
|
readonly Organization: "organization";
|
|
5062
4570
|
};
|
|
5063
4571
|
type DataIntegrationOwnership = (typeof DataIntegrationOwnership)[keyof typeof DataIntegrationOwnership];
|
|
5064
|
-
//#endregion
|
|
5065
|
-
//#region src/pipes/interfaces/data-integration-state.interface.d.ts
|
|
5066
4572
|
declare const DataIntegrationState: {
|
|
5067
4573
|
readonly Valid: "valid";
|
|
5068
4574
|
readonly Invalid: "invalid";
|
|
5069
4575
|
readonly Requested: "requested";
|
|
5070
4576
|
};
|
|
5071
4577
|
type DataIntegrationState = (typeof DataIntegrationState)[keyof typeof DataIntegrationState];
|
|
5072
|
-
//#endregion
|
|
5073
|
-
//#region src/pipes/interfaces/data-integration.interface.d.ts
|
|
5074
4578
|
interface DataIntegration {
|
|
5075
4579
|
/** Distinguishes the Data Integration object. */
|
|
5076
4580
|
object: 'data_integration';
|
|
@@ -5126,15 +4630,11 @@ interface DataIntegrationResponse {
|
|
|
5126
4630
|
created_at: string;
|
|
5127
4631
|
updated_at: string;
|
|
5128
4632
|
}
|
|
5129
|
-
//#endregion
|
|
5130
|
-
//#region src/pipes/interfaces/data-integrations-get-user-token-request-connection-owner.interface.d.ts
|
|
5131
4633
|
declare const DataIntegrationsGetUserTokenRequestConnectionOwner: {
|
|
5132
4634
|
readonly User: "user";
|
|
5133
4635
|
readonly Organization: "organization";
|
|
5134
4636
|
};
|
|
5135
4637
|
type DataIntegrationsGetUserTokenRequestConnectionOwner = (typeof DataIntegrationsGetUserTokenRequestConnectionOwner)[keyof typeof DataIntegrationsGetUserTokenRequestConnectionOwner];
|
|
5136
|
-
//#endregion
|
|
5137
|
-
//#region src/pipes/interfaces/data-integrations-get-user-token-request.interface.d.ts
|
|
5138
4638
|
interface DataIntegrationsGetUserTokenRequest {
|
|
5139
4639
|
/** A [User](https://workos.com/docs/reference/authkit/user) identifier. When `connection_owner` is `organization`, this is the user the credentials are vended on behalf of; they must be an active member of the organization. */
|
|
5140
4640
|
userId: string;
|
|
@@ -5154,43 +4654,31 @@ interface DataIntegrationsGetUserTokenRequestResponse {
|
|
|
5154
4654
|
connection_owner?: DataIntegrationsGetUserTokenRequestConnectionOwner;
|
|
5155
4655
|
supports_multiple_connections?: boolean;
|
|
5156
4656
|
}
|
|
5157
|
-
//#endregion
|
|
5158
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data-auth-methods.interface.d.ts
|
|
5159
4657
|
declare const DataIntegrationsListResponseDataAuthMethods: {
|
|
5160
4658
|
readonly OAuth: "oauth";
|
|
5161
4659
|
readonly ApiKey: "api_key";
|
|
5162
4660
|
readonly ClientCredentials: "client_credentials";
|
|
5163
4661
|
};
|
|
5164
4662
|
type DataIntegrationsListResponseDataAuthMethods = (typeof DataIntegrationsListResponseDataAuthMethods)[keyof typeof DataIntegrationsListResponseDataAuthMethods];
|
|
5165
|
-
//#endregion
|
|
5166
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-auth-method.interface.d.ts
|
|
5167
4663
|
declare const DataIntegrationsListResponseDataConnectedAccountAuthMethod: {
|
|
5168
4664
|
readonly OAuth: "oauth";
|
|
5169
4665
|
readonly ApiKey: "api_key";
|
|
5170
4666
|
readonly ClientCredentials: "client_credentials";
|
|
5171
4667
|
};
|
|
5172
4668
|
type DataIntegrationsListResponseDataConnectedAccountAuthMethod = (typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod)[keyof typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod];
|
|
5173
|
-
//#endregion
|
|
5174
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-connection-role.interface.d.ts
|
|
5175
4669
|
declare const DataIntegrationsListResponseDataConnectedAccountConnectionRole: {
|
|
5176
4670
|
readonly Compatibility: "compatibility";
|
|
5177
4671
|
readonly Standard: "standard";
|
|
5178
4672
|
};
|
|
5179
4673
|
type DataIntegrationsListResponseDataConnectedAccountConnectionRole = (typeof DataIntegrationsListResponseDataConnectedAccountConnectionRole)[keyof typeof DataIntegrationsListResponseDataConnectedAccountConnectionRole];
|
|
5180
|
-
//#endregion
|
|
5181
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-state.interface.d.ts
|
|
5182
4674
|
declare const DataIntegrationsListResponseDataConnectedAccountState: {
|
|
5183
4675
|
readonly Connected: "connected";
|
|
5184
4676
|
readonly NeedsReauthorization: "needs_reauthorization";
|
|
5185
4677
|
readonly Disconnected: "disconnected";
|
|
5186
4678
|
};
|
|
5187
4679
|
type DataIntegrationsListResponseDataConnectedAccountState = (typeof DataIntegrationsListResponseDataConnectedAccountState)[keyof typeof DataIntegrationsListResponseDataConnectedAccountState];
|
|
5188
|
-
//#endregion
|
|
5189
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-warning.interface.d.ts
|
|
5190
4680
|
type DataIntegrationsListResponseDataConnectedAccountWarning = ConnectedAccountWarning;
|
|
5191
4681
|
type DataIntegrationsListResponseDataConnectedAccountWarningResponse = ConnectedAccountWarningResponse;
|
|
5192
|
-
//#endregion
|
|
5193
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data-connected-account.interface.d.ts
|
|
5194
4682
|
/** The user's compatibility [connected account](https://workos.com/docs/reference/pipes/connected-account) for this provider, or `null` when the compatibility slot is empty. This legacy field never selects a standard connection. */
|
|
5195
4683
|
interface DataIntegrationsListResponseDataConnectedAccount {
|
|
5196
4684
|
/** Distinguishes the connected account object. */
|
|
@@ -5269,22 +4757,16 @@ interface DataIntegrationsListResponseDataConnectedAccountResponse {
|
|
|
5269
4757
|
warnings?: DataIntegrationsListResponseDataConnectedAccountWarningResponse[];
|
|
5270
4758
|
userland_user_id: string | null;
|
|
5271
4759
|
}
|
|
5272
|
-
//#endregion
|
|
5273
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data-connection-owner.interface.d.ts
|
|
5274
4760
|
declare const DataIntegrationsListResponseDataConnectionOwner: {
|
|
5275
4761
|
readonly User: "user";
|
|
5276
4762
|
readonly Organization: "organization";
|
|
5277
4763
|
};
|
|
5278
4764
|
type DataIntegrationsListResponseDataConnectionOwner = (typeof DataIntegrationsListResponseDataConnectionOwner)[keyof typeof DataIntegrationsListResponseDataConnectionOwner];
|
|
5279
|
-
//#endregion
|
|
5280
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data-ownership.interface.d.ts
|
|
5281
4765
|
declare const DataIntegrationsListResponseDataOwnership: {
|
|
5282
4766
|
readonly UserlandUser: "userland_user";
|
|
5283
4767
|
readonly Organization: "organization";
|
|
5284
4768
|
};
|
|
5285
4769
|
type DataIntegrationsListResponseDataOwnership = (typeof DataIntegrationsListResponseDataOwnership)[keyof typeof DataIntegrationsListResponseDataOwnership];
|
|
5286
|
-
//#endregion
|
|
5287
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data.interface.d.ts
|
|
5288
4770
|
interface DataIntegrationsListResponseData {
|
|
5289
4771
|
/** Distinguishes the data provider object. */
|
|
5290
4772
|
object: 'data_provider';
|
|
@@ -5337,8 +4819,6 @@ interface DataIntegrationsListResponseDataResponse {
|
|
|
5337
4819
|
connected_account: DataIntegrationsListResponseDataConnectedAccountResponse | null;
|
|
5338
4820
|
connected_accounts?: DataIntegrationsListResponseDataConnectedAccountResponse[];
|
|
5339
4821
|
}
|
|
5340
|
-
//#endregion
|
|
5341
|
-
//#region src/pipes/interfaces/data-integrations-list-response.interface.d.ts
|
|
5342
4822
|
interface DataIntegrationsListResponse {
|
|
5343
4823
|
/** Indicates this is a list response. */
|
|
5344
4824
|
object: 'list';
|
|
@@ -5349,15 +4829,11 @@ interface DataIntegrationsListResponseWire {
|
|
|
5349
4829
|
object: 'list';
|
|
5350
4830
|
data: DataIntegrationsListResponseDataResponse[];
|
|
5351
4831
|
}
|
|
5352
|
-
//#endregion
|
|
5353
|
-
//#region src/pipes/interfaces/data-integrations-upsert-api-key-request-connection-owner.interface.d.ts
|
|
5354
4832
|
declare const DataIntegrationsUpsertApiKeyRequestConnectionOwner: {
|
|
5355
4833
|
readonly User: "user";
|
|
5356
4834
|
readonly Organization: "organization";
|
|
5357
4835
|
};
|
|
5358
4836
|
type DataIntegrationsUpsertApiKeyRequestConnectionOwner = (typeof DataIntegrationsUpsertApiKeyRequestConnectionOwner)[keyof typeof DataIntegrationsUpsertApiKeyRequestConnectionOwner];
|
|
5359
|
-
//#endregion
|
|
5360
|
-
//#region src/pipes/interfaces/data-integrations-upsert-api-key-request.interface.d.ts
|
|
5361
4837
|
interface DataIntegrationsUpsertApiKeyRequest {
|
|
5362
4838
|
/** A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers. */
|
|
5363
4839
|
accountDisplayName?: string | null;
|
|
@@ -5386,15 +4862,11 @@ interface DataIntegrationsUpsertApiKeyRequestResponse {
|
|
|
5386
4862
|
connection_owner?: DataIntegrationsUpsertApiKeyRequestConnectionOwner;
|
|
5387
4863
|
secret: string;
|
|
5388
4864
|
}
|
|
5389
|
-
//#endregion
|
|
5390
|
-
//#region src/pipes/interfaces/data-integrations-upsert-client-credentials-request-connection-owner.interface.d.ts
|
|
5391
4865
|
declare const DataIntegrationsUpsertClientCredentialsRequestConnectionOwner: {
|
|
5392
4866
|
readonly User: "user";
|
|
5393
4867
|
readonly Organization: "organization";
|
|
5394
4868
|
};
|
|
5395
4869
|
type DataIntegrationsUpsertClientCredentialsRequestConnectionOwner = (typeof DataIntegrationsUpsertClientCredentialsRequestConnectionOwner)[keyof typeof DataIntegrationsUpsertClientCredentialsRequestConnectionOwner];
|
|
5396
|
-
//#endregion
|
|
5397
|
-
//#region src/pipes/interfaces/data-integrations-upsert-client-credentials-request.interface.d.ts
|
|
5398
4870
|
interface DataIntegrationsUpsertClientCredentialsRequest {
|
|
5399
4871
|
/** A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers. */
|
|
5400
4872
|
accountDisplayName?: string | null;
|
|
@@ -5429,14 +4901,10 @@ interface DataIntegrationsUpsertClientCredentialsRequestResponse {
|
|
|
5429
4901
|
client_secret: string;
|
|
5430
4902
|
config?: Record<string, string>;
|
|
5431
4903
|
}
|
|
5432
|
-
//#endregion
|
|
5433
|
-
//#region src/pipes/interfaces/delete-data-integration-options.interface.d.ts
|
|
5434
4904
|
interface DeleteDataIntegrationOptions {
|
|
5435
4905
|
/** The slug identifier of the data integration. */
|
|
5436
4906
|
slug: string;
|
|
5437
4907
|
}
|
|
5438
|
-
//#endregion
|
|
5439
|
-
//#region src/pipes/interfaces/delete-organization-connected-account-options.interface.d.ts
|
|
5440
4908
|
interface DeleteOrganizationConnectedAccountOptions {
|
|
5441
4909
|
/** An [Organization](https://workos.com/docs/reference/organization) identifier. */
|
|
5442
4910
|
organizationId: string;
|
|
@@ -5447,14 +4915,10 @@ interface DeleteOrganizationConnectedAccountOptions {
|
|
|
5447
4915
|
/** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select the connection to delete. */
|
|
5448
4916
|
connectedAccountId?: string;
|
|
5449
4917
|
}
|
|
5450
|
-
//#endregion
|
|
5451
|
-
//#region src/pipes/interfaces/delete-organization-data-integration-options.interface.d.ts
|
|
5452
4918
|
interface DeleteOrganizationDataIntegrationOptions {
|
|
5453
4919
|
/** The slug identifier of the data integration. */
|
|
5454
4920
|
slug: string;
|
|
5455
4921
|
}
|
|
5456
|
-
//#endregion
|
|
5457
|
-
//#region src/pipes/interfaces/delete-user-connected-account-options.interface.d.ts
|
|
5458
4922
|
interface DeleteUserConnectedAccountOptions {
|
|
5459
4923
|
/** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
|
|
5460
4924
|
userId: string;
|
|
@@ -5467,8 +4931,6 @@ interface DeleteUserConnectedAccountOptions {
|
|
|
5467
4931
|
/** Select the connected account to delete. */
|
|
5468
4932
|
connectedAccountId?: string;
|
|
5469
4933
|
}
|
|
5470
|
-
//#endregion
|
|
5471
|
-
//#region src/pipes/interfaces/finish-connection-options.interface.d.ts
|
|
5472
4934
|
interface FinishConnectionOptions {
|
|
5473
4935
|
/** The `connect_code` WorkOS added to `return_to` when the user finished authorizing. It can be used once and expires 90 seconds after the redirect. */
|
|
5474
4936
|
connectCode: string;
|
|
@@ -5477,20 +4939,14 @@ interface FinishConnectionOptions {
|
|
|
5477
4939
|
/** The `state` WorkOS added to `return_to` alongside `connect_code`. Optional; it is only used to correlate the request in logs. */
|
|
5478
4940
|
state?: string;
|
|
5479
4941
|
}
|
|
5480
|
-
//#endregion
|
|
5481
|
-
//#region src/pipes/interfaces/get-access-token-options.interface.d.ts
|
|
5482
4942
|
interface GetAccessTokenOptions extends DataIntegrationsGetUserTokenRequest {
|
|
5483
4943
|
/** The identifier of the integration. */
|
|
5484
4944
|
provider: string;
|
|
5485
4945
|
}
|
|
5486
|
-
//#endregion
|
|
5487
|
-
//#region src/pipes/interfaces/get-data-integration-options.interface.d.ts
|
|
5488
4946
|
interface GetDataIntegrationOptions {
|
|
5489
4947
|
/** The slug identifier of the data integration. */
|
|
5490
4948
|
slug: string;
|
|
5491
4949
|
}
|
|
5492
|
-
//#endregion
|
|
5493
|
-
//#region src/pipes/interfaces/get-organization-connected-account-options.interface.d.ts
|
|
5494
4950
|
interface GetOrganizationConnectedAccountOptions {
|
|
5495
4951
|
/** An [Organization](https://workos.com/docs/reference/organization) identifier. */
|
|
5496
4952
|
organizationId: string;
|
|
@@ -5501,14 +4957,10 @@ interface GetOrganizationConnectedAccountOptions {
|
|
|
5501
4957
|
/** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select a specific connection when the organization has several for this provider. */
|
|
5502
4958
|
connectedAccountId?: string;
|
|
5503
4959
|
}
|
|
5504
|
-
//#endregion
|
|
5505
|
-
//#region src/pipes/interfaces/get-organization-data-integration-options.interface.d.ts
|
|
5506
4960
|
interface GetOrganizationDataIntegrationOptions {
|
|
5507
4961
|
/** The slug identifier of the data integration. */
|
|
5508
4962
|
slug: string;
|
|
5509
4963
|
}
|
|
5510
|
-
//#endregion
|
|
5511
|
-
//#region src/pipes/interfaces/get-user-connected-account-options.interface.d.ts
|
|
5512
4964
|
interface GetUserConnectedAccountOptions {
|
|
5513
4965
|
/** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
|
|
5514
4966
|
userId: string;
|
|
@@ -5521,29 +4973,21 @@ interface GetUserConnectedAccountOptions {
|
|
|
5521
4973
|
/** Select a specific connected account when the user has several for this provider. */
|
|
5522
4974
|
connectedAccountId?: string;
|
|
5523
4975
|
}
|
|
5524
|
-
//#endregion
|
|
5525
|
-
//#region src/pipes/interfaces/pipes-ownership.interface.d.ts
|
|
5526
4976
|
declare const PipesOwnership: {
|
|
5527
4977
|
readonly User: "user";
|
|
5528
4978
|
readonly Organization: "organization";
|
|
5529
4979
|
};
|
|
5530
4980
|
type PipesOwnership = (typeof PipesOwnership)[keyof typeof PipesOwnership];
|
|
5531
|
-
//#endregion
|
|
5532
|
-
//#region src/pipes/interfaces/list-data-integrations-options.interface.d.ts
|
|
5533
4981
|
interface ListDataIntegrationsOptions extends PaginationOptions {
|
|
5534
4982
|
/** Filter integrations by who owns their connected accounts. */
|
|
5535
4983
|
ownership?: PipesOwnership;
|
|
5536
4984
|
}
|
|
5537
|
-
//#endregion
|
|
5538
|
-
//#region src/pipes/interfaces/list-organization-data-providers-options.interface.d.ts
|
|
5539
4985
|
interface ListOrganizationDataProvidersOptions {
|
|
5540
4986
|
/** An [Organization](https://workos.com/docs/reference/organization) identifier to list providers and connected accounts for. */
|
|
5541
4987
|
organizationId: string;
|
|
5542
4988
|
/** Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered. */
|
|
5543
4989
|
supportsMultipleConnections?: boolean;
|
|
5544
4990
|
}
|
|
5545
|
-
//#endregion
|
|
5546
|
-
//#region src/pipes/interfaces/list-user-data-providers-options.interface.d.ts
|
|
5547
4991
|
interface ListUserDataProvidersOptions {
|
|
5548
4992
|
/** A [User](https://workos.com/docs/reference/authkit/user) identifier to list providers and connected accounts for. */
|
|
5549
4993
|
userId: string;
|
|
@@ -5552,15 +4996,11 @@ interface ListUserDataProvidersOptions {
|
|
|
5552
4996
|
/** Set to `true` to include all connected accounts rather than only the compatibility connection. */
|
|
5553
4997
|
supportsMultipleConnections?: boolean;
|
|
5554
4998
|
}
|
|
5555
|
-
//#endregion
|
|
5556
|
-
//#region src/pipes/interfaces/update-custom-provider-definition-authenticate-via.interface.d.ts
|
|
5557
4999
|
declare const UpdateCustomProviderDefinitionAuthenticateVia: {
|
|
5558
5000
|
readonly RequestBody: "request_body";
|
|
5559
5001
|
readonly BasicAuthHeader: "basic_auth_header";
|
|
5560
5002
|
};
|
|
5561
5003
|
type UpdateCustomProviderDefinitionAuthenticateVia = (typeof UpdateCustomProviderDefinitionAuthenticateVia)[keyof typeof UpdateCustomProviderDefinitionAuthenticateVia];
|
|
5562
|
-
//#endregion
|
|
5563
|
-
//#region src/pipes/interfaces/update-custom-provider-definition.interface.d.ts
|
|
5564
5004
|
interface UpdateCustomProviderDefinition {
|
|
5565
5005
|
/** A descriptive name for the custom provider. */
|
|
5566
5006
|
name?: string;
|
|
@@ -5598,20 +5038,14 @@ interface UpdateCustomProviderDefinitionResponse {
|
|
|
5598
5038
|
token_body_content_type?: string;
|
|
5599
5039
|
authenticate_via?: UpdateCustomProviderDefinitionAuthenticateVia;
|
|
5600
5040
|
}
|
|
5601
|
-
//#endregion
|
|
5602
|
-
//#region src/pipes/interfaces/update-data-integration-api-key-options.interface.d.ts
|
|
5603
5041
|
interface UpdateDataIntegrationApiKeyOptions extends DataIntegrationsUpsertApiKeyRequest {
|
|
5604
5042
|
/** The identifier of the integration. */
|
|
5605
5043
|
slug: string;
|
|
5606
5044
|
}
|
|
5607
|
-
//#endregion
|
|
5608
|
-
//#region src/pipes/interfaces/update-data-integration-client-credentials-options.interface.d.ts
|
|
5609
5045
|
interface UpdateDataIntegrationClientCredentialsOptions extends DataIntegrationsUpsertClientCredentialsRequest {
|
|
5610
5046
|
/** The identifier of the integration. */
|
|
5611
5047
|
slug: string;
|
|
5612
5048
|
}
|
|
5613
|
-
//#endregion
|
|
5614
|
-
//#region src/pipes/interfaces/update-data-integration.interface.d.ts
|
|
5615
5049
|
interface UpdateDataIntegration {
|
|
5616
5050
|
/** An optional description of the Data Integration. */
|
|
5617
5051
|
description?: string | null;
|
|
@@ -5634,14 +5068,10 @@ interface UpdateDataIntegrationResponse {
|
|
|
5634
5068
|
api_key?: ApiKeyInstallationResponse;
|
|
5635
5069
|
custom_provider?: UpdateCustomProviderDefinitionResponse;
|
|
5636
5070
|
}
|
|
5637
|
-
//#endregion
|
|
5638
|
-
//#region src/pipes/interfaces/update-data-integration-options.interface.d.ts
|
|
5639
5071
|
interface UpdateDataIntegrationOptions extends UpdateDataIntegration {
|
|
5640
5072
|
/** The slug identifier of the data integration. */
|
|
5641
5073
|
slug: string;
|
|
5642
5074
|
}
|
|
5643
|
-
//#endregion
|
|
5644
|
-
//#region src/pipes/interfaces/update-organization-connected-account-options.interface.d.ts
|
|
5645
5075
|
interface UpdateOrganizationConnectedAccountOptions {
|
|
5646
5076
|
/** An [Organization](https://workos.com/docs/reference/organization) identifier. */
|
|
5647
5077
|
organizationId: string;
|
|
@@ -5666,8 +5096,6 @@ interface UpdateOrganizationConnectedAccountOptions {
|
|
|
5666
5096
|
/** The [User](https://workos.com/docs/reference/authkit/user) identifier of the organization member on whose behalf the connected account is being imported or updated. The user must be an active member of the organization. */
|
|
5667
5097
|
userId: string;
|
|
5668
5098
|
}
|
|
5669
|
-
//#endregion
|
|
5670
|
-
//#region src/pipes/interfaces/update-user-connected-account-options.interface.d.ts
|
|
5671
5099
|
interface UpdateUserConnectedAccountOptions {
|
|
5672
5100
|
/** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
|
|
5673
5101
|
userId: string;
|
|
@@ -5692,8 +5120,6 @@ interface UpdateUserConnectedAccountOptions {
|
|
|
5692
5120
|
/** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
|
|
5693
5121
|
state?: ConnectedAccountInputState;
|
|
5694
5122
|
}
|
|
5695
|
-
//#endregion
|
|
5696
|
-
//#region src/vault/interfaces/key.interface.d.ts
|
|
5697
5123
|
interface KeyContext {
|
|
5698
5124
|
[key: string]: any;
|
|
5699
5125
|
}
|
|
@@ -5706,8 +5132,6 @@ interface DataKey {
|
|
|
5706
5132
|
key: string;
|
|
5707
5133
|
id: string;
|
|
5708
5134
|
}
|
|
5709
|
-
//#endregion
|
|
5710
|
-
//#region src/vault/interfaces/vault-event.interface.d.ts
|
|
5711
5135
|
type VaultActorSource = 'api' | 'dashboard';
|
|
5712
5136
|
interface VaultActor {
|
|
5713
5137
|
actorId: string;
|
|
@@ -5812,8 +5236,6 @@ interface VaultByokKeyDeletedEventResponseData {
|
|
|
5812
5236
|
organization_id: string;
|
|
5813
5237
|
key_provider: VaultByokKeyProvider;
|
|
5814
5238
|
}
|
|
5815
|
-
//#endregion
|
|
5816
|
-
//#region src/common/interfaces/event.interface.d.ts
|
|
5817
5239
|
interface EventBase {
|
|
5818
5240
|
id: string;
|
|
5819
5241
|
createdAt: Date;
|
|
@@ -7110,8 +6532,6 @@ type KnownEventResponse = AgentBlueprintCreatedEventResponse | AgentBlueprintDel
|
|
|
7110
6532
|
type EventResponse = KnownEventResponse | UnknownEventResponse;
|
|
7111
6533
|
/** The names of the events this version of the SDK knows; excludes `UnknownEvent`. */
|
|
7112
6534
|
type EventName = KnownEvent['event'];
|
|
7113
|
-
//#endregion
|
|
7114
|
-
//#region src/common/interfaces/generate-link-intent.interface.d.ts
|
|
7115
6535
|
declare const GenerateLinkIntent: {
|
|
7116
6536
|
readonly SSO: "sso";
|
|
7117
6537
|
readonly DSync: "dsync";
|
|
@@ -7122,8 +6542,6 @@ declare const GenerateLinkIntent: {
|
|
|
7122
6542
|
readonly BringYourOwnKey: "bring_your_own_key";
|
|
7123
6543
|
};
|
|
7124
6544
|
type GenerateLinkIntent = (typeof GenerateLinkIntent)[keyof typeof GenerateLinkIntent];
|
|
7125
|
-
//#endregion
|
|
7126
|
-
//#region src/common/interfaces/get-options.interface.d.ts
|
|
7127
6545
|
interface GetOptions {
|
|
7128
6546
|
query?: Record<string, any>;
|
|
7129
6547
|
accessToken?: string;
|
|
@@ -7135,8 +6553,6 @@ interface GetOptions {
|
|
|
7135
6553
|
/** Aborts the request, rejecting with the signal's reason. An aborted request is not retried. */
|
|
7136
6554
|
signal?: AbortSignal;
|
|
7137
6555
|
}
|
|
7138
|
-
//#endregion
|
|
7139
|
-
//#region src/common/interfaces/list.interface.d.ts
|
|
7140
6556
|
interface ListResponse<T> {
|
|
7141
6557
|
readonly object: 'list';
|
|
7142
6558
|
data: T[];
|
|
@@ -7153,8 +6569,6 @@ interface List<T> {
|
|
|
7153
6569
|
after?: string | null;
|
|
7154
6570
|
};
|
|
7155
6571
|
}
|
|
7156
|
-
//#endregion
|
|
7157
|
-
//#region src/common/interfaces/patch-options.interface.d.ts
|
|
7158
6572
|
interface PatchOptions {
|
|
7159
6573
|
query?: {
|
|
7160
6574
|
[key: string]: any;
|
|
@@ -7165,8 +6579,6 @@ interface PatchOptions {
|
|
|
7165
6579
|
/** Maximum number of retries for this request, overriding the client-wide `maxRetries`. */
|
|
7166
6580
|
maxRetries?: number;
|
|
7167
6581
|
}
|
|
7168
|
-
//#endregion
|
|
7169
|
-
//#region src/common/interfaces/post-options.interface.d.ts
|
|
7170
6582
|
interface PostOptions {
|
|
7171
6583
|
query?: {
|
|
7172
6584
|
[key: string]: any;
|
|
@@ -7178,8 +6590,6 @@ interface PostOptions {
|
|
|
7178
6590
|
/** Maximum number of retries for this request, overriding the client-wide `maxRetries`. */
|
|
7179
6591
|
maxRetries?: number;
|
|
7180
6592
|
}
|
|
7181
|
-
//#endregion
|
|
7182
|
-
//#region src/common/interfaces/put-options.interface.d.ts
|
|
7183
6593
|
interface PutOptions {
|
|
7184
6594
|
query?: {
|
|
7185
6595
|
[key: string]: any;
|
|
@@ -7190,20 +6600,14 @@ interface PutOptions {
|
|
|
7190
6600
|
/** Maximum number of retries for this request, overriding the client-wide `maxRetries`. */
|
|
7191
6601
|
maxRetries?: number;
|
|
7192
6602
|
}
|
|
7193
|
-
//#endregion
|
|
7194
|
-
//#region src/common/interfaces/unprocessable-entity-error.interface.d.ts
|
|
7195
6603
|
interface UnprocessableEntityError {
|
|
7196
6604
|
field: string;
|
|
7197
6605
|
code: string;
|
|
7198
6606
|
}
|
|
7199
|
-
//#endregion
|
|
7200
|
-
//#region src/common/interfaces/app-info.interface.d.ts
|
|
7201
6607
|
interface AppInfo {
|
|
7202
6608
|
name: string;
|
|
7203
6609
|
version: string;
|
|
7204
6610
|
}
|
|
7205
|
-
//#endregion
|
|
7206
|
-
//#region src/common/interfaces/workos-options.interface.d.ts
|
|
7207
6611
|
interface WorkOSOptions {
|
|
7208
6612
|
apiKey?: string;
|
|
7209
6613
|
apiHostname?: string;
|
|
@@ -7228,8 +6632,6 @@ interface WorkOSOptions {
|
|
|
7228
6632
|
*/
|
|
7229
6633
|
maxRetries?: number;
|
|
7230
6634
|
}
|
|
7231
|
-
//#endregion
|
|
7232
|
-
//#region src/common/interfaces/workos-response-error.interface.d.ts
|
|
7233
6635
|
interface WorkOSResponseError {
|
|
7234
6636
|
code?: string;
|
|
7235
6637
|
error_description?: string;
|
|
@@ -7238,8 +6640,6 @@ interface WorkOSResponseError {
|
|
|
7238
6640
|
message: string;
|
|
7239
6641
|
[key: string]: unknown;
|
|
7240
6642
|
}
|
|
7241
|
-
//#endregion
|
|
7242
|
-
//#region src/organizations/interfaces/domain-data.interface.d.ts
|
|
7243
6643
|
declare enum DomainDataState {
|
|
7244
6644
|
Verified = "verified",
|
|
7245
6645
|
Pending = "pending"
|
|
@@ -7248,8 +6648,6 @@ interface DomainData {
|
|
|
7248
6648
|
domain: string;
|
|
7249
6649
|
state: DomainDataState;
|
|
7250
6650
|
}
|
|
7251
|
-
//#endregion
|
|
7252
|
-
//#region src/organizations/interfaces/create-organization-options.interface.d.ts
|
|
7253
6651
|
interface CreateOrganizationOptions {
|
|
7254
6652
|
name: string;
|
|
7255
6653
|
domainData?: DomainData[];
|
|
@@ -7263,8 +6661,6 @@ interface SerializedCreateOrganizationOptions {
|
|
|
7263
6661
|
metadata?: Record<string, string>;
|
|
7264
6662
|
}
|
|
7265
6663
|
type CreateOrganizationRequestOptions = Pick<PostOptions, 'idempotencyKey'>;
|
|
7266
|
-
//#endregion
|
|
7267
|
-
//#region src/organizations/interfaces/it-contact-options.interface.d.ts
|
|
7268
6664
|
declare const ItContactIntent: {
|
|
7269
6665
|
readonly SSO: "sso";
|
|
7270
6666
|
readonly DirectorySync: "directory_sync";
|
|
@@ -7309,8 +6705,6 @@ interface RevokeItContactOptions {
|
|
|
7309
6705
|
/** Unique identifier of the IT Contact. */
|
|
7310
6706
|
contactId: string;
|
|
7311
6707
|
}
|
|
7312
|
-
//#endregion
|
|
7313
|
-
//#region src/organizations/interfaces/it-contact.interface.d.ts
|
|
7314
6708
|
interface ItContact {
|
|
7315
6709
|
/** Distinguishes the IT Contact object. */
|
|
7316
6710
|
object: 'it_contact';
|
|
@@ -7330,19 +6724,13 @@ interface ItContactResponse {
|
|
|
7330
6724
|
created_at: string;
|
|
7331
6725
|
updated_at: string;
|
|
7332
6726
|
}
|
|
7333
|
-
//#endregion
|
|
7334
|
-
//#region src/organizations/interfaces/list-organization-feature-flags-options.interface.d.ts
|
|
7335
6727
|
interface ListOrganizationFeatureFlagsOptions extends PaginationOptions {
|
|
7336
6728
|
organizationId: string;
|
|
7337
6729
|
}
|
|
7338
|
-
//#endregion
|
|
7339
|
-
//#region src/organizations/interfaces/list-organizations-options.interface.d.ts
|
|
7340
6730
|
interface ListOrganizationsOptions extends PaginationOptions {
|
|
7341
6731
|
/** The domains of an Organization. Any Organization with a matching domain will be returned. */
|
|
7342
6732
|
domains?: string[];
|
|
7343
6733
|
}
|
|
7344
|
-
//#endregion
|
|
7345
|
-
//#region src/organizations/interfaces/organization.interface.d.ts
|
|
7346
6734
|
interface Organization {
|
|
7347
6735
|
/** Distinguishes the Organization object. */
|
|
7348
6736
|
object: 'organization';
|
|
@@ -7380,8 +6768,6 @@ interface OrganizationResponse {
|
|
|
7380
6768
|
external_id?: string | null;
|
|
7381
6769
|
metadata?: Record<string, string>;
|
|
7382
6770
|
}
|
|
7383
|
-
//#endregion
|
|
7384
|
-
//#region src/organizations/interfaces/update-organization-options.interface.d.ts
|
|
7385
6771
|
interface UpdateOrganizationOptions {
|
|
7386
6772
|
organization: string;
|
|
7387
6773
|
name?: string;
|
|
@@ -7397,8 +6783,6 @@ interface SerializedUpdateOrganizationOptions {
|
|
|
7397
6783
|
external_id?: string | null;
|
|
7398
6784
|
metadata?: Record<string, string>;
|
|
7399
6785
|
}
|
|
7400
|
-
//#endregion
|
|
7401
|
-
//#region src/actions/interfaces/action.interface.d.ts
|
|
7402
6786
|
interface AuthenticationActionContext {
|
|
7403
6787
|
id: string;
|
|
7404
6788
|
object: 'authentication_action_context';
|
|
@@ -7459,8 +6843,6 @@ interface UserRegistrationActionPayload {
|
|
|
7459
6843
|
device_fingerprint?: string;
|
|
7460
6844
|
}
|
|
7461
6845
|
type ActionPayload = AuthenticationActionPayload | UserRegistrationActionPayload;
|
|
7462
|
-
//#endregion
|
|
7463
|
-
//#region src/actions/interfaces/response-payload.interface.d.ts
|
|
7464
6846
|
interface ResponsePayload {
|
|
7465
6847
|
timestamp: number;
|
|
7466
6848
|
verdict?: 'Allow' | 'Deny';
|
|
@@ -7483,8 +6865,6 @@ type UserRegistrationActionResponseData = (AllowResponseData & {
|
|
|
7483
6865
|
}) | (DenyResponseData & {
|
|
7484
6866
|
type: 'user_registration';
|
|
7485
6867
|
});
|
|
7486
|
-
//#endregion
|
|
7487
|
-
//#region src/actions/actions.d.ts
|
|
7488
6868
|
declare class Actions {
|
|
7489
6869
|
private signatureProvider;
|
|
7490
6870
|
constructor(cryptoProvider: CryptoProvider);
|
|
@@ -7508,8 +6888,6 @@ declare class Actions {
|
|
|
7508
6888
|
tolerance?: number;
|
|
7509
6889
|
}): Promise<ActionContext>;
|
|
7510
6890
|
}
|
|
7511
|
-
//#endregion
|
|
7512
|
-
//#region src/pkce/pkce.d.ts
|
|
7513
6891
|
interface PKCEPair {
|
|
7514
6892
|
codeVerifier: string;
|
|
7515
6893
|
codeChallenge: string;
|
|
@@ -7544,8 +6922,6 @@ declare class PKCE {
|
|
|
7544
6922
|
generate(): Promise<PKCEPair>;
|
|
7545
6923
|
private base64UrlEncode;
|
|
7546
6924
|
}
|
|
7547
|
-
//#endregion
|
|
7548
|
-
//#region src/common/utils/pagination.d.ts
|
|
7549
6925
|
declare class AutoPaginatable<ResourceType, ParametersType extends PaginationOptions = PaginationOptions> {
|
|
7550
6926
|
protected list: List<ResourceType>;
|
|
7551
6927
|
private apiCall;
|
|
@@ -7564,8 +6940,6 @@ declare class AutoPaginatable<ResourceType, ParametersType extends PaginationOpt
|
|
|
7564
6940
|
*/
|
|
7565
6941
|
autoPagination(): Promise<ResourceType[]>;
|
|
7566
6942
|
}
|
|
7567
|
-
//#endregion
|
|
7568
|
-
//#region src/agents/interfaces/agent-instance-session.interface.d.ts
|
|
7569
6943
|
/** The lifecycle status of an agent instance session. */
|
|
7570
6944
|
type AgentInstanceSessionStatus = 'active' | 'revoked' | 'expired';
|
|
7571
6945
|
/** A session minted for an agent instance. */
|
|
@@ -7607,8 +6981,6 @@ interface SerializedListAgentInstanceSessionsOptions extends PaginationOptions {
|
|
|
7607
6981
|
agent_blueprint_id?: string;
|
|
7608
6982
|
agent_instance_id?: string;
|
|
7609
6983
|
}
|
|
7610
|
-
//#endregion
|
|
7611
|
-
//#region src/agents/interfaces/agent-token.interface.d.ts
|
|
7612
6984
|
/** Tokens minted for an agent session. */
|
|
7613
6985
|
interface AgentToken {
|
|
7614
6986
|
/** The access token for the agent session. */
|
|
@@ -7687,8 +7059,6 @@ type SerializedMintAgentTokenOptions = {
|
|
|
7687
7059
|
refresh_token: string;
|
|
7688
7060
|
intent?: string;
|
|
7689
7061
|
};
|
|
7690
|
-
//#endregion
|
|
7691
|
-
//#region src/agents/interfaces/claim-attempt.interface.d.ts
|
|
7692
7062
|
/** Options for linking an external user to a claim attempt via the admin API. */
|
|
7693
7063
|
interface LinkClaimAttemptToExternalUserOptions {
|
|
7694
7064
|
/** The claim attempt token identifying the pending claim. */
|
|
@@ -7736,8 +7106,6 @@ interface SerializedClaimAttemptResponse {
|
|
|
7736
7106
|
user_code: string;
|
|
7737
7107
|
organizations: ClaimAttemptOrganization[];
|
|
7738
7108
|
}
|
|
7739
|
-
//#endregion
|
|
7740
|
-
//#region src/agents/interfaces/validate-agent-credential.interface.d.ts
|
|
7741
7109
|
/** The type of agent credential to validate. */
|
|
7742
7110
|
type AgentCredentialType = 'api_key' | 'access_token';
|
|
7743
7111
|
interface ValidateAgentApiKeyOptions {
|
|
@@ -7852,8 +7220,6 @@ interface SerializedAgentCredentialValidation {
|
|
|
7852
7220
|
registration_id: string | null;
|
|
7853
7221
|
expires_at: string | null;
|
|
7854
7222
|
}
|
|
7855
|
-
//#endregion
|
|
7856
|
-
//#region src/agents/agents.d.ts
|
|
7857
7223
|
declare class Agents {
|
|
7858
7224
|
private readonly workos;
|
|
7859
7225
|
private _jwks?;
|
|
@@ -8065,8 +7431,6 @@ declare class Agents {
|
|
|
8065
7431
|
private verifyAccessTokenClaims;
|
|
8066
7432
|
private getJWKS;
|
|
8067
7433
|
}
|
|
8068
|
-
//#endregion
|
|
8069
|
-
//#region src/api-keys/api-keys.d.ts
|
|
8070
7434
|
declare class ApiKeys {
|
|
8071
7435
|
private readonly workos;
|
|
8072
7436
|
constructor(workos: WorkOS);
|
|
@@ -8123,8 +7487,6 @@ declare class ApiKeys {
|
|
|
8123
7487
|
*/
|
|
8124
7488
|
createOrganizationApiKey(options: CreateOrganizationApiKeyOptions, requestOptions?: CreateOrganizationApiKeyRequestOptions): Promise<CreatedApiKey>;
|
|
8125
7489
|
}
|
|
8126
|
-
//#endregion
|
|
8127
|
-
//#region src/connect/connect.d.ts
|
|
8128
7490
|
declare class Connect {
|
|
8129
7491
|
private readonly workos;
|
|
8130
7492
|
constructor(workos: WorkOS);
|
|
@@ -8297,8 +7659,6 @@ declare class Connect {
|
|
|
8297
7659
|
*/
|
|
8298
7660
|
deleteClientSecret(options: DeleteClientSecretOptions): Promise<void>;
|
|
8299
7661
|
}
|
|
8300
|
-
//#endregion
|
|
8301
|
-
//#region src/directory-sync/directory-sync.d.ts
|
|
8302
7662
|
declare class DirectorySync {
|
|
8303
7663
|
private readonly workos;
|
|
8304
7664
|
constructor(workos: WorkOS);
|
|
@@ -8449,8 +7809,6 @@ declare class DirectorySync {
|
|
|
8449
7809
|
*/
|
|
8450
7810
|
getDirectoryGroup(options: GetDirectoryGroupOptions): Promise<DirectoryGroup>;
|
|
8451
7811
|
}
|
|
8452
|
-
//#endregion
|
|
8453
|
-
//#region src/events/interfaces/list-events-options.interface.d.ts
|
|
8454
7812
|
interface ListEventOptions {
|
|
8455
7813
|
events: EventName[];
|
|
8456
7814
|
rangeStart?: string;
|
|
@@ -8467,8 +7825,6 @@ interface SerializedListEventOptions {
|
|
|
8467
7825
|
after?: string;
|
|
8468
7826
|
organization_id?: string;
|
|
8469
7827
|
}
|
|
8470
|
-
//#endregion
|
|
8471
|
-
//#region src/events/events.d.ts
|
|
8472
7828
|
declare class Events {
|
|
8473
7829
|
private readonly workos;
|
|
8474
7830
|
constructor(workos: WorkOS);
|
|
@@ -8483,8 +7839,6 @@ declare class Events {
|
|
|
8483
7839
|
*/
|
|
8484
7840
|
listEvents(options: ListEventOptions): Promise<List<Event>>;
|
|
8485
7841
|
}
|
|
8486
|
-
//#endregion
|
|
8487
|
-
//#region src/organizations/organizations.d.ts
|
|
8488
7842
|
declare class Organizations {
|
|
8489
7843
|
private readonly workos;
|
|
8490
7844
|
constructor(workos: WorkOS);
|
|
@@ -8619,8 +7973,6 @@ declare class Organizations {
|
|
|
8619
7973
|
*/
|
|
8620
7974
|
revokeItContact(options: RevokeItContactOptions): Promise<void>;
|
|
8621
7975
|
}
|
|
8622
|
-
//#endregion
|
|
8623
|
-
//#region src/organization-domains/organization-domains.d.ts
|
|
8624
7976
|
declare class OrganizationDomains {
|
|
8625
7977
|
private readonly workos;
|
|
8626
7978
|
constructor(workos: WorkOS);
|
|
@@ -8673,8 +8025,6 @@ declare class OrganizationDomains {
|
|
|
8673
8025
|
*/
|
|
8674
8026
|
deleteOrganizationDomain(id: string): Promise<void>;
|
|
8675
8027
|
}
|
|
8676
|
-
//#endregion
|
|
8677
|
-
//#region src/passwordless/interfaces/passwordless-session.interface.d.ts
|
|
8678
8028
|
interface PasswordlessSession {
|
|
8679
8029
|
id: string;
|
|
8680
8030
|
email: string;
|
|
@@ -8689,8 +8039,6 @@ interface PasswordlessSessionResponse {
|
|
|
8689
8039
|
link: string;
|
|
8690
8040
|
object: 'passwordless_session';
|
|
8691
8041
|
}
|
|
8692
|
-
//#endregion
|
|
8693
|
-
//#region src/passwordless/interfaces/create-passwordless-session-options.interface.d.ts
|
|
8694
8042
|
interface CreatePasswordlessSessionOptions {
|
|
8695
8043
|
type: 'MagicLink';
|
|
8696
8044
|
email: string;
|
|
@@ -8707,22 +8055,16 @@ interface SerializedCreatePasswordlessSessionOptions {
|
|
|
8707
8055
|
connection?: string;
|
|
8708
8056
|
expires_in?: number;
|
|
8709
8057
|
}
|
|
8710
|
-
//#endregion
|
|
8711
|
-
//#region src/passwordless/interfaces/send-session-response.interface.d.ts
|
|
8712
8058
|
interface SendSessionResponse {
|
|
8713
8059
|
message?: string;
|
|
8714
8060
|
success?: boolean;
|
|
8715
8061
|
}
|
|
8716
|
-
//#endregion
|
|
8717
|
-
//#region src/passwordless/passwordless.d.ts
|
|
8718
8062
|
declare class Passwordless {
|
|
8719
8063
|
private readonly workos;
|
|
8720
8064
|
constructor(workos: WorkOS);
|
|
8721
8065
|
createSession({ redirectURI, expiresIn, ...options }: CreatePasswordlessSessionOptions): Promise<PasswordlessSession>;
|
|
8722
8066
|
sendSession(sessionId: string): Promise<SendSessionResponse>;
|
|
8723
8067
|
}
|
|
8724
|
-
//#endregion
|
|
8725
|
-
//#region src/pipes/pipes.d.ts
|
|
8726
8068
|
declare class Pipes {
|
|
8727
8069
|
private readonly workos;
|
|
8728
8070
|
constructor(workos: WorkOS);
|
|
@@ -9331,8 +8673,6 @@ declare class Pipes {
|
|
|
9331
8673
|
*/
|
|
9332
8674
|
listUserDataProviders(options: ListUserDataProvidersOptions): Promise<DataIntegrationsListResponse>;
|
|
9333
8675
|
}
|
|
9334
|
-
//#endregion
|
|
9335
|
-
//#region src/radar/interfaces/radar-standalone-assess-request-auth-method.interface.d.ts
|
|
9336
8676
|
declare const RadarStandaloneAssessRequestAuthMethod: {
|
|
9337
8677
|
readonly Password: "Password";
|
|
9338
8678
|
readonly Passkey: "Passkey";
|
|
@@ -9344,15 +8684,11 @@ declare const RadarStandaloneAssessRequestAuthMethod: {
|
|
|
9344
8684
|
readonly Other: "Other";
|
|
9345
8685
|
};
|
|
9346
8686
|
type RadarStandaloneAssessRequestAuthMethod = (typeof RadarStandaloneAssessRequestAuthMethod)[keyof typeof RadarStandaloneAssessRequestAuthMethod];
|
|
9347
|
-
//#endregion
|
|
9348
|
-
//#region src/radar/interfaces/radar-standalone-assess-request-action.interface.d.ts
|
|
9349
8687
|
declare const RadarStandaloneAssessRequestAction: {
|
|
9350
8688
|
readonly SignUp: "sign-up";
|
|
9351
8689
|
readonly SignIn: "sign-in";
|
|
9352
8690
|
};
|
|
9353
8691
|
type RadarStandaloneAssessRequestAction = (typeof RadarStandaloneAssessRequestAction)[keyof typeof RadarStandaloneAssessRequestAction];
|
|
9354
|
-
//#endregion
|
|
9355
|
-
//#region src/radar/interfaces/create-attempt-options.interface.d.ts
|
|
9356
8692
|
interface CreateAttemptOptions {
|
|
9357
8693
|
/** The IP address of the request to assess. */
|
|
9358
8694
|
ipAddress: string;
|
|
@@ -9365,8 +8701,6 @@ interface CreateAttemptOptions {
|
|
|
9365
8701
|
/** The action being performed. */
|
|
9366
8702
|
action: RadarStandaloneAssessRequestAction;
|
|
9367
8703
|
}
|
|
9368
|
-
//#endregion
|
|
9369
|
-
//#region src/radar/interfaces/update-attempt-options.interface.d.ts
|
|
9370
8704
|
interface UpdateAttemptOptions {
|
|
9371
8705
|
/** The unique identifier of the Radar attempt to update. */
|
|
9372
8706
|
id: string;
|
|
@@ -9375,8 +8709,6 @@ interface UpdateAttemptOptions {
|
|
|
9375
8709
|
/** Set to `"success"` to mark the authentication attempt as successful. */
|
|
9376
8710
|
attemptStatus?: 'success';
|
|
9377
8711
|
}
|
|
9378
|
-
//#endregion
|
|
9379
|
-
//#region src/radar/interfaces/radar-list-type.interface.d.ts
|
|
9380
8712
|
declare const RadarListType: {
|
|
9381
8713
|
readonly IpAddress: "ip_address";
|
|
9382
8714
|
readonly Domain: "domain";
|
|
@@ -9387,15 +8719,11 @@ declare const RadarListType: {
|
|
|
9387
8719
|
readonly Country: "country";
|
|
9388
8720
|
};
|
|
9389
8721
|
type RadarListType = (typeof RadarListType)[keyof typeof RadarListType];
|
|
9390
|
-
//#endregion
|
|
9391
|
-
//#region src/radar/interfaces/radar-list-action.interface.d.ts
|
|
9392
8722
|
declare const RadarListAction: {
|
|
9393
8723
|
readonly Block: "block";
|
|
9394
8724
|
readonly Allow: "allow";
|
|
9395
8725
|
};
|
|
9396
8726
|
type RadarListAction = (typeof RadarListAction)[keyof typeof RadarListAction];
|
|
9397
|
-
//#endregion
|
|
9398
|
-
//#region src/radar/interfaces/add-list-entry-options.interface.d.ts
|
|
9399
8727
|
interface AddListEntryOptions {
|
|
9400
8728
|
/** The type of the Radar list (e.g. ip_address, domain, email). */
|
|
9401
8729
|
type: RadarListType;
|
|
@@ -9404,8 +8732,6 @@ interface AddListEntryOptions {
|
|
|
9404
8732
|
/** The value to add to the list. Must match the format of the list type (e.g. a valid IP address for `ip_address`, a valid email for `email`). */
|
|
9405
8733
|
entry: string;
|
|
9406
8734
|
}
|
|
9407
|
-
//#endregion
|
|
9408
|
-
//#region src/radar/interfaces/remove-list-entry-options.interface.d.ts
|
|
9409
8735
|
interface RemoveListEntryOptions {
|
|
9410
8736
|
/** The type of the Radar list (e.g. ip_address, domain, email). */
|
|
9411
8737
|
type: RadarListType;
|
|
@@ -9414,16 +8740,12 @@ interface RemoveListEntryOptions {
|
|
|
9414
8740
|
/** The value to remove from the list. Must match an existing entry. */
|
|
9415
8741
|
entry: string;
|
|
9416
8742
|
}
|
|
9417
|
-
//#endregion
|
|
9418
|
-
//#region src/radar/interfaces/radar-standalone-response-verdict.interface.d.ts
|
|
9419
8743
|
declare const RadarStandaloneResponseVerdict: {
|
|
9420
8744
|
readonly Allow: "allow";
|
|
9421
8745
|
readonly Block: "block";
|
|
9422
8746
|
readonly Challenge: "challenge";
|
|
9423
8747
|
};
|
|
9424
8748
|
type RadarStandaloneResponseVerdict = (typeof RadarStandaloneResponseVerdict)[keyof typeof RadarStandaloneResponseVerdict];
|
|
9425
|
-
//#endregion
|
|
9426
|
-
//#region src/radar/interfaces/radar-standalone-response-control.interface.d.ts
|
|
9427
8749
|
declare const RadarStandaloneResponseControl: {
|
|
9428
8750
|
readonly BotDetection: "bot_detection";
|
|
9429
8751
|
readonly BruteForceAttack: "brute_force_attack";
|
|
@@ -9435,8 +8757,6 @@ declare const RadarStandaloneResponseControl: {
|
|
|
9435
8757
|
readonly Restriction: "restriction";
|
|
9436
8758
|
};
|
|
9437
8759
|
type RadarStandaloneResponseControl = (typeof RadarStandaloneResponseControl)[keyof typeof RadarStandaloneResponseControl];
|
|
9438
|
-
//#endregion
|
|
9439
|
-
//#region src/radar/interfaces/radar-standalone-response-blocklist-type.interface.d.ts
|
|
9440
8760
|
declare const RadarStandaloneResponseBlocklistType: {
|
|
9441
8761
|
readonly IpAddress: "ip_address";
|
|
9442
8762
|
readonly Domain: "domain";
|
|
@@ -9447,8 +8767,6 @@ declare const RadarStandaloneResponseBlocklistType: {
|
|
|
9447
8767
|
readonly Country: "country";
|
|
9448
8768
|
};
|
|
9449
8769
|
type RadarStandaloneResponseBlocklistType = (typeof RadarStandaloneResponseBlocklistType)[keyof typeof RadarStandaloneResponseBlocklistType];
|
|
9450
|
-
//#endregion
|
|
9451
|
-
//#region src/radar/interfaces/radar-standalone-response.interface.d.ts
|
|
9452
8770
|
interface RadarStandaloneResponse {
|
|
9453
8771
|
/** The verdict of the risk assessment. */
|
|
9454
8772
|
verdict: RadarStandaloneResponseVerdict;
|
|
@@ -9468,8 +8786,6 @@ interface RadarStandaloneResponseWire {
|
|
|
9468
8786
|
control?: RadarStandaloneResponseControl;
|
|
9469
8787
|
blocklist_type?: RadarStandaloneResponseBlocklistType;
|
|
9470
8788
|
}
|
|
9471
|
-
//#endregion
|
|
9472
|
-
//#region src/radar/interfaces/radar-list-entry-already-present-response.interface.d.ts
|
|
9473
8789
|
interface RadarListEntryAlreadyPresentResponse {
|
|
9474
8790
|
/** A message indicating the entry already exists. */
|
|
9475
8791
|
message: string;
|
|
@@ -9477,8 +8793,6 @@ interface RadarListEntryAlreadyPresentResponse {
|
|
|
9477
8793
|
interface RadarListEntryAlreadyPresentResponseWire {
|
|
9478
8794
|
message: string;
|
|
9479
8795
|
}
|
|
9480
|
-
//#endregion
|
|
9481
|
-
//#region src/radar/radar.d.ts
|
|
9482
8796
|
declare class Radar {
|
|
9483
8797
|
private readonly workos;
|
|
9484
8798
|
constructor(workos: WorkOS);
|
|
@@ -9549,8 +8863,6 @@ declare class Radar {
|
|
|
9549
8863
|
*/
|
|
9550
8864
|
removeListEntry(options: RemoveListEntryOptions): Promise<void>;
|
|
9551
8865
|
}
|
|
9552
|
-
//#endregion
|
|
9553
|
-
//#region src/admin-portal/admin-portal.d.ts
|
|
9554
8866
|
declare class AdminPortal {
|
|
9555
8867
|
private readonly workos;
|
|
9556
8868
|
constructor(workos: WorkOS);
|
|
@@ -9602,8 +8914,6 @@ declare class AdminPortal {
|
|
|
9602
8914
|
externalUserId: string;
|
|
9603
8915
|
}): Promise<void>;
|
|
9604
8916
|
}
|
|
9605
|
-
//#endregion
|
|
9606
|
-
//#region src/sso/sso.d.ts
|
|
9607
8917
|
declare class SSO {
|
|
9608
8918
|
private readonly workos;
|
|
9609
8919
|
constructor(workos: WorkOS);
|
|
@@ -9694,17 +9004,23 @@ declare class SSO {
|
|
|
9694
9004
|
* @throws {NotFoundException} 404
|
|
9695
9005
|
*/
|
|
9696
9006
|
getProfile<CustomAttributesType extends UnknownRecord = UnknownRecord>({ accessToken }: GetProfileOptions): Promise<Profile<CustomAttributesType>>;
|
|
9007
|
+
/**
|
|
9008
|
+
* Logout Authorize
|
|
9009
|
+
*
|
|
9010
|
+
* Generate a logout token and URL for RP-initiated Single Logout. Redirect the user to `logoutUrl` to sign them out of the identity provider.
|
|
9011
|
+
* @param options - The profile to log out.
|
|
9012
|
+
* @returns {Promise<AuthorizeLogout>}
|
|
9013
|
+
* @throws {BadRequestException} 400
|
|
9014
|
+
* @throws {NotFoundException} 404
|
|
9015
|
+
*/
|
|
9016
|
+
authorizeLogout(options: AuthorizeLogoutOptions): Promise<AuthorizeLogout>;
|
|
9697
9017
|
}
|
|
9698
|
-
//#endregion
|
|
9699
|
-
//#region src/multi-factor-auth/interfaces/challenge-factor-options.d.ts
|
|
9700
9018
|
type ChallengeFactorOptions = {
|
|
9701
9019
|
authenticationFactorId: string;
|
|
9702
9020
|
} | {
|
|
9703
9021
|
authenticationFactorId: string;
|
|
9704
9022
|
smsTemplate: string;
|
|
9705
9023
|
};
|
|
9706
|
-
//#endregion
|
|
9707
|
-
//#region src/multi-factor-auth/interfaces/challenge.interface.d.ts
|
|
9708
9024
|
interface Challenge {
|
|
9709
9025
|
object: 'authentication_challenge';
|
|
9710
9026
|
id: string;
|
|
@@ -9723,8 +9039,6 @@ interface ChallengeResponse {
|
|
|
9723
9039
|
code?: string;
|
|
9724
9040
|
authentication_factor_id: string;
|
|
9725
9041
|
}
|
|
9726
|
-
//#endregion
|
|
9727
|
-
//#region src/multi-factor-auth/interfaces/enroll-factor-options.d.ts
|
|
9728
9042
|
type EnrollFactorOptions = {
|
|
9729
9043
|
type: 'sms';
|
|
9730
9044
|
phoneNumber: string;
|
|
@@ -9735,14 +9049,10 @@ type EnrollFactorOptions = {
|
|
|
9735
9049
|
} | {
|
|
9736
9050
|
type: 'generic_otp';
|
|
9737
9051
|
};
|
|
9738
|
-
//#endregion
|
|
9739
|
-
//#region src/multi-factor-auth/interfaces/verify-challenge-options.d.ts
|
|
9740
9052
|
interface VerifyChallengeOptions {
|
|
9741
9053
|
authenticationChallengeId: string;
|
|
9742
9054
|
code: string;
|
|
9743
9055
|
}
|
|
9744
|
-
//#endregion
|
|
9745
|
-
//#region src/multi-factor-auth/interfaces/verify-challenge-response.d.ts
|
|
9746
9056
|
interface VerifyResponse {
|
|
9747
9057
|
challenge: Challenge;
|
|
9748
9058
|
valid: boolean;
|
|
@@ -9751,8 +9061,6 @@ interface VerifyResponseResponse {
|
|
|
9751
9061
|
challenge: ChallengeResponse;
|
|
9752
9062
|
valid: boolean;
|
|
9753
9063
|
}
|
|
9754
|
-
//#endregion
|
|
9755
|
-
//#region src/multi-factor-auth/multi-factor-auth.d.ts
|
|
9756
9064
|
declare class MultiFactorAuth {
|
|
9757
9065
|
private readonly workos;
|
|
9758
9066
|
constructor(workos: WorkOS);
|
|
@@ -9834,8 +9142,6 @@ declare class MultiFactorAuth {
|
|
|
9834
9142
|
*/
|
|
9835
9143
|
listUserAuthFactors(options: ListAuthFactorsOptions): Promise<AutoPaginatable<AuthenticationFactor, PaginationOptions>>;
|
|
9836
9144
|
}
|
|
9837
|
-
//#endregion
|
|
9838
|
-
//#region src/audit-logs/interfaces/audit-log-export-options.interface.d.ts
|
|
9839
9145
|
interface AuditLogExportOptions {
|
|
9840
9146
|
actions?: string[];
|
|
9841
9147
|
actorNames?: string[];
|
|
@@ -9854,8 +9160,6 @@ interface SerializedAuditLogExportOptions {
|
|
|
9854
9160
|
range_start: string;
|
|
9855
9161
|
targets?: string[];
|
|
9856
9162
|
}
|
|
9857
|
-
//#endregion
|
|
9858
|
-
//#region src/audit-logs/interfaces/audit-log-export.interface.d.ts
|
|
9859
9163
|
type AuditLogExportState = 'pending' | 'ready' | 'error' | 'expired';
|
|
9860
9164
|
interface AuditLogExport {
|
|
9861
9165
|
object: 'audit_log_export';
|
|
@@ -9873,8 +9177,6 @@ interface AuditLogExportResponse {
|
|
|
9873
9177
|
created_at: string;
|
|
9874
9178
|
updated_at: string;
|
|
9875
9179
|
}
|
|
9876
|
-
//#endregion
|
|
9877
|
-
//#region src/audit-logs/interfaces/audit-log-schema.interface.d.ts
|
|
9878
9180
|
type AuditLogSchemaMetadata = Record<string, {
|
|
9879
9181
|
type: 'string' | 'boolean' | 'number';
|
|
9880
9182
|
}> | undefined;
|
|
@@ -9916,8 +9218,6 @@ interface AuditLogSchemaResponse {
|
|
|
9916
9218
|
};
|
|
9917
9219
|
created_at: string;
|
|
9918
9220
|
}
|
|
9919
|
-
//#endregion
|
|
9920
|
-
//#region src/audit-logs/interfaces/audit-logs-retention.interface.d.ts
|
|
9921
9221
|
interface AuditLogsRetention {
|
|
9922
9222
|
/** The number of days Audit Log events will be retained before being permanently deleted. Valid values are 30 through 330 in 30-day increments and 365 through 3650 in 365-day increments. */
|
|
9923
9223
|
retentionPeriodInDays: number | null;
|
|
@@ -9925,8 +9225,6 @@ interface AuditLogsRetention {
|
|
|
9925
9225
|
interface AuditLogsRetentionResponse {
|
|
9926
9226
|
retention_period_in_days: number | null;
|
|
9927
9227
|
}
|
|
9928
|
-
//#endregion
|
|
9929
|
-
//#region src/audit-logs/interfaces/create-audit-log-event-options.interface.d.ts
|
|
9930
9228
|
interface AuditLogActor {
|
|
9931
9229
|
id: string;
|
|
9932
9230
|
name?: string;
|
|
@@ -9964,8 +9262,6 @@ interface SerializedCreateAuditLogEventOptions {
|
|
|
9964
9262
|
metadata?: Record<string, string | number | boolean>;
|
|
9965
9263
|
}
|
|
9966
9264
|
type CreateAuditLogEventRequestOptions = Pick<PostOptions, 'idempotencyKey'>;
|
|
9967
|
-
//#endregion
|
|
9968
|
-
//#region src/audit-logs/interfaces/create-audit-log-schema-options.interface.d.ts
|
|
9969
9265
|
interface CreateAuditLogSchemaOptions {
|
|
9970
9266
|
action: string;
|
|
9971
9267
|
targets: AuditLogTargetSchema[];
|
|
@@ -9995,14 +9291,10 @@ interface SerializedCreateAuditLogSchemaOptions {
|
|
|
9995
9291
|
/** @deprecated Use AuditLogSchemaResponse instead */
|
|
9996
9292
|
type CreateAuditLogSchemaResponse = AuditLogSchemaResponse;
|
|
9997
9293
|
type CreateAuditLogSchemaRequestOptions = Pick<PostOptions, 'idempotencyKey'>;
|
|
9998
|
-
//#endregion
|
|
9999
|
-
//#region src/audit-logs/interfaces/get-organization-audit-logs-retention-options.interface.d.ts
|
|
10000
9294
|
interface GetOrganizationAuditLogsRetentionOptions {
|
|
10001
9295
|
/** Unique identifier of the Organization. */
|
|
10002
9296
|
id: string;
|
|
10003
9297
|
}
|
|
10004
|
-
//#endregion
|
|
10005
|
-
//#region src/audit-logs/interfaces/update-audit-logs-retention-retention-period.interface.d.ts
|
|
10006
9298
|
declare const UpdateAuditLogsRetentionRetentionPeriod: {
|
|
10007
9299
|
readonly Value1Month: "1_MONTH";
|
|
10008
9300
|
readonly Value2Months: "2_MONTHS";
|
|
@@ -10027,8 +9319,6 @@ declare const UpdateAuditLogsRetentionRetentionPeriod: {
|
|
|
10027
9319
|
readonly Value10Years: "10_YEARS";
|
|
10028
9320
|
};
|
|
10029
9321
|
type UpdateAuditLogsRetentionRetentionPeriod = (typeof UpdateAuditLogsRetentionRetentionPeriod)[keyof typeof UpdateAuditLogsRetentionRetentionPeriod];
|
|
10030
|
-
//#endregion
|
|
10031
|
-
//#region src/audit-logs/interfaces/update-audit-logs-retention.interface.d.ts
|
|
10032
9322
|
interface UpdateAuditLogsRetention {
|
|
10033
9323
|
/** The period Audit Log events will be retained. Valid values are `1_MONTH` through `11_MONTHS` in one-month increments and `1_YEAR` through `10_YEARS` in one-year increments. */
|
|
10034
9324
|
retentionPeriod: UpdateAuditLogsRetentionRetentionPeriod;
|
|
@@ -10036,16 +9326,12 @@ interface UpdateAuditLogsRetention {
|
|
|
10036
9326
|
interface UpdateAuditLogsRetentionResponse {
|
|
10037
9327
|
retention_period: UpdateAuditLogsRetentionRetentionPeriod;
|
|
10038
9328
|
}
|
|
10039
|
-
//#endregion
|
|
10040
|
-
//#region src/audit-logs/interfaces/update-organization-audit-logs-retention-options.interface.d.ts
|
|
10041
9329
|
interface UpdateOrganizationAuditLogsRetentionOptions {
|
|
10042
9330
|
/** Unique identifier of the Organization. */
|
|
10043
9331
|
id: string;
|
|
10044
9332
|
/** The period Audit Log events will be retained. Valid values are `1_MONTH` through `11_MONTHS` in one-month increments and `1_YEAR` through `10_YEARS` in one-year increments. */
|
|
10045
9333
|
retentionPeriod: UpdateAuditLogsRetentionRetentionPeriod;
|
|
10046
9334
|
}
|
|
10047
|
-
//#endregion
|
|
10048
|
-
//#region src/audit-logs/audit-logs.d.ts
|
|
10049
9335
|
declare class AuditLogs {
|
|
10050
9336
|
private readonly workos;
|
|
10051
9337
|
constructor(workos: WorkOS);
|
|
@@ -10125,8 +9411,6 @@ declare class AuditLogs {
|
|
|
10125
9411
|
createSchema(schema: CreateAuditLogSchemaOptions, options?: CreateAuditLogSchemaRequestOptions): Promise<AuditLogSchema>;
|
|
10126
9412
|
listSchemas(action: string, options?: PaginationOptions): Promise<AutoPaginatable<AuditLogSchema, PaginationOptions>>;
|
|
10127
9413
|
}
|
|
10128
|
-
//#endregion
|
|
10129
|
-
//#region node_modules/jose/dist/types/types.d.ts
|
|
10130
9414
|
/** Supported JWS "alg" (Algorithm) Header Parameter values. Availability depends on the runtime. */
|
|
10131
9415
|
type JWSAlgorithm = 'HS256' | 'HS384' | 'HS512' | 'RS256' | 'RS384' | 'RS512' | 'PS256' | 'PS384' | 'PS512' | 'ES256' | 'ES384' | 'ES512' | 'EdDSA' | 'Ed25519' | 'ML-DSA-44' | 'ML-DSA-65' | 'ML-DSA-87' | (string & {});
|
|
10132
9416
|
/** Supported JWE "alg" (Algorithm) Header Parameter values. Availability depends on the runtime. */
|
|
@@ -10152,88 +9436,109 @@ type JWK = {
|
|
|
10152
9436
|
kty?: JWKKeyType;
|
|
10153
9437
|
/** JWK "alg" (Algorithm) Parameter */
|
|
10154
9438
|
alg?: JWSAlgorithm | JWEKeyManagementAlgorithm | JWEContentEncryptionAlgorithm;
|
|
10155
|
-
/**
|
|
9439
|
+
/** JWK "key_ops" (Key Operations) Parameter (RFC 7517, Section 4.3). */
|
|
10156
9440
|
key_ops?: string[];
|
|
10157
|
-
/**
|
|
9441
|
+
/** Web Crypto "ext" (Extractable) member; whether the key may be exported. */
|
|
10158
9442
|
ext?: boolean;
|
|
10159
9443
|
/** JWK "use" (Public Key Use) Parameter */
|
|
10160
9444
|
use?: 'sig' | 'enc' | (string & {});
|
|
10161
|
-
/**
|
|
9445
|
+
/**
|
|
9446
|
+
* "x5c" (X.509 Certificate Chain): base64-encoded DER certificates (RFC 7517, Section 4.7; RFC
|
|
9447
|
+
* 7515, Section 4.1.6).
|
|
9448
|
+
*/
|
|
10162
9449
|
x5c?: string[];
|
|
10163
|
-
/** X.509
|
|
9450
|
+
/** "x5t" (X.509 Certificate SHA-1 Thumbprint): base64url-encoded digest of the DER certificate. */
|
|
10164
9451
|
x5t?: string;
|
|
10165
|
-
/**
|
|
9452
|
+
/**
|
|
9453
|
+
* "x5t#S256" (X.509 Certificate SHA-256 Thumbprint): base64url-encoded digest of the DER
|
|
9454
|
+
* certificate.
|
|
9455
|
+
*/
|
|
10166
9456
|
'x5t#S256'?: string;
|
|
10167
|
-
/** X.509 certificate
|
|
9457
|
+
/** JWK "x5u" (X.509 URL) Parameter: URL of a PEM-encoded certificate or certificate chain. */
|
|
10168
9458
|
x5u?: string;
|
|
10169
9459
|
/** JWK "kid" (Key ID) Parameter */
|
|
10170
9460
|
kid?: string;
|
|
10171
|
-
/** EC
|
|
9461
|
+
/** JWK "crv" Parameter: Curve for EC keys or Subtype of Key Pair for OKP keys. */
|
|
10172
9462
|
crv?: string;
|
|
10173
|
-
/**
|
|
9463
|
+
/**
|
|
9464
|
+
* Private key material: Base64urlUInt for RSA (RFC 7518, Section 6.3.2.1), base64url-encoded
|
|
9465
|
+
* octets for EC (Section 6.2.2.1) or OKP (RFC 8037, Section 2).
|
|
9466
|
+
*/
|
|
10174
9467
|
d?: string;
|
|
10175
|
-
/** RSA first factor CRT exponent. */
|
|
9468
|
+
/** RSA first factor CRT exponent, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
|
|
10176
9469
|
dp?: string;
|
|
10177
|
-
/** RSA second factor CRT exponent. */
|
|
9470
|
+
/** RSA second factor CRT exponent, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
|
|
10178
9471
|
dq?: string;
|
|
10179
|
-
/** RSA public exponent. */
|
|
9472
|
+
/** RSA public exponent, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
|
|
10180
9473
|
e?: string;
|
|
10181
|
-
/**
|
|
9474
|
+
/** JWK "k" (Key Value): base64url-encoded key octets (RFC 7518, Section 6.4.1). */
|
|
10182
9475
|
k?: string;
|
|
10183
|
-
/** RSA modulus. */
|
|
9476
|
+
/** RSA modulus, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
|
|
10184
9477
|
n?: string;
|
|
10185
|
-
/** RSA first prime factor. */
|
|
9478
|
+
/** RSA first prime factor, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
|
|
10186
9479
|
p?: string;
|
|
10187
|
-
/** RSA second prime factor. */
|
|
9480
|
+
/** RSA second prime factor, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
|
|
10188
9481
|
q?: string;
|
|
10189
|
-
/** RSA first CRT coefficient. */
|
|
9482
|
+
/** RSA first CRT coefficient, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
|
|
10190
9483
|
qi?: string;
|
|
10191
|
-
/**
|
|
9484
|
+
/**
|
|
9485
|
+
* Base64url-encoded EC x-coordinate (RFC 7518, Section 6.2.1.2) or OKP public key (RFC 8037,
|
|
9486
|
+
* Section 2).
|
|
9487
|
+
*/
|
|
10192
9488
|
x?: string;
|
|
10193
|
-
/** EC
|
|
9489
|
+
/** Base64url-encoded EC y-coordinate (RFC 7518, Section 6.2.1.3). */
|
|
10194
9490
|
y?: string;
|
|
10195
|
-
/** AKP JWK "pub" (Public Key)
|
|
9491
|
+
/** AKP JWK "pub" (Public Key): base64url-encoded public key (RFC 9964, Section 3) */
|
|
10196
9492
|
pub?: string;
|
|
10197
|
-
/**
|
|
9493
|
+
/**
|
|
9494
|
+
* AKP JWK "priv" (Private Key): base64url-encoded private key; ML-DSA uses a 32-octet seed (RFC
|
|
9495
|
+
* 9964, Sections 3-4)
|
|
9496
|
+
*/
|
|
10198
9497
|
priv?: string;
|
|
10199
9498
|
/** Additional RSA prime factors. */
|
|
10200
9499
|
oth?: Array<{
|
|
10201
|
-
/** Factor CRT exponent. */
|
|
9500
|
+
/** Factor CRT exponent, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
|
|
10202
9501
|
d?: string;
|
|
10203
|
-
/** Prime factor. */
|
|
9502
|
+
/** Prime factor, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
|
|
10204
9503
|
r?: string;
|
|
10205
|
-
/** Factor CRT coefficient. */
|
|
9504
|
+
/** Factor CRT coefficient, encoded as Base64urlUInt (RFC 7518, Section 6.3). */
|
|
10206
9505
|
t?: string;
|
|
10207
9506
|
}>;
|
|
10208
9507
|
};
|
|
10209
|
-
/** Flattened JWS verification input. */
|
|
9508
|
+
/** Flattened JWS JSON Serialization verification input. */
|
|
10210
9509
|
interface FlattenedJWSInput {
|
|
10211
9510
|
/** JWS Unprotected Header as a JSON object. Not integrity protected; omit when empty. */
|
|
10212
9511
|
header?: JWSHeaderParameters;
|
|
10213
|
-
/** Base64url-encoded
|
|
9512
|
+
/** Base64url-encoded JWS Payload; with `b64: false`, supply an unencoded string or Uint8Array. */
|
|
10214
9513
|
payload: string | Uint8Array;
|
|
10215
9514
|
/** Base64url-encoded UTF-8 JWS Protected Header. Integrity protected; omit when empty. */
|
|
10216
9515
|
protected?: string;
|
|
10217
|
-
/** Base64url-encoded signature or MAC. */
|
|
9516
|
+
/** Base64url-encoded JWS Signature (digital signature or MAC). */
|
|
10218
9517
|
signature: string;
|
|
10219
9518
|
}
|
|
10220
9519
|
/** Header Parameters common to JWE and JWS. */
|
|
10221
9520
|
interface JoseHeaderParameters {
|
|
10222
9521
|
/** "kid" (Key ID) Header Parameter */
|
|
10223
9522
|
kid?: string;
|
|
10224
|
-
/** X.509
|
|
9523
|
+
/** "x5t" (X.509 Certificate SHA-1 Thumbprint): base64url-encoded digest of the DER certificate. */
|
|
10225
9524
|
x5t?: string;
|
|
10226
|
-
/**
|
|
9525
|
+
/**
|
|
9526
|
+
* "x5c" (X.509 Certificate Chain): base64-encoded DER certificates (RFC 7517, Section 4.7; RFC
|
|
9527
|
+
* 7515, Section 4.1.6).
|
|
9528
|
+
*/
|
|
10227
9529
|
x5c?: string[];
|
|
10228
|
-
/** X.509 certificate
|
|
9530
|
+
/** "x5u" (X.509 URL) Header Parameter: URL of a PEM-encoded certificate or certificate chain. */
|
|
10229
9531
|
x5u?: string;
|
|
10230
|
-
/** JWK Set URL. */
|
|
9532
|
+
/** "jku" (JWK Set URL) Header Parameter (RFC 7515, Section 4.1.2). */
|
|
10231
9533
|
jku?: string;
|
|
10232
|
-
/**
|
|
9534
|
+
/**
|
|
9535
|
+
* "jwk" (JSON Web Key) Header Parameter: public JWK only; private and symmetric key parameters
|
|
9536
|
+
* are not permitted.
|
|
9537
|
+
*/
|
|
10233
9538
|
jwk?: Omit<JWK, 'd' | 'dp' | 'dq' | 'k' | 'p' | 'q' | 'qi' | 'priv' | 'oth'>;
|
|
10234
9539
|
/** "typ" (Type) Header Parameter */
|
|
10235
9540
|
typ?: string;
|
|
10236
|
-
/** Content
|
|
9541
|
+
/** "cty" (Content Type) Header Parameter (RFC 7515, Section 4.1.10). */
|
|
10237
9542
|
cty?: string;
|
|
10238
9543
|
}
|
|
10239
9544
|
/** Recognized JWS Header Parameters; additional members may also be present. */
|
|
@@ -10241,18 +9546,22 @@ interface JWSHeaderParameters extends JoseHeaderParameters {
|
|
|
10241
9546
|
/** JWS "alg" (Algorithm) Header Parameter */
|
|
10242
9547
|
alg?: JWSAlgorithm;
|
|
10243
9548
|
/**
|
|
10244
|
-
* Controls payload encoding and the JWS
|
|
9549
|
+
* Controls payload encoding and the JWS Signing Input as defined by
|
|
10245
9550
|
* {@link https://www.rfc-editor.org/info/rfc7797/ RFC7797}. Set to `false` and list `b64` in
|
|
10246
9551
|
* `crit` to use an unencoded payload.
|
|
10247
9552
|
*/
|
|
10248
9553
|
b64?: boolean;
|
|
10249
|
-
/**
|
|
9554
|
+
/**
|
|
9555
|
+
* "crit" (Critical) Header Parameter: names of extensions that must be understood and processed;
|
|
9556
|
+
* must be integrity protected (RFC 7515, Section 4.1.11).
|
|
9557
|
+
*/
|
|
10250
9558
|
crit?: string[];
|
|
10251
9559
|
/** Any other JWS Header member. */
|
|
10252
9560
|
[propName: string]: unknown;
|
|
10253
9561
|
}
|
|
10254
9562
|
/** JSON Web Key Set. */
|
|
10255
9563
|
interface JSONWebKeySet {
|
|
9564
|
+
/** "keys" Parameter: an array of JWKs (RFC 7517, Section 5.1). */
|
|
10256
9565
|
keys: JWK[];
|
|
10257
9566
|
}
|
|
10258
9567
|
/** The runtime's Web Crypto {@link !CryptoKey} representation accepted as key input. */
|
|
@@ -10274,8 +9583,6 @@ interface CryptoKeyStructuralFallback {
|
|
|
10274
9583
|
readonly type: string;
|
|
10275
9584
|
readonly usages: string[];
|
|
10276
9585
|
}
|
|
10277
|
-
//#endregion
|
|
10278
|
-
//#region node_modules/jose/dist/types/jwks/remote.d.ts
|
|
10279
9586
|
/**
|
|
10280
9587
|
* Configures a custom fetch implementation for remote JWKS retrieval.
|
|
10281
9588
|
*
|
|
@@ -10369,15 +9676,11 @@ interface RemoteJWKSet {
|
|
|
10369
9676
|
* @param url URL to fetch the JSON Web Key Set from.
|
|
10370
9677
|
*/
|
|
10371
9678
|
declare function createRemoteJWKSet(url: URL, options?: RemoteJWKSetOptions): RemoteJWKSet;
|
|
10372
|
-
//#endregion
|
|
10373
|
-
//#region src/user-management/interfaces/session-handler-options.interface.d.ts
|
|
10374
9679
|
interface SessionHandlerOptions {
|
|
10375
9680
|
sessionData: string;
|
|
10376
9681
|
cookiePassword?: string;
|
|
10377
9682
|
organizationId?: string;
|
|
10378
9683
|
}
|
|
10379
|
-
//#endregion
|
|
10380
|
-
//#region src/user-management/session.d.ts
|
|
10381
9684
|
type RefreshOptions = {
|
|
10382
9685
|
cookiePassword?: string;
|
|
10383
9686
|
organizationId?: string;
|
|
@@ -10415,8 +9718,6 @@ declare class CookieSession {
|
|
|
10415
9718
|
returnTo?: string;
|
|
10416
9719
|
}): Promise<string>;
|
|
10417
9720
|
}
|
|
10418
|
-
//#endregion
|
|
10419
|
-
//#region src/user-management/user-management.d.ts
|
|
10420
9721
|
declare class UserManagement {
|
|
10421
9722
|
private readonly workos;
|
|
10422
9723
|
private _jwks;
|
|
@@ -10568,13 +9869,6 @@ declare class UserManagement {
|
|
|
10568
9869
|
* the token; errors that are not JWT validation failures propagate.
|
|
10569
9870
|
*/
|
|
10570
9871
|
private verifyJwt;
|
|
10571
|
-
/**
|
|
10572
|
-
* Whether a jose error means the presented token is invalid, as opposed to
|
|
10573
|
-
* a failure to verify it at all. Network errors, JWKS timeouts and crypto
|
|
10574
|
-
* failures propagate so they surface as errors rather than as rejected
|
|
10575
|
-
* tokens.
|
|
10576
|
-
*/
|
|
10577
|
-
private static isJwtValidationError;
|
|
10578
9872
|
private prepareAuthenticationResponse;
|
|
10579
9873
|
private sealSessionDataFromAuthenticationResponse;
|
|
10580
9874
|
getSessionFromCookie({ sessionData, cookiePassword }: SessionHandlerOptions): Promise<SessionCookieData | undefined>;
|
|
@@ -11012,8 +10306,6 @@ declare class UserManagement {
|
|
|
11012
10306
|
getLogoutUrl(options: LogoutURLOptions): string;
|
|
11013
10307
|
getJwksUrl(clientId: string): string;
|
|
11014
10308
|
}
|
|
11015
|
-
//#endregion
|
|
11016
|
-
//#region src/feature-flags/event-emitter.d.ts
|
|
11017
10309
|
type Listener<Args extends unknown[]> = (...args: Args) => void;
|
|
11018
10310
|
/**
|
|
11019
10311
|
* Minimal, runtime-agnostic, typed event emitter.
|
|
@@ -11042,8 +10334,6 @@ declare class EventEmitter<Events extends Record<keyof Events, unknown[]>> {
|
|
|
11042
10334
|
private add;
|
|
11043
10335
|
private remove;
|
|
11044
10336
|
}
|
|
11045
|
-
//#endregion
|
|
11046
|
-
//#region src/feature-flags/runtime-client.d.ts
|
|
11047
10337
|
interface RuntimeClientEvents {
|
|
11048
10338
|
change: [FlagChange];
|
|
11049
10339
|
error: [Error];
|
|
@@ -11082,8 +10372,6 @@ declare class FeatureFlagsRuntimeClient extends EventEmitter<RuntimeClientEvents
|
|
|
11082
10372
|
private emitChanges;
|
|
11083
10373
|
private hasEntryChanged;
|
|
11084
10374
|
}
|
|
11085
|
-
//#endregion
|
|
11086
|
-
//#region src/feature-flags/feature-flags.d.ts
|
|
11087
10375
|
declare class FeatureFlags {
|
|
11088
10376
|
private readonly workos;
|
|
11089
10377
|
constructor(workos: WorkOS);
|
|
@@ -11207,8 +10495,6 @@ declare class FeatureFlags {
|
|
|
11207
10495
|
listUserFeatureFlags(options: ListUserFeatureFlagsOptions): Promise<AutoPaginatable<FeatureFlag>>;
|
|
11208
10496
|
createRuntimeClient(options?: RuntimeClientOptions): FeatureFlagsRuntimeClient;
|
|
11209
10497
|
}
|
|
11210
|
-
//#endregion
|
|
11211
|
-
//#region src/groups/groups.d.ts
|
|
11212
10498
|
declare class Groups {
|
|
11213
10499
|
private readonly workos;
|
|
11214
10500
|
constructor(workos: WorkOS);
|
|
@@ -11339,8 +10625,6 @@ declare class Groups {
|
|
|
11339
10625
|
*/
|
|
11340
10626
|
removeOrganizationMembership(options: RemoveGroupOrganizationMembershipOptions): Promise<void>;
|
|
11341
10627
|
}
|
|
11342
|
-
//#endregion
|
|
11343
|
-
//#region src/widgets/interfaces/widget-session-token-scopes.interface.d.ts
|
|
11344
10628
|
declare const WidgetSessionTokenScopes: {
|
|
11345
10629
|
readonly WidgetsUsersTableManage: "widgets:users-table:manage";
|
|
11346
10630
|
readonly WidgetsUserApiKeysManageSelf: "widgets:user-api-keys:manage-self";
|
|
@@ -11353,8 +10637,6 @@ declare const WidgetSessionTokenScopes: {
|
|
|
11353
10637
|
readonly WidgetsPipesManage: "widgets:pipes:manage";
|
|
11354
10638
|
};
|
|
11355
10639
|
type WidgetSessionTokenScopes = (typeof WidgetSessionTokenScopes)[keyof typeof WidgetSessionTokenScopes];
|
|
11356
|
-
//#endregion
|
|
11357
|
-
//#region src/widgets/interfaces/create-token-options.interface.d.ts
|
|
11358
10640
|
interface CreateTokenOptions {
|
|
11359
10641
|
/** The ID of the organization to scope the widget session to. */
|
|
11360
10642
|
organizationId: string;
|
|
@@ -11363,8 +10645,6 @@ interface CreateTokenOptions {
|
|
|
11363
10645
|
/** The scopes to grant the widget session. */
|
|
11364
10646
|
scopes?: WidgetSessionTokenScopes[];
|
|
11365
10647
|
}
|
|
11366
|
-
//#endregion
|
|
11367
|
-
//#region src/widgets/interfaces/widget-session-token-response.interface.d.ts
|
|
11368
10648
|
interface WidgetSessionTokenResponse {
|
|
11369
10649
|
/** The widget session token. */
|
|
11370
10650
|
token: string;
|
|
@@ -11372,8 +10652,6 @@ interface WidgetSessionTokenResponse {
|
|
|
11372
10652
|
interface WidgetSessionTokenResponseWire {
|
|
11373
10653
|
token: string;
|
|
11374
10654
|
}
|
|
11375
|
-
//#endregion
|
|
11376
|
-
//#region src/widgets/widgets.d.ts
|
|
11377
10655
|
declare class Widgets {
|
|
11378
10656
|
private readonly workos;
|
|
11379
10657
|
constructor(workos: WorkOS);
|
|
@@ -11389,8 +10667,6 @@ declare class Widgets {
|
|
|
11389
10667
|
*/
|
|
11390
10668
|
createToken(options: CreateTokenOptions): Promise<WidgetSessionTokenResponse>;
|
|
11391
10669
|
}
|
|
11392
|
-
//#endregion
|
|
11393
|
-
//#region src/authorization/authorization.d.ts
|
|
11394
10670
|
declare class Authorization {
|
|
11395
10671
|
private readonly workos;
|
|
11396
10672
|
constructor(workos: WorkOS);
|
|
@@ -12136,13 +11412,9 @@ declare class Authorization {
|
|
|
12136
11412
|
*/
|
|
12137
11413
|
listEffectivePermissionsByExternalId(options: ListEffectivePermissionsByExternalIdOptions): Promise<AutoPaginatable<Permission>>;
|
|
12138
11414
|
}
|
|
12139
|
-
//#endregion
|
|
12140
|
-
//#region src/vault/interfaces/key/create-data-key.interface.d.ts
|
|
12141
11415
|
interface CreateDataKeyOptions {
|
|
12142
11416
|
context: KeyContext;
|
|
12143
11417
|
}
|
|
12144
|
-
//#endregion
|
|
12145
|
-
//#region src/vault/interfaces/key/decrypt-data-key.interface.d.ts
|
|
12146
11418
|
interface DecryptDataKeyOptions {
|
|
12147
11419
|
keys: string;
|
|
12148
11420
|
}
|
|
@@ -12150,24 +11422,18 @@ interface DecryptDataKeyResponse {
|
|
|
12150
11422
|
data_key: string;
|
|
12151
11423
|
id: string;
|
|
12152
11424
|
}
|
|
12153
|
-
//#endregion
|
|
12154
|
-
//#region src/vault/interfaces/create-rekey-options.interface.d.ts
|
|
12155
11425
|
interface CreateRekeyOptions {
|
|
12156
11426
|
/** Map of values used to determine the new encryption key. */
|
|
12157
11427
|
context: Record<string, string>;
|
|
12158
11428
|
/** Base64-encoded encrypted data key blob to re-encrypt. */
|
|
12159
11429
|
encryptedKeys: string;
|
|
12160
11430
|
}
|
|
12161
|
-
//#endregion
|
|
12162
|
-
//#region src/vault/interfaces/list-objects-options.interface.d.ts
|
|
12163
11431
|
interface ListObjectsOptions extends PaginationOptions {
|
|
12164
11432
|
/** Filter results by name or structured search JSON. */
|
|
12165
11433
|
search?: string;
|
|
12166
11434
|
/** ISO 8601 timestamp to filter by last modified time. */
|
|
12167
11435
|
updatedAfter?: Date;
|
|
12168
11436
|
}
|
|
12169
|
-
//#endregion
|
|
12170
|
-
//#region src/vault/interfaces/object/create-object.interface.d.ts
|
|
12171
11437
|
interface CreateObjectEntity {
|
|
12172
11438
|
name: string;
|
|
12173
11439
|
value: string;
|
|
@@ -12178,13 +11444,9 @@ interface CreateObjectOptions {
|
|
|
12178
11444
|
value: string;
|
|
12179
11445
|
context: KeyContext;
|
|
12180
11446
|
}
|
|
12181
|
-
//#endregion
|
|
12182
|
-
//#region src/vault/interfaces/object/read-object.interface.d.ts
|
|
12183
11447
|
interface ReadObjectOptions {
|
|
12184
11448
|
id: string;
|
|
12185
11449
|
}
|
|
12186
|
-
//#endregion
|
|
12187
|
-
//#region src/vault/interfaces/object/update-object.interface.d.ts
|
|
12188
11450
|
interface UpdateObjectEntity {
|
|
12189
11451
|
value: string;
|
|
12190
11452
|
version_check?: string;
|
|
@@ -12194,16 +11456,12 @@ interface UpdateObjectOptions {
|
|
|
12194
11456
|
value: string;
|
|
12195
11457
|
versionCheck?: string;
|
|
12196
11458
|
}
|
|
12197
|
-
//#endregion
|
|
12198
|
-
//#region src/vault/interfaces/delete-vault-object-options.interface.d.ts
|
|
12199
11459
|
interface DeleteVaultObjectOptions {
|
|
12200
11460
|
/** Unique identifier of the object. */
|
|
12201
11461
|
id: string;
|
|
12202
11462
|
/** Expected current version for optimistic locking. */
|
|
12203
11463
|
versionCheck?: string;
|
|
12204
11464
|
}
|
|
12205
|
-
//#endregion
|
|
12206
|
-
//#region src/vault/interfaces/create-data-key-response.interface.d.ts
|
|
12207
11465
|
interface CreateDataKeyResponse {
|
|
12208
11466
|
/** Map of values used to determine the encryption key. */
|
|
12209
11467
|
context: Record<string, string>;
|
|
@@ -12220,8 +11478,6 @@ interface CreateDataKeyResponseWire {
|
|
|
12220
11478
|
encrypted_keys: string;
|
|
12221
11479
|
id: string;
|
|
12222
11480
|
}
|
|
12223
|
-
//#endregion
|
|
12224
|
-
//#region src/vault/interfaces/actor.interface.d.ts
|
|
12225
11481
|
/** The user or API key that performed an action. */
|
|
12226
11482
|
interface Actor {
|
|
12227
11483
|
/** Unique identifier of the actor. */
|
|
@@ -12233,8 +11489,6 @@ interface ActorResponse {
|
|
|
12233
11489
|
id: string;
|
|
12234
11490
|
name: string;
|
|
12235
11491
|
}
|
|
12236
|
-
//#endregion
|
|
12237
|
-
//#region src/vault/interfaces/object-metadata.interface.d.ts
|
|
12238
11492
|
/** Metadata for a stored encrypted object. */
|
|
12239
11493
|
interface ObjectMetadata {
|
|
12240
11494
|
/** Map of values used to determine the encryption key. */
|
|
@@ -12260,8 +11514,6 @@ interface ObjectMetadataResponse {
|
|
|
12260
11514
|
updated_by: ActorResponse;
|
|
12261
11515
|
version_id?: string | null;
|
|
12262
11516
|
}
|
|
12263
|
-
//#endregion
|
|
12264
|
-
//#region src/vault/interfaces/vault-object.interface.d.ts
|
|
12265
11517
|
/** An encrypted object with its decrypted value and metadata. */
|
|
12266
11518
|
interface VaultObject {
|
|
12267
11519
|
/** Unique identifier of the object. */
|
|
@@ -12278,8 +11530,6 @@ interface VaultObjectResponse {
|
|
|
12278
11530
|
name: string;
|
|
12279
11531
|
value: string;
|
|
12280
11532
|
}
|
|
12281
|
-
//#endregion
|
|
12282
|
-
//#region src/vault/interfaces/object-version.interface.d.ts
|
|
12283
11533
|
/** A static snapshot of an encrypted object. */
|
|
12284
11534
|
interface ObjectVersion {
|
|
12285
11535
|
/** Timestamp when the version was created. */
|
|
@@ -12300,8 +11550,6 @@ interface ObjectVersionResponse {
|
|
|
12300
11550
|
id: string;
|
|
12301
11551
|
size?: number;
|
|
12302
11552
|
}
|
|
12303
|
-
//#endregion
|
|
12304
|
-
//#region src/vault/interfaces/list-metadata.interface.d.ts
|
|
12305
11553
|
/** Cursor-based pagination metadata. */
|
|
12306
11554
|
interface ListMetadata {
|
|
12307
11555
|
/** Cursor for the next page of results. */
|
|
@@ -12309,15 +11557,11 @@ interface ListMetadata {
|
|
|
12309
11557
|
/** Cursor for the previous page of results. */
|
|
12310
11558
|
before?: string | null;
|
|
12311
11559
|
}
|
|
12312
|
-
//#endregion
|
|
12313
|
-
//#region src/vault/interfaces/version-list-response.interface.d.ts
|
|
12314
11560
|
interface VersionListResponse {
|
|
12315
11561
|
/** List of object versions. */
|
|
12316
11562
|
data: ObjectVersion[];
|
|
12317
11563
|
listMetadata: ListMetadata;
|
|
12318
11564
|
}
|
|
12319
|
-
//#endregion
|
|
12320
|
-
//#region src/vault/interfaces/object-summary.interface.d.ts
|
|
12321
11565
|
/** Summary of an encrypted object returned in list responses. */
|
|
12322
11566
|
interface ObjectSummary {
|
|
12323
11567
|
/** Unique identifier of the object. */
|
|
@@ -12332,14 +11576,10 @@ interface ObjectSummaryResponse {
|
|
|
12332
11576
|
name: string;
|
|
12333
11577
|
updated_at?: string | null;
|
|
12334
11578
|
}
|
|
12335
|
-
//#endregion
|
|
12336
|
-
//#region src/vault/interfaces/read-object-by-name-options.interface.d.ts
|
|
12337
11579
|
interface ReadObjectByNameOptions {
|
|
12338
11580
|
/** Unique name of the object. */
|
|
12339
11581
|
name: string;
|
|
12340
11582
|
}
|
|
12341
|
-
//#endregion
|
|
12342
|
-
//#region src/vault/vault.d.ts
|
|
12343
11583
|
declare class Vault {
|
|
12344
11584
|
private readonly workos;
|
|
12345
11585
|
constructor(workos: WorkOS);
|
|
@@ -12489,8 +11729,6 @@ declare class Vault {
|
|
|
12489
11729
|
decrypt(encryptedData: string, associatedData?: string): Promise<string>;
|
|
12490
11730
|
encrypt(data: string, context: KeyContext, associatedData?: string): Promise<string>;
|
|
12491
11731
|
}
|
|
12492
|
-
//#endregion
|
|
12493
|
-
//#region src/workos.d.ts
|
|
12494
11732
|
/** WorkOS REST API */
|
|
12495
11733
|
declare class WorkOS {
|
|
12496
11734
|
readonly baseURL: string;
|
|
@@ -12583,11 +11821,7 @@ declare class WorkOS {
|
|
|
12583
11821
|
error: unknown;
|
|
12584
11822
|
}): void;
|
|
12585
11823
|
}
|
|
12586
|
-
//#endregion
|
|
12587
|
-
//#region src/webhooks/interfaces/list-webhook-endpoints-options.interface.d.ts
|
|
12588
11824
|
type ListWebhookEndpointsOptions = PaginationOptions;
|
|
12589
|
-
//#endregion
|
|
12590
|
-
//#region src/webhooks/interfaces/create-webhook-endpoint-events.interface.d.ts
|
|
12591
11825
|
declare const CreateWebhookEndpointEvents: {
|
|
12592
11826
|
readonly AgentBlueprintCreated: "agent.blueprint.created";
|
|
12593
11827
|
readonly AgentBlueprintDeleted: "agent.blueprint.deleted";
|
|
@@ -12696,23 +11930,17 @@ declare const CreateWebhookEndpointEvents: {
|
|
|
12696
11930
|
readonly WaitlistUserDenied: "waitlist_user.denied";
|
|
12697
11931
|
};
|
|
12698
11932
|
type CreateWebhookEndpointEvents = (typeof CreateWebhookEndpointEvents)[keyof typeof CreateWebhookEndpointEvents];
|
|
12699
|
-
//#endregion
|
|
12700
|
-
//#region src/webhooks/interfaces/create-webhook-endpoint-options.interface.d.ts
|
|
12701
11933
|
interface CreateWebhookEndpointOptions {
|
|
12702
11934
|
/** The HTTPS URL where webhooks will be sent. */
|
|
12703
11935
|
endpointUrl: string;
|
|
12704
11936
|
/** The events that the Webhook Endpoint is subscribed to. */
|
|
12705
11937
|
events: CreateWebhookEndpointEvents[];
|
|
12706
11938
|
}
|
|
12707
|
-
//#endregion
|
|
12708
|
-
//#region src/webhooks/interfaces/update-webhook-endpoint-status.interface.d.ts
|
|
12709
11939
|
declare const UpdateWebhookEndpointStatus: {
|
|
12710
11940
|
readonly Enabled: "enabled";
|
|
12711
11941
|
readonly Disabled: "disabled";
|
|
12712
11942
|
};
|
|
12713
11943
|
type UpdateWebhookEndpointStatus = (typeof UpdateWebhookEndpointStatus)[keyof typeof UpdateWebhookEndpointStatus];
|
|
12714
|
-
//#endregion
|
|
12715
|
-
//#region src/webhooks/interfaces/update-webhook-endpoint-events.interface.d.ts
|
|
12716
11944
|
declare const UpdateWebhookEndpointEvents: {
|
|
12717
11945
|
readonly AgentBlueprintCreated: "agent.blueprint.created";
|
|
12718
11946
|
readonly AgentBlueprintDeleted: "agent.blueprint.deleted";
|
|
@@ -12821,8 +12049,6 @@ declare const UpdateWebhookEndpointEvents: {
|
|
|
12821
12049
|
readonly WaitlistUserDenied: "waitlist_user.denied";
|
|
12822
12050
|
};
|
|
12823
12051
|
type UpdateWebhookEndpointEvents = (typeof UpdateWebhookEndpointEvents)[keyof typeof UpdateWebhookEndpointEvents];
|
|
12824
|
-
//#endregion
|
|
12825
|
-
//#region src/webhooks/interfaces/update-webhook-endpoint-options.interface.d.ts
|
|
12826
12052
|
interface UpdateWebhookEndpointOptions {
|
|
12827
12053
|
/** Unique identifier of the Webhook Endpoint. */
|
|
12828
12054
|
id: string;
|
|
@@ -12833,21 +12059,15 @@ interface UpdateWebhookEndpointOptions {
|
|
|
12833
12059
|
/** The events that the Webhook Endpoint is subscribed to. */
|
|
12834
12060
|
events?: UpdateWebhookEndpointEvents[];
|
|
12835
12061
|
}
|
|
12836
|
-
//#endregion
|
|
12837
|
-
//#region src/webhooks/interfaces/delete-webhook-endpoint-options.interface.d.ts
|
|
12838
12062
|
interface DeleteWebhookEndpointOptions {
|
|
12839
12063
|
/** Unique identifier of the Webhook Endpoint. */
|
|
12840
12064
|
id: string;
|
|
12841
12065
|
}
|
|
12842
|
-
//#endregion
|
|
12843
|
-
//#region src/webhooks/interfaces/webhook-endpoint-status.interface.d.ts
|
|
12844
12066
|
declare const WebhookEndpointStatus: {
|
|
12845
12067
|
readonly Enabled: "enabled";
|
|
12846
12068
|
readonly Disabled: "disabled";
|
|
12847
12069
|
};
|
|
12848
12070
|
type WebhookEndpointStatus = (typeof WebhookEndpointStatus)[keyof typeof WebhookEndpointStatus];
|
|
12849
|
-
//#endregion
|
|
12850
|
-
//#region src/webhooks/interfaces/webhook-endpoint.interface.d.ts
|
|
12851
12071
|
interface WebhookEndpoint {
|
|
12852
12072
|
/** Distinguishes the Webhook Endpoint object. */
|
|
12853
12073
|
object: 'webhook_endpoint';
|
|
@@ -12876,8 +12096,6 @@ interface WebhookEndpointResponse {
|
|
|
12876
12096
|
created_at: string;
|
|
12877
12097
|
updated_at: string;
|
|
12878
12098
|
}
|
|
12879
|
-
//#endregion
|
|
12880
|
-
//#region src/webhooks/webhooks.d.ts
|
|
12881
12099
|
declare class Webhooks {
|
|
12882
12100
|
private readonly workos;
|
|
12883
12101
|
constructor(workos: WorkOS);
|
|
@@ -12951,23 +12169,17 @@ declare class Webhooks {
|
|
|
12951
12169
|
}): Promise<Event>;
|
|
12952
12170
|
private parseVerifiedPayload;
|
|
12953
12171
|
}
|
|
12954
|
-
//#endregion
|
|
12955
|
-
//#region src/common/exceptions/api-key-required.exception.d.ts
|
|
12956
12172
|
declare class ApiKeyRequiredException extends Error {
|
|
12957
12173
|
readonly status = 403;
|
|
12958
12174
|
readonly name = "ApiKeyRequiredException";
|
|
12959
12175
|
readonly path: string;
|
|
12960
12176
|
constructor(path: string);
|
|
12961
12177
|
}
|
|
12962
|
-
//#endregion
|
|
12963
|
-
//#region src/common/interfaces/request-exception.interface.d.ts
|
|
12964
12178
|
interface RequestException {
|
|
12965
12179
|
readonly status: number;
|
|
12966
12180
|
readonly message: string;
|
|
12967
12181
|
readonly requestID: string;
|
|
12968
12182
|
}
|
|
12969
|
-
//#endregion
|
|
12970
|
-
//#region src/common/exceptions/generic-server.exception.d.ts
|
|
12971
12183
|
interface WorkOSErrorData {
|
|
12972
12184
|
code?: string;
|
|
12973
12185
|
message?: string;
|
|
@@ -12982,8 +12194,6 @@ declare class GenericServerException extends Error implements RequestException {
|
|
|
12982
12194
|
readonly code: string | undefined;
|
|
12983
12195
|
constructor(status: number, message: string | undefined, rawData: WorkOSErrorData, requestID: string);
|
|
12984
12196
|
}
|
|
12985
|
-
//#endregion
|
|
12986
|
-
//#region src/common/exceptions/authentication.exception.d.ts
|
|
12987
12197
|
type AuthenticationErrorCode = 'email_verification_required' | 'organization_selection_required' | 'mfa_enrollment' | 'mfa_challenge' | 'mfa_verification' | 'radar_email_challenge' | 'radar_sms_challenge' | 'sso_required';
|
|
12988
12198
|
interface BaseAuthenticationErrorData extends WorkOSErrorData {
|
|
12989
12199
|
pending_authentication_token?: string;
|
|
@@ -13010,8 +12220,6 @@ declare class AuthenticationException extends GenericServerException {
|
|
|
13010
12220
|
readonly radarChallengeId: string | undefined;
|
|
13011
12221
|
constructor(status: number, rawData: AuthenticationErrorData, requestID: string);
|
|
13012
12222
|
}
|
|
13013
|
-
//#endregion
|
|
13014
|
-
//#region src/common/exceptions/bad-request.exception.d.ts
|
|
13015
12223
|
declare class BadRequestException extends Error implements RequestException {
|
|
13016
12224
|
readonly status = 400;
|
|
13017
12225
|
readonly name = "BadRequestException";
|
|
@@ -13026,8 +12234,6 @@ declare class BadRequestException extends Error implements RequestException {
|
|
|
13026
12234
|
requestID: string;
|
|
13027
12235
|
});
|
|
13028
12236
|
}
|
|
13029
|
-
//#endregion
|
|
13030
|
-
//#region src/common/exceptions/conflict.exception.d.ts
|
|
13031
12237
|
declare class ConflictException extends Error implements RequestException {
|
|
13032
12238
|
readonly status = 409;
|
|
13033
12239
|
readonly name = "ConflictException";
|
|
@@ -13040,15 +12246,11 @@ declare class ConflictException extends Error implements RequestException {
|
|
|
13040
12246
|
code?: string;
|
|
13041
12247
|
});
|
|
13042
12248
|
}
|
|
13043
|
-
//#endregion
|
|
13044
|
-
//#region src/common/exceptions/no-api-key-provided.exception.d.ts
|
|
13045
12249
|
declare class NoApiKeyProvidedException extends Error {
|
|
13046
12250
|
readonly status = 500;
|
|
13047
12251
|
readonly name = "NoApiKeyProvidedException";
|
|
13048
12252
|
readonly message: string;
|
|
13049
12253
|
}
|
|
13050
|
-
//#endregion
|
|
13051
|
-
//#region src/common/exceptions/not-found.exception.d.ts
|
|
13052
12254
|
declare class NotFoundException extends Error implements RequestException {
|
|
13053
12255
|
readonly status = 404;
|
|
13054
12256
|
readonly name = "NotFoundException";
|
|
@@ -13062,8 +12264,6 @@ declare class NotFoundException extends Error implements RequestException {
|
|
|
13062
12264
|
requestID: string;
|
|
13063
12265
|
});
|
|
13064
12266
|
}
|
|
13065
|
-
//#endregion
|
|
13066
|
-
//#region src/common/exceptions/oauth.exception.d.ts
|
|
13067
12267
|
declare class OauthException extends Error implements RequestException {
|
|
13068
12268
|
readonly status: number;
|
|
13069
12269
|
readonly requestID: string;
|
|
@@ -13073,8 +12273,6 @@ declare class OauthException extends Error implements RequestException {
|
|
|
13073
12273
|
readonly name = "OauthException";
|
|
13074
12274
|
constructor(status: number, requestID: string, error: string | undefined, errorDescription: string | undefined, rawData: unknown);
|
|
13075
12275
|
}
|
|
13076
|
-
//#endregion
|
|
13077
|
-
//#region src/common/exceptions/rate-limit-exceeded.exception.d.ts
|
|
13078
12276
|
declare class RateLimitExceededException extends GenericServerException {
|
|
13079
12277
|
/**
|
|
13080
12278
|
* The number of seconds to wait before retrying the request.
|
|
@@ -13087,14 +12285,10 @@ declare class RateLimitExceededException extends GenericServerException {
|
|
|
13087
12285
|
*/
|
|
13088
12286
|
retryAfter: number | null);
|
|
13089
12287
|
}
|
|
13090
|
-
//#endregion
|
|
13091
|
-
//#region src/common/exceptions/signature-verification.exception.d.ts
|
|
13092
12288
|
declare class SignatureVerificationException extends Error {
|
|
13093
12289
|
readonly name = "SignatureVerificationException";
|
|
13094
12290
|
constructor(message: string);
|
|
13095
12291
|
}
|
|
13096
|
-
//#endregion
|
|
13097
|
-
//#region src/common/exceptions/unauthorized.exception.d.ts
|
|
13098
12292
|
declare class UnauthorizedException extends Error implements RequestException {
|
|
13099
12293
|
readonly requestID: string;
|
|
13100
12294
|
readonly status = 401;
|
|
@@ -13102,8 +12296,6 @@ declare class UnauthorizedException extends Error implements RequestException {
|
|
|
13102
12296
|
readonly message: string;
|
|
13103
12297
|
constructor(requestID: string);
|
|
13104
12298
|
}
|
|
13105
|
-
//#endregion
|
|
13106
|
-
//#region src/common/exceptions/unprocessable-entity.exception.d.ts
|
|
13107
12299
|
declare class UnprocessableEntityException extends Error implements RequestException {
|
|
13108
12300
|
readonly status = 422;
|
|
13109
12301
|
readonly name = "UnprocessableEntityException";
|
|
@@ -13118,8 +12310,6 @@ declare class UnprocessableEntityException extends Error implements RequestExcep
|
|
|
13118
12310
|
requestID: string;
|
|
13119
12311
|
});
|
|
13120
12312
|
}
|
|
13121
|
-
//#endregion
|
|
13122
|
-
//#region src/feature-flags/create-rule-with-targets-error.d.ts
|
|
13123
12313
|
/** A rule was created, but adding one of its targets failed. */
|
|
13124
12314
|
declare class CreateRuleWithTargetsError extends Error {
|
|
13125
12315
|
readonly rule: FlagRule;
|
|
@@ -13131,8 +12321,6 @@ declare class CreateRuleWithTargetsError extends Error {
|
|
|
13131
12321
|
/** Memberships confirmed by the API before the failure. */
|
|
13132
12322
|
targets: FlagTarget[], failedTargetId: string, cause: unknown);
|
|
13133
12323
|
}
|
|
13134
|
-
//#endregion
|
|
13135
|
-
//#region src/admin-portal/interfaces/sso-intent-options.interface.d.ts
|
|
13136
12324
|
interface SSOIntentOptions {
|
|
13137
12325
|
/** The bookmark slug to use for SSO. */
|
|
13138
12326
|
bookmarkSlug?: string;
|
|
@@ -13143,8 +12331,6 @@ interface SSOIntentOptionsResponse {
|
|
|
13143
12331
|
bookmark_slug?: string;
|
|
13144
12332
|
provider_type?: 'GoogleSAML';
|
|
13145
12333
|
}
|
|
13146
|
-
//#endregion
|
|
13147
|
-
//#region src/admin-portal/interfaces/intent-options.interface.d.ts
|
|
13148
12334
|
interface IntentOptions {
|
|
13149
12335
|
/** SSO-specific options for the Admin Portal. */
|
|
13150
12336
|
sso: SSOIntentOptions;
|
|
@@ -13152,8 +12338,6 @@ interface IntentOptions {
|
|
|
13152
12338
|
interface IntentOptionsResponse {
|
|
13153
12339
|
sso: SSOIntentOptionsResponse;
|
|
13154
12340
|
}
|
|
13155
|
-
//#endregion
|
|
13156
|
-
//#region src/admin-portal/interfaces/generate-link.interface.d.ts
|
|
13157
12341
|
interface GenerateLink {
|
|
13158
12342
|
/** The URL to go to when an admin clicks on your logo in the Admin Portal. If not specified, the return URL configured on the [Redirects](https://dashboard.workos.com/redirects) page will be used. */
|
|
13159
12343
|
returnUrl?: string;
|
|
@@ -13189,8 +12373,6 @@ interface GenerateLinkResponse {
|
|
|
13189
12373
|
it_contact_emails?: string[];
|
|
13190
12374
|
external_user_id?: string;
|
|
13191
12375
|
}
|
|
13192
|
-
//#endregion
|
|
13193
|
-
//#region src/admin-portal/interfaces/portal-link-response.interface.d.ts
|
|
13194
12376
|
interface PortalLinkResponse {
|
|
13195
12377
|
/** An ephemeral link to initiate the Admin Portal. */
|
|
13196
12378
|
link: string;
|
|
@@ -13198,8 +12380,6 @@ interface PortalLinkResponse {
|
|
|
13198
12380
|
interface PortalLinkResponseWire {
|
|
13199
12381
|
link: string;
|
|
13200
12382
|
}
|
|
13201
|
-
//#endregion
|
|
13202
|
-
//#region src/factory.d.ts
|
|
13203
12383
|
/**
|
|
13204
12384
|
* Method names available without API key - single source of truth.
|
|
13205
12385
|
* Add new public methods here to expose them on PublicUserManagement.
|
|
@@ -13272,6 +12452,4 @@ interface ConfidentialClientOptions extends WorkOSOptions {
|
|
|
13272
12452
|
*/
|
|
13273
12453
|
declare function createWorkOS(options: PublicClientOptions): PublicWorkOS;
|
|
13274
12454
|
declare function createWorkOS(options: ConfidentialClientOptions): WorkOS;
|
|
13275
|
-
//#endregion
|
|
13276
|
-
export { UpdateObjectOptions as $, CreateGroupRoleAssignmentOptionsForOrganization as $_, FeatureFlagsFlagRuleCreatedEventResponse as $a, WaitlistUserDeniedEvent as $c, ResourceExportResourceType as $d, SerializedSendRadarSmsChallengeOptions as $f, ConnectionResponse as $g, AuthenticateWithMagicAuthOptions as $h, ConnectionDeactivatedEvent as $i, DataIntegrationState as $l, UserConsentOptionResponse as $m, OrganizationResponse as $n, OrganizationDomainVerificationFailedEventResponse as $o, InvitationResponse as $p, AgentRegistrationDeletedEvent as $r, ResourceExportCreatedEvent as $s, RadarListType as $t, ConnectedAccountAuthMethod as $u, SerializedUpdateAuthorizationResourceOptions as $v, AgentRegistrationClaimCompletedEventResponseData as $y, WorkOSErrorData as A, RoleEvent as A_, DsyncUserUpdatedEventResponse as Aa, ListAgentBlueprintsOptions as Ab, VaultDataDeletedEventResponse as Ac, FlagPollResponse as Ad, WaitlistUserEventResponseData as Af, ProfileAndToken as Ag, AuthenticationEventStatus as Ah, AuthenticationOAuthSucceededEventResponse as Ai, DataIntegrationsUpsertClientCredentialsRequestConnectionOwner as Al, GetApplicationOptions as Am, RefreshAgentTokenOptions as An, InvitationAcceptedEvent as Ao, ListUsersOptions as Ap, ActionUserRegistrationDeniedEventResponse as Ar, PipesAccountConnectionConnectionFailedEvent as As, AuditLogSchemaMetadata as At, CreateDataIntegrationOwnership as Au, ListMembershipsForResourceByExternalIdOptions as Av, DirectoryToken as Ay, ObjectSummary as B, GroupRoleAssignmentEntryWithResourceId as B_, FeatureFlagEventData as Ba, HttpClientResponseInterface as Bb, VaultDekRekeyedEventResponse as Bc, FlagTarget as Bd, UpdateUserPasswordOptions as Bf, ConnectionEventConnection as Bg, AuthenticateUserWithPasswordCredentials as Bh, AuthenticationRadarRiskDetectedEventResponse as Bi, DataIntegrationsListResponseDataConnectedAccount as Bl, RedirectUriInput as Bm, PKCEPair as Bn, MagicAuthCreatedEvent as Bo, AuthorizationOrganizationMembershipResponse as Bp, AgentInstanceDeletedEventResponse as Br, PipesConnectedAccountConnectionFailedEventResponse as Bs, VerifyChallengeOptions as Bt, DataIntegrationsVendCredentialsRequestConnectionOwner as Bu, SerializedAuthorizationCheckOptions as Bv, DirectoryGroupResponse as By, ConflictException as C, DirectoryUserWithGroups as C_, DsyncTokenRevokedEvent as Ca, ListAgentInstancesOptions as Cb, VaultByokKeyDeletedEvent as Cc, RemoveFlagTargetOptions as Cd, OrganizationDomain as Cf, AuthenticationResponseResponse as Cg, TotpWithSecretsResponse as Ch, AuthenticationMfaFailedEvent as Ci, FinishConnectionOptions as Cl, TokenExchangeResponse as Cm, SerializedClaimAttemptResponse as Cn, GroupMemberAddedEventResponse as Co, LogoutURLOptions as Cp, List as Cr, PermissionDeletedEventResponse as Cs, CreateAuditLogEventOptions as Ct, DataIntegrationAccessTokenResponseAccessTokenResponse as Cu, RoleAssignment as Cv, EnvironmentRoleList as Cy, AuthenticationException as D, OrganizationRoleEventResponse as D_, DsyncUserDeletedEvent as Da, AgentBlueprintInvocableBy as Db, VaultDataCreatedEvent as Dc, FlagChange as Dd, CreateOrganizationDomainOptions as Df, UserResponse as Dg, AuthenticationEventResponse as Dh, AuthenticationOAuthFailedEvent as Di, DeleteDataIntegrationOptions as Dl, NewConnectApplicationSecretResponse as Dm, MintAgentTokenOptions as Dn, GroupMemberRemovedEventResponse as Do, WaitlistEntry as Dp, ActionAuthenticationDeniedEvent as Dr, PipesAccountConnectionAddFailedEventResponse as Ds, AuditLogsRetentionResponse as Dt, CreateDataIntegrationOptions as Du, RoleAssignmentRole as Dv, DirectoryUserWithGroupsEmail as Dy, AuthenticationErrorData as E, OrganizationRoleEvent as E_, DsyncUserCreatedEventResponse as Ea, AgentBlueprint as Eb, VaultByokKeyVerificationCompletedEventResponse as Ec, ListFlagRulesOptions as Ed, OrganizationDomainVerificationStrategy as Ef, User as Eg, AuthenticationEvent as Eh, AuthenticationMfaSucceededEventResponse as Ei, DeleteOrganizationConnectedAccountOptions as El, NewConnectApplicationSecret as Em, MintAgentDelegatedAgentTokenOptions as En, GroupMemberRemovedEvent as Eo, SerializedListWaitlistEntriesOptions as Ep, GenerateLinkIntent as Er, PipesAccountConnectionAddFailedEvent as Es, AuditLogsRetention as Et, OrganizationConnectedAccountState as Eu, RoleAssignmentResponse as Ev, DirectoryUserWithGroupsState as Ey, WebhookEndpointStatus as F, ListEffectivePermissionsOptions as F_, EventName as Fa, SerializedUpdateAgentBlueprintOptions as Fb, VaultDekDecryptedEvent as Fc, EvaluationResource as Fd, SerializedUserApiKeyWithValue as Ff, OauthTokensResponse as Fg, AuthenticateWithRefreshTokenPublicClientOptions as Fh, AuthenticationPasswordFailedEvent as Fi, DataIntegrationsListResponseWire as Fl, CreateApplicationOptions as Fm, ListAgentInstanceSessionsOptions as Fn, InvitationResentEventResponse as Fo, ListSessionsOptions as Fp, AgentBlueprintUpdatedEvent as Fr, PipesAccountConnectionReauthorizationNeededEventResponse as Fs, AuditLogExportState as Ft, DataIntegrationCredentialsInputResponse as Fu, SerializedListResourcesForMembershipOptions as Fv, DirectoryMetadata as Fy, VaultObjectResponse as G, RemoveGroupRoleAssignmentsOptions as G_, FeatureFlagRuleUpdatedContextResponse as Ga, CryptoProvider as Gb, VaultMetadataReadEvent as Gc, LegacyFlagTargetResponse as Gd, AuthMethod as Gf, ConnectionSamlCertificateRenewedEventResponseData as Gg, SerializedAuthenticateWithOrganizationSelectionOptions as Gh, AuthenticationSSOStartedEvent as Gi, DataIntegrationsListResponseDataConnectedAccountConnectionRole as Gl, ConnectApplicationM2MResponse as Gm, ActionContext as Gn, OrganizationDeletedResponse as Go, OrganizationMembershipStatus as Gp, AgentRegistrationClaimAttemptCreatedEvent as Gr, PipesConnectedAccountResponse as Gs, RadarListEntryAlreadyPresentResponse as Gt, DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner as Gu, ListAuthorizationResourcesOptions as Gv, AgentBlueprintEventResponseData as Gy, ObjectVersion as H, SerializedGroupRoleAssignmentEntry as H_, FeatureFlagRuleContext as Ha, RequestOptions as Hb, VaultKekCreatedEventResponse as Hc, FlagTargetResourceResponse as Hd, UpdateUserOptions as Hf, ConnectionSamlCertificateRenewalRequiredEventData as Hg, SerializedAuthenticateWithPasswordOptions as Hh, AuthenticationReauthenticationSucceededEventResponse as Hi, DataIntegrationsListResponseDataConnectedAccountWarning as Hl, CreateApplicationClientSecretOptions as Hm, AuthenticationActionResponseData as Hn, OrganizationCreatedEvent as Ho, BaseOrganizationMembershipResponse as Hp, AgentInstanceSessionCreatedEventResponse as Hr, PipesConnectedAccountDisconnectedEventResponse as Hs, Challenge as Ht, DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner as Hu, DeleteAuthorizationResourceByExternalIdOptions as Hv, AgentBlueprintDeletedEventData as Hy, UpdateWebhookEndpointEvents as I, BaseGroupRoleAssignmentEntry as I_, EventResponse as Ia, UpdateAgentBlueprintOptions as Ib, VaultDekDecryptedEventResponse as Ic, LegacyEvaluationContext as Id, UserApiKeyWithValue as If, ListConnectionsOptions as Ig, SerializedAuthenticateWithRefreshTokenPublicClientOptions as Ih, AuthenticationPasswordFailedEventResponse as Ii, DataIntegrationsListResponseData as Il, CreateM2MApplication as Im, SerializedAgentInstanceSession as In, InvitationRevokedEvent as Io, SerializedListSessionsOptions as Ip, AgentBlueprintUpdatedEventResponse as Ir, PipesConnectedAccount as Is, AuditLogExportOptions as It, DataIntegrationCredentialsInputType as Iu, AuthorizationCheckOptions as Iv, DirectoryMetadataResponse as Iy, Actor as J, RemoveGroupRoleAssignmentsOptionsWithResourceId as J_, FeatureFlagsFlagCreatedEvent as Ja, VaultNamesListedEventResponse as Jc, CreateFlagTargetOptions as Jd, SessionStatus as Jf, SamlCertificateRenewed as Jg, SerializedAuthenticateWithRadarSmsChallengeOptions as Jh, AuthenticationSSOSucceededEventResponse as Ji, DataIntegrationsGetUserTokenRequest as Jl, ConnectApplicationResponse as Jm, UserDataPayload as Jn, OrganizationDomainDeletedEvent as Jo, ListGroupsForOrganizationMembershipOptions as Jp, AgentRegistrationClaimCompletedEventResponse as Jr, PipesConnectionFailedResponse as Js, RadarStandaloneResponseWire as Jt, ConnectedAccountWarning as Ju, AuthorizationResourceResponse as Jv, AgentInstanceSessionEventData as Jy, ObjectMetadata as K, RemoveGroupRoleAssignmentsOptionsForOrganization as K_, FeatureFlagUpdatedContext as Ka, VaultMetadataReadEventResponse as Kc, FlagRule as Kd, Session as Kf, SamlCertificateRenewalRequired as Kg, AuthenticateUserWithRadarSmsChallengeCredentials as Kh, AuthenticationSSOStartedEventResponse as Ki, DataIntegrationsListResponseDataConnectedAccountAuthMethod as Kl, ConnectApplicationOAuth as Km, ActionPayload as Kn, OrganizationDomainCreatedEvent as Ko, ListInvitationsOptions as Kp, AgentRegistrationClaimAttemptCreatedEventResponse as Kr, PipesConnectedAccountState as Ks, RadarListEntryAlreadyPresentResponseWire as Kt, ConnectedAccount as Ku, SerializedListAuthorizationResourcesOptions as Kv, AgentInstanceSessionCreatedEventData as Ky, UpdateWebhookEndpointStatus as L, GroupRoleAssignmentEntry as L_, FeatureFlagActor as La, PaginationOptions as Lb, VaultDekReadEvent as Lc, TypedEvaluationContext as Ld, SerializedUserApiKey as Lf, SerializedListConnectionsOptions as Lg, AuthenticateUserWithRefreshTokenCredentials as Lh, AuthenticationPasswordSucceededEvent as Li, DataIntegrationsListResponseDataResponse as Ll, CreateM2MApplicationResponse as Lm, SerializedListAgentInstanceSessionsOptions as Ln, InvitationRevokedEventResponse as Lo, ListOrganizationMembershipsOptions as Lp, AgentInstanceCreatedEvent as Lr, PipesConnectedAccountConnectedEvent as Ls, SerializedAuditLogExportOptions as Lt, CreateDataIntegrationCredentialOptions as Lu, AuthorizationCheckOptionsWithResourceExternalId as Lv, DirectoryMetadataUser as Ly, Webhooks as M, RoleList as M_, EmailVerificationCreatedEventResponse as Ma, SerializedAgentBlueprintInvocableBy as Mb, VaultDataReadEventResponse as Mc, FeatureFlag as Md, WaitlistResponse as Mf, Profile as Mg, AuthenticateUserWithTotpCredentials as Mh, AuthenticationPasskeyFailedEventResponse as Mi, DataIntegrationsUpsertApiKeyRequestResponse as Ml, ExternalAuthCompleteResponseWire as Mm, SerializedMintAgentTokenOptions as Mn, InvitationCreatedEvent as Mo, ListUserApiKeysOptions as Mp, AgentBlueprintCreatedEventResponse as Mr, PipesAccountConnectionDisconnectedEvent as Ms, AuditLogTargetSchema as Mt, CustomProviderDefinitionResponse as Mu, ListResourcesForMembershipOptions as Mv, DirectorySyncGetGroupOptions as My, WebhookEndpoint as N, RoleResponse as N_, Event as Na, SerializedAgentBlueprintSessionSettings as Nb, VaultDataUpdatedEvent as Nc, FeatureFlagResponse as Nd, SerializedVerifyEmailOptions as Nf, ProfileResponse as Ng, AuthenticateWithTotpOptions as Nh, AuthenticationPasskeySucceededEvent as Ni, DataIntegrationsUpsertApiKeyRequestConnectionOwner as Nl, DeleteClientSecretOptions as Nm, AgentInstanceSession as Nn, InvitationCreatedEventResponse as No, SerializedListUserApiKeysOptions as Np, AgentBlueprintDeletedEvent as Nr, PipesAccountConnectionDisconnectedEventResponse as Ns, AuditLogExport as Nt, CustomProviderDefinitionAuthenticateVia as Nu, ListResourcesForMembershipOptionsWithParentExternalId as Nv, DirectoryState as Ny, isAuthenticationErrorData as O, OrganizationRoleResponse as O_, DsyncUserDeletedEventResponse as Oa, AgentBlueprintSessionSettings as Ob, VaultDataCreatedEventResponse as Oc, FlagPollCondition as Od, SerializedCreateOrganizationDomainOptions as Of, Impersonator as Og, AuthenticationEventSso as Oh, AuthenticationOAuthFailedEventResponse as Oi, DataIntegrationsUpsertClientCredentialsRequest as Ol, ListApplicationsOptions as Om, MintAutonomousAgentTokenOptions as On, GroupUpdatedEvent as Oo, WaitlistEntryResponse as Op, ActionAuthenticationDeniedEventResponse as Or, PipesAccountConnectionConnectedEvent as Os, AuditLogActorSchema as Ot, CreateDataIntegration as Ou, RoleAssignmentSource as Ov, DirectoryUserWithGroupsEmailResponse as Oy, WebhookEndpointResponse as P, ListEffectivePermissionsByExternalIdOptions as P_, EventBase as Pa, SerializedCreateAgentBlueprintOptions as Pb, VaultDataUpdatedEventResponse as Pc, EvaluationContext as Pd, VerifyEmailOptions as Pf, OauthTokens as Pg, SerializedAuthenticateWithTotpOptions as Ph, AuthenticationPasskeySucceededEventResponse as Pi, DataIntegrationsListResponse as Pl, DeleteApplicationOptions as Pm, AgentInstanceSessionStatus as Pn, InvitationResentEvent as Po, ListUserFeatureFlagsOptions as Pp, AgentBlueprintDeletedEventResponse as Pr, PipesAccountConnectionReauthorizationNeededEvent as Ps, AuditLogExportResponse as Pt, DataIntegrationCredentialsInput as Pu, ListResourcesForMembershipOptionsWithParentId as Pv, DirectoryStateResponse as Py, UpdateObjectEntity as Q, CreateGroupRoleAssignmentOptions as Q_, FeatureFlagsFlagRuleCreatedEvent as Qa, WaitlistUserCreatedEventResponse as Qc, ResourceExportEventResponseData as Qd, SendRadarSmsChallengeResponseResponse as Qf, ConnectionDomain as Qg, AuthenticateUserWithMagicAuthCredentials as Qh, ConnectionActivatedEventResponse as Qi, DataIntegrationResponse as Ql, UserConsentOption as Qm, Organization as Qn, OrganizationDomainVerificationFailedEvent as Qo, InvitationEventResponse as Qp, AgentRegistrationCredentialIssuedEventResponse as Qr, ResourceExportCompletedEventResponse as Qs, RadarListAction as Qt, ConnectedAccountConnectionRole as Qu, SerializedCreateAuthorizationResourceOptions as Qv, AgentRegistrationClaimCompletedEventData as Qy, CreateWebhookEndpointEvents as R, GroupRoleAssignmentEntryForOrganization as R_, FeatureFlagContext as Ra, HttpClient as Rb, VaultDekReadEventResponse as Rc, CreateRuleWithTargetsOptions as Rd, UserApiKey as Rf, GetProfileAndTokenOptions as Rg, AuthenticateWithRefreshTokenOptions as Rh, AuthenticationPasswordSucceededEventResponse as Ri, DataIntegrationsListResponseDataOwnership as Rl, CreateOAuthApplication as Rm, AutoPaginatable as Rn, KnownEvent as Ro, SerializedListOrganizationMembershipsOptions as Rp, AgentInstanceCreatedEventResponse as Rr, PipesConnectedAccountConnectedEventResponse as Rs, VerifyResponse as Rt, DataIntegrationsVendCredentialsRequest as Ru, AuthorizationCheckOptionsWithResourceId as Rv, DirectoryMetadataUserResponse as Ry, NoApiKeyProvidedException as S, DirectoryUserResponse as S_, DsyncTokenCreatedEventResponse as Sa, AgentInstanceType as Sb, UserUpdatedEventResponse as Sc, RuntimeClientOptions as Sd, OrganizationDomainVerificationFailedResponse as Sf, AuthenticationResponse as Sg, TotpWithSecrets as Sh, AuthenticationMagicAuthSucceededEventResponse as Si, GetAccessTokenOptions as Sl, ExchangeTokenOptions as Sm, LinkClaimAttemptToExternalUserOptions as Sn, GroupMemberAddedEvent as So, MagicAuthResponse as Sp, PatchOptions as Sr, PermissionDeletedEvent as Ss, AuditLogTarget as St, DataIntegrationAccessTokenResponseAccessToken as Su, SerializedListRoleAssignmentsOptions as Sv, EnvironmentRole as Sy, AuthenticationErrorCode as T, ListOrganizationRolesResponse as T_, DsyncUserCreatedEvent as Ta, SerializedListAgentInstancesOptions as Tb, VaultByokKeyVerificationCompletedEvent as Tc, ListFlagTargetsOptions as Td, OrganizationDomainState as Tf, CreateUserResponseResponse as Tg, SmsResponse as Th, AuthenticationMfaSucceededEvent as Ti, DeleteOrganizationDataIntegrationOptions as Tl, UpdateApplicationOptions as Tm, AgentToken as Tn, GroupMemberEventResponseData as To, ListWaitlistEntriesOptions as Tp, GetOptions as Tr, PermissionUpdatedEventResponse as Ts, SerializedCreateAuditLogEventOptions as Tt, CreateOrganizationConnectedAccountOptions as Tu, RoleAssignmentResourceResponse as Tv, EnvironmentRoleResponse as Ty, ObjectVersionResponse as U, SerializedReplaceGroupRoleAssignmentsOptions as U_, FeatureFlagRuleContextResponse as Ua, ResponseHeaderValue as Ub, VaultKekDeletedEvent as Uc, FlagTargetResponse as Ud, SerializedUpdateOrganizationMembershipOptions as Uf, ConnectionSamlCertificateRenewalRequiredEventResponseData as Ug, AuthenticateUserWithOrganizationSelectionCredentials as Uh, AuthenticationSSOFailedEvent as Ui, DataIntegrationsListResponseDataConnectedAccountWarningResponse as Ul, ConnectApplication as Um, ResponsePayload as Un, OrganizationCreatedResponse as Uo, OrganizationMembership as Up, AgentInstanceSessionRevokedEvent as Ur, PipesConnectedAccountReauthorizationNeededEvent as Us, ChallengeResponse as Ut, CreateDataIntegrationAuthMethods as Uu, UpdateAuthorizationResourceByExternalIdOptions as Uv, AgentBlueprintDeletedEventResponseData as Uy, ObjectSummaryResponse as V, ReplaceGroupRoleAssignmentsOptions as V_, FeatureFlagEventResponseData as Va, RequestHeaders as Vb, VaultKekCreatedEvent as Vc, FlagTargetResource as Vd, SerializedUpdateUserOptions as Vf, ConnectionEventConnectionResponse as Vg, AuthenticateWithPasswordOptions as Vh, AuthenticationReauthenticationSucceededEvent as Vi, DataIntegrationsListResponseDataConnectedAccountResponse as Vl, RedirectUriInputResponse as Vm, Actions as Vn, MagicAuthCreatedEventResponse as Vo, BaseOrganizationMembership as Vp, AgentInstanceSessionCreatedEvent as Vr, PipesConnectedAccountDisconnectedEvent as Vs, EnrollFactorOptions as Vt, CreateDataIntegrationClientCredentialOptions as Vu, DeleteAuthorizationResourceOptions as Vv, DeleteDirectoryOptions as Vy, VaultObject as W, BaseRemoveGroupRoleAssignmentsOptions as W_, FeatureFlagRuleUpdatedContext as Wa, ResponseHeaders as Wb, VaultKekDeletedEventResponse as Wc, LegacyFlagTarget as Wd, UpdateOrganizationMembershipOptions as Wf, ConnectionSamlCertificateRenewedEventData as Wg, AuthenticateWithOrganizationSelectionOptions as Wh, AuthenticationSSOFailedEventResponse as Wi, DataIntegrationsListResponseDataConnectedAccountState as Wl, ConnectApplicationM2M as Wm, UserRegistrationActionResponseData as Wn, OrganizationDeletedEvent as Wo, OrganizationMembershipResponse as Wp, AgentInstanceSessionRevokedEventResponse as Wr, PipesConnectedAccountReauthorizationNeededEventResponse as Ws, ChallengeFactorOptions as Wt, CreateDataIntegrationApiKeyOptions as Wu, GetAuthorizationResourceByExternalIdOptions as Wv, AgentBlueprintEventData as Wy, CreateDataKeyResponse as X, RemoveGroupRoleAssignmentOptions as X_, FeatureFlagsFlagDeletedEvent as Xa, WaitlistUserApprovedEventResponse as Xc, AddFlagTargetOptions as Xd, SendRadarSmsChallengeOptions as Xf, SamlCertificateType as Xg, AuthenticateWithRadarEmailChallengeOptions as Xh, AuthenticationSSOTimedOutEventResponse as Xi, DataIntegrationsGetUserTokenRequestConnectionOwner as Xl, ConnectApplicationRedirectUriResponse as Xm, SerializedUpdateOrganizationOptions as Xn, OrganizationDomainUpdatedEvent as Xo, Invitation as Xp, AgentRegistrationCreatedEventResponse as Xr, RadarChallengeCreatedEventResponse as Xs, RadarStandaloneResponseControl as Xt, ConnectedAccountState as Xu, CreateOptionsWithParentExternalId as Xv, AgentRegistrationClaimAttemptCreatedEventData as Xy, ActorResponse as Y, SerializedRemoveGroupRoleAssignmentsOptions as Y_, FeatureFlagsFlagCreatedEventResponse as Ya, WaitlistUserApprovedEvent as Yc, CreateFlagRuleOptions as Yd, SendVerificationEmailOptions as Yf, SamlCertificateRenewedResponse as Yg, AuthenticateUserWithRadarEmailChallengeCredentials as Yh, AuthenticationSSOTimedOutEvent as Yi, DataIntegrationsGetUserTokenRequestResponse as Yl, ConnectApplicationRedirectUri as Ym, UserRegistrationActionPayload as Yn, OrganizationDomainDeletedEventResponse as Yo, ListAuthFactorsOptions as Yp, AgentRegistrationCreatedEvent as Yr, RadarChallengeCreatedEvent as Ys, RadarStandaloneResponseBlocklistType as Yt, ConnectedAccountWarningResponse as Yu, CreateAuthorizationResourceOptions as Yv, AgentInstanceSessionEventResponseData as Yy, CreateDataKeyResponseWire as Z, BaseCreateGroupRoleAssignmentOptions as Z_, FeatureFlagsFlagDeletedEventResponse as Za, WaitlistUserCreatedEvent as Zc, ResourceExportEventData as Zd, SendRadarSmsChallengeResponse as Zf, Connection as Zg, SerializedAuthenticateWithRadarEmailChallengeOptions as Zh, ConnectionActivatedEvent as Zi, DataIntegration as Zl, CompleteOAuth2Options as Zm, UpdateOrganizationOptions as Zn, OrganizationDomainUpdatedEventResponse as Zo, InvitationEvent as Zp, AgentRegistrationCredentialIssuedEvent as Zr, ResourceExportCompletedEvent as Zs, RadarStandaloneResponseVerdict as Zt, ConnectedAccountInputState as Zu, CreateOptionsWithParentResourceId as Zv, AgentRegistrationClaimAttemptCreatedEventResponseData as Zy, UnauthorizedException as _, EventDirectoryResponse as __, DsyncGroupUserAddedEvent as _a, SerializedAgentIdentity as _b, UserCreatedEvent as _c, SerializedCreateGroupOptions as _d, SerializedApiKeyPreviousAttributes as _f, AuthenticateWithSessionCookieOptions as _g, FactorType as _h, AuthenticationEmailVerificationSucceededEvent as _i, PipesOwnership as _l, SerializedCreateOrganizationMembershipOptions as _m, ValidateAgentAccessTokenOptions as _n, FlagUpdatedEventResponse as _o, CreateMagicAuthResponse as _p, WorkOSResponseError as _r, PasswordResetCreatedEventResponse as _s, CreateAuditLogSchemaOptions as _t, DataIntegrationAuthorizeUrlResponse as _u, SerializedAssignRoleOptions as _v, SetEnvironmentRolePermissionsOptions as _y, PublicWorkOS as a, SlimRoleResponse as a_, ConnectionSamlCertificateRenewedEvent as aa, AgentRegistrationCredentialIssuedEventResponseData as ab, RoleCreatedEvent as ac, ApiKeyInstallation as ad, ActionUserRegistrationDeniedEventResponseData as af, SerializedAuthenticateWithCodeAndVerifierOptions as ag, ApplicationCredentialsListItemResponse as ah, AgentRegistrationRefreshedEvent as ai, UpdateOrganizationConnectedAccountOptions as al, EmailVerificationEventResponse as am, PasswordlessSession as an, FeatureFlagsFlagTargetCreatedEventResponse as ao, ResetPasswordOptions as ap, DeleteItContactOptions as ar, OrganizationMembershipDeletedResponse as as, CreateDataKeyOptions as at, DataIntegrationFinishConnectionResponseWire as au, GroupRoleAssignment as av, SerializedCreatePermissionOptions as ay, OauthException as b, DefaultCustomAttributes as b_, DsyncGroupUserRemovedEventResponse as ba, SerializedAgentRegistrationClaimCompletion as bb, UserDeletedEventResponse as bc, RuntimeClientStats as bd, SerializedApiKey as bf, UserManagementAccessToken as bg, Totp as bh, AuthenticationMagicAuthFailedEventResponse as bi, GetOrganizationConnectedAccountOptions as bl, AuthorizedConnectApplication as bm, ClaimAttemptOrganization as bn, GroupDeletedEvent as bo, MagicAuthEvent as bp, PutOptions as br, PermissionCreatedEvent as bs, SerializedCreateAuditLogSchemaOptions as bt, DataIntegrationAccessTokenResponse as bu, SerializedListRoleAssignmentsForResourceOptions as bv, CreateEnvironmentRoleOptions as by, PortalLinkResponseWire as c, ListGroupsInDirectoryOptions as c_, DsyncActivatedEventResponse as ca, AgentRegistrationMethod as cb, RoleDeletedEventResponse as cc, UpdateGroupOptions as cd, ValidateApiKeyResponse as cf, SerializedAuthenticateWithCodeOptions as cg, AuthenticationRadarRiskDetectedEventData as ch, AgentRegistrationRevokedEventResponse as ci, UpdateDataIntegrationResponse as cl, SerializedCreateWaitlistEntryOptions as cm, SerializedListEventOptions as cn, FeatureFlagsFlagUpdatedEvent as co, SerializedResendInvitationOptions as cp, ListItContactsOptions as cr, OrganizationRoleCreatedEvent as cs, CreateTokenOptions as ct, DataIntegrationCustomProviderAuthenticateVia as cu, BaseRemoveRoleOptions as cv, RemoveOrganizationRolePermissionOptions as cy, IntentOptions as d, SerializedListDirectoriesOptions as d_, DsyncGroupCreatedEvent as da, AgentIdentity as db, SessionCreatedEvent as dc, ListGroupOrganizationMembershipsOptions as dd, SerializedCreatedApiKey as df, SerializedAuthenticatePublicClientBase as dg, AuthenticationFactorResponse as dh, ApiKeyRevokedEvent as di, UpdateCustomProviderDefinition as dl, CreateUserApiKeyOptions as dm, AgentCredentialValidation as dn, FlagCreatedEventResponse as do, RetryableRefreshSessionFailureReason as dp, SerializedInviteItContactOptions as dr, OrganizationRoleDeletedEventResponse as ds, CookieSession as dt, DataIntegrationCredentialsResponseError as du, RemoveRoleOptionsWithResourceId as dv, SerializedUpdateOrganizationRoleOptions as dy, ConnectionState as e_, ConnectionDeactivatedEventResponse as ea, AgentRegistrationCreatedEventData as eb, ResourceExportCreatedEventResponse as ec, AuthorizeDataIntegrationOptions as ed, RadarChallengeCreatedEventData as ef, SerializedAuthenticateWithMagicAuthOptions as eg, UserConsentOptionChoice as eh, AgentRegistrationDeletedEventResponse as ei, WaitlistUserDeniedEventResponse as el, Identity as em, RadarStandaloneAssessRequestAction as en, FeatureFlagsFlagRuleDeletedEvent as eo, SendInvitationOptions as ep, ListOrganizationsOptions as er, OrganizationDomainVerifiedEvent as es, ReadObjectOptions as et, DataIntegrationOwnership as eu, CreateGroupRoleAssignmentOptionsWithResourceExternalId as ev, UpdateAuthorizationResourceOptions as ey, IntentOptionsResponse as f, GetUserOptions as f_, DsyncGroupCreatedEventResponse as fa, AgentRegistration as fb, SessionCreatedEventResponse as fc, Group as fd, CreateOrganizationApiKeyOptions as ff, SerializedAuthenticateWithOptionsBase as fg, AuthenticationFactorType as fh, ApiKeyRevokedEventResponse as fi, UpdateCustomProviderDefinitionResponse as fl, CreateUserApiKeyRequestOptions as fm, InvalidAgentCredential as fn, FlagDeletedEvent as fo, TerminalRefreshSessionFailureReason as fp, CreateOrganizationOptions as fr, OrganizationRoleUpdatedEvent as fs, UpdateOrganizationAuditLogsRetentionOptions as ft, DataIntegrationVendedCredential as fu, SerializedRemoveRoleOptions as fv, UpdateOrganizationRoleOptions as fy, UnprocessableEntityException as g, EventDirectory as g_, DsyncGroupUpdatedEventResponse as ga, AgentRegistrationStatus as gb, UnknownEventResponse as gc, CreateGroupOptions as gd, ApiKeyUpdatedEventData as gf, AuthenticateWithSessionCookieFailureReason as gg, FactorResponse as gh, AuthenticationEmailVerificationFailedEventResponse as gi, ListDataIntegrationsOptions as gl, CreateOrganizationMembershipOptions as gm, ValidAgentCredential as gn, FlagUpdatedEvent as go, PasswordResetResponse as gp, DomainDataState as gr, PasswordResetCreatedEvent as gs, GetOrganizationAuditLogsRetentionOptions as gt, DataIntegrationCredentialType as gu, BaseAssignRoleOptions as gv, AddEnvironmentRolePermissionOptions as gy, CreateRuleWithTargetsError as h, GetDirectoryGroupOptions as h_, DsyncGroupUpdatedEvent as ha, AgentRegistrationKind as hb, UnknownEvent as hc, DeleteGroupOptions as hd, ApiKeyPreviousAttributes as hf, AuthenticateWithSessionCookieFailedResponse as hg, Factor as hh, AuthenticationEmailVerificationFailedEvent as hi, ListOrganizationDataProvidersOptions as hl, SerializedCreatePasswordResetOptions as hm, SerializedValidateAgentCredentialOptions as hn, FlagRuleUpdatedEventResponse as ho, PasswordResetEventResponse as hp, DomainData as hr, OrganizationUpdatedResponse as hs, UpdateAuditLogsRetentionRetentionPeriod as ht, DataIntegrationCredentialResponse as hu, AssignRoleOptionsWithResourceId as hv, OrganizationRole as hy, PublicUserManagement as i, SlimRole as i_, ConnectionSamlCertificateRenewalRequiredEventResponse as ia, AgentRegistrationCredentialIssuedEventData as ib, ResourceExportFailedEventResponse as ic, DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner as id, ActionUserRegistrationDeniedEventData as if, AuthenticateWithCodeAndVerifierOptions as ig, ApplicationCredentialsListItem as ih, AgentRegistrationOrganizationSwitchedEventResponse as ii, UpdateUserConnectedAccountOptions as il, EmailVerificationEvent as im, SerializedCreatePasswordlessSessionOptions as in, FeatureFlagsFlagTargetCreatedEvent as io, serializeRevokeSessionOptions as ip, CreateItContactOptions as ir, OrganizationMembershipDeleted as is, DecryptDataKeyResponse as it, DataIntegrationFinishConnectionResponse as iu, ListGroupRoleAssignmentsOptions as iv, CreatePermissionOptions as iy, ApiKeyRequiredException as j, RoleEventResponse as j_, EmailVerificationCreatedEvent as ja, SerializedAgentBlueprint as jb, VaultDataReadEvent as jc, FlagPollRule as jd, Waitlist as jf, ProfileAndTokenResponse as jg, AuthenticationEventType as jh, AuthenticationPasskeyFailedEvent as ji, DataIntegrationsUpsertApiKeyRequest as jl, ExternalAuthCompleteResponse as jm, SerializedAgentToken as jn, InvitationAcceptedEventResponse as jo, SerializedListUsersOptions as jp, AgentBlueprintCreatedEvent as jr, PipesAccountConnectionConnectionFailedEventResponse as js, AuditLogSchemaResponse as jt, CustomProviderDefinition as ju, ListMembershipsForResourceOptions as jv, DirectoryTokenResponse as jy, GenericServerException as k, Role as k_, DsyncUserUpdatedEvent as ka, CreateAgentBlueprintOptions as kb, VaultDataDeletedEvent as kc, FlagPollEntry as kd, WaitlistUserEventData as kf, ImpersonatorResponse as kg, AuthenticationEventSsoResponse as kh, AuthenticationOAuthSucceededEvent as ki, DataIntegrationsUpsertClientCredentialsRequestResponse as kl, ListApplicationClientSecretsOptions as km, MintUserDelegatedAgentTokenOptions as kn, GroupUpdatedEventResponse as ko, WaitlistEntryState as kp, ActionUserRegistrationDeniedEvent as kr, PipesAccountConnectionConnectedEventResponse as ks, AuditLogSchema as kt, CreateDataIntegrationResponse as ku, RoleAssignmentSourceResponse as kv, DirectoryType as ky, GenerateLink as l, ListDirectoryUsersOptions as l_, DsyncDeletedEvent as la, AgentRegistrationOrganizationSwitchedEventData as lb, RoleUpdatedEvent as lc, RemoveGroupOrganizationMembershipOptions as ld, ListOrganizationApiKeysOptions as lf, AuthenticateWithOptionsBase as lg, AuthenticationRadarRiskDetectedEventResponseData as lh, ApiKeyCreatedEvent as li, UpdateDataIntegrationClientCredentialsOptions as ll, CreateUserOptions as lm, AgentAccessTokenClaims as ln, FeatureFlagsFlagUpdatedEventResponse as lo, RefreshSessionFailureReason as lp, RevokeItContactOptions as lr, OrganizationRoleCreatedEventResponse as ls, WidgetSessionTokenScopes as lt, DataIntegrationCredentialsResponse as lu, RemoveRoleOptions as lv, AddOrganizationRolePermissionOptions as ly, SSOIntentOptionsResponse as m, GetDirectoryOptions as m_, DsyncGroupDeletedEventResponse as ma, AgentRegistrationClaimCompletion as mb, SessionRevokedEventResponse as mc, GetGroupOptions as md, SerializedCreateOrganizationApiKeyOptions as mf, AccessTokenClaims as mg, AuthenticationFactorWithSecretsResponse as mh, ApiKeyUpdatedEventResponse as mi, ListUserDataProvidersOptions as ml, CreatePasswordResetOptions as mm, SerializedAgentCredentialValidation as mn, FlagRuleUpdatedEvent as mo, PasswordResetEvent as mp, SerializedCreateOrganizationOptions as mr, OrganizationUpdatedEvent as ms, UpdateAuditLogsRetentionResponse as mt, DataIntegrationCredential as mu, AssignRoleOptionsWithResourceExternalId as mv, SerializedCreateOrganizationRoleOptions as my, PublicClientOptions as n, SSOAuthorizationURLOptions as n_, ConnectionDeletedEventResponse as na, AgentRegistrationCredentialDetail as nb, ResourceExportDownloadedEventResponse as nc, DataIntegrationsGetDataIntegrationAuthorizeUrlRequestResponse as nd, ActionAuthenticationDeniedEventData as nf, AuthenticateWithEmailVerificationOptions as ng, UserObject as nh, AgentRegistrationExpiredEventResponse as ni, DataKeyPair as nl, SerializedEnrollUserInMfaFactorOptions as nm, SendSessionResponse as nn, FeatureFlagsFlagRuleUpdatedEvent as no, RevokeSessionOptions as np, ItContact as nr, OrganizationMembershipCreated as ns, CreateObjectOptions as nt, DataIntegrationInstallationResponse as nu, SerializedCreateGroupRoleAssignmentOptions as nv, SerializedUpdatePermissionOptions as ny, createWorkOS as o, ListUsersInDirectoryOptions as o_, ConnectionSamlCertificateRenewedEventResponse as oa, AgentRegistrationLifecycleEventData as ob, RoleCreatedEventResponse as oc, ApiKeyInstallationResponse as od, SerializedValidateApiKeyResponse as of, AuthenticateUserWithCodeCredentials as og, PKCEAuthorizationURLResult as oh, AgentRegistrationRefreshedEventResponse as oi, UpdateDataIntegrationOptions as ol, EmailVerificationResponse as om, PasswordlessSessionResponse as on, FeatureFlagsFlagTargetDeletedEvent as oo, SerializedResetPasswordOptions as op, InviteItContactOptions as or, OrganizationMembershipUpdated as os, WidgetSessionTokenResponse as ot, DataIntegrationCustomProvider as ou, GroupRoleAssignmentResponse as ov, Permission as oy, SSOIntentOptions as p, GetDirectoryUserOptions as p_, DsyncGroupDeletedEvent as pa, AgentRegistrationClaim as pb, SessionRevokedEvent as pc, GroupResponse as pd, CreateOrganizationApiKeyRequestOptions as pf, WithResolvedClientId as pg, AuthenticationFactorWithSecrets as ph, ApiKeyUpdatedEvent as pi, UpdateCustomProviderDefinitionAuthenticateVia as pl, SerializedCreateUserApiKeyOptions as pm, SerializedAgentAccessTokenClaims as pn, FlagDeletedEventResponse as po, PasswordReset as pp, CreateOrganizationRequestOptions as pr, OrganizationRoleUpdatedEventResponse as ps, UpdateAuditLogsRetention as pt, DataIntegrationVendedCredentialResponse as pu, AssignRoleOptions as pv, CreateOrganizationRoleOptions as py, ObjectMetadataResponse as q, RemoveGroupRoleAssignmentsOptionsWithResourceExternalId as q_, FeatureFlagUpdatedContextResponse as qa, VaultNamesListedEvent as qc, FlagRuleResponse as qd, SessionResponse as qf, SamlCertificateRenewalRequiredResponse as qg, AuthenticateWithRadarSmsChallengeOptions as qh, AuthenticationSSOSucceededEvent as qi, DataIntegrationsListResponseDataAuthMethods as ql, ConnectApplicationOAuthResponse as qm, UserData as qn, OrganizationDomainCreatedEventResponse as qo, SerializedListInvitationsOptions as qp, AgentRegistrationClaimCompletedEvent as qr, PipesConnectionFailed as qs, RadarStandaloneResponse as qt, ConnectedAccountResponse as qu, AuthorizationResource as qv, AgentInstanceSessionCreatedEventResponseData as qy, PublicSSO as r, SSOPKCEAuthorizationURLResult as r_, ConnectionSamlCertificateRenewalRequiredEvent as ra, AgentRegistrationCredentialDetailResponse as rb, ResourceExportFailedEvent as rc, DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent as rd, ActionAuthenticationDeniedEventResponseData as rf, SerializedAuthenticateWithEmailVerificationOptions as rg, UserObjectResponse as rh, AgentRegistrationOrganizationSwitchedEvent as ri, KeyContext as rl, EmailVerification as rm, CreatePasswordlessSessionOptions as rn, FeatureFlagsFlagRuleUpdatedEventResponse as ro, SerializedRevokeSessionOptions as rp, ItContactResponse as rr, OrganizationMembershipCreatedResponse as rs, DecryptDataKeyOptions as rt, DataIntegrationInstallationConnectionRole as ru, GetGroupRoleAssignmentOptions as rv, UpdatePermissionOptions as ry, PortalLinkResponse as s, ListDirectoryGroupsOptions as s_, DsyncActivatedEvent as sa, AgentRegistrationLifecycleEventResponseData as sb, RoleDeletedEvent as sc, SerializedUpdateGroupOptions as sd, ValidateApiKeyOptions as sf, AuthenticateWithCodeOptions as sg, UserManagementAuthorizationURLOptions as sh, AgentRegistrationRevokedEvent as si, UpdateDataIntegration as sl, CreateWaitlistEntryOptions as sm, ListEventOptions as sn, FeatureFlagsFlagTargetDeletedEventResponse as so, ResendInvitationOptions as sp, ItContactIntent as sr, OrganizationMembershipUpdatedResponse as ss, WidgetSessionTokenResponseWire as st, DataIntegrationCustomProviderResponse as su, RemoveRoleAssignmentOptions as sv, PermissionResponse as sy, ConfidentialClientOptions as t, ConnectionType as t_, ConnectionDeletedEvent as ta, AgentRegistrationCreatedEventResponseData as tb, ResourceExportDownloadedEvent as tc, DataIntegrationsGetDataIntegrationAuthorizeUrlRequest as td, RadarChallengeCreatedEventResponseData as tf, AuthenticateUserWithEmailVerificationCredentials as tg, UserConsentOptionChoiceResponse as th, AgentRegistrationExpiredEvent as ti, DataKey as tl, EnrollAuthFactorOptions as tm, RadarStandaloneAssessRequestAuthMethod as tn, FeatureFlagsFlagRuleDeletedEventResponse as to, SerializedSendInvitationOptions as tp, ListOrganizationFeatureFlagsOptions as tr, OrganizationDomainVerifiedEventResponse as ts, CreateObjectEntity as tt, DataIntegrationInstallation as tu, CreateGroupRoleAssignmentOptionsWithResourceId as tv, ListPermissionsOptions as ty, GenerateLinkResponse as u, ListDirectoriesOptions as u_, DsyncDeletedEventResponse as ua, AgentRegistrationOrganizationSwitchedEventResponseData as ub, RoleUpdatedEventResponse as uc, ListGroupsOptions as ud, CreatedApiKey as uf, AuthenticateWithSessionOptions as ug, AuthenticationFactor as uh, ApiKeyCreatedEventResponse as ui, UpdateDataIntegrationApiKeyOptions as ul, SerializedCreateUserOptions as um, AgentCredentialType as un, FlagCreatedEvent as uo, RefreshSessionResponse as up, SerializedCreateItContactOptions as ur, OrganizationRoleDeletedEvent as us, FeatureFlagsRuntimeClient as ut, DataIntegrationCredentialsResponseWire as uu, RemoveRoleOptionsWithResourceExternalId as uv, SetOrganizationRolePermissionsOptions as uy, SignatureVerificationException as v, Directory as v_, DsyncGroupUserAddedEventResponse as va, SerializedAgentRegistration as vb, UserCreatedEventResponse as vc, AddGroupOrganizationMembershipOptions as vd, SerializedApiKeyUpdatedEventData as vf, AuthenticateWithSessionCookieSuccessResponse as vg, FactorWithSecrets as vh, AuthenticationEmailVerificationSucceededEventResponse as vi, GetUserConnectedAccountOptions as vl, CreateMagicAuthOptions as vm, ValidateAgentApiKeyOptions as vn, GroupCreatedEvent as vo, CreateMagicAuthResponseResponse as vp, WorkOSOptions as vr, PasswordResetSucceededEvent as vs, CreateAuditLogSchemaRequestOptions as vt, DataIntegrationAuthorizeUrlResponseWire as vu, ListRoleAssignmentsForResourceByExternalIdOptions as vv, SerializedUpdateEnvironmentRoleOptions as vy, BadRequestException as w, DirectoryUserWithGroupsResponse as w_, DsyncTokenRevokedEventResponse as wa, SerializedAgentInstance as wb, VaultByokKeyDeletedEventResponse as wc, ListFeatureFlagsOptions as wd, OrganizationDomainResponse as wf, CreateUserResponse as wg, Sms as wh, AuthenticationMfaFailedEventResponse as wi, DeleteUserConnectedAccountOptions as wl, TokenExchangeResponseResponse as wm, SerializedLinkClaimAttemptToExternalUserOptions as wn, GroupMemberEventData as wo, Locale as wp, ListResponse as wr, PermissionUpdatedEvent as ws, CreateAuditLogEventRequestOptions as wt, CreateUserConnectedAccountOptions as wu, RoleAssignmentResource as wv, EnvironmentRoleListResponse as wy, NotFoundException as x, DirectoryUser as x_, DsyncTokenCreatedEvent as xa, AgentInstance as xb, UserUpdatedEvent as xc, RuntimeClientLogger as xd, OrganizationDomainVerificationFailed as xf, AuthenticationMethod as xg, TotpResponse as xh, AuthenticationMagicAuthSucceededEvent as xi, GetDataIntegrationOptions as xl, AuthorizedConnectApplicationResponse as xm, ClaimAttemptResponse as xn, GroupDeletedEventResponse as xo, MagicAuthEventResponse as xp, PostOptions as xr, PermissionCreatedEventResponse as xs, AuditLogActor as xt, DataIntegrationAccessTokenResponseWire as xu, ListRoleAssignmentsOptions as xv, SerializedCreateEnvironmentRoleOptions as xy, RateLimitExceededException as y, DirectoryResponse as y_, DsyncGroupUserRemovedEvent as ya, SerializedAgentRegistrationClaim as yb, UserDeletedEvent as yc, SerializedAddGroupOrganizationMembershipOptions as yd, ApiKey as yf, SessionCookieData as yg, FactorWithSecretsResponse as yh, AuthenticationMagicAuthFailedEvent as yi, GetOrganizationDataIntegrationOptions as yl, SerializedCreateMagicAuthOptions as ym, ValidateAgentCredentialOptions as yn, GroupCreatedEventResponse as yo, MagicAuth as yp, UnprocessableEntityError as yr, PasswordResetSucceededEventResponse as ys, CreateAuditLogSchemaResponse as yt, DataIntegrationAuthMethods as yu, ListRoleAssignmentsForResourceOptions as yv, UpdateEnvironmentRoleOptions as yy, WorkOS as z, GroupRoleAssignmentEntryWithResourceExternalId as z_, FeatureFlagContextResponse as za, HttpClientInterface as zb, VaultDekRekeyedEvent as zc, CreateRuleWithTargetsResult as zd, SerializedUpdateUserPasswordOptions as zf, GetProfileOptions as zg, SerializedAuthenticateWithRefreshTokenOptions as zh, AuthenticationRadarRiskDetectedEvent as zi, DataIntegrationsListResponseDataConnectionOwner as zl, CreateOAuthApplicationResponse as zm, PKCE as zn, KnownEventResponse as zo, AuthorizationOrganizationMembership as zp, AgentInstanceDeletedEvent as zr, PipesConnectedAccountConnectionFailedEvent as zs, VerifyResponseResponse as zt, DataIntegrationsVendCredentialsRequestResponse as zu, AuthorizationCheckResult as zv, DirectoryGroup as zy };
|
|
13277
|
-
//# sourceMappingURL=factory-xvKEp07N.d.mts.map
|
|
12455
|
+
export { UpdateObjectOptions as $, SerializedRemoveGroupRoleAssignmentsOptions as $_, FeatureFlagsFlagRuleCreatedEventResponse as $a, WaitlistUserDeniedEvent as $c, ResourceExportResourceType as $d, SerializedSendRadarSmsChallengeOptions as $f, ConnectionResponse as $g, AuthenticateWithMagicAuthOptions as $h, ConnectionDeactivatedEvent as $i, DataIntegrationState as $l, UserConsentOptionResponse as $m, OrganizationResponse as $n, OrganizationDomainVerificationFailedEventResponse as $o, InvitationResponse as $p, AgentRegistrationDeletedEvent as $r, ResourceExportCreatedEvent as $s, RadarListType as $t, ConnectedAccountAuthMethod as $u, CreateAuthorizationResourceOptions as $v, AgentInstanceSessionEventResponseData as $y, WorkOSErrorData as A, OrganizationRoleEvent as A_, DsyncUserUpdatedEventResponse as Aa, AgentBlueprint as Ab, VaultDataDeletedEventResponse as Ac, FlagPollResponse as Ad, WaitlistUserEventResponseData as Af, ProfileAndToken as Ag, AuthenticationEventStatus as Ah, AuthenticationOAuthSucceededEventResponse as Ai, DataIntegrationsUpsertClientCredentialsRequestConnectionOwner as Al, GetApplicationOptions as Am, RefreshAgentTokenOptions as An, InvitationAcceptedEvent as Ao, ListUsersOptions as Ap, ActionUserRegistrationDeniedEventResponse as Ar, PipesAccountConnectionConnectionFailedEvent as As, AuditLogSchemaMetadata as At, CreateDataIntegrationOwnership as Au, RoleAssignmentResponse as Av, DirectoryUserWithGroupsState as Ay, ObjectSummary as B, BaseGroupRoleAssignmentEntry as B_, FeatureFlagEventData as Ba, UpdateAgentBlueprintOptions as Bb, VaultDekRekeyedEventResponse as Bc, FlagTarget as Bd, UpdateUserPasswordOptions as Bf, ConnectionEventConnection as Bg, AuthenticateUserWithPasswordCredentials as Bh, AuthenticationRadarRiskDetectedEventResponse as Bi, DataIntegrationsListResponseDataConnectedAccount as Bl, RedirectUriInput as Bm, PKCEPair as Bn, MagicAuthCreatedEvent as Bo, AuthorizationOrganizationMembershipResponse as Bp, AgentInstanceDeletedEventResponse as Br, PipesConnectedAccountConnectionFailedEventResponse as Bs, VerifyChallengeOptions as Bt, DataIntegrationsVendCredentialsRequestConnectionOwner as Bu, AuthorizationCheckOptions as Bv, DirectoryMetadataResponse as By, ConflictException as C, DirectoryResponse as C_, DsyncTokenRevokedEvent as Ca, SerializedAgentRegistrationClaim as Cb, VaultByokKeyDeletedEvent as Cc, RemoveFlagTargetOptions as Cd, OrganizationDomain as Cf, AuthenticationResponseResponse as Cg, TotpWithSecretsResponse as Ch, AuthenticationMfaFailedEvent as Ci, FinishConnectionOptions as Cl, TokenExchangeResponse as Cm, SerializedClaimAttemptResponse as Cn, GroupMemberAddedEventResponse as Co, LogoutURLOptions as Cp, List as Cr, PermissionDeletedEventResponse as Cs, CreateAuditLogEventOptions as Ct, DataIntegrationAccessTokenResponseAccessTokenResponse as Cu, ListRoleAssignmentsForResourceOptions as Cv, UpdateEnvironmentRoleOptions as Cy, AuthenticationException as D, DirectoryUserWithGroups as D_, DsyncUserDeletedEvent as Da, ListAgentInstancesOptions as Db, VaultDataCreatedEvent as Dc, FlagChange as Dd, CreateOrganizationDomainOptions as Df, UserResponse as Dg, AuthenticationEventResponse as Dh, AuthenticationOAuthFailedEvent as Di, DeleteDataIntegrationOptions as Dl, NewConnectApplicationSecretResponse as Dm, MintAgentTokenOptions as Dn, GroupMemberRemovedEventResponse as Do, WaitlistEntry as Dp, ActionAuthenticationDeniedEvent as Dr, PipesAccountConnectionAddFailedEventResponse as Ds, AuditLogsRetentionResponse as Dt, CreateDataIntegrationOptions as Du, RoleAssignment as Dv, EnvironmentRoleList as Dy, AuthenticationErrorData as E, DirectoryUserResponse as E_, DsyncUserCreatedEventResponse as Ea, AgentInstanceType as Eb, VaultByokKeyVerificationCompletedEventResponse as Ec, ListFlagRulesOptions as Ed, OrganizationDomainVerificationStrategy as Ef, User as Eg, AuthenticationEvent as Eh, AuthenticationMfaSucceededEventResponse as Ei, DeleteOrganizationConnectedAccountOptions as El, NewConnectApplicationSecret as Em, MintAgentDelegatedAgentTokenOptions as En, GroupMemberRemovedEvent as Eo, SerializedListWaitlistEntriesOptions as Ep, GenerateLinkIntent as Er, PipesAccountConnectionAddFailedEvent as Es, AuditLogsRetention as Et, OrganizationConnectedAccountState as Eu, SerializedListRoleAssignmentsOptions as Ev, EnvironmentRole as Ey, WebhookEndpointStatus as F, RoleEventResponse as F_, EventName as Fa, SerializedAgentBlueprint as Fb, VaultDekDecryptedEvent as Fc, EvaluationResource as Fd, SerializedUserApiKeyWithValue as Ff, OauthTokensResponse as Fg, AuthenticateWithRefreshTokenPublicClientOptions as Fh, AuthenticationPasswordFailedEvent as Fi, DataIntegrationsListResponseWire as Fl, CreateApplicationOptions as Fm, ListAgentInstanceSessionsOptions as Fn, InvitationResentEventResponse as Fo, ListSessionsOptions as Fp, AgentBlueprintUpdatedEvent as Fr, PipesAccountConnectionReauthorizationNeededEventResponse as Fs, AuditLogExportState as Ft, DataIntegrationCredentialsInputResponse as Fu, ListMembershipsForResourceOptions as Fv, DirectoryTokenResponse as Fy, VaultObjectResponse as G, ReplaceGroupRoleAssignmentsOptions as G_, FeatureFlagRuleUpdatedContextResponse as Ga, RequestHeaders as Gb, VaultMetadataReadEvent as Gc, LegacyFlagTargetResponse as Gd, AuthMethod as Gf, ConnectionSamlCertificateRenewedEventResponseData as Gg, SerializedAuthenticateWithOrganizationSelectionOptions as Gh, AuthenticationSSOStartedEvent as Gi, DataIntegrationsListResponseDataConnectedAccountConnectionRole as Gl, ConnectApplicationM2MResponse as Gm, ActionContext as Gn, OrganizationDeletedResponse as Go, OrganizationMembershipStatus as Gp, AgentRegistrationClaimAttemptCreatedEvent as Gr, PipesConnectedAccountResponse as Gs, RadarListEntryAlreadyPresentResponse as Gt, DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner as Gu, DeleteAuthorizationResourceOptions as Gv, DeleteDirectoryOptions as Gy, ObjectVersion as H, GroupRoleAssignmentEntryForOrganization as H_, FeatureFlagRuleContext as Ha, HttpClient as Hb, VaultKekCreatedEventResponse as Hc, FlagTargetResourceResponse as Hd, UpdateUserOptions as Hf, ConnectionSamlCertificateRenewalRequiredEventData as Hg, SerializedAuthenticateWithPasswordOptions as Hh, AuthenticationReauthenticationSucceededEventResponse as Hi, DataIntegrationsListResponseDataConnectedAccountWarning as Hl, CreateApplicationClientSecretOptions as Hm, AuthenticationActionResponseData as Hn, OrganizationCreatedEvent as Ho, BaseOrganizationMembershipResponse as Hp, AgentInstanceSessionCreatedEventResponse as Hr, PipesConnectedAccountDisconnectedEventResponse as Hs, Challenge as Ht, DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner as Hu, AuthorizationCheckOptionsWithResourceId as Hv, DirectoryMetadataUserResponse as Hy, UpdateWebhookEndpointEvents as I, RoleList as I_, EventResponse as Ia, SerializedAgentBlueprintInvocableBy as Ib, VaultDekDecryptedEventResponse as Ic, LegacyEvaluationContext as Id, UserApiKeyWithValue as If, ListConnectionsOptions as Ig, SerializedAuthenticateWithRefreshTokenPublicClientOptions as Ih, AuthenticationPasswordFailedEventResponse as Ii, DataIntegrationsListResponseData as Il, CreateM2MApplication as Im, SerializedAgentInstanceSession as In, InvitationRevokedEvent as Io, SerializedListSessionsOptions as Ip, AgentBlueprintUpdatedEventResponse as Ir, PipesConnectedAccount as Is, AuditLogExportOptions as It, DataIntegrationCredentialsInputType as Iu, ListResourcesForMembershipOptions as Iv, DirectorySyncGetGroupOptions as Iy, Actor as J, BaseRemoveGroupRoleAssignmentsOptions as J_, FeatureFlagsFlagCreatedEvent as Ja, ResponseHeaders as Jb, VaultNamesListedEventResponse as Jc, CreateFlagTargetOptions as Jd, SessionStatus as Jf, SamlCertificateRenewed as Jg, SerializedAuthenticateWithRadarSmsChallengeOptions as Jh, AuthenticationSSOSucceededEventResponse as Ji, DataIntegrationsGetUserTokenRequest as Jl, ConnectApplicationResponse as Jm, UserDataPayload as Jn, OrganizationDomainDeletedEvent as Jo, ListGroupsForOrganizationMembershipOptions as Jp, AgentRegistrationClaimCompletedEventResponse as Jr, PipesConnectionFailedResponse as Js, RadarStandaloneResponseWire as Jt, ConnectedAccountWarning as Ju, GetAuthorizationResourceByExternalIdOptions as Jv, AgentBlueprintEventData as Jy, ObjectMetadata as K, SerializedGroupRoleAssignmentEntry as K_, FeatureFlagUpdatedContext as Ka, RequestOptions as Kb, VaultMetadataReadEventResponse as Kc, FlagRule as Kd, Session as Kf, SamlCertificateRenewalRequired as Kg, AuthenticateUserWithRadarSmsChallengeCredentials as Kh, AuthenticationSSOStartedEventResponse as Ki, DataIntegrationsListResponseDataConnectedAccountAuthMethod as Kl, ConnectApplicationOAuth as Km, ActionPayload as Kn, OrganizationDomainCreatedEvent as Ko, ListInvitationsOptions as Kp, AgentRegistrationClaimAttemptCreatedEventResponse as Kr, PipesConnectedAccountState as Ks, RadarListEntryAlreadyPresentResponseWire as Kt, ConnectedAccount as Ku, DeleteAuthorizationResourceByExternalIdOptions as Kv, AgentBlueprintDeletedEventData as Ky, UpdateWebhookEndpointStatus as L, RoleResponse as L_, FeatureFlagActor as La, SerializedAgentBlueprintSessionSettings as Lb, VaultDekReadEvent as Lc, TypedEvaluationContext as Ld, SerializedUserApiKey as Lf, SerializedListConnectionsOptions as Lg, AuthenticateUserWithRefreshTokenCredentials as Lh, AuthenticationPasswordSucceededEvent as Li, DataIntegrationsListResponseDataResponse as Ll, CreateM2MApplicationResponse as Lm, SerializedListAgentInstanceSessionsOptions as Ln, InvitationRevokedEventResponse as Lo, ListOrganizationMembershipsOptions as Lp, AgentInstanceCreatedEvent as Lr, PipesConnectedAccountConnectedEvent as Ls, SerializedAuditLogExportOptions as Lt, CreateDataIntegrationCredentialOptions as Lu, ListResourcesForMembershipOptionsWithParentExternalId as Lv, DirectoryState as Ly, Webhooks as M, OrganizationRoleResponse as M_, EmailVerificationCreatedEventResponse as Ma, AgentBlueprintSessionSettings as Mb, VaultDataReadEventResponse as Mc, FeatureFlag as Md, WaitlistResponse as Mf, Profile as Mg, AuthenticateUserWithTotpCredentials as Mh, AuthenticationPasskeyFailedEventResponse as Mi, DataIntegrationsUpsertApiKeyRequestResponse as Ml, ExternalAuthCompleteResponseWire as Mm, SerializedMintAgentTokenOptions as Mn, InvitationCreatedEvent as Mo, ListUserApiKeysOptions as Mp, AgentBlueprintCreatedEventResponse as Mr, PipesAccountConnectionDisconnectedEvent as Ms, AuditLogTargetSchema as Mt, CustomProviderDefinitionResponse as Mu, RoleAssignmentSource as Mv, DirectoryUserWithGroupsEmailResponse as My, WebhookEndpoint as N, Role as N_, Event as Na, CreateAgentBlueprintOptions as Nb, VaultDataUpdatedEvent as Nc, FeatureFlagResponse as Nd, SerializedVerifyEmailOptions as Nf, ProfileResponse as Ng, AuthenticateWithTotpOptions as Nh, AuthenticationPasskeySucceededEvent as Ni, DataIntegrationsUpsertApiKeyRequestConnectionOwner as Nl, DeleteClientSecretOptions as Nm, AgentInstanceSession as Nn, InvitationCreatedEventResponse as No, SerializedListUserApiKeysOptions as Np, AgentBlueprintDeletedEvent as Nr, PipesAccountConnectionDisconnectedEventResponse as Ns, AuditLogExport as Nt, CustomProviderDefinitionAuthenticateVia as Nu, RoleAssignmentSourceResponse as Nv, DirectoryType as Ny, isAuthenticationErrorData as O, DirectoryUserWithGroupsResponse as O_, DsyncUserDeletedEventResponse as Oa, SerializedAgentInstance as Ob, VaultDataCreatedEventResponse as Oc, FlagPollCondition as Od, SerializedCreateOrganizationDomainOptions as Of, Impersonator as Og, AuthenticationEventSso as Oh, AuthenticationOAuthFailedEventResponse as Oi, DataIntegrationsUpsertClientCredentialsRequest as Ol, ListApplicationsOptions as Om, MintAutonomousAgentTokenOptions as On, GroupUpdatedEvent as Oo, WaitlistEntryResponse as Op, ActionAuthenticationDeniedEventResponse as Or, PipesAccountConnectionConnectedEvent as Os, AuditLogActorSchema as Ot, CreateDataIntegration as Ou, RoleAssignmentResource as Ov, EnvironmentRoleListResponse as Oy, WebhookEndpointResponse as P, RoleEvent as P_, EventBase as Pa, ListAgentBlueprintsOptions as Pb, VaultDataUpdatedEventResponse as Pc, EvaluationContext as Pd, VerifyEmailOptions as Pf, OauthTokens as Pg, SerializedAuthenticateWithTotpOptions as Ph, AuthenticationPasskeySucceededEventResponse as Pi, DataIntegrationsListResponse as Pl, DeleteApplicationOptions as Pm, AgentInstanceSessionStatus as Pn, InvitationResentEvent as Po, ListUserFeatureFlagsOptions as Pp, AgentBlueprintDeletedEventResponse as Pr, PipesAccountConnectionReauthorizationNeededEvent as Ps, AuditLogExportResponse as Pt, DataIntegrationCredentialsInput as Pu, ListMembershipsForResourceByExternalIdOptions as Pv, DirectoryToken as Py, UpdateObjectEntity as Q, RemoveGroupRoleAssignmentsOptionsWithResourceId as Q_, FeatureFlagsFlagRuleCreatedEvent as Qa, WaitlistUserCreatedEventResponse as Qc, ResourceExportEventResponseData as Qd, SendRadarSmsChallengeResponseResponse as Qf, ConnectionDomain as Qg, AuthenticateUserWithMagicAuthCredentials as Qh, ConnectionActivatedEventResponse as Qi, DataIntegrationResponse as Ql, UserConsentOption as Qm, Organization as Qn, OrganizationDomainVerificationFailedEvent as Qo, InvitationEventResponse as Qp, AgentRegistrationCredentialIssuedEventResponse as Qr, ResourceExportCompletedEventResponse as Qs, RadarListAction as Qt, ConnectedAccountConnectionRole as Qu, AuthorizationResourceResponse as Qv, AgentInstanceSessionEventData as Qy, CreateWebhookEndpointEvents as R, ListEffectivePermissionsByExternalIdOptions as R_, FeatureFlagContext as Ra, SerializedCreateAgentBlueprintOptions as Rb, VaultDekReadEventResponse as Rc, CreateRuleWithTargetsOptions as Rd, UserApiKey as Rf, GetProfileAndTokenOptions as Rg, AuthenticateWithRefreshTokenOptions as Rh, AuthenticationPasswordSucceededEventResponse as Ri, DataIntegrationsListResponseDataOwnership as Rl, CreateOAuthApplication as Rm, AutoPaginatable as Rn, KnownEvent as Ro, SerializedListOrganizationMembershipsOptions as Rp, AgentInstanceCreatedEventResponse as Rr, PipesConnectedAccountConnectedEventResponse as Rs, VerifyResponse as Rt, DataIntegrationsVendCredentialsRequest as Ru, ListResourcesForMembershipOptionsWithParentId as Rv, DirectoryStateResponse as Ry, NoApiKeyProvidedException as S, Directory as S_, DsyncTokenCreatedEventResponse as Sa, SerializedAgentRegistration as Sb, UserUpdatedEventResponse as Sc, RuntimeClientOptions as Sd, OrganizationDomainVerificationFailedResponse as Sf, AuthenticationResponse as Sg, TotpWithSecrets as Sh, AuthenticationMagicAuthSucceededEventResponse as Si, GetAccessTokenOptions as Sl, ExchangeTokenOptions as Sm, LinkClaimAttemptToExternalUserOptions as Sn, GroupMemberAddedEvent as So, MagicAuthResponse as Sp, PatchOptions as Sr, PermissionDeletedEvent as Ss, AuditLogTarget as St, DataIntegrationAccessTokenResponseAccessToken as Su, ListRoleAssignmentsForResourceByExternalIdOptions as Sv, SerializedUpdateEnvironmentRoleOptions as Sy, AuthenticationErrorCode as T, DirectoryUser as T_, DsyncUserCreatedEvent as Ta, AgentInstance as Tb, VaultByokKeyVerificationCompletedEvent as Tc, ListFlagTargetsOptions as Td, OrganizationDomainState as Tf, CreateUserResponseResponse as Tg, SmsResponse as Th, AuthenticationMfaSucceededEvent as Ti, DeleteOrganizationDataIntegrationOptions as Tl, UpdateApplicationOptions as Tm, AgentToken as Tn, GroupMemberEventResponseData as To, ListWaitlistEntriesOptions as Tp, GetOptions as Tr, PermissionUpdatedEventResponse as Ts, SerializedCreateAuditLogEventOptions as Tt, CreateOrganizationConnectedAccountOptions as Tu, ListRoleAssignmentsOptions as Tv, SerializedCreateEnvironmentRoleOptions as Ty, ObjectVersionResponse as U, GroupRoleAssignmentEntryWithResourceExternalId as U_, FeatureFlagRuleContextResponse as Ua, HttpClientInterface as Ub, VaultKekDeletedEvent as Uc, FlagTargetResponse as Ud, SerializedUpdateOrganizationMembershipOptions as Uf, ConnectionSamlCertificateRenewalRequiredEventResponseData as Ug, AuthenticateUserWithOrganizationSelectionCredentials as Uh, AuthenticationSSOFailedEvent as Ui, DataIntegrationsListResponseDataConnectedAccountWarningResponse as Ul, ConnectApplication as Um, ResponsePayload as Un, OrganizationCreatedResponse as Uo, OrganizationMembership as Up, AgentInstanceSessionRevokedEvent as Ur, PipesConnectedAccountReauthorizationNeededEvent as Us, ChallengeResponse as Ut, CreateDataIntegrationAuthMethods as Uu, AuthorizationCheckResult as Uv, DirectoryGroup as Uy, ObjectSummaryResponse as V, GroupRoleAssignmentEntry as V_, FeatureFlagEventResponseData as Va, PaginationOptions as Vb, VaultKekCreatedEvent as Vc, FlagTargetResource as Vd, SerializedUpdateUserOptions as Vf, ConnectionEventConnectionResponse as Vg, AuthenticateWithPasswordOptions as Vh, AuthenticationReauthenticationSucceededEvent as Vi, DataIntegrationsListResponseDataConnectedAccountResponse as Vl, RedirectUriInputResponse as Vm, Actions as Vn, MagicAuthCreatedEventResponse as Vo, BaseOrganizationMembership as Vp, AgentInstanceSessionCreatedEvent as Vr, PipesConnectedAccountDisconnectedEvent as Vs, EnrollFactorOptions as Vt, CreateDataIntegrationClientCredentialOptions as Vu, AuthorizationCheckOptionsWithResourceExternalId as Vv, DirectoryMetadataUser as Vy, VaultObject as W, GroupRoleAssignmentEntryWithResourceId as W_, FeatureFlagRuleUpdatedContext as Wa, HttpClientResponseInterface as Wb, VaultKekDeletedEventResponse as Wc, LegacyFlagTarget as Wd, UpdateOrganizationMembershipOptions as Wf, ConnectionSamlCertificateRenewedEventData as Wg, AuthenticateWithOrganizationSelectionOptions as Wh, AuthenticationSSOFailedEventResponse as Wi, DataIntegrationsListResponseDataConnectedAccountState as Wl, ConnectApplicationM2M as Wm, UserRegistrationActionResponseData as Wn, OrganizationDeletedEvent as Wo, OrganizationMembershipResponse as Wp, AgentInstanceSessionRevokedEventResponse as Wr, PipesConnectedAccountReauthorizationNeededEventResponse as Ws, ChallengeFactorOptions as Wt, CreateDataIntegrationApiKeyOptions as Wu, SerializedAuthorizationCheckOptions as Wv, DirectoryGroupResponse as Wy, CreateDataKeyResponse as X, RemoveGroupRoleAssignmentsOptionsForOrganization as X_, FeatureFlagsFlagDeletedEvent as Xa, WaitlistUserApprovedEventResponse as Xc, AddFlagTargetOptions as Xd, SendRadarSmsChallengeOptions as Xf, SamlCertificateType as Xg, AuthenticateWithRadarEmailChallengeOptions as Xh, AuthenticationSSOTimedOutEventResponse as Xi, DataIntegrationsGetUserTokenRequestConnectionOwner as Xl, ConnectApplicationRedirectUriResponse as Xm, SerializedUpdateOrganizationOptions as Xn, OrganizationDomainUpdatedEvent as Xo, Invitation as Xp, AgentRegistrationCreatedEventResponse as Xr, RadarChallengeCreatedEventResponse as Xs, RadarStandaloneResponseControl as Xt, ConnectedAccountState as Xu, SerializedListAuthorizationResourcesOptions as Xv, AgentInstanceSessionCreatedEventData as Xy, ActorResponse as Y, RemoveGroupRoleAssignmentsOptions as Y_, FeatureFlagsFlagCreatedEventResponse as Ya, CryptoProvider as Yb, WaitlistUserApprovedEvent as Yc, CreateFlagRuleOptions as Yd, SendVerificationEmailOptions as Yf, SamlCertificateRenewedResponse as Yg, AuthenticateUserWithRadarEmailChallengeCredentials as Yh, AuthenticationSSOTimedOutEvent as Yi, DataIntegrationsGetUserTokenRequestResponse as Yl, ConnectApplicationRedirectUri as Ym, UserRegistrationActionPayload as Yn, OrganizationDomainDeletedEventResponse as Yo, ListAuthFactorsOptions as Yp, AgentRegistrationCreatedEvent as Yr, RadarChallengeCreatedEvent as Ys, RadarStandaloneResponseBlocklistType as Yt, ConnectedAccountWarningResponse as Yu, ListAuthorizationResourcesOptions as Yv, AgentBlueprintEventResponseData as Yy, CreateDataKeyResponseWire as Z, RemoveGroupRoleAssignmentsOptionsWithResourceExternalId as Z_, FeatureFlagsFlagDeletedEventResponse as Za, WaitlistUserCreatedEvent as Zc, ResourceExportEventData as Zd, SendRadarSmsChallengeResponse as Zf, Connection as Zg, SerializedAuthenticateWithRadarEmailChallengeOptions as Zh, ConnectionActivatedEvent as Zi, DataIntegration as Zl, CompleteOAuth2Options as Zm, UpdateOrganizationOptions as Zn, OrganizationDomainUpdatedEventResponse as Zo, InvitationEvent as Zp, AgentRegistrationCredentialIssuedEvent as Zr, ResourceExportCompletedEvent as Zs, RadarStandaloneResponseVerdict as Zt, ConnectedAccountInputState as Zu, AuthorizationResource as Zv, AgentInstanceSessionCreatedEventResponseData as Zy, UnauthorizedException as _, GetDirectoryUserOptions as __, DsyncGroupUserAddedEvent as _a, AgentRegistrationClaim as _b, UserCreatedEvent as _c, SerializedCreateGroupOptions as _d, SerializedApiKeyPreviousAttributes as _f, AuthenticateWithSessionCookieOptions as _g, FactorType as _h, AuthenticationEmailVerificationSucceededEvent as _i, PipesOwnership as _l, SerializedCreateOrganizationMembershipOptions as _m, ValidateAgentAccessTokenOptions as _n, FlagUpdatedEventResponse as _o, CreateMagicAuthResponse as _p, WorkOSResponseError as _r, PasswordResetCreatedEventResponse as _s, CreateAuditLogSchemaOptions as _t, DataIntegrationAuthorizeUrlResponse as _u, AssignRoleOptions as _v, CreateOrganizationRoleOptions as _y, PublicWorkOS as a, AuthorizeLogoutOptions as a_, ConnectionSamlCertificateRenewedEvent as aa, AgentRegistrationCreatedEventResponseData as ab, RoleCreatedEvent as ac, ApiKeyInstallation as ad, ActionUserRegistrationDeniedEventResponseData as af, SerializedAuthenticateWithCodeAndVerifierOptions as ag, ApplicationCredentialsListItemResponse as ah, AgentRegistrationRefreshedEvent as ai, UpdateOrganizationConnectedAccountOptions as al, EmailVerificationEventResponse as am, PasswordlessSession as an, FeatureFlagsFlagTargetCreatedEventResponse as ao, ResetPasswordOptions as ap, DeleteItContactOptions as ar, OrganizationMembershipDeletedResponse as as, CreateDataKeyOptions as at, DataIntegrationFinishConnectionResponseWire as au, CreateGroupRoleAssignmentOptionsWithResourceId as av, ListPermissionsOptions as ay, OauthException as b, EventDirectory as b_, DsyncGroupUserRemovedEventResponse as ba, AgentRegistrationStatus as bb, UserDeletedEventResponse as bc, RuntimeClientStats as bd, SerializedApiKey as bf, UserManagementAccessToken as bg, Totp as bh, AuthenticationMagicAuthFailedEventResponse as bi, GetOrganizationConnectedAccountOptions as bl, AuthorizedConnectApplication as bm, ClaimAttemptOrganization as bn, GroupDeletedEvent as bo, MagicAuthEvent as bp, PutOptions as br, PermissionCreatedEvent as bs, SerializedCreateAuditLogSchemaOptions as bt, DataIntegrationAccessTokenResponse as bu, BaseAssignRoleOptions as bv, AddEnvironmentRolePermissionOptions as by, PortalLinkResponseWire as c, SlimRole as c_, DsyncActivatedEventResponse as ca, AgentRegistrationCredentialIssuedEventData as cb, RoleDeletedEventResponse as cc, UpdateGroupOptions as cd, ValidateApiKeyResponse as cf, SerializedAuthenticateWithCodeOptions as cg, AuthenticationRadarRiskDetectedEventData as ch, AgentRegistrationRevokedEventResponse as ci, UpdateDataIntegrationResponse as cl, SerializedCreateWaitlistEntryOptions as cm, SerializedListEventOptions as cn, FeatureFlagsFlagUpdatedEvent as co, SerializedResendInvitationOptions as cp, ListItContactsOptions as cr, OrganizationRoleCreatedEvent as cs, CreateTokenOptions as ct, DataIntegrationCustomProviderAuthenticateVia as cu, ListGroupRoleAssignmentsOptions as cv, CreatePermissionOptions as cy, IntentOptions as d, ListDirectoryGroupsOptions as d_, DsyncGroupCreatedEvent as da, AgentRegistrationLifecycleEventResponseData as db, SessionCreatedEvent as dc, ListGroupOrganizationMembershipsOptions as dd, SerializedCreatedApiKey as df, SerializedAuthenticatePublicClientBase as dg, AuthenticationFactorResponse as dh, ApiKeyRevokedEvent as di, UpdateCustomProviderDefinition as dl, CreateUserApiKeyOptions as dm, AgentCredentialValidation as dn, FlagCreatedEventResponse as do, RetryableRefreshSessionFailureReason as dp, SerializedInviteItContactOptions as dr, OrganizationRoleDeletedEventResponse as ds, CookieSession as dt, DataIntegrationCredentialsResponseError as du, RemoveRoleAssignmentOptions as dv, PermissionResponse as dy, ConnectionState as e_, ConnectionDeactivatedEventResponse as ea, AgentRegistrationClaimAttemptCreatedEventData as eb, ResourceExportCreatedEventResponse as ec, AuthorizeDataIntegrationOptions as ed, RadarChallengeCreatedEventData as ef, SerializedAuthenticateWithMagicAuthOptions as eg, UserConsentOptionChoice as eh, AgentRegistrationDeletedEventResponse as ei, WaitlistUserDeniedEventResponse as el, Identity as em, RadarStandaloneAssessRequestAction as en, FeatureFlagsFlagRuleDeletedEvent as eo, SendInvitationOptions as ep, ListOrganizationsOptions as er, OrganizationDomainVerifiedEvent as es, ReadObjectOptions as et, DataIntegrationOwnership as eu, RemoveGroupRoleAssignmentOptions as ev, CreateOptionsWithParentExternalId as ey, IntentOptionsResponse as f, ListGroupsInDirectoryOptions as f_, DsyncGroupCreatedEventResponse as fa, AgentRegistrationMethod as fb, SessionCreatedEventResponse as fc, Group as fd, CreateOrganizationApiKeyOptions as ff, SerializedAuthenticateWithOptionsBase as fg, AuthenticationFactorType as fh, ApiKeyRevokedEventResponse as fi, UpdateCustomProviderDefinitionResponse as fl, CreateUserApiKeyRequestOptions as fm, InvalidAgentCredential as fn, FlagDeletedEvent as fo, TerminalRefreshSessionFailureReason as fp, CreateOrganizationOptions as fr, OrganizationRoleUpdatedEvent as fs, UpdateOrganizationAuditLogsRetentionOptions as ft, DataIntegrationVendedCredential as fu, BaseRemoveRoleOptions as fv, RemoveOrganizationRolePermissionOptions as fy, UnprocessableEntityException as g, GetUserOptions as g_, DsyncGroupUpdatedEventResponse as ga, AgentRegistration as gb, UnknownEventResponse as gc, CreateGroupOptions as gd, ApiKeyUpdatedEventData as gf, AuthenticateWithSessionCookieFailureReason as gg, FactorResponse as gh, AuthenticationEmailVerificationFailedEventResponse as gi, ListDataIntegrationsOptions as gl, CreateOrganizationMembershipOptions as gm, ValidAgentCredential as gn, FlagUpdatedEvent as go, PasswordResetResponse as gp, DomainDataState as gr, PasswordResetCreatedEvent as gs, GetOrganizationAuditLogsRetentionOptions as gt, DataIntegrationCredentialType as gu, SerializedRemoveRoleOptions as gv, UpdateOrganizationRoleOptions as gy, CreateRuleWithTargetsError as h, SerializedListDirectoriesOptions as h_, DsyncGroupUpdatedEvent as ha, AgentIdentity as hb, UnknownEvent as hc, DeleteGroupOptions as hd, ApiKeyPreviousAttributes as hf, AuthenticateWithSessionCookieFailedResponse as hg, Factor as hh, AuthenticationEmailVerificationFailedEvent as hi, ListOrganizationDataProvidersOptions as hl, SerializedCreatePasswordResetOptions as hm, SerializedValidateAgentCredentialOptions as hn, FlagRuleUpdatedEventResponse as ho, PasswordResetEventResponse as hp, DomainData as hr, OrganizationUpdatedResponse as hs, UpdateAuditLogsRetentionRetentionPeriod as ht, DataIntegrationCredentialResponse as hu, RemoveRoleOptionsWithResourceId as hv, SerializedUpdateOrganizationRoleOptions as hy, PublicUserManagement as i, AuthorizeLogout as i_, ConnectionSamlCertificateRenewalRequiredEventResponse as ia, AgentRegistrationCreatedEventData as ib, ResourceExportFailedEventResponse as ic, DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner as id, ActionUserRegistrationDeniedEventData as if, AuthenticateWithCodeAndVerifierOptions as ig, ApplicationCredentialsListItem as ih, AgentRegistrationOrganizationSwitchedEventResponse as ii, UpdateUserConnectedAccountOptions as il, EmailVerificationEvent as im, SerializedCreatePasswordlessSessionOptions as in, FeatureFlagsFlagTargetCreatedEvent as io, serializeRevokeSessionOptions as ip, CreateItContactOptions as ir, OrganizationMembershipDeleted as is, DecryptDataKeyResponse as it, DataIntegrationFinishConnectionResponse as iu, CreateGroupRoleAssignmentOptionsWithResourceExternalId as iv, UpdateAuthorizationResourceOptions as iy, ApiKeyRequiredException as j, OrganizationRoleEventResponse as j_, EmailVerificationCreatedEvent as ja, AgentBlueprintInvocableBy as jb, VaultDataReadEvent as jc, FlagPollRule as jd, Waitlist as jf, ProfileAndTokenResponse as jg, AuthenticationEventType as jh, AuthenticationPasskeyFailedEvent as ji, DataIntegrationsUpsertApiKeyRequest as jl, ExternalAuthCompleteResponse as jm, SerializedAgentToken as jn, InvitationAcceptedEventResponse as jo, SerializedListUsersOptions as jp, AgentBlueprintCreatedEvent as jr, PipesAccountConnectionConnectionFailedEventResponse as js, AuditLogSchemaResponse as jt, CustomProviderDefinition as ju, RoleAssignmentRole as jv, DirectoryUserWithGroupsEmail as jy, GenericServerException as k, ListOrganizationRolesResponse as k_, DsyncUserUpdatedEvent as ka, SerializedListAgentInstancesOptions as kb, VaultDataDeletedEvent as kc, FlagPollEntry as kd, WaitlistUserEventData as kf, ImpersonatorResponse as kg, AuthenticationEventSsoResponse as kh, AuthenticationOAuthSucceededEvent as ki, DataIntegrationsUpsertClientCredentialsRequestResponse as kl, ListApplicationClientSecretsOptions as km, MintUserDelegatedAgentTokenOptions as kn, GroupUpdatedEventResponse as ko, WaitlistEntryState as kp, ActionUserRegistrationDeniedEvent as kr, PipesAccountConnectionConnectedEventResponse as ks, AuditLogSchema as kt, CreateDataIntegrationResponse as ku, RoleAssignmentResourceResponse as kv, EnvironmentRoleResponse as ky, GenerateLink as l, SlimRoleResponse as l_, DsyncDeletedEvent as la, AgentRegistrationCredentialIssuedEventResponseData as lb, RoleUpdatedEvent as lc, RemoveGroupOrganizationMembershipOptions as ld, ListOrganizationApiKeysOptions as lf, AuthenticateWithOptionsBase as lg, AuthenticationRadarRiskDetectedEventResponseData as lh, ApiKeyCreatedEvent as li, UpdateDataIntegrationClientCredentialsOptions as ll, CreateUserOptions as lm, AgentAccessTokenClaims as ln, FeatureFlagsFlagUpdatedEventResponse as lo, RefreshSessionFailureReason as lp, RevokeItContactOptions as lr, OrganizationRoleCreatedEventResponse as ls, WidgetSessionTokenScopes as lt, DataIntegrationCredentialsResponse as lu, GroupRoleAssignment as lv, SerializedCreatePermissionOptions as ly, SSOIntentOptionsResponse as m, ListDirectoriesOptions as m_, DsyncGroupDeletedEventResponse as ma, AgentRegistrationOrganizationSwitchedEventResponseData as mb, SessionRevokedEventResponse as mc, GetGroupOptions as md, SerializedCreateOrganizationApiKeyOptions as mf, AccessTokenClaims as mg, AuthenticationFactorWithSecretsResponse as mh, ApiKeyUpdatedEventResponse as mi, ListUserDataProvidersOptions as ml, CreatePasswordResetOptions as mm, SerializedAgentCredentialValidation as mn, FlagRuleUpdatedEvent as mo, PasswordResetEvent as mp, SerializedCreateOrganizationOptions as mr, OrganizationUpdatedEvent as ms, UpdateAuditLogsRetentionResponse as mt, DataIntegrationCredential as mu, RemoveRoleOptionsWithResourceExternalId as mv, SetOrganizationRolePermissionsOptions as my, PublicClientOptions as n, SSOAuthorizationURLOptions as n_, ConnectionDeletedEventResponse as na, AgentRegistrationClaimCompletedEventData as nb, ResourceExportDownloadedEventResponse as nc, DataIntegrationsGetDataIntegrationAuthorizeUrlRequestResponse as nd, ActionAuthenticationDeniedEventData as nf, AuthenticateWithEmailVerificationOptions as ng, UserObject as nh, AgentRegistrationExpiredEventResponse as ni, DataKeyPair as nl, SerializedEnrollUserInMfaFactorOptions as nm, SendSessionResponse as nn, FeatureFlagsFlagRuleUpdatedEvent as no, RevokeSessionOptions as np, ItContact as nr, OrganizationMembershipCreated as ns, CreateObjectOptions as nt, DataIntegrationInstallationResponse as nu, CreateGroupRoleAssignmentOptions as nv, SerializedCreateAuthorizationResourceOptions as ny, createWorkOS as o, AuthorizeLogoutResponse as o_, ConnectionSamlCertificateRenewedEventResponse as oa, AgentRegistrationCredentialDetail as ob, RoleCreatedEventResponse as oc, ApiKeyInstallationResponse as od, SerializedValidateApiKeyResponse as of, AuthenticateUserWithCodeCredentials as og, PKCEAuthorizationURLResult as oh, AgentRegistrationRefreshedEventResponse as oi, UpdateDataIntegrationOptions as ol, EmailVerificationResponse as om, PasswordlessSessionResponse as on, FeatureFlagsFlagTargetDeletedEvent as oo, SerializedResetPasswordOptions as op, InviteItContactOptions as or, OrganizationMembershipUpdated as os, WidgetSessionTokenResponse as ot, DataIntegrationCustomProvider as ou, SerializedCreateGroupRoleAssignmentOptions as ov, SerializedUpdatePermissionOptions as oy, SSOIntentOptions as p, ListDirectoryUsersOptions as p_, DsyncGroupDeletedEvent as pa, AgentRegistrationOrganizationSwitchedEventData as pb, SessionRevokedEvent as pc, GroupResponse as pd, CreateOrganizationApiKeyRequestOptions as pf, WithResolvedClientId as pg, AuthenticationFactorWithSecrets as ph, ApiKeyUpdatedEvent as pi, UpdateCustomProviderDefinitionAuthenticateVia as pl, SerializedCreateUserApiKeyOptions as pm, SerializedAgentAccessTokenClaims as pn, FlagDeletedEventResponse as po, PasswordReset as pp, CreateOrganizationRequestOptions as pr, OrganizationRoleUpdatedEventResponse as ps, UpdateAuditLogsRetention as pt, DataIntegrationVendedCredentialResponse as pu, RemoveRoleOptions as pv, AddOrganizationRolePermissionOptions as py, ObjectMetadataResponse as q, SerializedReplaceGroupRoleAssignmentsOptions as q_, FeatureFlagUpdatedContextResponse as qa, ResponseHeaderValue as qb, VaultNamesListedEvent as qc, FlagRuleResponse as qd, SessionResponse as qf, SamlCertificateRenewalRequiredResponse as qg, AuthenticateWithRadarSmsChallengeOptions as qh, AuthenticationSSOSucceededEvent as qi, DataIntegrationsListResponseDataAuthMethods as ql, ConnectApplicationOAuthResponse as qm, UserData as qn, OrganizationDomainCreatedEventResponse as qo, SerializedListInvitationsOptions as qp, AgentRegistrationClaimCompletedEvent as qr, PipesConnectionFailed as qs, RadarStandaloneResponse as qt, ConnectedAccountResponse as qu, UpdateAuthorizationResourceByExternalIdOptions as qv, AgentBlueprintDeletedEventResponseData as qy, PublicSSO as r, SSOPKCEAuthorizationURLResult as r_, ConnectionSamlCertificateRenewalRequiredEvent as ra, AgentRegistrationClaimCompletedEventResponseData as rb, ResourceExportFailedEvent as rc, DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent as rd, ActionAuthenticationDeniedEventResponseData as rf, SerializedAuthenticateWithEmailVerificationOptions as rg, UserObjectResponse as rh, AgentRegistrationOrganizationSwitchedEvent as ri, KeyContext as rl, EmailVerification as rm, CreatePasswordlessSessionOptions as rn, FeatureFlagsFlagRuleUpdatedEventResponse as ro, SerializedRevokeSessionOptions as rp, ItContactResponse as rr, OrganizationMembershipCreatedResponse as rs, DecryptDataKeyOptions as rt, DataIntegrationInstallationConnectionRole as ru, CreateGroupRoleAssignmentOptionsForOrganization as rv, SerializedUpdateAuthorizationResourceOptions as ry, PortalLinkResponse as s, SerializedAuthorizeLogoutOptions as s_, DsyncActivatedEvent as sa, AgentRegistrationCredentialDetailResponse as sb, RoleDeletedEvent as sc, SerializedUpdateGroupOptions as sd, ValidateApiKeyOptions as sf, AuthenticateWithCodeOptions as sg, UserManagementAuthorizationURLOptions as sh, AgentRegistrationRevokedEvent as si, UpdateDataIntegration as sl, CreateWaitlistEntryOptions as sm, ListEventOptions as sn, FeatureFlagsFlagTargetDeletedEventResponse as so, ResendInvitationOptions as sp, ItContactIntent as sr, OrganizationMembershipUpdatedResponse as ss, WidgetSessionTokenResponseWire as st, DataIntegrationCustomProviderResponse as su, GetGroupRoleAssignmentOptions as sv, UpdatePermissionOptions as sy, ConfidentialClientOptions as t, ConnectionType as t_, ConnectionDeletedEvent as ta, AgentRegistrationClaimAttemptCreatedEventResponseData as tb, ResourceExportDownloadedEvent as tc, DataIntegrationsGetDataIntegrationAuthorizeUrlRequest as td, RadarChallengeCreatedEventResponseData as tf, AuthenticateUserWithEmailVerificationCredentials as tg, UserConsentOptionChoiceResponse as th, AgentRegistrationExpiredEvent as ti, DataKey as tl, EnrollAuthFactorOptions as tm, RadarStandaloneAssessRequestAuthMethod as tn, FeatureFlagsFlagRuleDeletedEventResponse as to, SerializedSendInvitationOptions as tp, ListOrganizationFeatureFlagsOptions as tr, OrganizationDomainVerifiedEventResponse as ts, CreateObjectEntity as tt, DataIntegrationInstallation as tu, BaseCreateGroupRoleAssignmentOptions as tv, CreateOptionsWithParentResourceId as ty, GenerateLinkResponse as u, ListUsersInDirectoryOptions as u_, DsyncDeletedEventResponse as ua, AgentRegistrationLifecycleEventData as ub, RoleUpdatedEventResponse as uc, ListGroupsOptions as ud, CreatedApiKey as uf, AuthenticateWithSessionOptions as ug, AuthenticationFactor as uh, ApiKeyCreatedEventResponse as ui, UpdateDataIntegrationApiKeyOptions as ul, SerializedCreateUserOptions as um, AgentCredentialType as un, FlagCreatedEvent as uo, RefreshSessionResponse as up, SerializedCreateItContactOptions as ur, OrganizationRoleDeletedEvent as us, FeatureFlagsRuntimeClient as ut, DataIntegrationCredentialsResponseWire as uu, GroupRoleAssignmentResponse as uv, Permission as uy, SignatureVerificationException as v, GetDirectoryOptions as v_, DsyncGroupUserAddedEventResponse as va, AgentRegistrationClaimCompletion as vb, UserCreatedEventResponse as vc, AddGroupOrganizationMembershipOptions as vd, SerializedApiKeyUpdatedEventData as vf, AuthenticateWithSessionCookieSuccessResponse as vg, FactorWithSecrets as vh, AuthenticationEmailVerificationSucceededEventResponse as vi, GetUserConnectedAccountOptions as vl, CreateMagicAuthOptions as vm, ValidateAgentApiKeyOptions as vn, GroupCreatedEvent as vo, CreateMagicAuthResponseResponse as vp, WorkOSOptions as vr, PasswordResetSucceededEvent as vs, CreateAuditLogSchemaRequestOptions as vt, DataIntegrationAuthorizeUrlResponseWire as vu, AssignRoleOptionsWithResourceExternalId as vv, SerializedCreateOrganizationRoleOptions as vy, BadRequestException as w, DefaultCustomAttributes as w_, DsyncTokenRevokedEventResponse as wa, SerializedAgentRegistrationClaimCompletion as wb, VaultByokKeyDeletedEventResponse as wc, ListFeatureFlagsOptions as wd, OrganizationDomainResponse as wf, CreateUserResponse as wg, Sms as wh, AuthenticationMfaFailedEventResponse as wi, DeleteUserConnectedAccountOptions as wl, TokenExchangeResponseResponse as wm, SerializedLinkClaimAttemptToExternalUserOptions as wn, GroupMemberEventData as wo, Locale as wp, ListResponse as wr, PermissionUpdatedEvent as ws, CreateAuditLogEventRequestOptions as wt, CreateUserConnectedAccountOptions as wu, SerializedListRoleAssignmentsForResourceOptions as wv, CreateEnvironmentRoleOptions as wy, NotFoundException as x, EventDirectoryResponse as x_, DsyncTokenCreatedEvent as xa, SerializedAgentIdentity as xb, UserUpdatedEvent as xc, RuntimeClientLogger as xd, OrganizationDomainVerificationFailed as xf, AuthenticationMethod as xg, TotpResponse as xh, AuthenticationMagicAuthSucceededEvent as xi, GetDataIntegrationOptions as xl, AuthorizedConnectApplicationResponse as xm, ClaimAttemptResponse as xn, GroupDeletedEventResponse as xo, MagicAuthEventResponse as xp, PostOptions as xr, PermissionCreatedEventResponse as xs, AuditLogActor as xt, DataIntegrationAccessTokenResponseWire as xu, SerializedAssignRoleOptions as xv, SetEnvironmentRolePermissionsOptions as xy, RateLimitExceededException as y, GetDirectoryGroupOptions as y_, DsyncGroupUserRemovedEvent as ya, AgentRegistrationKind as yb, UserDeletedEvent as yc, SerializedAddGroupOrganizationMembershipOptions as yd, ApiKey as yf, SessionCookieData as yg, FactorWithSecretsResponse as yh, AuthenticationMagicAuthFailedEvent as yi, GetOrganizationDataIntegrationOptions as yl, SerializedCreateMagicAuthOptions as ym, ValidateAgentCredentialOptions as yn, GroupCreatedEventResponse as yo, MagicAuth as yp, UnprocessableEntityError as yr, PasswordResetSucceededEventResponse as ys, CreateAuditLogSchemaResponse as yt, DataIntegrationAuthMethods as yu, AssignRoleOptionsWithResourceId as yv, OrganizationRole as yy, WorkOS as z, ListEffectivePermissionsOptions as z_, FeatureFlagContextResponse as za, SerializedUpdateAgentBlueprintOptions as zb, VaultDekRekeyedEvent as zc, CreateRuleWithTargetsResult as zd, SerializedUpdateUserPasswordOptions as zf, GetProfileOptions as zg, SerializedAuthenticateWithRefreshTokenOptions as zh, AuthenticationRadarRiskDetectedEvent as zi, DataIntegrationsListResponseDataConnectionOwner as zl, CreateOAuthApplicationResponse as zm, PKCE as zn, KnownEventResponse as zo, AuthorizationOrganizationMembership as zp, AgentInstanceDeletedEvent as zr, PipesConnectedAccountConnectionFailedEvent as zs, VerifyResponseResponse as zt, DataIntegrationsVendCredentialsRequestResponse as zu, SerializedListResourcesForMembershipOptions as zv, DirectoryMetadata as zy };
|