@distilled.cloud/workos 0.19.2 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -28,23 +28,23 @@ export type UserlandUserOrganizationMembershipsControllerCreateOutput = typeof U
28
28
  * Calling this API with an organization and user that match an `inactive` organization membership will activate the membership with the specified role(s).
29
29
  */
30
30
  export declare const UserlandUserOrganizationMembershipsControllerCreate: import("@distilled.cloud/core/client").OperationMethod<{
31
- readonly organization_id: string;
32
31
  readonly user_id: string;
32
+ readonly organization_id: string;
33
33
  }, {
34
- readonly created_at: string;
35
- readonly custom_attributes?: {
36
- readonly [x: string]: unknown;
37
- } | undefined;
38
- readonly directory_managed: boolean;
39
- readonly id: string;
40
34
  readonly object: string;
35
+ readonly id: string;
36
+ readonly user_id: string;
41
37
  readonly organization_id: string;
38
+ readonly status: "active" | "inactive" | "pending";
39
+ readonly directory_managed: boolean;
42
40
  readonly organization_name?: string | undefined;
41
+ readonly custom_attributes?: {
42
+ readonly [x: string]: unknown;
43
+ } | undefined;
44
+ readonly created_at: string;
45
+ readonly updated_at: string;
43
46
  readonly role: {
44
47
  readonly slug?: string | undefined;
45
48
  };
46
- readonly status: "active" | "inactive" | "pending";
47
- readonly updated_at: string;
48
- readonly user_id: string;
49
49
  }, BadRequest | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
50
50
  //# sourceMappingURL=UserlandUserOrganizationMembershipsControllerCreate.d.ts.map
@@ -33,20 +33,20 @@ export type UserlandUserOrganizationMembershipsControllerDeactivateOutput = type
33
33
  export declare const UserlandUserOrganizationMembershipsControllerDeactivate: import("@distilled.cloud/core/client").OperationMethod<{
34
34
  readonly id: string;
35
35
  }, {
36
- readonly created_at: string;
37
- readonly custom_attributes?: {
38
- readonly [x: string]: unknown;
39
- } | undefined;
40
- readonly directory_managed: boolean;
41
- readonly id: string;
42
36
  readonly object: string;
37
+ readonly id: string;
38
+ readonly user_id: string;
43
39
  readonly organization_id: string;
40
+ readonly status: "active" | "inactive" | "pending";
41
+ readonly directory_managed: boolean;
44
42
  readonly organization_name?: string | undefined;
43
+ readonly custom_attributes?: {
44
+ readonly [x: string]: unknown;
45
+ } | undefined;
46
+ readonly created_at: string;
47
+ readonly updated_at: string;
45
48
  readonly role: {
46
49
  readonly slug?: string | undefined;
47
50
  };
48
- readonly status: "active" | "inactive" | "pending";
49
- readonly updated_at: string;
50
- readonly user_id: string;
51
51
  }, BadRequest | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
52
52
  //# sourceMappingURL=UserlandUserOrganizationMembershipsControllerDeactivate.d.ts.map
@@ -30,20 +30,20 @@ export type UserlandUserOrganizationMembershipsControllerGetOutput = typeof User
30
30
  export declare const UserlandUserOrganizationMembershipsControllerGet: import("@distilled.cloud/core/client").OperationMethod<{
31
31
  readonly id: string;
32
32
  }, {
33
- readonly created_at?: string | undefined;
34
- readonly custom_attributes?: {
35
- readonly [x: string]: unknown;
36
- } | undefined;
37
- readonly directory_managed?: boolean | undefined;
38
- readonly id?: string | undefined;
39
33
  readonly object?: string | undefined;
34
+ readonly id?: string | undefined;
35
+ readonly user_id?: string | undefined;
40
36
  readonly organization_id?: string | undefined;
37
+ readonly status?: "active" | "inactive" | "pending" | undefined;
38
+ readonly directory_managed?: boolean | undefined;
41
39
  readonly organization_name?: string | undefined;
40
+ readonly custom_attributes?: {
41
+ readonly [x: string]: unknown;
42
+ } | undefined;
43
+ readonly created_at?: string | undefined;
44
+ readonly updated_at?: string | undefined;
42
45
  readonly role?: {
43
46
  readonly slug?: string | undefined;
44
47
  } | undefined;
45
- readonly status?: "active" | "inactive" | "pending" | undefined;
46
- readonly updated_at?: string | undefined;
47
- readonly user_id?: string | undefined;
48
48
  }, NotFound, import("~/credentials.ts").Credentials>;
