@distilled.cloud/workos 0.19.2 → 0.20.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.
Files changed (150) hide show
  1. package/lib/credentials.d.ts +1 -1
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +2 -2
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/operations/ApplicationCredentialsControllerCreate.d.ts +4 -4
  6. package/lib/operations/ApplicationCredentialsControllerList.d.ts +3 -3
  7. package/lib/operations/ApplicationsControllerCreate.d.ts +3 -3
  8. package/lib/operations/ApplicationsControllerFind.d.ts +3 -3
  9. package/lib/operations/ApplicationsControllerList.d.ts +6 -6
  10. package/lib/operations/ApplicationsControllerUpdate.d.ts +6 -6
  11. package/lib/operations/AuditLogEventsControllerCreate.d.ts +10 -10
  12. package/lib/operations/AuditLogExportsControllerExport.d.ts +3 -3
  13. package/lib/operations/AuditLogExportsControllerExports.d.ts +8 -8
  14. package/lib/operations/AuditLogValidatorVersionsControllerCreate.d.ts +9 -9
  15. package/lib/operations/AuditLogValidatorVersionsControllerSchemas.d.ts +13 -13
  16. package/lib/operations/AuditLogValidatorsControllerList.d.ts +15 -15
  17. package/lib/operations/AuthenticationChallengesControllerVerify.d.ts +5 -5
  18. package/lib/operations/AuthenticationFactorsControllerChallenge.d.ts +4 -4
  19. package/lib/operations/AuthenticationFactorsControllerCreate.d.ts +7 -7
  20. package/lib/operations/AuthenticationFactorsControllerGet.d.ts +4 -4
  21. package/lib/operations/AuthorizationControllerListEffectivePermissions.d.ts +10 -10
  22. package/lib/operations/AuthorizationControllerListEffectivePermissionsByExternalId.d.ts +11 -11
  23. package/lib/operations/AuthorizationControllerListResourcesForMembership.d.ts +11 -11
  24. package/lib/operations/AuthorizationOrganizationRolePermissionsControllerAddPermission.d.ts +6 -6
  25. package/lib/operations/AuthorizationOrganizationRolePermissionsControllerRemovePermission.d.ts +7 -7
  26. package/lib/operations/AuthorizationOrganizationRolePermissionsControllerSetPermissions.d.ts +7 -7
  27. package/lib/operations/AuthorizationOrganizationRolesControllerCreate.d.ts +9 -9
  28. package/lib/operations/AuthorizationOrganizationRolesControllerGet.d.ts +6 -6
  29. package/lib/operations/AuthorizationOrganizationRolesControllerList.d.ts +7 -7
  30. package/lib/operations/AuthorizationOrganizationRolesControllerUpdate.d.ts +8 -8
  31. package/lib/operations/AuthorizationPermissionsControllerCreate.d.ts +7 -7
  32. package/lib/operations/AuthorizationPermissionsControllerFind.d.ts +5 -5
  33. package/lib/operations/AuthorizationPermissionsControllerList.d.ts +8 -8
  34. package/lib/operations/AuthorizationPermissionsControllerUpdate.d.ts +7 -7
  35. package/lib/operations/AuthorizationResourcesByExternalIdControllerDeleteByExternalId.d.ts +2 -2
  36. package/lib/operations/AuthorizationResourcesByExternalIdControllerGetByExternalId.d.ts +6 -6
  37. package/lib/operations/AuthorizationResourcesByExternalIdControllerListOrganizationMembershipsForResourceByExternalId.d.ts +15 -15
  38. package/lib/operations/AuthorizationResourcesByExternalIdControllerUpdateByExternalId.d.ts +8 -8
  39. package/lib/operations/AuthorizationResourcesControllerCreate.d.ts +7 -7
  40. package/lib/operations/AuthorizationResourcesControllerDelete.d.ts +1 -1
  41. package/lib/operations/AuthorizationResourcesControllerFindById.d.ts +5 -5
  42. package/lib/operations/AuthorizationResourcesControllerList.d.ts +11 -11
  43. package/lib/operations/AuthorizationResourcesControllerListOrganizationMembershipsForResource.d.ts +13 -13
  44. package/lib/operations/AuthorizationResourcesControllerUpdate.d.ts +7 -7
  45. package/lib/operations/AuthorizationRoleAssignmentsControllerAssignRole.d.ts +6 -6
  46. package/lib/operations/AuthorizationRoleAssignmentsControllerListRoleAssignments.d.ts +10 -10
  47. package/lib/operations/AuthorizationRolePermissionsControllerAddPermission.d.ts +6 -6
  48. package/lib/operations/AuthorizationRolePermissionsControllerSetPermissions.d.ts +7 -7
  49. package/lib/operations/AuthorizationRolesControllerCreate.d.ts +8 -8
  50. package/lib/operations/AuthorizationRolesControllerGet.d.ts +6 -6
  51. package/lib/operations/AuthorizationRolesControllerList.d.ts +7 -7
  52. package/lib/operations/AuthorizationRolesControllerUpdate.d.ts +8 -8
  53. package/lib/operations/AuthorizedApplicationsControllerList.d.ts +11 -11
  54. package/lib/operations/ConnectionsControllerFind.d.ts +8 -8
  55. package/lib/operations/ConnectionsControllerList.d.ts +13 -13
  56. package/lib/operations/CorsOriginsControllerCreateCorsOrigin.d.ts +2 -2
  57. package/lib/operations/DataIntegrationsControllerGetDataIntegrationAuthorizeUrl.d.ts +2 -2
  58. package/lib/operations/DataIntegrationsControllerGetUserlandUserToken.d.ts +1 -1
  59. package/lib/operations/DataIntegrationsUserManagementControllerDeleteUserDataInstallation.d.ts +2 -2
  60. package/lib/operations/DataIntegrationsUserManagementControllerGetUserDataInstallation.d.ts +5 -5
  61. package/lib/operations/DataIntegrationsUserManagementControllerGetUserDataIntegrations.d.ts +14 -14
  62. package/lib/operations/DirectoriesControllerFind.d.ts +9 -9
  63. package/lib/operations/DirectoriesControllerList.d.ts +13 -13
  64. package/lib/operations/DirectoryGroupsControllerFind.d.ts +4 -4
  65. package/lib/operations/DirectoryGroupsControllerList.d.ts +8 -8
  66. package/lib/operations/DirectoryUsersControllerFind.d.ts +25 -25
  67. package/lib/operations/DirectoryUsersControllerList.d.ts +30 -30
  68. package/lib/operations/EventsControllerList.d.ts +12 -12
  69. package/lib/operations/ExternalAuthControllerCompleteLogin.d.ts +5 -5
  70. package/lib/operations/FeatureFlagsControllerDisableFlag.d.ts +6 -6
  71. package/lib/operations/FeatureFlagsControllerEnableFlag.d.ts +6 -6
  72. package/lib/operations/FeatureFlagsControllerFindBySlug.d.ts +6 -6
  73. package/lib/operations/FeatureFlagsControllerList.d.ts +9 -9
  74. package/lib/operations/GroupMembershipsControllerAddMember.d.ts +5 -5
  75. package/lib/operations/GroupMembershipsControllerListMembers.d.ts +13 -13
  76. package/lib/operations/GroupMembershipsControllerRemoveMember.d.ts +1 -1
  77. package/lib/operations/GroupsControllerCreate.d.ts +6 -6
  78. package/lib/operations/GroupsControllerDelete.d.ts +1 -1
  79. package/lib/operations/GroupsControllerGet.d.ts +5 -5
  80. package/lib/operations/GroupsControllerList.d.ts +8 -8
  81. package/lib/operations/GroupsControllerUpdate.d.ts +6 -6
  82. package/lib/operations/JwtTemplatesControllerUpdateJwtTemplate.d.ts +1 -1
  83. package/lib/operations/OrganizationApiKeysControllerCreate.d.ts +7 -7
  84. package/lib/operations/OrganizationApiKeysControllerList.d.ts +10 -10
  85. package/lib/operations/OrganizationDomainsControllerCreate.d.ts +5 -5
  86. package/lib/operations/OrganizationDomainsControllerGet.d.ts +5 -5
  87. package/lib/operations/OrganizationDomainsControllerVerify.d.ts +5 -5
  88. package/lib/operations/OrganizationFeatureFlagsControllerList.d.ts +10 -10
  89. package/lib/operations/OrganizationMembershipGroupsControllerListGroups.d.ts +8 -8
  90. package/lib/operations/OrganizationsControllerCreate.d.ts +14 -14
  91. package/lib/operations/OrganizationsControllerFind.d.ts +11 -11
  92. package/lib/operations/OrganizationsControllerGetAuditLogConfiguration.d.ts +6 -6
  93. package/lib/operations/OrganizationsControllerGetByExternalId.d.ts +11 -11
  94. package/lib/operations/OrganizationsControllerList.d.ts +15 -15
  95. package/lib/operations/OrganizationsControllerUpdateOrganization.d.ts +16 -16
  96. package/lib/operations/PortalSessionsControllerCreate.d.ts +6 -6
  97. package/lib/operations/RadarStandaloneControllerAssess.d.ts +8 -8
  98. package/lib/operations/RadarStandaloneControllerDeleteRadarListEntry.d.ts +1 -1
  99. package/lib/operations/RadarStandaloneControllerUpdateRadarAttempt.d.ts +2 -2
  100. package/lib/operations/RadarStandaloneControllerUpdateRadarList.d.ts +1 -1
  101. package/lib/operations/RedirectUrisControllerCreate.d.ts +4 -4
  102. package/lib/operations/SsoControllerAuthorize.d.ts +7 -7
  103. package/lib/operations/SsoControllerGetProfile.d.ts +10 -10
  104. package/lib/operations/SsoControllerJsonWebKeySet.d.ts +3 -3
  105. package/lib/operations/SsoControllerLogoutAuthorize.d.ts +1 -1
  106. package/lib/operations/SsoControllerToken.d.ts +18 -18
  107. package/lib/operations/UserlandMagicAuthControllerGet.d.ts +5 -5
  108. package/lib/operations/UserlandMagicAuthControllerSendMagicAuthCodeAndReturn.d.ts +5 -5
  109. package/lib/operations/UserlandSessionsControllerAuthenticate.d.ts +22 -22
  110. package/lib/operations/UserlandSessionsControllerLogout.d.ts +1 -1
  111. package/lib/operations/UserlandSessionsControllerRevokeSession.d.ts +1 -1
  112. package/lib/operations/UserlandSsoControllerAuthorize.d.ts +10 -10
  113. package/lib/operations/UserlandSsoControllerDeviceAuthorization.d.ts +2 -2
  114. package/lib/operations/UserlandUserAuthenticationFactorsControllerCreate.d.ts +18 -18
  115. package/lib/operations/UserlandUserAuthenticationFactorsControllerList.d.ts +8 -8
  116. package/lib/operations/UserlandUserFeatureFlagsControllerList.d.ts +10 -10
  117. package/lib/operations/UserlandUserIdentitiesControllerGet.d.ts +1 -1
  118. package/lib/operations/UserlandUserInvitesControllerAccept.d.ts +10 -10
  119. package/lib/operations/UserlandUserInvitesControllerCreate.d.ts +12 -12
  120. package/lib/operations/UserlandUserInvitesControllerGet.d.ts +10 -10
  121. package/lib/operations/UserlandUserInvitesControllerGetByToken.d.ts +10 -10
  122. package/lib/operations/UserlandUserInvitesControllerList.d.ts +17 -17
  123. package/lib/operations/UserlandUserInvitesControllerResend.d.ts +10 -10
  124. package/lib/operations/UserlandUserInvitesControllerRevoke.d.ts +10 -10
  125. package/lib/operations/UserlandUserOrganizationMembershipsControllerCreate.d.ts +10 -10
  126. package/lib/operations/UserlandUserOrganizationMembershipsControllerDeactivate.d.ts +9 -9
  127. package/lib/operations/UserlandUserOrganizationMembershipsControllerGet.d.ts +9 -9
  128. package/lib/operations/UserlandUserOrganizationMembershipsControllerList.d.ts +15 -15
  129. package/lib/operations/UserlandUserOrganizationMembershipsControllerReactivate.d.ts +9 -9
  130. package/lib/operations/UserlandUserOrganizationMembershipsControllerUpdate.d.ts +9 -9
  131. package/lib/operations/UserlandUserSessionsControllerList.d.ts +14 -14
  132. package/lib/operations/UserlandUsersControllerConfirmEmailChange.d.ts +9 -9
  133. package/lib/operations/UserlandUsersControllerCreate.d.ts +10 -10
  134. package/lib/operations/UserlandUsersControllerCreatePasswordResetToken.d.ts +4 -4
  135. package/lib/operations/UserlandUsersControllerEmailVerification.d.ts +9 -9
  136. package/lib/operations/UserlandUsersControllerGet.d.ts +8 -8
  137. package/lib/operations/UserlandUsersControllerGetByExternalId.d.ts +8 -8
  138. package/lib/operations/UserlandUsersControllerGetEmailVerification.d.ts +5 -5
  139. package/lib/operations/UserlandUsersControllerGetPasswordReset.d.ts +4 -4
  140. package/lib/operations/UserlandUsersControllerList.d.ts +12 -12
  141. package/lib/operations/UserlandUsersControllerResetPassword.d.ts +9 -9
  142. package/lib/operations/UserlandUsersControllerSendEmailChange.d.ts +11 -11
  143. package/lib/operations/UserlandUsersControllerSendVerificationEmail.d.ts +8 -8
  144. package/lib/operations/UserlandUsersControllerUpdate.d.ts +12 -12
  145. package/lib/operations/WebhookEndpointsControllerCreate.d.ts +4 -4
  146. package/lib/operations/WebhookEndpointsControllerList.d.ts +7 -7
  147. package/lib/operations/WebhookEndpointsControllerUpdate.d.ts +6 -6
  148. package/lib/operations/WidgetsPublicControllerIssueWidgetSessionToken.d.ts +1 -1
  149. package/package.json +3 -3
  150. package/src/credentials.ts +2 -2
