auth0 6.1.0 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/dist/cjs/management/Client.d.ts +3 -0
  2. package/dist/cjs/management/Client.js +93 -88
  3. package/dist/cjs/management/api/requests/requests.d.ts +175 -3
  4. package/dist/cjs/management/api/resources/agents/client/Client.d.ts +100 -0
  5. package/dist/cjs/management/api/resources/agents/client/Client.js +383 -0
  6. package/dist/cjs/management/api/resources/agents/client/index.d.ts +1 -0
  7. package/dist/cjs/management/api/resources/agents/client/index.js +2 -0
  8. package/dist/cjs/management/api/resources/agents/exports.d.ts +2 -0
  9. package/dist/cjs/management/api/resources/agents/exports.js +21 -0
  10. package/dist/cjs/management/api/resources/agents/index.d.ts +1 -0
  11. package/dist/cjs/management/api/resources/agents/index.js +17 -0
  12. package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +1 -0
  13. package/dist/cjs/management/api/resources/clientGrants/client/Client.js +3 -1
  14. package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.d.ts +1 -0
  15. package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.js +3 -1
  16. package/dist/cjs/management/api/resources/connections/client/Client.d.ts +1 -0
  17. package/dist/cjs/management/api/resources/connections/client/Client.js +3 -1
  18. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.ts +46 -1
  19. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +140 -2
  20. package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.d.ts +1 -2
  21. package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.js +66 -54
  22. package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.d.ts +1 -0
  23. package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.js +3 -1
  24. package/dist/cjs/management/api/resources/groups/client/Client.d.ts +1 -0
  25. package/dist/cjs/management/api/resources/groups/client/Client.js +3 -1
  26. package/dist/cjs/management/api/resources/index.d.ts +1 -0
  27. package/dist/cjs/management/api/resources/index.js +2 -1
  28. package/dist/cjs/management/api/resources/organizations/client/Client.d.ts +6 -1
  29. package/dist/cjs/management/api/resources/organizations/client/Client.js +25 -16
  30. package/dist/cjs/management/api/resources/organizations/resources/clients/client/Client.d.ts +119 -0
  31. package/dist/cjs/management/api/resources/organizations/resources/clients/client/Client.js +422 -0
  32. package/dist/cjs/management/api/resources/organizations/resources/clients/client/index.d.ts +1 -0
  33. package/dist/cjs/management/api/resources/organizations/resources/clients/client/index.js +2 -0
  34. package/dist/cjs/management/api/resources/organizations/resources/clients/exports.d.ts +2 -0
  35. package/dist/cjs/management/api/resources/organizations/resources/clients/exports.js +21 -0
  36. package/dist/cjs/management/api/resources/organizations/resources/clients/index.d.ts +1 -0
  37. package/dist/cjs/management/api/resources/organizations/resources/clients/index.js +17 -0
  38. package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.d.ts +1 -0
  39. package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +3 -0
  40. package/dist/cjs/management/api/resources/organizations/resources/index.d.ts +1 -0
  41. package/dist/cjs/management/api/resources/organizations/resources/index.js +2 -1
  42. package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.d.ts +2 -1
  43. package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +4 -2
  44. package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.ts +2 -0
  45. package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +2 -0
  46. package/dist/cjs/management/api/resources/organizations/resources/roles/client/Client.d.ts +3 -0
  47. package/dist/cjs/management/api/resources/organizations/resources/roles/client/Client.js +7 -2
  48. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/Client.d.ts +34 -0
  49. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/Client.js +145 -0
  50. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/index.d.ts +1 -0
  51. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/index.js +2 -0
  52. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/exports.d.ts +2 -0
  53. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/exports.js +21 -0
  54. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/index.d.ts +1 -0
  55. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/index.js +17 -0
  56. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/index.d.ts +1 -0
  57. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/index.js +2 -1
  58. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/members/client/Client.d.ts +5 -0
  59. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/members/client/Client.js +5 -0
  60. package/dist/cjs/management/api/resources/roles/client/Client.d.ts +3 -1
  61. package/dist/cjs/management/api/resources/roles/client/Client.js +6 -2
  62. package/dist/cjs/management/api/resources/roles/resources/users/client/Client.d.ts +3 -0
  63. package/dist/cjs/management/api/resources/roles/resources/users/client/Client.js +5 -1
  64. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.d.ts +1 -0
  65. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +3 -1
  66. package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.d.ts +2 -0
  67. package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.js +2 -0
  68. package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.d.ts +1 -0
  69. package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.js +3 -1
  70. package/dist/cjs/management/api/resources/users/resources/roles/client/Client.d.ts +2 -0
  71. package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +2 -0
  72. package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.d.ts +1 -0
  73. package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.js +3 -1
  74. package/dist/cjs/management/api/types/types.d.ts +255 -10
  75. package/dist/cjs/management/api/types/types.js +70 -22
  76. package/dist/cjs/management/version.d.ts +1 -1
  77. package/dist/cjs/management/version.js +1 -1
  78. package/dist/esm/management/Client.d.mts +3 -0
  79. package/dist/esm/management/Client.mjs +5 -0
  80. package/dist/esm/management/api/requests/requests.d.mts +175 -3
  81. package/dist/esm/management/api/resources/agents/client/Client.d.mts +100 -0
  82. package/dist/esm/management/api/resources/agents/client/Client.mjs +346 -0
  83. package/dist/esm/management/api/resources/agents/client/index.d.mts +1 -0
  84. package/dist/esm/management/api/resources/agents/client/index.mjs +1 -0
  85. package/dist/esm/management/api/resources/agents/exports.d.mts +2 -0
  86. package/dist/esm/management/api/resources/agents/exports.mjs +3 -0
  87. package/dist/esm/management/api/resources/agents/index.d.mts +1 -0
  88. package/dist/esm/management/api/resources/agents/index.mjs +1 -0
  89. package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +1 -0
  90. package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +3 -1
  91. package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.d.mts +1 -0
  92. package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.mjs +3 -1
  93. package/dist/esm/management/api/resources/connections/client/Client.d.mts +1 -0
  94. package/dist/esm/management/api/resources/connections/client/Client.mjs +3 -1
  95. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.mts +46 -1
  96. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +140 -2
  97. package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.d.mts +1 -2
  98. package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.mjs +66 -54
  99. package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +1 -0
  100. package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +3 -1
  101. package/dist/esm/management/api/resources/groups/client/Client.d.mts +1 -0
  102. package/dist/esm/management/api/resources/groups/client/Client.mjs +3 -1
  103. package/dist/esm/management/api/resources/index.d.mts +1 -0
  104. package/dist/esm/management/api/resources/index.mjs +1 -0
  105. package/dist/esm/management/api/resources/organizations/client/Client.d.mts +6 -1
  106. package/dist/esm/management/api/resources/organizations/client/Client.mjs +11 -2
  107. package/dist/esm/management/api/resources/organizations/resources/clients/client/Client.d.mts +119 -0
  108. package/dist/esm/management/api/resources/organizations/resources/clients/client/Client.mjs +385 -0
  109. package/dist/esm/management/api/resources/organizations/resources/clients/client/index.d.mts +1 -0
  110. package/dist/esm/management/api/resources/organizations/resources/clients/client/index.mjs +1 -0
  111. package/dist/esm/management/api/resources/organizations/resources/clients/exports.d.mts +2 -0
  112. package/dist/esm/management/api/resources/organizations/resources/clients/exports.mjs +3 -0
  113. package/dist/esm/management/api/resources/organizations/resources/clients/index.d.mts +1 -0
  114. package/dist/esm/management/api/resources/organizations/resources/clients/index.mjs +1 -0
  115. package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.d.mts +1 -0
  116. package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +3 -0
  117. package/dist/esm/management/api/resources/organizations/resources/index.d.mts +1 -0
  118. package/dist/esm/management/api/resources/organizations/resources/index.mjs +1 -0
  119. package/dist/esm/management/api/resources/organizations/resources/members/client/Client.d.mts +2 -1
  120. package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +4 -2
  121. package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.mts +2 -0
  122. package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +2 -0
  123. package/dist/esm/management/api/resources/organizations/resources/roles/client/Client.d.mts +3 -0
  124. package/dist/esm/management/api/resources/organizations/resources/roles/client/Client.mjs +5 -0
  125. package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/Client.d.mts +34 -0
  126. package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/Client.mjs +108 -0
  127. package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/index.d.mts +1 -0
  128. package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/index.mjs +1 -0
  129. package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/exports.d.mts +2 -0
  130. package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/exports.mjs +3 -0
  131. package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/index.d.mts +1 -0
  132. package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/index.mjs +1 -0
  133. package/dist/esm/management/api/resources/organizations/resources/roles/resources/index.d.mts +1 -0
  134. package/dist/esm/management/api/resources/organizations/resources/roles/resources/index.mjs +1 -0
  135. package/dist/esm/management/api/resources/organizations/resources/roles/resources/members/client/Client.d.mts +5 -0
  136. package/dist/esm/management/api/resources/organizations/resources/roles/resources/members/client/Client.mjs +5 -0
  137. package/dist/esm/management/api/resources/roles/client/Client.d.mts +3 -1
  138. package/dist/esm/management/api/resources/roles/client/Client.mjs +6 -2
  139. package/dist/esm/management/api/resources/roles/resources/users/client/Client.d.mts +3 -0
  140. package/dist/esm/management/api/resources/roles/resources/users/client/Client.mjs +5 -1
  141. package/dist/esm/management/api/resources/users/resources/groups/client/Client.d.mts +1 -0
  142. package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +3 -1
  143. package/dist/esm/management/api/resources/users/resources/permissions/client/Client.d.mts +2 -0
  144. package/dist/esm/management/api/resources/users/resources/permissions/client/Client.mjs +2 -0
  145. package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.d.mts +1 -0
  146. package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.mjs +3 -1
  147. package/dist/esm/management/api/resources/users/resources/roles/client/Client.d.mts +2 -0
  148. package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +2 -0
  149. package/dist/esm/management/api/resources/users/resources/sessions/client/Client.d.mts +1 -0
  150. package/dist/esm/management/api/resources/users/resources/sessions/client/Client.mjs +3 -1
  151. package/dist/esm/management/api/types/types.d.mts +255 -10
  152. package/dist/esm/management/api/types/types.mjs +54 -6
  153. package/dist/esm/management/version.d.mts +1 -1
  154. package/dist/esm/management/version.mjs +1 -1
  155. package/package.json +45 -12
  156. package/reference.md +1463 -406
