auth0 6.1.0 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/management/Client.d.ts +3 -0
- package/dist/cjs/management/Client.js +93 -88
- package/dist/cjs/management/api/requests/requests.d.ts +203 -14
- package/dist/cjs/management/api/resources/agents/client/Client.d.ts +100 -0
- package/dist/cjs/management/api/resources/agents/client/Client.js +383 -0
- package/dist/cjs/management/api/resources/agents/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/agents/client/index.js +2 -0
- package/dist/cjs/management/api/resources/agents/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/agents/exports.js +21 -0
- package/dist/cjs/management/api/resources/agents/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/agents/index.js +17 -0
- package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/clientGrants/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/clients/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/clients/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/connections/client/Client.d.ts +2 -1
- package/dist/cjs/management/api/resources/connections/client/Client.js +4 -2
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.ts +46 -1
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +140 -2
- package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.d.ts +1 -2
- package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.js +66 -54
- package/dist/cjs/management/api/resources/flows/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/flows/client/Client.js +6 -0
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.js +9 -1
- package/dist/cjs/management/api/resources/forms/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/forms/client/Client.js +6 -0
- package/dist/cjs/management/api/resources/groups/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/keys/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/keys/client/Client.js +7 -2
- package/dist/cjs/management/api/resources/keys/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/keys/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/Client.d.ts +67 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/Client.js +251 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/index.js +2 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/exports.js +21 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/index.js +17 -0
- package/dist/cjs/management/api/resources/organizations/client/Client.d.ts +6 -1
- package/dist/cjs/management/api/resources/organizations/client/Client.js +25 -16
- package/dist/cjs/management/api/resources/organizations/resources/clients/client/Client.d.ts +119 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/client/Client.js +422 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/exports.js +21 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/index.js +17 -0
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/organizations/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.d.ts +2 -1
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +4 -2
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/client/Client.js +7 -2
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/Client.d.ts +34 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/Client.js +145 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/exports.js +21 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/index.js +17 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/members/client/Client.d.ts +5 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/members/client/Client.js +5 -0
- package/dist/cjs/management/api/resources/roles/client/Client.d.ts +3 -1
- package/dist/cjs/management/api/resources/roles/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/roles/resources/users/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/roles/resources/users/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.js +3 -1
- package/dist/cjs/management/api/types/types.d.ts +387 -34
- package/dist/cjs/management/api/types/types.js +92 -15
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.js +1 -1
- package/dist/esm/management/Client.d.mts +3 -0
- package/dist/esm/management/Client.mjs +5 -0
- package/dist/esm/management/api/requests/requests.d.mts +203 -14
- package/dist/esm/management/api/resources/agents/client/Client.d.mts +100 -0
- package/dist/esm/management/api/resources/agents/client/Client.mjs +346 -0
- package/dist/esm/management/api/resources/agents/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/agents/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/agents/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/agents/exports.mjs +3 -0
- package/dist/esm/management/api/resources/agents/index.d.mts +1 -0
- package/dist/esm/management/api/resources/agents/index.mjs +1 -0
- package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/clients/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/clients/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/connections/client/Client.d.mts +2 -1
- package/dist/esm/management/api/resources/connections/client/Client.mjs +4 -2
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.mts +46 -1
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +140 -2
- package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.d.mts +1 -2
- package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.mjs +66 -54
- package/dist/esm/management/api/resources/flows/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/flows/client/Client.mjs +6 -0
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +9 -1
- package/dist/esm/management/api/resources/forms/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/forms/client/Client.mjs +6 -0
- package/dist/esm/management/api/resources/groups/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/keys/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/keys/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/keys/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/keys/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/client/Client.d.mts +67 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/client/Client.mjs +214 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/exports.mjs +3 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/index.d.mts +1 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/client/Client.d.mts +6 -1
- package/dist/esm/management/api/resources/organizations/client/Client.mjs +11 -2
- package/dist/esm/management/api/resources/organizations/resources/clients/client/Client.d.mts +119 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/client/Client.mjs +385 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/exports.mjs +3 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/organizations/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.d.mts +2 -1
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +4 -2
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +2 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/Client.d.mts +34 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/Client.mjs +108 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/exports.mjs +3 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/members/client/Client.d.mts +5 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/members/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/roles/client/Client.d.mts +3 -1
- package/dist/esm/management/api/resources/roles/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/roles/resources/users/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/roles/resources/users/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/users/resources/permissions/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/permissions/client/Client.mjs +2 -0
- package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +2 -0
- package/dist/esm/management/api/resources/users/resources/sessions/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/sessions/client/Client.mjs +3 -1
- package/dist/esm/management/api/types/types.d.mts +387 -34
- package/dist/esm/management/api/types/types.mjs +77 -0
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/package.json +56 -12
- package/reference.md +3088 -1844
|
@@ -93,6 +93,44 @@ export interface UpdateActionRequestContent {
|
|
|
93
93
|
export interface TestActionRequestContent {
|
|
94
94
|
payload: Management.TestActionPayload;
|
|
95
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* @example
|
|
98
|
+
* {
|
|
99
|
+
* from: "from",
|
|
100
|
+
* take: 1
|
|
101
|
+
* }
|
|
102
|
+
*/
|
|
103
|
+
export interface ListAgentsRequestParameters {
|
|
104
|
+
/** Optional Id from which to start selection. */
|
|
105
|
+
from?: string | null;
|
|
106
|
+
/** Number of results per page. Defaults to 50. */
|
|
107
|
+
take?: number | null;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @example
|
|
111
|
+
* {
|
|
112
|
+
* name: "name"
|
|
113
|
+
* }
|
|
114
|
+
*/
|
|
115
|
+
export interface CreateAgentRequestContent {
|
|
116
|
+
/** The agent name. Cannot contain <, >, or null bytes. */
|
|
117
|
+
name: string;
|
|
118
|
+
/** Optional client ID to associate with the agent */
|
|
119
|
+
client_id?: string;
|
|
120
|
+
/** Optional external identifier for the agent. Immutable after creation. Must be unique within the tenant. */
|
|
121
|
+
external_agent_id?: string;
|
|
122
|
+
metadata?: Management.AgentMetadata;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* @example
|
|
126
|
+
* {}
|
|
127
|
+
*/
|
|
128
|
+
export interface PatchAgentRequestParameters {
|
|
129
|
+
/** The agent name. Cannot contain <, >, or null bytes. */
|
|
130
|
+
name?: string;
|
|
131
|
+
/** Arbitrary key-value metadata for the agent. Pass null to clear all metadata. */
|
|
132
|
+
metadata?: Record<string, unknown> | null;
|
|
133
|
+
}
|
|
96
134
|
/**
|
|
97
135
|
* @example
|
|
98
136
|
* {}
|
|
@@ -108,6 +146,7 @@ export interface UpdateBrandingRequestContent {
|
|
|
108
146
|
/**
|
|
109
147
|
* @example
|
|
110
148
|
* {
|
|
149
|
+
* include_totals: true,
|
|
111
150
|
* from: "from",
|
|
112
151
|
* take: 1,
|
|
113
152
|
* audience: "audience",
|
|
@@ -118,6 +157,8 @@ export interface UpdateBrandingRequestContent {
|
|
|
118
157
|
* }
|
|
119
158
|
*/
|
|
120
159
|
export interface ListClientGrantsRequestParameters {
|
|
160
|
+
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
|
|
161
|
+
include_totals?: boolean | null;
|
|
121
162
|
/** Optional Id from which to start selection. */
|
|
122
163
|
from?: string | null;
|
|
123
164
|
/** Number of results per page. Defaults to 50. */
|
|
@@ -461,6 +502,7 @@ export interface CreateConnectionProfileRequestContent {
|
|
|
461
502
|
enabled_features?: Management.ConnectionProfileEnabledFeatures;
|
|
462
503
|
connection_config?: Management.ConnectionProfileConfig;
|
|
463
504
|
strategy_overrides?: Management.ConnectionProfileStrategyOverrides;
|
|
505
|
+
cross_app_access_resource_app?: Management.ConnectionProfileCrossAppAccessResourceApp;
|
|
464
506
|
}
|
|
465
507
|
/**
|
|
466
508
|
* @example
|
|
@@ -473,10 +515,12 @@ export interface UpdateConnectionProfileRequestContent {
|
|
|
473
515
|
enabled_features?: Management.ConnectionProfileEnabledFeatures;
|
|
474
516
|
connection_config?: Management.ConnectionProfileConfig;
|
|
475
517
|
strategy_overrides?: Management.ConnectionProfileStrategyOverrides;
|
|
518
|
+
cross_app_access_resource_app?: Management.ConnectionProfileCrossAppAccessResourceApp;
|
|
476
519
|
}
|
|
477
520
|
/**
|
|
478
521
|
* @example
|
|
479
522
|
* {
|
|
523
|
+
* include_totals: true,
|
|
480
524
|
* from: "from",
|
|
481
525
|
* take: 1,
|
|
482
526
|
* strategy: ["ad"],
|
|
@@ -486,6 +530,8 @@ export interface UpdateConnectionProfileRequestContent {
|
|
|
486
530
|
* }
|
|
487
531
|
*/
|
|
488
532
|
export interface ListConnectionsQueryParameters {
|
|
533
|
+
/** true if a query summary must be included in the result, false otherwise. Not returned when using checkpoint pagination. Default <code>false</code>. */
|
|
534
|
+
include_totals?: boolean | null;
|
|
489
535
|
/** Optional Id from which to start selection. */
|
|
490
536
|
from?: string | null;
|
|
491
537
|
/** Number of results per page. Defaults to 50. */
|
|
@@ -594,7 +640,7 @@ export interface CreateCustomDomainRequestContent {
|
|
|
594
640
|
type: Management.CustomDomainProvisioningTypeEnum;
|
|
595
641
|
verification_method?: Management.CustomDomainVerificationMethodEnum;
|
|
596
642
|
tls_policy?: Management.CustomDomainTlsPolicyEnum;
|
|
597
|
-
custom_client_ip_header?: Management.CustomDomainCustomClientIpHeader | undefined;
|
|
643
|
+
custom_client_ip_header?: (Management.CustomDomainCustomClientIpHeader | undefined) | null;
|
|
598
644
|
domain_metadata?: Management.DomainMetadata;
|
|
599
645
|
/** Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used. */
|
|
600
646
|
relying_party_identifier?: string;
|
|
@@ -616,7 +662,7 @@ export interface SetDefaultCustomDomainRequestContent {
|
|
|
616
662
|
export interface UpdateCustomDomainRequestContent {
|
|
617
663
|
/** recommended includes TLS 1.2 */
|
|
618
664
|
tls_policy?: Management.CustomDomainTlsPolicyEnum;
|
|
619
|
-
custom_client_ip_header?: Management.CustomDomainCustomClientIpHeader | undefined;
|
|
665
|
+
custom_client_ip_header?: (Management.CustomDomainCustomClientIpHeader | undefined) | null;
|
|
620
666
|
domain_metadata?: Management.DomainMetadata;
|
|
621
667
|
/** Relying Party ID (rpId) to be used for Passkeys on this custom domain. Set to null to remove the rpId and fall back to using the full domain. */
|
|
622
668
|
relying_party_identifier?: string | null;
|
|
@@ -897,13 +943,13 @@ export interface GetFormRequestParameters {
|
|
|
897
943
|
*/
|
|
898
944
|
export interface UpdateFormRequestContent {
|
|
899
945
|
name?: string;
|
|
900
|
-
messages?: Management.FormMessagesNullable | undefined;
|
|
901
|
-
languages?: Management.FormLanguagesNullable | undefined;
|
|
902
|
-
translations?: Management.FormTranslationsNullable | undefined;
|
|
903
|
-
nodes?: Management.FormNodeListNullable | undefined;
|
|
904
|
-
start?: Management.FormStartNodeNullable | undefined;
|
|
905
|
-
ending?: Management.FormEndingNodeNullable | undefined;
|
|
906
|
-
style?: Management.FormStyleNullable | undefined;
|
|
946
|
+
messages?: (Management.FormMessagesNullable | undefined) | null;
|
|
947
|
+
languages?: (Management.FormLanguagesNullable | undefined) | null;
|
|
948
|
+
translations?: (Management.FormTranslationsNullable | undefined) | null;
|
|
949
|
+
nodes?: (Management.FormNodeListNullable | undefined) | null;
|
|
950
|
+
start?: (Management.FormStartNodeNullable | undefined) | null;
|
|
951
|
+
ending?: (Management.FormEndingNodeNullable | undefined) | null;
|
|
952
|
+
style?: (Management.FormStyleNullable | undefined) | null;
|
|
907
953
|
}
|
|
908
954
|
/**
|
|
909
955
|
* @example
|
|
@@ -949,6 +995,7 @@ export interface DeleteUserGrantByUserIdRequestParameters {
|
|
|
949
995
|
* search: "search",
|
|
950
996
|
* fields: "fields",
|
|
951
997
|
* include_fields: true,
|
|
998
|
+
* include_totals: true,
|
|
952
999
|
* from: "from",
|
|
953
1000
|
* take: 1
|
|
954
1001
|
* }
|
|
@@ -966,6 +1013,8 @@ export interface ListGroupsRequestParameters {
|
|
|
966
1013
|
fields?: string | null;
|
|
967
1014
|
/** Whether specified fields are to be included (true) or excluded (false). */
|
|
968
1015
|
include_fields?: boolean | null;
|
|
1016
|
+
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
|
|
1017
|
+
include_totals?: boolean | null;
|
|
969
1018
|
/** Optional Id from which to start selection. */
|
|
970
1019
|
from?: string | null;
|
|
971
1020
|
/** Number of results per page. Defaults to 50. */
|
|
@@ -1154,18 +1203,24 @@ export interface UpdateNetworkAclRequestContent {
|
|
|
1154
1203
|
/**
|
|
1155
1204
|
* @example
|
|
1156
1205
|
* {
|
|
1206
|
+
* include_totals: true,
|
|
1157
1207
|
* from: "from",
|
|
1158
1208
|
* take: 1,
|
|
1159
|
-
* sort: "sort"
|
|
1209
|
+
* sort: "sort",
|
|
1210
|
+
* include_client_association_for: "include_client_association_for"
|
|
1160
1211
|
* }
|
|
1161
1212
|
*/
|
|
1162
1213
|
export interface ListOrganizationsRequestParameters {
|
|
1214
|
+
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
|
|
1215
|
+
include_totals?: boolean | null;
|
|
1163
1216
|
/** Optional Id from which to start selection. */
|
|
1164
1217
|
from?: string | null;
|
|
1165
1218
|
/** Number of results per page. Defaults to 50. */
|
|
1166
1219
|
take?: number | null;
|
|
1167
1220
|
/** Field to sort by. Use <code>field:order</code> where order is <code>1</code> for ascending and <code>-1</code> for descending. e.g. <code>created_at:1</code>. We currently support sorting by the following fields: <code>name</code>, <code>display_name</code> and <code>created_at</code>. */
|
|
1168
1221
|
sort?: string | null;
|
|
1222
|
+
/** Client ID. When set, each returned organization that has an association with this client gains a <code>client</code> object describing it; organizations without one omit the field. */
|
|
1223
|
+
include_client_association_for?: string | null;
|
|
1169
1224
|
}
|
|
1170
1225
|
/**
|
|
1171
1226
|
* @example
|
|
@@ -1184,6 +1239,8 @@ export interface CreateOrganizationRequestContent {
|
|
|
1184
1239
|
enabled_connections?: Management.ConnectionForOrganization[];
|
|
1185
1240
|
token_quota?: Management.CreateTokenQuota;
|
|
1186
1241
|
third_party_client_access?: Management.OrganizationThirdPartyClientAccessEnum;
|
|
1242
|
+
/** Whether app entitlement is active for this organization. */
|
|
1243
|
+
is_app_entitlement_active?: boolean;
|
|
1187
1244
|
}
|
|
1188
1245
|
/**
|
|
1189
1246
|
* @example
|
|
@@ -1198,6 +1255,8 @@ export interface UpdateOrganizationRequestContent {
|
|
|
1198
1255
|
metadata?: Management.OrganizationMetadata;
|
|
1199
1256
|
token_quota?: Management.UpdateTokenQuota | null;
|
|
1200
1257
|
third_party_client_access?: Management.OrganizationThirdPartyClientAccessEnum;
|
|
1258
|
+
/** Whether app entitlement is active for this organization. */
|
|
1259
|
+
is_app_entitlement_active?: boolean;
|
|
1201
1260
|
}
|
|
1202
1261
|
/**
|
|
1203
1262
|
* @example
|
|
@@ -1414,7 +1473,9 @@ export interface UpdateResourceServerRequestContent {
|
|
|
1414
1473
|
* per_page: 1,
|
|
1415
1474
|
* page: 1,
|
|
1416
1475
|
* include_totals: true,
|
|
1417
|
-
* name_filter: "name_filter"
|
|
1476
|
+
* name_filter: "name_filter",
|
|
1477
|
+
* type: "tenant",
|
|
1478
|
+
* owner_id: "owner_id"
|
|
1418
1479
|
* }
|
|
1419
1480
|
*/
|
|
1420
1481
|
export interface ListRolesRequestParameters {
|
|
@@ -1426,6 +1487,10 @@ export interface ListRolesRequestParameters {
|
|
|
1426
1487
|
include_totals?: boolean | null;
|
|
1427
1488
|
/** Optional filter on name (case-insensitive). */
|
|
1428
1489
|
name_filter?: string | null;
|
|
1490
|
+
/** Optional filter on the type of the role */
|
|
1491
|
+
type?: Management.RoleTypeEnum | null;
|
|
1492
|
+
/** Filter organization-level roles by owner ID. Required when type is "organization". */
|
|
1493
|
+
owner_id?: string | null;
|
|
1429
1494
|
}
|
|
1430
1495
|
/**
|
|
1431
1496
|
* @example
|
|
@@ -1438,6 +1503,10 @@ export interface CreateRoleRequestContent {
|
|
|
1438
1503
|
name: string;
|
|
1439
1504
|
/** Description of the role. */
|
|
1440
1505
|
description?: string;
|
|
1506
|
+
/** The type of the role. Defaults to tenant. */
|
|
1507
|
+
type?: Management.RoleTypeEnum;
|
|
1508
|
+
/** The ID of the organization that owns this role. Required when type is "organization". */
|
|
1509
|
+
owner_id?: string;
|
|
1441
1510
|
}
|
|
1442
1511
|
/**
|
|
1443
1512
|
* @example
|
|
@@ -1571,7 +1640,7 @@ export interface UpdateSelfServiceProfileRequestContent {
|
|
|
1571
1640
|
/** The name of the self-service Profile. */
|
|
1572
1641
|
name?: string;
|
|
1573
1642
|
description?: (Management.SelfServiceProfileDescription | undefined) | null;
|
|
1574
|
-
branding?: Management.SelfServiceProfileBranding | undefined;
|
|
1643
|
+
branding?: (Management.SelfServiceProfileBranding | undefined) | null;
|
|
1575
1644
|
/** List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`] */
|
|
1576
1645
|
allowed_strategies?: Management.SelfServiceProfileAllowedStrategyEnum[];
|
|
1577
1646
|
user_attributes?: (Management.SelfServiceProfileUserAttributes | undefined) | null;
|
|
@@ -1734,7 +1803,7 @@ export interface CreateUserAttributeProfileRequestContent {
|
|
|
1734
1803
|
*/
|
|
1735
1804
|
export interface UpdateUserAttributeProfileRequestContent {
|
|
1736
1805
|
name?: Management.UserAttributeProfileName;
|
|
1737
|
-
user_id?: Management.UserAttributeProfilePatchUserId | undefined;
|
|
1806
|
+
user_id?: (Management.UserAttributeProfilePatchUserId | undefined) | null;
|
|
1738
1807
|
user_attributes?: Management.UserAttributeProfileUserAttributes;
|
|
1739
1808
|
}
|
|
1740
1809
|
/**
|
|
@@ -2402,11 +2471,14 @@ export interface CreatePhoneTemplateTestNotificationRequestContent {
|
|
|
2402
2471
|
/**
|
|
2403
2472
|
* @example
|
|
2404
2473
|
* {
|
|
2474
|
+
* include_totals: true,
|
|
2405
2475
|
* from: "from",
|
|
2406
2476
|
* take: 1
|
|
2407
2477
|
* }
|
|
2408
2478
|
*/
|
|
2409
2479
|
export interface ListClientGrantOrganizationsRequestParameters {
|
|
2480
|
+
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
|
|
2481
|
+
include_totals?: boolean | null;
|
|
2410
2482
|
/** Optional Id from which to start selection. */
|
|
2411
2483
|
from?: string | null;
|
|
2412
2484
|
/** Number of results per page. Defaults to 50. */
|
|
@@ -2481,7 +2553,8 @@ export interface ListDirectoryProvisioningsRequestParameters {
|
|
|
2481
2553
|
* @example
|
|
2482
2554
|
* {
|
|
2483
2555
|
* from: "from",
|
|
2484
|
-
* take: 1
|
|
2556
|
+
* take: 1,
|
|
2557
|
+
* q: "q"
|
|
2485
2558
|
* }
|
|
2486
2559
|
*/
|
|
2487
2560
|
export interface ListSynchronizedGroupsRequestParameters {
|
|
@@ -2489,6 +2562,20 @@ export interface ListSynchronizedGroupsRequestParameters {
|
|
|
2489
2562
|
from?: string | null;
|
|
2490
2563
|
/** Number of results per page. Defaults to 50. */
|
|
2491
2564
|
take?: number | null;
|
|
2565
|
+
/** Query in <a target='_new' href ='https://lucene.apache.org/core/2_9_4/queryparsersyntax.html'>Lucene query string syntax</a>. Only prefix search on "name" or "email" fields are allowed, with a single wildcard suffix. Operators, modifiers, and groupings are not allowed. Terms are treated as case-insensitive. Example query: "name:engineering*". */
|
|
2566
|
+
q?: string | null;
|
|
2567
|
+
}
|
|
2568
|
+
/**
|
|
2569
|
+
* @example
|
|
2570
|
+
* {
|
|
2571
|
+
* groups: [{
|
|
2572
|
+
* id: "id"
|
|
2573
|
+
* }]
|
|
2574
|
+
* }
|
|
2575
|
+
*/
|
|
2576
|
+
export interface AddSynchronizedGroupsRequestContent {
|
|
2577
|
+
/** Array of Google Workspace Directory group objects to synchronize. */
|
|
2578
|
+
groups: Management.SynchronizedGroupPayload[];
|
|
2492
2579
|
}
|
|
2493
2580
|
/**
|
|
2494
2581
|
* @example
|
|
@@ -2502,6 +2589,18 @@ export interface ReplaceSynchronizedGroupsRequestContent {
|
|
|
2502
2589
|
/** Array of Google Workspace Directory group objects to synchronize. */
|
|
2503
2590
|
groups: Management.SynchronizedGroupPayload[];
|
|
2504
2591
|
}
|
|
2592
|
+
/**
|
|
2593
|
+
* @example
|
|
2594
|
+
* {
|
|
2595
|
+
* groups: [{
|
|
2596
|
+
* id: "id"
|
|
2597
|
+
* }]
|
|
2598
|
+
* }
|
|
2599
|
+
*/
|
|
2600
|
+
export interface DeleteSynchronizedGroupsRequestContent {
|
|
2601
|
+
/** Array of groups to remove from the selection set. */
|
|
2602
|
+
groups: Management.SynchronizedGroupSelectionId[];
|
|
2603
|
+
}
|
|
2505
2604
|
/**
|
|
2506
2605
|
* @example
|
|
2507
2606
|
* {
|
|
@@ -2647,11 +2746,14 @@ export interface CreateEventStreamRedeliveryRequestContent {
|
|
|
2647
2746
|
/**
|
|
2648
2747
|
* @example
|
|
2649
2748
|
* {
|
|
2749
|
+
* include_totals: true,
|
|
2650
2750
|
* from: "from",
|
|
2651
2751
|
* take: 1
|
|
2652
2752
|
* }
|
|
2653
2753
|
*/
|
|
2654
2754
|
export interface ListFlowExecutionsRequestParameters {
|
|
2755
|
+
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
|
|
2756
|
+
include_totals?: boolean | null;
|
|
2655
2757
|
/** Optional Id from which to start selection. */
|
|
2656
2758
|
from?: string | null;
|
|
2657
2759
|
/** Number of results per page. Defaults to 50. */
|
|
@@ -3043,6 +3145,21 @@ export interface ImportEncryptionKeyRequestContent {
|
|
|
3043
3145
|
/** Base64 encoded ciphertext of key material wrapped by public wrapping key. */
|
|
3044
3146
|
wrapped_key: string;
|
|
3045
3147
|
}
|
|
3148
|
+
/**
|
|
3149
|
+
* @example
|
|
3150
|
+
* {
|
|
3151
|
+
* name: "name",
|
|
3152
|
+
* alg: "hmac-sha256",
|
|
3153
|
+
* value: "value"
|
|
3154
|
+
* }
|
|
3155
|
+
*/
|
|
3156
|
+
export interface CreateKeysNetworkAclsRequestContent {
|
|
3157
|
+
/** Customer-supplied label with no cryptographic meaning. Must be unique across all Network ACL keys for the tenant. */
|
|
3158
|
+
name: string;
|
|
3159
|
+
alg: Management.NetworkAclKeyAlgorithmEnum;
|
|
3160
|
+
/** Base64-encoded raw key material. Constraints on the decoded value depend on the algorithm specified. Currently only HMAC-SHA256 is supported. */
|
|
3161
|
+
value: string;
|
|
3162
|
+
}
|
|
3046
3163
|
/**
|
|
3047
3164
|
* @example
|
|
3048
3165
|
* {
|
|
@@ -3078,6 +3195,50 @@ export interface AssociateOrganizationClientGrantRequestContent {
|
|
|
3078
3195
|
/** A Client Grant ID to add to the organization. */
|
|
3079
3196
|
grant_id: string;
|
|
3080
3197
|
}
|
|
3198
|
+
/**
|
|
3199
|
+
* @example
|
|
3200
|
+
* {
|
|
3201
|
+
* from: "from",
|
|
3202
|
+
* take: 1
|
|
3203
|
+
* }
|
|
3204
|
+
*/
|
|
3205
|
+
export interface ListOrganizationClientsRequestParameters {
|
|
3206
|
+
/** Optional Id from which to start selection. */
|
|
3207
|
+
from?: string | null;
|
|
3208
|
+
/** Number of results per page. Defaults to 50. Values greater than the maximum of 100 are capped at 100. */
|
|
3209
|
+
take?: number | null;
|
|
3210
|
+
}
|
|
3211
|
+
/**
|
|
3212
|
+
* @example
|
|
3213
|
+
* {
|
|
3214
|
+
* clients: [{
|
|
3215
|
+
* client_id: "client_id",
|
|
3216
|
+
* use_for_member_access: true
|
|
3217
|
+
* }]
|
|
3218
|
+
* }
|
|
3219
|
+
*/
|
|
3220
|
+
export interface CreateOrganizationClientsRequestContent {
|
|
3221
|
+
/** List of clients to associate with the organization. */
|
|
3222
|
+
clients: Management.CreateOrganizationClientRequestItem[];
|
|
3223
|
+
}
|
|
3224
|
+
/**
|
|
3225
|
+
* @example
|
|
3226
|
+
* {
|
|
3227
|
+
* clients: ["clients"]
|
|
3228
|
+
* }
|
|
3229
|
+
*/
|
|
3230
|
+
export interface DeleteOrganizationClientsRequestContent {
|
|
3231
|
+
/** List of client IDs to disassociate from the organization. */
|
|
3232
|
+
clients: string[];
|
|
3233
|
+
}
|
|
3234
|
+
/**
|
|
3235
|
+
* @example
|
|
3236
|
+
* {}
|
|
3237
|
+
*/
|
|
3238
|
+
export interface UpdateOrganizationClientRequestContent {
|
|
3239
|
+
/** Whether this client is used for member access to the organization. */
|
|
3240
|
+
use_for_member_access?: boolean;
|
|
3241
|
+
}
|
|
3081
3242
|
/**
|
|
3082
3243
|
* @example
|
|
3083
3244
|
* {
|
|
@@ -3283,6 +3444,7 @@ export interface GetOrganizationInvitationRequestParameters {
|
|
|
3283
3444
|
/**
|
|
3284
3445
|
* @example
|
|
3285
3446
|
* {
|
|
3447
|
+
* include_totals: true,
|
|
3286
3448
|
* from: "from",
|
|
3287
3449
|
* take: 1,
|
|
3288
3450
|
* fields: "fields",
|
|
@@ -3290,6 +3452,8 @@ export interface GetOrganizationInvitationRequestParameters {
|
|
|
3290
3452
|
* }
|
|
3291
3453
|
*/
|
|
3292
3454
|
export interface ListOrganizationMembersRequestParameters {
|
|
3455
|
+
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
|
|
3456
|
+
include_totals?: boolean | null;
|
|
3293
3457
|
/** Optional Id from which to start selection. */
|
|
3294
3458
|
from?: string | null;
|
|
3295
3459
|
/** Number of results per page. Defaults to 50. */
|
|
@@ -3449,6 +3613,19 @@ export interface ListOrganizationRoleMembersRequestParameters {
|
|
|
3449
3613
|
/** Whether specified fields are to be included (true) or excluded (false). Defaults to true. */
|
|
3450
3614
|
include_fields?: boolean | null;
|
|
3451
3615
|
}
|
|
3616
|
+
/**
|
|
3617
|
+
* @example
|
|
3618
|
+
* {
|
|
3619
|
+
* from: "from",
|
|
3620
|
+
* take: 1
|
|
3621
|
+
* }
|
|
3622
|
+
*/
|
|
3623
|
+
export interface ListOrganizationRoleGroupsRequestParameters {
|
|
3624
|
+
/** Optional Id from which to start selection. */
|
|
3625
|
+
from?: string | null;
|
|
3626
|
+
/** Number of results per page. Defaults to 50. */
|
|
3627
|
+
take?: number | null;
|
|
3628
|
+
}
|
|
3452
3629
|
/**
|
|
3453
3630
|
* @example
|
|
3454
3631
|
* {
|
|
@@ -3606,11 +3783,14 @@ export interface DeleteRolePermissionsRequestContent {
|
|
|
3606
3783
|
/**
|
|
3607
3784
|
* @example
|
|
3608
3785
|
* {
|
|
3786
|
+
* include_totals: true,
|
|
3609
3787
|
* from: "from",
|
|
3610
3788
|
* take: 1
|
|
3611
3789
|
* }
|
|
3612
3790
|
*/
|
|
3613
3791
|
export interface ListRoleUsersRequestParameters {
|
|
3792
|
+
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
|
|
3793
|
+
include_totals?: boolean | null;
|
|
3614
3794
|
/** Optional Id from which to start selection. */
|
|
3615
3795
|
from?: string | null;
|
|
3616
3796
|
/** Number of results per page. Defaults to 50. */
|
|
@@ -3853,6 +4033,7 @@ export interface ListUserEffectiveRolesRequestParameters {
|
|
|
3853
4033
|
* {
|
|
3854
4034
|
* fields: "fields",
|
|
3855
4035
|
* include_fields: true,
|
|
4036
|
+
* include_totals: true,
|
|
3856
4037
|
* from: "from",
|
|
3857
4038
|
* take: 1
|
|
3858
4039
|
* }
|
|
@@ -3862,6 +4043,8 @@ export interface GetUserGroupsRequestParameters {
|
|
|
3862
4043
|
fields?: string | null;
|
|
3863
4044
|
/** Whether specified fields are to be included (true) or excluded (false). */
|
|
3864
4045
|
include_fields?: boolean | null;
|
|
4046
|
+
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
|
|
4047
|
+
include_totals?: boolean | null;
|
|
3865
4048
|
/** Optional Id from which to start selection. */
|
|
3866
4049
|
from?: string | null;
|
|
3867
4050
|
/** Number of results per page. Defaults to 50. */
|
|
@@ -4010,11 +4193,14 @@ export interface DeleteUserRolesRequestContent {
|
|
|
4010
4193
|
/**
|
|
4011
4194
|
* @example
|
|
4012
4195
|
* {
|
|
4196
|
+
* include_totals: true,
|
|
4013
4197
|
* from: "from",
|
|
4014
4198
|
* take: 1
|
|
4015
4199
|
* }
|
|
4016
4200
|
*/
|
|
4017
4201
|
export interface ListRefreshTokensRequestParameters {
|
|
4202
|
+
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
|
|
4203
|
+
include_totals?: boolean | null;
|
|
4018
4204
|
/** An optional cursor from which to start the selection (exclusive). */
|
|
4019
4205
|
from?: string | null;
|
|
4020
4206
|
/** Number of results per page. Defaults to 50. */
|
|
@@ -4023,11 +4209,14 @@ export interface ListRefreshTokensRequestParameters {
|
|
|
4023
4209
|
/**
|
|
4024
4210
|
* @example
|
|
4025
4211
|
* {
|
|
4212
|
+
* include_totals: true,
|
|
4026
4213
|
* from: "from",
|
|
4027
4214
|
* take: 1
|
|
4028
4215
|
* }
|
|
4029
4216
|
*/
|
|
4030
4217
|
export interface ListUserSessionsRequestParameters {
|
|
4218
|
+
/** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
|
|
4219
|
+
include_totals?: boolean | null;
|
|
4031
4220
|
/** An optional cursor from which to start the selection (exclusive). */
|
|
4032
4221
|
from?: string | null;
|
|
4033
4222
|
/** Number of results per page. Defaults to 50. */
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
3
|
+
import * as core from "../../../../core/index.mjs";
|
|
4
|
+
import * as Management from "../../../index.mjs";
|
|
5
|
+
export declare namespace AgentsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class AgentsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<AgentsClient.Options>;
|
|
12
|
+
constructor(options: AgentsClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Get agents
|
|
15
|
+
*
|
|
16
|
+
* @param {Management.ListAgentsRequestParameters} request
|
|
17
|
+
* @param {AgentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
|
+
*
|
|
19
|
+
* @throws {@link Management.BadRequestError}
|
|
20
|
+
* @throws {@link Management.UnauthorizedError}
|
|
21
|
+
* @throws {@link Management.ForbiddenError}
|
|
22
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* await client.agents.list({
|
|
26
|
+
* from: "from",
|
|
27
|
+
* take: 1
|
|
28
|
+
* })
|
|
29
|
+
*/
|
|
30
|
+
list(request?: Management.ListAgentsRequestParameters, requestOptions?: AgentsClient.RequestOptions): Promise<core.Page<Management.AgentResponseContent, Management.ListAgentsResponseContent>>;
|
|
31
|
+
/**
|
|
32
|
+
* Create an agent
|
|
33
|
+
*
|
|
34
|
+
* @param {Management.CreateAgentRequestContent} request
|
|
35
|
+
* @param {AgentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link Management.BadRequestError}
|
|
38
|
+
* @throws {@link Management.UnauthorizedError}
|
|
39
|
+
* @throws {@link Management.ForbiddenError}
|
|
40
|
+
* @throws {@link Management.ConflictError}
|
|
41
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* await client.agents.create({
|
|
45
|
+
* name: "name"
|
|
46
|
+
* })
|
|
47
|
+
*/
|
|
48
|
+
create(request: Management.CreateAgentRequestContent, requestOptions?: AgentsClient.RequestOptions): core.HttpResponsePromise<Management.AgentResponseContent>;
|
|
49
|
+
private __create;
|
|
50
|
+
/**
|
|
51
|
+
* Get an agent
|
|
52
|
+
*
|
|
53
|
+
* @param {string} id - The agent ID
|
|
54
|
+
* @param {AgentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link Management.UnauthorizedError}
|
|
57
|
+
* @throws {@link Management.ForbiddenError}
|
|
58
|
+
* @throws {@link Management.NotFoundError}
|
|
59
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* await client.agents.read("id")
|
|
63
|
+
*/
|
|
64
|
+
read(id: string, requestOptions?: AgentsClient.RequestOptions): core.HttpResponsePromise<Management.AgentResponseContent>;
|
|
65
|
+
private __read;
|
|
66
|
+
/**
|
|
67
|
+
* Delete an agent
|
|
68
|
+
*
|
|
69
|
+
* @param {string} id - The agent ID
|
|
70
|
+
* @param {AgentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link Management.BadRequestError}
|
|
73
|
+
* @throws {@link Management.UnauthorizedError}
|
|
74
|
+
* @throws {@link Management.ForbiddenError}
|
|
75
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* await client.agents.delete("id")
|
|
79
|
+
*/
|
|
80
|
+
delete(id: string, requestOptions?: AgentsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
81
|
+
private __delete;
|
|
82
|
+
/**
|
|
83
|
+
* Update an agent
|
|
84
|
+
*
|
|
85
|
+
* @param {string} id - The agent ID
|
|
86
|
+
* @param {Management.PatchAgentRequestParameters} request
|
|
87
|
+
* @param {AgentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link Management.BadRequestError}
|
|
90
|
+
* @throws {@link Management.UnauthorizedError}
|
|
91
|
+
* @throws {@link Management.ForbiddenError}
|
|
92
|
+
* @throws {@link Management.NotFoundError}
|
|
93
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* await client.agents.update("id")
|
|
97
|
+
*/
|
|
98
|
+
update(id: string, request?: Management.PatchAgentRequestParameters, requestOptions?: AgentsClient.RequestOptions): core.HttpResponsePromise<Management.AgentResponseContent>;
|
|
99
|
+
private __update;
|
|
100
|
+
}
|