@lumoauth/api-client 1.2.0 → 1.4.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 +20 -0
- package/README.md +17 -4
- package/api/admin-agents-api.ts +130 -0
- package/api/admin-email-api.ts +67 -15
- package/api/admin-oauth-clients-api.ts +370 -0
- package/api/agents-api.ts +118 -0
- package/api/oauth-api.ts +0 -186
- package/dist/api/admin-agents-api.d.ts +73 -0
- package/dist/api/admin-agents-api.js +82 -0
- 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/agents-api.d.ts +65 -0
- package/dist/api/agents-api.js +77 -0
- package/dist/api/oauth-api.d.ts +0 -110
- package/dist/api/oauth-api.js +0 -132
- package/dist/esm/api/admin-agents-api.d.ts +73 -0
- package/dist/esm/api/admin-agents-api.js +82 -0
- 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/agents-api.d.ts +65 -0
- package/dist/esm/api/agents-api.js +77 -0
- package/dist/esm/api/oauth-api.d.ts +0 -110
- package/dist/esm/api/oauth-api.js +0 -132
- package/dist/esm/models/abac-attribute-definition.d.ts +1 -1
- package/dist/esm/models/abac-resource-attribute.d.ts +1 -1
- package/dist/esm/models/admin-agents-report-usage-request.d.ts +30 -0
- package/dist/esm/models/admin-agents-report-usage-request.js +14 -0
- package/dist/esm/models/admin-agents-report-usage-response-data-recorded.d.ts +30 -0
- package/dist/esm/models/admin-agents-report-usage-response-data-recorded.js +14 -0
- package/dist/esm/models/admin-agents-report-usage-response-data.d.ts +33 -0
- package/dist/esm/models/admin-agents-report-usage-response-data.js +14 -0
- package/dist/esm/models/admin-agents-report-usage-response.d.ts +25 -0
- package/dist/esm/models/admin-agents-report-usage-response.js +14 -0
- 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 +10 -0
- package/dist/esm/models/index.js +10 -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/esm/models/report-agent-usage-response.d.ts +33 -0
- package/dist/esm/models/report-agent-usage-response.js +14 -0
- package/dist/esm/models/set-user-attribute-response-data.d.ts +1 -1
- package/dist/esm/models/userinfo-response.d.ts +8 -0
- package/dist/models/abac-attribute-definition.d.ts +1 -1
- package/dist/models/abac-resource-attribute.d.ts +1 -1
- package/dist/models/admin-agents-report-usage-request.d.ts +30 -0
- package/dist/models/admin-agents-report-usage-request.js +15 -0
- package/dist/models/admin-agents-report-usage-response-data-recorded.d.ts +30 -0
- package/dist/models/admin-agents-report-usage-response-data-recorded.js +15 -0
- package/dist/models/admin-agents-report-usage-response-data.d.ts +33 -0
- package/dist/models/admin-agents-report-usage-response-data.js +15 -0
- package/dist/models/admin-agents-report-usage-response.d.ts +25 -0
- package/dist/models/admin-agents-report-usage-response.js +15 -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 +10 -0
- package/dist/models/index.js +10 -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/dist/models/report-agent-usage-response.d.ts +33 -0
- package/dist/models/report-agent-usage-response.js +15 -0
- package/dist/models/set-user-attribute-response-data.d.ts +1 -1
- package/dist/models/userinfo-response.d.ts +8 -0
- package/docs/AdminAgentsApi.md +63 -0
- package/docs/AdminAgentsReportUsageRequest.md +22 -0
- package/docs/AdminAgentsReportUsageResponse.md +20 -0
- package/docs/AdminAgentsReportUsageResponseData.md +22 -0
- package/docs/AdminAgentsReportUsageResponseDataRecorded.md +22 -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/AgentsApi.md +59 -0
- package/docs/AuthorizationServerMetadata.md +0 -2
- package/docs/OAuthApi.md +0 -105
- package/docs/OIDCApi.md +2 -2
- 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/docs/ReportAgentUsageResponse.md +22 -0
- package/docs/UserinfoResponse.md +2 -0
- package/models/abac-attribute-definition.ts +1 -1
- package/models/abac-resource-attribute.ts +1 -1
- package/models/admin-agents-report-usage-request.ts +36 -0
- package/models/admin-agents-report-usage-response-data-recorded.ts +36 -0
- package/models/admin-agents-report-usage-response-data.ts +39 -0
- package/models/admin-agents-report-usage-response.ts +33 -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 +10 -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/models/report-agent-usage-response.ts +39 -0
- package/models/set-user-attribute-response-data.ts +1 -1
- package/models/userinfo-response.ts +6 -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
|
|
@@ -71,6 +71,44 @@ export const AdminOAuthClientsApiAxiosParamCreator = function (configuration) {
|
|
|
71
71
|
options: localVarRequestOptions,
|
|
72
72
|
};
|
|
73
73
|
}),
|
|
74
|
+
/**
|
|
75
|
+
* Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
76
|
+
* @summary Get an OAuth client\'s login and consent page branding
|
|
77
|
+
* @param {string} orgId
|
|
78
|
+
* @param {string} clientId
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
adminClientsGetBranding: (orgId_1, clientId_1, ...args_1) => __awaiter(this, [orgId_1, clientId_1, ...args_1], void 0, function* (orgId, clientId, options = {}) {
|
|
83
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
84
|
+
assertParamExists('adminClientsGetBranding', 'orgId', orgId);
|
|
85
|
+
// verify required parameter 'clientId' is not null or undefined
|
|
86
|
+
assertParamExists('adminClientsGetBranding', 'clientId', clientId);
|
|
87
|
+
const localVarPath = `/orgs/{orgId}/api/v1/admin/clients/{clientId}/branding`
|
|
88
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
89
|
+
.replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
|
|
90
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
91
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
92
|
+
let baseOptions;
|
|
93
|
+
if (configuration) {
|
|
94
|
+
baseOptions = configuration.baseOptions;
|
|
95
|
+
}
|
|
96
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
97
|
+
const localVarHeaderParameter = {};
|
|
98
|
+
const localVarQueryParameter = {};
|
|
99
|
+
// authentication ApiKeyAuth required
|
|
100
|
+
yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
|
|
101
|
+
// authentication BearerAuth required
|
|
102
|
+
// http bearer authentication required
|
|
103
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
107
|
+
return {
|
|
108
|
+
url: toPathString(localVarUrlObj),
|
|
109
|
+
options: localVarRequestOptions,
|
|
110
|
+
};
|
|
111
|
+
}),
|
|
74
112
|
/**
|
|
75
113
|
*
|
|
76
114
|
* @summary Create an OAuth client
|
|
@@ -329,6 +367,47 @@ export const AdminOAuthClientsApiAxiosParamCreator = function (configuration) {
|
|
|
329
367
|
options: localVarRequestOptions,
|
|
330
368
|
};
|
|
331
369
|
}),
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @summary Change keys of an OAuth client\'s login and/or consent page branding
|
|
373
|
+
* @param {string} orgId
|
|
374
|
+
* @param {string} clientId
|
|
375
|
+
* @param {AdminClientsGetBrandingResponseData} [adminClientsGetBrandingResponseData]
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
*/
|
|
379
|
+
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 = {}) {
|
|
380
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
381
|
+
assertParamExists('patchAdminClientsUpdateBranding', 'orgId', orgId);
|
|
382
|
+
// verify required parameter 'clientId' is not null or undefined
|
|
383
|
+
assertParamExists('patchAdminClientsUpdateBranding', 'clientId', clientId);
|
|
384
|
+
const localVarPath = `/orgs/{orgId}/api/v1/admin/clients/{clientId}/branding`
|
|
385
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
386
|
+
.replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
|
|
387
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
388
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
389
|
+
let baseOptions;
|
|
390
|
+
if (configuration) {
|
|
391
|
+
baseOptions = configuration.baseOptions;
|
|
392
|
+
}
|
|
393
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
394
|
+
const localVarHeaderParameter = {};
|
|
395
|
+
const localVarQueryParameter = {};
|
|
396
|
+
// authentication ApiKeyAuth required
|
|
397
|
+
yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
|
|
398
|
+
// authentication BearerAuth required
|
|
399
|
+
// http bearer authentication required
|
|
400
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
401
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
402
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
403
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
404
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
405
|
+
localVarRequestOptions.data = serializeDataIfNeeded(adminClientsGetBrandingResponseData, localVarRequestOptions, configuration);
|
|
406
|
+
return {
|
|
407
|
+
url: toPathString(localVarUrlObj),
|
|
408
|
+
options: localVarRequestOptions,
|
|
409
|
+
};
|
|
410
|
+
}),
|
|
332
411
|
/**
|
|
333
412
|
*
|
|
334
413
|
* @summary Update an OAuth client
|
|
@@ -367,6 +446,47 @@ export const AdminOAuthClientsApiAxiosParamCreator = function (configuration) {
|
|
|
367
446
|
options: localVarRequestOptions,
|
|
368
447
|
};
|
|
369
448
|
}),
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
* @summary Replace an OAuth client\'s login and/or consent page branding
|
|
452
|
+
* @param {string} orgId
|
|
453
|
+
* @param {string} clientId
|
|
454
|
+
* @param {PutAdminClientsUpdateBrandingRequest} [putAdminClientsUpdateBrandingRequest]
|
|
455
|
+
* @param {*} [options] Override http request option.
|
|
456
|
+
* @throws {RequiredError}
|
|
457
|
+
*/
|
|
458
|
+
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 = {}) {
|
|
459
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
460
|
+
assertParamExists('putAdminClientsUpdateBranding', 'orgId', orgId);
|
|
461
|
+
// verify required parameter 'clientId' is not null or undefined
|
|
462
|
+
assertParamExists('putAdminClientsUpdateBranding', 'clientId', clientId);
|
|
463
|
+
const localVarPath = `/orgs/{orgId}/api/v1/admin/clients/{clientId}/branding`
|
|
464
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
465
|
+
.replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
|
|
466
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
467
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
468
|
+
let baseOptions;
|
|
469
|
+
if (configuration) {
|
|
470
|
+
baseOptions = configuration.baseOptions;
|
|
471
|
+
}
|
|
472
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
473
|
+
const localVarHeaderParameter = {};
|
|
474
|
+
const localVarQueryParameter = {};
|
|
475
|
+
// authentication ApiKeyAuth required
|
|
476
|
+
yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
|
|
477
|
+
// authentication BearerAuth required
|
|
478
|
+
// http bearer authentication required
|
|
479
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
480
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
481
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
482
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
483
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
484
|
+
localVarRequestOptions.data = serializeDataIfNeeded(putAdminClientsUpdateBrandingRequest, localVarRequestOptions, configuration);
|
|
485
|
+
return {
|
|
486
|
+
url: toPathString(localVarUrlObj),
|
|
487
|
+
options: localVarRequestOptions,
|
|
488
|
+
};
|
|
489
|
+
}),
|
|
370
490
|
/**
|
|
371
491
|
*
|
|
372
492
|
* @summary Rotate an OAuth client secret
|
|
@@ -507,6 +627,23 @@ export const AdminOAuthClientsApiFp = function (configuration) {
|
|
|
507
627
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
508
628
|
});
|
|
509
629
|
},
|
|
630
|
+
/**
|
|
631
|
+
* Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
632
|
+
* @summary Get an OAuth client\'s login and consent page branding
|
|
633
|
+
* @param {string} orgId
|
|
634
|
+
* @param {string} clientId
|
|
635
|
+
* @param {*} [options] Override http request option.
|
|
636
|
+
* @throws {RequiredError}
|
|
637
|
+
*/
|
|
638
|
+
adminClientsGetBranding(orgId, clientId, options) {
|
|
639
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
640
|
+
var _a, _b, _c;
|
|
641
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminClientsGetBranding(orgId, clientId, options);
|
|
642
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
643
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AdminOAuthClientsApi.adminClientsGetBranding']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
644
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
645
|
+
});
|
|
646
|
+
},
|
|
510
647
|
/**
|
|
511
648
|
*
|
|
512
649
|
* @summary Create an OAuth client
|
|
@@ -624,6 +761,24 @@ export const AdminOAuthClientsApiFp = function (configuration) {
|
|
|
624
761
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
625
762
|
});
|
|
626
763
|
},
|
|
764
|
+
/**
|
|
765
|
+
*
|
|
766
|
+
* @summary Change keys of an OAuth client\'s login and/or consent page branding
|
|
767
|
+
* @param {string} orgId
|
|
768
|
+
* @param {string} clientId
|
|
769
|
+
* @param {AdminClientsGetBrandingResponseData} [adminClientsGetBrandingResponseData]
|
|
770
|
+
* @param {*} [options] Override http request option.
|
|
771
|
+
* @throws {RequiredError}
|
|
772
|
+
*/
|
|
773
|
+
patchAdminClientsUpdateBranding(orgId, clientId, adminClientsGetBrandingResponseData, options) {
|
|
774
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
775
|
+
var _a, _b, _c;
|
|
776
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.patchAdminClientsUpdateBranding(orgId, clientId, adminClientsGetBrandingResponseData, options);
|
|
777
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
778
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AdminOAuthClientsApi.patchAdminClientsUpdateBranding']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
779
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
780
|
+
});
|
|
781
|
+
},
|
|
627
782
|
/**
|
|
628
783
|
*
|
|
629
784
|
* @summary Update an OAuth client
|
|
@@ -641,6 +796,24 @@ export const AdminOAuthClientsApiFp = function (configuration) {
|
|
|
641
796
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
642
797
|
});
|
|
643
798
|
},
|
|
799
|
+
/**
|
|
800
|
+
*
|
|
801
|
+
* @summary Replace an OAuth client\'s login and/or consent page branding
|
|
802
|
+
* @param {string} orgId
|
|
803
|
+
* @param {string} clientId
|
|
804
|
+
* @param {PutAdminClientsUpdateBrandingRequest} [putAdminClientsUpdateBrandingRequest]
|
|
805
|
+
* @param {*} [options] Override http request option.
|
|
806
|
+
* @throws {RequiredError}
|
|
807
|
+
*/
|
|
808
|
+
putAdminClientsUpdateBranding(orgId, clientId, putAdminClientsUpdateBrandingRequest, options) {
|
|
809
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
810
|
+
var _a, _b, _c;
|
|
811
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.putAdminClientsUpdateBranding(orgId, clientId, putAdminClientsUpdateBrandingRequest, options);
|
|
812
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
813
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AdminOAuthClientsApi.putAdminClientsUpdateBranding']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
814
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
815
|
+
});
|
|
816
|
+
},
|
|
644
817
|
/**
|
|
645
818
|
*
|
|
646
819
|
* @summary Rotate an OAuth client secret
|
|
@@ -711,6 +884,16 @@ export const AdminOAuthClientsApiFactory = function (configuration, basePath, ax
|
|
|
711
884
|
adminClientsCimdCheck(requestParameters, options) {
|
|
712
885
|
return localVarFp.adminClientsCimdCheck(requestParameters.orgId, requestParameters.adminClientsCimdCheckRequest, options).then((request) => request(axios, basePath));
|
|
713
886
|
},
|
|
887
|
+
/**
|
|
888
|
+
* Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
889
|
+
* @summary Get an OAuth client\'s login and consent page branding
|
|
890
|
+
* @param {AdminOAuthClientsApiAdminClientsGetBrandingRequest} requestParameters Request parameters.
|
|
891
|
+
* @param {*} [options] Override http request option.
|
|
892
|
+
* @throws {RequiredError}
|
|
893
|
+
*/
|
|
894
|
+
adminClientsGetBranding(requestParameters, options) {
|
|
895
|
+
return localVarFp.adminClientsGetBranding(requestParameters.orgId, requestParameters.clientId, options).then((request) => request(axios, basePath));
|
|
896
|
+
},
|
|
714
897
|
/**
|
|
715
898
|
*
|
|
716
899
|
* @summary Create an OAuth client
|
|
@@ -781,6 +964,16 @@ export const AdminOAuthClientsApiFactory = function (configuration, basePath, ax
|
|
|
781
964
|
listClients(requestParameters, options) {
|
|
782
965
|
return localVarFp.listClients(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
783
966
|
},
|
|
967
|
+
/**
|
|
968
|
+
*
|
|
969
|
+
* @summary Change keys of an OAuth client\'s login and/or consent page branding
|
|
970
|
+
* @param {AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
|
|
971
|
+
* @param {*} [options] Override http request option.
|
|
972
|
+
* @throws {RequiredError}
|
|
973
|
+
*/
|
|
974
|
+
patchAdminClientsUpdateBranding(requestParameters, options) {
|
|
975
|
+
return localVarFp.patchAdminClientsUpdateBranding(requestParameters.orgId, requestParameters.clientId, requestParameters.adminClientsGetBrandingResponseData, options).then((request) => request(axios, basePath));
|
|
976
|
+
},
|
|
784
977
|
/**
|
|
785
978
|
*
|
|
786
979
|
* @summary Update an OAuth client
|
|
@@ -791,6 +984,16 @@ export const AdminOAuthClientsApiFactory = function (configuration, basePath, ax
|
|
|
791
984
|
patchClient(requestParameters, options) {
|
|
792
985
|
return localVarFp.patchClient(requestParameters.orgId, requestParameters.clientId, options).then((request) => request(axios, basePath));
|
|
793
986
|
},
|
|
987
|
+
/**
|
|
988
|
+
*
|
|
989
|
+
* @summary Replace an OAuth client\'s login and/or consent page branding
|
|
990
|
+
* @param {AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
|
|
991
|
+
* @param {*} [options] Override http request option.
|
|
992
|
+
* @throws {RequiredError}
|
|
993
|
+
*/
|
|
994
|
+
putAdminClientsUpdateBranding(requestParameters, options) {
|
|
995
|
+
return localVarFp.putAdminClientsUpdateBranding(requestParameters.orgId, requestParameters.clientId, requestParameters.putAdminClientsUpdateBrandingRequest, options).then((request) => request(axios, basePath));
|
|
996
|
+
},
|
|
794
997
|
/**
|
|
795
998
|
*
|
|
796
999
|
* @summary Rotate an OAuth client secret
|
|
@@ -841,6 +1044,17 @@ export class AdminOAuthClientsApi extends BaseAPI {
|
|
|
841
1044
|
adminClientsCimdCheck(requestParameters, options) {
|
|
842
1045
|
return AdminOAuthClientsApiFp(this.configuration).adminClientsCimdCheck(requestParameters.orgId, requestParameters.adminClientsCimdCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
843
1046
|
}
|
|
1047
|
+
/**
|
|
1048
|
+
* Login settings use the same keys as the organization branding settings (GET /settings/branding); a missing or null value means \"same as the organization\".
|
|
1049
|
+
* @summary Get an OAuth client\'s login and consent page branding
|
|
1050
|
+
* @param {AdminOAuthClientsApiAdminClientsGetBrandingRequest} requestParameters Request parameters.
|
|
1051
|
+
* @param {*} [options] Override http request option.
|
|
1052
|
+
* @throws {RequiredError}
|
|
1053
|
+
* @memberof AdminOAuthClientsApi
|
|
1054
|
+
*/
|
|
1055
|
+
adminClientsGetBranding(requestParameters, options) {
|
|
1056
|
+
return AdminOAuthClientsApiFp(this.configuration).adminClientsGetBranding(requestParameters.orgId, requestParameters.clientId, options).then((request) => request(this.axios, this.basePath));
|
|
1057
|
+
}
|
|
844
1058
|
/**
|
|
845
1059
|
*
|
|
846
1060
|
* @summary Create an OAuth client
|
|
@@ -918,6 +1132,17 @@ export class AdminOAuthClientsApi extends BaseAPI {
|
|
|
918
1132
|
listClients(requestParameters, options) {
|
|
919
1133
|
return AdminOAuthClientsApiFp(this.configuration).listClients(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
920
1134
|
}
|
|
1135
|
+
/**
|
|
1136
|
+
*
|
|
1137
|
+
* @summary Change keys of an OAuth client\'s login and/or consent page branding
|
|
1138
|
+
* @param {AdminOAuthClientsApiPatchAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
|
|
1139
|
+
* @param {*} [options] Override http request option.
|
|
1140
|
+
* @throws {RequiredError}
|
|
1141
|
+
* @memberof AdminOAuthClientsApi
|
|
1142
|
+
*/
|
|
1143
|
+
patchAdminClientsUpdateBranding(requestParameters, options) {
|
|
1144
|
+
return AdminOAuthClientsApiFp(this.configuration).patchAdminClientsUpdateBranding(requestParameters.orgId, requestParameters.clientId, requestParameters.adminClientsGetBrandingResponseData, options).then((request) => request(this.axios, this.basePath));
|
|
1145
|
+
}
|
|
921
1146
|
/**
|
|
922
1147
|
*
|
|
923
1148
|
* @summary Update an OAuth client
|
|
@@ -929,6 +1154,17 @@ export class AdminOAuthClientsApi extends BaseAPI {
|
|
|
929
1154
|
patchClient(requestParameters, options) {
|
|
930
1155
|
return AdminOAuthClientsApiFp(this.configuration).patchClient(requestParameters.orgId, requestParameters.clientId, options).then((request) => request(this.axios, this.basePath));
|
|
931
1156
|
}
|
|
1157
|
+
/**
|
|
1158
|
+
*
|
|
1159
|
+
* @summary Replace an OAuth client\'s login and/or consent page branding
|
|
1160
|
+
* @param {AdminOAuthClientsApiPutAdminClientsUpdateBrandingRequest} requestParameters Request parameters.
|
|
1161
|
+
* @param {*} [options] Override http request option.
|
|
1162
|
+
* @throws {RequiredError}
|
|
1163
|
+
* @memberof AdminOAuthClientsApi
|
|
1164
|
+
*/
|
|
1165
|
+
putAdminClientsUpdateBranding(requestParameters, options) {
|
|
1166
|
+
return AdminOAuthClientsApiFp(this.configuration).putAdminClientsUpdateBranding(requestParameters.orgId, requestParameters.clientId, requestParameters.putAdminClientsUpdateBrandingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1167
|
+
}
|
|
932
1168
|
/**
|
|
933
1169
|
*
|
|
934
1170
|
* @summary Rotate an OAuth client secret
|