@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
@@ -30,15 +30,15 @@ export declare const AuthorizationOrganizationRolePermissionsControllerAddPermis
30
30
  readonly organizationId: string;
31
31
  readonly slug: string;
32
32
  }, {
33
- readonly created_at: string;
34
- readonly description: string | null;
33
+ readonly slug: string;
34
+ readonly object: string;
35
35
  readonly id: string;
36
36
  readonly name: string;
37
- readonly object: string;
38
- readonly permissions: readonly string[];
39
- readonly resource_type_slug: string;
40
- readonly slug: string;
37
+ readonly description: string | null;
41
38
  readonly type: "EnvironmentRole" | "OrganizationRole";
39
+ readonly resource_type_slug: string;
40
+ readonly permissions: readonly string[];
41
+ readonly created_at: string;
42
42
  readonly updated_at: string;
43
43
  }, BadRequest | Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
44
44
  //# sourceMappingURL=AuthorizationOrganizationRolePermissionsControllerAddPermission.d.ts.map
@@ -30,18 +30,18 @@ export type AuthorizationOrganizationRolePermissionsControllerRemovePermissionOu
30
30
  */
31
31
  export declare const AuthorizationOrganizationRolePermissionsControllerRemovePermission: import("@distilled.cloud/core/client").OperationMethod<{
32
32
  readonly organizationId: string;
33
- readonly permissionSlug: string;
34
33
  readonly slug: string;
34
+ readonly permissionSlug: string;
35
35
  }, {
36
- readonly created_at?: string | undefined;
37
- readonly description?: string | null | undefined;
36
+ readonly slug?: string | undefined;
37
+ readonly object?: string | undefined;
38
38
  readonly id?: string | undefined;
39
39
  readonly name?: string | undefined;
40
- readonly object?: string | undefined;
41
- readonly permissions?: readonly string[] | undefined;
42
- readonly resource_type_slug?: string | undefined;
43
- readonly slug?: string | undefined;
40
+ readonly description?: string | null | undefined;
44
41
  readonly type?: "EnvironmentRole" | "OrganizationRole" | undefined;
42
+ readonly resource_type_slug?: string | undefined;
43
+ readonly permissions?: readonly string[] | undefined;
44
+ readonly created_at?: string | undefined;
45
45
  readonly updated_at?: string | undefined;
46
46
  }, Forbidden | NotFound, import("~/credentials.ts").Credentials>;
47
47
  //# sourceMappingURL=AuthorizationOrganizationRolePermissionsControllerRemovePermission.d.ts.map
@@ -29,18 +29,18 @@ export type AuthorizationOrganizationRolePermissionsControllerSetPermissionsOutp
29
29
  */
30
30
  export declare const AuthorizationOrganizationRolePermissionsControllerSetPermissions: import("@distilled.cloud/core/client").OperationMethod<{
31
31
  readonly organizationId: string;
32
- readonly permissions?: readonly string[] | undefined;
33
32
  readonly slug: string;
33
+ readonly permissions?: readonly string[] | undefined;
34
34
  }, {
35
- readonly created_at: string;
36
- readonly description: string | null;
35
+ readonly slug: string;
36
+ readonly object: string;
37
37
  readonly id: string;
38
38
  readonly name: string;
39
- readonly object: string;
40
- readonly permissions: readonly string[];
41
- readonly resource_type_slug: string;
42
- readonly slug: string;
39
+ readonly description: string | null;
43
40
  readonly type: "EnvironmentRole" | "OrganizationRole";
41
+ readonly resource_type_slug: string;
42
+ readonly permissions: readonly string[];
43
+ readonly created_at: string;
44
44
  readonly updated_at: string;
45
45
  }, Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
46
46
  //# sourceMappingURL=AuthorizationOrganizationRolePermissionsControllerSetPermissions.d.ts.map