@@ -27,15 +27,15 @@ export type OrganizationDomainsControllerGetOutput = typeof OrganizationDomainsC
27
27
  export declare const OrganizationDomainsControllerGet: import("@distilled.cloud/core/client").OperationMethod<{
28
28
  readonly id: string;
29
29
  }, {
30
- readonly created_at?: string | undefined;
31
- readonly domain?: string | undefined;
32
- readonly id?: string | undefined;
33
30
  readonly object?: string | undefined;
31
+ readonly id?: string | undefined;
34
32
  readonly organization_id?: string | undefined;
33
+ readonly domain?: string | undefined;
35
34
  readonly state?: "failed" | "legacy_verified" | "pending" | "unverified" | "verified" | undefined;
36
- readonly updated_at?: string | undefined;
37
35
  readonly verification_prefix?: string | undefined;
38
- readonly verification_strategy?: "dns" | "manual" | undefined;
39
36
  readonly verification_token?: string | undefined;
37
+ readonly verification_strategy?: "dns" | "manual" | undefined;
38
+ readonly created_at?: string | undefined;
39
+ readonly updated_at?: string | undefined;
40
40
  }, NotFound, import("~/credentials.ts").Credentials>;
41
41
  //# sourceMappingURL=OrganizationDomainsControllerGet.d.ts.map
