@lumoauth/api-client 1.2.0 → 1.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.
Files changed (64) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +10 -4
  3. package/api/admin-email-api.ts +67 -15
  4. package/api/admin-oauth-clients-api.ts +370 -0
  5. package/api/oauth-api.ts +0 -186
  6. package/dist/api/admin-email-api.d.ts +41 -9
  7. package/dist/api/admin-email-api.js +34 -14
  8. package/dist/api/admin-oauth-clients-api.d.ts +210 -0
  9. package/dist/api/admin-oauth-clients-api.js +236 -0
  10. package/dist/api/oauth-api.d.ts +0 -110
  11. package/dist/api/oauth-api.js +0 -132
  12. package/dist/esm/api/admin-email-api.d.ts +41 -9
  13. package/dist/esm/api/admin-email-api.js +34 -14
  14. package/dist/esm/api/admin-oauth-clients-api.d.ts +210 -0
  15. package/dist/esm/api/admin-oauth-clients-api.js +236 -0
  16. package/dist/esm/api/oauth-api.d.ts +0 -110
  17. package/dist/esm/api/oauth-api.js +0 -132
  18. package/dist/esm/models/admin-clients-get-branding-response-data.d.ts +34 -0
  19. package/dist/esm/models/admin-clients-get-branding-response-data.js +14 -0
  20. package/dist/esm/models/admin-clients-get-branding-response.d.ts +25 -0
  21. package/dist/esm/models/admin-clients-get-branding-response.js +14 -0
  22. package/dist/esm/models/authorization-server-metadata.d.ts +0 -6
  23. package/dist/esm/models/index.d.ts +5 -0
  24. package/dist/esm/models/index.js +5 -0
  25. package/dist/esm/models/open-id-configuration.d.ts +6 -6
  26. package/dist/esm/models/patch-admin-clients-update-branding-response.d.ts +32 -0
  27. package/dist/esm/models/patch-admin-clients-update-branding-response.js +14 -0
  28. package/dist/esm/models/put-admin-clients-update-branding-request.d.ts +34 -0
  29. package/dist/esm/models/put-admin-clients-update-branding-request.js +14 -0
  30. package/dist/esm/models/put-admin-clients-update-branding-response.d.ts +32 -0
  31. package/dist/esm/models/put-admin-clients-update-branding-response.js +14 -0
  32. package/dist/models/admin-clients-get-branding-response-data.d.ts +34 -0
  33. package/dist/models/admin-clients-get-branding-response-data.js +15 -0
  34. package/dist/models/admin-clients-get-branding-response.d.ts +25 -0
  35. package/dist/models/admin-clients-get-branding-response.js +15 -0
  36. package/dist/models/authorization-server-metadata.d.ts +0 -6
  37. package/dist/models/index.d.ts +5 -0
  38. package/dist/models/index.js +5 -0
  39. package/dist/models/open-id-configuration.d.ts +6 -6
  40. package/dist/models/patch-admin-clients-update-branding-response.d.ts +32 -0
  41. package/dist/models/patch-admin-clients-update-branding-response.js +15 -0
  42. package/dist/models/put-admin-clients-update-branding-request.d.ts +34 -0
  43. package/dist/models/put-admin-clients-update-branding-request.js +15 -0
  44. package/dist/models/put-admin-clients-update-branding-response.d.ts +32 -0
  45. package/dist/models/put-admin-clients-update-branding-response.js +15 -0
  46. package/docs/AdminClientsGetBrandingResponse.md +20 -0
  47. package/docs/AdminClientsGetBrandingResponseData.md +22 -0
  48. package/docs/AdminEmailApi.md +15 -2
  49. package/docs/AdminOAuthClientsApi.md +174 -0
  50. package/docs/AuthorizationServerMetadata.md +0 -2
  51. package/docs/OAuthApi.md +0 -105
  52. package/docs/OpenIdConfiguration.md +2 -2
  53. package/docs/PatchAdminClientsUpdateBrandingResponse.md +22 -0
  54. package/docs/PutAdminClientsUpdateBrandingRequest.md +22 -0
  55. package/docs/PutAdminClientsUpdateBrandingResponse.md +22 -0
  56. package/models/admin-clients-get-branding-response-data.ts +36 -0
  57. package/models/admin-clients-get-branding-response.ts +33 -0
  58. package/models/authorization-server-metadata.ts +0 -6
  59. package/models/index.ts +5 -0
  60. package/models/open-id-configuration.ts +6 -6
  61. package/models/patch-admin-clients-update-branding-response.ts +36 -0
  62. package/models/put-admin-clients-update-branding-request.ts +36 -0
  63. package/models/put-admin-clients-update-branding-response.ts +36 -0
  64. package/package.json +1 -1
