@lumoauth/api-client 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +14 -4
  3. package/api/aauth-api.ts +5 -5
  4. package/api/admin-email-api.ts +67 -15
  5. package/api/admin-mcp-api.ts +5 -5
  6. package/api/admin-oauth-clients-api.ts +370 -0
  7. package/api/agents-api.ts +5 -5
  8. package/api/mcp-api.ts +130 -0
  9. package/api/oauth-api.ts +0 -186
  10. package/api/well-known-api.ts +10 -10
  11. package/dist/api/aauth-api.d.ts +5 -5
  12. package/dist/api/aauth-api.js +4 -4
  13. package/dist/api/admin-email-api.d.ts +41 -9
  14. package/dist/api/admin-email-api.js +34 -14
  15. package/dist/api/admin-mcp-api.d.ts +5 -5
  16. package/dist/api/admin-mcp-api.js +4 -4
  17. package/dist/api/admin-oauth-clients-api.d.ts +210 -0
  18. package/dist/api/admin-oauth-clients-api.js +236 -0
  19. package/dist/api/agents-api.d.ts +5 -5
  20. package/dist/api/agents-api.js +4 -4
  21. package/dist/api/mcp-api.d.ts +73 -0
  22. package/dist/api/mcp-api.js +82 -0
  23. package/dist/api/oauth-api.d.ts +0 -110
  24. package/dist/api/oauth-api.js +0 -132
  25. package/dist/api/well-known-api.d.ts +10 -10
  26. package/dist/api/well-known-api.js +8 -8
  27. package/dist/esm/api/aauth-api.d.ts +5 -5
  28. package/dist/esm/api/aauth-api.js +4 -4
  29. package/dist/esm/api/admin-email-api.d.ts +41 -9
  30. package/dist/esm/api/admin-email-api.js +34 -14
  31. package/dist/esm/api/admin-mcp-api.d.ts +5 -5
  32. package/dist/esm/api/admin-mcp-api.js +4 -4
  33. package/dist/esm/api/admin-oauth-clients-api.d.ts +210 -0
  34. package/dist/esm/api/admin-oauth-clients-api.js +236 -0
  35. package/dist/esm/api/agents-api.d.ts +5 -5
  36. package/dist/esm/api/agents-api.js +4 -4
  37. package/dist/esm/api/mcp-api.d.ts +73 -0
  38. package/dist/esm/api/mcp-api.js +83 -1
  39. package/dist/esm/api/oauth-api.d.ts +0 -110
  40. package/dist/esm/api/oauth-api.js +0 -132
  41. package/dist/esm/api/well-known-api.d.ts +10 -10
  42. package/dist/esm/api/well-known-api.js +8 -8
  43. package/dist/esm/models/admin-agents-generate-token-request.d.ts +7 -1
  44. package/dist/esm/models/admin-agents-generate-token-response-data.d.ts +12 -0
  45. package/dist/esm/models/admin-clients-get-branding-response-data.d.ts +34 -0
  46. package/dist/esm/models/admin-clients-get-branding-response-data.js +14 -0
  47. package/dist/esm/models/admin-clients-get-branding-response.d.ts +25 -0
  48. package/dist/esm/models/admin-clients-get-branding-response.js +14 -0
  49. package/dist/esm/models/attest-response.d.ts +2 -1
  50. package/dist/esm/models/attest-response.js +1 -0
  51. package/dist/esm/models/authorization-server-metadata.d.ts +0 -6
  52. package/dist/esm/models/authorize-mcp-request.d.ts +1 -1
  53. package/dist/esm/models/get-protected-resource-metadata-root-response1-resources-item.d.ts +1 -1
  54. package/dist/esm/models/index.d.ts +8 -0
  55. package/dist/esm/models/index.js +8 -0
  56. package/dist/esm/models/mcp-server-tool-authorize-request-subject.d.ts +38 -0
  57. package/dist/esm/models/mcp-server-tool-authorize-request-subject.js +22 -0
  58. package/dist/esm/models/mcp-server-tool-authorize-request.d.ts +31 -0
  59. package/dist/esm/models/mcp-server-tool-authorize-request.js +14 -0
  60. package/dist/esm/models/mcp-server-tool-authorize-response.d.ts +36 -0
  61. package/dist/esm/models/mcp-server-tool-authorize-response.js +14 -0
  62. package/dist/esm/models/mcp-server.d.ts +18 -0
  63. package/dist/esm/models/open-id-configuration.d.ts +7 -7
  64. package/dist/esm/models/patch-admin-clients-update-branding-response.d.ts +32 -0
  65. package/dist/esm/models/patch-admin-clients-update-branding-response.js +14 -0
  66. package/dist/esm/models/protected-resource-metadata.d.ts +1 -1
  67. package/dist/esm/models/put-admin-clients-update-branding-request.d.ts +34 -0
  68. package/dist/esm/models/put-admin-clients-update-branding-request.js +14 -0
  69. package/dist/esm/models/put-admin-clients-update-branding-response.d.ts +32 -0
  70. package/dist/esm/models/put-admin-clients-update-branding-response.js +14 -0
  71. package/dist/esm/models/single-server-metadata.d.ts +1 -1
  72. package/dist/models/admin-agents-generate-token-request.d.ts +7 -1
  73. package/dist/models/admin-agents-generate-token-response-data.d.ts +12 -0
  74. package/dist/models/admin-clients-get-branding-response-data.d.ts +34 -0
  75. package/dist/models/admin-clients-get-branding-response-data.js +15 -0
  76. package/dist/models/admin-clients-get-branding-response.d.ts +25 -0
  77. package/dist/models/admin-clients-get-branding-response.js +15 -0
  78. package/dist/models/attest-response.d.ts +2 -1
  79. package/dist/models/attest-response.js +1 -0
  80. package/dist/models/authorization-server-metadata.d.ts +0 -6
  81. package/dist/models/authorize-mcp-request.d.ts +1 -1
  82. package/dist/models/get-protected-resource-metadata-root-response1-resources-item.d.ts +1 -1
  83. package/dist/models/index.d.ts +8 -0
  84. package/dist/models/index.js +8 -0
  85. package/dist/models/mcp-server-tool-authorize-request-subject.d.ts +38 -0
  86. package/dist/models/mcp-server-tool-authorize-request-subject.js +25 -0
  87. package/dist/models/mcp-server-tool-authorize-request.d.ts +31 -0
  88. package/dist/models/mcp-server-tool-authorize-request.js +15 -0
  89. package/dist/models/mcp-server-tool-authorize-response.d.ts +36 -0
  90. package/dist/models/mcp-server-tool-authorize-response.js +15 -0
  91. package/dist/models/mcp-server.d.ts +18 -0
  92. package/dist/models/open-id-configuration.d.ts +7 -7
  93. package/dist/models/patch-admin-clients-update-branding-response.d.ts +32 -0
  94. package/dist/models/patch-admin-clients-update-branding-response.js +15 -0
  95. package/dist/models/protected-resource-metadata.d.ts +1 -1
  96. package/dist/models/put-admin-clients-update-branding-request.d.ts +34 -0
  97. package/dist/models/put-admin-clients-update-branding-request.js +15 -0
  98. package/dist/models/put-admin-clients-update-branding-response.d.ts +32 -0
  99. package/dist/models/put-admin-clients-update-branding-response.js +15 -0
  100. package/dist/models/single-server-metadata.d.ts +1 -1
  101. package/docs/AAuthApi.md +1 -1
  102. package/docs/AdminAgentsApi.md +1 -1
  103. package/docs/AdminAgentsGenerateTokenRequest.md +3 -1
  104. package/docs/AdminAgentsGenerateTokenResponseData.md +4 -0
  105. package/docs/AdminClientsGetBrandingResponse.md +20 -0
  106. package/docs/AdminClientsGetBrandingResponseData.md +22 -0
  107. package/docs/AdminEmailApi.md +15 -2
  108. package/docs/AdminMcpApi.md +1 -1
  109. package/docs/AdminOAuthClientsApi.md +174 -0
  110. package/docs/AgentsApi.md +4 -3
  111. package/docs/AuthorizationServerMetadata.md +0 -2
  112. package/docs/AuthorizeMcpRequest.md +1 -1
  113. package/docs/GetProtectedResourceMetadataRoot200Response.md +1 -1
  114. package/docs/GetProtectedResourceMetadataRootResponse1ResourcesItem.md +1 -1
  115. package/docs/McpApi.md +64 -0
  116. package/docs/McpServer.md +6 -0
  117. package/docs/McpServerToolAuthorizeRequest.md +22 -0
  118. package/docs/McpServerToolAuthorizeRequestSubject.md +22 -0
  119. package/docs/McpServerToolAuthorizeResponse.md +24 -0
  120. package/docs/OAuthApi.md +0 -105
  121. package/docs/OpenIdConfiguration.md +3 -3
  122. package/docs/PatchAdminClientsUpdateBrandingResponse.md +22 -0
  123. package/docs/ProtectedResourceMetadata.md +1 -1
  124. package/docs/PutAdminClientsUpdateBrandingRequest.md +22 -0
  125. package/docs/PutAdminClientsUpdateBrandingResponse.md +22 -0
  126. package/docs/SingleServerMetadata.md +1 -1
  127. package/docs/WellKnownApi.md +2 -2
  128. package/models/admin-agents-generate-token-request.ts +7 -1
  129. package/models/admin-agents-generate-token-response-data.ts +12 -0
  130. package/models/admin-clients-get-branding-response-data.ts +36 -0
  131. package/models/admin-clients-get-branding-response.ts +33 -0
  132. package/models/attest-response.ts +2 -1
  133. package/models/authorization-server-metadata.ts +0 -6
  134. package/models/authorize-mcp-request.ts +1 -1
  135. package/models/get-protected-resource-metadata-root-response1-resources-item.ts +1 -1
  136. package/models/index.ts +8 -0
  137. package/models/mcp-server-tool-authorize-request-subject.ts +46 -0
  138. package/models/mcp-server-tool-authorize-request.ts +39 -0
  139. package/models/mcp-server-tool-authorize-response.ts +42 -0
  140. package/models/mcp-server.ts +18 -0
  141. package/models/open-id-configuration.ts +7 -7
  142. package/models/patch-admin-clients-update-branding-response.ts +36 -0
  143. package/models/protected-resource-metadata.ts +1 -1
  144. package/models/put-admin-clients-update-branding-request.ts +36 -0
  145. package/models/put-admin-clients-update-branding-response.ts +36 -0
  146. package/models/single-server-metadata.ts +1 -1
  147. package/package.json +1 -1