@@ -27,15 +27,15 @@ export type OrganizationDomainsControllerVerifyOutput = typeof OrganizationDomai
27
27
  export declare const OrganizationDomainsControllerVerify: import("@distilled.cloud/core/client").OperationMethod<{
28
28
  readonly id: string;
29
29
  }, {
30
- readonly created_at?: string | undefined;
31
- readonly domain?: string | undefined;
32
- readonly id?: string | undefined;
33
30
  readonly object?: string | undefined;
31
+ readonly id?: string | undefined;
34
32
  readonly organization_id?: string | undefined;
33
+ readonly domain?: string | undefined;
35
34
  readonly state?: "failed" | "legacy_verified" | "pending" | "unverified" | "verified" | undefined;
36
- readonly updated_at?: string | undefined;
37
35
  readonly verification_prefix?: string | undefined;
38
- readonly verification_strategy?: "dns" | "manual" | undefined;
39
36
  readonly verification_token?: string | undefined;
37
+ readonly verification_strategy?: "dns" | "manual" | undefined;
38
+ readonly created_at?: string | undefined;
39
+ readonly updated_at?: string | undefined;
40
40
  }, BadRequest, import("~/credentials.ts").Credentials>;
41
41
  //# sourceMappingURL=OrganizationDomainsControllerVerify.d.ts.map
@@ -41,29 +41,29 @@ export type OrganizationFeatureFlagsControllerListOutput = typeof OrganizationFe
41
41
  * @param order - Order the results by the creation time.
42
42
  */
43
43
  export declare const OrganizationFeatureFlagsControllerList: import("@distilled.cloud/core/client").OperationMethod<{
44
- readonly after?: string | undefined;
44
+ readonly organizationId: string;
45
45
  readonly before?: string | undefined;
46
+ readonly after?: string | undefined;
46
47
  readonly limit?: number | undefined;
47
48
  readonly order?: "asc" | "desc" | "normal" | undefined;
48
- readonly organizationId: string;
49
49
  }, {
50
+ readonly object?: string | undefined;
50
51
  readonly data?: readonly {
51
- readonly created_at?: string | undefined;
52
- readonly default_value?: boolean | undefined;
53
- readonly description?: string | null | undefined;
54
- readonly enabled?: boolean | undefined;
52
+ readonly object?: string | undefined;
55
53
  readonly id?: string | undefined;
54
+ readonly slug?: string | undefined;
56
55
  readonly name?: string | undefined;
57
- readonly object?: string | undefined;
56
+ readonly description?: string | null | undefined;
58
57
  readonly owner?: unknown;
59
- readonly slug?: string | undefined;
60
58
  readonly tags?: readonly string[] | undefined;
59
+ readonly enabled?: boolean | undefined;
60
+ readonly default_value?: boolean | undefined;
61
+ readonly created_at?: string | undefined;
61
62
  readonly updated_at?: string | undefined;
62
63
  }[] | undefined;
63
64
  readonly list_metadata?: {
64
- readonly after: string | null;
65
65
  readonly before: string | null;
66
+ readonly after: string | null;
66
67
  } | undefined;
67
- readonly object?: string | undefined;
68
68
  }, NotFound, import("~/credentials.ts").Credentials>;