@@ -37,10 +37,12 @@ export const AdminEmailApiAxiosParamCreator = function (configuration) {
37
37
  * @summary Remove the custom email template so the built-in default is used
38
38
  * @param {string} orgId
39
39
  * @param {string} type
40
+ * @param {string} [locale]
41
+ * @param {string} [clientId]
40
42
  * @param {*} [options] Override http request option.
41
43
  * @throws {RequiredError}
42
44
  */
43
- adminEmailTemplatesDelete: (orgId_1, type_1, ...args_1) => __awaiter(this, [orgId_1, type_1, ...args_1], void 0, function* (orgId, type, options = {}) {
45
+ adminEmailTemplatesDelete: (orgId_1, type_1, locale_1, clientId_1, ...args_1) => __awaiter(this, [orgId_1, type_1, locale_1, clientId_1, ...args_1], void 0, function* (orgId, type, locale, clientId, options = {}) {
44
46
  // verify required parameter 'orgId' is not null or undefined
45
47
  assertParamExists('adminEmailTemplatesDelete', 'orgId', orgId);
46
48
  // verify required parameter 'type' is not null or undefined
@@ -62,6 +64,12 @@ export const AdminEmailApiAxiosParamCreator = function (configuration) {
62
64
  // authentication BearerAuth required
63
65
  // http bearer authentication required
64
66
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
67
+ if (locale !== undefined) {
68
+ localVarQueryParameter['locale'] = locale;
69
+ }
70
+ if (clientId !== undefined) {
71
+ localVarQueryParameter['client_id'] = clientId;
72
+ }
65
73
  setSearchParams(localVarUrlObj, localVarQueryParameter);
66
74
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
67
75
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -75,10 +83,12 @@ export const AdminEmailApiAxiosParamCreator = function (configuration) {
75
83
  * @summary Get an email template (custom or built-in default)
76
84
  * @param {string} orgId
77
85
  * @param {string} type
86
+ * @param {string} [locale] Language variant (BCP 47, e.g. fr or pt-BR); omit for the variant used in every language
87
+ * @param {string} [clientId] Application variant (OAuth client_id); omit for the variant used by every application
78
88
  * @param {*} [options] Override http request option.
79
89
  * @throws {RequiredError}
80
90
  */
81
- adminEmailTemplatesGet: (orgId_1, type_1, ...args_1) => __awaiter(this, [orgId_1, type_1, ...args_1], void 0, function* (orgId, type, options = {}) {
91
+ adminEmailTemplatesGet: (orgId_1, type_1, locale_1, clientId_1, ...args_1) => __awaiter(this, [orgId_1, type_1, locale_1, clientId_1, ...args_1], void 0, function* (orgId, type, locale, clientId, options = {}) {
82
92
  // verify required parameter 'orgId' is not null or undefined
83
93
  assertParamExists('adminEmailTemplatesGet', 'orgId', orgId);
84
94
  // verify required parameter 'type' is not null or undefined
@@ -100,6 +110,12 @@ export const AdminEmailApiAxiosParamCreator = function (configuration) {
100
110
  // authentication BearerAuth required
101
111
  // http bearer authentication required
102
112
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
113
+ if (locale !== undefined) {
114
+ localVarQueryParameter['locale'] = locale;
115
+ }
116
+ if (clientId !== undefined) {
117
+ localVarQueryParameter['client_id'] = clientId;
118
+ }
103
119
  setSearchParams(localVarUrlObj, localVarQueryParameter);
104
120
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
105
121
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -181,7 +197,7 @@ export const AdminEmailApiAxiosParamCreator = function (configuration) {
181
197
  };
182
198
  }),
183
199
  /**
184
- *
200
+ * Body: subject, body_html, and optionally locale (BCP 47) and client_id to save a language- or application-specific version. Mails use the most specific version: application + language, application, language, then the default.
185
201
  * @summary Create or replace the custom email template for a type
186
202
  * @param {string} orgId
187
203
  * @param {string} type
@@ -270,13 +286,15 @@ export const AdminEmailApiFp = function (configuration) {
270
286
  * @summary Remove the custom email template so the built-in default is used
271
287
  * @param {string} orgId
272
288
  * @param {string} type
289
+ * @param {string} [locale]
290
+ * @param {string} [clientId]
273
291
  * @param {*} [options] Override http request option.
274
292
  * @throws {RequiredError}
275
293
  */
276
- adminEmailTemplatesDelete(orgId, type, options) {
294
+ adminEmailTemplatesDelete(orgId, type, locale, clientId, options) {
277
295
  return __awaiter(this, void 0, void 0, function* () {
278
296
  var _a, _b, _c;
279
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminEmailTemplatesDelete(orgId, type, options);
297
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminEmailTemplatesDelete(orgId, type, locale, clientId, options);
280
298
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
281
299
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AdminEmailApi.adminEmailTemplatesDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
282
300
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -287,13 +305,15 @@ export const AdminEmailApiFp = function (configuration) {
287
305
  * @summary Get an email template (custom or built-in default)
288
306
  * @param {string} orgId
289
307
  * @param {string} type
308
+ * @param {string} [locale] Language variant (BCP 47, e.g. fr or pt-BR); omit for the variant used in every language
309
+ * @param {string} [clientId] Application variant (OAuth client_id); omit for the variant used by every application
290
310
  * @param {*} [options] Override http request option.
291
311
  * @throws {RequiredError}
292
312
  */
293
- adminEmailTemplatesGet(orgId, type, options) {
313
+ adminEmailTemplatesGet(orgId, type, locale, clientId, options) {
294
314
  return __awaiter(this, void 0, void 0, function* () {
295
315
  var _a, _b, _c;
296
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminEmailTemplatesGet(orgId, type, options);
316
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminEmailTemplatesGet(orgId, type, locale, clientId, options);
297
317
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
298
318
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AdminEmailApi.adminEmailTemplatesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
299
319
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -333,7 +353,7 @@ export const AdminEmailApiFp = function (configuration) {
333
353
  });
334
354
  },
335
355
  /**
336
- *
356
+ * Body: subject, body_html, and optionally locale (BCP 47) and client_id to save a language- or application-specific version. Mails use the most specific version: application + language, application, language, then the default.
337
357
  * @summary Create or replace the custom email template for a type
338
358
  * @param {string} orgId
339
359
  * @param {string} type
@@ -383,7 +403,7 @@ export const AdminEmailApiFactory = function (configuration, basePath, axios) {
383
403
  * @throws {RequiredError}
384
404
  */
385
405
  adminEmailTemplatesDelete(requestParameters, options) {
386
- return localVarFp.adminEmailTemplatesDelete(requestParameters.orgId, requestParameters.type, options).then((request) => request(axios, basePath));
406
+ return localVarFp.adminEmailTemplatesDelete(requestParameters.orgId, requestParameters.type, requestParameters.locale, requestParameters.clientId, options).then((request) => request(axios, basePath));
387
407
  },
388
408
  /**
389
409
  *
@@ -393,7 +413,7 @@ export const AdminEmailApiFactory = function (configuration, basePath, axios) {
393
413
  * @throws {RequiredError}
394
414
  */
395
415
  adminEmailTemplatesGet(requestParameters, options) {
396
- return localVarFp.adminEmailTemplatesGet(requestParameters.orgId, requestParameters.type, options).then((request) => request(axios, basePath));
416
+ return localVarFp.adminEmailTemplatesGet(requestParameters.orgId, requestParameters.type, requestParameters.locale, requestParameters.clientId, options).then((request) => request(axios, basePath));
397
417
  },
398
418
  /**
399
419
  *
@@ -416,7 +436,7 @@ export const AdminEmailApiFactory = function (configuration, basePath, axios) {
416
436
  return localVarFp.adminEmailTemplatesPreview(requestParameters.orgId, requestParameters.type, options).then((request) => request(axios, basePath));
417
437
  },
418
438
  /**
419
- *
439
+ * Body: subject, body_html, and optionally locale (BCP 47) and client_id to save a language- or application-specific version. Mails use the most specific version: application + language, application, language, then the default.
420
440
  * @summary Create or replace the custom email template for a type
421
441
  * @param {AdminEmailApiAdminEmailTemplatesUpsertRequest} requestParameters Request parameters.
422
442
  * @param {*} [options] Override http request option.
@@ -453,7 +473,7 @@ export class AdminEmailApi extends BaseAPI {
453
473
  * @memberof AdminEmailApi
454
474
  */
455
475
  adminEmailTemplatesDelete(requestParameters, options) {
456
- return AdminEmailApiFp(this.configuration).adminEmailTemplatesDelete(requestParameters.orgId, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
476
+ return AdminEmailApiFp(this.configuration).adminEmailTemplatesDelete(requestParameters.orgId, requestParameters.type, requestParameters.locale, requestParameters.clientId, options).then((request) => request(this.axios, this.basePath));
457
477
  }
458
478
  /**
459
479
  *
@@ -464,7 +484,7 @@ export class AdminEmailApi extends BaseAPI {
464
484
  * @memberof AdminEmailApi
465
485
  */
466
486
  adminEmailTemplatesGet(requestParameters, options) {
467
- return AdminEmailApiFp(this.configuration).adminEmailTemplatesGet(requestParameters.orgId, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
487
+ return AdminEmailApiFp(this.configuration).adminEmailTemplatesGet(requestParameters.orgId, requestParameters.type, requestParameters.locale, requestParameters.clientId, options).then((request) => request(this.axios, this.basePath));
468
488
  }
469
489
  /**
470
490
  *
@@ -489,7 +509,7 @@ export class AdminEmailApi extends BaseAPI {
489
509
  return AdminEmailApiFp(this.configuration).adminEmailTemplatesPreview(requestParameters.orgId, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
490
510
  }
491
511
  /**
492
- *
512
+ * Body: subject, body_html, and optionally locale (BCP 47) and client_id to save a language- or application-specific version. Mails use the most specific version: application + language, application, language, then the default.
493
513
  * @summary Create or replace the custom email template for a type
494
514
  * @param {AdminEmailApiAdminEmailTemplatesUpsertRequest} requestParameters Request parameters.
495
515
  * @param {*} [options] Override http request option.
@@ -14,11 +14,16 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { AdminClientsCimdCheckRequest } from '../models';
16
16
  import type { AdminClientsCimdCheckResponse } from '../models';
17
+ import type { AdminClientsGetBrandingResponse } from '../models';
18
+ import type { AdminClientsGetBrandingResponseData } from '../models';
17
19
  import type { CreateClientResponse } from '../models';
18
20
  import type { GetClientResponse } from '../models';
19
21
  import type { ListClientScopesResponse } from '../models';
20
22
  import type { ListClientsResponse } from '../models';
21
23
  import type { MessageResponse } from '../models';
24
+ import type { PatchAdminClientsUpdateBrandingResponse } from '../models';
25
+ import type { PutAdminClientsUpdateBrandingRequest } from '../models';
26
+ import type { PutAdminClientsUpdateBrandingResponse } from '../models';
22
27
  import type { RotateClientSecretResponse } from '../models';
23
28
  import type { SetClientScopesResponse } from '../models';
24
29
  import type { UpdateClientResponse } from '../models';
@@ -36,6 +41,15 @@ export declare const AdminOAuthClientsApiAxiosParamCreator: (configuration?: Con
36
41
  * @throws {RequiredError}
37
42
  */
38
43
  adminClientsCimdCheck: (orgId: string, adminClientsCimdCheckRequest: AdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
44
+ /**
45
+ * Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
46
+ * @summary Get an OAuth client\'s login and consent page branding
47
+ * @param {string} orgId
48
+ * @param {string} clientId
49
+ * @param {*} [options] Override http request option.
50
+ * @throws {RequiredError}
51
+ */
52
+ adminClientsGetBranding: (orgId: string, clientId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
53
  /**
40
54
  *
41
55
  * @summary Create an OAuth client
@@ -97,6 +111,16 @@ export declare const AdminOAuthClientsApiAxiosParamCreator: (configuration?: Con
97
111
  * @throws {RequiredError}
98
112
  */
99
113
  listClients: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
114
+ /**
115
+ *
116
+ * @summary Change keys of an OAuth client\'s login and/or consent page branding
117
+ * @param {string} orgId
118
+ * @param {string} clientId
119
+ * @param {AdminClientsGetBrandingResponseData} [adminClientsGetBrandingResponseData]
120
+ * @param {*} [options] Override http request option.
121
+ * @throws {RequiredError}
122
+ */
123
+ patchAdminClientsUpdateBranding: (orgId: string, clientId: string, adminClientsGetBrandingResponseData?: AdminClientsGetBrandingResponseData, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
100
124
  /**
101
125
  *
102
126
  * @summary Update an OAuth client
@@ -106,6 +130,16 @@ export declare const AdminOAuthClientsApiAxiosParamCreator: (configuration?: Con
106
130
  * @throws {RequiredError}
107
131
  */
108
132
  patchClient: (orgId: string, clientId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
133
+ /**
134
+ *
135
+ * @summary Replace an OAuth client\'s login and/or consent page branding
136
+ * @param {string} orgId
137
+ * @param {string} clientId
138
+ * @param {PutAdminClientsUpdateBrandingRequest} [putAdminClientsUpdateBrandingRequest]
139
+ * @param {*} [options] Override http request option.
140
+ * @throws {RequiredError}
141
+ */
142
+ putAdminClientsUpdateBranding: (orgId: string, clientId: string, putAdminClientsUpdateBrandingRequest?: PutAdminClientsUpdateBrandingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
109
143
  /**
110
144
  *
111
145
  * @summary Rotate an OAuth client secret
@@ -148,6 +182,15 @@ export declare const AdminOAuthClientsApiFp: (configuration?: Configuration) =>
148
182
  * @throws {RequiredError}
149
183
  */
150
184
  adminClientsCimdCheck(orgId: string, adminClientsCimdCheckRequest: AdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminClientsCimdCheckResponse>>;
185
+ /**
186
+ * Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
187
+ * @summary Get an OAuth client\'s login and consent page branding
188
+ * @param {string} orgId
189
+ * @param {string} clientId
190
+ * @param {*} [options] Override http request option.
191
+ * @throws {RequiredError}
192
+ */
193
+ adminClientsGetBranding(orgId: string, clientId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminClientsGetBrandingResponse>>;
151
194
  /**
152
195
  *
153
196
  * @summary Create an OAuth client
@@ -209,6 +252,16 @@ export declare const AdminOAuthClientsApiFp: (configuration?: Configuration) =>
209
252
  * @throws {RequiredError}
210
253
  */
211
254
  listClients(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClientsResponse>>;
255
+ /**
256
+ *
257
+ * @summary Change keys of an OAuth client\'s login and/or consent page branding
258
+ * @param {string} orgId
259
+ * @param {string} clientId
260
+ * @param {AdminClientsGetBrandingResponseData} [adminClientsGetBrandingResponseData]
261
+ * @param {*} [options] Override http request option.
262
+ * @throws {RequiredError}
263
+ */
264
+ patchAdminClientsUpdateBranding(orgId: string, clientId: string, adminClientsGetBrandingResponseData?: AdminClientsGetBrandingResponseData, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchAdminClientsUpdateBrandingResponse>>;
212
265
  /**
213
266
  *
214
267
  * @summary Update an OAuth client
@@ -218,6 +271,16 @@ export declare const AdminOAuthClientsApiFp: (configuration?: Configuration) =>
218
271
  * @throws {RequiredError}
219
272
  */
220
273
  patchClient(orgId: string, clientId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClientResponse>>;
274
+ /**
275
+ *
276
+ * @summary Replace an OAuth client\'s login and/or consent page branding
277
+ * @param {string} orgId
278
+ * @param {string} clientId
279
+ * @param {PutAdminClientsUpdateBrandingRequest} [putAdminClientsUpdateBrandingRequest]
280
+ * @param {*} [options] Override http request option.
281
+ * @throws {RequiredError}
282
+ */
283
+ putAdminClientsUpdateBranding(orgId: string, clientId: string, putAdminClientsUpdateBrandingRequest?: PutAdminClientsUpdateBrandingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PutAdminClientsUpdateBrandingResponse>>;
221
284
  /**
222
285
  *
223
286
  * @summary Rotate an OAuth client secret
@@ -259,6 +322,14 @@ export declare const AdminOAuthClientsApiFactory: (configuration?: Configuration
259
322
  * @throws {RequiredError}
260
323
  */
261
324
  adminClientsCimdCheck(requestParameters: AdminOAuthClientsApiAdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminClientsCimdCheckResponse>;
325
+ /**
326
+ * Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
327
+ * @summary Get an OAuth client\'s login and consent page branding
328
+ * @param {AdminOAuthClientsApiAdminClientsGetBrandingRequest} requestParameters Request parameters.
329
+ * @param {*} [options] Override http request option.
330
+ * @throws {RequiredError}
331
+ */
332
+ adminClientsGetBranding(requestParameters: AdminOAuthClientsApiAdminClientsGetBrandingRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminClientsGetBrandingResponse>;
262
333
  /**
263
334
  *
264
335
  * @summary Create an OAuth client
@@ -315,6 +386,14 @@ export declare const AdminOAuthClientsApiFactory: (configuration?: Configuration
315
386
  * @throws {RequiredError}
316
387
  */
317
388
  listClients(requestParameters: AdminOAuthClientsApiListClientsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListClientsResponse>;
389
+ /**
390
+ *
391
+ * @summary Change keys of an OAuth client\'s login and/or consent page branding
392
+ * @param {AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
393
+ * @param {*} [options] Override http request option.
394
+ * @throws {RequiredError}
395
+ */
396
+ patchAdminClientsUpdateBranding(requestParameters: AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest, options?: RawAxiosRequestConfig): AxiosPromise<PatchAdminClientsUpdateBrandingResponse>;
318
397
  /**
319
398
  *
320
399
  * @summary Update an OAuth client
@@ -323,6 +402,14 @@ export declare const AdminOAuthClientsApiFactory: (configuration?: Configuration
323
402
  * @throws {RequiredError}
324
403
  */
325
404
  patchClient(requestParameters: AdminOAuthClientsApiPatchClientRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateClientResponse>;
405
+ /**
406
+ *
407
+ * @summary Replace an OAuth client\'s login and/or consent page branding
408
+ * @param {AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
409
+ * @param {*} [options] Override http request option.
410
+ * @throws {RequiredError}
411
+ */
412
+ putAdminClientsUpdateBranding(requestParameters: AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest, options?: RawAxiosRequestConfig): AxiosPromise<PutAdminClientsUpdateBrandingResponse>;
326
413
  /**
327
414
  *
328
415
  * @summary Rotate an OAuth client secret
@@ -363,6 +450,15 @@ export interface AdminOAuthClientsApiInterface {
363
450
  * @memberof AdminOAuthClientsApiInterface
364
451
  */
365
452
  adminClientsCimdCheck(requestParameters: AdminOAuthClientsApiAdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminClientsCimdCheckResponse>;
453
+ /**
454
+ * Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
455
+ * @summary Get an OAuth client\'s login and consent page branding
456
+ * @param {AdminOAuthClientsApiAdminClientsGetBrandingRequest} requestParameters Request parameters.
457
+ * @param {*} [options] Override http request option.
458
+ * @throws {RequiredError}
459
+ * @memberof AdminOAuthClientsApiInterface
460
+ */
461
+ adminClientsGetBranding(requestParameters: AdminOAuthClientsApiAdminClientsGetBrandingRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminClientsGetBrandingResponse>;
366
462
  /**
367
463
  *
368
464
  * @summary Create an OAuth client
@@ -426,6 +522,15 @@ export interface AdminOAuthClientsApiInterface {
426
522
  * @memberof AdminOAuthClientsApiInterface
427
523
  */
428
524
  listClients(requestParameters: AdminOAuthClientsApiListClientsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListClientsResponse>;
525
+ /**
526
+ *
527
+ * @summary Change keys of an OAuth client\'s login and/or consent page branding
528
+ * @param {AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
529
+ * @param {*} [options] Override http request option.
530
+ * @throws {RequiredError}
531
+ * @memberof AdminOAuthClientsApiInterface
532
+ */
533
+ patchAdminClientsUpdateBranding(requestParameters: AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest, options?: RawAxiosRequestConfig): AxiosPromise<PatchAdminClientsUpdateBrandingResponse>;
429
534
  /**
430
535
  *
431
536
  * @summary Update an OAuth client
@@ -435,6 +540,15 @@ export interface AdminOAuthClientsApiInterface {
435
540
  * @memberof AdminOAuthClientsApiInterface
436
541
  */
437
542
  patchClient(requestParameters: AdminOAuthClientsApiPatchClientRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateClientResponse>;
543
+ /**
544
+ *
545
+ * @summary Replace an OAuth client\'s login and/or consent page branding
546
+ * @param {AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
547
+ * @param {*} [options] Override http request option.
548
+ * @throws {RequiredError}
549
+ * @memberof AdminOAuthClientsApiInterface
550
+ */
551
+ putAdminClientsUpdateBranding(requestParameters: AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest, options?: RawAxiosRequestConfig): AxiosPromise<PutAdminClientsUpdateBrandingResponse>;
438
552
  /**
439
553
  *
440
554
  * @summary Rotate an OAuth client secret
@@ -482,6 +596,25 @@ export interface AdminOAuthClientsApiAdminClientsCimdCheckRequest {
482
596
  */
483
597
  readonly adminClientsCimdCheckRequest: AdminClientsCimdCheckRequest;
484
598
  }
599
+ /**
600
+ * Request parameters for adminClientsGetBranding operation in AdminOAuthClientsApi.
601
+ * @export
602
+ * @interface AdminOAuthClientsApiAdminClientsGetBrandingRequest
603
+ */
604
+ export interface AdminOAuthClientsApiAdminClientsGetBrandingRequest {
605
+ /**
606
+ *
607
+ * @type {string}
608
+ * @memberof AdminOAuthClientsApiAdminClientsGetBranding
609
+ */
610
+ readonly orgId: string;
611
+ /**
612
+ *
613
+ * @type {string}
614
+ * @memberof AdminOAuthClientsApiAdminClientsGetBranding
615
+ */
616
+ readonly clientId: string;
617
+ }
485
618
  /**
486
619
  * Request parameters for createClient operation in AdminOAuthClientsApi.
487
620
  * @export
@@ -603,6 +736,31 @@ export interface AdminOAuthClientsApiListClientsRequest {
603
736
  */
604
737
  readonly orgId: string;
605
738
  }
739
+ /**
740
+ * Request parameters for patchAdminClientsUpdateBranding operation in AdminOAuthClientsApi.
741
+ * @export
742
+ * @interface AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest
743
+ */
744
+ export interface AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest {
745
+ /**
746
+ *
747
+ * @type {string}
748
+ * @memberof AdminOAuthClientsApiPatchAdminClientsUpdateBranding
749
+ */
750
+ readonly orgId: string;
751
+ /**
752
+ *
753
+ * @type {string}
754
+ * @memberof AdminOAuthClientsApiPatchAdminClientsUpdateBranding
755
+ */
756
+ readonly clientId: string;
757
+ /**
758
+ *
759
+ * @type {AdminClientsGetBrandingResponseData}
760
+ * @memberof AdminOAuthClientsApiPatchAdminClientsUpdateBranding
761
+ */
762
+ readonly adminClientsGetBrandingResponseData?: AdminClientsGetBrandingResponseData;
763
+ }
606
764
  /**
607
765
  * Request parameters for patchClient operation in AdminOAuthClientsApi.
608
766
  * @export
@@ -622,6 +780,31 @@ export interface AdminOAuthClientsApiPatchClientRequest {
622
780
  */
623
781
  readonly clientId: string;
624
782
  }
783
+ /**
784
+ * Request parameters for putAdminClientsUpdateBranding operation in AdminOAuthClientsApi.
785
+ * @export
786
+ * @interface AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest
787
+ */
788
+ export interface AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest {
789
+ /**
790
+ *
791
+ * @type {string}
792
+ * @memberof AdminOAuthClientsApiPutAdminClientsUpdateBranding
793
+ */
794
+ readonly orgId: string;
795
+ /**
796
+ *
797
+ * @type {string}
798
+ * @memberof AdminOAuthClientsApiPutAdminClientsUpdateBranding
799
+ */
800
+ readonly clientId: string;
801
+ /**
802
+ *
803
+ * @type {PutAdminClientsUpdateBrandingRequest}
804
+ * @memberof AdminOAuthClientsApiPutAdminClientsUpdateBranding
805
+ */
806
+ readonly putAdminClientsUpdateBrandingRequest?: PutAdminClientsUpdateBrandingRequest;
807
+ }
625
808
  /**
626
809
  * Request parameters for rotateClientSecret operation in AdminOAuthClientsApi.
627
810
  * @export
@@ -695,6 +878,15 @@ export declare class AdminOAuthClientsApi extends BaseAPI implements AdminOAuthC
695
878
  * @memberof AdminOAuthClientsApi
696
879
  */
697
880
  adminClientsCimdCheck(requestParameters: AdminOAuthClientsApiAdminClientsCimdCheckRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminClientsCimdCheckResponse, any, {}>>;
881
+ /**
882
+ * Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
883
+ * @summary Get an OAuth client\'s login and consent page branding
884
+ * @param {AdminOAuthClientsApiAdminClientsGetBrandingRequest} requestParameters Request parameters.
885
+ * @param {*} [options] Override http request option.
886
+ * @throws {RequiredError}
887
+ * @memberof AdminOAuthClientsApi
888
+ */
889
+ adminClientsGetBranding(requestParameters: AdminOAuthClientsApiAdminClientsGetBrandingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminClientsGetBrandingResponse, any, {}>>;
698
890
  /**
699
891
  *
700
892
  * @summary Create an OAuth client
@@ -758,6 +950,15 @@ export declare class AdminOAuthClientsApi extends BaseAPI implements AdminOAuthC
758
950
  * @memberof AdminOAuthClientsApi
759
951
  */
760
952
  listClients(requestParameters: AdminOAuthClientsApiListClientsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListClientsResponse, any, {}>>;
953
+ /**
954
+ *
955
+ * @summary Change keys of an OAuth client\'s login and/or consent page branding
956
+ * @param {AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
957
+ * @param {*} [options] Override http request option.
958
+ * @throws {RequiredError}
959
+ * @memberof AdminOAuthClientsApi
960
+ */
961
+ patchAdminClientsUpdateBranding(requestParameters: AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchAdminClientsUpdateBrandingResponse, any, {}>>;
761
962
  /**
762
963
  *
763
964
  * @summary Update an OAuth client
@@ -767,6 +968,15 @@ export declare class AdminOAuthClientsApi extends BaseAPI implements AdminOAuthC
767
968
  * @memberof AdminOAuthClientsApi
768
969
  */
769
970
  patchClient(requestParameters: AdminOAuthClientsApiPatchClientRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateClientResponse, any, {}>>;
971
+ /**
972
+ *
973
+ * @summary Replace an OAuth client\'s login and/or consent page branding
974
+ * @param {AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
975
+ * @param {*} [options] Override http request option.
976
+ * @throws {RequiredError}
977
+ * @memberof AdminOAuthClientsApi
978
+ */
979
+ putAdminClientsUpdateBranding(requestParameters: AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PutAdminClientsUpdateBrandingResponse, any, {}>>;
770
980
  /**
771
981
  *
772
982
  * @summary Rotate an OAuth client secret