ohauthcat 0.0.2
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.
- checksums.yaml +7 -0
- data/LICENSE +35 -0
- data/README.md +94 -0
- data/THIRD_PARTY_LICENSES +5 -0
- data/lib/ohauthcat/access_policy.rb +14 -0
- data/lib/ohauthcat/client.rb +333 -0
- data/lib/ohauthcat/errors.rb +98 -0
- data/lib/ohauthcat/generated.rb +2898 -0
- data/lib/ohauthcat/model.rb +129 -0
- data/lib/ohauthcat/models.rb +5127 -0
- data/lib/ohauthcat/passkey_helpers.rb +53 -0
- data/lib/ohauthcat/route.rb +6 -0
- data/lib/ohauthcat/sso_helpers.rb +100 -0
- data/lib/ohauthcat/standby.rb +129 -0
- data/lib/ohauthcat/version.rb +5 -0
- data/lib/ohauthcat/webhooks.rb +97 -0
- data/lib/ohauthcat.rb +20 -0
- metadata +58 -0
|
@@ -0,0 +1,2898 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Generated from spec/openapi-v1.yaml (core c9fe6d0b5dde). Regenerate; do not edit.
|
|
4
|
+
module OhAuthCat
|
|
5
|
+
module Generated
|
|
6
|
+
ROUTES = {
|
|
7
|
+
"activateConnection" => Route.new(name: "activateConnection", method: "POST", path: "/v1/connections/{conn}/activate", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
8
|
+
"activateConnectionClientKey" => Route.new(name: "activateConnectionClientKey", method: "POST", path: "/v1/connections/{conn}/client_keys/activate", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
9
|
+
"activateEncryptionKey" => Route.new(name: "activateEncryptionKey", method: "POST", path: "/v1/encryption_keys/{key}/activate", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
10
|
+
"authenticateEndUserPasskey" => Route.new(name: "authenticateEndUserPasskey", method: "POST", path: "/v1/user_management/passkeys/authenticate", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
11
|
+
"cancelImport" => Route.new(name: "cancelImport", method: "POST", path: "/v1/imports/{imp}/cancel", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
12
|
+
"checkAuthorization" => Route.new(name: "checkAuthorization", method: "POST", path: "/v1/authorization/check", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
13
|
+
"checkAuthorizationBulk" => Route.new(name: "checkAuthorizationBulk", method: "POST", path: "/v1/authorization/check/bulk", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
14
|
+
"chooseDirectorySourceOAuthCompany" => Route.new(name: "chooseDirectorySourceOAuthCompany", method: "POST", path: "/v1/directories/{dir}/source/oauth/company", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
15
|
+
"clearEndUserPassword" => Route.new(name: "clearEndUserPassword", method: "DELETE", path: "/v1/users/{user}/password", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
16
|
+
"createAuditLogEvent" => Route.new(name: "createAuditLogEvent", method: "POST", path: "/v1/audit_log_events", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
17
|
+
"createAuditLogExport" => Route.new(name: "createAuditLogExport", method: "POST", path: "/v1/audit_logs/exports", server: :api, auth: "secretKey", media: "application/json", status: 202, idempotent_key: true, list: false).freeze,
|
|
18
|
+
"createAuditLogSchema" => Route.new(name: "createAuditLogSchema", method: "POST", path: "/v1/audit_log_schemas", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
19
|
+
"createConnection" => Route.new(name: "createConnection", method: "POST", path: "/v1/connections", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
20
|
+
"createConnectionCertificate" => Route.new(name: "createConnectionCertificate", method: "POST", path: "/v1/connections/{conn}/certificates", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
21
|
+
"createConnectionClientKey" => Route.new(name: "createConnectionClientKey", method: "POST", path: "/v1/connections/{conn}/client_keys", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
22
|
+
"createConnectionShare" => Route.new(name: "createConnectionShare", method: "POST", path: "/v1/connections/{conn}/shares", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
23
|
+
"createCustomDomain" => Route.new(name: "createCustomDomain", method: "POST", path: "/v1/custom_domains", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
24
|
+
"createDirectory" => Route.new(name: "createDirectory", method: "POST", path: "/v1/directories", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
25
|
+
"createDirectorySourceSSHKey" => Route.new(name: "createDirectorySourceSSHKey", method: "POST", path: "/v1/directories/{dir}/source/ssh_key", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
26
|
+
"createDomain" => Route.new(name: "createDomain", method: "POST", path: "/v1/organizations/{org}/domains", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
27
|
+
"createEncryptionKey" => Route.new(name: "createEncryptionKey", method: "POST", path: "/v1/encryption_keys", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
28
|
+
"createEndUser" => Route.new(name: "createEndUser", method: "POST", path: "/v1/users", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
29
|
+
"createEndUserInvite" => Route.new(name: "createEndUserInvite", method: "POST", path: "/v1/invites", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
30
|
+
"createExport" => Route.new(name: "createExport", method: "POST", path: "/v1/exports", server: :api, auth: "secretKey", media: "application/json", status: 202, idempotent_key: true, list: false).freeze,
|
|
31
|
+
"createFeatureFlag" => Route.new(name: "createFeatureFlag", method: "POST", path: "/v1/feature_flags", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
32
|
+
"createImport" => Route.new(name: "createImport", method: "POST", path: "/v1/imports", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
33
|
+
"createItContact" => Route.new(name: "createItContact", method: "POST", path: "/v1/organizations/{org}/it_contacts", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
34
|
+
"createLogStream" => Route.new(name: "createLogStream", method: "POST", path: "/v1/log_streams", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
35
|
+
"createM2MClient" => Route.new(name: "createM2MClient", method: "POST", path: "/v1/m2m_clients", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
36
|
+
"createMembership" => Route.new(name: "createMembership", method: "POST", path: "/v1/organizations/{org}/memberships", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
37
|
+
"createOAuthClient" => Route.new(name: "createOAuthClient", method: "POST", path: "/v1/oauth/clients", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
38
|
+
"createOAuthResource" => Route.new(name: "createOAuthResource", method: "POST", path: "/v1/oauth/resources", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
39
|
+
"createOrganization" => Route.new(name: "createOrganization", method: "POST", path: "/v1/organizations", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
40
|
+
"createOrganizationApiKey" => Route.new(name: "createOrganizationApiKey", method: "POST", path: "/v1/organizations/{org}/api_keys", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
41
|
+
"createOrganizationApiKeySecret" => Route.new(name: "createOrganizationApiKeySecret", method: "POST", path: "/v1/organizations/{org}/api_keys/{key}/secrets", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
42
|
+
"createOrganizationExport" => Route.new(name: "createOrganizationExport", method: "POST", path: "/v1/organization_exports", server: :api, auth: "secretKey", media: "application/json", status: 202, idempotent_key: false, list: false).freeze,
|
|
43
|
+
"createPermission" => Route.new(name: "createPermission", method: "POST", path: "/v1/authorization/permissions", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
44
|
+
"createPipeConnection" => Route.new(name: "createPipeConnection", method: "POST", path: "/v1/pipes/connections", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
45
|
+
"createPolicy" => Route.new(name: "createPolicy", method: "POST", path: "/v1/policies", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
46
|
+
"createPortalInvite" => Route.new(name: "createPortalInvite", method: "POST", path: "/v1/portal/invites", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
47
|
+
"createPortalLink" => Route.new(name: "createPortalLink", method: "POST", path: "/v1/portal/links", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
48
|
+
"createPortalProfile" => Route.new(name: "createPortalProfile", method: "POST", path: "/v1/portal_profiles", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
49
|
+
"createRedirectUri" => Route.new(name: "createRedirectUri", method: "POST", path: "/v1/redirect_uris", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
50
|
+
"createRole" => Route.new(name: "createRole", method: "POST", path: "/v1/authorization/roles", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
51
|
+
"createRoleAssignment" => Route.new(name: "createRoleAssignment", method: "POST", path: "/v1/organizations/{org}/memberships/{membership}/role_assignments", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
52
|
+
"createRoleRule" => Route.new(name: "createRoleRule", method: "POST", path: "/v1/role_rules", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
53
|
+
"createSignInHook" => Route.new(name: "createSignInHook", method: "POST", path: "/v1/sign_in_hooks", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
54
|
+
"createSsfStream" => Route.new(name: "createSsfStream", method: "POST", path: "/v1/ssf_streams", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
55
|
+
"createTrustedIssuer" => Route.new(name: "createTrustedIssuer", method: "POST", path: "/v1/trusted_issuers", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
56
|
+
"createUpload" => Route.new(name: "createUpload", method: "POST", path: "/v1/uploads", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
57
|
+
"createVaultKey" => Route.new(name: "createVaultKey", method: "POST", path: "/v1/vault/keys", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
58
|
+
"createWebhookEndpoint" => Route.new(name: "createWebhookEndpoint", method: "POST", path: "/v1/webhook_endpoints", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
59
|
+
"deactivateConnection" => Route.new(name: "deactivateConnection", method: "POST", path: "/v1/connections/{conn}/deactivate", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
60
|
+
"deleteConnection" => Route.new(name: "deleteConnection", method: "DELETE", path: "/v1/connections/{conn}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
61
|
+
"deleteConnectionCertificate" => Route.new(name: "deleteConnectionCertificate", method: "DELETE", path: "/v1/connections/{conn}/certificates/{fp}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
62
|
+
"deleteConnectionSCIMBinding" => Route.new(name: "deleteConnectionSCIMBinding", method: "DELETE", path: "/v1/connections/{conn}/scim_binding", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
63
|
+
"deleteCustomDomain" => Route.new(name: "deleteCustomDomain", method: "DELETE", path: "/v1/custom_domains/{custom_domain}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
64
|
+
"deleteDirectory" => Route.new(name: "deleteDirectory", method: "DELETE", path: "/v1/directories/{dir}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
65
|
+
"deleteDomain" => Route.new(name: "deleteDomain", method: "DELETE", path: "/v1/organizations/{org}/domains/{domain}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
66
|
+
"deleteEndUser" => Route.new(name: "deleteEndUser", method: "DELETE", path: "/v1/users/{user}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
67
|
+
"deleteEndUserFactor" => Route.new(name: "deleteEndUserFactor", method: "DELETE", path: "/v1/users/{user}/factors/{factor}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
68
|
+
"deleteFeatureFlag" => Route.new(name: "deleteFeatureFlag", method: "DELETE", path: "/v1/feature_flags/{feature_flag}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
69
|
+
"deleteITEmailConfiguration" => Route.new(name: "deleteITEmailConfiguration", method: "DELETE", path: "/v1/it_email_configuration", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
70
|
+
"deleteItContact" => Route.new(name: "deleteItContact", method: "DELETE", path: "/v1/organizations/{org}/it_contacts/{contact}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
71
|
+
"deleteLogStream" => Route.new(name: "deleteLogStream", method: "DELETE", path: "/v1/log_streams/{stream}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
72
|
+
"deleteMembership" => Route.new(name: "deleteMembership", method: "DELETE", path: "/v1/organizations/{org}/memberships/{membership}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
73
|
+
"deleteOAuthClient" => Route.new(name: "deleteOAuthClient", method: "DELETE", path: "/v1/oauth/clients/{client}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
74
|
+
"deleteOAuthResource" => Route.new(name: "deleteOAuthResource", method: "DELETE", path: "/v1/oauth/resources/{resource}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
75
|
+
"deleteOAuthScope" => Route.new(name: "deleteOAuthScope", method: "DELETE", path: "/v1/oauth/scopes/{scope}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
76
|
+
"deleteOrganization" => Route.new(name: "deleteOrganization", method: "DELETE", path: "/v1/organizations/{org}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
77
|
+
"deleteOrganizationUserManagementSettings" => Route.new(name: "deleteOrganizationUserManagementSettings", method: "DELETE", path: "/v1/organizations/{org}/user_management_settings", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
78
|
+
"deletePermission" => Route.new(name: "deletePermission", method: "DELETE", path: "/v1/authorization/permissions/{permission}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
79
|
+
"deletePipeProvider" => Route.new(name: "deletePipeProvider", method: "DELETE", path: "/v1/pipes/providers/{provider}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
80
|
+
"deletePolicy" => Route.new(name: "deletePolicy", method: "DELETE", path: "/v1/policies/{policy}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
81
|
+
"deletePortalProfile" => Route.new(name: "deletePortalProfile", method: "DELETE", path: "/v1/portal_profiles/{profile}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
82
|
+
"deleteRadarAlertSubscription" => Route.new(name: "deleteRadarAlertSubscription", method: "DELETE", path: "/v1/idp_radar/alert_subscription", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
83
|
+
"deleteRedirectUri" => Route.new(name: "deleteRedirectUri", method: "DELETE", path: "/v1/redirect_uris/{uri}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
84
|
+
"deleteRole" => Route.new(name: "deleteRole", method: "DELETE", path: "/v1/authorization/roles/{role}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
85
|
+
"deleteRoleAssignment" => Route.new(name: "deleteRoleAssignment", method: "DELETE", path: "/v1/organizations/{org}/memberships/{membership}/role_assignments/{assignment}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
86
|
+
"deleteRoleRule" => Route.new(name: "deleteRoleRule", method: "DELETE", path: "/v1/role_rules/{role_rule}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
87
|
+
"deleteSignInHook" => Route.new(name: "deleteSignInHook", method: "DELETE", path: "/v1/sign_in_hooks/{hook}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
88
|
+
"deleteSignInRiskPolicy" => Route.new(name: "deleteSignInRiskPolicy", method: "DELETE", path: "/v1/sign_in_risk_policy", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
89
|
+
"deleteSocialProvider" => Route.new(name: "deleteSocialProvider", method: "DELETE", path: "/v1/user_management/social_providers/{provider}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
90
|
+
"deleteSsfStream" => Route.new(name: "deleteSsfStream", method: "DELETE", path: "/v1/ssf_streams/{stream}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: true, list: false).freeze,
|
|
91
|
+
"deleteTrustedIssuer" => Route.new(name: "deleteTrustedIssuer", method: "DELETE", path: "/v1/trusted_issuers/{issuer_id}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
92
|
+
"deleteVaultObject" => Route.new(name: "deleteVaultObject", method: "DELETE", path: "/v1/vault/objects/{name}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
93
|
+
"deleteWebhookEndpoint" => Route.new(name: "deleteWebhookEndpoint", method: "DELETE", path: "/v1/webhook_endpoints/{endpoint}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
94
|
+
"deprecateEncryptionKey" => Route.new(name: "deprecateEncryptionKey", method: "POST", path: "/v1/encryption_keys/{key}/deprecate", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
95
|
+
"devInit" => Route.new(name: "devInit", method: "POST", path: "/v1/dev/init", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
96
|
+
"devTrigger" => Route.new(name: "devTrigger", method: "POST", path: "/v1/dev/trigger", server: :api, auth: "secretKey", media: "application/json", status: 202, idempotent_key: true, list: false).freeze,
|
|
97
|
+
"disconnectPipeConnection" => Route.new(name: "disconnectPipeConnection", method: "DELETE", path: "/v1/pipes/connections/{connection}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
98
|
+
"evaluateFeatureFlag" => Route.new(name: "evaluateFeatureFlag", method: "POST", path: "/v1/feature_flags/evaluate", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
99
|
+
"evaluateFeatureFlags" => Route.new(name: "evaluateFeatureFlags", method: "POST", path: "/v1/feature_flags/evaluate_bulk", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
100
|
+
"exchangeSsoCode" => Route.new(name: "exchangeSsoCode", method: "POST", path: "/v1/sso/token", server: :auth, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
101
|
+
"exchangeTrustedToken" => Route.new(name: "exchangeTrustedToken", method: "POST", path: "/v1/sso/token_exchange", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
102
|
+
"exportAuditLogEvents" => Route.new(name: "exportAuditLogEvents", method: "GET", path: "/v1/audit_log_events/export", server: :api, auth: "secretKey", media: "text/csv", status: 200, idempotent_key: false, list: false).freeze,
|
|
103
|
+
"forwardSsoResponse" => Route.new(name: "forwardSsoResponse", method: "POST", path: "/v1/sso/forwarded", server: :auth, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
104
|
+
"getAttributeCatalogue" => Route.new(name: "getAttributeCatalogue", method: "GET", path: "/v1/attribute_catalogue", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
105
|
+
"getAuditLogEvent" => Route.new(name: "getAuditLogEvent", method: "GET", path: "/v1/audit_log_events/{audit_log_event}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
106
|
+
"getAuditLogExport" => Route.new(name: "getAuditLogExport", method: "GET", path: "/v1/audit_logs/exports/{export}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
107
|
+
"getAuditLogSchema" => Route.new(name: "getAuditLogSchema", method: "GET", path: "/v1/audit_log_schemas/{action}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
108
|
+
"getBotProtection" => Route.new(name: "getBotProtection", method: "GET", path: "/v1/user_management/bot_protection", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
109
|
+
"getBranding" => Route.new(name: "getBranding", method: "GET", path: "/v1/branding", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
110
|
+
"getConnection" => Route.new(name: "getConnection", method: "GET", path: "/v1/connections/{conn}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
111
|
+
"getConnectionAttributeMap" => Route.new(name: "getConnectionAttributeMap", method: "GET", path: "/v1/connections/{conn}/attribute_map", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
112
|
+
"getConnectionAttributePreview" => Route.new(name: "getConnectionAttributePreview", method: "GET", path: "/v1/connections/{conn}/attribute_preview", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
113
|
+
"getConnectionHealth" => Route.new(name: "getConnectionHealth", method: "GET", path: "/v1/connections/{conn}/health", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
114
|
+
"getConnectionSingleLogout" => Route.new(name: "getConnectionSingleLogout", method: "GET", path: "/v1/connections/{conn}/single_logout", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
115
|
+
"getConnectionSpMetadata" => Route.new(name: "getConnectionSpMetadata", method: "GET", path: "/v1/connections/{conn}/sp_metadata", server: :api, auth: "secretKey", media: "application/samlmetadata+xml", status: 200, idempotent_key: false, list: false).freeze,
|
|
116
|
+
"getConnectionTestResult" => Route.new(name: "getConnectionTestResult", method: "GET", path: "/v1/connections/{conn}/test_result", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
117
|
+
"getCustomDomain" => Route.new(name: "getCustomDomain", method: "GET", path: "/v1/custom_domains/{custom_domain}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
118
|
+
"getDirectory" => Route.new(name: "getDirectory", method: "GET", path: "/v1/directories/{dir}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
119
|
+
"getDirectoryAttributeMap" => Route.new(name: "getDirectoryAttributeMap", method: "GET", path: "/v1/directories/{dir}/attribute_map", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
120
|
+
"getDirectoryGroup" => Route.new(name: "getDirectoryGroup", method: "GET", path: "/v1/directory_groups/{group}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
121
|
+
"getDirectorySource" => Route.new(name: "getDirectorySource", method: "GET", path: "/v1/directories/{dir}/source", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
122
|
+
"getDirectorySourceOAuth" => Route.new(name: "getDirectorySourceOAuth", method: "GET", path: "/v1/directories/{dir}/source/oauth", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
123
|
+
"getDirectorySourceSSHKey" => Route.new(name: "getDirectorySourceSSHKey", method: "GET", path: "/v1/directories/{dir}/source/ssh_key", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
124
|
+
"getDirectoryUser" => Route.new(name: "getDirectoryUser", method: "GET", path: "/v1/directory_users/{user}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
125
|
+
"getEncryptionKey" => Route.new(name: "getEncryptionKey", method: "GET", path: "/v1/encryption_keys/{key}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
126
|
+
"getEncryptionKeySetup" => Route.new(name: "getEncryptionKeySetup", method: "GET", path: "/v1/encryption_keys/setup", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
127
|
+
"getEndUser" => Route.new(name: "getEndUser", method: "GET", path: "/v1/users/{user}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
128
|
+
"getEnvironment" => Route.new(name: "getEnvironment", method: "GET", path: "/v1/environment", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
129
|
+
"getEnvironmentSigninHost" => Route.new(name: "getEnvironmentSigninHost", method: "GET", path: "/v1/environment/signin_host", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
130
|
+
"getEvent" => Route.new(name: "getEvent", method: "GET", path: "/v1/events/{evt}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
131
|
+
"getExport" => Route.new(name: "getExport", method: "GET", path: "/v1/exports/{export}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
132
|
+
"getFeatureFlag" => Route.new(name: "getFeatureFlag", method: "GET", path: "/v1/feature_flags/{feature_flag}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
133
|
+
"getITEmailConfiguration" => Route.new(name: "getITEmailConfiguration", method: "GET", path: "/v1/it_email_configuration", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
134
|
+
"getImport" => Route.new(name: "getImport", method: "GET", path: "/v1/imports/{imp}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
135
|
+
"getItContact" => Route.new(name: "getItContact", method: "GET", path: "/v1/organizations/{org}/it_contacts/{contact}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
136
|
+
"getM2MClient" => Route.new(name: "getM2MClient", method: "GET", path: "/v1/m2m_clients/{client}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
137
|
+
"getOAuthClient" => Route.new(name: "getOAuthClient", method: "GET", path: "/v1/oauth/clients/{client}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
138
|
+
"getOAuthProtectedResourceMetadata" => Route.new(name: "getOAuthProtectedResourceMetadata", method: "GET", path: "/v1/oauth/resources/{resource}/protected_resource_metadata", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
139
|
+
"getOAuthResource" => Route.new(name: "getOAuthResource", method: "GET", path: "/v1/oauth/resources/{resource}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
140
|
+
"getOrganization" => Route.new(name: "getOrganization", method: "GET", path: "/v1/organizations/{org}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
141
|
+
"getOrganizationAllowedIntents" => Route.new(name: "getOrganizationAllowedIntents", method: "GET", path: "/v1/organizations/{org}/allowed_intents", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
142
|
+
"getOrganizationApiKey" => Route.new(name: "getOrganizationApiKey", method: "GET", path: "/v1/organizations/{org}/api_keys/{key}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
143
|
+
"getOrganizationExport" => Route.new(name: "getOrganizationExport", method: "GET", path: "/v1/organization_exports/{export}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
144
|
+
"getOrganizationOAuthSettings" => Route.new(name: "getOrganizationOAuthSettings", method: "GET", path: "/v1/organizations/{org}/oauth_settings", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
145
|
+
"getOrganizationProfile" => Route.new(name: "getOrganizationProfile", method: "GET", path: "/v1/organizations/{org}/profile", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
146
|
+
"getOrganizationStatus" => Route.new(name: "getOrganizationStatus", method: "GET", path: "/v1/organizations/{org}/status", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
147
|
+
"getOrganizationUserManagementSettings" => Route.new(name: "getOrganizationUserManagementSettings", method: "GET", path: "/v1/organizations/{org}/user_management_settings", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
148
|
+
"getPermission" => Route.new(name: "getPermission", method: "GET", path: "/v1/authorization/permissions/{permission}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
149
|
+
"getPipeAccessToken" => Route.new(name: "getPipeAccessToken", method: "GET", path: "/v1/pipes/connections/{connection}/access_token", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
150
|
+
"getPipeConnection" => Route.new(name: "getPipeConnection", method: "GET", path: "/v1/pipes/connections/{connection}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
151
|
+
"getPolicy" => Route.new(name: "getPolicy", method: "GET", path: "/v1/policies/{policy}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
152
|
+
"getPortalProfile" => Route.new(name: "getPortalProfile", method: "GET", path: "/v1/portal_profiles/{profile}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
153
|
+
"getProviderCatalogue" => Route.new(name: "getProviderCatalogue", method: "GET", path: "/v1/providers", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
154
|
+
"getRadarAlertSubscription" => Route.new(name: "getRadarAlertSubscription", method: "GET", path: "/v1/idp_radar/alert_subscription", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
155
|
+
"getRole" => Route.new(name: "getRole", method: "GET", path: "/v1/authorization/roles/{role}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
156
|
+
"getRoleRule" => Route.new(name: "getRoleRule", method: "GET", path: "/v1/role_rules/{role_rule}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
157
|
+
"getSignInExplanation" => Route.new(name: "getSignInExplanation", method: "GET", path: "/v1/sign_ins/{sign_in}/explanation", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
158
|
+
"getSignInHook" => Route.new(name: "getSignInHook", method: "GET", path: "/v1/sign_in_hooks/{hook}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
159
|
+
"getSignInRiskPolicy" => Route.new(name: "getSignInRiskPolicy", method: "GET", path: "/v1/sign_in_risk_policy", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
160
|
+
"getSignInTimeline" => Route.new(name: "getSignInTimeline", method: "GET", path: "/v1/sign_ins/{sign_in}/timeline", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
161
|
+
"getSsfStream" => Route.new(name: "getSsfStream", method: "GET", path: "/v1/ssf_streams/{stream}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
162
|
+
"getSsoProfile" => Route.new(name: "getSsoProfile", method: "GET", path: "/v1/sso/profile", server: :auth, auth: "accessToken", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
163
|
+
"getUserManagementSettings" => Route.new(name: "getUserManagementSettings", method: "GET", path: "/v1/user_management/settings", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
164
|
+
"getUserManagementUsage" => Route.new(name: "getUserManagementUsage", method: "GET", path: "/v1/user_management/usage", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
165
|
+
"getVaultObject" => Route.new(name: "getVaultObject", method: "GET", path: "/v1/vault/objects/{name}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
166
|
+
"getWebhookEndpoint" => Route.new(name: "getWebhookEndpoint", method: "GET", path: "/v1/webhook_endpoints/{endpoint}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
167
|
+
"importDirectoryCSV" => Route.new(name: "importDirectoryCSV", method: "POST", path: "/v1/directories/{dir}/csv_imports", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
168
|
+
"listAuditLogEvents" => Route.new(name: "listAuditLogEvents", method: "GET", path: "/v1/audit_log_events", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
169
|
+
"listAuditLogSchemas" => Route.new(name: "listAuditLogSchemas", method: "GET", path: "/v1/audit_log_schemas", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
170
|
+
"listAuditLogs" => Route.new(name: "listAuditLogs", method: "GET", path: "/v1/audit_logs", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
171
|
+
"listBotDetections" => Route.new(name: "listBotDetections", method: "GET", path: "/v1/user_management/bot_detections", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
172
|
+
"listConnectionCertificates" => Route.new(name: "listConnectionCertificates", method: "GET", path: "/v1/connections/{conn}/certificates", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
173
|
+
"listConnectionClientKeys" => Route.new(name: "listConnectionClientKeys", method: "GET", path: "/v1/connections/{conn}/client_keys", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
174
|
+
"listConnectionHealth" => Route.new(name: "listConnectionHealth", method: "GET", path: "/v1/connection_health", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
175
|
+
"listConnectionShares" => Route.new(name: "listConnectionShares", method: "GET", path: "/v1/connections/{conn}/shares", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
176
|
+
"listConnectionSignIns" => Route.new(name: "listConnectionSignIns", method: "GET", path: "/v1/connections/{conn}/sessions", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
177
|
+
"listConnections" => Route.new(name: "listConnections", method: "GET", path: "/v1/connections", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
178
|
+
"listCustomDomains" => Route.new(name: "listCustomDomains", method: "GET", path: "/v1/custom_domains", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
179
|
+
"listDirectories" => Route.new(name: "listDirectories", method: "GET", path: "/v1/directories", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
180
|
+
"listDirectoryGroupMembers" => Route.new(name: "listDirectoryGroupMembers", method: "GET", path: "/v1/directory_groups/{group}/members", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
181
|
+
"listDirectoryGroups" => Route.new(name: "listDirectoryGroups", method: "GET", path: "/v1/directories/{dir}/groups", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
182
|
+
"listDirectoryUserGroups" => Route.new(name: "listDirectoryUserGroups", method: "GET", path: "/v1/directory_users/{user}/groups", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
183
|
+
"listDirectoryUsers" => Route.new(name: "listDirectoryUsers", method: "GET", path: "/v1/directories/{dir}/users", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
184
|
+
"listDomains" => Route.new(name: "listDomains", method: "GET", path: "/v1/organizations/{org}/domains", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
185
|
+
"listEmailEvents" => Route.new(name: "listEmailEvents", method: "GET", path: "/v1/email_events", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
186
|
+
"listEncryptionKeys" => Route.new(name: "listEncryptionKeys", method: "GET", path: "/v1/encryption_keys", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
187
|
+
"listEndUserFactors" => Route.new(name: "listEndUserFactors", method: "GET", path: "/v1/users/{user}/factors", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
188
|
+
"listEndUserIdentities" => Route.new(name: "listEndUserIdentities", method: "GET", path: "/v1/users/{user}/identities", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
189
|
+
"listEndUserInvites" => Route.new(name: "listEndUserInvites", method: "GET", path: "/v1/invites", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
190
|
+
"listEndUserSessions" => Route.new(name: "listEndUserSessions", method: "GET", path: "/v1/users/{user}/sessions", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
191
|
+
"listEndUsers" => Route.new(name: "listEndUsers", method: "GET", path: "/v1/users", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
192
|
+
"listEvents" => Route.new(name: "listEvents", method: "GET", path: "/v1/events", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
193
|
+
"listFeatureFlags" => Route.new(name: "listFeatureFlags", method: "GET", path: "/v1/feature_flags", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
194
|
+
"listImports" => Route.new(name: "listImports", method: "GET", path: "/v1/imports", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
195
|
+
"listItContacts" => Route.new(name: "listItContacts", method: "GET", path: "/v1/organizations/{org}/it_contacts", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
196
|
+
"listLogStreams" => Route.new(name: "listLogStreams", method: "GET", path: "/v1/log_streams", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
197
|
+
"listM2MClients" => Route.new(name: "listM2MClients", method: "GET", path: "/v1/m2m_clients", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
198
|
+
"listMembershipPermissions" => Route.new(name: "listMembershipPermissions", method: "GET", path: "/v1/organizations/{org}/memberships/{membership}/permissions", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
199
|
+
"listMemberships" => Route.new(name: "listMemberships", method: "GET", path: "/v1/organizations/{org}/memberships", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
200
|
+
"listOAuthClients" => Route.new(name: "listOAuthClients", method: "GET", path: "/v1/oauth/clients", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
201
|
+
"listOAuthGrants" => Route.new(name: "listOAuthGrants", method: "GET", path: "/v1/oauth/grants", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
202
|
+
"listOAuthResources" => Route.new(name: "listOAuthResources", method: "GET", path: "/v1/oauth/resources", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
203
|
+
"listOAuthScopes" => Route.new(name: "listOAuthScopes", method: "GET", path: "/v1/oauth/scopes", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
204
|
+
"listOrganizationApiKeySecrets" => Route.new(name: "listOrganizationApiKeySecrets", method: "GET", path: "/v1/organizations/{org}/api_keys/{key}/secrets", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
205
|
+
"listOrganizationApiKeys" => Route.new(name: "listOrganizationApiKeys", method: "GET", path: "/v1/organizations/{org}/api_keys", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
206
|
+
"listOrganizationEvents" => Route.new(name: "listOrganizationEvents", method: "GET", path: "/v1/organizations/{org}/events", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
207
|
+
"listOrganizations" => Route.new(name: "listOrganizations", method: "GET", path: "/v1/organizations", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
208
|
+
"listPassportLinks" => Route.new(name: "listPassportLinks", method: "GET", path: "/v1/passport/links", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
209
|
+
"listPermissions" => Route.new(name: "listPermissions", method: "GET", path: "/v1/authorization/permissions", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
210
|
+
"listPipeConnections" => Route.new(name: "listPipeConnections", method: "GET", path: "/v1/pipes/connections", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
211
|
+
"listPipeProviders" => Route.new(name: "listPipeProviders", method: "GET", path: "/v1/pipes/providers", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
212
|
+
"listPolicies" => Route.new(name: "listPolicies", method: "GET", path: "/v1/policies", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
213
|
+
"listPortalInvites" => Route.new(name: "listPortalInvites", method: "GET", path: "/v1/portal/invites", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
214
|
+
"listPortalLinks" => Route.new(name: "listPortalLinks", method: "GET", path: "/v1/portal/links", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
215
|
+
"listPortalProfiles" => Route.new(name: "listPortalProfiles", method: "GET", path: "/v1/portal_profiles", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
216
|
+
"listRedirectUris" => Route.new(name: "listRedirectUris", method: "GET", path: "/v1/redirect_uris", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
217
|
+
"listRequests" => Route.new(name: "listRequests", method: "GET", path: "/v1/requests", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
218
|
+
"listRoleAssignments" => Route.new(name: "listRoleAssignments", method: "GET", path: "/v1/organizations/{org}/memberships/{membership}/role_assignments", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
219
|
+
"listRoleRules" => Route.new(name: "listRoleRules", method: "GET", path: "/v1/role_rules", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
220
|
+
"listRoles" => Route.new(name: "listRoles", method: "GET", path: "/v1/authorization/roles", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
221
|
+
"listScimRequests" => Route.new(name: "listScimRequests", method: "GET", path: "/v1/directories/{dir}/scim_requests", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
222
|
+
"listSignInHookDeliveries" => Route.new(name: "listSignInHookDeliveries", method: "GET", path: "/v1/sign_in_hooks/{hook}/deliveries", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
223
|
+
"listSignInHooks" => Route.new(name: "listSignInHooks", method: "GET", path: "/v1/sign_in_hooks", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
224
|
+
"listSignIns" => Route.new(name: "listSignIns", method: "GET", path: "/v1/sign_ins", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
225
|
+
"listSocialProviders" => Route.new(name: "listSocialProviders", method: "GET", path: "/v1/user_management/social_providers", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
226
|
+
"listSsfStreams" => Route.new(name: "listSsfStreams", method: "GET", path: "/v1/ssf_streams", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
227
|
+
"listTrustedIssuers" => Route.new(name: "listTrustedIssuers", method: "GET", path: "/v1/trusted_issuers", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
228
|
+
"listVaultKeys" => Route.new(name: "listVaultKeys", method: "GET", path: "/v1/vault/keys", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
229
|
+
"listVaultObjectVersions" => Route.new(name: "listVaultObjectVersions", method: "GET", path: "/v1/vault/objects/{name}/versions", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
230
|
+
"listWebhookDeliveries" => Route.new(name: "listWebhookDeliveries", method: "GET", path: "/v1/webhook_endpoints/{endpoint}/deliveries", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
231
|
+
"listWebhookEndpoints" => Route.new(name: "listWebhookEndpoints", method: "GET", path: "/v1/webhook_endpoints", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: true).freeze,
|
|
232
|
+
"migrateSession" => Route.new(name: "migrateSession", method: "POST", path: "/v1/sessions/migrate", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
233
|
+
"previewAttributes" => Route.new(name: "previewAttributes", method: "POST", path: "/v1/attribute_catalogue/preview", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
234
|
+
"previewDirectorySource" => Route.new(name: "previewDirectorySource", method: "POST", path: "/v1/directories/{dir}/source/preview", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
235
|
+
"previewRoleRules" => Route.new(name: "previewRoleRules", method: "POST", path: "/v1/role_rules/preview", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
236
|
+
"putDirectorySource" => Route.new(name: "putDirectorySource", method: "PUT", path: "/v1/directories/{dir}/source", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
237
|
+
"putITEmailConfiguration" => Route.new(name: "putITEmailConfiguration", method: "PUT", path: "/v1/it_email_configuration", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
238
|
+
"putOAuthScope" => Route.new(name: "putOAuthScope", method: "PUT", path: "/v1/oauth/scopes/{scope}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
239
|
+
"putPipeProvider" => Route.new(name: "putPipeProvider", method: "PUT", path: "/v1/pipes/providers/{provider}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
240
|
+
"putRadarAlertSubscription" => Route.new(name: "putRadarAlertSubscription", method: "PUT", path: "/v1/idp_radar/alert_subscription", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
241
|
+
"putSignInRiskPolicy" => Route.new(name: "putSignInRiskPolicy", method: "PUT", path: "/v1/sign_in_risk_policy", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
242
|
+
"putVaultObject" => Route.new(name: "putVaultObject", method: "PUT", path: "/v1/vault/objects/{name}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
243
|
+
"registerEndUserPasskey" => Route.new(name: "registerEndUserPasskey", method: "POST", path: "/v1/users/{user}/passkeys", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
244
|
+
"replaceAttributeCatalogue" => Route.new(name: "replaceAttributeCatalogue", method: "PUT", path: "/v1/attribute_catalogue", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
245
|
+
"replaceConnectionAttributeMap" => Route.new(name: "replaceConnectionAttributeMap", method: "PUT", path: "/v1/connections/{conn}/attribute_map", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
246
|
+
"replaceDirectoryAttributeMap" => Route.new(name: "replaceDirectoryAttributeMap", method: "PUT", path: "/v1/directories/{dir}/attribute_map", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
247
|
+
"replacePortalProfile" => Route.new(name: "replacePortalProfile", method: "PUT", path: "/v1/portal_profiles/{profile}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
248
|
+
"replayDirectoryScim" => Route.new(name: "replayDirectoryScim", method: "POST", path: "/v1/directories/{dir}/scim_replays", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
249
|
+
"resendPortalInvite" => Route.new(name: "resendPortalInvite", method: "POST", path: "/v1/portal/invites/{invite}/resend", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
250
|
+
"resendWebhookDelivery" => Route.new(name: "resendWebhookDelivery", method: "POST", path: "/v1/webhook_deliveries/{delivery}/resend", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
251
|
+
"retireConnectionClientKeys" => Route.new(name: "retireConnectionClientKeys", method: "POST", path: "/v1/connections/{conn}/client_keys/retire", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
252
|
+
"revokeConnectionShare" => Route.new(name: "revokeConnectionShare", method: "DELETE", path: "/v1/connections/{conn}/shares/{share}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
253
|
+
"revokeEndUserInvite" => Route.new(name: "revokeEndUserInvite", method: "POST", path: "/v1/invites/{invite}/revoke", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
254
|
+
"revokeEndUserSession" => Route.new(name: "revokeEndUserSession", method: "DELETE", path: "/v1/users/{user}/sessions/{session}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
255
|
+
"revokeEndUserSessions" => Route.new(name: "revokeEndUserSessions", method: "DELETE", path: "/v1/users/{user}/sessions", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
256
|
+
"revokeM2MClient" => Route.new(name: "revokeM2MClient", method: "DELETE", path: "/v1/m2m_clients/{client}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
257
|
+
"revokeOAuthGrant" => Route.new(name: "revokeOAuthGrant", method: "DELETE", path: "/v1/oauth/grants/{grant}", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
258
|
+
"revokeOrganizationApiKey" => Route.new(name: "revokeOrganizationApiKey", method: "POST", path: "/v1/organizations/{org}/api_keys/{key}/revoke", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
259
|
+
"revokeOrganizationApiKeySecret" => Route.new(name: "revokeOrganizationApiKeySecret", method: "POST", path: "/v1/organizations/{org}/api_keys/{key}/secrets/{secret}/revoke", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
260
|
+
"revokeOrganizationOAuthGrants" => Route.new(name: "revokeOrganizationOAuthGrants", method: "POST", path: "/v1/organizations/{org}/oauth_grants/revoke", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
261
|
+
"revokePassportLink" => Route.new(name: "revokePassportLink", method: "DELETE", path: "/v1/passport/links/{link}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
262
|
+
"revokePortalInvite" => Route.new(name: "revokePortalInvite", method: "POST", path: "/v1/portal/invites/{invite}/revoke", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
263
|
+
"revokePortalLink" => Route.new(name: "revokePortalLink", method: "POST", path: "/v1/portal/links/{link}/revoke", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
264
|
+
"rollOrganizationApiKey" => Route.new(name: "rollOrganizationApiKey", method: "POST", path: "/v1/organizations/{org}/api_keys/{key}/roll", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
265
|
+
"rollbackImportOrganization" => Route.new(name: "rollbackImportOrganization", method: "POST", path: "/v1/imports/{imp}/organizations/{org}/rollback", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
266
|
+
"rotateDirectoryToken" => Route.new(name: "rotateDirectoryToken", method: "POST", path: "/v1/directories/{dir}/rotate_token", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
267
|
+
"rotateM2MClientSecret" => Route.new(name: "rotateM2MClientSecret", method: "POST", path: "/v1/m2m_clients/{client}/rotate_secret", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
268
|
+
"rotateOAuthClientSecret" => Route.new(name: "rotateOAuthClientSecret", method: "POST", path: "/v1/oauth/clients/{client}/secret", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
269
|
+
"rotateSignInHookSecret" => Route.new(name: "rotateSignInHookSecret", method: "POST", path: "/v1/sign_in_hooks/{hook}/rotate_secret", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
270
|
+
"rotateVaultKey" => Route.new(name: "rotateVaultKey", method: "POST", path: "/v1/vault/keys/{key}/rotate", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
271
|
+
"rotateWebhookSecret" => Route.new(name: "rotateWebhookSecret", method: "POST", path: "/v1/webhook_endpoints/{endpoint}/rotate_secret", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
272
|
+
"runImport" => Route.new(name: "runImport", method: "POST", path: "/v1/imports/{imp}/run", server: :api, auth: "secretKey", media: "application/json", status: 202, idempotent_key: true, list: false).freeze,
|
|
273
|
+
"sendTestEmail" => Route.new(name: "sendTestEmail", method: "POST", path: "/v1/email_events/test", server: :api, auth: "secretKey", media: "application/json", status: 202, idempotent_key: false, list: false).freeze,
|
|
274
|
+
"setConnectionSCIMBinding" => Route.new(name: "setConnectionSCIMBinding", method: "PUT", path: "/v1/connections/{conn}/scim_binding", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
275
|
+
"setConnectionSingleLogout" => Route.new(name: "setConnectionSingleLogout", method: "PUT", path: "/v1/connections/{conn}/single_logout", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
276
|
+
"setEndUserPassword" => Route.new(name: "setEndUserPassword", method: "PUT", path: "/v1/users/{user}/password", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: false, list: false).freeze,
|
|
277
|
+
"setEnvironmentSigninHost" => Route.new(name: "setEnvironmentSigninHost", method: "PUT", path: "/v1/environment/signin_host", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
278
|
+
"setOrganizationAllowedIntents" => Route.new(name: "setOrganizationAllowedIntents", method: "PUT", path: "/v1/organizations/{org}/allowed_intents", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
279
|
+
"startDirectorySourceOAuth" => Route.new(name: "startDirectorySourceOAuth", method: "POST", path: "/v1/directories/{dir}/source/oauth/start", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: false, list: false).freeze,
|
|
280
|
+
"startEndUserPasskeyAuthentication" => Route.new(name: "startEndUserPasskeyAuthentication", method: "POST", path: "/v1/user_management/passkeys/authentication_options", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
281
|
+
"startEndUserPasskeyRegistration" => Route.new(name: "startEndUserPasskeyRegistration", method: "POST", path: "/v1/users/{user}/passkeys/registration_options", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
282
|
+
"startSsoLogout" => Route.new(name: "startSsoLogout", method: "POST", path: "/v1/sso/logout", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
283
|
+
"switchImportOrganization" => Route.new(name: "switchImportOrganization", method: "POST", path: "/v1/imports/{imp}/organizations/{org}/switch", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
284
|
+
"syncDirectorySource" => Route.new(name: "syncDirectorySource", method: "POST", path: "/v1/directories/{dir}/source/sync", server: :api, auth: "secretKey", media: "application/json", status: 202, idempotent_key: false, list: false).freeze,
|
|
285
|
+
"testConnection" => Route.new(name: "testConnection", method: "POST", path: "/v1/connections/{conn}/test", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
286
|
+
"testSignInHook" => Route.new(name: "testSignInHook", method: "POST", path: "/v1/sign_in_hooks/{hook}/test", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
287
|
+
"testWebhookEndpoint" => Route.new(name: "testWebhookEndpoint", method: "POST", path: "/v1/webhook_endpoints/{endpoint}/test", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
288
|
+
"updateBotProtection" => Route.new(name: "updateBotProtection", method: "PUT", path: "/v1/user_management/bot_protection", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
289
|
+
"updateBranding" => Route.new(name: "updateBranding", method: "PATCH", path: "/v1/branding", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
290
|
+
"updateConnection" => Route.new(name: "updateConnection", method: "PATCH", path: "/v1/connections/{conn}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
291
|
+
"updateDirectory" => Route.new(name: "updateDirectory", method: "PATCH", path: "/v1/directories/{dir}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
292
|
+
"updateDirectorySource" => Route.new(name: "updateDirectorySource", method: "PATCH", path: "/v1/directories/{dir}/source", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
293
|
+
"updateDomain" => Route.new(name: "updateDomain", method: "PATCH", path: "/v1/organizations/{org}/domains/{domain}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
294
|
+
"updateEndUser" => Route.new(name: "updateEndUser", method: "PATCH", path: "/v1/users/{user}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
295
|
+
"updateEndUserPasskey" => Route.new(name: "updateEndUserPasskey", method: "PATCH", path: "/v1/users/{user}/passkeys/{passkey}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
296
|
+
"updateEnvironment" => Route.new(name: "updateEnvironment", method: "PATCH", path: "/v1/environment", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
297
|
+
"updateFeatureFlag" => Route.new(name: "updateFeatureFlag", method: "PATCH", path: "/v1/feature_flags/{feature_flag}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
298
|
+
"updateItContact" => Route.new(name: "updateItContact", method: "PATCH", path: "/v1/organizations/{org}/it_contacts/{contact}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
299
|
+
"updateM2MClient" => Route.new(name: "updateM2MClient", method: "PATCH", path: "/v1/m2m_clients/{client}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
300
|
+
"updateMembership" => Route.new(name: "updateMembership", method: "PATCH", path: "/v1/organizations/{org}/memberships/{membership}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
301
|
+
"updateOAuthClient" => Route.new(name: "updateOAuthClient", method: "PUT", path: "/v1/oauth/clients/{client}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
302
|
+
"updateOAuthResource" => Route.new(name: "updateOAuthResource", method: "PUT", path: "/v1/oauth/resources/{resource}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
303
|
+
"updateOrganization" => Route.new(name: "updateOrganization", method: "PATCH", path: "/v1/organizations/{org}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
304
|
+
"updateOrganizationOAuthSettings" => Route.new(name: "updateOrganizationOAuthSettings", method: "PUT", path: "/v1/organizations/{org}/oauth_settings", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
305
|
+
"updateOrganizationProfile" => Route.new(name: "updateOrganizationProfile", method: "PATCH", path: "/v1/organizations/{org}/profile", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
306
|
+
"updateOrganizationUserManagementSettings" => Route.new(name: "updateOrganizationUserManagementSettings", method: "PUT", path: "/v1/organizations/{org}/user_management_settings", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
307
|
+
"updatePermission" => Route.new(name: "updatePermission", method: "PATCH", path: "/v1/authorization/permissions/{permission}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
308
|
+
"updatePolicy" => Route.new(name: "updatePolicy", method: "PATCH", path: "/v1/policies/{policy}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
309
|
+
"updateRole" => Route.new(name: "updateRole", method: "PATCH", path: "/v1/authorization/roles/{role}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
310
|
+
"updateRoleRule" => Route.new(name: "updateRoleRule", method: "PATCH", path: "/v1/role_rules/{role_rule}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
311
|
+
"updateSignInHook" => Route.new(name: "updateSignInHook", method: "PATCH", path: "/v1/sign_in_hooks/{hook}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
312
|
+
"updateSocialProvider" => Route.new(name: "updateSocialProvider", method: "PUT", path: "/v1/user_management/social_providers/{provider}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
313
|
+
"updateSsfStream" => Route.new(name: "updateSsfStream", method: "PATCH", path: "/v1/ssf_streams/{stream}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
314
|
+
"updateUserManagementSettings" => Route.new(name: "updateUserManagementSettings", method: "PUT", path: "/v1/user_management/settings", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
315
|
+
"updateWebhookEndpoint" => Route.new(name: "updateWebhookEndpoint", method: "PATCH", path: "/v1/webhook_endpoints/{endpoint}", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
316
|
+
"uploadBrandingFavicon" => Route.new(name: "uploadBrandingFavicon", method: "POST", path: "/v1/branding/favicon", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
317
|
+
"uploadBrandingFont" => Route.new(name: "uploadBrandingFont", method: "POST", path: "/v1/branding/font", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
318
|
+
"uploadBrandingLogo" => Route.new(name: "uploadBrandingLogo", method: "POST", path: "/v1/branding/logo", server: :api, auth: "secretKey", media: "application/json", status: 201, idempotent_key: true, list: false).freeze,
|
|
319
|
+
"validateEncryptionKey" => Route.new(name: "validateEncryptionKey", method: "POST", path: "/v1/encryption_keys/{key}/validate", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
320
|
+
"vaultDecrypt" => Route.new(name: "vaultDecrypt", method: "POST", path: "/v1/vault/decrypt", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
321
|
+
"vaultEncrypt" => Route.new(name: "vaultEncrypt", method: "POST", path: "/v1/vault/encrypt", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
322
|
+
"verifyCustomDomain" => Route.new(name: "verifyCustomDomain", method: "POST", path: "/v1/custom_domains/{custom_domain}/verify", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: false, list: false).freeze,
|
|
323
|
+
"verifyDomain" => Route.new(name: "verifyDomain", method: "POST", path: "/v1/organizations/{org}/domains/{domain}/verify", server: :api, auth: "secretKey", media: "application/json", status: 200, idempotent_key: true, list: false).freeze,
|
|
324
|
+
"verifySsfStream" => Route.new(name: "verifySsfStream", method: "POST", path: "/v1/ssf_streams/{stream}/verify", server: :api, auth: "secretKey", media: "", status: 204, idempotent_key: true, list: false).freeze,
|
|
325
|
+
}.freeze
|
|
326
|
+
|
|
327
|
+
ERROR_CODES = [
|
|
328
|
+
"saml_response_malformed",
|
|
329
|
+
"saml_idp_status_error",
|
|
330
|
+
"saml_dtd_forbidden",
|
|
331
|
+
"saml_signature_missing",
|
|
332
|
+
"saml_signature_invalid",
|
|
333
|
+
"saml_response_altered",
|
|
334
|
+
"saml_signature_algorithm_weak",
|
|
335
|
+
"saml_assertion_count_invalid",
|
|
336
|
+
"saml_wrapping_detected",
|
|
337
|
+
"saml_destination_mismatch",
|
|
338
|
+
"saml_audience_mismatch",
|
|
339
|
+
"saml_issuer_mismatch",
|
|
340
|
+
"saml_response_expired",
|
|
341
|
+
"saml_response_not_yet_valid",
|
|
342
|
+
"saml_in_response_to_mismatch",
|
|
343
|
+
"saml_assertion_replayed",
|
|
344
|
+
"saml_idp_initiated_disabled",
|
|
345
|
+
"saml_decryption_failed",
|
|
346
|
+
"saml_nameid_missing",
|
|
347
|
+
"saml_email_missing",
|
|
348
|
+
"oidc_email_missing",
|
|
349
|
+
"oidc_discovery_unreachable",
|
|
350
|
+
"oidc_token_exchange_failed",
|
|
351
|
+
"oidc_idp_error",
|
|
352
|
+
"oidc_id_token_invalid",
|
|
353
|
+
"oidc_email_not_verified",
|
|
354
|
+
"email_outside_verified_domain",
|
|
355
|
+
"connection_untested",
|
|
356
|
+
"connection_inactive",
|
|
357
|
+
"connection_not_activated",
|
|
358
|
+
"environment_disabled",
|
|
359
|
+
"account_suspended",
|
|
360
|
+
"account_closed",
|
|
361
|
+
"organization_not_found",
|
|
362
|
+
"client_id_invalid",
|
|
363
|
+
"pkce_required",
|
|
364
|
+
"authorize_request_invalid",
|
|
365
|
+
"sso_forwarding_disabled",
|
|
366
|
+
"connection_not_found",
|
|
367
|
+
"redirect_uri_not_allowed",
|
|
368
|
+
"invalid_state",
|
|
369
|
+
"flow_interrupted_retry",
|
|
370
|
+
"invalid_grant",
|
|
371
|
+
"pkce_verification_failed",
|
|
372
|
+
"connection_standby_unavailable",
|
|
373
|
+
"consent_declined",
|
|
374
|
+
"sign_in_buffer_full",
|
|
375
|
+
"scim_token_invalid",
|
|
376
|
+
"scim_user_out_of_domain",
|
|
377
|
+
"scim_filter_invalid",
|
|
378
|
+
"scim_payload_too_large",
|
|
379
|
+
"scim_rate_limited",
|
|
380
|
+
"scim_temporarily_unavailable",
|
|
381
|
+
"scim_conflict",
|
|
382
|
+
"scim_precondition_failed",
|
|
383
|
+
"authentication_required",
|
|
384
|
+
"api_key_invalid",
|
|
385
|
+
"access_token_invalid",
|
|
386
|
+
"cli_token_invalid",
|
|
387
|
+
"csrf_token_invalid",
|
|
388
|
+
"otp_invalid",
|
|
389
|
+
"recovery_code_invalid",
|
|
390
|
+
"invite_invalid",
|
|
391
|
+
"webauthn_invalid",
|
|
392
|
+
"totp_invalid",
|
|
393
|
+
"oauth_sign_in_failed",
|
|
394
|
+
"mfa_required",
|
|
395
|
+
"authorization_pending",
|
|
396
|
+
"slow_down",
|
|
397
|
+
"expired_token",
|
|
398
|
+
"access_denied",
|
|
399
|
+
"cli_request_stale",
|
|
400
|
+
"step_up_required",
|
|
401
|
+
"sign_up_paused",
|
|
402
|
+
"sandbox_creation_unavailable",
|
|
403
|
+
"sandbox_handoff_expired",
|
|
404
|
+
"debug_bundles_unavailable",
|
|
405
|
+
"email_disposable",
|
|
406
|
+
"sso_required",
|
|
407
|
+
"role_insufficient",
|
|
408
|
+
"last_owner",
|
|
409
|
+
"last_break_glass_credential",
|
|
410
|
+
"environment_reset_not_allowed",
|
|
411
|
+
"sandbox_required",
|
|
412
|
+
"sso_not_ready",
|
|
413
|
+
"break_glass_limit",
|
|
414
|
+
"api_key_scope_missing",
|
|
415
|
+
"staff_role_insufficient",
|
|
416
|
+
"buffer_entry_conflict",
|
|
417
|
+
"staff_member_disabled",
|
|
418
|
+
"staff_last_admin",
|
|
419
|
+
"staff_origin_refused",
|
|
420
|
+
"staff_unsupported_media_type",
|
|
421
|
+
"staff_role_immutable",
|
|
422
|
+
"staff_role_held",
|
|
423
|
+
"staff_role_in_use",
|
|
424
|
+
"staff_account_protected",
|
|
425
|
+
"staff_self_change",
|
|
426
|
+
"staff_grant_exceeds_own",
|
|
427
|
+
"staff_session_required",
|
|
428
|
+
"staff_session_device_changed",
|
|
429
|
+
"staff_passkey_minimum",
|
|
430
|
+
"staff_step_up_required",
|
|
431
|
+
"staff_passkey_enrolment_closed",
|
|
432
|
+
"staff_totp_invalid",
|
|
433
|
+
"staff_sign_in_refused",
|
|
434
|
+
"staff_password_rejected",
|
|
435
|
+
"staff_password_current_invalid",
|
|
436
|
+
"staff_totp_replayed",
|
|
437
|
+
"staff_totp_required_for_root",
|
|
438
|
+
"staff_totp_enrolment_required",
|
|
439
|
+
"staff_totp_not_enrolled",
|
|
440
|
+
"ip_not_allowed",
|
|
441
|
+
"resource_not_found",
|
|
442
|
+
"route_not_found",
|
|
443
|
+
"resource_already_exists",
|
|
444
|
+
"parameter_invalid",
|
|
445
|
+
"parameter_missing",
|
|
446
|
+
"idempotency_key_reused",
|
|
447
|
+
"idempotency_key_in_progress",
|
|
448
|
+
"version_unsupported",
|
|
449
|
+
"logo_invalid",
|
|
450
|
+
"font_invalid",
|
|
451
|
+
"plan_limit_reached",
|
|
452
|
+
"rate_limited",
|
|
453
|
+
"home_region_unavailable",
|
|
454
|
+
"service_unavailable",
|
|
455
|
+
"domain_verification_failed",
|
|
456
|
+
"domain_public_suffix",
|
|
457
|
+
"domain_already_claimed",
|
|
458
|
+
"metadata_fetch_blocked",
|
|
459
|
+
"metadata_invalid",
|
|
460
|
+
"metadata_fetch_failed",
|
|
461
|
+
"oidc_discovery_invalid",
|
|
462
|
+
"certificate_invalid",
|
|
463
|
+
"certificate_last_remaining",
|
|
464
|
+
"organization_not_empty",
|
|
465
|
+
"connection_state_conflict",
|
|
466
|
+
"directory_state_conflict",
|
|
467
|
+
"webhook_endpoint_unreachable",
|
|
468
|
+
"webhook_endpoint_disabled",
|
|
469
|
+
"import_source_unreachable",
|
|
470
|
+
"payload_too_large",
|
|
471
|
+
"import_state_conflict",
|
|
472
|
+
"compat_support_expired",
|
|
473
|
+
"internal_error",
|
|
474
|
+
"not_implemented",
|
|
475
|
+
"domain_pending_dns",
|
|
476
|
+
"first_scim_request_pending",
|
|
477
|
+
"test_sign_in_pending",
|
|
478
|
+
"domain_unverified",
|
|
479
|
+
"portal_link_expired",
|
|
480
|
+
"portal_link_already_used",
|
|
481
|
+
"portal_link_revoked",
|
|
482
|
+
"sign_in_confirmation_abandoned",
|
|
483
|
+
"sign_in_policy_denied",
|
|
484
|
+
"portal_profile_idp_not_allowed",
|
|
485
|
+
"portal_profile_feature_not_allowed",
|
|
486
|
+
"portal_profile_attributes_missing",
|
|
487
|
+
"portal_setup_finished",
|
|
488
|
+
"portal_profile_in_use",
|
|
489
|
+
"custom_attribute_in_use",
|
|
490
|
+
"sp_key_rotation_conflict",
|
|
491
|
+
"sp_key_rotation_not_ready",
|
|
492
|
+
"sp_key_rotation_key_in_use",
|
|
493
|
+
"sp_key_rotation_unsupported",
|
|
494
|
+
"sp_key_rotation_retirement_warning",
|
|
495
|
+
"mcp_key_too_broad",
|
|
496
|
+
"mcp_origin_refused",
|
|
497
|
+
"billing_provider_unavailable",
|
|
498
|
+
"billing_webhook_signature_invalid",
|
|
499
|
+
"billing_subscription_required",
|
|
500
|
+
"billing_handover_unsupported",
|
|
501
|
+
"gstin_invalid",
|
|
502
|
+
"staff_approval_required",
|
|
503
|
+
"staff_approval_self",
|
|
504
|
+
"staff_approval_expired",
|
|
505
|
+
"staff_approval_not_pending",
|
|
506
|
+
"staff_approval_duplicate",
|
|
507
|
+
"staff_approval_stale",
|
|
508
|
+
"oidc_tenant_mismatch",
|
|
509
|
+
"oidc_tenant_claim_missing",
|
|
510
|
+
"oidc_personal_account_refused",
|
|
511
|
+
"managed_oidc_unavailable",
|
|
512
|
+
"connection_share_invalid",
|
|
513
|
+
"organization_slug_taken",
|
|
514
|
+
"api_key_organization_forbidden",
|
|
515
|
+
"api_key_secret_limit",
|
|
516
|
+
"saml_slo_disabled",
|
|
517
|
+
"saml_logout_session_not_found",
|
|
518
|
+
"trusted_token_invalid",
|
|
519
|
+
"trusted_token_replayed",
|
|
520
|
+
"directory_source_mismatch",
|
|
521
|
+
"directory_csv_invalid",
|
|
522
|
+
"directory_source_credentials_invalid",
|
|
523
|
+
"directory_source_method_unavailable",
|
|
524
|
+
"directory_source_workspace_required",
|
|
525
|
+
"directory_source_admin_required",
|
|
526
|
+
"directory_source_scope_missing",
|
|
527
|
+
"directory_source_unavailable",
|
|
528
|
+
"directory_source_mass_delete_refused",
|
|
529
|
+
"sign_in_hook_denied",
|
|
530
|
+
"sign_in_hook_unavailable",
|
|
531
|
+
"sign_in_risk_denied",
|
|
532
|
+
"encryption_key_unavailable",
|
|
533
|
+
"encryption_key_invalid",
|
|
534
|
+
"encryption_key_policy_too_broad",
|
|
535
|
+
"vault_decrypt_failed",
|
|
536
|
+
"encryption_key_state_conflict",
|
|
537
|
+
"audit_log_schema_not_found",
|
|
538
|
+
"feature_flag_revision_stale",
|
|
539
|
+
"pipe_provider_not_configured",
|
|
540
|
+
"pipe_connection_not_connected",
|
|
541
|
+
"directory_source_oauth_domain_unverified",
|
|
542
|
+
"directory_source_oauth_confirm_required",
|
|
543
|
+
"pipe_provider_has_connections",
|
|
544
|
+
"pipe_connect_browser_mismatch",
|
|
545
|
+
"password_too_short",
|
|
546
|
+
"password_too_long",
|
|
547
|
+
"password_invalid",
|
|
548
|
+
"password_contains_account_details",
|
|
549
|
+
"password_breached",
|
|
550
|
+
"password_reused",
|
|
551
|
+
"user_credentials_invalid",
|
|
552
|
+
"user_code_invalid",
|
|
553
|
+
"user_blocked",
|
|
554
|
+
"user_factor_invalid",
|
|
555
|
+
"user_social_sign_in_failed",
|
|
556
|
+
"user_social_demo_unavailable",
|
|
557
|
+
"user_link_refused",
|
|
558
|
+
"refresh_token_reused",
|
|
559
|
+
"sign_in_blocked",
|
|
560
|
+
"bot_challenge_failed",
|
|
561
|
+
"oauth_resource_exists",
|
|
562
|
+
"oauth_third_party_denied",
|
|
563
|
+
"passport_code_invalid",
|
|
564
|
+
"passport_rotation_not_permitted",
|
|
565
|
+
"passport_consent_required",
|
|
566
|
+
"passport_domain_proof_failed",
|
|
567
|
+
"passport_handoff_invalid",
|
|
568
|
+
"login_method_disabled",
|
|
569
|
+
"native_origin_invalid",
|
|
570
|
+
"explanation_budget_exhausted",
|
|
571
|
+
"explanation_rate_limited",
|
|
572
|
+
"login_required",
|
|
573
|
+
"user_last_factor",
|
|
574
|
+
"directory_source_host_key_mismatch",
|
|
575
|
+
"directory_source_file_not_found",
|
|
576
|
+
"directory_source_oauth_state_invalid",
|
|
577
|
+
"directory_source_oauth_expired",
|
|
578
|
+
"directory_source_company_required",
|
|
579
|
+
"end_user_sso_required",
|
|
580
|
+
"signin_hostname_limit_reached",
|
|
581
|
+
"sign_up_not_pending",
|
|
582
|
+
"provider_coming_soon",
|
|
583
|
+
"provider_not_coming_soon",
|
|
584
|
+
].freeze
|
|
585
|
+
|
|
586
|
+
class AttributeCatalogue
|
|
587
|
+
def initialize(client)
|
|
588
|
+
@client = client
|
|
589
|
+
end
|
|
590
|
+
|
|
591
|
+
# GET /v1/attribute_catalogue
|
|
592
|
+
def get_attribute_catalogue(query: nil, **options)
|
|
593
|
+
Models::AttributeCatalogue.from_json(@client.request("getAttributeCatalogue", [], query, nil, **options))
|
|
594
|
+
end
|
|
595
|
+
|
|
596
|
+
# POST /v1/attribute_catalogue/preview
|
|
597
|
+
def preview_attributes(body, query: nil, **options)
|
|
598
|
+
Models::AttributePreview.from_json(@client.request("previewAttributes", [], query, body, **options))
|
|
599
|
+
end
|
|
600
|
+
|
|
601
|
+
# PUT /v1/attribute_catalogue
|
|
602
|
+
def replace_attribute_catalogue(body, query: nil, **options)
|
|
603
|
+
Models::AttributeCatalogue.from_json(@client.request("replaceAttributeCatalogue", [], query, body, **options))
|
|
604
|
+
end
|
|
605
|
+
end
|
|
606
|
+
|
|
607
|
+
class AuditLogEvents
|
|
608
|
+
def initialize(client)
|
|
609
|
+
@client = client
|
|
610
|
+
end
|
|
611
|
+
|
|
612
|
+
# POST /v1/audit_log_events
|
|
613
|
+
def create_audit_log_event(body, query: nil, **options)
|
|
614
|
+
Models::AuditLogEvent.from_json(@client.request("createAuditLogEvent", [], query, body, **options))
|
|
615
|
+
end
|
|
616
|
+
|
|
617
|
+
# GET /v1/audit_log_events/export
|
|
618
|
+
def export_audit_log_events(query: nil, **options)
|
|
619
|
+
@client.request("exportAuditLogEvents", [], query, nil, **options)
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
# GET /v1/audit_log_events/{audit_log_event}
|
|
623
|
+
def get_audit_log_event(audit_log_event, query: nil, **options)
|
|
624
|
+
Models::AuditLogEvent.from_json(@client.request("getAuditLogEvent", [audit_log_event], query, nil, **options))
|
|
625
|
+
end
|
|
626
|
+
|
|
627
|
+
# GET /v1/audit_log_events
|
|
628
|
+
def list_audit_log_events(query: nil, **options)
|
|
629
|
+
Models::AuditLogEventList.from_json(@client.request("listAuditLogEvents", [], query, nil, **options))
|
|
630
|
+
end
|
|
631
|
+
|
|
632
|
+
# Enumerates every item across pages, following next_cursor.
|
|
633
|
+
def list_audit_log_events_auto_paging(query: nil, **options)
|
|
634
|
+
@client.paginate("listAuditLogEvents", [], query, model: Models::AuditLogEvent, **options)
|
|
635
|
+
end
|
|
636
|
+
end
|
|
637
|
+
|
|
638
|
+
class AuditLogSchemas
|
|
639
|
+
def initialize(client)
|
|
640
|
+
@client = client
|
|
641
|
+
end
|
|
642
|
+
|
|
643
|
+
# POST /v1/audit_log_schemas
|
|
644
|
+
def create_audit_log_schema(body, query: nil, **options)
|
|
645
|
+
Models::AuditLogSchema.from_json(@client.request("createAuditLogSchema", [], query, body, **options))
|
|
646
|
+
end
|
|
647
|
+
|
|
648
|
+
# GET /v1/audit_log_schemas/{action}
|
|
649
|
+
def get_audit_log_schema(action, query: nil, **options)
|
|
650
|
+
Models::AuditLogSchema.from_json(@client.request("getAuditLogSchema", [action], query, nil, **options))
|
|
651
|
+
end
|
|
652
|
+
|
|
653
|
+
# GET /v1/audit_log_schemas
|
|
654
|
+
def list_audit_log_schemas(query: nil, **options)
|
|
655
|
+
Models::AuditLogSchemaList.from_json(@client.request("listAuditLogSchemas", [], query, nil, **options))
|
|
656
|
+
end
|
|
657
|
+
|
|
658
|
+
# Enumerates every item across pages, following next_cursor.
|
|
659
|
+
def list_audit_log_schemas_auto_paging(query: nil, **options)
|
|
660
|
+
@client.paginate("listAuditLogSchemas", [], query, model: Models::AuditLogSchema, **options)
|
|
661
|
+
end
|
|
662
|
+
end
|
|
663
|
+
|
|
664
|
+
class AuditLogs
|
|
665
|
+
def initialize(client)
|
|
666
|
+
@client = client
|
|
667
|
+
end
|
|
668
|
+
|
|
669
|
+
# POST /v1/audit_logs/exports
|
|
670
|
+
def create_audit_log_export(body, query: nil, **options)
|
|
671
|
+
Models::AuditLogExport.from_json(@client.request("createAuditLogExport", [], query, body, **options))
|
|
672
|
+
end
|
|
673
|
+
|
|
674
|
+
# GET /v1/audit_logs/exports/{export}
|
|
675
|
+
def get_audit_log_export(export, query: nil, **options)
|
|
676
|
+
Models::AuditLogExport.from_json(@client.request("getAuditLogExport", [export], query, nil, **options))
|
|
677
|
+
end
|
|
678
|
+
|
|
679
|
+
# GET /v1/audit_logs
|
|
680
|
+
def list_audit_logs(query: nil, **options)
|
|
681
|
+
Models::AuditLogList.from_json(@client.request("listAuditLogs", [], query, nil, **options))
|
|
682
|
+
end
|
|
683
|
+
|
|
684
|
+
# Enumerates every item across pages, following next_cursor.
|
|
685
|
+
def list_audit_logs_auto_paging(query: nil, **options)
|
|
686
|
+
@client.paginate("listAuditLogs", [], query, model: Models::AuditLog, **options)
|
|
687
|
+
end
|
|
688
|
+
end
|
|
689
|
+
|
|
690
|
+
class Authorization
|
|
691
|
+
def initialize(client)
|
|
692
|
+
@client = client
|
|
693
|
+
end
|
|
694
|
+
|
|
695
|
+
# POST /v1/authorization/check
|
|
696
|
+
def check_authorization(body, query: nil, **options)
|
|
697
|
+
Models::AuthorizationDecision.from_json(@client.request("checkAuthorization", [], query, body, **options))
|
|
698
|
+
end
|
|
699
|
+
|
|
700
|
+
# POST /v1/authorization/check/bulk
|
|
701
|
+
def check_authorization_bulk(body, query: nil, **options)
|
|
702
|
+
Models::AuthorizationBulkDecision.from_json(@client.request("checkAuthorizationBulk", [], query, body, **options))
|
|
703
|
+
end
|
|
704
|
+
|
|
705
|
+
# POST /v1/authorization/permissions
|
|
706
|
+
def create_permission(body, query: nil, **options)
|
|
707
|
+
Models::Permission.from_json(@client.request("createPermission", [], query, body, **options))
|
|
708
|
+
end
|
|
709
|
+
|
|
710
|
+
# POST /v1/authorization/roles
|
|
711
|
+
def create_role(body, query: nil, **options)
|
|
712
|
+
Models::Role.from_json(@client.request("createRole", [], query, body, **options))
|
|
713
|
+
end
|
|
714
|
+
|
|
715
|
+
# DELETE /v1/authorization/permissions/{permission}
|
|
716
|
+
def delete_permission(permission, query: nil, **options)
|
|
717
|
+
@client.request("deletePermission", [permission], query, nil, **options)
|
|
718
|
+
end
|
|
719
|
+
|
|
720
|
+
# DELETE /v1/authorization/roles/{role}
|
|
721
|
+
def delete_role(role, query: nil, **options)
|
|
722
|
+
@client.request("deleteRole", [role], query, nil, **options)
|
|
723
|
+
end
|
|
724
|
+
|
|
725
|
+
# GET /v1/authorization/permissions/{permission}
|
|
726
|
+
def get_permission(permission, query: nil, **options)
|
|
727
|
+
Models::Permission.from_json(@client.request("getPermission", [permission], query, nil, **options))
|
|
728
|
+
end
|
|
729
|
+
|
|
730
|
+
# GET /v1/authorization/roles/{role}
|
|
731
|
+
def get_role(role, query: nil, **options)
|
|
732
|
+
Models::Role.from_json(@client.request("getRole", [role], query, nil, **options))
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
# GET /v1/authorization/permissions
|
|
736
|
+
def list_permissions(query: nil, **options)
|
|
737
|
+
Models::PermissionList.from_json(@client.request("listPermissions", [], query, nil, **options))
|
|
738
|
+
end
|
|
739
|
+
|
|
740
|
+
# GET /v1/authorization/roles
|
|
741
|
+
def list_roles(query: nil, **options)
|
|
742
|
+
Models::RoleList.from_json(@client.request("listRoles", [], query, nil, **options))
|
|
743
|
+
end
|
|
744
|
+
|
|
745
|
+
# PATCH /v1/authorization/permissions/{permission}
|
|
746
|
+
def update_permission(permission, body, query: nil, **options)
|
|
747
|
+
Models::Permission.from_json(@client.request("updatePermission", [permission], query, body, **options))
|
|
748
|
+
end
|
|
749
|
+
|
|
750
|
+
# PATCH /v1/authorization/roles/{role}
|
|
751
|
+
def update_role(role, body, query: nil, **options)
|
|
752
|
+
Models::Role.from_json(@client.request("updateRole", [role], query, body, **options))
|
|
753
|
+
end
|
|
754
|
+
end
|
|
755
|
+
|
|
756
|
+
class Branding
|
|
757
|
+
def initialize(client)
|
|
758
|
+
@client = client
|
|
759
|
+
end
|
|
760
|
+
|
|
761
|
+
# GET /v1/branding
|
|
762
|
+
def get_branding(query: nil, **options)
|
|
763
|
+
Models::Branding.from_json(@client.request("getBranding", [], query, nil, **options))
|
|
764
|
+
end
|
|
765
|
+
|
|
766
|
+
# PATCH /v1/branding
|
|
767
|
+
def update_branding(body, query: nil, **options)
|
|
768
|
+
Models::Branding.from_json(@client.request("updateBranding", [], query, body, **options))
|
|
769
|
+
end
|
|
770
|
+
|
|
771
|
+
# POST /v1/branding/favicon
|
|
772
|
+
def upload_branding_favicon(body, query: nil, **options)
|
|
773
|
+
Models::BrandingFavicon.from_json(@client.request("uploadBrandingFavicon", [], query, body, **options))
|
|
774
|
+
end
|
|
775
|
+
|
|
776
|
+
# POST /v1/branding/font
|
|
777
|
+
def upload_branding_font(body, query: nil, **options)
|
|
778
|
+
Models::BrandingFont.from_json(@client.request("uploadBrandingFont", [], query, body, **options))
|
|
779
|
+
end
|
|
780
|
+
|
|
781
|
+
# POST /v1/branding/logo
|
|
782
|
+
def upload_branding_logo(body, query: nil, **options)
|
|
783
|
+
Models::BrandingLogo.from_json(@client.request("uploadBrandingLogo", [], query, body, **options))
|
|
784
|
+
end
|
|
785
|
+
end
|
|
786
|
+
|
|
787
|
+
class ConnectionHealth
|
|
788
|
+
def initialize(client)
|
|
789
|
+
@client = client
|
|
790
|
+
end
|
|
791
|
+
|
|
792
|
+
# GET /v1/connection_health
|
|
793
|
+
def list_connection_health(query: nil, **options)
|
|
794
|
+
Models::ConnectionHealthList.from_json(@client.request("listConnectionHealth", [], query, nil, **options))
|
|
795
|
+
end
|
|
796
|
+
|
|
797
|
+
# Enumerates every item across pages, following next_cursor.
|
|
798
|
+
def list_connection_health_auto_paging(query: nil, **options)
|
|
799
|
+
@client.paginate("listConnectionHealth", [], query, model: Models::ConnectionHealth, **options)
|
|
800
|
+
end
|
|
801
|
+
end
|
|
802
|
+
|
|
803
|
+
class Connections
|
|
804
|
+
def initialize(client)
|
|
805
|
+
@client = client
|
|
806
|
+
end
|
|
807
|
+
|
|
808
|
+
# POST /v1/connections/{conn}/activate
|
|
809
|
+
def activate_connection(conn, query: nil, **options)
|
|
810
|
+
Models::Connection.from_json(@client.request("activateConnection", [conn], query, nil, **options))
|
|
811
|
+
end
|
|
812
|
+
|
|
813
|
+
# POST /v1/connections/{conn}/client_keys/activate
|
|
814
|
+
def activate_connection_client_key(conn, query: nil, **options)
|
|
815
|
+
Models::ConnectionClientKeys.from_json(@client.request("activateConnectionClientKey", [conn], query, nil, **options))
|
|
816
|
+
end
|
|
817
|
+
|
|
818
|
+
# POST /v1/connections
|
|
819
|
+
def create_connection(body, query: nil, **options)
|
|
820
|
+
Models::Connection.from_json(@client.request("createConnection", [], query, body, **options))
|
|
821
|
+
end
|
|
822
|
+
|
|
823
|
+
# POST /v1/connections/{conn}/certificates
|
|
824
|
+
def create_connection_certificate(conn, body, query: nil, **options)
|
|
825
|
+
Models::Certificate.from_json(@client.request("createConnectionCertificate", [conn], query, body, **options))
|
|
826
|
+
end
|
|
827
|
+
|
|
828
|
+
# POST /v1/connections/{conn}/client_keys
|
|
829
|
+
def create_connection_client_key(conn, query: nil, **options)
|
|
830
|
+
Models::ConnectionClientKeys.from_json(@client.request("createConnectionClientKey", [conn], query, nil, **options))
|
|
831
|
+
end
|
|
832
|
+
|
|
833
|
+
# POST /v1/connections/{conn}/shares
|
|
834
|
+
def create_connection_share(conn, body, query: nil, **options)
|
|
835
|
+
Models::ConnectionShare.from_json(@client.request("createConnectionShare", [conn], query, body, **options))
|
|
836
|
+
end
|
|
837
|
+
|
|
838
|
+
# POST /v1/connections/{conn}/deactivate
|
|
839
|
+
def deactivate_connection(conn, query: nil, **options)
|
|
840
|
+
Models::Connection.from_json(@client.request("deactivateConnection", [conn], query, nil, **options))
|
|
841
|
+
end
|
|
842
|
+
|
|
843
|
+
# DELETE /v1/connections/{conn}
|
|
844
|
+
def delete_connection(conn, query: nil, **options)
|
|
845
|
+
Models::Deleted.from_json(@client.request("deleteConnection", [conn], (query || {}).then { |q| q.key?(:confirm) || q.key?("confirm") ? q : q.merge("confirm" => conn) }, nil, **options))
|
|
846
|
+
end
|
|
847
|
+
|
|
848
|
+
# DELETE /v1/connections/{conn}/certificates/{fp}
|
|
849
|
+
def delete_connection_certificate(conn, fp, query: nil, **options)
|
|
850
|
+
Models::Deleted.from_json(@client.request("deleteConnectionCertificate", [conn, fp], query, nil, **options))
|
|
851
|
+
end
|
|
852
|
+
|
|
853
|
+
# DELETE /v1/connections/{conn}/scim_binding
|
|
854
|
+
def delete_connection_scim_binding(conn, query: nil, **options)
|
|
855
|
+
@client.request("deleteConnectionSCIMBinding", [conn], query, nil, **options)
|
|
856
|
+
end
|
|
857
|
+
|
|
858
|
+
# GET /v1/connections/{conn}
|
|
859
|
+
def get_connection(conn, query: nil, **options)
|
|
860
|
+
Models::Connection.from_json(@client.request("getConnection", [conn], query, nil, **options))
|
|
861
|
+
end
|
|
862
|
+
|
|
863
|
+
# GET /v1/connections/{conn}/attribute_map
|
|
864
|
+
def get_connection_attribute_map(conn, query: nil, **options)
|
|
865
|
+
Models::CustomAttributeMap.from_json(@client.request("getConnectionAttributeMap", [conn], query, nil, **options))
|
|
866
|
+
end
|
|
867
|
+
|
|
868
|
+
# GET /v1/connections/{conn}/attribute_preview
|
|
869
|
+
def get_connection_attribute_preview(conn, query: nil, **options)
|
|
870
|
+
Models::AttributeTestPreview.from_json(@client.request("getConnectionAttributePreview", [conn], query, nil, **options))
|
|
871
|
+
end
|
|
872
|
+
|
|
873
|
+
# GET /v1/connections/{conn}/health
|
|
874
|
+
def get_connection_health(conn, query: nil, **options)
|
|
875
|
+
Models::ConnectionHealth.from_json(@client.request("getConnectionHealth", [conn], query, nil, **options))
|
|
876
|
+
end
|
|
877
|
+
|
|
878
|
+
# GET /v1/connections/{conn}/single_logout
|
|
879
|
+
def get_connection_single_logout(conn, query: nil, **options)
|
|
880
|
+
Models::SingleLogoutSettings.from_json(@client.request("getConnectionSingleLogout", [conn], query, nil, **options))
|
|
881
|
+
end
|
|
882
|
+
|
|
883
|
+
# GET /v1/connections/{conn}/sp_metadata
|
|
884
|
+
def get_connection_sp_metadata(conn, query: nil, **options)
|
|
885
|
+
@client.request("getConnectionSpMetadata", [conn], query, nil, **options)
|
|
886
|
+
end
|
|
887
|
+
|
|
888
|
+
# GET /v1/connections/{conn}/test_result
|
|
889
|
+
def get_connection_test_result(conn, query: nil, **options)
|
|
890
|
+
Models::PortalTestResult.from_json(@client.request("getConnectionTestResult", [conn], query, nil, **options))
|
|
891
|
+
end
|
|
892
|
+
|
|
893
|
+
# GET /v1/connections/{conn}/certificates
|
|
894
|
+
def list_connection_certificates(conn, query: nil, **options)
|
|
895
|
+
Models::CertificateList.from_json(@client.request("listConnectionCertificates", [conn], query, nil, **options))
|
|
896
|
+
end
|
|
897
|
+
|
|
898
|
+
# Enumerates every item across pages, following next_cursor.
|
|
899
|
+
def list_connection_certificates_auto_paging(conn, query: nil, **options)
|
|
900
|
+
@client.paginate("listConnectionCertificates", [conn], query, model: Models::Certificate, **options)
|
|
901
|
+
end
|
|
902
|
+
|
|
903
|
+
# GET /v1/connections/{conn}/client_keys
|
|
904
|
+
def list_connection_client_keys(conn, query: nil, **options)
|
|
905
|
+
Models::ConnectionClientKeys.from_json(@client.request("listConnectionClientKeys", [conn], query, nil, **options))
|
|
906
|
+
end
|
|
907
|
+
|
|
908
|
+
# GET /v1/connections/{conn}/shares
|
|
909
|
+
def list_connection_shares(conn, query: nil, **options)
|
|
910
|
+
Models::ConnectionShareList.from_json(@client.request("listConnectionShares", [conn], query, nil, **options))
|
|
911
|
+
end
|
|
912
|
+
|
|
913
|
+
# GET /v1/connections/{conn}/sessions
|
|
914
|
+
def list_connection_sign_ins(conn, query: nil, **options)
|
|
915
|
+
Models::SignInList.from_json(@client.request("listConnectionSignIns", [conn], query, nil, **options))
|
|
916
|
+
end
|
|
917
|
+
|
|
918
|
+
# Enumerates every item across pages, following next_cursor.
|
|
919
|
+
def list_connection_sign_ins_auto_paging(conn, query: nil, **options)
|
|
920
|
+
@client.paginate("listConnectionSignIns", [conn], query, model: Models::SignIn, **options)
|
|
921
|
+
end
|
|
922
|
+
|
|
923
|
+
# GET /v1/connections
|
|
924
|
+
def list_connections(query: nil, **options)
|
|
925
|
+
Models::ConnectionList.from_json(@client.request("listConnections", [], query, nil, **options))
|
|
926
|
+
end
|
|
927
|
+
|
|
928
|
+
# Enumerates every item across pages, following next_cursor.
|
|
929
|
+
def list_connections_auto_paging(query: nil, **options)
|
|
930
|
+
@client.paginate("listConnections", [], query, model: Models::Connection, **options)
|
|
931
|
+
end
|
|
932
|
+
|
|
933
|
+
# PUT /v1/connections/{conn}/attribute_map
|
|
934
|
+
def replace_connection_attribute_map(conn, body, query: nil, **options)
|
|
935
|
+
Models::CustomAttributeMap.from_json(@client.request("replaceConnectionAttributeMap", [conn], query, body, **options))
|
|
936
|
+
end
|
|
937
|
+
|
|
938
|
+
# POST /v1/connections/{conn}/client_keys/retire
|
|
939
|
+
def retire_connection_client_keys(conn, query: nil, **options)
|
|
940
|
+
Models::ConnectionClientKeys.from_json(@client.request("retireConnectionClientKeys", [conn], query, nil, **options))
|
|
941
|
+
end
|
|
942
|
+
|
|
943
|
+
# DELETE /v1/connections/{conn}/shares/{share}
|
|
944
|
+
def revoke_connection_share(conn, share, query: nil, **options)
|
|
945
|
+
Models::ConnectionShare.from_json(@client.request("revokeConnectionShare", [conn, share], query, nil, **options))
|
|
946
|
+
end
|
|
947
|
+
|
|
948
|
+
# PUT /v1/connections/{conn}/scim_binding
|
|
949
|
+
def set_connection_scim_binding(conn, body, query: nil, **options)
|
|
950
|
+
Models::ConnectionSCIMBinding.from_json(@client.request("setConnectionSCIMBinding", [conn], query, body, **options))
|
|
951
|
+
end
|
|
952
|
+
|
|
953
|
+
# PUT /v1/connections/{conn}/single_logout
|
|
954
|
+
def set_connection_single_logout(conn, body, query: nil, **options)
|
|
955
|
+
Models::SingleLogoutSettings.from_json(@client.request("setConnectionSingleLogout", [conn], query, body, **options))
|
|
956
|
+
end
|
|
957
|
+
|
|
958
|
+
# POST /v1/connections/{conn}/test
|
|
959
|
+
def test_connection(conn, body, query: nil, **options)
|
|
960
|
+
Models::ConnectionTest.from_json(@client.request("testConnection", [conn], query, body, **options))
|
|
961
|
+
end
|
|
962
|
+
|
|
963
|
+
# PATCH /v1/connections/{conn}
|
|
964
|
+
def update_connection(conn, body, query: nil, **options)
|
|
965
|
+
Models::Connection.from_json(@client.request("updateConnection", [conn], query, body, **options))
|
|
966
|
+
end
|
|
967
|
+
end
|
|
968
|
+
|
|
969
|
+
class CustomDomains
|
|
970
|
+
def initialize(client)
|
|
971
|
+
@client = client
|
|
972
|
+
end
|
|
973
|
+
|
|
974
|
+
# POST /v1/custom_domains
|
|
975
|
+
def create_custom_domain(body, query: nil, **options)
|
|
976
|
+
Models::CustomDomain.from_json(@client.request("createCustomDomain", [], query, body, **options))
|
|
977
|
+
end
|
|
978
|
+
|
|
979
|
+
# DELETE /v1/custom_domains/{custom_domain}
|
|
980
|
+
def delete_custom_domain(custom_domain, query: nil, **options)
|
|
981
|
+
Models::Deleted.from_json(@client.request("deleteCustomDomain", [custom_domain], query, nil, **options))
|
|
982
|
+
end
|
|
983
|
+
|
|
984
|
+
# GET /v1/custom_domains/{custom_domain}
|
|
985
|
+
def get_custom_domain(custom_domain, query: nil, **options)
|
|
986
|
+
Models::CustomDomain.from_json(@client.request("getCustomDomain", [custom_domain], query, nil, **options))
|
|
987
|
+
end
|
|
988
|
+
|
|
989
|
+
# GET /v1/custom_domains
|
|
990
|
+
def list_custom_domains(query: nil, **options)
|
|
991
|
+
Models::CustomDomainList.from_json(@client.request("listCustomDomains", [], query, nil, **options))
|
|
992
|
+
end
|
|
993
|
+
|
|
994
|
+
# Enumerates every item across pages, following next_cursor.
|
|
995
|
+
def list_custom_domains_auto_paging(query: nil, **options)
|
|
996
|
+
@client.paginate("listCustomDomains", [], query, model: Models::CustomDomain, **options)
|
|
997
|
+
end
|
|
998
|
+
|
|
999
|
+
# POST /v1/custom_domains/{custom_domain}/verify
|
|
1000
|
+
def verify_custom_domain(custom_domain, query: nil, **options)
|
|
1001
|
+
Models::CustomDomain.from_json(@client.request("verifyCustomDomain", [custom_domain], query, nil, **options))
|
|
1002
|
+
end
|
|
1003
|
+
end
|
|
1004
|
+
|
|
1005
|
+
class Dev
|
|
1006
|
+
def initialize(client)
|
|
1007
|
+
@client = client
|
|
1008
|
+
end
|
|
1009
|
+
|
|
1010
|
+
# POST /v1/dev/init
|
|
1011
|
+
def dev_init(body, query: nil, **options)
|
|
1012
|
+
Models::DevInit.from_json(@client.request("devInit", [], query, body, **options))
|
|
1013
|
+
end
|
|
1014
|
+
|
|
1015
|
+
# POST /v1/dev/trigger
|
|
1016
|
+
def dev_trigger(body, query: nil, **options)
|
|
1017
|
+
Models::DevEvent.from_json(@client.request("devTrigger", [], query, body, **options))
|
|
1018
|
+
end
|
|
1019
|
+
end
|
|
1020
|
+
|
|
1021
|
+
class Directories
|
|
1022
|
+
def initialize(client)
|
|
1023
|
+
@client = client
|
|
1024
|
+
end
|
|
1025
|
+
|
|
1026
|
+
# POST /v1/directories/{dir}/source/oauth/company
|
|
1027
|
+
def choose_directory_source_o_auth_company(dir, body, query: nil, **options)
|
|
1028
|
+
Models::DirectorySourceOAuth.from_json(@client.request("chooseDirectorySourceOAuthCompany", [dir], query, body, **options))
|
|
1029
|
+
end
|
|
1030
|
+
|
|
1031
|
+
# POST /v1/directories
|
|
1032
|
+
def create_directory(body, query: nil, **options)
|
|
1033
|
+
Models::DirectoryCredentials.from_json(@client.request("createDirectory", [], query, body, **options))
|
|
1034
|
+
end
|
|
1035
|
+
|
|
1036
|
+
# POST /v1/directories/{dir}/source/ssh_key
|
|
1037
|
+
def create_directory_source_ssh_key(dir, query: nil, **options)
|
|
1038
|
+
Models::DirectorySourceSSHKey.from_json(@client.request("createDirectorySourceSSHKey", [dir], query, nil, **options))
|
|
1039
|
+
end
|
|
1040
|
+
|
|
1041
|
+
# DELETE /v1/directories/{dir}
|
|
1042
|
+
def delete_directory(dir, query: nil, **options)
|
|
1043
|
+
Models::Deleted.from_json(@client.request("deleteDirectory", [dir], query, nil, **options))
|
|
1044
|
+
end
|
|
1045
|
+
|
|
1046
|
+
# GET /v1/directories/{dir}
|
|
1047
|
+
def get_directory(dir, query: nil, **options)
|
|
1048
|
+
Models::Directory.from_json(@client.request("getDirectory", [dir], query, nil, **options))
|
|
1049
|
+
end
|
|
1050
|
+
|
|
1051
|
+
# GET /v1/directories/{dir}/attribute_map
|
|
1052
|
+
def get_directory_attribute_map(dir, query: nil, **options)
|
|
1053
|
+
Models::CustomAttributeMap.from_json(@client.request("getDirectoryAttributeMap", [dir], query, nil, **options))
|
|
1054
|
+
end
|
|
1055
|
+
|
|
1056
|
+
# GET /v1/directories/{dir}/source
|
|
1057
|
+
def get_directory_source(dir, query: nil, **options)
|
|
1058
|
+
Models::DirectorySource.from_json(@client.request("getDirectorySource", [dir], query, nil, **options))
|
|
1059
|
+
end
|
|
1060
|
+
|
|
1061
|
+
# GET /v1/directories/{dir}/source/oauth
|
|
1062
|
+
def get_directory_source_o_auth(dir, query: nil, **options)
|
|
1063
|
+
Models::DirectorySourceOAuth.from_json(@client.request("getDirectorySourceOAuth", [dir], query, nil, **options))
|
|
1064
|
+
end
|
|
1065
|
+
|
|
1066
|
+
# GET /v1/directories/{dir}/source/ssh_key
|
|
1067
|
+
def get_directory_source_ssh_key(dir, query: nil, **options)
|
|
1068
|
+
Models::DirectorySourceSSHKey.from_json(@client.request("getDirectorySourceSSHKey", [dir], query, nil, **options))
|
|
1069
|
+
end
|
|
1070
|
+
|
|
1071
|
+
# POST /v1/directories/{dir}/csv_imports
|
|
1072
|
+
def import_directory_csv(dir, query: nil, **options)
|
|
1073
|
+
Models::DirectorySyncResult.from_json(@client.request("importDirectoryCSV", [dir], query, nil, **options))
|
|
1074
|
+
end
|
|
1075
|
+
|
|
1076
|
+
# GET /v1/directories
|
|
1077
|
+
def list_directories(query: nil, **options)
|
|
1078
|
+
Models::DirectoryList.from_json(@client.request("listDirectories", [], query, nil, **options))
|
|
1079
|
+
end
|
|
1080
|
+
|
|
1081
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1082
|
+
def list_directories_auto_paging(query: nil, **options)
|
|
1083
|
+
@client.paginate("listDirectories", [], query, model: Models::Directory, **options)
|
|
1084
|
+
end
|
|
1085
|
+
|
|
1086
|
+
# GET /v1/directories/{dir}/groups
|
|
1087
|
+
def list_directory_groups(dir, query: nil, **options)
|
|
1088
|
+
Models::DirectoryGroupList.from_json(@client.request("listDirectoryGroups", [dir], query, nil, **options))
|
|
1089
|
+
end
|
|
1090
|
+
|
|
1091
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1092
|
+
def list_directory_groups_auto_paging(dir, query: nil, **options)
|
|
1093
|
+
@client.paginate("listDirectoryGroups", [dir], query, model: Models::DirectoryGroup, **options)
|
|
1094
|
+
end
|
|
1095
|
+
|
|
1096
|
+
# GET /v1/directories/{dir}/users
|
|
1097
|
+
def list_directory_users(dir, query: nil, **options)
|
|
1098
|
+
Models::DirectoryUserList.from_json(@client.request("listDirectoryUsers", [dir], query, nil, **options))
|
|
1099
|
+
end
|
|
1100
|
+
|
|
1101
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1102
|
+
def list_directory_users_auto_paging(dir, query: nil, **options)
|
|
1103
|
+
@client.paginate("listDirectoryUsers", [dir], query, model: Models::DirectoryUser, **options)
|
|
1104
|
+
end
|
|
1105
|
+
|
|
1106
|
+
# GET /v1/directories/{dir}/scim_requests
|
|
1107
|
+
def list_scim_requests(dir, query: nil, **options)
|
|
1108
|
+
Models::ScimRequestList.from_json(@client.request("listScimRequests", [dir], query, nil, **options))
|
|
1109
|
+
end
|
|
1110
|
+
|
|
1111
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1112
|
+
def list_scim_requests_auto_paging(dir, query: nil, **options)
|
|
1113
|
+
@client.paginate("listScimRequests", [dir], query, model: Models::ScimRequest, **options)
|
|
1114
|
+
end
|
|
1115
|
+
|
|
1116
|
+
# POST /v1/directories/{dir}/source/preview
|
|
1117
|
+
def preview_directory_source(dir, query: nil, **options)
|
|
1118
|
+
Models::DirectorySyncResult.from_json(@client.request("previewDirectorySource", [dir], query, nil, **options))
|
|
1119
|
+
end
|
|
1120
|
+
|
|
1121
|
+
# PUT /v1/directories/{dir}/source
|
|
1122
|
+
def put_directory_source(dir, body, query: nil, **options)
|
|
1123
|
+
Models::DirectorySource.from_json(@client.request("putDirectorySource", [dir], query, body, **options))
|
|
1124
|
+
end
|
|
1125
|
+
|
|
1126
|
+
# PUT /v1/directories/{dir}/attribute_map
|
|
1127
|
+
def replace_directory_attribute_map(dir, body, query: nil, **options)
|
|
1128
|
+
Models::CustomAttributeMap.from_json(@client.request("replaceDirectoryAttributeMap", [dir], query, body, **options))
|
|
1129
|
+
end
|
|
1130
|
+
|
|
1131
|
+
# POST /v1/directories/{dir}/scim_replays
|
|
1132
|
+
def replay_directory_scim(dir, body, query: nil, **options)
|
|
1133
|
+
Models::ScimReplay.from_json(@client.request("replayDirectoryScim", [dir], query, body, **options))
|
|
1134
|
+
end
|
|
1135
|
+
|
|
1136
|
+
# POST /v1/directories/{dir}/rotate_token
|
|
1137
|
+
def rotate_directory_token(dir, query: nil, **options)
|
|
1138
|
+
Models::DirectoryCredentials.from_json(@client.request("rotateDirectoryToken", [dir], query, nil, **options))
|
|
1139
|
+
end
|
|
1140
|
+
|
|
1141
|
+
# POST /v1/directories/{dir}/source/oauth/start
|
|
1142
|
+
def start_directory_source_o_auth(dir, body, query: nil, **options)
|
|
1143
|
+
Models::DirectorySourceOAuthStart.from_json(@client.request("startDirectorySourceOAuth", [dir], query, body, **options))
|
|
1144
|
+
end
|
|
1145
|
+
|
|
1146
|
+
# POST /v1/directories/{dir}/source/sync
|
|
1147
|
+
def sync_directory_source(dir, query: nil, **options)
|
|
1148
|
+
Models::DirectorySource.from_json(@client.request("syncDirectorySource", [dir], query, nil, **options))
|
|
1149
|
+
end
|
|
1150
|
+
|
|
1151
|
+
# PATCH /v1/directories/{dir}
|
|
1152
|
+
def update_directory(dir, body, query: nil, **options)
|
|
1153
|
+
Models::Directory.from_json(@client.request("updateDirectory", [dir], query, body, **options))
|
|
1154
|
+
end
|
|
1155
|
+
|
|
1156
|
+
# PATCH /v1/directories/{dir}/source
|
|
1157
|
+
def update_directory_source(dir, body, query: nil, **options)
|
|
1158
|
+
Models::DirectorySource.from_json(@client.request("updateDirectorySource", [dir], query, body, **options))
|
|
1159
|
+
end
|
|
1160
|
+
end
|
|
1161
|
+
|
|
1162
|
+
class DirectoryGroups
|
|
1163
|
+
def initialize(client)
|
|
1164
|
+
@client = client
|
|
1165
|
+
end
|
|
1166
|
+
|
|
1167
|
+
# GET /v1/directory_groups/{group}
|
|
1168
|
+
def get_directory_group(group, query: nil, **options)
|
|
1169
|
+
Models::DirectoryGroup.from_json(@client.request("getDirectoryGroup", [group], query, nil, **options))
|
|
1170
|
+
end
|
|
1171
|
+
|
|
1172
|
+
# GET /v1/directory_groups/{group}/members
|
|
1173
|
+
def list_directory_group_members(group, query: nil, **options)
|
|
1174
|
+
Models::DirectoryUserList.from_json(@client.request("listDirectoryGroupMembers", [group], query, nil, **options))
|
|
1175
|
+
end
|
|
1176
|
+
|
|
1177
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1178
|
+
def list_directory_group_members_auto_paging(group, query: nil, **options)
|
|
1179
|
+
@client.paginate("listDirectoryGroupMembers", [group], query, model: Models::DirectoryUser, **options)
|
|
1180
|
+
end
|
|
1181
|
+
end
|
|
1182
|
+
|
|
1183
|
+
class DirectoryUsers
|
|
1184
|
+
def initialize(client)
|
|
1185
|
+
@client = client
|
|
1186
|
+
end
|
|
1187
|
+
|
|
1188
|
+
# GET /v1/directory_users/{user}
|
|
1189
|
+
def get_directory_user(user, query: nil, **options)
|
|
1190
|
+
Models::DirectoryUser.from_json(@client.request("getDirectoryUser", [user], query, nil, **options))
|
|
1191
|
+
end
|
|
1192
|
+
|
|
1193
|
+
# GET /v1/directory_users/{user}/groups
|
|
1194
|
+
def list_directory_user_groups(user, query: nil, **options)
|
|
1195
|
+
Models::DirectoryGroupList.from_json(@client.request("listDirectoryUserGroups", [user], query, nil, **options))
|
|
1196
|
+
end
|
|
1197
|
+
|
|
1198
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1199
|
+
def list_directory_user_groups_auto_paging(user, query: nil, **options)
|
|
1200
|
+
@client.paginate("listDirectoryUserGroups", [user], query, model: Models::DirectoryGroup, **options)
|
|
1201
|
+
end
|
|
1202
|
+
end
|
|
1203
|
+
|
|
1204
|
+
class Domains
|
|
1205
|
+
def initialize(client)
|
|
1206
|
+
@client = client
|
|
1207
|
+
end
|
|
1208
|
+
|
|
1209
|
+
# POST /v1/organizations/{org}/domains
|
|
1210
|
+
def create_domain(org, body, query: nil, **options)
|
|
1211
|
+
Models::Domain.from_json(@client.request("createDomain", [org], query, body, **options))
|
|
1212
|
+
end
|
|
1213
|
+
|
|
1214
|
+
# DELETE /v1/organizations/{org}/domains/{domain}
|
|
1215
|
+
def delete_domain(org, domain, query: nil, **options)
|
|
1216
|
+
Models::Deleted.from_json(@client.request("deleteDomain", [org, domain], query, nil, **options))
|
|
1217
|
+
end
|
|
1218
|
+
|
|
1219
|
+
# GET /v1/organizations/{org}/domains
|
|
1220
|
+
def list_domains(org, query: nil, **options)
|
|
1221
|
+
Models::DomainList.from_json(@client.request("listDomains", [org], query, nil, **options))
|
|
1222
|
+
end
|
|
1223
|
+
|
|
1224
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1225
|
+
def list_domains_auto_paging(org, query: nil, **options)
|
|
1226
|
+
@client.paginate("listDomains", [org], query, model: Models::Domain, **options)
|
|
1227
|
+
end
|
|
1228
|
+
|
|
1229
|
+
# PATCH /v1/organizations/{org}/domains/{domain}
|
|
1230
|
+
def update_domain(org, domain, body, query: nil, **options)
|
|
1231
|
+
Models::Domain.from_json(@client.request("updateDomain", [org, domain], query, body, **options))
|
|
1232
|
+
end
|
|
1233
|
+
|
|
1234
|
+
# POST /v1/organizations/{org}/domains/{domain}/verify
|
|
1235
|
+
def verify_domain(org, domain, query: nil, **options)
|
|
1236
|
+
Models::Domain.from_json(@client.request("verifyDomain", [org, domain], query, nil, **options))
|
|
1237
|
+
end
|
|
1238
|
+
end
|
|
1239
|
+
|
|
1240
|
+
class EmailEvents
|
|
1241
|
+
def initialize(client)
|
|
1242
|
+
@client = client
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1245
|
+
# GET /v1/email_events
|
|
1246
|
+
def list_email_events(query: nil, **options)
|
|
1247
|
+
Models::EmailEventList.from_json(@client.request("listEmailEvents", [], query, nil, **options))
|
|
1248
|
+
end
|
|
1249
|
+
|
|
1250
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1251
|
+
def list_email_events_auto_paging(query: nil, **options)
|
|
1252
|
+
@client.paginate("listEmailEvents", [], query, model: Models::EmailEvent, **options)
|
|
1253
|
+
end
|
|
1254
|
+
|
|
1255
|
+
# POST /v1/email_events/test
|
|
1256
|
+
def send_test_email(body, query: nil, **options)
|
|
1257
|
+
Models::TestEmail.from_json(@client.request("sendTestEmail", [], query, body, **options))
|
|
1258
|
+
end
|
|
1259
|
+
end
|
|
1260
|
+
|
|
1261
|
+
class EncryptionKeys
|
|
1262
|
+
def initialize(client)
|
|
1263
|
+
@client = client
|
|
1264
|
+
end
|
|
1265
|
+
|
|
1266
|
+
# POST /v1/encryption_keys/{key}/activate
|
|
1267
|
+
def activate_encryption_key(key, query: nil, **options)
|
|
1268
|
+
Models::EncryptionKey.from_json(@client.request("activateEncryptionKey", [key], query, nil, **options))
|
|
1269
|
+
end
|
|
1270
|
+
|
|
1271
|
+
# POST /v1/encryption_keys
|
|
1272
|
+
def create_encryption_key(body, query: nil, **options)
|
|
1273
|
+
Models::EncryptionKey.from_json(@client.request("createEncryptionKey", [], query, body, **options))
|
|
1274
|
+
end
|
|
1275
|
+
|
|
1276
|
+
# POST /v1/encryption_keys/{key}/deprecate
|
|
1277
|
+
def deprecate_encryption_key(key, query: nil, **options)
|
|
1278
|
+
Models::EncryptionKey.from_json(@client.request("deprecateEncryptionKey", [key], query, nil, **options))
|
|
1279
|
+
end
|
|
1280
|
+
|
|
1281
|
+
# GET /v1/encryption_keys/{key}
|
|
1282
|
+
def get_encryption_key(key, query: nil, **options)
|
|
1283
|
+
Models::EncryptionKey.from_json(@client.request("getEncryptionKey", [key], query, nil, **options))
|
|
1284
|
+
end
|
|
1285
|
+
|
|
1286
|
+
# GET /v1/encryption_keys/setup
|
|
1287
|
+
def get_encryption_key_setup(query: nil, **options)
|
|
1288
|
+
Models::EncryptionKeySetup.from_json(@client.request("getEncryptionKeySetup", [], query, nil, **options))
|
|
1289
|
+
end
|
|
1290
|
+
|
|
1291
|
+
# GET /v1/encryption_keys
|
|
1292
|
+
def list_encryption_keys(query: nil, **options)
|
|
1293
|
+
Models::EncryptionKeyList.from_json(@client.request("listEncryptionKeys", [], query, nil, **options))
|
|
1294
|
+
end
|
|
1295
|
+
|
|
1296
|
+
# POST /v1/encryption_keys/{key}/validate
|
|
1297
|
+
def validate_encryption_key(key, query: nil, **options)
|
|
1298
|
+
Models::EncryptionKey.from_json(@client.request("validateEncryptionKey", [key], query, nil, **options))
|
|
1299
|
+
end
|
|
1300
|
+
end
|
|
1301
|
+
|
|
1302
|
+
class Environment
|
|
1303
|
+
def initialize(client)
|
|
1304
|
+
@client = client
|
|
1305
|
+
end
|
|
1306
|
+
|
|
1307
|
+
# GET /v1/environment
|
|
1308
|
+
def get_environment(query: nil, **options)
|
|
1309
|
+
Models::Environment.from_json(@client.request("getEnvironment", [], query, nil, **options))
|
|
1310
|
+
end
|
|
1311
|
+
|
|
1312
|
+
# GET /v1/environment/signin_host
|
|
1313
|
+
def get_environment_signin_host(query: nil, **options)
|
|
1314
|
+
Models::EnvironmentSigninHost.from_json(@client.request("getEnvironmentSigninHost", [], query, nil, **options))
|
|
1315
|
+
end
|
|
1316
|
+
|
|
1317
|
+
# PUT /v1/environment/signin_host
|
|
1318
|
+
def set_environment_signin_host(body, query: nil, **options)
|
|
1319
|
+
Models::EnvironmentSigninHost.from_json(@client.request("setEnvironmentSigninHost", [], query, body, **options))
|
|
1320
|
+
end
|
|
1321
|
+
|
|
1322
|
+
# PATCH /v1/environment
|
|
1323
|
+
def update_environment(body, query: nil, **options)
|
|
1324
|
+
Models::Environment.from_json(@client.request("updateEnvironment", [], query, body, **options))
|
|
1325
|
+
end
|
|
1326
|
+
end
|
|
1327
|
+
|
|
1328
|
+
class Events
|
|
1329
|
+
def initialize(client)
|
|
1330
|
+
@client = client
|
|
1331
|
+
end
|
|
1332
|
+
|
|
1333
|
+
# GET /v1/events/{evt}
|
|
1334
|
+
def get_event(evt, query: nil, **options)
|
|
1335
|
+
Models::Event.from_json(@client.request("getEvent", [evt], query, nil, **options))
|
|
1336
|
+
end
|
|
1337
|
+
|
|
1338
|
+
# GET /v1/events
|
|
1339
|
+
def list_events(query: nil, **options)
|
|
1340
|
+
Models::EventList.from_json(@client.request("listEvents", [], query, nil, **options))
|
|
1341
|
+
end
|
|
1342
|
+
|
|
1343
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1344
|
+
def list_events_auto_paging(query: nil, **options)
|
|
1345
|
+
@client.paginate("listEvents", [], query, model: Models::Event, **options)
|
|
1346
|
+
end
|
|
1347
|
+
end
|
|
1348
|
+
|
|
1349
|
+
class Exports
|
|
1350
|
+
def initialize(client)
|
|
1351
|
+
@client = client
|
|
1352
|
+
end
|
|
1353
|
+
|
|
1354
|
+
# POST /v1/exports
|
|
1355
|
+
def create_export(body, query: nil, **options)
|
|
1356
|
+
Models::Export.from_json(@client.request("createExport", [], query, body, **options))
|
|
1357
|
+
end
|
|
1358
|
+
|
|
1359
|
+
# GET /v1/exports/{export}
|
|
1360
|
+
def get_export(export, query: nil, **options)
|
|
1361
|
+
Models::Export.from_json(@client.request("getExport", [export], query, nil, **options))
|
|
1362
|
+
end
|
|
1363
|
+
end
|
|
1364
|
+
|
|
1365
|
+
class FeatureFlags
|
|
1366
|
+
def initialize(client)
|
|
1367
|
+
@client = client
|
|
1368
|
+
end
|
|
1369
|
+
|
|
1370
|
+
# POST /v1/feature_flags
|
|
1371
|
+
def create_feature_flag(body, query: nil, **options)
|
|
1372
|
+
Models::FeatureFlag.from_json(@client.request("createFeatureFlag", [], query, body, **options))
|
|
1373
|
+
end
|
|
1374
|
+
|
|
1375
|
+
# DELETE /v1/feature_flags/{feature_flag}
|
|
1376
|
+
def delete_feature_flag(feature_flag, query: nil, **options)
|
|
1377
|
+
Models::Deleted.from_json(@client.request("deleteFeatureFlag", [feature_flag], query, nil, **options))
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1380
|
+
# POST /v1/feature_flags/evaluate
|
|
1381
|
+
def evaluate_feature_flag(body, query: nil, **options)
|
|
1382
|
+
Models::FeatureFlagEvaluation.from_json(@client.request("evaluateFeatureFlag", [], query, body, **options))
|
|
1383
|
+
end
|
|
1384
|
+
|
|
1385
|
+
# POST /v1/feature_flags/evaluate_bulk
|
|
1386
|
+
def evaluate_feature_flags(body, query: nil, **options)
|
|
1387
|
+
Models::FeatureFlagEvaluationList.from_json(@client.request("evaluateFeatureFlags", [], query, body, **options))
|
|
1388
|
+
end
|
|
1389
|
+
|
|
1390
|
+
# GET /v1/feature_flags/{feature_flag}
|
|
1391
|
+
def get_feature_flag(feature_flag, query: nil, **options)
|
|
1392
|
+
Models::FeatureFlag.from_json(@client.request("getFeatureFlag", [feature_flag], query, nil, **options))
|
|
1393
|
+
end
|
|
1394
|
+
|
|
1395
|
+
# GET /v1/feature_flags
|
|
1396
|
+
def list_feature_flags(query: nil, **options)
|
|
1397
|
+
Models::FeatureFlagList.from_json(@client.request("listFeatureFlags", [], query, nil, **options))
|
|
1398
|
+
end
|
|
1399
|
+
|
|
1400
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1401
|
+
def list_feature_flags_auto_paging(query: nil, **options)
|
|
1402
|
+
@client.paginate("listFeatureFlags", [], query, model: Models::FeatureFlag, **options)
|
|
1403
|
+
end
|
|
1404
|
+
|
|
1405
|
+
# PATCH /v1/feature_flags/{feature_flag}
|
|
1406
|
+
def update_feature_flag(feature_flag, body, query: nil, **options)
|
|
1407
|
+
Models::FeatureFlag.from_json(@client.request("updateFeatureFlag", [feature_flag], query, body, **options))
|
|
1408
|
+
end
|
|
1409
|
+
end
|
|
1410
|
+
|
|
1411
|
+
class IdpRadar
|
|
1412
|
+
def initialize(client)
|
|
1413
|
+
@client = client
|
|
1414
|
+
end
|
|
1415
|
+
|
|
1416
|
+
# DELETE /v1/idp_radar/alert_subscription
|
|
1417
|
+
def delete_radar_alert_subscription(query: nil, **options)
|
|
1418
|
+
Models::Deleted.from_json(@client.request("deleteRadarAlertSubscription", [], query, nil, **options))
|
|
1419
|
+
end
|
|
1420
|
+
|
|
1421
|
+
# GET /v1/idp_radar/alert_subscription
|
|
1422
|
+
def get_radar_alert_subscription(query: nil, **options)
|
|
1423
|
+
Models::RadarAlertSubscription.from_json(@client.request("getRadarAlertSubscription", [], query, nil, **options))
|
|
1424
|
+
end
|
|
1425
|
+
|
|
1426
|
+
# PUT /v1/idp_radar/alert_subscription
|
|
1427
|
+
def put_radar_alert_subscription(body, query: nil, **options)
|
|
1428
|
+
Models::RadarAlertSubscription.from_json(@client.request("putRadarAlertSubscription", [], query, body, **options))
|
|
1429
|
+
end
|
|
1430
|
+
end
|
|
1431
|
+
|
|
1432
|
+
class Imports
|
|
1433
|
+
def initialize(client)
|
|
1434
|
+
@client = client
|
|
1435
|
+
end
|
|
1436
|
+
|
|
1437
|
+
# POST /v1/imports/{imp}/cancel
|
|
1438
|
+
def cancel_import(imp, query: nil, **options)
|
|
1439
|
+
Models::Import.from_json(@client.request("cancelImport", [imp], query, nil, **options))
|
|
1440
|
+
end
|
|
1441
|
+
|
|
1442
|
+
# POST /v1/imports
|
|
1443
|
+
def create_import(body, query: nil, **options)
|
|
1444
|
+
Models::Import.from_json(@client.request("createImport", [], query, body, **options))
|
|
1445
|
+
end
|
|
1446
|
+
|
|
1447
|
+
# GET /v1/imports/{imp}
|
|
1448
|
+
def get_import(imp, query: nil, **options)
|
|
1449
|
+
Models::Import.from_json(@client.request("getImport", [imp], query, nil, **options))
|
|
1450
|
+
end
|
|
1451
|
+
|
|
1452
|
+
# GET /v1/imports
|
|
1453
|
+
def list_imports(query: nil, **options)
|
|
1454
|
+
Models::ImportList.from_json(@client.request("listImports", [], query, nil, **options))
|
|
1455
|
+
end
|
|
1456
|
+
|
|
1457
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1458
|
+
def list_imports_auto_paging(query: nil, **options)
|
|
1459
|
+
@client.paginate("listImports", [], query, model: Models::ImportSummary, **options)
|
|
1460
|
+
end
|
|
1461
|
+
|
|
1462
|
+
# POST /v1/imports/{imp}/organizations/{org}/rollback
|
|
1463
|
+
def rollback_import_organization(imp, org, body, query: nil, **options)
|
|
1464
|
+
Models::Import.from_json(@client.request("rollbackImportOrganization", [imp, org], query, body, **options))
|
|
1465
|
+
end
|
|
1466
|
+
|
|
1467
|
+
# POST /v1/imports/{imp}/run
|
|
1468
|
+
def run_import(imp, query: nil, **options)
|
|
1469
|
+
Models::Import.from_json(@client.request("runImport", [imp], query, nil, **options))
|
|
1470
|
+
end
|
|
1471
|
+
|
|
1472
|
+
# POST /v1/imports/{imp}/organizations/{org}/switch
|
|
1473
|
+
def switch_import_organization(imp, org, query: nil, **options)
|
|
1474
|
+
Models::Import.from_json(@client.request("switchImportOrganization", [imp, org], query, nil, **options))
|
|
1475
|
+
end
|
|
1476
|
+
end
|
|
1477
|
+
|
|
1478
|
+
class Invites
|
|
1479
|
+
def initialize(client)
|
|
1480
|
+
@client = client
|
|
1481
|
+
end
|
|
1482
|
+
|
|
1483
|
+
# POST /v1/invites
|
|
1484
|
+
def create_end_user_invite(body, query: nil, **options)
|
|
1485
|
+
Models::EndUserInviteCreated.from_json(@client.request("createEndUserInvite", [], query, body, **options))
|
|
1486
|
+
end
|
|
1487
|
+
|
|
1488
|
+
# GET /v1/invites
|
|
1489
|
+
def list_end_user_invites(query: nil, **options)
|
|
1490
|
+
Models::EndUserInviteList.from_json(@client.request("listEndUserInvites", [], query, nil, **options))
|
|
1491
|
+
end
|
|
1492
|
+
|
|
1493
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1494
|
+
def list_end_user_invites_auto_paging(query: nil, **options)
|
|
1495
|
+
@client.paginate("listEndUserInvites", [], query, model: Models::EndUserInvite, **options)
|
|
1496
|
+
end
|
|
1497
|
+
|
|
1498
|
+
# POST /v1/invites/{invite}/revoke
|
|
1499
|
+
def revoke_end_user_invite(invite, query: nil, **options)
|
|
1500
|
+
Models::EndUserInvite.from_json(@client.request("revokeEndUserInvite", [invite], query, nil, **options))
|
|
1501
|
+
end
|
|
1502
|
+
end
|
|
1503
|
+
|
|
1504
|
+
class ItContacts
|
|
1505
|
+
def initialize(client)
|
|
1506
|
+
@client = client
|
|
1507
|
+
end
|
|
1508
|
+
|
|
1509
|
+
# POST /v1/organizations/{org}/it_contacts
|
|
1510
|
+
def create_it_contact(org, body, query: nil, **options)
|
|
1511
|
+
Models::ItContact.from_json(@client.request("createItContact", [org], query, body, **options))
|
|
1512
|
+
end
|
|
1513
|
+
|
|
1514
|
+
# DELETE /v1/organizations/{org}/it_contacts/{contact}
|
|
1515
|
+
def delete_it_contact(org, contact, query: nil, **options)
|
|
1516
|
+
Models::Deleted.from_json(@client.request("deleteItContact", [org, contact], query, nil, **options))
|
|
1517
|
+
end
|
|
1518
|
+
|
|
1519
|
+
# GET /v1/organizations/{org}/it_contacts/{contact}
|
|
1520
|
+
def get_it_contact(org, contact, query: nil, **options)
|
|
1521
|
+
Models::ItContact.from_json(@client.request("getItContact", [org, contact], query, nil, **options))
|
|
1522
|
+
end
|
|
1523
|
+
|
|
1524
|
+
# GET /v1/organizations/{org}/it_contacts
|
|
1525
|
+
def list_it_contacts(org, query: nil, **options)
|
|
1526
|
+
Models::ItContactList.from_json(@client.request("listItContacts", [org], query, nil, **options))
|
|
1527
|
+
end
|
|
1528
|
+
|
|
1529
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1530
|
+
def list_it_contacts_auto_paging(org, query: nil, **options)
|
|
1531
|
+
@client.paginate("listItContacts", [org], query, model: Models::ItContact, **options)
|
|
1532
|
+
end
|
|
1533
|
+
|
|
1534
|
+
# PATCH /v1/organizations/{org}/it_contacts/{contact}
|
|
1535
|
+
def update_it_contact(org, contact, body, query: nil, **options)
|
|
1536
|
+
Models::ItContact.from_json(@client.request("updateItContact", [org, contact], query, body, **options))
|
|
1537
|
+
end
|
|
1538
|
+
end
|
|
1539
|
+
|
|
1540
|
+
class ItEmailConfiguration
|
|
1541
|
+
def initialize(client)
|
|
1542
|
+
@client = client
|
|
1543
|
+
end
|
|
1544
|
+
|
|
1545
|
+
# DELETE /v1/it_email_configuration
|
|
1546
|
+
def delete_it_email_configuration(query: nil, **options)
|
|
1547
|
+
Models::Deleted.from_json(@client.request("deleteITEmailConfiguration", [], query, nil, **options))
|
|
1548
|
+
end
|
|
1549
|
+
|
|
1550
|
+
# GET /v1/it_email_configuration
|
|
1551
|
+
def get_it_email_configuration(query: nil, **options)
|
|
1552
|
+
Models::ITEmailConfiguration.from_json(@client.request("getITEmailConfiguration", [], query, nil, **options))
|
|
1553
|
+
end
|
|
1554
|
+
|
|
1555
|
+
# PUT /v1/it_email_configuration
|
|
1556
|
+
def put_it_email_configuration(body, query: nil, **options)
|
|
1557
|
+
Models::ITEmailConfiguration.from_json(@client.request("putITEmailConfiguration", [], query, body, **options))
|
|
1558
|
+
end
|
|
1559
|
+
end
|
|
1560
|
+
|
|
1561
|
+
class LogStreams
|
|
1562
|
+
def initialize(client)
|
|
1563
|
+
@client = client
|
|
1564
|
+
end
|
|
1565
|
+
|
|
1566
|
+
# POST /v1/log_streams
|
|
1567
|
+
def create_log_stream(body, query: nil, **options)
|
|
1568
|
+
Models::LogStream.from_json(@client.request("createLogStream", [], query, body, **options))
|
|
1569
|
+
end
|
|
1570
|
+
|
|
1571
|
+
# DELETE /v1/log_streams/{stream}
|
|
1572
|
+
def delete_log_stream(stream, query: nil, **options)
|
|
1573
|
+
Models::Deleted.from_json(@client.request("deleteLogStream", [stream], query, nil, **options))
|
|
1574
|
+
end
|
|
1575
|
+
|
|
1576
|
+
# GET /v1/log_streams
|
|
1577
|
+
def list_log_streams(query: nil, **options)
|
|
1578
|
+
Models::LogStreamList.from_json(@client.request("listLogStreams", [], query, nil, **options))
|
|
1579
|
+
end
|
|
1580
|
+
end
|
|
1581
|
+
|
|
1582
|
+
class M2mClients
|
|
1583
|
+
def initialize(client)
|
|
1584
|
+
@client = client
|
|
1585
|
+
end
|
|
1586
|
+
|
|
1587
|
+
# POST /v1/m2m_clients
|
|
1588
|
+
def create_m2_m_client(body, query: nil, **options)
|
|
1589
|
+
Models::M2MClientWithSecret.from_json(@client.request("createM2MClient", [], query, body, **options))
|
|
1590
|
+
end
|
|
1591
|
+
|
|
1592
|
+
# GET /v1/m2m_clients/{client}
|
|
1593
|
+
def get_m2_m_client(client, query: nil, **options)
|
|
1594
|
+
Models::M2MClient.from_json(@client.request("getM2MClient", [client], query, nil, **options))
|
|
1595
|
+
end
|
|
1596
|
+
|
|
1597
|
+
# GET /v1/m2m_clients
|
|
1598
|
+
def list_m2_m_clients(query: nil, **options)
|
|
1599
|
+
Models::M2MClientList.from_json(@client.request("listM2MClients", [], query, nil, **options))
|
|
1600
|
+
end
|
|
1601
|
+
|
|
1602
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1603
|
+
def list_m2_m_clients_auto_paging(query: nil, **options)
|
|
1604
|
+
@client.paginate("listM2MClients", [], query, model: Models::M2MClient, **options)
|
|
1605
|
+
end
|
|
1606
|
+
|
|
1607
|
+
# DELETE /v1/m2m_clients/{client}
|
|
1608
|
+
def revoke_m2_m_client(client, query: nil, **options)
|
|
1609
|
+
@client.request("revokeM2MClient", [client], query, nil, **options)
|
|
1610
|
+
end
|
|
1611
|
+
|
|
1612
|
+
# POST /v1/m2m_clients/{client}/rotate_secret
|
|
1613
|
+
def rotate_m2_m_client_secret(client, body, query: nil, **options)
|
|
1614
|
+
Models::M2MClientWithSecret.from_json(@client.request("rotateM2MClientSecret", [client], query, body, **options))
|
|
1615
|
+
end
|
|
1616
|
+
|
|
1617
|
+
# PATCH /v1/m2m_clients/{client}
|
|
1618
|
+
def update_m2_m_client(client, body, query: nil, **options)
|
|
1619
|
+
Models::M2MClient.from_json(@client.request("updateM2MClient", [client], query, body, **options))
|
|
1620
|
+
end
|
|
1621
|
+
end
|
|
1622
|
+
|
|
1623
|
+
class Oauth
|
|
1624
|
+
def initialize(client)
|
|
1625
|
+
@client = client
|
|
1626
|
+
end
|
|
1627
|
+
|
|
1628
|
+
# POST /v1/oauth/clients
|
|
1629
|
+
def create_o_auth_client(body, query: nil, **options)
|
|
1630
|
+
Models::OAuthClientCreated.from_json(@client.request("createOAuthClient", [], query, body, **options))
|
|
1631
|
+
end
|
|
1632
|
+
|
|
1633
|
+
# POST /v1/oauth/resources
|
|
1634
|
+
def create_o_auth_resource(body, query: nil, **options)
|
|
1635
|
+
Models::OAuthResource.from_json(@client.request("createOAuthResource", [], query, body, **options))
|
|
1636
|
+
end
|
|
1637
|
+
|
|
1638
|
+
# DELETE /v1/oauth/clients/{client}
|
|
1639
|
+
def delete_o_auth_client(client, query: nil, **options)
|
|
1640
|
+
@client.request("deleteOAuthClient", [client], query, nil, **options)
|
|
1641
|
+
end
|
|
1642
|
+
|
|
1643
|
+
# DELETE /v1/oauth/resources/{resource}
|
|
1644
|
+
def delete_o_auth_resource(resource, query: nil, **options)
|
|
1645
|
+
@client.request("deleteOAuthResource", [resource], query, nil, **options)
|
|
1646
|
+
end
|
|
1647
|
+
|
|
1648
|
+
# DELETE /v1/oauth/scopes/{scope}
|
|
1649
|
+
def delete_o_auth_scope(scope, query: nil, **options)
|
|
1650
|
+
@client.request("deleteOAuthScope", [scope], query, nil, **options)
|
|
1651
|
+
end
|
|
1652
|
+
|
|
1653
|
+
# GET /v1/oauth/clients/{client}
|
|
1654
|
+
def get_o_auth_client(client, query: nil, **options)
|
|
1655
|
+
Models::OAuthClient.from_json(@client.request("getOAuthClient", [client], query, nil, **options))
|
|
1656
|
+
end
|
|
1657
|
+
|
|
1658
|
+
# GET /v1/oauth/resources/{resource}/protected_resource_metadata
|
|
1659
|
+
def get_o_auth_protected_resource_metadata(resource, query: nil, **options)
|
|
1660
|
+
Models::OAuthProtectedResourceMetadata.from_json(@client.request("getOAuthProtectedResourceMetadata", [resource], query, nil, **options))
|
|
1661
|
+
end
|
|
1662
|
+
|
|
1663
|
+
# GET /v1/oauth/resources/{resource}
|
|
1664
|
+
def get_o_auth_resource(resource, query: nil, **options)
|
|
1665
|
+
Models::OAuthResource.from_json(@client.request("getOAuthResource", [resource], query, nil, **options))
|
|
1666
|
+
end
|
|
1667
|
+
|
|
1668
|
+
# GET /v1/oauth/clients
|
|
1669
|
+
def list_o_auth_clients(query: nil, **options)
|
|
1670
|
+
Models::OAuthClientList.from_json(@client.request("listOAuthClients", [], query, nil, **options))
|
|
1671
|
+
end
|
|
1672
|
+
|
|
1673
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1674
|
+
def list_o_auth_clients_auto_paging(query: nil, **options)
|
|
1675
|
+
@client.paginate("listOAuthClients", [], query, model: Models::OAuthClient, **options)
|
|
1676
|
+
end
|
|
1677
|
+
|
|
1678
|
+
# GET /v1/oauth/grants
|
|
1679
|
+
def list_o_auth_grants(query: nil, **options)
|
|
1680
|
+
Models::OAuthGrantList.from_json(@client.request("listOAuthGrants", [], query, nil, **options))
|
|
1681
|
+
end
|
|
1682
|
+
|
|
1683
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1684
|
+
def list_o_auth_grants_auto_paging(query: nil, **options)
|
|
1685
|
+
@client.paginate("listOAuthGrants", [], query, model: Models::OAuthGrant, **options)
|
|
1686
|
+
end
|
|
1687
|
+
|
|
1688
|
+
# GET /v1/oauth/resources
|
|
1689
|
+
def list_o_auth_resources(query: nil, **options)
|
|
1690
|
+
Models::OAuthResourceList.from_json(@client.request("listOAuthResources", [], query, nil, **options))
|
|
1691
|
+
end
|
|
1692
|
+
|
|
1693
|
+
# GET /v1/oauth/scopes
|
|
1694
|
+
def list_o_auth_scopes(query: nil, **options)
|
|
1695
|
+
Models::OAuthScopeList.from_json(@client.request("listOAuthScopes", [], query, nil, **options))
|
|
1696
|
+
end
|
|
1697
|
+
|
|
1698
|
+
# PUT /v1/oauth/scopes/{scope}
|
|
1699
|
+
def put_o_auth_scope(scope, body, query: nil, **options)
|
|
1700
|
+
Models::OAuthScope.from_json(@client.request("putOAuthScope", [scope], query, body, **options))
|
|
1701
|
+
end
|
|
1702
|
+
|
|
1703
|
+
# DELETE /v1/oauth/grants/{grant}
|
|
1704
|
+
def revoke_o_auth_grant(grant, query: nil, **options)
|
|
1705
|
+
@client.request("revokeOAuthGrant", [grant], query, nil, **options)
|
|
1706
|
+
end
|
|
1707
|
+
|
|
1708
|
+
# POST /v1/oauth/clients/{client}/secret
|
|
1709
|
+
def rotate_o_auth_client_secret(client, query: nil, **options)
|
|
1710
|
+
Models::OAuthClientSecret.from_json(@client.request("rotateOAuthClientSecret", [client], query, nil, **options))
|
|
1711
|
+
end
|
|
1712
|
+
|
|
1713
|
+
# PUT /v1/oauth/clients/{client}
|
|
1714
|
+
def update_o_auth_client(client, body, query: nil, **options)
|
|
1715
|
+
Models::OAuthClient.from_json(@client.request("updateOAuthClient", [client], query, body, **options))
|
|
1716
|
+
end
|
|
1717
|
+
|
|
1718
|
+
# PUT /v1/oauth/resources/{resource}
|
|
1719
|
+
def update_o_auth_resource(resource, body, query: nil, **options)
|
|
1720
|
+
Models::OAuthResource.from_json(@client.request("updateOAuthResource", [resource], query, body, **options))
|
|
1721
|
+
end
|
|
1722
|
+
end
|
|
1723
|
+
|
|
1724
|
+
class OrganizationExports
|
|
1725
|
+
def initialize(client)
|
|
1726
|
+
@client = client
|
|
1727
|
+
end
|
|
1728
|
+
|
|
1729
|
+
# POST /v1/organization_exports
|
|
1730
|
+
def create_organization_export(body, query: nil, **options)
|
|
1731
|
+
Models::OrganizationExport.from_json(@client.request("createOrganizationExport", [], query, body, **options))
|
|
1732
|
+
end
|
|
1733
|
+
|
|
1734
|
+
# GET /v1/organization_exports/{export}
|
|
1735
|
+
def get_organization_export(export, query: nil, **options)
|
|
1736
|
+
Models::OrganizationExport.from_json(@client.request("getOrganizationExport", [export], query, nil, **options))
|
|
1737
|
+
end
|
|
1738
|
+
end
|
|
1739
|
+
|
|
1740
|
+
class Organizations
|
|
1741
|
+
def initialize(client)
|
|
1742
|
+
@client = client
|
|
1743
|
+
end
|
|
1744
|
+
|
|
1745
|
+
# POST /v1/organizations/{org}/memberships
|
|
1746
|
+
def create_membership(org, body, query: nil, **options)
|
|
1747
|
+
Models::Membership.from_json(@client.request("createMembership", [org], query, body, **options))
|
|
1748
|
+
end
|
|
1749
|
+
|
|
1750
|
+
# POST /v1/organizations
|
|
1751
|
+
def create_organization(body, query: nil, **options)
|
|
1752
|
+
Models::Organization.from_json(@client.request("createOrganization", [], query, body, **options))
|
|
1753
|
+
end
|
|
1754
|
+
|
|
1755
|
+
# POST /v1/organizations/{org}/api_keys
|
|
1756
|
+
def create_organization_api_key(org, body, query: nil, **options)
|
|
1757
|
+
Models::ApiKeySecret.from_json(@client.request("createOrganizationApiKey", [org], query, body, **options))
|
|
1758
|
+
end
|
|
1759
|
+
|
|
1760
|
+
# POST /v1/organizations/{org}/api_keys/{key}/secrets
|
|
1761
|
+
def create_organization_api_key_secret(org, key, query: nil, **options)
|
|
1762
|
+
Models::ApiKeyExtraSecretCreated.from_json(@client.request("createOrganizationApiKeySecret", [org, key], query, nil, **options))
|
|
1763
|
+
end
|
|
1764
|
+
|
|
1765
|
+
# POST /v1/organizations/{org}/memberships/{membership}/role_assignments
|
|
1766
|
+
def create_role_assignment(org, membership, body, query: nil, **options)
|
|
1767
|
+
Models::RoleAssignment.from_json(@client.request("createRoleAssignment", [org, membership], query, body, **options))
|
|
1768
|
+
end
|
|
1769
|
+
|
|
1770
|
+
# DELETE /v1/organizations/{org}/memberships/{membership}
|
|
1771
|
+
def delete_membership(org, membership, query: nil, **options)
|
|
1772
|
+
@client.request("deleteMembership", [org, membership], query, nil, **options)
|
|
1773
|
+
end
|
|
1774
|
+
|
|
1775
|
+
# DELETE /v1/organizations/{org}
|
|
1776
|
+
def delete_organization(org, query: nil, **options)
|
|
1777
|
+
Models::Deleted.from_json(@client.request("deleteOrganization", [org], query, nil, **options))
|
|
1778
|
+
end
|
|
1779
|
+
|
|
1780
|
+
# DELETE /v1/organizations/{org}/user_management_settings
|
|
1781
|
+
def delete_organization_user_management_settings(org, query: nil, **options)
|
|
1782
|
+
@client.request("deleteOrganizationUserManagementSettings", [org], query, nil, **options)
|
|
1783
|
+
end
|
|
1784
|
+
|
|
1785
|
+
# DELETE /v1/organizations/{org}/memberships/{membership}/role_assignments/{assignment}
|
|
1786
|
+
def delete_role_assignment(org, membership, assignment, query: nil, **options)
|
|
1787
|
+
@client.request("deleteRoleAssignment", [org, membership, assignment], query, nil, **options)
|
|
1788
|
+
end
|
|
1789
|
+
|
|
1790
|
+
# GET /v1/organizations/{org}
|
|
1791
|
+
def get_organization(org, query: nil, **options)
|
|
1792
|
+
Models::Organization.from_json(@client.request("getOrganization", [org], query, nil, **options))
|
|
1793
|
+
end
|
|
1794
|
+
|
|
1795
|
+
# GET /v1/organizations/{org}/allowed_intents
|
|
1796
|
+
def get_organization_allowed_intents(org, query: nil, **options)
|
|
1797
|
+
Models::OrganizationAllowedIntents.from_json(@client.request("getOrganizationAllowedIntents", [org], query, nil, **options))
|
|
1798
|
+
end
|
|
1799
|
+
|
|
1800
|
+
# GET /v1/organizations/{org}/api_keys/{key}
|
|
1801
|
+
def get_organization_api_key(org, key, query: nil, **options)
|
|
1802
|
+
Models::ApiKey.from_json(@client.request("getOrganizationApiKey", [org, key], query, nil, **options))
|
|
1803
|
+
end
|
|
1804
|
+
|
|
1805
|
+
# GET /v1/organizations/{org}/oauth_settings
|
|
1806
|
+
def get_organization_o_auth_settings(org, query: nil, **options)
|
|
1807
|
+
Models::OrganizationOAuthSettings.from_json(@client.request("getOrganizationOAuthSettings", [org], query, nil, **options))
|
|
1808
|
+
end
|
|
1809
|
+
|
|
1810
|
+
# GET /v1/organizations/{org}/profile
|
|
1811
|
+
def get_organization_profile(org, query: nil, **options)
|
|
1812
|
+
Models::OrganizationProfile.from_json(@client.request("getOrganizationProfile", [org], query, nil, **options))
|
|
1813
|
+
end
|
|
1814
|
+
|
|
1815
|
+
# GET /v1/organizations/{org}/status
|
|
1816
|
+
def get_organization_status(org, query: nil, **options)
|
|
1817
|
+
Models::OrganizationSetupStatus.from_json(@client.request("getOrganizationStatus", [org], query, nil, **options))
|
|
1818
|
+
end
|
|
1819
|
+
|
|
1820
|
+
# GET /v1/organizations/{org}/user_management_settings
|
|
1821
|
+
def get_organization_user_management_settings(org, query: nil, **options)
|
|
1822
|
+
Models::OrganizationUserManagementSettings.from_json(@client.request("getOrganizationUserManagementSettings", [org], query, nil, **options))
|
|
1823
|
+
end
|
|
1824
|
+
|
|
1825
|
+
# GET /v1/organizations/{org}/memberships/{membership}/permissions
|
|
1826
|
+
def list_membership_permissions(org, membership, query: nil, **options)
|
|
1827
|
+
Models::MembershipPermissions.from_json(@client.request("listMembershipPermissions", [org, membership], query, nil, **options))
|
|
1828
|
+
end
|
|
1829
|
+
|
|
1830
|
+
# GET /v1/organizations/{org}/memberships
|
|
1831
|
+
def list_memberships(org, query: nil, **options)
|
|
1832
|
+
Models::MembershipList.from_json(@client.request("listMemberships", [org], query, nil, **options))
|
|
1833
|
+
end
|
|
1834
|
+
|
|
1835
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1836
|
+
def list_memberships_auto_paging(org, query: nil, **options)
|
|
1837
|
+
@client.paginate("listMemberships", [org], query, model: Models::Membership, **options)
|
|
1838
|
+
end
|
|
1839
|
+
|
|
1840
|
+
# GET /v1/organizations/{org}/api_keys/{key}/secrets
|
|
1841
|
+
def list_organization_api_key_secrets(org, key, query: nil, **options)
|
|
1842
|
+
Models::ApiKeySecretList.from_json(@client.request("listOrganizationApiKeySecrets", [org, key], query, nil, **options))
|
|
1843
|
+
end
|
|
1844
|
+
|
|
1845
|
+
# GET /v1/organizations/{org}/api_keys
|
|
1846
|
+
def list_organization_api_keys(org, query: nil, **options)
|
|
1847
|
+
Models::ApiKeyList.from_json(@client.request("listOrganizationApiKeys", [org], query, nil, **options))
|
|
1848
|
+
end
|
|
1849
|
+
|
|
1850
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1851
|
+
def list_organization_api_keys_auto_paging(org, query: nil, **options)
|
|
1852
|
+
@client.paginate("listOrganizationApiKeys", [org], query, model: Models::ApiKey, **options)
|
|
1853
|
+
end
|
|
1854
|
+
|
|
1855
|
+
# GET /v1/organizations/{org}/events
|
|
1856
|
+
def list_organization_events(org, query: nil, **options)
|
|
1857
|
+
Models::EventList.from_json(@client.request("listOrganizationEvents", [org], query, nil, **options))
|
|
1858
|
+
end
|
|
1859
|
+
|
|
1860
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1861
|
+
def list_organization_events_auto_paging(org, query: nil, **options)
|
|
1862
|
+
@client.paginate("listOrganizationEvents", [org], query, model: Models::Event, **options)
|
|
1863
|
+
end
|
|
1864
|
+
|
|
1865
|
+
# GET /v1/organizations
|
|
1866
|
+
def list_organizations(query: nil, **options)
|
|
1867
|
+
Models::OrganizationList.from_json(@client.request("listOrganizations", [], query, nil, **options))
|
|
1868
|
+
end
|
|
1869
|
+
|
|
1870
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1871
|
+
def list_organizations_auto_paging(query: nil, **options)
|
|
1872
|
+
@client.paginate("listOrganizations", [], query, model: Models::Organization, **options)
|
|
1873
|
+
end
|
|
1874
|
+
|
|
1875
|
+
# GET /v1/organizations/{org}/memberships/{membership}/role_assignments
|
|
1876
|
+
def list_role_assignments(org, membership, query: nil, **options)
|
|
1877
|
+
Models::RoleAssignmentList.from_json(@client.request("listRoleAssignments", [org, membership], query, nil, **options))
|
|
1878
|
+
end
|
|
1879
|
+
|
|
1880
|
+
# POST /v1/organizations/{org}/api_keys/{key}/revoke
|
|
1881
|
+
def revoke_organization_api_key(org, key, query: nil, **options)
|
|
1882
|
+
Models::ApiKey.from_json(@client.request("revokeOrganizationApiKey", [org, key], query, nil, **options))
|
|
1883
|
+
end
|
|
1884
|
+
|
|
1885
|
+
# POST /v1/organizations/{org}/api_keys/{key}/secrets/{secret}/revoke
|
|
1886
|
+
def revoke_organization_api_key_secret(org, key, secret, query: nil, **options)
|
|
1887
|
+
Models::ApiKeyExtraSecret.from_json(@client.request("revokeOrganizationApiKeySecret", [org, key, secret], query, nil, **options))
|
|
1888
|
+
end
|
|
1889
|
+
|
|
1890
|
+
# POST /v1/organizations/{org}/oauth_grants/revoke
|
|
1891
|
+
def revoke_organization_o_auth_grants(org, body, query: nil, **options)
|
|
1892
|
+
Models::OAuthOrganizationRevokeResult.from_json(@client.request("revokeOrganizationOAuthGrants", [org], query, body, **options))
|
|
1893
|
+
end
|
|
1894
|
+
|
|
1895
|
+
# POST /v1/organizations/{org}/api_keys/{key}/roll
|
|
1896
|
+
def roll_organization_api_key(org, key, query: nil, **options)
|
|
1897
|
+
Models::ApiKeySecret.from_json(@client.request("rollOrganizationApiKey", [org, key], query, nil, **options))
|
|
1898
|
+
end
|
|
1899
|
+
|
|
1900
|
+
# PUT /v1/organizations/{org}/allowed_intents
|
|
1901
|
+
def set_organization_allowed_intents(org, body, query: nil, **options)
|
|
1902
|
+
Models::OrganizationAllowedIntents.from_json(@client.request("setOrganizationAllowedIntents", [org], query, body, **options))
|
|
1903
|
+
end
|
|
1904
|
+
|
|
1905
|
+
# PATCH /v1/organizations/{org}/memberships/{membership}
|
|
1906
|
+
def update_membership(org, membership, body, query: nil, **options)
|
|
1907
|
+
Models::Membership.from_json(@client.request("updateMembership", [org, membership], query, body, **options))
|
|
1908
|
+
end
|
|
1909
|
+
|
|
1910
|
+
# PATCH /v1/organizations/{org}
|
|
1911
|
+
def update_organization(org, body, query: nil, **options)
|
|
1912
|
+
Models::Organization.from_json(@client.request("updateOrganization", [org], query, body, **options))
|
|
1913
|
+
end
|
|
1914
|
+
|
|
1915
|
+
# PUT /v1/organizations/{org}/oauth_settings
|
|
1916
|
+
def update_organization_o_auth_settings(org, body, query: nil, **options)
|
|
1917
|
+
Models::OrganizationOAuthSettings.from_json(@client.request("updateOrganizationOAuthSettings", [org], query, body, **options))
|
|
1918
|
+
end
|
|
1919
|
+
|
|
1920
|
+
# PATCH /v1/organizations/{org}/profile
|
|
1921
|
+
def update_organization_profile(org, body, query: nil, **options)
|
|
1922
|
+
Models::OrganizationProfile.from_json(@client.request("updateOrganizationProfile", [org], query, body, **options))
|
|
1923
|
+
end
|
|
1924
|
+
|
|
1925
|
+
# PUT /v1/organizations/{org}/user_management_settings
|
|
1926
|
+
def update_organization_user_management_settings(org, body, query: nil, **options)
|
|
1927
|
+
Models::OrganizationUserManagementSettings.from_json(@client.request("updateOrganizationUserManagementSettings", [org], query, body, **options))
|
|
1928
|
+
end
|
|
1929
|
+
end
|
|
1930
|
+
|
|
1931
|
+
class Passport
|
|
1932
|
+
def initialize(client)
|
|
1933
|
+
@client = client
|
|
1934
|
+
end
|
|
1935
|
+
|
|
1936
|
+
# GET /v1/passport/links
|
|
1937
|
+
def list_passport_links(query: nil, **options)
|
|
1938
|
+
Models::PassportLinkList.from_json(@client.request("listPassportLinks", [], query, nil, **options))
|
|
1939
|
+
end
|
|
1940
|
+
|
|
1941
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1942
|
+
def list_passport_links_auto_paging(query: nil, **options)
|
|
1943
|
+
@client.paginate("listPassportLinks", [], query, model: Models::PassportLink, **options)
|
|
1944
|
+
end
|
|
1945
|
+
|
|
1946
|
+
# DELETE /v1/passport/links/{link}
|
|
1947
|
+
def revoke_passport_link(link, query: nil, **options)
|
|
1948
|
+
Models::PassportLink.from_json(@client.request("revokePassportLink", [link], query, nil, **options))
|
|
1949
|
+
end
|
|
1950
|
+
end
|
|
1951
|
+
|
|
1952
|
+
class Pipes
|
|
1953
|
+
def initialize(client)
|
|
1954
|
+
@client = client
|
|
1955
|
+
end
|
|
1956
|
+
|
|
1957
|
+
# POST /v1/pipes/connections
|
|
1958
|
+
def create_pipe_connection(body, query: nil, **options)
|
|
1959
|
+
Models::PipeConnectSession.from_json(@client.request("createPipeConnection", [], query, body, **options))
|
|
1960
|
+
end
|
|
1961
|
+
|
|
1962
|
+
# DELETE /v1/pipes/providers/{provider}
|
|
1963
|
+
def delete_pipe_provider(provider, query: nil, **options)
|
|
1964
|
+
Models::Deleted.from_json(@client.request("deletePipeProvider", [provider], query, nil, **options))
|
|
1965
|
+
end
|
|
1966
|
+
|
|
1967
|
+
# DELETE /v1/pipes/connections/{connection}
|
|
1968
|
+
def disconnect_pipe_connection(connection, query: nil, **options)
|
|
1969
|
+
Models::PipeConnection.from_json(@client.request("disconnectPipeConnection", [connection], query, nil, **options))
|
|
1970
|
+
end
|
|
1971
|
+
|
|
1972
|
+
# GET /v1/pipes/connections/{connection}/access_token
|
|
1973
|
+
def get_pipe_access_token(connection, query: nil, **options)
|
|
1974
|
+
Models::PipeAccessToken.from_json(@client.request("getPipeAccessToken", [connection], query, nil, **options))
|
|
1975
|
+
end
|
|
1976
|
+
|
|
1977
|
+
# GET /v1/pipes/connections/{connection}
|
|
1978
|
+
def get_pipe_connection(connection, query: nil, **options)
|
|
1979
|
+
Models::PipeConnection.from_json(@client.request("getPipeConnection", [connection], query, nil, **options))
|
|
1980
|
+
end
|
|
1981
|
+
|
|
1982
|
+
# GET /v1/pipes/connections
|
|
1983
|
+
def list_pipe_connections(query: nil, **options)
|
|
1984
|
+
Models::PipeConnectionList.from_json(@client.request("listPipeConnections", [], query, nil, **options))
|
|
1985
|
+
end
|
|
1986
|
+
|
|
1987
|
+
# Enumerates every item across pages, following next_cursor.
|
|
1988
|
+
def list_pipe_connections_auto_paging(query: nil, **options)
|
|
1989
|
+
@client.paginate("listPipeConnections", [], query, model: Models::PipeConnection, **options)
|
|
1990
|
+
end
|
|
1991
|
+
|
|
1992
|
+
# GET /v1/pipes/providers
|
|
1993
|
+
def list_pipe_providers(query: nil, **options)
|
|
1994
|
+
Models::PipeProviderList.from_json(@client.request("listPipeProviders", [], query, nil, **options))
|
|
1995
|
+
end
|
|
1996
|
+
|
|
1997
|
+
# PUT /v1/pipes/providers/{provider}
|
|
1998
|
+
def put_pipe_provider(provider, body, query: nil, **options)
|
|
1999
|
+
Models::PipeProvider.from_json(@client.request("putPipeProvider", [provider], query, body, **options))
|
|
2000
|
+
end
|
|
2001
|
+
end
|
|
2002
|
+
|
|
2003
|
+
class Policies
|
|
2004
|
+
def initialize(client)
|
|
2005
|
+
@client = client
|
|
2006
|
+
end
|
|
2007
|
+
|
|
2008
|
+
# POST /v1/policies
|
|
2009
|
+
def create_policy(body, query: nil, **options)
|
|
2010
|
+
Models::Policy.from_json(@client.request("createPolicy", [], query, body, **options))
|
|
2011
|
+
end
|
|
2012
|
+
|
|
2013
|
+
# DELETE /v1/policies/{policy}
|
|
2014
|
+
def delete_policy(policy, query: nil, **options)
|
|
2015
|
+
@client.request("deletePolicy", [policy], query, nil, **options)
|
|
2016
|
+
end
|
|
2017
|
+
|
|
2018
|
+
# GET /v1/policies/{policy}
|
|
2019
|
+
def get_policy(policy, query: nil, **options)
|
|
2020
|
+
Models::Policy.from_json(@client.request("getPolicy", [policy], query, nil, **options))
|
|
2021
|
+
end
|
|
2022
|
+
|
|
2023
|
+
# GET /v1/policies
|
|
2024
|
+
def list_policies(query: nil, **options)
|
|
2025
|
+
Models::PolicyList.from_json(@client.request("listPolicies", [], query, nil, **options))
|
|
2026
|
+
end
|
|
2027
|
+
|
|
2028
|
+
# PATCH /v1/policies/{policy}
|
|
2029
|
+
def update_policy(policy, body, query: nil, **options)
|
|
2030
|
+
Models::Policy.from_json(@client.request("updatePolicy", [policy], query, body, **options))
|
|
2031
|
+
end
|
|
2032
|
+
end
|
|
2033
|
+
|
|
2034
|
+
class Portal
|
|
2035
|
+
def initialize(client)
|
|
2036
|
+
@client = client
|
|
2037
|
+
end
|
|
2038
|
+
|
|
2039
|
+
# POST /v1/portal/invites
|
|
2040
|
+
def create_portal_invite(body, query: nil, **options)
|
|
2041
|
+
Models::PortalInvite.from_json(@client.request("createPortalInvite", [], query, body, **options))
|
|
2042
|
+
end
|
|
2043
|
+
|
|
2044
|
+
# POST /v1/portal/links
|
|
2045
|
+
def create_portal_link(body, query: nil, **options)
|
|
2046
|
+
Models::PortalLink.from_json(@client.request("createPortalLink", [], query, body, **options))
|
|
2047
|
+
end
|
|
2048
|
+
|
|
2049
|
+
# GET /v1/portal/invites
|
|
2050
|
+
def list_portal_invites(query: nil, **options)
|
|
2051
|
+
Models::PortalInviteList.from_json(@client.request("listPortalInvites", [], query, nil, **options))
|
|
2052
|
+
end
|
|
2053
|
+
|
|
2054
|
+
# Enumerates every item across pages, following next_cursor.
|
|
2055
|
+
def list_portal_invites_auto_paging(query: nil, **options)
|
|
2056
|
+
@client.paginate("listPortalInvites", [], query, model: Models::PortalInvite, **options)
|
|
2057
|
+
end
|
|
2058
|
+
|
|
2059
|
+
# GET /v1/portal/links
|
|
2060
|
+
def list_portal_links(query: nil, **options)
|
|
2061
|
+
Models::PortalLinkInfoList.from_json(@client.request("listPortalLinks", [], query, nil, **options))
|
|
2062
|
+
end
|
|
2063
|
+
|
|
2064
|
+
# Enumerates every item across pages, following next_cursor.
|
|
2065
|
+
def list_portal_links_auto_paging(query: nil, **options)
|
|
2066
|
+
@client.paginate("listPortalLinks", [], query, model: Models::PortalLinkInfo, **options)
|
|
2067
|
+
end
|
|
2068
|
+
|
|
2069
|
+
# POST /v1/portal/invites/{invite}/resend
|
|
2070
|
+
def resend_portal_invite(invite, query: nil, **options)
|
|
2071
|
+
Models::PortalInvite.from_json(@client.request("resendPortalInvite", [invite], query, nil, **options))
|
|
2072
|
+
end
|
|
2073
|
+
|
|
2074
|
+
# POST /v1/portal/invites/{invite}/revoke
|
|
2075
|
+
def revoke_portal_invite(invite, query: nil, **options)
|
|
2076
|
+
Models::PortalInvite.from_json(@client.request("revokePortalInvite", [invite], query, nil, **options))
|
|
2077
|
+
end
|
|
2078
|
+
|
|
2079
|
+
# POST /v1/portal/links/{link}/revoke
|
|
2080
|
+
def revoke_portal_link(link, query: nil, **options)
|
|
2081
|
+
Models::PortalLinkInfo.from_json(@client.request("revokePortalLink", [link], query, nil, **options))
|
|
2082
|
+
end
|
|
2083
|
+
end
|
|
2084
|
+
|
|
2085
|
+
class PortalProfiles
|
|
2086
|
+
def initialize(client)
|
|
2087
|
+
@client = client
|
|
2088
|
+
end
|
|
2089
|
+
|
|
2090
|
+
# POST /v1/portal_profiles
|
|
2091
|
+
def create_portal_profile(body, query: nil, **options)
|
|
2092
|
+
Models::PortalProfile.from_json(@client.request("createPortalProfile", [], query, body, **options))
|
|
2093
|
+
end
|
|
2094
|
+
|
|
2095
|
+
# DELETE /v1/portal_profiles/{profile}
|
|
2096
|
+
def delete_portal_profile(profile, query: nil, **options)
|
|
2097
|
+
Models::Deleted.from_json(@client.request("deletePortalProfile", [profile], query, nil, **options))
|
|
2098
|
+
end
|
|
2099
|
+
|
|
2100
|
+
# GET /v1/portal_profiles/{profile}
|
|
2101
|
+
def get_portal_profile(profile, query: nil, **options)
|
|
2102
|
+
Models::PortalProfile.from_json(@client.request("getPortalProfile", [profile], query, nil, **options))
|
|
2103
|
+
end
|
|
2104
|
+
|
|
2105
|
+
# GET /v1/portal_profiles
|
|
2106
|
+
def list_portal_profiles(query: nil, **options)
|
|
2107
|
+
Models::PortalProfileList.from_json(@client.request("listPortalProfiles", [], query, nil, **options))
|
|
2108
|
+
end
|
|
2109
|
+
|
|
2110
|
+
# PUT /v1/portal_profiles/{profile}
|
|
2111
|
+
def replace_portal_profile(profile, body, query: nil, **options)
|
|
2112
|
+
Models::PortalProfile.from_json(@client.request("replacePortalProfile", [profile], query, body, **options))
|
|
2113
|
+
end
|
|
2114
|
+
end
|
|
2115
|
+
|
|
2116
|
+
class Providers
|
|
2117
|
+
def initialize(client)
|
|
2118
|
+
@client = client
|
|
2119
|
+
end
|
|
2120
|
+
|
|
2121
|
+
# GET /v1/providers
|
|
2122
|
+
def get_provider_catalogue(query: nil, **options)
|
|
2123
|
+
Models::ProviderCatalogue.from_json(@client.request("getProviderCatalogue", [], query, nil, **options))
|
|
2124
|
+
end
|
|
2125
|
+
end
|
|
2126
|
+
|
|
2127
|
+
class RedirectUris
|
|
2128
|
+
def initialize(client)
|
|
2129
|
+
@client = client
|
|
2130
|
+
end
|
|
2131
|
+
|
|
2132
|
+
# POST /v1/redirect_uris
|
|
2133
|
+
def create_redirect_uri(body, query: nil, **options)
|
|
2134
|
+
Models::RedirectUri.from_json(@client.request("createRedirectUri", [], query, body, **options))
|
|
2135
|
+
end
|
|
2136
|
+
|
|
2137
|
+
# DELETE /v1/redirect_uris/{uri}
|
|
2138
|
+
def delete_redirect_uri(uri, query: nil, **options)
|
|
2139
|
+
Models::Deleted.from_json(@client.request("deleteRedirectUri", [uri], query, nil, **options))
|
|
2140
|
+
end
|
|
2141
|
+
|
|
2142
|
+
# GET /v1/redirect_uris
|
|
2143
|
+
def list_redirect_uris(query: nil, **options)
|
|
2144
|
+
Models::RedirectUriList.from_json(@client.request("listRedirectUris", [], query, nil, **options))
|
|
2145
|
+
end
|
|
2146
|
+
|
|
2147
|
+
# Enumerates every item across pages, following next_cursor.
|
|
2148
|
+
def list_redirect_uris_auto_paging(query: nil, **options)
|
|
2149
|
+
@client.paginate("listRedirectUris", [], query, model: Models::RedirectUri, **options)
|
|
2150
|
+
end
|
|
2151
|
+
end
|
|
2152
|
+
|
|
2153
|
+
class Requests
|
|
2154
|
+
def initialize(client)
|
|
2155
|
+
@client = client
|
|
2156
|
+
end
|
|
2157
|
+
|
|
2158
|
+
# GET /v1/requests
|
|
2159
|
+
def list_requests(query: nil, **options)
|
|
2160
|
+
Models::RequestLogList.from_json(@client.request("listRequests", [], query, nil, **options))
|
|
2161
|
+
end
|
|
2162
|
+
|
|
2163
|
+
# Enumerates every item across pages, following next_cursor.
|
|
2164
|
+
def list_requests_auto_paging(query: nil, **options)
|
|
2165
|
+
@client.paginate("listRequests", [], query, model: Models::RequestLog, **options)
|
|
2166
|
+
end
|
|
2167
|
+
end
|
|
2168
|
+
|
|
2169
|
+
class RoleRules
|
|
2170
|
+
def initialize(client)
|
|
2171
|
+
@client = client
|
|
2172
|
+
end
|
|
2173
|
+
|
|
2174
|
+
# POST /v1/role_rules
|
|
2175
|
+
def create_role_rule(body, query: nil, **options)
|
|
2176
|
+
Models::RoleRule.from_json(@client.request("createRoleRule", [], query, body, **options))
|
|
2177
|
+
end
|
|
2178
|
+
|
|
2179
|
+
# DELETE /v1/role_rules/{role_rule}
|
|
2180
|
+
def delete_role_rule(role_rule, query: nil, **options)
|
|
2181
|
+
@client.request("deleteRoleRule", [role_rule], query, nil, **options)
|
|
2182
|
+
end
|
|
2183
|
+
|
|
2184
|
+
# GET /v1/role_rules/{role_rule}
|
|
2185
|
+
def get_role_rule(role_rule, query: nil, **options)
|
|
2186
|
+
Models::RoleRule.from_json(@client.request("getRoleRule", [role_rule], query, nil, **options))
|
|
2187
|
+
end
|
|
2188
|
+
|
|
2189
|
+
# GET /v1/role_rules
|
|
2190
|
+
def list_role_rules(query: nil, **options)
|
|
2191
|
+
Models::RoleRuleList.from_json(@client.request("listRoleRules", [], query, nil, **options))
|
|
2192
|
+
end
|
|
2193
|
+
|
|
2194
|
+
# POST /v1/role_rules/preview
|
|
2195
|
+
def preview_role_rules(body, query: nil, **options)
|
|
2196
|
+
Models::RoleRulePreview.from_json(@client.request("previewRoleRules", [], query, body, **options))
|
|
2197
|
+
end
|
|
2198
|
+
|
|
2199
|
+
# PATCH /v1/role_rules/{role_rule}
|
|
2200
|
+
def update_role_rule(role_rule, body, query: nil, **options)
|
|
2201
|
+
Models::RoleRule.from_json(@client.request("updateRoleRule", [role_rule], query, body, **options))
|
|
2202
|
+
end
|
|
2203
|
+
end
|
|
2204
|
+
|
|
2205
|
+
class Sessions
|
|
2206
|
+
def initialize(client)
|
|
2207
|
+
@client = client
|
|
2208
|
+
end
|
|
2209
|
+
|
|
2210
|
+
# POST /v1/sessions/migrate
|
|
2211
|
+
def migrate_session(body, query: nil, **options)
|
|
2212
|
+
Models::SessionMigrateResult.from_json(@client.request("migrateSession", [], query, body, **options))
|
|
2213
|
+
end
|
|
2214
|
+
end
|
|
2215
|
+
|
|
2216
|
+
class SignInHooks
|
|
2217
|
+
def initialize(client)
|
|
2218
|
+
@client = client
|
|
2219
|
+
end
|
|
2220
|
+
|
|
2221
|
+
# POST /v1/sign_in_hooks
|
|
2222
|
+
def create_sign_in_hook(body, query: nil, **options)
|
|
2223
|
+
Models::SignInHookWithSecret.from_json(@client.request("createSignInHook", [], query, body, **options))
|
|
2224
|
+
end
|
|
2225
|
+
|
|
2226
|
+
# DELETE /v1/sign_in_hooks/{hook}
|
|
2227
|
+
def delete_sign_in_hook(hook, query: nil, **options)
|
|
2228
|
+
@client.request("deleteSignInHook", [hook], query, nil, **options)
|
|
2229
|
+
end
|
|
2230
|
+
|
|
2231
|
+
# GET /v1/sign_in_hooks/{hook}
|
|
2232
|
+
def get_sign_in_hook(hook, query: nil, **options)
|
|
2233
|
+
Models::SignInHook.from_json(@client.request("getSignInHook", [hook], query, nil, **options))
|
|
2234
|
+
end
|
|
2235
|
+
|
|
2236
|
+
# GET /v1/sign_in_hooks/{hook}/deliveries
|
|
2237
|
+
def list_sign_in_hook_deliveries(hook, query: nil, **options)
|
|
2238
|
+
Models::SignInHookDeliveryList.from_json(@client.request("listSignInHookDeliveries", [hook], query, nil, **options))
|
|
2239
|
+
end
|
|
2240
|
+
|
|
2241
|
+
# Enumerates every item across pages, following next_cursor.
|
|
2242
|
+
def list_sign_in_hook_deliveries_auto_paging(hook, query: nil, **options)
|
|
2243
|
+
@client.paginate("listSignInHookDeliveries", [hook], query, model: Models::SignInHookDelivery, **options)
|
|
2244
|
+
end
|
|
2245
|
+
|
|
2246
|
+
# GET /v1/sign_in_hooks
|
|
2247
|
+
def list_sign_in_hooks(query: nil, **options)
|
|
2248
|
+
Models::SignInHookList.from_json(@client.request("listSignInHooks", [], query, nil, **options))
|
|
2249
|
+
end
|
|
2250
|
+
|
|
2251
|
+
# POST /v1/sign_in_hooks/{hook}/rotate_secret
|
|
2252
|
+
def rotate_sign_in_hook_secret(hook, query: nil, **options)
|
|
2253
|
+
Models::SignInHookWithSecret.from_json(@client.request("rotateSignInHookSecret", [hook], query, nil, **options))
|
|
2254
|
+
end
|
|
2255
|
+
|
|
2256
|
+
# POST /v1/sign_in_hooks/{hook}/test
|
|
2257
|
+
def test_sign_in_hook(hook, query: nil, **options)
|
|
2258
|
+
Models::SignInHookTestResult.from_json(@client.request("testSignInHook", [hook], query, nil, **options))
|
|
2259
|
+
end
|
|
2260
|
+
|
|
2261
|
+
# PATCH /v1/sign_in_hooks/{hook}
|
|
2262
|
+
def update_sign_in_hook(hook, body, query: nil, **options)
|
|
2263
|
+
Models::SignInHook.from_json(@client.request("updateSignInHook", [hook], query, body, **options))
|
|
2264
|
+
end
|
|
2265
|
+
end
|
|
2266
|
+
|
|
2267
|
+
class SignInRiskPolicy
|
|
2268
|
+
def initialize(client)
|
|
2269
|
+
@client = client
|
|
2270
|
+
end
|
|
2271
|
+
|
|
2272
|
+
# DELETE /v1/sign_in_risk_policy
|
|
2273
|
+
def delete_sign_in_risk_policy(query: nil, **options)
|
|
2274
|
+
@client.request("deleteSignInRiskPolicy", [], query, nil, **options)
|
|
2275
|
+
end
|
|
2276
|
+
|
|
2277
|
+
# GET /v1/sign_in_risk_policy
|
|
2278
|
+
def get_sign_in_risk_policy(query: nil, **options)
|
|
2279
|
+
Models::SignInRiskPolicy.from_json(@client.request("getSignInRiskPolicy", [], query, nil, **options))
|
|
2280
|
+
end
|
|
2281
|
+
|
|
2282
|
+
# PUT /v1/sign_in_risk_policy
|
|
2283
|
+
def put_sign_in_risk_policy(body, query: nil, **options)
|
|
2284
|
+
Models::SignInRiskPolicy.from_json(@client.request("putSignInRiskPolicy", [], query, body, **options))
|
|
2285
|
+
end
|
|
2286
|
+
end
|
|
2287
|
+
|
|
2288
|
+
class SignIns
|
|
2289
|
+
def initialize(client)
|
|
2290
|
+
@client = client
|
|
2291
|
+
end
|
|
2292
|
+
|
|
2293
|
+
# GET /v1/sign_ins/{sign_in}/explanation
|
|
2294
|
+
def get_sign_in_explanation(sign_in, query: nil, **options)
|
|
2295
|
+
Models::SignInExplanation.from_json(@client.request("getSignInExplanation", [sign_in], query, nil, **options))
|
|
2296
|
+
end
|
|
2297
|
+
|
|
2298
|
+
# GET /v1/sign_ins/{sign_in}/timeline
|
|
2299
|
+
def get_sign_in_timeline(sign_in, query: nil, **options)
|
|
2300
|
+
Models::SignInTimeline.from_json(@client.request("getSignInTimeline", [sign_in], query, nil, **options))
|
|
2301
|
+
end
|
|
2302
|
+
|
|
2303
|
+
# GET /v1/sign_ins
|
|
2304
|
+
def list_sign_ins(query: nil, **options)
|
|
2305
|
+
Models::SignInList.from_json(@client.request("listSignIns", [], query, nil, **options))
|
|
2306
|
+
end
|
|
2307
|
+
|
|
2308
|
+
# Enumerates every item across pages, following next_cursor.
|
|
2309
|
+
def list_sign_ins_auto_paging(query: nil, **options)
|
|
2310
|
+
@client.paginate("listSignIns", [], query, model: Models::SignIn, **options)
|
|
2311
|
+
end
|
|
2312
|
+
end
|
|
2313
|
+
|
|
2314
|
+
class SsfStreams
|
|
2315
|
+
def initialize(client)
|
|
2316
|
+
@client = client
|
|
2317
|
+
end
|
|
2318
|
+
|
|
2319
|
+
# POST /v1/ssf_streams
|
|
2320
|
+
def create_ssf_stream(body, query: nil, **options)
|
|
2321
|
+
Models::SsfStream.from_json(@client.request("createSsfStream", [], query, body, **options))
|
|
2322
|
+
end
|
|
2323
|
+
|
|
2324
|
+
# DELETE /v1/ssf_streams/{stream}
|
|
2325
|
+
def delete_ssf_stream(stream, query: nil, **options)
|
|
2326
|
+
@client.request("deleteSsfStream", [stream], query, nil, **options)
|
|
2327
|
+
end
|
|
2328
|
+
|
|
2329
|
+
# GET /v1/ssf_streams/{stream}
|
|
2330
|
+
def get_ssf_stream(stream, query: nil, **options)
|
|
2331
|
+
Models::SsfStream.from_json(@client.request("getSsfStream", [stream], query, nil, **options))
|
|
2332
|
+
end
|
|
2333
|
+
|
|
2334
|
+
# GET /v1/ssf_streams
|
|
2335
|
+
def list_ssf_streams(query: nil, **options)
|
|
2336
|
+
Models::SsfStreamList.from_json(@client.request("listSsfStreams", [], query, nil, **options))
|
|
2337
|
+
end
|
|
2338
|
+
|
|
2339
|
+
# PATCH /v1/ssf_streams/{stream}
|
|
2340
|
+
def update_ssf_stream(stream, body, query: nil, **options)
|
|
2341
|
+
Models::SsfStream.from_json(@client.request("updateSsfStream", [stream], query, body, **options))
|
|
2342
|
+
end
|
|
2343
|
+
|
|
2344
|
+
# POST /v1/ssf_streams/{stream}/verify
|
|
2345
|
+
def verify_ssf_stream(stream, body, query: nil, **options)
|
|
2346
|
+
@client.request("verifySsfStream", [stream], query, body, **options)
|
|
2347
|
+
end
|
|
2348
|
+
end
|
|
2349
|
+
|
|
2350
|
+
class Sso
|
|
2351
|
+
def initialize(client)
|
|
2352
|
+
@client = client
|
|
2353
|
+
end
|
|
2354
|
+
|
|
2355
|
+
# POST /v1/sso/token
|
|
2356
|
+
def exchange_sso_code(body, query: nil, **options)
|
|
2357
|
+
Models::SsoToken.from_json(@client.request("exchangeSsoCode", [], query, body, **options))
|
|
2358
|
+
end
|
|
2359
|
+
|
|
2360
|
+
# POST /v1/sso/token_exchange
|
|
2361
|
+
def exchange_trusted_token(body, query: nil, **options)
|
|
2362
|
+
Models::TrustedTokenProfile.from_json(@client.request("exchangeTrustedToken", [], query, body, **options))
|
|
2363
|
+
end
|
|
2364
|
+
|
|
2365
|
+
# POST /v1/sso/forwarded
|
|
2366
|
+
def forward_sso_response(body, query: nil, **options)
|
|
2367
|
+
Models::SsoToken.from_json(@client.request("forwardSsoResponse", [], query, body, **options))
|
|
2368
|
+
end
|
|
2369
|
+
|
|
2370
|
+
# GET /v1/sso/profile
|
|
2371
|
+
def get_sso_profile(query: nil, **options)
|
|
2372
|
+
Models::Profile.from_json(@client.request("getSsoProfile", [], query, nil, **options))
|
|
2373
|
+
end
|
|
2374
|
+
|
|
2375
|
+
# POST /v1/sso/logout
|
|
2376
|
+
def start_sso_logout(body, query: nil, **options)
|
|
2377
|
+
Models::SsoLogout.from_json(@client.request("startSsoLogout", [], query, body, **options))
|
|
2378
|
+
end
|
|
2379
|
+
end
|
|
2380
|
+
|
|
2381
|
+
class TrustedIssuers
|
|
2382
|
+
def initialize(client)
|
|
2383
|
+
@client = client
|
|
2384
|
+
end
|
|
2385
|
+
|
|
2386
|
+
# POST /v1/trusted_issuers
|
|
2387
|
+
def create_trusted_issuer(body, query: nil, **options)
|
|
2388
|
+
Models::TrustedIssuer.from_json(@client.request("createTrustedIssuer", [], query, body, **options))
|
|
2389
|
+
end
|
|
2390
|
+
|
|
2391
|
+
# DELETE /v1/trusted_issuers/{issuer_id}
|
|
2392
|
+
def delete_trusted_issuer(issuer_id, query: nil, **options)
|
|
2393
|
+
Models::Deleted.from_json(@client.request("deleteTrustedIssuer", [issuer_id], query, nil, **options))
|
|
2394
|
+
end
|
|
2395
|
+
|
|
2396
|
+
# GET /v1/trusted_issuers
|
|
2397
|
+
def list_trusted_issuers(query: nil, **options)
|
|
2398
|
+
Models::TrustedIssuerList.from_json(@client.request("listTrustedIssuers", [], query, nil, **options))
|
|
2399
|
+
end
|
|
2400
|
+
end
|
|
2401
|
+
|
|
2402
|
+
class Uploads
|
|
2403
|
+
def initialize(client)
|
|
2404
|
+
@client = client
|
|
2405
|
+
end
|
|
2406
|
+
|
|
2407
|
+
# POST /v1/uploads
|
|
2408
|
+
def create_upload(body, query: nil, **options)
|
|
2409
|
+
Models::Upload.from_json(@client.request("createUpload", [], query, body, **options))
|
|
2410
|
+
end
|
|
2411
|
+
end
|
|
2412
|
+
|
|
2413
|
+
class UserManagement
|
|
2414
|
+
def initialize(client)
|
|
2415
|
+
@client = client
|
|
2416
|
+
end
|
|
2417
|
+
|
|
2418
|
+
# POST /v1/user_management/passkeys/authenticate
|
|
2419
|
+
def authenticate_end_user_passkey(body, query: nil, **options)
|
|
2420
|
+
Models::EndUserPasskeyAuthentication.from_json(@client.request("authenticateEndUserPasskey", [], query, body, **options))
|
|
2421
|
+
end
|
|
2422
|
+
|
|
2423
|
+
# DELETE /v1/user_management/social_providers/{provider}
|
|
2424
|
+
def delete_social_provider(provider, query: nil, **options)
|
|
2425
|
+
@client.request("deleteSocialProvider", [provider], query, nil, **options)
|
|
2426
|
+
end
|
|
2427
|
+
|
|
2428
|
+
# GET /v1/user_management/bot_protection
|
|
2429
|
+
def get_bot_protection(query: nil, **options)
|
|
2430
|
+
Models::BotProtectionSettings.from_json(@client.request("getBotProtection", [], query, nil, **options))
|
|
2431
|
+
end
|
|
2432
|
+
|
|
2433
|
+
# GET /v1/user_management/settings
|
|
2434
|
+
def get_user_management_settings(query: nil, **options)
|
|
2435
|
+
Models::UserManagementSettings.from_json(@client.request("getUserManagementSettings", [], query, nil, **options))
|
|
2436
|
+
end
|
|
2437
|
+
|
|
2438
|
+
# GET /v1/user_management/usage
|
|
2439
|
+
def get_user_management_usage(query: nil, **options)
|
|
2440
|
+
Models::UserManagementUsage.from_json(@client.request("getUserManagementUsage", [], query, nil, **options))
|
|
2441
|
+
end
|
|
2442
|
+
|
|
2443
|
+
# GET /v1/user_management/bot_detections
|
|
2444
|
+
def list_bot_detections(query: nil, **options)
|
|
2445
|
+
Models::BotDetectionList.from_json(@client.request("listBotDetections", [], query, nil, **options))
|
|
2446
|
+
end
|
|
2447
|
+
|
|
2448
|
+
# Enumerates every item across pages, following next_cursor.
|
|
2449
|
+
def list_bot_detections_auto_paging(query: nil, **options)
|
|
2450
|
+
@client.paginate("listBotDetections", [], query, model: Models::BotDetection, **options)
|
|
2451
|
+
end
|
|
2452
|
+
|
|
2453
|
+
# GET /v1/user_management/social_providers
|
|
2454
|
+
def list_social_providers(query: nil, **options)
|
|
2455
|
+
Models::SocialProviderList.from_json(@client.request("listSocialProviders", [], query, nil, **options))
|
|
2456
|
+
end
|
|
2457
|
+
|
|
2458
|
+
# POST /v1/user_management/passkeys/authentication_options
|
|
2459
|
+
def start_end_user_passkey_authentication(query: nil, **options)
|
|
2460
|
+
Models::WebAuthnOptions.from_json(@client.request("startEndUserPasskeyAuthentication", [], query, nil, **options))
|
|
2461
|
+
end
|
|
2462
|
+
|
|
2463
|
+
# PUT /v1/user_management/bot_protection
|
|
2464
|
+
def update_bot_protection(body, query: nil, **options)
|
|
2465
|
+
Models::BotProtectionSettings.from_json(@client.request("updateBotProtection", [], query, body, **options))
|
|
2466
|
+
end
|
|
2467
|
+
|
|
2468
|
+
# PUT /v1/user_management/social_providers/{provider}
|
|
2469
|
+
def update_social_provider(provider, body, query: nil, **options)
|
|
2470
|
+
Models::SocialProvider.from_json(@client.request("updateSocialProvider", [provider], query, body, **options))
|
|
2471
|
+
end
|
|
2472
|
+
|
|
2473
|
+
# PUT /v1/user_management/settings
|
|
2474
|
+
def update_user_management_settings(body, query: nil, **options)
|
|
2475
|
+
Models::UserManagementSettings.from_json(@client.request("updateUserManagementSettings", [], query, body, **options))
|
|
2476
|
+
end
|
|
2477
|
+
end
|
|
2478
|
+
|
|
2479
|
+
class Users
|
|
2480
|
+
def initialize(client)
|
|
2481
|
+
@client = client
|
|
2482
|
+
end
|
|
2483
|
+
|
|
2484
|
+
# DELETE /v1/users/{user}/password
|
|
2485
|
+
def clear_end_user_password(user, query: nil, **options)
|
|
2486
|
+
@client.request("clearEndUserPassword", [user], query, nil, **options)
|
|
2487
|
+
end
|
|
2488
|
+
|
|
2489
|
+
# POST /v1/users
|
|
2490
|
+
def create_end_user(body, query: nil, **options)
|
|
2491
|
+
Models::EndUser.from_json(@client.request("createEndUser", [], query, body, **options))
|
|
2492
|
+
end
|
|
2493
|
+
|
|
2494
|
+
# DELETE /v1/users/{user}
|
|
2495
|
+
def delete_end_user(user, query: nil, **options)
|
|
2496
|
+
@client.request("deleteEndUser", [user], query, nil, **options)
|
|
2497
|
+
end
|
|
2498
|
+
|
|
2499
|
+
# DELETE /v1/users/{user}/factors/{factor}
|
|
2500
|
+
def delete_end_user_factor(user, factor, query: nil, **options)
|
|
2501
|
+
@client.request("deleteEndUserFactor", [user, factor], query, nil, **options)
|
|
2502
|
+
end
|
|
2503
|
+
|
|
2504
|
+
# GET /v1/users/{user}
|
|
2505
|
+
def get_end_user(user, query: nil, **options)
|
|
2506
|
+
Models::EndUser.from_json(@client.request("getEndUser", [user], query, nil, **options))
|
|
2507
|
+
end
|
|
2508
|
+
|
|
2509
|
+
# GET /v1/users/{user}/factors
|
|
2510
|
+
def list_end_user_factors(user, query: nil, **options)
|
|
2511
|
+
Models::EndUserFactorList.from_json(@client.request("listEndUserFactors", [user], query, nil, **options))
|
|
2512
|
+
end
|
|
2513
|
+
|
|
2514
|
+
# GET /v1/users/{user}/identities
|
|
2515
|
+
def list_end_user_identities(user, query: nil, **options)
|
|
2516
|
+
Models::EndUserIdentityList.from_json(@client.request("listEndUserIdentities", [user], query, nil, **options))
|
|
2517
|
+
end
|
|
2518
|
+
|
|
2519
|
+
# GET /v1/users/{user}/sessions
|
|
2520
|
+
def list_end_user_sessions(user, query: nil, **options)
|
|
2521
|
+
Models::EndUserSessionList.from_json(@client.request("listEndUserSessions", [user], query, nil, **options))
|
|
2522
|
+
end
|
|
2523
|
+
|
|
2524
|
+
# GET /v1/users
|
|
2525
|
+
def list_end_users(query: nil, **options)
|
|
2526
|
+
Models::EndUserList.from_json(@client.request("listEndUsers", [], query, nil, **options))
|
|
2527
|
+
end
|
|
2528
|
+
|
|
2529
|
+
# Enumerates every item across pages, following next_cursor.
|
|
2530
|
+
def list_end_users_auto_paging(query: nil, **options)
|
|
2531
|
+
@client.paginate("listEndUsers", [], query, model: Models::EndUser, **options)
|
|
2532
|
+
end
|
|
2533
|
+
|
|
2534
|
+
# POST /v1/users/{user}/passkeys
|
|
2535
|
+
def register_end_user_passkey(user, body, query: nil, **options)
|
|
2536
|
+
Models::EndUserFactor.from_json(@client.request("registerEndUserPasskey", [user], query, body, **options))
|
|
2537
|
+
end
|
|
2538
|
+
|
|
2539
|
+
# DELETE /v1/users/{user}/sessions/{session}
|
|
2540
|
+
def revoke_end_user_session(user, session, query: nil, **options)
|
|
2541
|
+
@client.request("revokeEndUserSession", [user, session], query, nil, **options)
|
|
2542
|
+
end
|
|
2543
|
+
|
|
2544
|
+
# DELETE /v1/users/{user}/sessions
|
|
2545
|
+
def revoke_end_user_sessions(user, query: nil, **options)
|
|
2546
|
+
@client.request("revokeEndUserSessions", [user], query, nil, **options)
|
|
2547
|
+
end
|
|
2548
|
+
|
|
2549
|
+
# PUT /v1/users/{user}/password
|
|
2550
|
+
def set_end_user_password(user, body, query: nil, **options)
|
|
2551
|
+
@client.request("setEndUserPassword", [user], query, body, **options)
|
|
2552
|
+
end
|
|
2553
|
+
|
|
2554
|
+
# POST /v1/users/{user}/passkeys/registration_options
|
|
2555
|
+
def start_end_user_passkey_registration(user, query: nil, **options)
|
|
2556
|
+
Models::WebAuthnOptions.from_json(@client.request("startEndUserPasskeyRegistration", [user], query, nil, **options))
|
|
2557
|
+
end
|
|
2558
|
+
|
|
2559
|
+
# PATCH /v1/users/{user}
|
|
2560
|
+
def update_end_user(user, body, query: nil, **options)
|
|
2561
|
+
Models::EndUser.from_json(@client.request("updateEndUser", [user], query, body, **options))
|
|
2562
|
+
end
|
|
2563
|
+
|
|
2564
|
+
# PATCH /v1/users/{user}/passkeys/{passkey}
|
|
2565
|
+
def update_end_user_passkey(user, passkey, body, query: nil, **options)
|
|
2566
|
+
Models::EndUserFactor.from_json(@client.request("updateEndUserPasskey", [user, passkey], query, body, **options))
|
|
2567
|
+
end
|
|
2568
|
+
end
|
|
2569
|
+
|
|
2570
|
+
class Vault
|
|
2571
|
+
def initialize(client)
|
|
2572
|
+
@client = client
|
|
2573
|
+
end
|
|
2574
|
+
|
|
2575
|
+
# POST /v1/vault/keys
|
|
2576
|
+
def create_vault_key(body, query: nil, **options)
|
|
2577
|
+
Models::VaultKey.from_json(@client.request("createVaultKey", [], query, body, **options))
|
|
2578
|
+
end
|
|
2579
|
+
|
|
2580
|
+
# DELETE /v1/vault/objects/{name}
|
|
2581
|
+
def delete_vault_object(name, query: nil, **options)
|
|
2582
|
+
Models::Deleted.from_json(@client.request("deleteVaultObject", [name], query, nil, **options))
|
|
2583
|
+
end
|
|
2584
|
+
|
|
2585
|
+
# GET /v1/vault/objects/{name}
|
|
2586
|
+
def get_vault_object(name, query: nil, **options)
|
|
2587
|
+
Models::VaultObjectValue.from_json(@client.request("getVaultObject", [name], query, nil, **options))
|
|
2588
|
+
end
|
|
2589
|
+
|
|
2590
|
+
# GET /v1/vault/keys
|
|
2591
|
+
def list_vault_keys(query: nil, **options)
|
|
2592
|
+
Models::VaultKeyList.from_json(@client.request("listVaultKeys", [], query, nil, **options))
|
|
2593
|
+
end
|
|
2594
|
+
|
|
2595
|
+
# GET /v1/vault/objects/{name}/versions
|
|
2596
|
+
def list_vault_object_versions(name, query: nil, **options)
|
|
2597
|
+
Models::VaultObjectList.from_json(@client.request("listVaultObjectVersions", [name], query, nil, **options))
|
|
2598
|
+
end
|
|
2599
|
+
|
|
2600
|
+
# PUT /v1/vault/objects/{name}
|
|
2601
|
+
def put_vault_object(name, body, query: nil, **options)
|
|
2602
|
+
Models::VaultObject.from_json(@client.request("putVaultObject", [name], query, body, **options))
|
|
2603
|
+
end
|
|
2604
|
+
|
|
2605
|
+
# POST /v1/vault/keys/{key}/rotate
|
|
2606
|
+
def rotate_vault_key(key, query: nil, **options)
|
|
2607
|
+
Models::VaultKey.from_json(@client.request("rotateVaultKey", [key], query, nil, **options))
|
|
2608
|
+
end
|
|
2609
|
+
|
|
2610
|
+
# POST /v1/vault/decrypt
|
|
2611
|
+
def vault_decrypt(body, query: nil, **options)
|
|
2612
|
+
Models::VaultDecryptResult.from_json(@client.request("vaultDecrypt", [], query, body, **options))
|
|
2613
|
+
end
|
|
2614
|
+
|
|
2615
|
+
# POST /v1/vault/encrypt
|
|
2616
|
+
def vault_encrypt(body, query: nil, **options)
|
|
2617
|
+
Models::VaultEncryptResult.from_json(@client.request("vaultEncrypt", [], query, body, **options))
|
|
2618
|
+
end
|
|
2619
|
+
end
|
|
2620
|
+
|
|
2621
|
+
class WebhookDeliveries
|
|
2622
|
+
def initialize(client)
|
|
2623
|
+
@client = client
|
|
2624
|
+
end
|
|
2625
|
+
|
|
2626
|
+
# POST /v1/webhook_deliveries/{delivery}/resend
|
|
2627
|
+
def resend_webhook_delivery(delivery, query: nil, **options)
|
|
2628
|
+
Models::WebhookDelivery.from_json(@client.request("resendWebhookDelivery", [delivery], query, nil, **options))
|
|
2629
|
+
end
|
|
2630
|
+
end
|
|
2631
|
+
|
|
2632
|
+
class WebhookEndpoints
|
|
2633
|
+
def initialize(client)
|
|
2634
|
+
@client = client
|
|
2635
|
+
end
|
|
2636
|
+
|
|
2637
|
+
# POST /v1/webhook_endpoints
|
|
2638
|
+
def create_webhook_endpoint(body, query: nil, **options)
|
|
2639
|
+
Models::WebhookSecret.from_json(@client.request("createWebhookEndpoint", [], query, body, **options))
|
|
2640
|
+
end
|
|
2641
|
+
|
|
2642
|
+
# DELETE /v1/webhook_endpoints/{endpoint}
|
|
2643
|
+
def delete_webhook_endpoint(endpoint, query: nil, **options)
|
|
2644
|
+
Models::Deleted.from_json(@client.request("deleteWebhookEndpoint", [endpoint], query, nil, **options))
|
|
2645
|
+
end
|
|
2646
|
+
|
|
2647
|
+
# GET /v1/webhook_endpoints/{endpoint}
|
|
2648
|
+
def get_webhook_endpoint(endpoint, query: nil, **options)
|
|
2649
|
+
Models::WebhookEndpoint.from_json(@client.request("getWebhookEndpoint", [endpoint], query, nil, **options))
|
|
2650
|
+
end
|
|
2651
|
+
|
|
2652
|
+
# GET /v1/webhook_endpoints/{endpoint}/deliveries
|
|
2653
|
+
def list_webhook_deliveries(endpoint, query: nil, **options)
|
|
2654
|
+
Models::WebhookDeliveryList.from_json(@client.request("listWebhookDeliveries", [endpoint], query, nil, **options))
|
|
2655
|
+
end
|
|
2656
|
+
|
|
2657
|
+
# Enumerates every item across pages, following next_cursor.
|
|
2658
|
+
def list_webhook_deliveries_auto_paging(endpoint, query: nil, **options)
|
|
2659
|
+
@client.paginate("listWebhookDeliveries", [endpoint], query, model: Models::WebhookDelivery, **options)
|
|
2660
|
+
end
|
|
2661
|
+
|
|
2662
|
+
# GET /v1/webhook_endpoints
|
|
2663
|
+
def list_webhook_endpoints(query: nil, **options)
|
|
2664
|
+
Models::WebhookEndpointList.from_json(@client.request("listWebhookEndpoints", [], query, nil, **options))
|
|
2665
|
+
end
|
|
2666
|
+
|
|
2667
|
+
# Enumerates every item across pages, following next_cursor.
|
|
2668
|
+
def list_webhook_endpoints_auto_paging(query: nil, **options)
|
|
2669
|
+
@client.paginate("listWebhookEndpoints", [], query, model: Models::WebhookEndpoint, **options)
|
|
2670
|
+
end
|
|
2671
|
+
|
|
2672
|
+
# POST /v1/webhook_endpoints/{endpoint}/rotate_secret
|
|
2673
|
+
def rotate_webhook_secret(endpoint, query: nil, **options)
|
|
2674
|
+
Models::WebhookSecret.from_json(@client.request("rotateWebhookSecret", [endpoint], query, nil, **options))
|
|
2675
|
+
end
|
|
2676
|
+
|
|
2677
|
+
# POST /v1/webhook_endpoints/{endpoint}/test
|
|
2678
|
+
def test_webhook_endpoint(endpoint, body, query: nil, **options)
|
|
2679
|
+
Models::WebhookDelivery.from_json(@client.request("testWebhookEndpoint", [endpoint], query, body, **options))
|
|
2680
|
+
end
|
|
2681
|
+
|
|
2682
|
+
# PATCH /v1/webhook_endpoints/{endpoint}
|
|
2683
|
+
def update_webhook_endpoint(endpoint, body, query: nil, **options)
|
|
2684
|
+
Models::WebhookEndpoint.from_json(@client.request("updateWebhookEndpoint", [endpoint], query, body, **options))
|
|
2685
|
+
end
|
|
2686
|
+
end
|
|
2687
|
+
|
|
2688
|
+
module ResourceAccessors
|
|
2689
|
+
def attribute_catalogue
|
|
2690
|
+
@attribute_catalogue ||= AttributeCatalogue.new(self)
|
|
2691
|
+
end
|
|
2692
|
+
|
|
2693
|
+
def audit_log_events
|
|
2694
|
+
@audit_log_events ||= AuditLogEvents.new(self)
|
|
2695
|
+
end
|
|
2696
|
+
|
|
2697
|
+
def audit_log_schemas
|
|
2698
|
+
@audit_log_schemas ||= AuditLogSchemas.new(self)
|
|
2699
|
+
end
|
|
2700
|
+
|
|
2701
|
+
def audit_logs
|
|
2702
|
+
@audit_logs ||= AuditLogs.new(self)
|
|
2703
|
+
end
|
|
2704
|
+
|
|
2705
|
+
def authorization
|
|
2706
|
+
@authorization ||= Authorization.new(self)
|
|
2707
|
+
end
|
|
2708
|
+
|
|
2709
|
+
def branding
|
|
2710
|
+
@branding ||= Branding.new(self)
|
|
2711
|
+
end
|
|
2712
|
+
|
|
2713
|
+
def connection_health
|
|
2714
|
+
@connection_health ||= ConnectionHealth.new(self)
|
|
2715
|
+
end
|
|
2716
|
+
|
|
2717
|
+
def connections
|
|
2718
|
+
@connections ||= Connections.new(self)
|
|
2719
|
+
end
|
|
2720
|
+
|
|
2721
|
+
def custom_domains
|
|
2722
|
+
@custom_domains ||= CustomDomains.new(self)
|
|
2723
|
+
end
|
|
2724
|
+
|
|
2725
|
+
def dev
|
|
2726
|
+
@dev ||= Dev.new(self)
|
|
2727
|
+
end
|
|
2728
|
+
|
|
2729
|
+
def directories
|
|
2730
|
+
@directories ||= Directories.new(self)
|
|
2731
|
+
end
|
|
2732
|
+
|
|
2733
|
+
def directory_groups
|
|
2734
|
+
@directory_groups ||= DirectoryGroups.new(self)
|
|
2735
|
+
end
|
|
2736
|
+
|
|
2737
|
+
def directory_users
|
|
2738
|
+
@directory_users ||= DirectoryUsers.new(self)
|
|
2739
|
+
end
|
|
2740
|
+
|
|
2741
|
+
def domains
|
|
2742
|
+
@domains ||= Domains.new(self)
|
|
2743
|
+
end
|
|
2744
|
+
|
|
2745
|
+
def email_events
|
|
2746
|
+
@email_events ||= EmailEvents.new(self)
|
|
2747
|
+
end
|
|
2748
|
+
|
|
2749
|
+
def encryption_keys
|
|
2750
|
+
@encryption_keys ||= EncryptionKeys.new(self)
|
|
2751
|
+
end
|
|
2752
|
+
|
|
2753
|
+
def environment
|
|
2754
|
+
@environment ||= Environment.new(self)
|
|
2755
|
+
end
|
|
2756
|
+
|
|
2757
|
+
def events
|
|
2758
|
+
@events ||= Events.new(self)
|
|
2759
|
+
end
|
|
2760
|
+
|
|
2761
|
+
def exports
|
|
2762
|
+
@exports ||= Exports.new(self)
|
|
2763
|
+
end
|
|
2764
|
+
|
|
2765
|
+
def feature_flags
|
|
2766
|
+
@feature_flags ||= FeatureFlags.new(self)
|
|
2767
|
+
end
|
|
2768
|
+
|
|
2769
|
+
def idp_radar
|
|
2770
|
+
@idp_radar ||= IdpRadar.new(self)
|
|
2771
|
+
end
|
|
2772
|
+
|
|
2773
|
+
def imports
|
|
2774
|
+
@imports ||= Imports.new(self)
|
|
2775
|
+
end
|
|
2776
|
+
|
|
2777
|
+
def invites
|
|
2778
|
+
@invites ||= Invites.new(self)
|
|
2779
|
+
end
|
|
2780
|
+
|
|
2781
|
+
def it_contacts
|
|
2782
|
+
@it_contacts ||= ItContacts.new(self)
|
|
2783
|
+
end
|
|
2784
|
+
|
|
2785
|
+
def it_email_configuration
|
|
2786
|
+
@it_email_configuration ||= ItEmailConfiguration.new(self)
|
|
2787
|
+
end
|
|
2788
|
+
|
|
2789
|
+
def log_streams
|
|
2790
|
+
@log_streams ||= LogStreams.new(self)
|
|
2791
|
+
end
|
|
2792
|
+
|
|
2793
|
+
def m2m_clients
|
|
2794
|
+
@m2m_clients ||= M2mClients.new(self)
|
|
2795
|
+
end
|
|
2796
|
+
|
|
2797
|
+
def oauth
|
|
2798
|
+
@oauth ||= Oauth.new(self)
|
|
2799
|
+
end
|
|
2800
|
+
|
|
2801
|
+
def organization_exports
|
|
2802
|
+
@organization_exports ||= OrganizationExports.new(self)
|
|
2803
|
+
end
|
|
2804
|
+
|
|
2805
|
+
def organizations
|
|
2806
|
+
@organizations ||= Organizations.new(self)
|
|
2807
|
+
end
|
|
2808
|
+
|
|
2809
|
+
def passport
|
|
2810
|
+
@passport ||= Passport.new(self)
|
|
2811
|
+
end
|
|
2812
|
+
|
|
2813
|
+
def pipes
|
|
2814
|
+
@pipes ||= Pipes.new(self)
|
|
2815
|
+
end
|
|
2816
|
+
|
|
2817
|
+
def policies
|
|
2818
|
+
@policies ||= Policies.new(self)
|
|
2819
|
+
end
|
|
2820
|
+
|
|
2821
|
+
def portal
|
|
2822
|
+
@portal ||= Portal.new(self)
|
|
2823
|
+
end
|
|
2824
|
+
|
|
2825
|
+
def portal_profiles
|
|
2826
|
+
@portal_profiles ||= PortalProfiles.new(self)
|
|
2827
|
+
end
|
|
2828
|
+
|
|
2829
|
+
def providers
|
|
2830
|
+
@providers ||= Providers.new(self)
|
|
2831
|
+
end
|
|
2832
|
+
|
|
2833
|
+
def redirect_uris
|
|
2834
|
+
@redirect_uris ||= RedirectUris.new(self)
|
|
2835
|
+
end
|
|
2836
|
+
|
|
2837
|
+
def requests
|
|
2838
|
+
@requests ||= Requests.new(self)
|
|
2839
|
+
end
|
|
2840
|
+
|
|
2841
|
+
def role_rules
|
|
2842
|
+
@role_rules ||= RoleRules.new(self)
|
|
2843
|
+
end
|
|
2844
|
+
|
|
2845
|
+
def sessions
|
|
2846
|
+
@sessions ||= Sessions.new(self)
|
|
2847
|
+
end
|
|
2848
|
+
|
|
2849
|
+
def sign_in_hooks
|
|
2850
|
+
@sign_in_hooks ||= SignInHooks.new(self)
|
|
2851
|
+
end
|
|
2852
|
+
|
|
2853
|
+
def sign_in_risk_policy
|
|
2854
|
+
@sign_in_risk_policy ||= SignInRiskPolicy.new(self)
|
|
2855
|
+
end
|
|
2856
|
+
|
|
2857
|
+
def sign_ins
|
|
2858
|
+
@sign_ins ||= SignIns.new(self)
|
|
2859
|
+
end
|
|
2860
|
+
|
|
2861
|
+
def ssf_streams
|
|
2862
|
+
@ssf_streams ||= SsfStreams.new(self)
|
|
2863
|
+
end
|
|
2864
|
+
|
|
2865
|
+
def sso
|
|
2866
|
+
@sso ||= Sso.new(self)
|
|
2867
|
+
end
|
|
2868
|
+
|
|
2869
|
+
def trusted_issuers
|
|
2870
|
+
@trusted_issuers ||= TrustedIssuers.new(self)
|
|
2871
|
+
end
|
|
2872
|
+
|
|
2873
|
+
def uploads
|
|
2874
|
+
@uploads ||= Uploads.new(self)
|
|
2875
|
+
end
|
|
2876
|
+
|
|
2877
|
+
def user_management
|
|
2878
|
+
@user_management ||= UserManagement.new(self)
|
|
2879
|
+
end
|
|
2880
|
+
|
|
2881
|
+
def users
|
|
2882
|
+
@users ||= Users.new(self)
|
|
2883
|
+
end
|
|
2884
|
+
|
|
2885
|
+
def vault
|
|
2886
|
+
@vault ||= Vault.new(self)
|
|
2887
|
+
end
|
|
2888
|
+
|
|
2889
|
+
def webhook_deliveries
|
|
2890
|
+
@webhook_deliveries ||= WebhookDeliveries.new(self)
|
|
2891
|
+
end
|
|
2892
|
+
|
|
2893
|
+
def webhook_endpoints
|
|
2894
|
+
@webhook_endpoints ||= WebhookEndpoints.new(self)
|
|
2895
|
+
end
|
|
2896
|
+
end
|
|
2897
|
+
end
|
|
2898
|
+
end
|