auth0 5.5.0 → 5.7.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 (124) hide show
  1. package/dist/cjs/management/Client.d.ts +12 -0
  2. package/dist/cjs/management/Client.js +67 -0
  3. package/dist/cjs/management/api/requests/requests.d.ts +181 -24
  4. package/dist/cjs/management/api/resources/actions/client/Client.d.ts +2 -2
  5. package/dist/cjs/management/api/resources/actions/client/Client.js +3 -3
  6. package/dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.d.ts +2 -2
  7. package/dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.js +2 -2
  8. package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +2 -2
  9. package/dist/cjs/management/api/resources/clientGrants/client/Client.js +4 -3
  10. package/dist/cjs/management/api/resources/clients/client/Client.d.ts +46 -0
  11. package/dist/cjs/management/api/resources/clients/client/Client.js +146 -1
  12. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.ts +43 -0
  13. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +152 -0
  14. package/dist/cjs/management/api/resources/customDomains/client/Client.d.ts +30 -0
  15. package/dist/cjs/management/api/resources/customDomains/client/Client.js +115 -0
  16. package/dist/cjs/management/api/resources/eventStreams/client/Client.d.ts +1 -1
  17. package/dist/cjs/management/api/resources/eventStreams/client/Client.js +1 -1
  18. package/dist/cjs/management/api/resources/groups/client/Client.d.ts +16 -0
  19. package/dist/cjs/management/api/resources/groups/client/Client.js +57 -0
  20. package/dist/cjs/management/api/resources/networkAcls/client/Client.d.ts +0 -2
  21. package/dist/cjs/management/api/resources/networkAcls/client/Client.js +0 -2
  22. package/dist/cjs/management/api/resources/organizations/client/Client.d.ts +3 -0
  23. package/dist/cjs/management/api/resources/organizations/client/Client.js +13 -8
  24. package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.d.ts +95 -0
  25. package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.js +383 -0
  26. package/dist/cjs/management/api/resources/organizations/resources/connections/client/index.d.ts +1 -0
  27. package/dist/cjs/management/api/resources/organizations/resources/connections/client/index.js +2 -0
  28. package/dist/cjs/management/api/resources/organizations/resources/connections/index.d.ts +1 -0
  29. package/dist/cjs/management/api/resources/organizations/resources/connections/index.js +17 -0
  30. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.ts +3 -1
  31. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +3 -1
  32. package/dist/cjs/management/api/resources/organizations/resources/index.d.ts +1 -0
  33. package/dist/cjs/management/api/resources/organizations/resources/index.js +2 -1
  34. package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +23 -0
  35. package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +88 -0
  36. package/dist/cjs/management/api/types/types.d.ts +673 -322
  37. package/dist/cjs/management/api/types/types.js +180 -134
  38. package/dist/cjs/management/core/auth/BasicAuth.d.ts +2 -2
  39. package/dist/cjs/management/core/auth/BasicAuth.js +7 -1
  40. package/dist/cjs/management/core/fetcher/BinaryResponse.d.ts +1 -1
  41. package/dist/cjs/management/core/fetcher/Fetcher.d.ts +2 -0
  42. package/dist/cjs/management/core/fetcher/Fetcher.js +5 -1
  43. package/dist/cjs/management/core/fetcher/index.d.ts +2 -0
  44. package/dist/cjs/management/core/fetcher/index.js +3 -1
  45. package/dist/cjs/management/core/fetcher/makePassthroughRequest.d.ts +49 -0
  46. package/dist/cjs/management/core/fetcher/makePassthroughRequest.js +135 -0
  47. package/dist/cjs/management/core/fetcher/makeRequest.d.ts +6 -1
  48. package/dist/cjs/management/core/fetcher/makeRequest.js +30 -9
  49. package/dist/cjs/management/core/pagination/Page.d.ts +1 -1
  50. package/dist/cjs/management/core/pagination/index.d.ts +0 -1
  51. package/dist/cjs/management/core/pagination/index.js +1 -4
  52. package/dist/cjs/management/core/runtime/runtime.js +8 -7
  53. package/dist/cjs/management/errors/ManagementError.d.ts +3 -1
  54. package/dist/cjs/management/errors/ManagementError.js +4 -1
  55. package/dist/cjs/management/errors/ManagementTimeoutError.d.ts +4 -1
  56. package/dist/cjs/management/errors/ManagementTimeoutError.js +4 -1
  57. package/dist/cjs/management/errors/handleNonStatusCodeError.js +4 -1
  58. package/dist/cjs/management/version.d.ts +1 -1
  59. package/dist/cjs/management/version.js +1 -1
  60. package/dist/esm/management/Client.d.mts +12 -0
  61. package/dist/esm/management/Client.mjs +34 -0
  62. package/dist/esm/management/api/requests/requests.d.mts +181 -24
  63. package/dist/esm/management/api/resources/actions/client/Client.d.mts +2 -2
  64. package/dist/esm/management/api/resources/actions/client/Client.mjs +3 -3
  65. package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.d.mts +2 -2
  66. package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.mjs +2 -2
  67. package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +2 -2
  68. package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +4 -3
  69. package/dist/esm/management/api/resources/clients/client/Client.d.mts +46 -0
  70. package/dist/esm/management/api/resources/clients/client/Client.mjs +146 -1
  71. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.mts +43 -0
  72. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +152 -0
  73. package/dist/esm/management/api/resources/customDomains/client/Client.d.mts +30 -0
  74. package/dist/esm/management/api/resources/customDomains/client/Client.mjs +115 -0
  75. package/dist/esm/management/api/resources/eventStreams/client/Client.d.mts +1 -1
  76. package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +1 -1
  77. package/dist/esm/management/api/resources/groups/client/Client.d.mts +16 -0
  78. package/dist/esm/management/api/resources/groups/client/Client.mjs +57 -0
  79. package/dist/esm/management/api/resources/networkAcls/client/Client.d.mts +0 -2
  80. package/dist/esm/management/api/resources/networkAcls/client/Client.mjs +0 -2
  81. package/dist/esm/management/api/resources/organizations/client/Client.d.mts +3 -0
  82. package/dist/esm/management/api/resources/organizations/client/Client.mjs +5 -0
  83. package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.d.mts +95 -0
  84. package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.mjs +346 -0
  85. package/dist/esm/management/api/resources/organizations/resources/connections/client/index.d.mts +1 -0
  86. package/dist/esm/management/api/resources/organizations/resources/connections/client/index.mjs +1 -0
  87. package/dist/esm/management/api/resources/organizations/resources/connections/index.d.mts +1 -0
  88. package/dist/esm/management/api/resources/organizations/resources/connections/index.mjs +1 -0
  89. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.mts +3 -1
  90. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +3 -1
  91. package/dist/esm/management/api/resources/organizations/resources/index.d.mts +1 -0
  92. package/dist/esm/management/api/resources/organizations/resources/index.mjs +1 -0
  93. package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +23 -0
  94. package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +88 -0
  95. package/dist/esm/management/api/types/types.d.mts +673 -322
  96. package/dist/esm/management/api/types/types.mjs +170 -124
  97. package/dist/esm/management/core/auth/BasicAuth.d.mts +2 -2
  98. package/dist/esm/management/core/auth/BasicAuth.mjs +7 -1
  99. package/dist/esm/management/core/fetcher/BinaryResponse.d.mts +1 -1
  100. package/dist/esm/management/core/fetcher/Fetcher.d.mts +2 -0
  101. package/dist/esm/management/core/fetcher/Fetcher.mjs +5 -1
  102. package/dist/esm/management/core/fetcher/index.d.mts +2 -0
  103. package/dist/esm/management/core/fetcher/index.mjs +1 -0
  104. package/dist/esm/management/core/fetcher/makePassthroughRequest.d.mts +49 -0
  105. package/dist/esm/management/core/fetcher/makePassthroughRequest.mjs +132 -0
  106. package/dist/esm/management/core/fetcher/makeRequest.d.mts +6 -1
  107. package/dist/esm/management/core/fetcher/makeRequest.mjs +28 -9
  108. package/dist/esm/management/core/pagination/Page.d.mts +1 -1
  109. package/dist/esm/management/core/pagination/index.d.mts +0 -1
  110. package/dist/esm/management/core/pagination/index.mjs +0 -1
  111. package/dist/esm/management/core/runtime/runtime.mjs +8 -7
  112. package/dist/esm/management/errors/ManagementError.d.mts +3 -1
  113. package/dist/esm/management/errors/ManagementError.mjs +4 -1
  114. package/dist/esm/management/errors/ManagementTimeoutError.d.mts +4 -1
  115. package/dist/esm/management/errors/ManagementTimeoutError.mjs +4 -1
  116. package/dist/esm/management/errors/handleNonStatusCodeError.mjs +4 -1
  117. package/dist/esm/management/version.d.mts +1 -1
  118. package/dist/esm/management/version.mjs +1 -1
  119. package/package.json +5 -6
  120. package/reference.md +958 -68
  121. package/dist/cjs/management/core/pagination/CustomPager.d.ts +0 -67
  122. package/dist/cjs/management/core/pagination/CustomPager.js +0 -194
  123. package/dist/esm/management/core/pagination/CustomPager.d.mts +0 -67
  124. package/dist/esm/management/core/pagination/CustomPager.mjs +0 -189
