@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.
- package/.openapi-generator/FILES +10 -0
- package/README.md +10 -4
- package/api/admin-email-api.ts +67 -15
- package/api/admin-oauth-clients-api.ts +370 -0
- package/api/oauth-api.ts +0 -186
- package/dist/api/admin-email-api.d.ts +41 -9
- package/dist/api/admin-email-api.js +34 -14
- package/dist/api/admin-oauth-clients-api.d.ts +210 -0
- package/dist/api/admin-oauth-clients-api.js +236 -0
- package/dist/api/oauth-api.d.ts +0 -110
- package/dist/api/oauth-api.js +0 -132
- package/dist/esm/api/admin-email-api.d.ts +41 -9
- package/dist/esm/api/admin-email-api.js +34 -14
- package/dist/esm/api/admin-oauth-clients-api.d.ts +210 -0
- package/dist/esm/api/admin-oauth-clients-api.js +236 -0
- package/dist/esm/api/oauth-api.d.ts +0 -110
- package/dist/esm/api/oauth-api.js +0 -132
- package/dist/esm/models/admin-clients-get-branding-response-data.d.ts +34 -0
- package/dist/esm/models/admin-clients-get-branding-response-data.js +14 -0
- package/dist/esm/models/admin-clients-get-branding-response.d.ts +25 -0
- package/dist/esm/models/admin-clients-get-branding-response.js +14 -0
- package/dist/esm/models/authorization-server-metadata.d.ts +0 -6
- package/dist/esm/models/index.d.ts +5 -0
- package/dist/esm/models/index.js +5 -0
- package/dist/esm/models/open-id-configuration.d.ts +6 -6
- package/dist/esm/models/patch-admin-clients-update-branding-response.d.ts +32 -0
- package/dist/esm/models/patch-admin-clients-update-branding-response.js +14 -0
- package/dist/esm/models/put-admin-clients-update-branding-request.d.ts +34 -0
- package/dist/esm/models/put-admin-clients-update-branding-request.js +14 -0
- package/dist/esm/models/put-admin-clients-update-branding-response.d.ts +32 -0
- package/dist/esm/models/put-admin-clients-update-branding-response.js +14 -0
- package/dist/models/admin-clients-get-branding-response-data.d.ts +34 -0
- package/dist/models/admin-clients-get-branding-response-data.js +15 -0
- package/dist/models/admin-clients-get-branding-response.d.ts +25 -0
- package/dist/models/admin-clients-get-branding-response.js +15 -0
- package/dist/models/authorization-server-metadata.d.ts +0 -6
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/open-id-configuration.d.ts +6 -6
- package/dist/models/patch-admin-clients-update-branding-response.d.ts +32 -0
- package/dist/models/patch-admin-clients-update-branding-response.js +15 -0
- package/dist/models/put-admin-clients-update-branding-request.d.ts +34 -0
- package/dist/models/put-admin-clients-update-branding-request.js +15 -0
- package/dist/models/put-admin-clients-update-branding-response.d.ts +32 -0
- package/dist/models/put-admin-clients-update-branding-response.js +15 -0
- package/docs/AdminClientsGetBrandingResponse.md +20 -0
- package/docs/AdminClientsGetBrandingResponseData.md +22 -0
- package/docs/AdminEmailApi.md +15 -2
- package/docs/AdminOAuthClientsApi.md +174 -0
- package/docs/AuthorizationServerMetadata.md +0 -2
- package/docs/OAuthApi.md +0 -105
- package/docs/OpenIdConfiguration.md +2 -2
- package/docs/PatchAdminClientsUpdateBrandingResponse.md +22 -0
- package/docs/PutAdminClientsUpdateBrandingRequest.md +22 -0
- package/docs/PutAdminClientsUpdateBrandingResponse.md +22 -0
- package/models/admin-clients-get-branding-response-data.ts +36 -0
- package/models/admin-clients-get-branding-response.ts +33 -0
- package/models/authorization-server-metadata.ts +0 -6
- package/models/index.ts +5 -0
- package/models/open-id-configuration.ts +6 -6
- package/models/patch-admin-clients-update-branding-response.ts +36 -0
- package/models/put-admin-clients-update-branding-request.ts +36 -0
- package/models/put-admin-clients-update-branding-response.ts +36 -0
- package/package.json +1 -1
|
@@ -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
|
|
@@ -74,6 +74,44 @@ const AdminOAuthClientsApiAxiosParamCreator = function (configuration) {
|
|
|
74
74
|
options: localVarRequestOptions,
|
|
75
75
|
};
|
|
76
76
|
}),
|
|
77
|
+
/**
|
|
78
|
+
* Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
79
|
+
* @summary Get an OAuth client\'s login and consent page branding
|
|
80
|
+
* @param {string} orgId
|
|
81
|
+
* @param {string} clientId
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
adminClientsGetBranding: (orgId_1, clientId_1, ...args_1) => __awaiter(this, [orgId_1, clientId_1, ...args_1], void 0, function* (orgId, clientId, options = {}) {
|
|
86
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
87
|
+
(0, common_1.assertParamExists)('adminClientsGetBranding', 'orgId', orgId);
|
|
88
|
+
// verify required parameter 'clientId' is not null or undefined
|
|
89
|
+
(0, common_1.assertParamExists)('adminClientsGetBranding', 'clientId', clientId);
|
|
90
|
+
const localVarPath = `/orgs/{orgId}/api/v1/admin/clients/{clientId}/branding`
|
|
91
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
92
|
+
.replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
|
|
93
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
94
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
95
|
+
let baseOptions;
|
|
96
|
+
if (configuration) {
|
|
97
|
+
baseOptions = configuration.baseOptions;
|
|
98
|
+
}
|
|
99
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
100
|
+
const localVarHeaderParameter = {};
|
|
101
|
+
const localVarQueryParameter = {};
|
|
102
|
+
// authentication ApiKeyAuth required
|
|
103
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-Key", configuration);
|
|
104
|
+
// authentication BearerAuth required
|
|
105
|
+
// http bearer authentication required
|
|
106
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
107
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
108
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
109
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
110
|
+
return {
|
|
111
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
112
|
+
options: localVarRequestOptions,
|
|
113
|
+
};
|
|
114
|
+
}),
|
|
77
115
|
/**
|
|
78
116
|
*
|
|
79
117
|
* @summary Create an OAuth client
|
|
@@ -332,6 +370,47 @@ const AdminOAuthClientsApiAxiosParamCreator = function (configuration) {
|
|
|
332
370
|
options: localVarRequestOptions,
|
|
333
371
|
};
|
|
334
372
|
}),
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @summary Change keys of an OAuth client\'s login and/or consent page branding
|
|
376
|
+
* @param {string} orgId
|
|
377
|
+
* @param {string} clientId
|
|
378
|
+
* @param {AdminClientsGetBrandingResponseData} [adminClientsGetBrandingResponseData]
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
*/
|
|
382
|
+
patchAdminClientsUpdateBranding: (orgId_1, clientId_1, adminClientsGetBrandingResponseData_1, ...args_1) => __awaiter(this, [orgId_1, clientId_1, adminClientsGetBrandingResponseData_1, ...args_1], void 0, function* (orgId, clientId, adminClientsGetBrandingResponseData, options = {}) {
|
|
383
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
384
|
+
(0, common_1.assertParamExists)('patchAdminClientsUpdateBranding', 'orgId', orgId);
|
|
385
|
+
// verify required parameter 'clientId' is not null or undefined
|
|
386
|
+
(0, common_1.assertParamExists)('patchAdminClientsUpdateBranding', 'clientId', clientId);
|
|
387
|
+
const localVarPath = `/orgs/{orgId}/api/v1/admin/clients/{clientId}/branding`
|
|
388
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
389
|
+
.replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
|
|
390
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
391
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
392
|
+
let baseOptions;
|
|
393
|
+
if (configuration) {
|
|
394
|
+
baseOptions = configuration.baseOptions;
|
|
395
|
+
}
|
|
396
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
397
|
+
const localVarHeaderParameter = {};
|
|
398
|
+
const localVarQueryParameter = {};
|
|
399
|
+
// authentication ApiKeyAuth required
|
|
400
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-Key", configuration);
|
|
401
|
+
// authentication BearerAuth required
|
|
402
|
+
// http bearer authentication required
|
|
403
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
404
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
405
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
406
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
407
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
408
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminClientsGetBrandingResponseData, localVarRequestOptions, configuration);
|
|
409
|
+
return {
|
|
410
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
411
|
+
options: localVarRequestOptions,
|
|
412
|
+
};
|
|
413
|
+
}),
|
|
335
414
|
/**
|
|
336
415
|
*
|
|
337
416
|
* @summary Update an OAuth client
|
|
@@ -370,6 +449,47 @@ const AdminOAuthClientsApiAxiosParamCreator = function (configuration) {
|
|
|
370
449
|
options: localVarRequestOptions,
|
|
371
450
|
};
|
|
372
451
|
}),
|
|
452
|
+
/**
|
|
453
|
+
*
|
|
454
|
+
* @summary Replace an OAuth client\'s login and/or consent page branding
|
|
455
|
+
* @param {string} orgId
|
|
456
|
+
* @param {string} clientId
|
|
457
|
+
* @param {PutAdminClientsUpdateBrandingRequest} [putAdminClientsUpdateBrandingRequest]
|
|
458
|
+
* @param {*} [options] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
putAdminClientsUpdateBranding: (orgId_1, clientId_1, putAdminClientsUpdateBrandingRequest_1, ...args_1) => __awaiter(this, [orgId_1, clientId_1, putAdminClientsUpdateBrandingRequest_1, ...args_1], void 0, function* (orgId, clientId, putAdminClientsUpdateBrandingRequest, options = {}) {
|
|
462
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
463
|
+
(0, common_1.assertParamExists)('putAdminClientsUpdateBranding', 'orgId', orgId);
|
|
464
|
+
// verify required parameter 'clientId' is not null or undefined
|
|
465
|
+
(0, common_1.assertParamExists)('putAdminClientsUpdateBranding', 'clientId', clientId);
|
|
466
|
+
const localVarPath = `/orgs/{orgId}/api/v1/admin/clients/{clientId}/branding`
|
|
467
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
468
|
+
.replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
|
|
469
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
470
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
471
|
+
let baseOptions;
|
|
472
|
+
if (configuration) {
|
|
473
|
+
baseOptions = configuration.baseOptions;
|
|
474
|
+
}
|
|
475
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
476
|
+
const localVarHeaderParameter = {};
|
|
477
|
+
const localVarQueryParameter = {};
|
|
478
|
+
// authentication ApiKeyAuth required
|
|
479
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-API-Key", configuration);
|
|
480
|
+
// authentication BearerAuth required
|
|
481
|
+
// http bearer authentication required
|
|
482
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
483
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
484
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
485
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
486
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
487
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(putAdminClientsUpdateBrandingRequest, localVarRequestOptions, configuration);
|
|
488
|
+
return {
|
|
489
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
490
|
+
options: localVarRequestOptions,
|
|
491
|
+
};
|
|
492
|
+
}),
|
|
373
493
|
/**
|
|
374
494
|
*
|
|
375
495
|
* @summary Rotate an OAuth client secret
|
|
@@ -511,6 +631,23 @@ const AdminOAuthClientsApiFp = function (configuration) {
|
|
|
511
631
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
512
632
|
});
|
|
513
633
|
},
|
|
634
|
+
/**
|
|
635
|
+
* Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
636
|
+
* @summary Get an OAuth client\'s login and consent page branding
|
|
637
|
+
* @param {string} orgId
|
|
638
|
+
* @param {string} clientId
|
|
639
|
+
* @param {*} [options] Override http request option.
|
|
640
|
+
* @throws {RequiredError}
|
|
641
|
+
*/
|
|
642
|
+
adminClientsGetBranding(orgId, clientId, options) {
|
|
643
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
644
|
+
var _a, _b, _c;
|
|
645
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminClientsGetBranding(orgId, clientId, options);
|
|
646
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
647
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminOAuthClientsApi.adminClientsGetBranding']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
648
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
649
|
+
});
|
|
650
|
+
},
|
|
514
651
|
/**
|
|
515
652
|
*
|
|
516
653
|
* @summary Create an OAuth client
|
|
@@ -628,6 +765,24 @@ const AdminOAuthClientsApiFp = function (configuration) {
|
|
|
628
765
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
629
766
|
});
|
|
630
767
|
},
|
|
768
|
+
/**
|
|
769
|
+
*
|
|
770
|
+
* @summary Change keys of an OAuth client\'s login and/or consent page branding
|
|
771
|
+
* @param {string} orgId
|
|
772
|
+
* @param {string} clientId
|
|
773
|
+
* @param {AdminClientsGetBrandingResponseData} [adminClientsGetBrandingResponseData]
|
|
774
|
+
* @param {*} [options] Override http request option.
|
|
775
|
+
* @throws {RequiredError}
|
|
776
|
+
*/
|
|
777
|
+
patchAdminClientsUpdateBranding(orgId, clientId, adminClientsGetBrandingResponseData, options) {
|
|
778
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
779
|
+
var _a, _b, _c;
|
|
780
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.patchAdminClientsUpdateBranding(orgId, clientId, adminClientsGetBrandingResponseData, options);
|
|
781
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
782
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminOAuthClientsApi.patchAdminClientsUpdateBranding']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
783
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
784
|
+
});
|
|
785
|
+
},
|
|
631
786
|
/**
|
|
632
787
|
*
|
|
633
788
|
* @summary Update an OAuth client
|
|
@@ -645,6 +800,24 @@ const AdminOAuthClientsApiFp = function (configuration) {
|
|
|
645
800
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
646
801
|
});
|
|
647
802
|
},
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @summary Replace an OAuth client\'s login and/or consent page branding
|
|
806
|
+
* @param {string} orgId
|
|
807
|
+
* @param {string} clientId
|
|
808
|
+
* @param {PutAdminClientsUpdateBrandingRequest} [putAdminClientsUpdateBrandingRequest]
|
|
809
|
+
* @param {*} [options] Override http request option.
|
|
810
|
+
* @throws {RequiredError}
|
|
811
|
+
*/
|
|
812
|
+
putAdminClientsUpdateBranding(orgId, clientId, putAdminClientsUpdateBrandingRequest, options) {
|
|
813
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
814
|
+
var _a, _b, _c;
|
|
815
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.putAdminClientsUpdateBranding(orgId, clientId, putAdminClientsUpdateBrandingRequest, options);
|
|
816
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
817
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminOAuthClientsApi.putAdminClientsUpdateBranding']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
818
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
819
|
+
});
|
|
820
|
+
},
|
|
648
821
|
/**
|
|
649
822
|
*
|
|
650
823
|
* @summary Rotate an OAuth client secret
|
|
@@ -716,6 +889,16 @@ const AdminOAuthClientsApiFactory = function (configuration, basePath, axios) {
|
|
|
716
889
|
adminClientsCimdCheck(requestParameters, options) {
|
|
717
890
|
return localVarFp.adminClientsCimdCheck(requestParameters.orgId, requestParameters.adminClientsCimdCheckRequest, options).then((request) => request(axios, basePath));
|
|
718
891
|
},
|
|
892
|
+
/**
|
|
893
|
+
* Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
894
|
+
* @summary Get an OAuth client\'s login and consent page branding
|
|
895
|
+
* @param {AdminOAuthClientsApiAdminClientsGetBrandingRequest} requestParameters Request parameters.
|
|
896
|
+
* @param {*} [options] Override http request option.
|
|
897
|
+
* @throws {RequiredError}
|
|
898
|
+
*/
|
|
899
|
+
adminClientsGetBranding(requestParameters, options) {
|
|
900
|
+
return localVarFp.adminClientsGetBranding(requestParameters.orgId, requestParameters.clientId, options).then((request) => request(axios, basePath));
|
|
901
|
+
},
|
|
719
902
|
/**
|
|
720
903
|
*
|
|
721
904
|
* @summary Create an OAuth client
|
|
@@ -786,6 +969,16 @@ const AdminOAuthClientsApiFactory = function (configuration, basePath, axios) {
|
|
|
786
969
|
listClients(requestParameters, options) {
|
|
787
970
|
return localVarFp.listClients(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
788
971
|
},
|
|
972
|
+
/**
|
|
973
|
+
*
|
|
974
|
+
* @summary Change keys of an OAuth client\'s login and/or consent page branding
|
|
975
|
+
* @param {AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
|
|
976
|
+
* @param {*} [options] Override http request option.
|
|
977
|
+
* @throws {RequiredError}
|
|
978
|
+
*/
|
|
979
|
+
patchAdminClientsUpdateBranding(requestParameters, options) {
|
|
980
|
+
return localVarFp.patchAdminClientsUpdateBranding(requestParameters.orgId, requestParameters.clientId, requestParameters.adminClientsGetBrandingResponseData, options).then((request) => request(axios, basePath));
|
|
981
|
+
},
|
|
789
982
|
/**
|
|
790
983
|
*
|
|
791
984
|
* @summary Update an OAuth client
|
|
@@ -796,6 +989,16 @@ const AdminOAuthClientsApiFactory = function (configuration, basePath, axios) {
|
|
|
796
989
|
patchClient(requestParameters, options) {
|
|
797
990
|
return localVarFp.patchClient(requestParameters.orgId, requestParameters.clientId, options).then((request) => request(axios, basePath));
|
|
798
991
|
},
|
|
992
|
+
/**
|
|
993
|
+
*
|
|
994
|
+
* @summary Replace an OAuth client\'s login and/or consent page branding
|
|
995
|
+
* @param {AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
|
|
996
|
+
* @param {*} [options] Override http request option.
|
|
997
|
+
* @throws {RequiredError}
|
|
998
|
+
*/
|
|
999
|
+
putAdminClientsUpdateBranding(requestParameters, options) {
|
|
1000
|
+
return localVarFp.putAdminClientsUpdateBranding(requestParameters.orgId, requestParameters.clientId, requestParameters.putAdminClientsUpdateBrandingRequest, options).then((request) => request(axios, basePath));
|
|
1001
|
+
},
|
|
799
1002
|
/**
|
|
800
1003
|
*
|
|
801
1004
|
* @summary Rotate an OAuth client secret
|
|
@@ -847,6 +1050,17 @@ class AdminOAuthClientsApi extends base_1.BaseAPI {
|
|
|
847
1050
|
adminClientsCimdCheck(requestParameters, options) {
|
|
848
1051
|
return (0, exports.AdminOAuthClientsApiFp)(this.configuration).adminClientsCimdCheck(requestParameters.orgId, requestParameters.adminClientsCimdCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
849
1052
|
}
|
|
1053
|
+
/**
|
|
1054
|
+
* Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
1055
|
+
* @summary Get an OAuth client\'s login and consent page branding
|
|
1056
|
+
* @param {AdminOAuthClientsApiAdminClientsGetBrandingRequest} requestParameters Request parameters.
|
|
1057
|
+
* @param {*} [options] Override http request option.
|
|
1058
|
+
* @throws {RequiredError}
|
|
1059
|
+
* @memberof AdminOAuthClientsApi
|
|
1060
|
+
*/
|
|
1061
|
+
adminClientsGetBranding(requestParameters, options) {
|
|
1062
|
+
return (0, exports.AdminOAuthClientsApiFp)(this.configuration).adminClientsGetBranding(requestParameters.orgId, requestParameters.clientId, options).then((request) => request(this.axios, this.basePath));
|
|
1063
|
+
}
|
|
850
1064
|
/**
|
|
851
1065
|
*
|
|
852
1066
|
* @summary Create an OAuth client
|
|
@@ -924,6 +1138,17 @@ class AdminOAuthClientsApi extends base_1.BaseAPI {
|
|
|
924
1138
|
listClients(requestParameters, options) {
|
|
925
1139
|
return (0, exports.AdminOAuthClientsApiFp)(this.configuration).listClients(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
926
1140
|
}
|
|
1141
|
+
/**
|
|
1142
|
+
*
|
|
1143
|
+
* @summary Change keys of an OAuth client\'s login and/or consent page branding
|
|
1144
|
+
* @param {AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
|
|
1145
|
+
* @param {*} [options] Override http request option.
|
|
1146
|
+
* @throws {RequiredError}
|
|
1147
|
+
* @memberof AdminOAuthClientsApi
|
|
1148
|
+
*/
|
|
1149
|
+
patchAdminClientsUpdateBranding(requestParameters, options) {
|
|
1150
|
+
return (0, exports.AdminOAuthClientsApiFp)(this.configuration).patchAdminClientsUpdateBranding(requestParameters.orgId, requestParameters.clientId, requestParameters.adminClientsGetBrandingResponseData, options).then((request) => request(this.axios, this.basePath));
|
|
1151
|
+
}
|
|
927
1152
|
/**
|
|
928
1153
|
*
|
|
929
1154
|
* @summary Update an OAuth client
|
|
@@ -935,6 +1160,17 @@ class AdminOAuthClientsApi extends base_1.BaseAPI {
|
|
|
935
1160
|
patchClient(requestParameters, options) {
|
|
936
1161
|
return (0, exports.AdminOAuthClientsApiFp)(this.configuration).patchClient(requestParameters.orgId, requestParameters.clientId, options).then((request) => request(this.axios, this.basePath));
|
|
937
1162
|
}
|
|
1163
|
+
/**
|
|
1164
|
+
*
|
|
1165
|
+
* @summary Replace an OAuth client\'s login and/or consent page branding
|
|
1166
|
+
* @param {AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
|
|
1167
|
+
* @param {*} [options] Override http request option.
|
|
1168
|
+
* @throws {RequiredError}
|
|
1169
|
+
* @memberof AdminOAuthClientsApi
|
|
1170
|
+
*/
|
|
1171
|
+
putAdminClientsUpdateBranding(requestParameters, options) {
|
|
1172
|
+
return (0, exports.AdminOAuthClientsApiFp)(this.configuration).putAdminClientsUpdateBranding(requestParameters.orgId, requestParameters.clientId, requestParameters.putAdminClientsUpdateBrandingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1173
|
+
}
|
|
938
1174
|
/**
|
|
939
1175
|
*
|
|
940
1176
|
* @summary Rotate an OAuth client secret
|