49
49
  //# sourceMappingURL=UserlandUserOrganizationMembershipsControllerGet.d.ts.map
@@ -47,35 +47,35 @@ export type UserlandUserOrganizationMembershipsControllerListOutput = typeof Use
47
47
  * @param user_id - The ID of the [user](/reference/authkit/user).
48
48
  */
49
49
  export declare const UserlandUserOrganizationMembershipsControllerList: import("@distilled.cloud/core/client").OperationMethod<{
50
- readonly after?: string | undefined;
51
50
  readonly before?: string | undefined;
51
+ readonly after?: string | undefined;
52
52
  readonly limit?: number | undefined;
53
53
  readonly order?: "asc" | "desc" | "normal" | undefined;
54
54
  readonly organization_id?: string | undefined;
55
55
  readonly statuses?: string | undefined;
56
56
  readonly user_id?: string | undefined;
57
57
  }, {
58
+ readonly object?: string | undefined;
59
+ readonly list_metadata?: {
60
+ readonly before: string | null;
61
+ readonly after: string | null;
62
+ } | undefined;
58
63
  readonly data?: readonly {
59
- readonly created_at?: string | undefined;
60
- readonly custom_attributes?: {
61
- readonly [x: string]: unknown;
62
- } | undefined;
63
- readonly directory_managed?: boolean | undefined;
64
- readonly id?: string | undefined;
65
64
  readonly object?: string | undefined;
65
+ readonly id?: string | undefined;
66
+ readonly user_id?: string | undefined;
66
67
  readonly organization_id?: string | undefined;
68
+ readonly status?: "active" | "inactive" | "pending" | undefined;
69
+ readonly directory_managed?: boolean | undefined;
67
70
  readonly organization_name?: string | undefined;
71
+ readonly custom_attributes?: {
72
+ readonly [x: string]: unknown;
73
+ } | undefined;
74
+ readonly created_at?: string | undefined;
75
+ readonly updated_at?: string | undefined;
68
76
  readonly role?: {
69
77
  readonly slug?: string | undefined;
70
78
  } | undefined;
71
- readonly status?: "active" | "inactive" | "pending" | undefined;
72
- readonly updated_at?: string | undefined;
73
- readonly user_id?: string | undefined;
74
79
  }[] | undefined;
75
- readonly list_metadata?: {
76
- readonly after: string | null;
77
- readonly before: string | null;
78
- } | undefined;
79
- readonly object?: string | undefined;
80
80
  }, BadRequest | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
81
81
  //# sourceMappingURL=UserlandUserOrganizationMembershipsControllerList.d.ts.map
@@ -33,20 +33,20 @@ export type UserlandUserOrganizationMembershipsControllerReactivateOutput = type
33
33
  export declare const UserlandUserOrganizationMembershipsControllerReactivate: import("@distilled.cloud/core/client").OperationMethod<{
34
34
  readonly id: string;
35
35
  }, {
36
- readonly created_at?: string | undefined;
37
- readonly custom_attributes?: {
38
- readonly [x: string]: unknown;
39
- } | undefined;
40
- readonly directory_managed?: boolean | undefined;
41
- readonly id?: string | undefined;
42
36
  readonly object?: string | undefined;
37
+ readonly id?: string | undefined;
38
+ readonly user_id?: string | undefined;
43
39
  readonly organization_id?: string | undefined;
40
+ readonly status?: "active" | "inactive" | "pending" | undefined;
41
+ readonly directory_managed?: boolean | undefined;
44
42
  readonly organization_name?: string | undefined;
43
+ readonly custom_attributes?: {
44
+ readonly [x: string]: unknown;
45
+ } | undefined;
46
+ readonly created_at?: string | undefined;
47
+ readonly updated_at?: string | undefined;
45
48
  readonly role?: {
46
49
  readonly slug?: string | undefined;
47
50
  } | undefined;
48
- readonly status?: "active" | "inactive" | "pending" | undefined;
49
- readonly updated_at?: string | undefined;
50
- readonly user_id?: string | undefined;
51
51
  }, BadRequest | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