69
69
  //# sourceMappingURL=OrganizationFeatureFlagsControllerList.d.ts.map
@@ -37,25 +37,25 @@ export type OrganizationMembershipGroupsControllerListGroupsOutput = typeof Orga
37
37
  * @param order - Order the results by the creation time. Supported values are `"asc"` (ascending), `"desc"` (descending), and `"normal"` (descending with reversed cursor semantics where `before` fetches older records and `after` fetches newer records). Defaults to descending.
38
38
  */
39
39
  export declare const OrganizationMembershipGroupsControllerListGroups: import("@distilled.cloud/core/client").OperationMethod<{
40
- readonly after?: string | undefined;
40
+ readonly omId: string;
41
41
  readonly before?: string | undefined;
42
+ readonly after?: string | undefined;
42
43
  readonly limit?: number | undefined;
43
- readonly omId: string;
44
44
  readonly order?: "asc" | "desc" | "normal" | undefined;
45
45
  }, {
46
+ readonly object?: string | undefined;
46
47
  readonly data?: readonly {
47
- readonly created_at?: string | undefined;
48
- readonly description?: string | null | undefined;
49
- readonly id?: string | undefined;
50
- readonly name?: string | undefined;
51
48
  readonly object?: string | undefined;
49
+ readonly id?: string | undefined;
52
50
  readonly organization_id?: string | undefined;
51
+ readonly name?: string | undefined;
52
+ readonly description?: string | null | undefined;
53
+ readonly created_at?: string | undefined;
53
54
  readonly updated_at?: string | undefined;
54
55
  }[] | undefined;
55
56
  readonly list_metadata?: {
56
- readonly after: string | null;
57
57
  readonly before: string | null;
58
+ readonly after: string | null;
58
59
  } | undefined;
59
- readonly object?: string | undefined;
60
60
  }, NotFound, import("~/credentials.ts").Credentials>;
61
61
  //# sourceMappingURL=OrganizationMembershipGroupsControllerListGroups.d.ts.map
@@ -42,40 +42,40 @@ export type OrganizationsControllerCreateOutput = typeof OrganizationsController
42
42
  * Creates a new organization in the current environment.
43
43
  */
44
44
  export declare const OrganizationsControllerCreate: import("@distilled.cloud/core/client").OperationMethod<{
45
+ readonly name?: string | undefined;
45
46
  readonly allow_profiles_outside_organization?: boolean | undefined;
47
+ readonly domains?: readonly string[] | undefined;
46
48
  readonly domain_data?: readonly {
47
49
  readonly domain?: string | undefined;
48
50
  readonly state?: "pending" | "verified" | undefined;
49
51
  }[] | undefined;
50
- readonly domains?: readonly string[] | undefined;
51
- readonly external_id?: string | null | undefined;
52
52
  readonly metadata?: {
53
53
  readonly [x: string]: string;
54
54
  } | null | undefined;
55
- readonly name?: string | undefined;
55
+ readonly external_id?: string | null | undefined;
56
56
  }, {
57
- readonly allow_profiles_outside_organization?: boolean | undefined;
58
- readonly created_at?: string | undefined;
57
+ readonly object?: string | undefined;
58
+ readonly id?: string | undefined;
59
+ readonly name?: string | undefined;
59
60
  readonly domains?: readonly {
60
- readonly created_at: string;
61
- readonly domain: string;
62
- readonly id: string;
63
61
  readonly object: string;
62
+ readonly id: string;
64
63
  readonly organization_id: string;
64
+ readonly domain: string;
65
65
  readonly state?: "failed" | "legacy_verified" | "pending" | "unverified" | "verified" | undefined;
66
- readonly updated_at: string;
67
66
  readonly verification_prefix?: string | undefined;
68
- readonly verification_strategy?: "dns" | "manual" | undefined;
69
67
  readonly verification_token?: string | undefined;
68
+ readonly verification_strategy?: "dns" | "manual" | undefined;
69
+ readonly created_at: string;
70
+ readonly updated_at: string;
70
71
  }[] | undefined;
71
- readonly external_id?: string | null | undefined;
72
- readonly id?: string | undefined;
73
72
  readonly metadata?: {
74
73
  readonly [x: string]: string;
75
74
  } | undefined;
76
- readonly name?: string | undefined;
77
- readonly object?: string | undefined;
75
+ readonly external_id?: string | null | undefined;
78
76
  readonly stripe_customer_id?: string | undefined;
77
+ readonly created_at?: string | undefined;
79
78
  readonly updated_at?: string | undefined;
79
+ readonly allow_profiles_outside_organization?: boolean | undefined;
80
80
  }, BadRequest | Conflict | UnprocessableEntity, import("~/credentials.ts").Credentials>;
81
81
  //# sourceMappingURL=OrganizationsControllerCreate.d.ts.map