@@ -29,21 +29,21 @@ export type AuthorizationOrganizationRolesControllerCreateOutput = typeof Author
29
29
  * @param organizationId - The ID of the organization.
30
30
  */
31
31
  export declare const AuthorizationOrganizationRolesControllerCreate: import("@distilled.cloud/core/client").OperationMethod<{
32
- readonly description?: string | null | undefined;
33
- readonly name?: string | undefined;
34
32
  readonly organizationId: string;
35
- readonly resource_type_slug?: string | undefined;
36
33
  readonly slug?: string | undefined;
34
+ readonly name?: string | undefined;
35
+ readonly description?: string | null | undefined;
36
+ readonly resource_type_slug?: string | undefined;
37
37
  }, {
38
- readonly created_at: string;
39
- readonly description: string | null;
38
+ readonly slug: string;
39
+ readonly object: string;
40
40
  readonly id: string;
41
41
  readonly name: string;
42
- readonly object: string;
43
- readonly permissions: readonly string[];
44
- readonly resource_type_slug: string;
45
- readonly slug: string;
42
+ readonly description: string | null;
46
43
  readonly type: "EnvironmentRole" | "OrganizationRole";
44
+ readonly resource_type_slug: string;
45
+ readonly permissions: readonly string[];
46
+ readonly created_at: string;
47
47
  readonly updated_at: string;
48
48
  }, BadRequest | Conflict | Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
49
49
  //# sourceMappingURL=AuthorizationOrganizationRolesControllerCreate.d.ts.map
@@ -30,15 +30,15 @@ export declare const AuthorizationOrganizationRolesControllerGet: import("@disti
30
30
  readonly organizationId: string;
31
31
  readonly slug: string;
32
32
  }, {
33
- readonly created_at: string;
34
- readonly description: string | null;
33
+ readonly slug: string;
34
+ readonly object: string;
35
35
  readonly id: string;
36
36
  readonly name: string;
37
- readonly object: string;
38
- readonly permissions: readonly string[];
39
- readonly resource_type_slug: string;
40
- readonly slug: string;
37
+ readonly description: string | null;
41
38
  readonly type: "EnvironmentRole" | "OrganizationRole";
39
+ readonly resource_type_slug: string;
40
+ readonly permissions: readonly string[];
41
+ readonly created_at: string;
42
42
  readonly updated_at: string;
43
43
  }, Forbidden | NotFound, import("~/credentials.ts").Credentials>;
44
44
  //# sourceMappingURL=AuthorizationOrganizationRolesControllerGet.d.ts.map
@@ -30,18 +30,18 @@ export type AuthorizationOrganizationRolesControllerListOutput = typeof Authoriz
30
30
  export declare const AuthorizationOrganizationRolesControllerList: import("@distilled.cloud/core/client").OperationMethod<{
31
31
  readonly organizationId: string;
32
32
  }, {
33
+ readonly object?: string | undefined;
33
34
  readonly data?: readonly {
34
- readonly created_at?: string | undefined;
35
- readonly description?: string | null | undefined;
35
+ readonly slug?: string | undefined;
36
+ readonly object?: string | undefined;
36
37
  readonly id?: string | undefined;
37
38
  readonly name?: string | undefined;
38
- readonly object?: string | undefined;
39
- readonly permissions?: readonly string[] | undefined;
40
- readonly resource_type_slug?: string | undefined;
41
- readonly slug?: string | undefined;
39
+ readonly description?: string | null | undefined;
42
40
  readonly type?: "EnvironmentRole" | "OrganizationRole" | undefined;
41
+ readonly resource_type_slug?: string | undefined;
42
+ readonly permissions?: readonly string[] | undefined;
43
+ readonly created_at?: string | undefined;
43
44
  readonly updated_at?: string | undefined;
44
45
  }[] | undefined;
45
- readonly object?: string | undefined;
46
46
  }, Forbidden | NotFound, import("~/credentials.ts").Credentials>;