52
52
  //# sourceMappingURL=UserlandUserOrganizationMembershipsControllerReactivate.d.ts.map
@@ -30,20 +30,20 @@ export type UserlandUserOrganizationMembershipsControllerUpdateOutput = typeof U
30
30
  export declare const UserlandUserOrganizationMembershipsControllerUpdate: import("@distilled.cloud/core/client").OperationMethod<{
31
31
  readonly id: string;
32
32
  }, {
33
- readonly created_at?: string | undefined;
34
- readonly custom_attributes?: {
35
- readonly [x: string]: unknown;
36
- } | undefined;
37
- readonly directory_managed?: boolean | undefined;
38
- readonly id?: string | undefined;
39
33
  readonly object?: string | undefined;
34
+ readonly id?: string | undefined;
35
+ readonly user_id?: string | undefined;
40
36
  readonly organization_id?: string | undefined;
37
+ readonly status?: "active" | "inactive" | "pending" | undefined;
38
+ readonly directory_managed?: boolean | undefined;
41
39
  readonly organization_name?: string | undefined;
40
+ readonly custom_attributes?: {
41
+ readonly [x: string]: unknown;
42
+ } | undefined;
43
+ readonly created_at?: string | undefined;
44
+ readonly updated_at?: string | undefined;
42
45
  readonly role?: {
43
46
  readonly slug?: string | undefined;
44
47
  } | undefined;
45
- readonly status?: "active" | "inactive" | "pending" | undefined;
46
- readonly updated_at?: string | undefined;
47
- readonly user_id?: string | undefined;
48
48
  }, NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
49
49
  //# sourceMappingURL=UserlandUserOrganizationMembershipsControllerUpdate.d.ts.map
@@ -46,34 +46,34 @@ export type UserlandUserSessionsControllerListOutput = typeof UserlandUserSessio
46
46
  * @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.
47
47
  */
48
48
  export declare const UserlandUserSessionsControllerList: import("@distilled.cloud/core/client").OperationMethod<{
49
- readonly after?: string | undefined;
50
- readonly before?: string | undefined;
51
49
  readonly id: string;
50
+ readonly before?: string | undefined;
51
+ readonly after?: string | undefined;
52
52
  readonly limit?: number | undefined;
53
53
  readonly order?: "asc" | "desc" | "normal" | undefined;
54
54
  }, {
55
+ readonly object?: string | undefined;
56
+ readonly list_metadata?: {
57
+ readonly before: string | null;
58
+ readonly after: string | null;
59
+ } | undefined;
55
60
  readonly data?: readonly {
56
- readonly auth_method: "cross_app_auth" | "external_auth" | "impersonation" | "magic_code" | "migrated_session" | "oauth" | "passkey" | "password" | "sso" | "unknown";
57
- readonly created_at: string;
58
- readonly ended_at: string | null;
59
- readonly expires_at: string;
61
+ readonly object: string;
60
62
  readonly id: string;
61
63
  readonly impersonator?: {
62
64
  readonly email: string;
63
65
  readonly reason: string | null;
64
66
  } | undefined;
65
67
  readonly ip_address: string | null;
66
- readonly object: string;
67
68
  readonly organization_id?: string | undefined;
68
- readonly status: "active" | "expired" | "revoked";
69
- readonly updated_at: string;
70
69
  readonly user_agent: string | null;
71
70
  readonly user_id: string;
71
+ readonly auth_method: "cross_app_auth" | "external_auth" | "impersonation" | "magic_code" | "migrated_session" | "oauth" | "passkey" | "password" | "sso" | "unknown";
72
+ readonly status: "active" | "expired" | "revoked";
73
+ readonly expires_at: string;
74
+ readonly ended_at: string | null;
75
+ readonly created_at: string;
76
+ readonly updated_at: string;
72
77
  }[] | undefined;
73
- readonly list_metadata?: {
74
- readonly after: string | null;
75
- readonly before: string | null;
76
- } | undefined;
77
- readonly object?: string | undefined;
78
78
  }, NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