@@ -38,28 +38,28 @@ export type OrganizationsControllerFindOutput = typeof OrganizationsControllerFi
38
38
  export declare const OrganizationsControllerFind: import("@distilled.cloud/core/client").OperationMethod<{
39
39
  readonly id: string;
40
40
  }, {
41
- readonly allow_profiles_outside_organization?: boolean | undefined;
42
- readonly created_at?: string | undefined;
41
+ readonly object?: string | undefined;
42
+ readonly id?: string | undefined;
43
+ readonly name?: string | undefined;
43
44
  readonly domains?: readonly {
44
- readonly created_at: string;
45
- readonly domain: string;
46
- readonly id: string;
47
45
  readonly object: string;
46
+ readonly id: string;
48
47
  readonly organization_id: string;
48
+ readonly domain: string;
49
49
  readonly state?: "failed" | "legacy_verified" | "pending" | "unverified" | "verified" | undefined;
50
- readonly updated_at: string;
51
50
  readonly verification_prefix?: string | undefined;
52
- readonly verification_strategy?: "dns" | "manual" | undefined;
53
51
  readonly verification_token?: string | undefined;
52
+ readonly verification_strategy?: "dns" | "manual" | undefined;
53
+ readonly created_at: string;
54
+ readonly updated_at: string;
54
55
  }[] | undefined;
55
- readonly external_id?: string | null | undefined;
56
- readonly id?: string | undefined;
57
56
  readonly metadata?: {
58
57
  readonly [x: string]: string;
59
58
  } | undefined;
60
- readonly name?: string | undefined;
61
- readonly object?: string | undefined;
59
+ readonly external_id?: string | null | undefined;
62
60
  readonly stripe_customer_id?: string | undefined;
61
+ readonly created_at?: string | undefined;
63
62
  readonly updated_at?: string | undefined;
63
+ readonly allow_profiles_outside_organization?: boolean | undefined;
64
64
  }, NotFound, import("~/credentials.ts").Credentials>;
65
65
  //# sourceMappingURL=OrganizationsControllerFind.d.ts.map
@@ -27,15 +27,15 @@ export type OrganizationsControllerGetAuditLogConfigurationOutput = typeof Organ
27
27
  export declare const OrganizationsControllerGetAuditLogConfiguration: import("@distilled.cloud/core/client").OperationMethod<{
28
28
  readonly id: string;
29
29
  }, {
30
+ readonly organization_id?: string | undefined;
31
+ readonly retention_period_in_days?: number | undefined;
32
+ readonly state?: "active" | "disabled" | "inactive" | undefined;
30
33
  readonly log_stream?: {
31
- readonly created_at: string;
32
34
  readonly id: string;
33
- readonly last_synced_at: string | null;
34
- readonly state: "active" | "error" | "inactive" | "invalid";
35
35
  readonly type: "AzureSentinel" | "Datadog" | "GenericHttps" | "GoogleCloudStorage" | "S3" | "Splunk";
36
+ readonly state: "active" | "error" | "inactive" | "invalid";
37
+ readonly last_synced_at: string | null;
38
+ readonly created_at: string;
36
39
  } | undefined;
37
- readonly organization_id?: string | undefined;
38
- readonly retention_period_in_days?: number | undefined;
39
- readonly state?: "active" | "disabled" | "inactive" | undefined;
40
40
  }, NotFound, import("~/credentials.ts").Credentials>;
41
41
  //# sourceMappingURL=OrganizationsControllerGetAuditLogConfiguration.d.ts.map
@@ -38,28 +38,28 @@ export type OrganizationsControllerGetByExternalIdOutput = typeof OrganizationsC
38
38
  export declare const OrganizationsControllerGetByExternalId: import("@distilled.cloud/core/client").OperationMethod<{
39
39
  readonly external_id: string;
40
40
  }, {
41
- readonly allow_profiles_outside_organization?: boolean | undefined;
42
- readonly created_at?: string | undefined;
41
+ readonly object?: string | undefined;
42
+ readonly id?: string | undefined;
43
+ readonly name?: string | undefined;
43
44
  readonly domains?: readonly {
44
- readonly created_at: string;
45
- readonly domain: string;
46
- readonly id: string;
47
45
  readonly object: string;
46
+ readonly id: string;
48
47
  readonly organization_id: string;
48
+ readonly domain: string;
49
49
  readonly state?: "failed" | "legacy_verified" | "pending" | "unverified" | "verified" | undefined;
50
- readonly updated_at: string;
51
50
  readonly verification_prefix?: string | undefined;
52
- readonly verification_strategy?: "dns" | "manual" | undefined;
53
51
  readonly verification_token?: string | undefined;
52
+ readonly verification_strategy?: "dns" | "manual" | undefined;
53
+ readonly created_at: string;
54
+ readonly updated_at: string;
54
55
  }[] | undefined;
55
- readonly external_id?: string | null | undefined;
56
- readonly id?: string | undefined;
57
56
  readonly metadata?: {
58
57
  readonly [x: string]: string;
59
58
  } | undefined;
60
- readonly name?: string | undefined;
61
- readonly object?: string | undefined;
59
+ readonly external_id?: string | null | undefined;
62
60
  readonly stripe_customer_id?: string | undefined;
61
+ readonly created_at?: string | undefined;
63
62
  readonly updated_at?: string | undefined;
63
+ readonly allow_profiles_outside_organization?: boolean | undefined;
64
64
  }, NotFound, import("~/credentials.ts").Credentials>;
65
65
  //# sourceMappingURL=OrganizationsControllerGetByExternalId.d.ts.map
@@ -53,42 +53,42 @@ export type OrganizationsControllerListOutput = typeof OrganizationsControllerLi
53
53
  * @param search - Searchable text for an Organization. Matches against the organization name.
54
54
  */