47
47
  //# sourceMappingURL=AuthorizationOrganizationRolesControllerList.d.ts.map
@@ -29,20 +29,20 @@ export type AuthorizationOrganizationRolesControllerUpdateOutput = typeof Author
29
29
  * @param slug - The slug of the role.
30
30
  */
31
31
  export declare const AuthorizationOrganizationRolesControllerUpdate: import("@distilled.cloud/core/client").OperationMethod<{
32
- readonly description?: string | null | undefined;
33
- readonly name?: string | undefined;
34
32
  readonly organizationId: string;
35
33
  readonly slug: string;
34
+ readonly name?: string | undefined;
35
+ readonly description?: string | null | undefined;
36
36
  }, {
37
- readonly created_at: string;
38
- readonly description: string | null;
37
+ readonly slug: string;
38
+ readonly object: string;
39
39
  readonly id: string;
40
40
  readonly name: string;
41
- readonly object: string;
42
- readonly permissions: readonly string[];
43
- readonly resource_type_slug: string;
44
- readonly slug: string;
41
+ readonly description: string | null;
45
42
  readonly type: "EnvironmentRole" | "OrganizationRole";
43
+ readonly resource_type_slug: string;
44
+ readonly permissions: readonly string[];
45
+ readonly created_at: string;
46
46
  readonly updated_at: string;
47
47
  }, BadRequest | Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
48
48
  //# sourceMappingURL=AuthorizationOrganizationRolesControllerUpdate.d.ts.map
@@ -25,19 +25,19 @@ export type AuthorizationPermissionsControllerCreateOutput = typeof Authorizatio
25
25
  * Create a new permission in your WorkOS environment. The permission can then be assigned to environment roles and custom roles.
26
26
  */
27
27
  export declare const AuthorizationPermissionsControllerCreate: import("@distilled.cloud/core/client").OperationMethod<{
28
- readonly description?: string | null | undefined;
28
+ readonly slug?: string | undefined;
29
29
  readonly name?: string | undefined;
30
+ readonly description?: string | null | undefined;
30
31
  readonly resource_type_slug?: string | undefined;
31
- readonly slug?: string | undefined;
32
32
  }, {
33
- readonly created_at: string;
34
- readonly description: string | null;
35
- readonly id: string;
36
- readonly name: string;
37
33
  readonly object: string;
38
- readonly resource_type_slug: string;
34
+ readonly id: string;
39
35
  readonly slug: string;
36
+ readonly name: string;
37
+ readonly description: string | null;
40
38
  readonly system: boolean;
39
+ readonly resource_type_slug: string;
40
+ readonly created_at: string;
41
41
  readonly updated_at: string;
42
42
  }, BadRequest | Conflict | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
43
43
  //# sourceMappingURL=AuthorizationPermissionsControllerCreate.d.ts.map
@@ -26,14 +26,14 @@ export type AuthorizationPermissionsControllerFindOutput = typeof AuthorizationP
26
26
  export declare const AuthorizationPermissionsControllerFind: import("@distilled.cloud/core/client").OperationMethod<{
27
27
  readonly slug: string;
28
28
  }, {
29
- readonly created_at?: string | undefined;
30
- readonly description?: string | null | undefined;
31
- readonly id?: string | undefined;
32
- readonly name?: string | undefined;
33
29
  readonly object?: string | undefined;
34
- readonly resource_type_slug?: string | undefined;
30
+ readonly id?: string | undefined;
35
31
  readonly slug?: string | undefined;
32
+ readonly name?: string | undefined;
33
+ readonly description?: string | null | undefined;
36
34
  readonly system?: boolean | undefined;
35
+ readonly resource_type_slug?: string | undefined;
36
+ readonly created_at?: string | undefined;
37
37
  readonly updated_at?: string | undefined;
38
38
  }, NotFound, import("~/credentials.ts").Credentials>;