79
79
  //# sourceMappingURL=UserlandUserSessionsControllerList.d.ts.map
@@ -32,25 +32,25 @@ export type UserlandUsersControllerConfirmEmailChangeOutput = typeof UserlandUse
32
32
  * @param id - The unique ID of the user.
33
33
  */
34
34
  export declare const UserlandUsersControllerConfirmEmailChange: import("@distilled.cloud/core/client").OperationMethod<{
35
- readonly code?: string | undefined;
36
35
  readonly id: string;
36
+ readonly code?: string | undefined;
37
37
  }, {
38
38
  readonly object: string;
39
39
  readonly user: {
40
- readonly created_at: string;
40
+ readonly object: string;
41
+ readonly id: string;
42
+ readonly first_name: string | null;
43
+ readonly last_name: string | null;
44
+ readonly profile_picture_url: string | null;
41
45
  readonly email: string;
42
46
  readonly email_verified: boolean;
43
47
  readonly external_id: string | null;
44
- readonly first_name: string | null;
45
- readonly id: string;
46
- readonly last_name: string | null;
47
- readonly last_sign_in_at: string | null;
48
- readonly locale?: string | null | undefined;
49
48
  readonly metadata?: {
50
49
  readonly [x: string]: string;
51
50
  } | undefined;
52
- readonly object: string;
53
- readonly profile_picture_url: string | null;
51
+ readonly last_sign_in_at: string | null;
52
+ readonly locale?: string | null | undefined;
53
+ readonly created_at: string;
54
54
  readonly updated_at: string;
55
55
  };
56
56
  }, BadRequest | Conflict | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
@@ -32,28 +32,28 @@ export type UserlandUsersControllerCreateOutput = typeof UserlandUsersController
32
32
  */
33
33
  export declare const UserlandUsersControllerCreate: import("@distilled.cloud/core/client").OperationMethod<{
34
34
  readonly email: string;
35
- readonly email_verified?: boolean | null | undefined;
36
- readonly external_id?: string | null | undefined;
37
35
  readonly first_name?: string | null | undefined;
38
36
  readonly last_name?: string | null | undefined;
37
+ readonly email_verified?: boolean | null | undefined;
39
38
  readonly metadata?: {
40
39
  readonly [x: string]: string;
41
40
  } | null | undefined;
41
+ readonly external_id?: string | null | undefined;
42
42
  }, {
43
- readonly created_at?: string | undefined;
43
+ readonly object?: string | undefined;
44
+ readonly id?: string | undefined;
45
+ readonly first_name?: string | null | undefined;
46
+ readonly last_name?: string | null | undefined;
47
+ readonly profile_picture_url?: string | null | undefined;
44
48
  readonly email?: string | undefined;
45
49
  readonly email_verified?: boolean | undefined;
46
50
  readonly external_id?: string | null | undefined;
47
- readonly first_name?: string | null | undefined;
48
- readonly id?: string | undefined;
49
- readonly last_name?: string | null | undefined;
50
- readonly last_sign_in_at?: string | null | undefined;
51
- readonly locale?: string | null | undefined;
52
51
  readonly metadata?: {
53
52
  readonly [x: string]: string;
54
53
  } | undefined;
55
- readonly object?: string | undefined;
56
- readonly profile_picture_url?: string | null | undefined;
54
+ readonly last_sign_in_at?: string | null | undefined;
55
+ readonly locale?: string | null | undefined;
56
+ readonly created_at?: string | undefined;
57
57
  readonly updated_at?: string | undefined;
58
58
  }, BadRequest | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