@@ -77,14 +77,15 @@ class ClientGrantsClient {
77
77
  * audience: "audience",
78
78
  * client_id: "client_id",
79
79
  * allow_any_organization: true,
80
- * subject_type: "client"
80
+ * subject_type: "client",
81
+ * default_for: "third_party_clients"
81
82
  * })
82
83
  */
83
84
  list() {
84
85
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
85
86
  const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
86
87
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
87
- const { from: from_, take = 50, audience, client_id: clientId, allow_any_organization: allowAnyOrganization, subject_type: subjectType, } = request;
88
+ const { from: from_, take = 50, audience, client_id: clientId, allow_any_organization: allowAnyOrganization, subject_type: subjectType, default_for: defaultFor, } = request;
88
89
  const _queryParams = {
89
90
  from: from_,
90
91
  take,
@@ -92,6 +93,7 @@ class ClientGrantsClient {
92
93
  client_id: clientId,
93
94
  allow_any_organization: allowAnyOrganization,
94
95
  subject_type: subjectType !== undefined ? subjectType : undefined,
96
+ default_for: defaultFor !== undefined ? defaultFor : undefined,
95
97
  };
96
98
  const _authRequest = yield this._options.authProvider.getAuthRequest();
97
99
  let _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
@@ -157,7 +159,6 @@ class ClientGrantsClient {
157
159
  *
158
160
  * @example
159
161
  * await client.clientGrants.create({
160
- * client_id: "client_id",
161
162
  * audience: "audience"
162
163
  * })
163
164
  */
@@ -69,6 +69,7 @@ export declare class ClientsClient {
69
69
  * is_global: true,
70
70
  * is_first_party: true,
71
71
  * app_type: "app_type",
72
+ * external_client_id: "external_client_id",
72
73
  * q: "q"
73
74
  * })
74
75
  */
@@ -105,6 +106,51 @@ export declare class ClientsClient {
105
106
  */
106
107
  create(request: Management.CreateClientRequestContent, requestOptions?: ClientsClient.RequestOptions): core.HttpResponsePromise<Management.CreateClientResponseContent>;
107
108
  private __create;
109
+ /**
110
+ *
111
+ * Fetches and validates a Client ID Metadata Document without creating a client.
112
+ * Returns the raw metadata and how it would be mapped to Auth0 client fields.
113
+ * This endpoint is useful for testing metadata URIs before creating CIMD clients.
114
+ *
115
+ *
116
+ * @param {Management.PreviewCimdMetadataRequestContent} request
117
+ * @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
118
+ *
119
+ * @throws {@link Management.BadRequestError}
120
+ * @throws {@link Management.UnauthorizedError}
121
+ * @throws {@link Management.ForbiddenError}
122
+ * @throws {@link Management.TooManyRequestsError}
123
+ * @throws {@link Management.InternalServerError}
124
+ *
125
+ * @example
126
+ * await client.clients.previewCimdMetadata({
127
+ * external_client_id: "external_client_id"
128
+ * })
129
+ */
130
+ previewCimdMetadata(request: Management.PreviewCimdMetadataRequestContent, requestOptions?: ClientsClient.RequestOptions): core.HttpResponsePromise<Management.PreviewCimdMetadataResponseContent>;
131
+ private __previewCimdMetadata;
132
+ /**
133
+ *
134
+ * Idempotent registration for Client ID Metadata Document (CIMD) clients.
135
+ * Uses external_client_id as the unique identifier for upsert operations.
136
+ * **Create:** Returns 201 when a new client is created (requires \
137
+ *
138
+ * @param {Management.RegisterCimdClientRequestContent} request
139
+ * @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
140
+ *
141
+ * @throws {@link Management.BadRequestError}
142
+ * @throws {@link Management.UnauthorizedError}
143
+ * @throws {@link Management.ForbiddenError}
144
+ * @throws {@link Management.TooManyRequestsError}
145
+ * @throws {@link Management.InternalServerError}
146
+ *
147
+ * @example
148
+ * await client.clients.registerCimdClient({
149
+ * external_client_id: "external_client_id"
150
+ * })
151
+ */
152
+ registerCimdClient(request: Management.RegisterCimdClientRequestContent, requestOptions?: ClientsClient.RequestOptions): core.HttpResponsePromise<Management.RegisterCimdClientResponseContent>;
153
+ private __registerCimdClient;
108
154
  /**
109
155
  * Retrieve client details by ID. Clients are SSO connections or Applications linked with your Auth0 tenant. A list of fields to include or exclude may also be specified.
110
156
  * For more information, read <a href="https://www.auth0.com/docs/get-started/applications"> Applications in Auth0</a> and <a href="https://www.auth0.com/docs/authenticate/single-sign-on"> Single Sign-On</a>.
@@ -118,6 +118,7 @@ class ClientsClient {
118
118
  * is_global: true,
119
119
  * is_first_party: true,
120
120
  * app_type: "app_type",
121
+ * external_client_id: "external_client_id",
121
122
  * q: "q"
122
123
  * })
123
124
  */
@@ -125,7 +126,7 @@ class ClientsClient {
125
126
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
126
127
  const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
127
128
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
128
- const { fields, include_fields: includeFields, page = 0, per_page: perPage = 50, include_totals: includeTotals = true, is_global: isGlobal, is_first_party: isFirstParty, app_type: appType, q, } = request;
129
+ const { fields, include_fields: includeFields, page = 0, per_page: perPage = 50, include_totals: includeTotals = true, is_global: isGlobal, is_first_party: isFirstParty, app_type: appType, external_client_id: externalClientId, q, } = request;
129
130
  const _queryParams = {
130
131
  fields,
131
132
  include_fields: includeFields,
@@ -135,6 +136,7 @@ class ClientsClient {
135
136
  is_global: isGlobal,
136
137
  is_first_party: isFirstParty,
137
138
  app_type: appType,
139
+ external_client_id: externalClientId,
138
140
  q,
139
141
  };
140
142
  const _authRequest = yield this._options.authProvider.getAuthRequest();
@@ -271,6 +273,149 @@ class ClientsClient {
271
273
  return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/clients");
272
274
  });
273
275
  }
276
+ /**
277
+ *
278
+ * Fetches and validates a Client ID Metadata Document without creating a client.
279
+ * Returns the raw metadata and how it would be mapped to Auth0 client fields.
280
+ * This endpoint is useful for testing metadata URIs before creating CIMD clients.
281
+ *
282
+ *
283
+ * @param {Management.PreviewCimdMetadataRequestContent} request
284
+ * @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
285
+ *
286
+ * @throws {@link Management.BadRequestError}
287
+ * @throws {@link Management.UnauthorizedError}
288
+ * @throws {@link Management.ForbiddenError}
289
+ * @throws {@link Management.TooManyRequestsError}
290
+ * @throws {@link Management.InternalServerError}
291
+ *
292
+ * @example
293
+ * await client.clients.previewCimdMetadata({
294
+ * external_client_id: "external_client_id"
295
+ * })
296
+ */
297
+ previewCimdMetadata(request, requestOptions) {
298
+ return core.HttpResponsePromise.fromPromise(this.__previewCimdMetadata(request, requestOptions));
299
+ }
300
+ __previewCimdMetadata(request, requestOptions) {
301
+ return __awaiter(this, void 0, void 0, function* () {
302
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
303
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
304
+ let _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
305
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
306
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "clients/cimd/preview"),
307
+ method: "POST",
308
+ headers: _headers,
309
+ contentType: "application/json",
310
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
311
+ requestType: "json",
312
+ body: request,
313
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
314
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
315
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
316
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
317
+ logging: this._options.logging,
318
+ });
319
+ if (_response.ok) {
320
+ return {
321
+ data: _response.body,
322
+ rawResponse: _response.rawResponse,
323
+ };
324
+ }
325
+ if (_response.error.reason === "status-code") {
326
+ switch (_response.error.statusCode) {
327
+ case 400:
328
+ throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
329
+ case 401:
330
+ throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
331
+ case 403:
332
+ throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
333
+ case 429:
334
+ throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
335
+ case 500:
336
+ throw new Management.InternalServerError(_response.error.body, _response.rawResponse);
337
+ default:
338
+ throw new errors.ManagementError({
339
+ statusCode: _response.error.statusCode,
340
+ body: _response.error.body,
341
+ rawResponse: _response.rawResponse,
342
+ });
343
+ }
344
+ }
345
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/clients/cimd/preview");
346
+ });
347
+ }
348
+ /**
349
+ *
350
+ * Idempotent registration for Client ID Metadata Document (CIMD) clients.
351
+ * Uses external_client_id as the unique identifier for upsert operations.
352
+ * **Create:** Returns 201 when a new client is created (requires \
353
+ *
354
+ * @param {Management.RegisterCimdClientRequestContent} request
355
+ * @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
356
+ *
357
+ * @throws {@link Management.BadRequestError}
358
+ * @throws {@link Management.UnauthorizedError}
359
+ * @throws {@link Management.ForbiddenError}
360
+ * @throws {@link Management.TooManyRequestsError}
361
+ * @throws {@link Management.InternalServerError}
362
+ *
363
+ * @example
364
+ * await client.clients.registerCimdClient({
365
+ * external_client_id: "external_client_id"
366
+ * })
367
+ */
368
+ registerCimdClient(request, requestOptions) {
369
+ return core.HttpResponsePromise.fromPromise(this.__registerCimdClient(request, requestOptions));
370
+ }
371
+ __registerCimdClient(request, requestOptions) {
372
+ return __awaiter(this, void 0, void 0, function* () {
373
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
374
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
375
+ let _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
376
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
377
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "clients/cimd/register"),
378
+ method: "POST",
379
+ headers: _headers,
380
+ contentType: "application/json",
381
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
382
+ requestType: "json",
383
+ body: request,
384
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
385
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
386
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
387
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
388
+ logging: this._options.logging,
389
+ });
390
+ if (_response.ok) {
391
+ return {
392
+ data: _response.body,
393
+ rawResponse: _response.rawResponse,
394
+ };
395
+ }
396
+ if (_response.error.reason === "status-code") {
397
+ switch (_response.error.statusCode) {
398
+ case 400:
399
+ throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
400
+ case 401:
401
+ throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
402
+ case 403:
403
+ throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
404
+ case 429:
405
+ throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
406
+ case 500:
407
+ throw new Management.InternalServerError(_response.error.body, _response.rawResponse);
408
+ default:
409
+ throw new errors.ManagementError({
410
+ statusCode: _response.error.statusCode,
411
+ body: _response.error.body,
412
+ rawResponse: _response.rawResponse,
413
+ });
414
+ }
415
+ }
416
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/clients/cimd/register");
417
+ });
418
+ }
274
419
  /**
275
420
  * Retrieve client details by ID. Clients are SSO connections or Applications linked with your Auth0 tenant. A list of fields to include or exclude may also be specified.
276
421
  * For more information, read <a href="https://www.auth0.com/docs/get-started/applications"> Applications in Auth0</a> and <a href="https://www.auth0.com/docs/authenticate/single-sign-on"> Single Sign-On</a>.
@@ -119,4 +119,47 @@ export declare class DirectoryProvisioningClient {
119
119
  */