55
55
  export declare const OrganizationsControllerList: import("@distilled.cloud/core/client").OperationMethod<{
56
- readonly after?: string | undefined;
57
56
  readonly before?: string | undefined;
58
- readonly domains?: string | undefined;
57
+ readonly after?: string | undefined;
59
58
  readonly limit?: number | undefined;
60
59
  readonly order?: "asc" | "desc" | "normal" | undefined;
60
+ readonly domains?: string | undefined;
61
61
  readonly search?: string | undefined;
62
62
  }, {
63
+ readonly object?: string | undefined;
63
64
  readonly data?: readonly {
64
- readonly allow_profiles_outside_organization?: boolean | undefined;
65
- readonly created_at?: string | undefined;
65
+ readonly object?: string | undefined;
66
+ readonly id?: string | undefined;
67
+ readonly name?: string | undefined;
66
68
  readonly domains?: readonly {
67
- readonly created_at: string;
68
- readonly domain: string;
69
- readonly id: string;
70
69
  readonly object: string;
70
+ readonly id: string;
71
71
  readonly organization_id: string;
72
+ readonly domain: string;
72
73
  readonly state?: "failed" | "legacy_verified" | "pending" | "unverified" | "verified" | undefined;
73
- readonly updated_at: string;
74
74
  readonly verification_prefix?: string | undefined;
75
- readonly verification_strategy?: "dns" | "manual" | undefined;
76
75
  readonly verification_token?: string | undefined;
76
+ readonly verification_strategy?: "dns" | "manual" | undefined;
77
+ readonly created_at: string;
78
+ readonly updated_at: string;
77
79
  }[] | undefined;
78
- readonly external_id?: string | null | undefined;
79
- readonly id?: string | undefined;
80
80
  readonly metadata?: {
81
81
  readonly [x: string]: string;
82
82
  } | undefined;
83
- readonly name?: string | undefined;
84
- readonly object?: string | undefined;
83
+ readonly external_id?: string | null | undefined;
85
84
  readonly stripe_customer_id?: string | undefined;
85
+ readonly created_at?: string | undefined;
86
86
  readonly updated_at?: string | undefined;
87
+ readonly allow_profiles_outside_organization?: boolean | undefined;
87
88
  }[] | undefined;
88
89
  readonly list_metadata?: {
89
- readonly after: string | null;
90
90
  readonly before: string | null;
91
+ readonly after: string | null;
91
92
  } | undefined;
92
- readonly object?: string | undefined;
93
93
  }, UnprocessableEntity, import("~/credentials.ts").Credentials>;
94
94
  //# sourceMappingURL=OrganizationsControllerList.d.ts.map
@@ -46,42 +46,42 @@ export type OrganizationsControllerUpdateOrganizationOutput = typeof Organizatio
46
46
  * @param id - Unique identifier of the Organization.
47
47
  */
48
48
  export declare const OrganizationsControllerUpdateOrganization: import("@distilled.cloud/core/client").OperationMethod<{
49
+ readonly id: string;
50
+ readonly name?: string | undefined;
49
51
  readonly allow_profiles_outside_organization?: boolean | undefined;
52
+ readonly domains?: readonly string[] | undefined;
50
53
  readonly domain_data?: readonly {
51
54
  readonly domain?: string | undefined;
52
55
  readonly state?: "pending" | "verified" | undefined;
53
56
  }[] | undefined;
54
- readonly domains?: readonly string[] | undefined;
55
- readonly external_id?: string | null | undefined;
56
- readonly id: string;
57
+ readonly stripe_customer_id?: string | undefined;
57
58
  readonly metadata?: {
58
59
  readonly [x: string]: string;
59
60
  } | null | undefined;
60
- readonly name?: string | undefined;
61
- readonly stripe_customer_id?: string | undefined;
61
+ readonly external_id?: string | null | undefined;
62
62
  }, {
63
- readonly allow_profiles_outside_organization?: boolean | undefined;
64
- readonly created_at?: string | undefined;
63
+ readonly object?: string | undefined;
64
+ readonly id?: string | undefined;
65
+ readonly name?: string | undefined;
65
66
  readonly domains?: readonly {
66
- readonly created_at: string;
67
- readonly domain: string;
68
- readonly id: string;
69
67
  readonly object: string;
68
+ readonly id: string;
70
69
  readonly organization_id: string;
70
+ readonly domain: string;
71
71
  readonly state?: "failed" | "legacy_verified" | "pending" | "unverified" | "verified" | undefined;
72
- readonly updated_at: string;
73
72
  readonly verification_prefix?: string | undefined;
74
- readonly verification_strategy?: "dns" | "manual" | undefined;
75
73
  readonly verification_token?: string | undefined;
74
+ readonly verification_strategy?: "dns" | "manual" | undefined;
75
+ readonly created_at: string;
76
+ readonly updated_at: string;
76
77
  }[] | undefined;
77
- readonly external_id?: string | null | undefined;
78
- readonly id?: string | undefined;
79
78
  readonly metadata?: {
80
79
  readonly [x: string]: string;
81
80
  } | undefined;
82
- readonly name?: string | undefined;
83
- readonly object?: string | undefined;
81
+ readonly external_id?: string | null | undefined;
84
82
  readonly stripe_customer_id?: string | undefined;
83
+ readonly created_at?: string | undefined;
85
84
  readonly updated_at?: string | undefined;
85
+ readonly allow_profiles_outside_organization?: boolean | undefined;
86
86
  }, BadRequest | Conflict | Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
87
87
  //# sourceMappingURL=OrganizationsControllerUpdateOrganization.d.ts.map
@@ -27,20 +27,20 @@ export type PortalSessionsControllerCreateOutput = typeof PortalSessionsControll
27
27
  * Generate a Portal Link scoped to an Organization.
28
28
  */
29
29
  export declare const PortalSessionsControllerCreate: import("@distilled.cloud/core/client").OperationMethod<{
30
+ readonly return_url?: string | undefined;
31
+ readonly success_url?: string | undefined;
32
+ readonly organization?: string | undefined;
30
33
  readonly intent?: "audit_logs" | "bring_your_own_key" | "certificate_renewal" | "domain_verification" | "dsync" | "log_streams" | "sso" | undefined;
31
34
  readonly intent_options?: {
32
- readonly domain_verification?: {
33
- readonly domain_name?: string | undefined;
34
- } | undefined;
35
35
  readonly sso?: {
36
36
  readonly bookmark_slug?: string | undefined;
37
37
  readonly provider_type?: string | undefined;
38
38
  } | undefined;
39
+ readonly domain_verification?: {
40
+ readonly domain_name?: string | undefined;
41
+ } | undefined;
39
42
  } | undefined;
40
43
  readonly it_contact_emails?: readonly string[] | undefined;
41
- readonly organization?: string | undefined;
42
- readonly return_url?: string | undefined;
43
- readonly success_url?: string | undefined;
44
44
  }, {
45
45
  readonly link?: string | undefined;
46
46
  }, BadRequest | Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
@@ -24,18 +24,18 @@ export type RadarStandaloneControllerAssessOutput = typeof RadarStandaloneContro
24
24
  * Assess a request for risk using the Radar engine and receive a verdict.