59
59
  //# sourceMappingURL=UserlandUsersControllerCreate.d.ts.map
@@ -23,13 +23,13 @@ export type UserlandUsersControllerCreatePasswordResetTokenOutput = typeof Userl
23
23
  export declare const UserlandUsersControllerCreatePasswordResetToken: import("@distilled.cloud/core/client").OperationMethod<{
24
24
  readonly email?: string | undefined;
25
25
  }, {
26
- readonly created_at?: string | undefined;
26
+ readonly object?: string | undefined;
27
+ readonly id?: string | undefined;
28
+ readonly user_id?: string | undefined;
27
29
  readonly email?: string | undefined;
28
30
  readonly expires_at?: string | undefined;
29
- readonly id?: string | undefined;
30
- readonly object?: string | undefined;
31
+ readonly created_at?: string | undefined;
31
32
  readonly password_reset_token?: string | import("effect/Redacted").Redacted<string> | undefined;
32
33
  readonly password_reset_url?: string | import("effect/Redacted").Redacted<string> | undefined;
33
- readonly user_id?: string | undefined;
34
34
  }, Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
35
35
  //# sourceMappingURL=UserlandUsersControllerCreatePasswordResetToken.d.ts.map
@@ -31,24 +31,24 @@ export type UserlandUsersControllerEmailVerificationOutput = typeof UserlandUser
31
31
  * @param id - The ID of the user.
32
32
  */
33
33
  export declare const UserlandUsersControllerEmailVerification: import("@distilled.cloud/core/client").OperationMethod<{
34
- readonly code?: string | undefined;
35
34
  readonly id: string;
35
+ readonly code?: string | undefined;
36
36
  }, {
37
37
  readonly user?: {
38
- readonly created_at?: string | undefined;
38
+ readonly object?: string | undefined;
39
+ readonly id?: string | undefined;
40
+ readonly first_name?: string | null | undefined;
41
+ readonly last_name?: string | null | undefined;
42
+ readonly profile_picture_url?: string | null | undefined;
39
43
  readonly email?: string | undefined;
40
44
  readonly email_verified?: boolean | undefined;
41
45
  readonly external_id?: string | null | undefined;
42
- readonly first_name?: string | null | undefined;
43
- readonly id?: string | undefined;
44
- readonly last_name?: string | null | undefined;
45
- readonly last_sign_in_at?: string | null | undefined;
46
- readonly locale?: string | null | undefined;
47
46
  readonly metadata?: {
48
47
  readonly [x: string]: string;
49
48
  } | undefined;
50
- readonly object?: string | undefined;
51
- readonly profile_picture_url?: string | null | undefined;
49
+ readonly last_sign_in_at?: string | null | undefined;
50
+ readonly locale?: string | null | undefined;
51
+ readonly created_at?: string | undefined;
52
52
  readonly updated_at?: string | undefined;
53
53
  } | undefined;
54
54
  }, BadRequest | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
@@ -30,20 +30,20 @@ export type UserlandUsersControllerGetOutput = typeof UserlandUsersControllerGet
30
30
  export declare const UserlandUsersControllerGet: import("@distilled.cloud/core/client").OperationMethod<{
31
31
  readonly id: string;
32
32
  }, {
33
- readonly created_at?: string | undefined;
33
+ readonly object?: string | undefined;
34
+ readonly id?: string | undefined;
35
+ readonly first_name?: string | null | undefined;
36
+ readonly last_name?: string | null | undefined;
37
+ readonly profile_picture_url?: string | null | undefined;
34
38
  readonly email?: string | undefined;
35
39
  readonly email_verified?: boolean | undefined;
36
40
  readonly external_id?: string | null | undefined;
37
- readonly first_name?: string | null | undefined;
38
- readonly id?: string | undefined;
39
- readonly last_name?: string | null | undefined;
40
- readonly last_sign_in_at?: string | null | undefined;
41
- readonly locale?: string | null | undefined;
42
41
  readonly metadata?: {
43
42
  readonly [x: string]: string;
44
43
  } | undefined;
45
- readonly object?: string | undefined;
46
- readonly profile_picture_url?: string | null | undefined;
44
+ readonly last_sign_in_at?: string | null | undefined;
45
+ readonly locale?: string | null | undefined;
46
+ readonly created_at?: string | undefined;
47
47
  readonly updated_at?: string | undefined;
48
48
  }, NotFound, import("~/credentials.ts").Credentials>;