39
39
  //# sourceMappingURL=AuthorizationPermissionsControllerFind.d.ts.map
@@ -37,26 +37,26 @@ export type AuthorizationPermissionsControllerListOutput = typeof AuthorizationP
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 AuthorizationPermissionsControllerList: import("@distilled.cloud/core/client").OperationMethod<{
40
- readonly after?: string | undefined;
41
40
  readonly before?: string | undefined;
41
+ readonly after?: string | undefined;
42
42
  readonly limit?: number | undefined;
43
43
  readonly order?: "asc" | "desc" | "normal" | undefined;
44
44
  }, {
45
+ readonly object?: string | undefined;
45
46
  readonly data?: readonly {
46
- readonly created_at?: string | undefined;
47
- readonly description?: string | null | undefined;
48
- readonly id?: string | undefined;
49
- readonly name?: string | undefined;
50
47
  readonly object?: string | undefined;
51
- readonly resource_type_slug?: string | undefined;
48
+ readonly id?: string | undefined;
52
49
  readonly slug?: string | undefined;
50
+ readonly name?: string | undefined;
51
+ readonly description?: string | null | undefined;
53
52
  readonly system?: boolean | undefined;
53
+ readonly resource_type_slug?: string | undefined;
54
+ readonly created_at?: string | undefined;
54
55
  readonly updated_at?: string | undefined;
55
56
  }[] | undefined;
56
57
  readonly list_metadata?: {
57
- readonly after: string | null;
58
58
  readonly before: string | null;
59
+ readonly after: string | null;
59
60
  } | undefined;
60
- readonly object?: string | undefined;
61
61
  }, NotFound, import("~/credentials.ts").Credentials>;
62
62
  //# sourceMappingURL=AuthorizationPermissionsControllerList.d.ts.map
@@ -26,18 +26,18 @@ export type AuthorizationPermissionsControllerUpdateOutput = typeof Authorizatio
26
26
  * @param slug - A unique key to reference the permission. Must be lowercase and contain only letters, numbers, hyphens, underscores, colons, periods, and asterisks.
27
27
  */
28
28
  export declare const AuthorizationPermissionsControllerUpdate: import("@distilled.cloud/core/client").OperationMethod<{
29
- readonly description?: string | null | undefined;
30
- readonly name?: string | undefined;
31
29
  readonly slug: string;
32
- }, {
33
- readonly created_at?: string | undefined;
34
- readonly description?: string | null | undefined;
35
- readonly id?: string | undefined;
36
30
  readonly name?: string | undefined;
31
+ readonly description?: string | null | undefined;
32
+ }, {
37
33
  readonly object?: string | undefined;
38
- readonly resource_type_slug?: string | undefined;
34
+ readonly id?: string | undefined;
39
35
  readonly slug?: string | undefined;
36
+ readonly name?: string | undefined;
37
+ readonly description?: string | null | undefined;
40
38
  readonly system?: boolean | undefined;
39
+ readonly resource_type_slug?: string | undefined;
40
+ readonly created_at?: string | undefined;
41
41
  readonly updated_at?: string | undefined;
42
42
  }, Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
43
43
  //# sourceMappingURL=AuthorizationPermissionsControllerUpdate.d.ts.map
@@ -20,9 +20,9 @@ export type AuthorizationResourcesByExternalIdControllerDeleteByExternalIdOutput
20
20
  * @param cascade_delete - If true, deletes all descendant resources and role assignments. If not set and the resource has children or assignments, the request will fail.
21
21
  */
22
22
  export declare const AuthorizationResourcesByExternalIdControllerDeleteByExternalId: import("@distilled.cloud/core/client").OperationMethod<{
23
- readonly cascade_delete?: boolean | undefined;
24
- readonly external_id: string;
25
23
  readonly organization_id: string;
26
24
  readonly resource_type_slug: string;
25
+ readonly external_id: string;
26
+ readonly cascade_delete?: boolean | undefined;
27
27
  }, void, BadRequest | Conflict | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