25
25
  */
26
26
  export declare const RadarStandaloneControllerAssess: import("@distilled.cloud/core/client").OperationMethod<{
27
- readonly action: "login" | "sign in" | "sign up" | "sign-in" | "sign-up" | "sign_in" | "sign_up" | "signup";
28
- readonly auth_method: "Authenticator" | "Email_OTP" | "Other" | "Passkey" | "Password" | "SMS_OTP" | "SSO" | "Social";
29
- readonly bot_score?: string | undefined;
30
- readonly device_fingerprint?: string | undefined;
31
- readonly email: string;
32
27
  readonly ip_address: string;
33
28
  readonly user_agent: string;
29
+ readonly email: string;
30
+ readonly auth_method: "Authenticator" | "Email_OTP" | "Other" | "Passkey" | "Password" | "SMS_OTP" | "SSO" | "Social";
31
+ readonly action: "login" | "sign in" | "sign up" | "sign-in" | "sign-up" | "sign_in" | "sign_up" | "signup";
32
+ readonly device_fingerprint?: string | undefined;
33
+ readonly bot_score?: string | undefined;
34
34
  }, {
35
+ readonly verdict?: "allow" | "block" | "challenge" | undefined;
36
+ readonly reason?: string | undefined;
35
37
  readonly attempt_id?: string | undefined;
36
- readonly blocklist_type?: "country" | "device" | "device_fingerprint" | "domain" | "email" | "ip_address" | "user_agent" | undefined;
37
38
  readonly control?: "bot_detection" | "brute_force_attack" | "credential_stuffing" | "domain_sign_up_rate_limit" | "impossible_travel" | "ip_sign_up_rate_limit" | "repeat_sign_up" | "restriction" | "stale_account" | "unrecognized_device" | undefined;
38
- readonly reason?: string | undefined;
39
- readonly verdict?: "allow" | "block" | "challenge" | undefined;
39
+ readonly blocklist_type?: "country" | "device" | "device_fingerprint" | "domain" | "email" | "ip_address" | "user_agent" | undefined;
40
40
  }, BadRequest, import("~/credentials.ts").Credentials>;
41
41
  //# sourceMappingURL=RadarStandaloneControllerAssess.d.ts.map
@@ -17,8 +17,8 @@ export type RadarStandaloneControllerDeleteRadarListEntryOutput = typeof RadarSt
17
17
  * @param action - The list action indicating whether to remove the entry from the allow or block list.
18
18
  */
19
19
  export declare const RadarStandaloneControllerDeleteRadarListEntry: import("@distilled.cloud/core/client").OperationMethod<{
20
+ readonly type: "country" | "device" | "device_fingerprint" | "domain" | "email" | "ip_address" | "user_agent";
20
21
  readonly action: "allow" | "block";
21
22
  readonly entry: string;
22
- readonly type: "country" | "device" | "device_fingerprint" | "domain" | "email" | "ip_address" | "user_agent";
23
23
  }, void, BadRequest | NotFound, import("~/credentials.ts").Credentials>;
24
24
  //# sourceMappingURL=RadarStandaloneControllerDeleteRadarListEntry.d.ts.map
@@ -16,8 +16,8 @@ export type RadarStandaloneControllerUpdateRadarAttemptOutput = typeof RadarStan
16
16
  * @param id - The unique identifier of the Radar attempt to update.
17
17
  */
18
18
  export declare const RadarStandaloneControllerUpdateRadarAttempt: import("@distilled.cloud/core/client").OperationMethod<{
19
- readonly attempt_status?: string | undefined;
20
- readonly challenge_status?: string | undefined;
21
19
  readonly id: string;
20
+ readonly challenge_status?: string | undefined;
21
+ readonly attempt_status?: string | undefined;
22
22
  }, void, BadRequest | NotFound, import("~/credentials.ts").Credentials>;
23
23
  //# sourceMappingURL=RadarStandaloneControllerUpdateRadarAttempt.d.ts.map
@@ -19,9 +19,9 @@ export type RadarStandaloneControllerUpdateRadarListOutput = typeof RadarStandal
19
19
  * @param action - The list action indicating whether to add the entry to the allow or block list.
20
20
  */
21
21
  export declare const RadarStandaloneControllerUpdateRadarList: import("@distilled.cloud/core/client").OperationMethod<{
22
+ readonly type: "country" | "device" | "device_fingerprint" | "domain" | "email" | "ip_address" | "user_agent";
22
23
  readonly action: "allow" | "block";
23
24
  readonly entry: string;
24
- readonly type: "country" | "device" | "device_fingerprint" | "domain" | "email" | "ip_address" | "user_agent";
25
25
  }, {
26
26
  readonly message?: string | undefined;
27
27
  }, BadRequest, import("~/credentials.ts").Credentials>;
@@ -21,11 +21,11 @@ export type RedirectUrisControllerCreateOutput = typeof RedirectUrisControllerCr
21
21
  export declare const RedirectUrisControllerCreate: import("@distilled.cloud/core/client").OperationMethod<{
22
22
  readonly uri?: string | undefined;
23
23
  }, {
24
- readonly created_at?: string | undefined;
25
- readonly default?: boolean | undefined;
26
- readonly id?: string | undefined;
27
24
  readonly object?: string | undefined;
28
- readonly updated_at?: string | undefined;
25
+ readonly id?: string | undefined;
29
26
  readonly uri?: string | undefined;
27
+ readonly default?: boolean | undefined;
28
+ readonly created_at?: string | undefined;
29
+ readonly updated_at?: string | undefined;
30
30
  }, BadRequest | UnprocessableEntity, import("~/credentials.ts").Credentials>;
31
31
  //# sourceMappingURL=RedirectUrisControllerCreate.d.ts.map
@@ -45,19 +45,19 @@ You can persist the WorkOS organization ID with application user or team identif
45
45
  * @param nonce - A random string generated by the client that is used to mitigate replay attacks.
46
46
  */