49
49
  //# sourceMappingURL=UserlandUsersControllerGet.d.ts.map
@@ -30,20 +30,20 @@ export type UserlandUsersControllerGetByExternalIdOutput = typeof UserlandUsersC
30
30
  export declare const UserlandUsersControllerGetByExternalId: import("@distilled.cloud/core/client").OperationMethod<{
31
31
  readonly external_id: string;
32
32
  }, {
33
- readonly created_at?: string | undefined;
33
+ readonly object?: string | undefined;
34
+ readonly id?: string | undefined;
35
+ readonly first_name?: string | null | undefined;
36
+ readonly last_name?: string | null | undefined;
37
+ readonly profile_picture_url?: string | null | undefined;
34
38
  readonly email?: string | undefined;
35
39
  readonly email_verified?: boolean | undefined;
36
40
  readonly external_id?: string | null | undefined;
37
- readonly first_name?: string | null | undefined;
38
- readonly id?: string | undefined;
39
- readonly last_name?: string | null | undefined;
40
- readonly last_sign_in_at?: string | null | undefined;
41
- readonly locale?: string | null | undefined;
42
41
  readonly metadata?: {
43
42
  readonly [x: string]: string;
44
43
  } | undefined;
45
- readonly object?: string | undefined;
46
- readonly profile_picture_url?: string | null | undefined;
44
+ readonly last_sign_in_at?: string | null | undefined;
45
+ readonly locale?: string | null | undefined;
46
+ readonly created_at?: string | undefined;
47
47
  readonly updated_at?: string | undefined;
48
48
  }, NotFound, import("~/credentials.ts").Credentials>;
49
49
  //# sourceMappingURL=UserlandUsersControllerGetByExternalId.d.ts.map
@@ -25,13 +25,13 @@ export type UserlandUsersControllerGetEmailVerificationOutput = typeof UserlandU
25
25
  export declare const UserlandUsersControllerGetEmailVerification: import("@distilled.cloud/core/client").OperationMethod<{
26
26
  readonly id: string;
27
27
  }, {
28
- readonly code?: string | undefined;
29
- readonly created_at?: string | undefined;
28
+ readonly object?: string | undefined;
29
+ readonly id?: string | undefined;
30
+ readonly user_id?: string | undefined;
30
31
  readonly email?: string | undefined;
31
32
  readonly expires_at?: string | undefined;
32
- readonly id?: string | undefined;
33
- readonly object?: string | undefined;
33
+ readonly created_at?: string | undefined;
34
34
  readonly updated_at?: string | undefined;
35
- readonly user_id?: string | undefined;
35
+ readonly code?: string | undefined;
36
36
  }, NotFound, import("~/credentials.ts").Credentials>;
37
37
  //# sourceMappingURL=UserlandUsersControllerGetEmailVerification.d.ts.map
@@ -25,13 +25,13 @@ export type UserlandUsersControllerGetPasswordResetOutput = typeof UserlandUsers
25
25
  export declare const UserlandUsersControllerGetPasswordReset: import("@distilled.cloud/core/client").OperationMethod<{
26
26
  readonly id: string;
27
27
  }, {
28
- readonly created_at?: string | undefined;
28
+ readonly object?: string | undefined;
29
+ readonly id?: string | undefined;
30
+ readonly user_id?: string | undefined;
29
31
  readonly email?: string | undefined;
30
32
  readonly expires_at?: string | undefined;
31
- readonly id?: string | undefined;
32
- readonly object?: string | undefined;
33
+ readonly created_at?: string | undefined;
33
34
  readonly password_reset_token?: string | import("effect/Redacted").Redacted<string> | undefined;
34
35
  readonly password_reset_url?: string | import("effect/Redacted").Redacted<string> | undefined;
35
- readonly user_id?: string | undefined;
36
36
  }, NotFound, import("~/credentials.ts").Credentials>;