28
28
  //# sourceMappingURL=AuthorizationResourcesByExternalIdControllerDeleteByExternalId.d.ts.map
@@ -29,19 +29,19 @@ export type AuthorizationResourcesByExternalIdControllerGetByExternalIdOutput =
29
29
  * @param external_id - An identifier you provide to reference the resource in your system.
30
30
  */
31
31
  export declare const AuthorizationResourcesByExternalIdControllerGetByExternalId: import("@distilled.cloud/core/client").OperationMethod<{
32
- readonly external_id: string;
33
32
  readonly organization_id: string;
34
33
  readonly resource_type_slug: string;
34
+ readonly external_id: string;
35
35
  }, {
36
- readonly created_at?: string | undefined;
37
- readonly description?: string | null | undefined;
38
- readonly external_id?: string | undefined;
39
- readonly id?: string | undefined;
40
- readonly name?: string | undefined;
41
36
  readonly object?: string | undefined;
37
+ readonly name?: string | undefined;
38
+ readonly description?: string | null | undefined;
42
39
  readonly organization_id?: string | undefined;
43
40
  readonly parent_resource_id?: string | null | undefined;
41
+ readonly id?: string | undefined;
42
+ readonly external_id?: string | undefined;
44
43
  readonly resource_type_slug?: string | undefined;
44
+ readonly created_at?: string | undefined;
45
45
  readonly updated_at?: string | undefined;
46
46
  }, Forbidden | NotFound, import("~/credentials.ts").Credentials>;
47
47
  //# sourceMappingURL=AuthorizationResourcesByExternalIdControllerGetByExternalId.d.ts.map
@@ -48,34 +48,34 @@ export type AuthorizationResourcesByExternalIdControllerListOrganizationMembersh
48
48
  * @param assignment - Filter by assignment type. Use "direct" for direct assignments only, or "indirect" to include inherited assignments.
49
49
  */