47
47
  export declare const SsoControllerAuthorize: import("@distilled.cloud/core/client").OperationMethod<{
48
+ readonly provider_scopes?: string | undefined;
49
+ readonly provider_query_params?: string | undefined;
48
50
  readonly client_id: string;
49
- readonly connection?: string | undefined;
50
51
  readonly domain?: string | undefined;
51
- readonly domain_hint?: string | undefined;
52
- readonly login_hint?: string | undefined;
53
- readonly nonce?: string | undefined;
54
- readonly organization?: string | undefined;
55
52
  readonly provider?: "AppleOAuth" | "BitbucketOAuth" | "GitHubOAuth" | "GitLabOAuth" | "GoogleOAuth" | "IntuitOAuth" | "LinkedInOAuth" | "MicrosoftOAuth" | "SalesforceOAuth" | "SlackOAuth" | "VercelMarketplaceOAuth" | "VercelOAuth" | "XeroOAuth" | undefined;
56
- readonly provider_query_params?: string | undefined;
57
- readonly provider_scopes?: string | undefined;
58
53
  readonly redirect_uri: string;
59
54
  readonly response_type: string;
60
55
  readonly state?: string | undefined;
56
+ readonly connection?: string | undefined;
57
+ readonly organization?: string | undefined;
58
+ readonly domain_hint?: string | undefined;
59
+ readonly login_hint?: string | undefined;
60
+ readonly nonce?: string | undefined;
61
61
  }, {
62
62
  readonly url?: string | undefined;
63
63
  }, never, import("~/credentials.ts").Credentials>;
@@ -25,23 +25,23 @@ export type SsoControllerGetProfileOutput = typeof SsoControllerGetProfileOutput
25
25
  * Exchange an access token for a user's [Profile](/reference/sso/profile). Because this profile is returned in the [Get a Profile and Token endpoint](/reference/sso/profile/get-profile-and-token) your application usually does not need to call this endpoint. It is available for any authentication flows that require an additional endpoint to retrieve a user's profile.
26
26
  */
27
27
  export declare const SsoControllerGetProfile: import("@distilled.cloud/core/client").OperationMethod<{}, {
28
+ readonly object?: string | undefined;
29
+ readonly id?: string | undefined;
30
+ readonly organization_id?: string | null | undefined;
28
31
  readonly connection_id?: string | undefined;
29
32
  readonly connection_type?: "ADFSSAML" | "AdpOidc" | "AppleOAuth" | "Auth0Migration" | "Auth0SAML" | "AzureSAML" | "BitbucketOAuth" | "CasSAML" | "ClassLinkSAML" | "CleverOIDC" | "CloudflareSAML" | "CyberArkSAML" | "DiscordOAuth" | "DuoSAML" | "EntraIdOIDC" | "GenericOIDC" | "GenericSAML" | "GitHubOAuth" | "GitLabOAuth" | "GoogleOAuth" | "GoogleOIDC" | "GoogleSAML" | "IntuitOAuth" | "JumpCloudSAML" | "KeycloakSAML" | "LastPassSAML" | "LinkedInOAuth" | "LoginGovOidc" | "MagicLink" | "MicrosoftOAuth" | "MiniOrangeSAML" | "NetIqSAML" | "OktaOIDC" | "OktaSAML" | "OneLoginSAML" | "OracleSAML" | "Pending" | "PingFederateSAML" | "PingOneSAML" | "RipplingSAML" | "SalesforceOAuth" | "SalesforceSAML" | "ShibbolethGenericSAML" | "ShibbolethSAML" | "SimpleSamlPhpSAML" | "SlackOAuth" | "TestIdp" | "VMwareSAML" | "VercelMarketplaceOAuth" | "VercelOAuth" | "XeroOAuth" | undefined;
30
- readonly custom_attributes?: {
31
- readonly [x: string]: unknown;
32
- } | undefined;
33
+ readonly idp_id?: string | undefined;
33
34
  readonly email?: string | undefined;
34
35
  readonly first_name?: string | null | undefined;
35
- readonly groups?: readonly string[] | undefined;
36
- readonly id?: string | undefined;
37
- readonly idp_id?: string | undefined;
38
36
  readonly last_name?: string | null | undefined;
39
- readonly object?: string | undefined;
40
- readonly organization_id?: string | null | undefined;
37
+ readonly role?: unknown;
38
+ readonly roles?: unknown;
39
+ readonly groups?: readonly string[] | undefined;
40
+ readonly custom_attributes?: {
41
+ readonly [x: string]: unknown;
42
+ } | undefined;
41
43
  readonly raw_attributes?: {
42
44
  readonly [x: string]: unknown;
43
45
  } | undefined;
44
- readonly role?: unknown;
45
- readonly roles?: unknown;
46
46
  }, NotFound, import("~/credentials.ts").Credentials>;
47
47
  //# sourceMappingURL=SsoControllerGetProfile.d.ts.map
@@ -29,12 +29,12 @@ export declare const SsoControllerJsonWebKeySet: import("@distilled.cloud/core/c
29
29
  }, {
30
30
  readonly keys?: readonly {
31
31
  readonly alg: string;
32
- readonly e: string;
33
- readonly kid: string;
34
32
  readonly kty: string;
35
- readonly n: string;
36
33
  readonly use: string;
37
34
  readonly x5c: readonly string[];
35
+ readonly n: string;
36
+ readonly e: string;
37
+ readonly kid: string;
38
38
  readonly "x5t#S256": string;
39
39
  }[] | undefined;
40
40
  }, NotFound, import("~/credentials.ts").Credentials>;
@@ -17,7 +17,7 @@ export type SsoControllerLogoutAuthorizeOutput = typeof SsoControllerLogoutAutho
17
17
  export declare const SsoControllerLogoutAuthorize: import("@distilled.cloud/core/client").OperationMethod<{
18
18
  readonly profile_id: string;
19
19
  }, {
20
- readonly logout_token?: string | undefined;
21
20
  readonly logout_url?: string | undefined;
21
+ readonly logout_token?: string | undefined;
22
22
  }, BadRequest | NotFound, import("~/credentials.ts").Credentials>;
23
23
  //# sourceMappingURL=SsoControllerLogoutAuthorize.d.ts.map