37
37
  //# sourceMappingURL=UserlandUsersControllerGetPasswordReset.d.ts.map
@@ -47,35 +47,35 @@ export type UserlandUsersControllerListOutput = typeof UserlandUsersControllerLi
47
47
  * @param email - Filter users by their email address.
48
48
  */
49
49
  export declare const UserlandUsersControllerList: import("@distilled.cloud/core/client").OperationMethod<{
50
- readonly after?: string | undefined;
51
50
  readonly before?: string | undefined;
52
- readonly email?: string | undefined;
51
+ readonly after?: string | undefined;
53
52
  readonly limit?: number | undefined;
54
53
  readonly order?: "asc" | "desc" | "normal" | undefined;
55
54
  readonly organization?: string | undefined;
56
55
  readonly organization_id?: string | undefined;
56
+ readonly email?: string | undefined;
57
57
  }, {
58
+ readonly object?: string | undefined;
58
59
  readonly data?: readonly {
59
- readonly created_at?: string | undefined;
60
+ readonly object?: string | undefined;
61
+ readonly id?: string | undefined;
62
+ readonly first_name?: string | null | undefined;
63
+ readonly last_name?: string | null | undefined;
64
+ readonly profile_picture_url?: string | null | undefined;
60
65
  readonly email?: string | undefined;
61
66
  readonly email_verified?: boolean | undefined;
62
67
  readonly external_id?: string | null | undefined;
63
- readonly first_name?: string | null | undefined;
64
- readonly id?: string | undefined;
65
- readonly last_name?: string | null | undefined;
66
- readonly last_sign_in_at?: string | null | undefined;
67
- readonly locale?: string | null | undefined;
68
68
  readonly metadata?: {
69
69
  readonly [x: string]: string;
70
70
  } | undefined;
71
- readonly object?: string | undefined;
72
- readonly profile_picture_url?: string | null | undefined;
71
+ readonly last_sign_in_at?: string | null | undefined;
72
+ readonly locale?: string | null | undefined;
73
+ readonly created_at?: string | undefined;
73
74
  readonly updated_at?: string | undefined;
74
75
  }[] | undefined;
75
76
  readonly list_metadata?: {
76
- readonly after: string | null;
77
77
  readonly before: string | null;
78
+ readonly after: string | null;
78
79
  } | undefined;
79
- readonly object?: string | undefined;
80
80
  }, UnprocessableEntity, import("~/credentials.ts").Credentials>;
81
81
  //# sourceMappingURL=UserlandUsersControllerList.d.ts.map
@@ -29,24 +29,24 @@ export type UserlandUsersControllerResetPasswordOutput = typeof UserlandUsersCon
29
29
  * Sets a new password using the `token` query parameter from the link that the user received. Successfully resetting the password will verify a user's email, if it hasn't been verified yet.
30
30
  */
31
31
  export declare const UserlandUsersControllerResetPassword: import("@distilled.cloud/core/client").OperationMethod<{
32
- readonly new_password?: string | import("effect/Redacted").Redacted<string> | undefined;
33
32
  readonly token?: string | undefined;
33
+ readonly new_password?: string | import("effect/Redacted").Redacted<string> | undefined;
34
34
  }, {
35
35
  readonly user?: {
36
- readonly created_at?: string | undefined;
36
+ readonly object?: string | undefined;
37
+ readonly id?: string | undefined;
38
+ readonly first_name?: string | null | undefined;
39
+ readonly last_name?: string | null | undefined;
40
+ readonly profile_picture_url?: string | null | undefined;
37
41
  readonly email?: string | undefined;
38
42
  readonly email_verified?: boolean | undefined;
39
43
  readonly external_id?: string | null | undefined;
40
- readonly first_name?: string | null | undefined;
41
- readonly id?: string | undefined;
42
- readonly last_name?: string | null | undefined;
43
- readonly last_sign_in_at?: string | null | undefined;
44
- readonly locale?: string | null | undefined;
45
44
  readonly metadata?: {
46
45
  readonly [x: string]: string;
47
46
  } | undefined;
48
- readonly object?: string | undefined;
49
- readonly profile_picture_url?: string | null | undefined;
47
+ readonly last_sign_in_at?: string | null | undefined;
48
+ readonly locale?: string | null | undefined;
49
+ readonly created_at?: string | undefined;
50
50
  readonly updated_at?: string | undefined;
51
51
  } | undefined;
52
52
  }, BadRequest | Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