50
50
  export declare const AuthorizationResourcesByExternalIdControllerListOrganizationMembershipsForResourceByExternalId: import("@distilled.cloud/core/client").OperationMethod<{
51
- readonly after?: string | undefined;
52
- readonly assignment?: "direct" | "indirect" | undefined;
53
- readonly before?: string | undefined;
51
+ readonly organization_id: string;
52
+ readonly resource_type_slug: string;
54
53
  readonly external_id: string;
54
+ readonly before?: string | undefined;
55
+ readonly after?: string | undefined;
55
56
  readonly limit?: number | undefined;
56
57
  readonly order?: "asc" | "desc" | "normal" | undefined;
57
- readonly organization_id: string;
58
58
  readonly permission_slug: string;
59
- readonly resource_type_slug: string;
59
+ readonly assignment?: "direct" | "indirect" | undefined;
60
60
  }, {
61
+ readonly object?: string | undefined;
61
62
  readonly data?: readonly {
62
- readonly created_at: string;
63
- readonly custom_attributes?: {
64
- readonly [x: string]: unknown;
65
- } | undefined;
66
- readonly directory_managed: boolean;
67
- readonly id: string;
68
63
  readonly object: string;
64
+ readonly id: string;
65
+ readonly user_id: string;
69
66
  readonly organization_id: string;
70
- readonly organization_name?: string | undefined;
71
67
  readonly status: "active" | "inactive" | "pending";
68
+ readonly directory_managed: boolean;
69
+ readonly organization_name?: string | undefined;
70
+ readonly custom_attributes?: {
71
+ readonly [x: string]: unknown;
72
+ } | undefined;
73
+ readonly created_at: string;
72
74
  readonly updated_at: string;
73
- readonly user_id: string;
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
  }, BadRequest | Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
81
81
  //# sourceMappingURL=AuthorizationResourcesByExternalIdControllerListOrganizationMembershipsForResourceByExternalId.d.ts.map
@@ -31,21 +31,21 @@ export type AuthorizationResourcesByExternalIdControllerUpdateByExternalIdOutput
31
31
  * @param external_id - An identifier you provide to reference the resource in your system.
32
32
  */
33
33
  export declare const AuthorizationResourcesByExternalIdControllerUpdateByExternalId: import("@distilled.cloud/core/client").OperationMethod<{
34
- readonly description?: string | null | undefined;
35
- readonly external_id: string;
36
- readonly name?: string | undefined;
37
34
  readonly organization_id: string;
38
35
  readonly resource_type_slug: string;
39
- }, {
40
- readonly created_at: string;
41
- readonly description: string | null;
42
36
  readonly external_id: string;
43
- readonly id: string;
44
- readonly name: string;
37
+ readonly name?: string | undefined;
38
+ readonly description?: string | null | undefined;
39
+ }, {
45
40
  readonly object: string;
41
+ readonly name: string;
42
+ readonly description: string | null;
46
43
  readonly organization_id: string;
47
44
  readonly parent_resource_id: string | null;
45
+ readonly id: string;
46
+ readonly external_id: string;
48
47
  readonly resource_type_slug: string;
48
+ readonly created_at: string;
49
49
  readonly updated_at: string;
50
50
  }, BadRequest | Conflict | Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
51
51
  //# sourceMappingURL=AuthorizationResourcesByExternalIdControllerUpdateByExternalId.d.ts.map
@@ -27,21 +27,21 @@ export type AuthorizationResourcesControllerCreateOutput = typeof AuthorizationR
27
27
  * Create a new authorization resource.
28
28
  */
29
29
  export declare const AuthorizationResourcesControllerCreate: import("@distilled.cloud/core/client").OperationMethod<{
30
- readonly description?: string | null | undefined;
31
30
  readonly external_id: string;
32
31
  readonly name: string;
33
- readonly organization_id: string;
32
+ readonly description?: string | null | undefined;
34
33
  readonly resource_type_slug: string;
34
+ readonly organization_id: string;
35
35
  }, {
36
- readonly created_at: string;
37
- readonly description: string | null;
38
- readonly external_id: string;
39
- readonly id: string;
40
- readonly name: string;
41
36
  readonly object: string;
37
+ readonly name: string;
38
+ readonly description: string | null;
42
39
  readonly organization_id: string;
43
40
  readonly parent_resource_id: string | null;
41
+ readonly id: string;
42
+ readonly external_id: string;
44
43
  readonly resource_type_slug: string;
44
+ readonly created_at: string;
45
45
  readonly updated_at: string;
46
46
  }, BadRequest | Conflict | Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
47
47
  //# sourceMappingURL=AuthorizationResourcesControllerCreate.d.ts.map
@@ -16,7 +16,7 @@ export type AuthorizationResourcesControllerDeleteOutput = typeof AuthorizationR
16
16
  * @param cascade_delete - If true, deletes all descendant resources and role assignments. If not set and the resource has children or assignments, the request will fail.
17
17
  */
18
18
  export declare const AuthorizationResourcesControllerDelete: import("@distilled.cloud/core/client").OperationMethod<{
19
- readonly cascade_delete?: boolean | undefined;
20
19
  readonly resource_id: string;
20
+ readonly cascade_delete?: boolean | undefined;
21
21
  }, void, BadRequest | Conflict | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
22
22
  //# sourceMappingURL=AuthorizationResourcesControllerDelete.d.ts.map
@@ -27,15 +27,15 @@ export type AuthorizationResourcesControllerFindByIdOutput = typeof Authorizatio
27
27
  export declare const AuthorizationResourcesControllerFindById: import("@distilled.cloud/core/client").OperationMethod<{
28
28
  readonly resource_id: string;
29
29
  }, {
30
- readonly created_at?: string | undefined;
31
- readonly description?: string | null | undefined;
32
- readonly external_id?: string | undefined;
33
- readonly id?: string | undefined;
34
- readonly name?: string | undefined;
35
30
  readonly object?: string | undefined;
31
+ readonly name?: string | undefined;
32
+ readonly description?: string | null | undefined;
36
33
  readonly organization_id?: string | undefined;
37
34
  readonly parent_resource_id?: string | null | undefined;
35
+ readonly id?: string | undefined;
36
+ readonly external_id?: string | undefined;
38
37
  readonly resource_type_slug?: string | undefined;
38
+ readonly created_at?: string | undefined;
39
39
  readonly updated_at?: string | undefined;
40
40
  }, Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
41
41
  //# sourceMappingURL=AuthorizationResourcesControllerFindById.d.ts.map
@@ -52,34 +52,34 @@ export type AuthorizationResourcesControllerListOutput = typeof AuthorizationRes
52
52
  * @param search - Search resources by name.
53
53
  */
54
54
  export declare const AuthorizationResourcesControllerList: import("@distilled.cloud/core/client").OperationMethod<{
55
- readonly after?: string | undefined;
56
55
  readonly before?: string | undefined;
56
+ readonly after?: string | undefined;
57
57
  readonly limit?: number | undefined;
58
58
  readonly order?: "asc" | "desc" | "normal" | undefined;
59
59
  readonly organization_id?: string | undefined;
60
- readonly parent_external_id?: string | undefined;
60
+ readonly resource_type_slug?: string | undefined;
61
+ readonly resource_external_id?: string | undefined;
61
62
  readonly parent_resource_id?: string | undefined;
62
63
  readonly parent_resource_type_slug?: string | undefined;
63
- readonly resource_external_id?: string | undefined;
64
- readonly resource_type_slug?: string | undefined;
64
+ readonly parent_external_id?: string | undefined;
65
65
  readonly search?: string | undefined;
66
66
  }, {
67
+ readonly object?: string | undefined;
67
68
  readonly data?: readonly {
68
- readonly created_at?: string | undefined;
69
- readonly description?: string | null | undefined;
70
- readonly external_id?: string | undefined;
71
- readonly id?: string | undefined;
72
- readonly name?: string | undefined;
73
69
  readonly object?: string | undefined;
70
+ readonly name?: string | undefined;
71
+ readonly description?: string | null | undefined;
74
72
  readonly organization_id?: string | undefined;
75
73
  readonly parent_resource_id?: string | null | undefined;
74
+ readonly id?: string | undefined;
75
+ readonly external_id?: string | undefined;
76
76
  readonly resource_type_slug?: string | undefined;
77
+ readonly created_at?: string | undefined;
77
78
  readonly updated_at?: string | undefined;
78
79
  }[] | undefined;
79
80
  readonly list_metadata?: {
80
- readonly after: string | null;
81
81
  readonly before: string | null;
82
+ readonly after: string | null;
82
83
  } | undefined;
83
- readonly object?: string | undefined;
84
84
  }, Forbidden | UnprocessableEntity, import("~/credentials.ts").Credentials>;
85
85
  //# sourceMappingURL=AuthorizationResourcesControllerList.d.ts.map
@@ -44,32 +44,32 @@ export type AuthorizationResourcesControllerListOrganizationMembershipsForResour
44
44
  * @param assignment - Filter by assignment type. Use `direct` for direct assignments only, or `indirect` to include inherited assignments.
45
45
  */
46
46
  export declare const AuthorizationResourcesControllerListOrganizationMembershipsForResource: import("@distilled.cloud/core/client").OperationMethod<{
47
- readonly after?: string | undefined;
48
- readonly assignment?: "direct" | "indirect" | undefined;
47
+ readonly resource_id: string;
49
48
  readonly before?: string | undefined;
49
+ readonly after?: string | undefined;
50
50
  readonly limit?: number | undefined;
51
51
  readonly order?: "asc" | "desc" | "normal" | undefined;
52
52
  readonly permission_slug: string;
53
- readonly resource_id: string;
53
+ readonly assignment?: "direct" | "indirect" | undefined;
54
54
  }, {
55
+ readonly object?: string | undefined;
55
56
  readonly data?: readonly {
56
- readonly created_at: string;
57
- readonly custom_attributes?: {
58
- readonly [x: string]: unknown;
59
- } | undefined;
60
- readonly directory_managed: boolean;
61
- readonly id: string;
62
57
  readonly object: string;
58
+ readonly id: string;
59
+ readonly user_id: string;
63
60
  readonly organization_id: string;
64
- readonly organization_name?: string | undefined;
65
61
  readonly status: "active" | "inactive" | "pending";
62
+ readonly directory_managed: boolean;
63
+ readonly organization_name?: string | undefined;
64
+ readonly custom_attributes?: {
65
+ readonly [x: string]: unknown;
66
+ } | undefined;
67
+ readonly created_at: string;
66
68
  readonly updated_at: string;
67
- readonly user_id: string;
68
69
  }[] | undefined;
69
70
  readonly list_metadata?: {
70
- readonly after: string | null;
71
71
  readonly before: string | null;
72
+ readonly after: string | null;
72
73
  } | undefined;
73
- readonly object?: string | undefined;
74
74
  }, BadRequest | Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
75
75
  //# sourceMappingURL=AuthorizationResourcesControllerListOrganizationMembershipsForResource.d.ts.map
@@ -27,19 +27,19 @@ export type AuthorizationResourcesControllerUpdateOutput = typeof AuthorizationR
27
27
  * @param resource_id - The ID of the authorization resource.
28
28
  */
29
29
  export declare const AuthorizationResourcesControllerUpdate: import("@distilled.cloud/core/client").OperationMethod<{
30
- readonly description?: string | null | undefined;
31
- readonly name?: string | undefined;
32
30
  readonly resource_id: string;
31
+ readonly name?: string | undefined;
32
+ readonly description?: string | null | undefined;
33
33
  }, {
34
- readonly created_at: string;
35
- readonly description: string | null;
36
- readonly external_id: string;
37
- readonly id: string;
38
- readonly name: string;
39
34
  readonly object: string;
35
+ readonly name: string;
36
+ readonly description: string | null;
40
37
  readonly organization_id: string;
41
38
  readonly parent_resource_id: string | null;
39
+ readonly id: string;
40
+ readonly external_id: string;
42
41
  readonly resource_type_slug: string;
42
+ readonly created_at: string;
43
43
  readonly updated_at: string;
44
44
  }, BadRequest | Conflict | Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
45
45
  //# sourceMappingURL=AuthorizationResourcesControllerUpdate.d.ts.map
@@ -31,17 +31,17 @@ export declare const AuthorizationRoleAssignmentsControllerAssignRole: import("@
31
31
  readonly organization_membership_id: string;
32
32
  readonly role_slug: string;
33
33
  }, {
34
- readonly created_at?: string | undefined;
35
- readonly id?: string | undefined;
36
34
  readonly object?: string | undefined;
35
+ readonly id?: string | undefined;
36
+ readonly role?: {
37
+ readonly slug?: string | undefined;
38
+ } | undefined;
37
39
  readonly resource?: {
38
- readonly external_id: string;
39
40
  readonly id: string;
41
+ readonly external_id: string;
40
42
  readonly resource_type_slug: string;
41
43
  } | undefined;
42
- readonly role?: {
43
- readonly slug?: string | undefined;
44
- } | undefined;
44
+ readonly created_at?: string | undefined;
45
45
  readonly updated_at?: string | undefined;
46
46
  }, Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
47
47
  //# sourceMappingURL=AuthorizationRoleAssignmentsControllerAssignRole.d.ts.map