120
120
  getDefaultMapping(id: string, requestOptions?: DirectoryProvisioningClient.RequestOptions): core.HttpResponsePromise<Management.GetDirectoryProvisioningDefaultMappingResponseContent>;
121
121
  private __getDefaultMapping;
122
+ /**
123
+ * Retrieve the configured synchronized groups for a connection directory provisioning configuration.
124
+ *
125
+ * @param {string} id - The id of the connection to list synchronized groups for.
126
+ * @param {Management.ListSynchronizedGroupsRequestParameters} request
127
+ * @param {DirectoryProvisioningClient.RequestOptions} requestOptions - Request-specific configuration.
128
+ *
129
+ * @throws {@link Management.BadRequestError}
130
+ * @throws {@link Management.UnauthorizedError}
131
+ * @throws {@link Management.ForbiddenError}
132
+ * @throws {@link Management.NotFoundError}
133
+ * @throws {@link Management.TooManyRequestsError}
134
+ *
135
+ * @example
136
+ * await client.connections.directoryProvisioning.listSynchronizedGroups("id", {
137
+ * from: "from",
138
+ * take: 1
139
+ * })
140
+ */
141
+ listSynchronizedGroups(id: string, request?: Management.ListSynchronizedGroupsRequestParameters, requestOptions?: DirectoryProvisioningClient.RequestOptions): Promise<core.Page<Management.SynchronizedGroupPayload, Management.ListSynchronizedGroupsResponseContent>>;
142
+ /**
143
+ * Create or replace the selected groups for a connection directory provisioning configuration.
144
+ *
145
+ * @param {string} id - The id of the connection to create or replace synchronized groups for
146
+ * @param {Management.ReplaceSynchronizedGroupsRequestContent} request
147
+ * @param {DirectoryProvisioningClient.RequestOptions} requestOptions - Request-specific configuration.
148
+ *
149
+ * @throws {@link Management.BadRequestError}
150
+ * @throws {@link Management.UnauthorizedError}
151
+ * @throws {@link Management.ForbiddenError}
152
+ * @throws {@link Management.NotFoundError}
153
+ * @throws {@link Management.ConflictError}
154
+ * @throws {@link Management.TooManyRequestsError}
155
+ *
156
+ * @example
157
+ * await client.connections.directoryProvisioning.set("id", {
158
+ * groups: [{
159
+ * id: "id"
160
+ * }]
161
+ * })
162
+ */
163
+ set(id: string, request: Management.ReplaceSynchronizedGroupsRequestContent, requestOptions?: DirectoryProvisioningClient.RequestOptions): core.HttpResponsePromise<void>;
164
+ private __set;
122
165
  }