@@ -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. */
@@ -477,6 +518,7 @@ export interface UpdateConnectionProfileRequestContent {
477
518
  /**
478
519
  * @example
479
520
  * {
521
+ * include_totals: true,
480
522
  * from: "from",
481
523
  * take: 1,
482
524
  * strategy: ["ad"],
@@ -486,6 +528,8 @@ export interface UpdateConnectionProfileRequestContent {
486
528
  * }
487
529
  */
488
530
  export interface ListConnectionsQueryParameters {
531
+ /** true if a query summary must be included in the result, false otherwise. Not returned when using checkpoint pagination. Default <code>false</code>. */
532
+ include_totals?: boolean | null;
489
533
  /** Optional Id from which to start selection. */
490
534
  from?: string | null;
491
535
  /** Number of results per page. Defaults to 50. */
@@ -949,6 +993,7 @@ export interface DeleteUserGrantByUserIdRequestParameters {
949
993
  * search: "search",
950
994
  * fields: "fields",
951
995
  * include_fields: true,
996
+ * include_totals: true,
952
997
  * from: "from",
953
998
  * take: 1
954
999
  * }
@@ -966,6 +1011,8 @@ export interface ListGroupsRequestParameters {
966
1011
  fields?: string | null;
967
1012
  /** Whether specified fields are to be included (true) or excluded (false). */
968
1013
  include_fields?: boolean | null;
1014
+ /** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
1015
+ include_totals?: boolean | null;
969
1016
  /** Optional Id from which to start selection. */
970
1017
  from?: string | null;
971
1018
  /** Number of results per page. Defaults to 50. */
@@ -1154,18 +1201,24 @@ export interface UpdateNetworkAclRequestContent {
1154
1201
  /**
1155
1202
  * @example
1156
1203
  * {
1204
+ * include_totals: true,
1157
1205
  * from: "from",
1158
1206
  * take: 1,
1159
- * sort: "sort"
1207
+ * sort: "sort",
1208
+ * include_client_association_for: "include_client_association_for"
1160
1209
  * }
1161
1210
  */
1162
1211
  export interface ListOrganizationsRequestParameters {
1212
+ /** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
1213
+ include_totals?: boolean | null;
1163
1214
  /** Optional Id from which to start selection. */
1164
1215
  from?: string | null;
1165
1216
  /** Number of results per page. Defaults to 50. */
1166
1217
  take?: number | null;
1167
1218
  /** 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
1219
  sort?: string | null;
1220
+ /** 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. */
1221
+ include_client_association_for?: string | null;
1169
1222
  }
1170
1223
  /**
1171
1224
  * @example
@@ -1184,6 +1237,8 @@ export interface CreateOrganizationRequestContent {
1184
1237
  enabled_connections?: Management.ConnectionForOrganization[];
1185
1238
  token_quota?: Management.CreateTokenQuota;
1186
1239
  third_party_client_access?: Management.OrganizationThirdPartyClientAccessEnum;
1240
+ /** Whether app entitlement is active for this organization. */
1241
+ is_app_entitlement_active?: boolean;
1187
1242
  }
1188
1243
  /**
1189
1244
  * @example
@@ -1198,6 +1253,8 @@ export interface UpdateOrganizationRequestContent {
1198
1253
  metadata?: Management.OrganizationMetadata;
1199
1254
  token_quota?: Management.UpdateTokenQuota | null;
1200
1255
  third_party_client_access?: Management.OrganizationThirdPartyClientAccessEnum;
1256
+ /** Whether app entitlement is active for this organization. */
1257
+ is_app_entitlement_active?: boolean;
1201
1258
  }
1202
1259
  /**
1203
1260
  * @example
@@ -1414,7 +1471,9 @@ export interface UpdateResourceServerRequestContent {
1414
1471
  * per_page: 1,
1415
1472
  * page: 1,
1416
1473
  * include_totals: true,
1417
- * name_filter: "name_filter"
1474
+ * name_filter: "name_filter",
1475
+ * type: "tenant",
1476
+ * owner_id: "owner_id"
1418
1477
  * }
1419
1478
  */
1420
1479
  export interface ListRolesRequestParameters {
@@ -1426,6 +1485,10 @@ export interface ListRolesRequestParameters {
1426
1485
  include_totals?: boolean | null;
1427
1486
  /** Optional filter on name (case-insensitive). */
1428
1487
  name_filter?: string | null;
1488
+ /** Optional filter on the type of the role */
1489
+ type?: Management.RoleTypeEnum | null;
1490
+ /** Filter organization-level roles by owner ID. Required when type is "organization". */
1491
+ owner_id?: string | null;
1429
1492
  }
1430
1493
  /**
1431
1494
  * @example
@@ -1438,6 +1501,10 @@ export interface CreateRoleRequestContent {
1438
1501
  name: string;
1439
1502
  /** Description of the role. */
1440
1503
  description?: string;
1504
+ /** The type of the role. Defaults to tenant. */
1505
+ type?: Management.RoleTypeEnum;
1506
+ /** The ID of the organization that owns this role. Required when type is "organization". */
1507
+ owner_id?: string;
1441
1508
  }
1442
1509
  /**
1443
1510
  * @example
@@ -2402,11 +2469,14 @@ export interface CreatePhoneTemplateTestNotificationRequestContent {
2402
2469
  /**
2403
2470
  * @example
2404
2471
  * {
2472
+ * include_totals: true,
2405
2473
  * from: "from",
2406
2474
  * take: 1
2407
2475
  * }
2408
2476
  */
2409
2477
  export interface ListClientGrantOrganizationsRequestParameters {
2478
+ /** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
2479
+ include_totals?: boolean | null;
2410
2480
  /** Optional Id from which to start selection. */
2411
2481
  from?: string | null;
2412
2482
  /** Number of results per page. Defaults to 50. */
@@ -2481,7 +2551,8 @@ export interface ListDirectoryProvisioningsRequestParameters {
2481
2551
  * @example
2482
2552
  * {
2483
2553
  * from: "from",
2484
- * take: 1
2554
+ * take: 1,
2555
+ * q: "q"
2485
2556
  * }
2486
2557
  */
2487
2558
  export interface ListSynchronizedGroupsRequestParameters {
@@ -2489,6 +2560,20 @@ export interface ListSynchronizedGroupsRequestParameters {
2489
2560
  from?: string | null;
2490
2561
  /** Number of results per page. Defaults to 50. */
2491
2562
  take?: number | null;
2563
+ /** 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*". */
2564
+ q?: string | null;
2565
+ }
2566
+ /**
2567
+ * @example
2568
+ * {
2569
+ * groups: [{
2570
+ * id: "id"
2571
+ * }]
2572
+ * }
2573
+ */
2574
+ export interface AddSynchronizedGroupsRequestContent {
2575
+ /** Array of Google Workspace Directory group objects to synchronize. */
2576
+ groups: Management.SynchronizedGroupPayload[];
2492
2577
  }
2493
2578
  /**
2494
2579
  * @example
@@ -2502,6 +2587,18 @@ export interface ReplaceSynchronizedGroupsRequestContent {
2502
2587
  /** Array of Google Workspace Directory group objects to synchronize. */
2503
2588
  groups: Management.SynchronizedGroupPayload[];
2504
2589
  }
2590
+ /**
2591
+ * @example
2592
+ * {
2593
+ * groups: [{
2594
+ * id: "id"
2595
+ * }]
2596
+ * }
2597
+ */
2598
+ export interface DeleteSynchronizedGroupsRequestContent {
2599
+ /** Array of groups to remove from the selection set. */
2600
+ groups: Management.SynchronizedGroupSelectionId[];
2601
+ }
2505
2602
  /**
2506
2603
  * @example
2507
2604
  * {
@@ -2647,11 +2744,14 @@ export interface CreateEventStreamRedeliveryRequestContent {
2647
2744
  /**
2648
2745
  * @example
2649
2746
  * {
2747
+ * include_totals: true,
2650
2748
  * from: "from",
2651
2749
  * take: 1
2652
2750
  * }
2653
2751
  */
2654
2752
  export interface ListFlowExecutionsRequestParameters {
2753
+ /** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
2754
+ include_totals?: boolean | null;
2655
2755
  /** Optional Id from which to start selection. */
2656
2756
  from?: string | null;
2657
2757
  /** Number of results per page. Defaults to 50. */
@@ -3078,6 +3178,50 @@ export interface AssociateOrganizationClientGrantRequestContent {
3078
3178
  /** A Client Grant ID to add to the organization. */
3079
3179
  grant_id: string;
3080
3180
  }
3181
+ /**
3182
+ * @example
3183
+ * {
3184
+ * from: "from",
3185
+ * take: 1
3186
+ * }
3187
+ */
3188
+ export interface ListOrganizationClientsRequestParameters {
3189
+ /** Optional Id from which to start selection. */
3190
+ from?: string | null;
3191
+ /** Number of results per page. Defaults to 50. Values greater than the maximum of 100 are capped at 100. */
3192
+ take?: number | null;
3193
+ }
3194
+ /**
3195
+ * @example
3196
+ * {
3197
+ * clients: [{
3198
+ * client_id: "client_id",
3199
+ * use_for_member_access: true
3200
+ * }]
3201
+ * }
3202
+ */
3203
+ export interface CreateOrganizationClientsRequestContent {
3204
+ /** List of clients to associate with the organization. */
3205
+ clients: Management.CreateOrganizationClientRequestItem[];
3206
+ }
3207
+ /**
3208
+ * @example
3209
+ * {
3210
+ * clients: ["clients"]
3211
+ * }
3212
+ */
3213
+ export interface DeleteOrganizationClientsRequestContent {
3214
+ /** List of client IDs to disassociate from the organization. */
3215
+ clients: string[];
3216
+ }
3217
+ /**
3218
+ * @example
3219
+ * {}
3220
+ */
3221
+ export interface UpdateOrganizationClientRequestContent {
3222
+ /** Whether this client is used for member access to the organization. */
3223
+ use_for_member_access?: boolean;
3224
+ }
3081
3225
  /**
3082
3226
  * @example
3083
3227
  * {
@@ -3283,6 +3427,7 @@ export interface GetOrganizationInvitationRequestParameters {
3283
3427
  /**
3284
3428
  * @example
3285
3429
  * {
3430
+ * include_totals: true,
3286
3431
  * from: "from",
3287
3432
  * take: 1,
3288
3433
  * fields: "fields",
@@ -3290,6 +3435,8 @@ export interface GetOrganizationInvitationRequestParameters {
3290
3435
  * }
3291
3436
  */
3292
3437
  export interface ListOrganizationMembersRequestParameters {
3438
+ /** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
3439
+ include_totals?: boolean | null;
3293
3440
  /** Optional Id from which to start selection. */
3294
3441
  from?: string | null;
3295
3442
  /** Number of results per page. Defaults to 50. */
@@ -3449,6 +3596,19 @@ export interface ListOrganizationRoleMembersRequestParameters {
3449
3596
  /** Whether specified fields are to be included (true) or excluded (false). Defaults to true. */
3450
3597
  include_fields?: boolean | null;
3451
3598
  }
3599
+ /**
3600
+ * @example
3601
+ * {
3602
+ * from: "from",
3603
+ * take: 1
3604
+ * }
3605
+ */
3606
+ export interface ListOrganizationRoleGroupsRequestParameters {
3607
+ /** Optional Id from which to start selection. */
3608
+ from?: string | null;
3609
+ /** Number of results per page. Defaults to 50. */
3610
+ take?: number | null;
3611
+ }
3452
3612
  /**
3453
3613
  * @example
3454
3614
  * {
@@ -3606,11 +3766,14 @@ export interface DeleteRolePermissionsRequestContent {
3606
3766
  /**
3607
3767
  * @example
3608
3768
  * {
3769
+ * include_totals: true,
3609
3770
  * from: "from",
3610
3771
  * take: 1
3611
3772
  * }
3612
3773
  */
3613
3774
  export interface ListRoleUsersRequestParameters {
3775
+ /** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
3776
+ include_totals?: boolean | null;
3614
3777
  /** Optional Id from which to start selection. */
3615
3778
  from?: string | null;
3616
3779
  /** Number of results per page. Defaults to 50. */
@@ -3853,6 +4016,7 @@ export interface ListUserEffectiveRolesRequestParameters {
3853
4016
  * {
3854
4017
  * fields: "fields",
3855
4018
  * include_fields: true,
4019
+ * include_totals: true,
3856
4020
  * from: "from",
3857
4021
  * take: 1
3858
4022
  * }
@@ -3862,6 +4026,8 @@ export interface GetUserGroupsRequestParameters {
3862
4026
  fields?: string | null;
3863
4027
  /** Whether specified fields are to be included (true) or excluded (false). */
3864
4028
  include_fields?: boolean | null;
4029
+ /** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
4030
+ include_totals?: boolean | null;
3865
4031
  /** Optional Id from which to start selection. */
3866
4032
  from?: string | null;
3867
4033
  /** Number of results per page. Defaults to 50. */
@@ -4010,11 +4176,14 @@ export interface DeleteUserRolesRequestContent {
4010
4176
  /**
4011
4177
  * @example
4012
4178
  * {
4179
+ * include_totals: true,
4013
4180
  * from: "from",
4014
4181
  * take: 1
4015
4182
  * }
4016
4183
  */
4017
4184
  export interface ListRefreshTokensRequestParameters {
4185
+ /** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
4186
+ include_totals?: boolean | null;
4018
4187
  /** An optional cursor from which to start the selection (exclusive). */
4019
4188
  from?: string | null;
4020
4189
  /** Number of results per page. Defaults to 50. */
@@ -4023,11 +4192,14 @@ export interface ListRefreshTokensRequestParameters {
4023
4192
  /**
4024
4193
  * @example
4025
4194
  * {
4195
+ * include_totals: true,
4026
4196
  * from: "from",
4027
4197
  * take: 1
4028
4198
  * }
4029
4199
  */
4030
4200
  export interface ListUserSessionsRequestParameters {
4201
+ /** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
4202
+ include_totals?: boolean | null;
4031
4203
  /** An optional cursor from which to start the selection (exclusive). */
4032
4204
  from?: string | null;
4033
4205
  /** Number of results per page. Defaults to 50. */
@@ -0,0 +1,100 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
+ import * as core from "../../../../core/index.js";
4
+ import * as Management from "../../../index.js";
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
+ }