@@ -38,26 +38,26 @@ export declare const UserlandUsersControllerSendEmailChange: import("@distilled.
38
38
  readonly id: string;
39
39
  readonly new_email?: string | undefined;
40
40
  }, {
41
- readonly created_at?: string | undefined;
42
- readonly expires_at?: string | undefined;
43
- readonly new_email?: string | undefined;
44
41
  readonly object?: string | undefined;
45
42
  readonly user?: {
46
- readonly created_at?: string | undefined;
43
+ readonly object?: string | undefined;
44
+ readonly id?: string | undefined;
45
+ readonly first_name?: string | null | undefined;
46
+ readonly last_name?: string | null | undefined;
47
+ readonly profile_picture_url?: string | null | undefined;
47
48
  readonly email?: string | undefined;
48
49
  readonly email_verified?: boolean | undefined;
49
50
  readonly external_id?: string | null | undefined;
50
- readonly first_name?: string | null | undefined;
51
- readonly id?: string | undefined;
52
- readonly last_name?: string | null | undefined;
53
- readonly last_sign_in_at?: string | null | undefined;
54
- readonly locale?: string | null | undefined;
55
51
  readonly metadata?: {
56
52
  readonly [x: string]: string;
57
53
  } | undefined;
58
- readonly object?: string | undefined;
59
- readonly profile_picture_url?: string | null | undefined;
54
+ readonly last_sign_in_at?: string | null | undefined;
55
+ readonly locale?: string | null | undefined;
56
+ readonly created_at?: string | undefined;
60
57
  readonly updated_at?: string | undefined;
61
58
  } | undefined;
59
+ readonly new_email?: string | undefined;
60
+ readonly expires_at?: string | undefined;
61
+ readonly created_at?: string | undefined;
62
62
  }, Conflict | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
63
63
  //# sourceMappingURL=UserlandUsersControllerSendEmailChange.d.ts.map
@@ -33,20 +33,20 @@ export declare const UserlandUsersControllerSendVerificationEmail: import("@dist
33
33
  readonly id: string;
34
34
  }, {
35
35
  readonly user?: {
36
- readonly created_at?: string | undefined;
36
+ readonly object?: string | undefined;
37
+ readonly id?: string | undefined;
38
+ readonly first_name?: string | null | undefined;
39
+ readonly last_name?: string | null | undefined;
40
+ readonly profile_picture_url?: string | null | undefined;
37
41
  readonly email?: string | undefined;
38
42
  readonly email_verified?: boolean | undefined;
39
43
  readonly external_id?: string | null | undefined;
40
- readonly first_name?: string | null | undefined;
41
- readonly id?: string | undefined;
42
- readonly last_name?: string | null | undefined;
43
- readonly last_sign_in_at?: string | null | undefined;
44
- readonly locale?: string | null | undefined;
45
44
  readonly metadata?: {
46
45
  readonly [x: string]: string;
47
46
  } | undefined;
48
- readonly object?: string | undefined;
49
- readonly profile_picture_url?: string | null | undefined;
47
+ readonly last_sign_in_at?: string | null | undefined;
48
+ readonly locale?: string | null | undefined;
49
+ readonly created_at?: string | undefined;
50
50
  readonly updated_at?: string | undefined;
51
51
  } | undefined;
52
52
  }, BadRequest | NotFound, import("~/credentials.ts").Credentials>;