@@ -460,5 +460,157 @@ class DirectoryProvisioningClient {
460
460
  return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/connections/{id}/directory-provisioning/default-mapping");
461
461
  });
462
462
  }
463
+ /**
464
+ * Retrieve the configured synchronized groups for a connection directory provisioning configuration.
465
+ *
466
+ * @param {string} id - The id of the connection to list synchronized groups for.
467
+ * @param {Management.ListSynchronizedGroupsRequestParameters} request
468
+ * @param {DirectoryProvisioningClient.RequestOptions} requestOptions - Request-specific configuration.
469
+ *
470
+ * @throws {@link Management.BadRequestError}
471
+ * @throws {@link Management.UnauthorizedError}
472
+ * @throws {@link Management.ForbiddenError}
473
+ * @throws {@link Management.NotFoundError}
474
+ * @throws {@link Management.TooManyRequestsError}
475
+ *
476
+ * @example
477
+ * await client.connections.directoryProvisioning.listSynchronizedGroups("id", {
478
+ * from: "from",
479
+ * take: 1
480
+ * })
481
+ */
482
+ listSynchronizedGroups(id_1) {
483
+ return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
484
+ const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
485
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
486
+ const { from: from_, take = 50 } = request;
487
+ const _queryParams = {
488
+ from: from_,
489
+ take,
490
+ };
491
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
492
+ let _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
493
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
494
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `connections/${core.url.encodePathParam(id)}/directory-provisioning/synchronized-groups`),
495
+ method: "GET",
496
+ headers: _headers,
497
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
498
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
499
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
500
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
501
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
502
+ logging: this._options.logging,
503
+ });
504
+ if (_response.ok) {
505
+ return {
506
+ data: _response.body,
507
+ rawResponse: _response.rawResponse,
508
+ };
509
+ }
510
+ if (_response.error.reason === "status-code") {
511
+ switch (_response.error.statusCode) {
512
+ case 400:
513
+ throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
514
+ case 401:
515
+ throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
516
+ case 403:
517
+ throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
518
+ case 404:
519
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
520
+ case 429:
521
+ throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
522
+ default:
523
+ throw new errors.ManagementError({
524
+ statusCode: _response.error.statusCode,
525
+ body: _response.error.body,
526
+ rawResponse: _response.rawResponse,
527
+ });
528
+ }
529
+ }
530
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/connections/{id}/directory-provisioning/synchronized-groups");
531
+ }));
532
+ const dataWithRawResponse = yield list(request).withRawResponse();
533
+ return new core.Page({
534
+ response: dataWithRawResponse.data,
535
+ rawResponse: dataWithRawResponse.rawResponse,
536
+ hasNextPage: (response) => (response === null || response === void 0 ? void 0 : response.next) != null && !(typeof (response === null || response === void 0 ? void 0 : response.next) === "string" && (response === null || response === void 0 ? void 0 : response.next) === ""),
537
+ getItems: (response) => { var _a; return (_a = response === null || response === void 0 ? void 0 : response.groups) !== null && _a !== void 0 ? _a : []; },
538
+ loadPage: (response) => {
539
+ return list(core.setObjectProperty(request, "from", response === null || response === void 0 ? void 0 : response.next));
540
+ },
541
+ });
542
+ });
543
+ }
544
+ /**
545
+ * Create or replace the selected groups for a connection directory provisioning configuration.
546
+ *
547
+ * @param {string} id - The id of the connection to create or replace synchronized groups for
548
+ * @param {Management.ReplaceSynchronizedGroupsRequestContent} request
549
+ * @param {DirectoryProvisioningClient.RequestOptions} requestOptions - Request-specific configuration.
550
+ *
551
+ * @throws {@link Management.BadRequestError}
552
+ * @throws {@link Management.UnauthorizedError}
553
+ * @throws {@link Management.ForbiddenError}
554
+ * @throws {@link Management.NotFoundError}
555
+ * @throws {@link Management.ConflictError}
556
+ * @throws {@link Management.TooManyRequestsError}
557
+ *
558
+ * @example
559
+ * await client.connections.directoryProvisioning.set("id", {
560
+ * groups: [{
561
+ * id: "id"
562
+ * }]
563
+ * })
564
+ */
565
+ set(id, request, requestOptions) {
566
+ return core.HttpResponsePromise.fromPromise(this.__set(id, request, requestOptions));
567
+ }
568
+ __set(id, request, requestOptions) {
569
+ return __awaiter(this, void 0, void 0, function* () {
570
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
571
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
572
+ let _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
573
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
574
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `connections/${core.url.encodePathParam(id)}/directory-provisioning/synchronized-groups`),
575
+ method: "PUT",
576
+ headers: _headers,
577
+ contentType: "application/json",
578
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
579
+ requestType: "json",
580
+ body: request,
581
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
582
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
583
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
584
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
585
+ logging: this._options.logging,
586
+ });
587
+ if (_response.ok) {
588
+ return { data: undefined, rawResponse: _response.rawResponse };
589
+ }
590
+ if (_response.error.reason === "status-code") {
591
+ switch (_response.error.statusCode) {
592
+ case 400:
593
+ throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
594
+ case 401:
595
+ throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
596
+ case 403:
597
+ throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
598
+ case 404:
599
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
600
+ case 409:
601
+ throw new Management.ConflictError(_response.error.body, _response.rawResponse);
602
+ case 429:
603
+ throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
604
+ default:
605
+ throw new errors.ManagementError({
606
+ statusCode: _response.error.statusCode,
607
+ body: _response.error.body,
608
+ rawResponse: _response.rawResponse,
609
+ });
610
+ }
611
+ }
612
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PUT", "/connections/{id}/directory-provisioning/synchronized-groups");
613
+ });
614
+ }
463
615
  }