@@ -27,19 +27,23 @@ export declare const AdminEmailApiAxiosParamCreator: (configuration?: Configurat
27
27
  * @summary Remove the custom email template so the built-in default is used
28
28
  * @param {string} orgId
29
29
  * @param {string} type
30
+ * @param {string} [locale]
31
+ * @param {string} [clientId]
30
32
  * @param {*} [options] Override http request option.
31
33
  * @throws {RequiredError}
32
34
  */
33
- adminEmailTemplatesDelete: (orgId: string, type: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
35
+ adminEmailTemplatesDelete: (orgId: string, type: string, locale?: string, clientId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
34
36
  /**
35
37
  *
36
38
  * @summary Get an email template (custom or built-in default)
37
39
  * @param {string} orgId
38
40
  * @param {string} type
41
+ * @param {string} [locale] Language variant (BCP 47, e.g. fr or pt-BR); omit for the variant used in every language
42
+ * @param {string} [clientId] Application variant (OAuth client_id); omit for the variant used by every application
39
43
  * @param {*} [options] Override http request option.
40
44
  * @throws {RequiredError}
41
45
  */
42
- adminEmailTemplatesGet: (orgId: string, type: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
46
+ adminEmailTemplatesGet: (orgId: string, type: string, locale?: string, clientId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
47
  /**
44
48
  *
45
49
  * @summary List every email template type with its current (custom or built-in) template
@@ -58,7 +62,7 @@ export declare const AdminEmailApiAxiosParamCreator: (configuration?: Configurat
58
62
  */
59
63
  adminEmailTemplatesPreview: (orgId: string, type: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
60
64
  /**
61
- *
65
+ * Body: subject, body_html, and optionally locale (BCP 47) and client_id to save a language- or application-specific version. Mails use the most specific version: application + language, application, language, then the default.
62
66
  * @summary Create or replace the custom email template for a type
63
67
  * @param {string} orgId
64
68
  * @param {string} type
@@ -86,19 +90,23 @@ export declare const AdminEmailApiFp: (configuration?: Configuration) => {
86
90
  * @summary Remove the custom email template so the built-in default is used
87
91
  * @param {string} orgId
88
92
  * @param {string} type
93
+ * @param {string} [locale]
94
+ * @param {string} [clientId]
89
95
  * @param {*} [options] Override http request option.
90
96
  * @throws {RequiredError}
91
97
  */
92
- adminEmailTemplatesDelete(orgId: string, type: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessageResponse>>;
98
+ adminEmailTemplatesDelete(orgId: string, type: string, locale?: string, clientId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessageResponse>>;
93
99
  /**
94
100
  *
95
101
  * @summary Get an email template (custom or built-in default)
96
102
  * @param {string} orgId
97
103
  * @param {string} type
104
+ * @param {string} [locale] Language variant (BCP 47, e.g. fr or pt-BR); omit for the variant used in every language
105
+ * @param {string} [clientId] Application variant (OAuth client_id); omit for the variant used by every application
98
106
  * @param {*} [options] Override http request option.
99
107
  * @throws {RequiredError}
100
108
  */
101
- adminEmailTemplatesGet(orgId: string, type: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailTemplate>>;
109
+ adminEmailTemplatesGet(orgId: string, type: string, locale?: string, clientId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailTemplate>>;
102
110
  /**
103
111
  *
104
112
  * @summary List every email template type with its current (custom or built-in) template
@@ -117,7 +125,7 @@ export declare const AdminEmailApiFp: (configuration?: Configuration) => {
117
125
  */
118
126
  adminEmailTemplatesPreview(orgId: string, type: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminEmailTemplatesPreviewResponse>>;
119
127
  /**
120
- *
128
+ * Body: subject, body_html, and optionally locale (BCP 47) and client_id to save a language- or application-specific version. Mails use the most specific version: application + language, application, language, then the default.
121
129
  * @summary Create or replace the custom email template for a type
122
130
  * @param {string} orgId
123
131
  * @param {string} type
@@ -173,7 +181,7 @@ export declare const AdminEmailApiFactory: (configuration?: Configuration, baseP
173
181
  */
174
182
  adminEmailTemplatesPreview(requestParameters: AdminEmailApiAdminEmailTemplatesPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminEmailTemplatesPreviewResponse>;
175
183
  /**
176
- *
184
+ * Body: subject, body_html, and optionally locale (BCP 47) and client_id to save a language- or application-specific version. Mails use the most specific version: application + language, application, language, then the default.
177
185
  * @summary Create or replace the custom email template for a type
178
186
  * @param {AdminEmailApiAdminEmailTemplatesUpsertRequest} requestParameters Request parameters.
179
187
  * @param {*} [options] Override http request option.
@@ -232,7 +240,7 @@ export interface AdminEmailApiInterface {
232
240
  */
233
241
  adminEmailTemplatesPreview(requestParameters: AdminEmailApiAdminEmailTemplatesPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminEmailTemplatesPreviewResponse>;
234
242
  /**
235
- *
243
+ * Body: subject, body_html, and optionally locale (BCP 47) and client_id to save a language- or application-specific version. Mails use the most specific version: application + language, application, language, then the default.
236
244
  * @summary Create or replace the custom email template for a type
237
245
  * @param {AdminEmailApiAdminEmailTemplatesUpsertRequest} requestParameters Request parameters.
238
246
  * @param {*} [options] Override http request option.
@@ -268,6 +276,18 @@ export interface AdminEmailApiAdminEmailTemplatesDeleteRequest {
268
276
  * @memberof AdminEmailApiAdminEmailTemplatesDelete
269
277
  */
270
278
  readonly type: string;
279
+ /**
280
+ *
281
+ * @type {string}
282
+ * @memberof AdminEmailApiAdminEmailTemplatesDelete
283
+ */
284
+ readonly locale?: string;
285
+ /**
286
+ *
287
+ * @type {string}
288
+ * @memberof AdminEmailApiAdminEmailTemplatesDelete
289
+ */
290
+ readonly clientId?: string;
271
291
  }
272
292
  /**
273
293
  * Request parameters for adminEmailTemplatesGet operation in AdminEmailApi.
@@ -287,6 +307,18 @@ export interface AdminEmailApiAdminEmailTemplatesGetRequest {
287
307
  * @memberof AdminEmailApiAdminEmailTemplatesGet
288
308
  */
289
309
  readonly type: string;
310
+ /**
311
+ * Language variant (BCP 47, e.g. fr or pt-BR); omit for the variant used in every language
312
+ * @type {string}
313
+ * @memberof AdminEmailApiAdminEmailTemplatesGet
314
+ */
315
+ readonly locale?: string;
316
+ /**
317
+ * Application variant (OAuth client_id); omit for the variant used by every application
318
+ * @type {string}
319
+ * @memberof AdminEmailApiAdminEmailTemplatesGet
320
+ */
321
+ readonly clientId?: string;
290
322
  }
291
323
  /**
292
324
  * Request parameters for adminEmailTemplatesList operation in AdminEmailApi.
@@ -402,7 +434,7 @@ export declare class AdminEmailApi extends BaseAPI implements AdminEmailApiInter
402
434
  */
403
435
  adminEmailTemplatesPreview(requestParameters: AdminEmailApiAdminEmailTemplatesPreviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminEmailTemplatesPreviewResponse, any, {}>>;
404
436
  /**
405
- *
437
+ * Body: subject, body_html, and optionally locale (BCP 47) and client_id to save a language- or application-specific version. Mails use the most specific version: application + language, application, language, then the default.
406
438
  * @summary Create or replace the custom email template for a type
407
439
  * @param {AdminEmailApiAdminEmailTemplatesUpsertRequest} requestParameters Request parameters.
408
440
  * @param {*} [options] Override http request option.
@@ -40,10 +40,12 @@ const AdminEmailApiAxiosParamCreator = function (configuration) {
40
40
  * @summary Remove the custom email template so the built-in default is used
41
41
  * @param {string} orgId
42
42
  * @param {string} type
43
+ * @param {string} [locale]
44
+ * @param {string} [clientId]
43
45
  * @param {*} [options] Override http request option.
44
46
  * @throws {RequiredError}
45
47
  */
46
- adminEmailTemplatesDelete: (orgId_1, type_1, ...args_1) => __awaiter(this, [orgId_1, type_1, ...args_1], void 0, function* (orgId, type, options = {}) {
48
+ adminEmailTemplatesDelete: (orgId_1, type_1, locale_1, clientId_1, ...args_1) => __awaiter(this, [orgId_1, type_1, locale_1, clientId_1, ...args_1], void 0, function* (orgId, type, locale, clientId, options = {}) {
47
49
  // verify required parameter 'orgId' is not null or undefined
48
50
  (0, common_1.assertParamExists)('adminEmailTemplatesDelete', 'orgId', orgId);
49
51
  // verify required parameter 'type' is not null or undefined
@@ -65,6 +67,12 @@ const AdminEmailApiAxiosParamCreator = function (configuration) {
65
67
  // authentication BearerAuth required
66
68
  // http bearer authentication required
67
69
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
70
+ if (locale !== undefined) {
71
+ localVarQueryParameter['locale'] = locale;
72
+ }
73
+ if (clientId !== undefined) {
74
+ localVarQueryParameter['client_id'] = clientId;
75
+ }
68
76
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
69
77
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70
78
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -78,10 +86,12 @@ const AdminEmailApiAxiosParamCreator = function (configuration) {
78
86
  * @summary Get an email template (custom or built-in default)
79
87
  * @param {string} orgId
80
88
  * @param {string} type
89
+ * @param {string} [locale] Language variant (BCP 47, e.g. fr or pt-BR); omit for the variant used in every language
90
+ * @param {string} [clientId] Application variant (OAuth client_id); omit for the variant used by every application
81
91
  * @param {*} [options] Override http request option.
82
92
  * @throws {RequiredError}
83
93
  */
84
- adminEmailTemplatesGet: (orgId_1, type_1, ...args_1) => __awaiter(this, [orgId_1, type_1, ...args_1], void 0, function* (orgId, type, options = {}) {
94
+ adminEmailTemplatesGet: (orgId_1, type_1, locale_1, clientId_1, ...args_1) => __awaiter(this, [orgId_1, type_1, locale_1, clientId_1, ...args_1], void 0, function* (orgId, type, locale, clientId, options = {}) {
85
95
  // verify required parameter 'orgId' is not null or undefined
86
96
  (0, common_1.assertParamExists)('adminEmailTemplatesGet', 'orgId', orgId);
87
97
  // verify required parameter 'type' is not null or undefined
@@ -103,6 +113,12 @@ const AdminEmailApiAxiosParamCreator = function (configuration) {
103
113
  // authentication BearerAuth required
104
114
  // http bearer authentication required
105
115
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
116
+ if (locale !== undefined) {
117
+ localVarQueryParameter['locale'] = locale;
118
+ }
119
+ if (clientId !== undefined) {
120
+ localVarQueryParameter['client_id'] = clientId;
121
+ }
106
122
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
107
123
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
108
124
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -184,7 +200,7 @@ const AdminEmailApiAxiosParamCreator = function (configuration) {
184
200
  };
185
201
  }),
186
202
  /**
187
- *
203
+ * Body: subject, body_html, and optionally locale (BCP 47) and client_id to save a language- or application-specific version. Mails use the most specific version: application + language, application, language, then the default.
188
204
  * @summary Create or replace the custom email template for a type
189
205
  * @param {string} orgId
190
206
  * @param {string} type
@@ -274,13 +290,15 @@ const AdminEmailApiFp = function (configuration) {
274
290
  * @summary Remove the custom email template so the built-in default is used
275
291
  * @param {string} orgId
276
292
  * @param {string} type
293
+ * @param {string} [locale]
294
+ * @param {string} [clientId]
277
295
  * @param {*} [options] Override http request option.
278
296
  * @throws {RequiredError}
279
297
  */
280
- adminEmailTemplatesDelete(orgId, type, options) {
298
+ adminEmailTemplatesDelete(orgId, type, locale, clientId, options) {
281
299
  return __awaiter(this, void 0, void 0, function* () {
282
300
  var _a, _b, _c;
283
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminEmailTemplatesDelete(orgId, type, options);
301
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminEmailTemplatesDelete(orgId, type, locale, clientId, options);
284
302
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
285
303
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminEmailApi.adminEmailTemplatesDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
286
304
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -291,13 +309,15 @@ const AdminEmailApiFp = function (configuration) {
291
309
  * @summary Get an email template (custom or built-in default)
292
310
  * @param {string} orgId
293
311
  * @param {string} type
312
+ * @param {string} [locale] Language variant (BCP 47, e.g. fr or pt-BR); omit for the variant used in every language
313
+ * @param {string} [clientId] Application variant (OAuth client_id); omit for the variant used by every application
294
314
  * @param {*} [options] Override http request option.
295
315
  * @throws {RequiredError}
296
316
  */
297
- adminEmailTemplatesGet(orgId, type, options) {
317
+ adminEmailTemplatesGet(orgId, type, locale, clientId, options) {
298
318
  return __awaiter(this, void 0, void 0, function* () {
299
319
  var _a, _b, _c;
300
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminEmailTemplatesGet(orgId, type, options);
320
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminEmailTemplatesGet(orgId, type, locale, clientId, options);
301
321
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
302
322
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminEmailApi.adminEmailTemplatesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
303
323
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -337,7 +357,7 @@ const AdminEmailApiFp = function (configuration) {
337
357
  });
338
358
  },
339
359
  /**
340
- *
360
+ * Body: subject, body_html, and optionally locale (BCP 47) and client_id to save a language- or application-specific version. Mails use the most specific version: application + language, application, language, then the default.
341
361
  * @summary Create or replace the custom email template for a type
342
362
  * @param {string} orgId
343
363
  * @param {string} type
@@ -388,7 +408,7 @@ const AdminEmailApiFactory = function (configuration, basePath, axios) {
388
408
  * @throws {RequiredError}
389
409
  */
390
410
  adminEmailTemplatesDelete(requestParameters, options) {
391
- return localVarFp.adminEmailTemplatesDelete(requestParameters.orgId, requestParameters.type, options).then((request) => request(axios, basePath));
411
+ return localVarFp.adminEmailTemplatesDelete(requestParameters.orgId, requestParameters.type, requestParameters.locale, requestParameters.clientId, options).then((request) => request(axios, basePath));
392
412
  },
393
413
  /**
394
414
  *
@@ -398,7 +418,7 @@ const AdminEmailApiFactory = function (configuration, basePath, axios) {
398
418
  * @throws {RequiredError}
399
419
  */
400
420
  adminEmailTemplatesGet(requestParameters, options) {
401
- return localVarFp.adminEmailTemplatesGet(requestParameters.orgId, requestParameters.type, options).then((request) => request(axios, basePath));
421
+ return localVarFp.adminEmailTemplatesGet(requestParameters.orgId, requestParameters.type, requestParameters.locale, requestParameters.clientId, options).then((request) => request(axios, basePath));
402
422
  },
403
423
  /**
404
424
  *
@@ -421,7 +441,7 @@ const AdminEmailApiFactory = function (configuration, basePath, axios) {
421
441
  return localVarFp.adminEmailTemplatesPreview(requestParameters.orgId, requestParameters.type, options).then((request) => request(axios, basePath));
422
442
  },
423
443
  /**
424
- *
444
+ * Body: subject, body_html, and optionally locale (BCP 47) and client_id to save a language- or application-specific version. Mails use the most specific version: application + language, application, language, then the default.
425
445
  * @summary Create or replace the custom email template for a type
426
446
  * @param {AdminEmailApiAdminEmailTemplatesUpsertRequest} requestParameters Request parameters.
427
447
  * @param {*} [options] Override http request option.
@@ -459,7 +479,7 @@ class AdminEmailApi extends base_1.BaseAPI {
459
479
  * @memberof AdminEmailApi
460
480
  */
461
481
  adminEmailTemplatesDelete(requestParameters, options) {
462
- return (0, exports.AdminEmailApiFp)(this.configuration).adminEmailTemplatesDelete(requestParameters.orgId, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
482
+ return (0, exports.AdminEmailApiFp)(this.configuration).adminEmailTemplatesDelete(requestParameters.orgId, requestParameters.type, requestParameters.locale, requestParameters.clientId, options).then((request) => request(this.axios, this.basePath));
463
483
  }
464
484
  /**
465
485
  *
@@ -470,7 +490,7 @@ class AdminEmailApi extends base_1.BaseAPI {
470
490
  * @memberof AdminEmailApi
471
491
  */
472
492
  adminEmailTemplatesGet(requestParameters, options) {
473
- return (0, exports.AdminEmailApiFp)(this.configuration).adminEmailTemplatesGet(requestParameters.orgId, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
493
+ return (0, exports.AdminEmailApiFp)(this.configuration).adminEmailTemplatesGet(requestParameters.orgId, requestParameters.type, requestParameters.locale, requestParameters.clientId, options).then((request) => request(this.axios, this.basePath));
474
494
  }
475
495
  /**
476
496
  *
@@ -495,7 +515,7 @@ class AdminEmailApi extends base_1.BaseAPI {
495
515
  return (0, exports.AdminEmailApiFp)(this.configuration).adminEmailTemplatesPreview(requestParameters.orgId, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
496
516
  }
497
517
  /**
498
- *
518
+ * Body: subject, body_html, and optionally locale (BCP 47) and client_id to save a language- or application-specific version. Mails use the most specific version: application + language, application, language, then the default.
499
519
  * @summary Create or replace the custom email template for a type
500
520
  * @param {AdminEmailApiAdminEmailTemplatesUpsertRequest} requestParameters Request parameters.
501
521
  * @param {*} [options] Override http request option.
@@ -22,7 +22,7 @@ import type { MessageResponse } from '../models';
22
22
  */
23
23
  export declare const AdminMcpApiAxiosParamCreator: (configuration?: Configuration) => {
24
24
  /**
25
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
25
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
26
26
  * @summary Register an MCP server
27
27
  * @param {string} orgId
28
28
  * @param {*} [options] Override http request option.
@@ -62,7 +62,7 @@ export declare const AdminMcpApiAxiosParamCreator: (configuration?: Configuratio
62
62
  */
63
63
  export declare const AdminMcpApiFp: (configuration?: Configuration) => {
64
64
  /**
65
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
65
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
66
66
  * @summary Register an MCP server
67
67
  * @param {string} orgId
68
68
  * @param {*} [options] Override http request option.
@@ -102,7 +102,7 @@ export declare const AdminMcpApiFp: (configuration?: Configuration) => {
102
102
  */
103
103
  export declare const AdminMcpApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
104
104
  /**
105
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
105
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
106
106
  * @summary Register an MCP server
107
107
  * @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
108
108
  * @param {*} [options] Override http request option.
@@ -141,7 +141,7 @@ export declare const AdminMcpApiFactory: (configuration?: Configuration, basePat
141
141
  */
142
142
  export interface AdminMcpApiInterface {
143
143
  /**
144
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
144
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
145
145
  * @summary Register an MCP server
146
146
  * @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
147
147
  * @param {*} [options] Override http request option.
@@ -249,7 +249,7 @@ export interface AdminMcpApiAdminMcpServersListRequest {
249
249
  */
250
250
  export declare class AdminMcpApi extends BaseAPI implements AdminMcpApiInterface {
251
251
  /**
252
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
252
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
253
253
  * @summary Register an MCP server
254
254
  * @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
255
255
  * @param {*} [options] Override http request option.
@@ -36,7 +36,7 @@ const base_1 = require("../base");
36
36
  const AdminMcpApiAxiosParamCreator = function (configuration) {
37
37
  return {
38
38
  /**
39
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
39
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
40
40
  * @summary Register an MCP server
41
41
  * @param {string} orgId
42
42
  * @param {*} [options] Override http request option.
@@ -190,7 +190,7 @@ const AdminMcpApiFp = function (configuration) {
190
190
  const localVarAxiosParamCreator = (0, exports.AdminMcpApiAxiosParamCreator)(configuration);
191
191
  return {
192
192
  /**
193
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
193
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
194
194
  * @summary Register an MCP server
195
195
  * @param {string} orgId
196
196
  * @param {*} [options] Override http request option.
@@ -266,7 +266,7 @@ const AdminMcpApiFactory = function (configuration, basePath, axios) {
266
266
  const localVarFp = (0, exports.AdminMcpApiFp)(configuration);
267
267
  return {
268
268
  /**
269
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
269
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
270
270
  * @summary Register an MCP server
271
271
  * @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
272
272
  * @param {*} [options] Override http request option.
@@ -316,7 +316,7 @@ exports.AdminMcpApiFactory = AdminMcpApiFactory;
316
316
  */
317
317
  class AdminMcpApi extends base_1.BaseAPI {
318
318
  /**
319
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI; must be http(s)://, no fragment endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string transport (optional) — defaults to \"http_streamable\" auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — clamped to [60, 86400] allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
319
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
320
320
  * @summary Register an MCP server
321
321
  * @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
322
322
  * @param {*} [options] Override http request option.