464
616
  exports.DirectoryProvisioningClient = DirectoryProvisioningClient;
@@ -63,6 +63,36 @@ export declare class CustomDomainsClient {
63
63
  */
64
64
  create(request: Management.CreateCustomDomainRequestContent, requestOptions?: CustomDomainsClient.RequestOptions): core.HttpResponsePromise<Management.CreateCustomDomainResponseContent>;
65
65
  private __create;
66
+ /**
67
+ * Retrieve the tenant's default domain.
68
+ *
69
+ * @param {CustomDomainsClient.RequestOptions} requestOptions - Request-specific configuration.
70
+ *
71
+ * @throws {@link Management.UnauthorizedError}
72
+ * @throws {@link Management.ForbiddenError}
73
+ * @throws {@link Management.TooManyRequestsError}
74
+ *
75
+ * @example
76
+ * await client.customDomains.getDefault()
77
+ */
78
+ getDefault(requestOptions?: CustomDomainsClient.RequestOptions): core.HttpResponsePromise<Management.GetDefaultDomainResponseContent>;
79
+ private __getDefault;
80
+ /**
81
+ * Set the default custom domain for the tenant.
82
+ *
83
+ * @param {Management.SetDefaultCustomDomainRequestContent} request
84
+ * @param {CustomDomainsClient.RequestOptions} requestOptions - Request-specific configuration.
85
+ *
86
+ * @throws {@link Management.BadRequestError}
87
+ * @throws {@link Management.ForbiddenError}
88
+ *
89
+ * @example
90
+ * await client.customDomains.setDefault({
91
+ * domain: "domain"
92
+ * })
93
+ */
94
+ setDefault(request: Management.SetDefaultCustomDomainRequestContent, requestOptions?: CustomDomainsClient.RequestOptions): core.HttpResponsePromise<Management.UpdateDefaultDomainResponseContent>;
95
+ private __setDefault;
66
96
  /**
67
97
  * Retrieve a custom domain configuration and status.
68
98
  *
@@ -206,6 +206,121 @@ class CustomDomainsClient {
206
206
  return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/custom-domains");
207
207
  });
208
208
  }
209
+ /**
210
+ * Retrieve the tenant's default domain.
211
+ *
212
+ * @param {CustomDomainsClient.RequestOptions} requestOptions - Request-specific configuration.
213
+ *
214
+ * @throws {@link Management.UnauthorizedError}
215
+ * @throws {@link Management.ForbiddenError}
216
+ * @throws {@link Management.TooManyRequestsError}
217
+ *
218
+ * @example
219
+ * await client.customDomains.getDefault()
220
+ */
221
+ getDefault(requestOptions) {
222
+ return core.HttpResponsePromise.fromPromise(this.__getDefault(requestOptions));
223
+ }
224
+ __getDefault(requestOptions) {
225
+ return __awaiter(this, void 0, void 0, function* () {
226
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
227
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
228
+ let _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
229
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
230
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "custom-domains/default"),
231
+ method: "GET",
232
+ headers: _headers,
233
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
234
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
235
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
236
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
237
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
238
+ logging: this._options.logging,
239
+ });
240
+ if (_response.ok) {
241
+ return {
242
+ data: _response.body,
243
+ rawResponse: _response.rawResponse,
244
+ };
245
+ }
246
+ if (_response.error.reason === "status-code") {
247
+ switch (_response.error.statusCode) {
248
+ case 401:
249
+ throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
250
+ case 403:
251
+ throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
252
+ case 429:
253
+ throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
254
+ default:
255
+ throw new errors.ManagementError({
256
+ statusCode: _response.error.statusCode,
257
+ body: _response.error.body,
258
+ rawResponse: _response.rawResponse,
259
+ });
260
+ }
261
+ }
262
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/custom-domains/default");
263
+ });
264
+ }
265
+ /**
266
+ * Set the default custom domain for the tenant.
267
+ *
268
+ * @param {Management.SetDefaultCustomDomainRequestContent} request
269
+ * @param {CustomDomainsClient.RequestOptions} requestOptions - Request-specific configuration.
270
+ *
271
+ * @throws {@link Management.BadRequestError}
272
+ * @throws {@link Management.ForbiddenError}
273
+ *
274
+ * @example
275
+ * await client.customDomains.setDefault({
276
+ * domain: "domain"
277
+ * })
278
+ */
279
+ setDefault(request, requestOptions) {
280
+ return core.HttpResponsePromise.fromPromise(this.__setDefault(request, requestOptions));
281
+ }
282
+ __setDefault(request, requestOptions) {
283
+ return __awaiter(this, void 0, void 0, function* () {
284
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
285
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
286
+ let _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
287
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
288
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "custom-domains/default"),
289
+ method: "PATCH",
290
+ headers: _headers,
291
+ contentType: "application/json",
292
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
293
+ requestType: "json",
294
+ body: request,
295
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
296
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
297
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
298
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
299
+ logging: this._options.logging,
300
+ });
301
+ if (_response.ok) {
302
+ return {
303
+ data: _response.body,
304
+ rawResponse: _response.rawResponse,
305
+ };
306
+ }
307
+ if (_response.error.reason === "status-code") {
308
+ switch (_response.error.statusCode) {
309
+ case 400:
310
+ throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
311
+ case 403:
312
+ throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
313
+ default:
314
+ throw new errors.ManagementError({
315
+ statusCode: _response.error.statusCode,
316
+ body: _response.error.body,
317
+ rawResponse: _response.rawResponse,
318
+ });
319
+ }
320
+ }
321
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/custom-domains/default");
322
+ });
323
+ }
209
324
  /**
210
325
  * Retrieve a custom domain configuration and status.
211
326
  *
@@ -112,7 +112,7 @@ export declare class EventStreamsClient {
112
112
  *
113
113
  * @example
114
114
  * await client.eventStreams.test("id", {
115
- * event_type: "user.created"
115
+ * event_type: "group.created"
116
116
  * })
117
117
  */
118
118
  test(id: string, request: Management.CreateEventStreamTestEventRequestContent, requestOptions?: EventStreamsClient.RequestOptions): core.HttpResponsePromise<Management.CreateEventStreamTestEventResponseContent>;