qovery-typescript-axios 1.1.942 → 1.1.944

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/api.ts CHANGED
@@ -19308,6 +19308,99 @@ export interface ManagedDatabaseTypeResponseList {
19308
19308
  */
19309
19309
  'results'?: Array<ManagedDatabaseTypeResponse>;
19310
19310
  }
19311
+ /**
19312
+ *
19313
+ * @export
19314
+ * @interface McpServerRequest
19315
+ */
19316
+ export interface McpServerRequest {
19317
+ /**
19318
+ * Unique MCP server name within the organization
19319
+ * @type {string}
19320
+ * @memberof McpServerRequest
19321
+ */
19322
+ 'name': string;
19323
+ /**
19324
+ *
19325
+ * @type {string}
19326
+ * @memberof McpServerRequest
19327
+ */
19328
+ 'description'?: string;
19329
+ /**
19330
+ * HTTPS URL of the remote MCP server
19331
+ * @type {string}
19332
+ * @memberof McpServerRequest
19333
+ */
19334
+ 'url': string;
19335
+ /**
19336
+ * HTTP headers sent to the MCP server. Header values are encrypted and never returned by the API.
19337
+ * @type {{ [key: string]: string; }}
19338
+ * @memberof McpServerRequest
19339
+ */
19340
+ 'headers'?: { [key: string]: string; };
19341
+ }
19342
+ /**
19343
+ *
19344
+ * @export
19345
+ * @interface McpServerResponse
19346
+ */
19347
+ export interface McpServerResponse {
19348
+ /**
19349
+ *
19350
+ * @type {string}
19351
+ * @memberof McpServerResponse
19352
+ */
19353
+ 'id': string;
19354
+ /**
19355
+ *
19356
+ * @type {string}
19357
+ * @memberof McpServerResponse
19358
+ */
19359
+ 'created_at': string;
19360
+ /**
19361
+ *
19362
+ * @type {string}
19363
+ * @memberof McpServerResponse
19364
+ */
19365
+ 'updated_at': string;
19366
+ /**
19367
+ *
19368
+ * @type {string}
19369
+ * @memberof McpServerResponse
19370
+ */
19371
+ 'name': string;
19372
+ /**
19373
+ *
19374
+ * @type {string}
19375
+ * @memberof McpServerResponse
19376
+ */
19377
+ 'description': string;
19378
+ /**
19379
+ * HTTPS URL of the remote MCP server
19380
+ * @type {string}
19381
+ * @memberof McpServerResponse
19382
+ */
19383
+ 'url': string;
19384
+ /**
19385
+ * Names of the configured HTTP headers. Header values are never returned.
19386
+ * @type {Set<string>}
19387
+ * @memberof McpServerResponse
19388
+ */
19389
+ 'header_names': Set<string>;
19390
+ }
19391
+ /**
19392
+ *
19393
+ * @export
19394
+ * @interface McpServerResponseList
19395
+ */
19396
+ export interface McpServerResponseList {
19397
+ /**
19398
+ *
19399
+ * @type {Array<McpServerResponse>}
19400
+ * @memberof McpServerResponseList
19401
+ */
19402
+ 'results': Array<McpServerResponse>;
19403
+ }
19311
19404
  /**
19312
19405
  *
19313
19406
  * @export
@@ -19611,166 +19704,6 @@ export interface Organization {
19611
19704
  }
19612
19705
 
19613
19706
 
19614
- /**
19615
- *
19616
- * @export
19617
- * @interface OrganizationAgentApiToken
19618
- */
19619
- export interface OrganizationAgentApiToken {
19620
- /**
19621
- *
19622
- * @type {string}
19623
- * @memberof OrganizationAgentApiToken
19624
- */
19625
- 'id': string;
19626
- /**
19627
- *
19628
- * @type {string}
19629
- * @memberof OrganizationAgentApiToken
19630
- */
19631
- 'created_at': string;
19632
- /**
19633
- *
19634
- * @type {string}
19635
- * @memberof OrganizationAgentApiToken
19636
- */
19637
- 'updated_at'?: string;
19638
- /**
19639
- *
19640
- * @type {string}
19641
- * @memberof OrganizationAgentApiToken
19642
- */
19643
- 'name'?: string;
19644
- /**
19645
- *
19646
- * @type {string}
19647
- * @memberof OrganizationAgentApiToken
19648
- */
19649
- 'description'?: string;
19650
- /**
19651
- * the Open Policy Agent (rego) policy evaluated on every request made with this token
19652
- * @type {string}
19653
- * @memberof OrganizationAgentApiToken
19654
- */
19655
- 'opa_policy'?: string;
19656
- /**
19657
- *
19658
- * @type {string}
19659
- * @memberof OrganizationAgentApiToken
19660
- */
19661
- 'creator_name'?: string | null;
19662
- /**
19663
- *
19664
- * @type {string}
19665
- * @memberof OrganizationAgentApiToken
19666
- */
19667
- 'expires_at'?: string | null;
19668
- }
19669
- /**
19670
- *
19671
- * @export
19672
- * @interface OrganizationAgentApiTokenCreate
19673
- */
19674
- export interface OrganizationAgentApiTokenCreate {
19675
- /**
19676
- *
19677
- * @type {string}
19678
- * @memberof OrganizationAgentApiTokenCreate
19679
- */
19680
- 'id': string;
19681
- /**
19682
- *
19683
- * @type {string}
19684
- * @memberof OrganizationAgentApiTokenCreate
19685
- */
19686
- 'created_at': string;
19687
- /**
19688
- *
19689
- * @type {string}
19690
- * @memberof OrganizationAgentApiTokenCreate
19691
- */
19692
- 'updated_at'?: string;
19693
- /**
19694
- *
19695
- * @type {string}
19696
- * @memberof OrganizationAgentApiTokenCreate
19697
- */
19698
- 'name'?: string;
19699
- /**
19700
- *
19701
- * @type {string}
19702
- * @memberof OrganizationAgentApiTokenCreate
19703
- */
19704
- 'description'?: string;
19705
- /**
19706
- * the generated token to send in \'Authorization\' header prefixed by \'Token \'. It is returned only here and cannot be retrieved afterwards.
19707
- * @type {string}
19708
- * @memberof OrganizationAgentApiTokenCreate
19709
- */
19710
- 'token'?: string;
19711
- /**
19712
- *
19713
- * @type {string}
19714
- * @memberof OrganizationAgentApiTokenCreate
19715
- */
19716
- 'creator_name'?: string | null;
19717
- /**
19718
- *
19719
- * @type {string}
19720
- * @memberof OrganizationAgentApiTokenCreate
19721
- */
19722
- 'user_sub'?: string;
19723
- /**
19724
- *
19725
- * @type {string}
19726
- * @memberof OrganizationAgentApiTokenCreate
19727
- */
19728
- 'expires_at'?: string | null;
19729
- }
19730
- /**
19731
- *
19732
- * @export
19733
- * @interface OrganizationAgentApiTokenCreateRequest
19734
- */
19735
- export interface OrganizationAgentApiTokenCreateRequest {
19736
- /**
19737
- *
19738
- * @type {string}
19739
- * @memberof OrganizationAgentApiTokenCreateRequest
19740
- */
19741
- 'name': string;
19742
- /**
19743
- *
19744
- * @type {string}
19745
- * @memberof OrganizationAgentApiTokenCreateRequest
19746
- */
19747
- 'description'?: string;
19748
- /**
19749
- * Open Policy Agent (rego) rule definitions, without a `package` declaration: Qovery prepends a per-token package so that one token\'s rules cannot authorize another\'s. The policy must define an `allow` rule, and the request is denied unless it evaluates to true.
19750
- * @type {string}
19751
- * @memberof OrganizationAgentApiTokenCreateRequest
19752
- */
19753
- 'opa_policy': string;
19754
- /**
19755
- *
19756
- * @type {string}
19757
- * @memberof OrganizationAgentApiTokenCreateRequest
19758
- */
19759
- 'expires_at'?: string | null;
19760
- }
19761
- /**
19762
- *
19763
- * @export
19764
- * @interface OrganizationAgentApiTokenResponseList
19765
- */
19766
- export interface OrganizationAgentApiTokenResponseList {
19767
- /**
19768
- *
19769
- * @type {Array<OrganizationAgentApiToken>}
19770
- * @memberof OrganizationAgentApiTokenResponseList
19771
- */
19772
- 'results'?: Array<OrganizationAgentApiToken>;
19773
- }
19774
19707
  /**
19775
19708
  *
19776
19709
  * @export
@@ -21327,6 +21260,166 @@ export const OrganizationOnboardingStatusEnum = {
21327
21260
  export type OrganizationOnboardingStatusEnum = typeof OrganizationOnboardingStatusEnum[keyof typeof OrganizationOnboardingStatusEnum];
21328
21261
 
21329
21262
 
21263
+ /**
21264
+ *
21265
+ * @export
21266
+ * @interface OrganizationPolicyApiToken
21267
+ */
21268
+ export interface OrganizationPolicyApiToken {
21269
+ /**
21270
+ *
21271
+ * @type {string}
21272
+ * @memberof OrganizationPolicyApiToken
21273
+ */
21274
+ 'id': string;
21275
+ /**
21276
+ *
21277
+ * @type {string}
21278
+ * @memberof OrganizationPolicyApiToken
21279
+ */
21280
+ 'created_at': string;
21281
+ /**
21282
+ *
21283
+ * @type {string}
21284
+ * @memberof OrganizationPolicyApiToken
21285
+ */
21286
+ 'updated_at'?: string;
21287
+ /**
21288
+ *
21289
+ * @type {string}
21290
+ * @memberof OrganizationPolicyApiToken
21291
+ */
21292
+ 'name'?: string;
21293
+ /**
21294
+ *
21295
+ * @type {string}
21296
+ * @memberof OrganizationPolicyApiToken
21297
+ */
21298
+ 'description'?: string;
21299
+ /**
21300
+ * the Open Policy Agent (rego) policy evaluated on every request made with this token
21301
+ * @type {string}
21302
+ * @memberof OrganizationPolicyApiToken
21303
+ */
21304
+ 'opa_policy'?: string;
21305
+ /**
21306
+ *
21307
+ * @type {string}
21308
+ * @memberof OrganizationPolicyApiToken
21309
+ */
21310
+ 'creator_name'?: string | null;
21311
+ /**
21312
+ *
21313
+ * @type {string}
21314
+ * @memberof OrganizationPolicyApiToken
21315
+ */
21316
+ 'expires_at'?: string | null;
21317
+ }
21318
+ /**
21319
+ *
21320
+ * @export
21321
+ * @interface OrganizationPolicyApiTokenCreate
21322
+ */
21323
+ export interface OrganizationPolicyApiTokenCreate {
21324
+ /**
21325
+ *
21326
+ * @type {string}
21327
+ * @memberof OrganizationPolicyApiTokenCreate
21328
+ */
21329
+ 'id': string;
21330
+ /**
21331
+ *
21332
+ * @type {string}
21333
+ * @memberof OrganizationPolicyApiTokenCreate
21334
+ */
21335
+ 'created_at': string;
21336
+ /**
21337
+ *
21338
+ * @type {string}
21339
+ * @memberof OrganizationPolicyApiTokenCreate
21340
+ */
21341
+ 'updated_at'?: string;
21342
+ /**
21343
+ *
21344
+ * @type {string}
21345
+ * @memberof OrganizationPolicyApiTokenCreate
21346
+ */
21347
+ 'name'?: string;
21348
+ /**
21349
+ *
21350
+ * @type {string}
21351
+ * @memberof OrganizationPolicyApiTokenCreate
21352
+ */
21353
+ 'description'?: string;
21354
+ /**
21355
+ * the generated token to send in \'Authorization\' header prefixed by \'Token \'. It is returned only here and cannot be retrieved afterwards.
21356
+ * @type {string}
21357
+ * @memberof OrganizationPolicyApiTokenCreate
21358
+ */
21359
+ 'token'?: string;
21360
+ /**
21361
+ *
21362
+ * @type {string}
21363
+ * @memberof OrganizationPolicyApiTokenCreate
21364
+ */
21365
+ 'creator_name'?: string | null;
21366
+ /**
21367
+ *
21368
+ * @type {string}
21369
+ * @memberof OrganizationPolicyApiTokenCreate
21370
+ */
21371
+ 'user_sub'?: string;
21372
+ /**
21373
+ *
21374
+ * @type {string}
21375
+ * @memberof OrganizationPolicyApiTokenCreate
21376
+ */
21377
+ 'expires_at'?: string | null;
21378
+ }
21379
+ /**
21380
+ *
21381
+ * @export
21382
+ * @interface OrganizationPolicyApiTokenCreateRequest
21383
+ */
21384
+ export interface OrganizationPolicyApiTokenCreateRequest {
21385
+ /**
21386
+ *
21387
+ * @type {string}
21388
+ * @memberof OrganizationPolicyApiTokenCreateRequest
21389
+ */
21390
+ 'name': string;
21391
+ /**
21392
+ *
21393
+ * @type {string}
21394
+ * @memberof OrganizationPolicyApiTokenCreateRequest
21395
+ */
21396
+ 'description'?: string;
21397
+ /**
21398
+ * Open Policy Agent (rego) rule definitions, without a `package` declaration: Qovery prepends a per-token package so that one token\'s rules cannot authorize another\'s. The policy must define an `allow` rule, and the request is denied unless it evaluates to true.
21399
+ * @type {string}
21400
+ * @memberof OrganizationPolicyApiTokenCreateRequest
21401
+ */
21402
+ 'opa_policy': string;
21403
+ /**
21404
+ *
21405
+ * @type {string}
21406
+ * @memberof OrganizationPolicyApiTokenCreateRequest
21407
+ */
21408
+ 'expires_at'?: string | null;
21409
+ }
21410
+ /**
21411
+ *
21412
+ * @export
21413
+ * @interface OrganizationPolicyApiTokenResponseList
21414
+ */
21415
+ export interface OrganizationPolicyApiTokenResponseList {
21416
+ /**
21417
+ *
21418
+ * @type {Array<OrganizationPolicyApiToken>}
21419
+ * @memberof OrganizationPolicyApiTokenResponseList
21420
+ */
21421
+ 'results'?: Array<OrganizationPolicyApiToken>;
21422
+ }
21330
21423
  /**
21331
21424
  *
21332
21425
  * @export
@@ -62993,6 +63086,443 @@ export class LifecycleTemplateMainCallsApi extends BaseAPI {
62993
63086
 
62994
63087
 
62995
63088
 
63089
+ /**
63090
+ * MCPServersApi - axios parameter creator
63091
+ * @export
63092
+ */
63093
+ export const MCPServersApiAxiosParamCreator = function (configuration?: Configuration) {
63094
+ return {
63095
+ /**
63096
+ * Configure a remote HTTPS MCP server for an organization.
63097
+ * @summary Create an MCP server
63098
+ * @param {string} organizationId Organization ID
63099
+ * @param {McpServerRequest} mcpServerRequest
63100
+ * @param {*} [options] Override http request option.
63101
+ * @throws {RequiredError}
63102
+ */
63103
+ createMcpServer: async (organizationId: string, mcpServerRequest: McpServerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63104
+ // verify required parameter 'organizationId' is not null or undefined
63105
+ assertParamExists('createMcpServer', 'organizationId', organizationId)
63106
+ // verify required parameter 'mcpServerRequest' is not null or undefined
63107
+ assertParamExists('createMcpServer', 'mcpServerRequest', mcpServerRequest)
63108
+ const localVarPath = `/organization/{organizationId}/mcpServer`
63109
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
63110
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63111
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63112
+ let baseOptions;
63113
+ if (configuration) {
63114
+ baseOptions = configuration.baseOptions;
63115
+ }
63116
+
63117
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
63118
+ const localVarHeaderParameter = {} as any;
63119
+ const localVarQueryParameter = {} as any;
63120
+
63121
+ // authentication ApiKeyAuth required
63122
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
63123
+
63124
+ // authentication bearerAuth required
63125
+ // http bearer authentication required
63126
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
63127
+
63128
+
63129
+
63130
+ localVarHeaderParameter['Content-Type'] = 'application/json';
63131
+
63132
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63133
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63134
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63135
+ localVarRequestOptions.data = serializeDataIfNeeded(mcpServerRequest, localVarRequestOptions, configuration)
63136
+
63137
+ return {
63138
+ url: toPathString(localVarUrlObj),
63139
+ options: localVarRequestOptions,
63140
+ };
63141
+ },
63142
+ /**
63143
+ * Delete a remote MCP server configuration.
63144
+ * @summary Delete an MCP server
63145
+ * @param {string} mcpServerId MCP Server ID
63146
+ * @param {*} [options] Override http request option.
63147
+ * @throws {RequiredError}
63148
+ */
63149
+ deleteMcpServer: async (mcpServerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63150
+ // verify required parameter 'mcpServerId' is not null or undefined
63151
+ assertParamExists('deleteMcpServer', 'mcpServerId', mcpServerId)
63152
+ const localVarPath = `/mcpServer/{mcpServerId}`
63153
+ .replace(`{${"mcpServerId"}}`, encodeURIComponent(String(mcpServerId)));
63154
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63155
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63156
+ let baseOptions;
63157
+ if (configuration) {
63158
+ baseOptions = configuration.baseOptions;
63159
+ }
63160
+
63161
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
63162
+ const localVarHeaderParameter = {} as any;
63163
+ const localVarQueryParameter = {} as any;
63164
+
63165
+ // authentication ApiKeyAuth required
63166
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
63167
+
63168
+ // authentication bearerAuth required
63169
+ // http bearer authentication required
63170
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
63171
+
63172
+
63173
+
63174
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63175
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63176
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63177
+
63178
+ return {
63179
+ url: toPathString(localVarUrlObj),
63180
+ options: localVarRequestOptions,
63181
+ };
63182
+ },
63183
+ /**
63184
+ * Replace a remote MCP server configuration, including all configured headers.
63185
+ * @summary Edit an MCP server
63186
+ * @param {string} mcpServerId MCP Server ID
63187
+ * @param {McpServerRequest} mcpServerRequest
63188
+ * @param {*} [options] Override http request option.
63189
+ * @throws {RequiredError}
63190
+ */
63191
+ editMcpServer: async (mcpServerId: string, mcpServerRequest: McpServerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63192
+ // verify required parameter 'mcpServerId' is not null or undefined
63193
+ assertParamExists('editMcpServer', 'mcpServerId', mcpServerId)
63194
+ // verify required parameter 'mcpServerRequest' is not null or undefined
63195
+ assertParamExists('editMcpServer', 'mcpServerRequest', mcpServerRequest)
63196
+ const localVarPath = `/mcpServer/{mcpServerId}`
63197
+ .replace(`{${"mcpServerId"}}`, encodeURIComponent(String(mcpServerId)));
63198
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63199
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63200
+ let baseOptions;
63201
+ if (configuration) {
63202
+ baseOptions = configuration.baseOptions;
63203
+ }
63204
+
63205
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
63206
+ const localVarHeaderParameter = {} as any;
63207
+ const localVarQueryParameter = {} as any;
63208
+
63209
+ // authentication ApiKeyAuth required
63210
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
63211
+
63212
+ // authentication bearerAuth required
63213
+ // http bearer authentication required
63214
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
63215
+
63216
+
63217
+
63218
+ localVarHeaderParameter['Content-Type'] = 'application/json';
63219
+
63220
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63221
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63222
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63223
+ localVarRequestOptions.data = serializeDataIfNeeded(mcpServerRequest, localVarRequestOptions, configuration)
63224
+
63225
+ return {
63226
+ url: toPathString(localVarUrlObj),
63227
+ options: localVarRequestOptions,
63228
+ };
63229
+ },
63230
+ /**
63231
+ * Get a remote MCP server configuration. Header values are never returned.
63232
+ * @summary Get an MCP server
63233
+ * @param {string} mcpServerId MCP Server ID
63234
+ * @param {*} [options] Override http request option.
63235
+ * @throws {RequiredError}
63236
+ */
63237
+ getMcpServer: async (mcpServerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63238
+ // verify required parameter 'mcpServerId' is not null or undefined
63239
+ assertParamExists('getMcpServer', 'mcpServerId', mcpServerId)
63240
+ const localVarPath = `/mcpServer/{mcpServerId}`
63241
+ .replace(`{${"mcpServerId"}}`, encodeURIComponent(String(mcpServerId)));
63242
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63243
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63244
+ let baseOptions;
63245
+ if (configuration) {
63246
+ baseOptions = configuration.baseOptions;
63247
+ }
63248
+
63249
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
63250
+ const localVarHeaderParameter = {} as any;
63251
+ const localVarQueryParameter = {} as any;
63252
+
63253
+ // authentication ApiKeyAuth required
63254
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
63255
+
63256
+ // authentication bearerAuth required
63257
+ // http bearer authentication required
63258
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
63259
+
63260
+
63261
+
63262
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63263
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63264
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63265
+
63266
+ return {
63267
+ url: toPathString(localVarUrlObj),
63268
+ options: localVarRequestOptions,
63269
+ };
63270
+ },
63271
+ /**
63272
+ * List the remote MCP servers configured for an organization. Header values are never returned.
63273
+ * @summary List organization MCP servers
63274
+ * @param {string} organizationId Organization ID
63275
+ * @param {*} [options] Override http request option.
63276
+ * @throws {RequiredError}
63277
+ */
63278
+ listMcpServers: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63279
+ // verify required parameter 'organizationId' is not null or undefined
63280
+ assertParamExists('listMcpServers', 'organizationId', organizationId)
63281
+ const localVarPath = `/organization/{organizationId}/mcpServer`
63282
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
63283
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63284
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63285
+ let baseOptions;
63286
+ if (configuration) {
63287
+ baseOptions = configuration.baseOptions;
63288
+ }
63289
+
63290
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
63291
+ const localVarHeaderParameter = {} as any;
63292
+ const localVarQueryParameter = {} as any;
63293
+
63294
+ // authentication ApiKeyAuth required
63295
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
63296
+
63297
+ // authentication bearerAuth required
63298
+ // http bearer authentication required
63299
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
63300
+
63301
+
63302
+
63303
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63304
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63305
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63306
+
63307
+ return {
63308
+ url: toPathString(localVarUrlObj),
63309
+ options: localVarRequestOptions,
63310
+ };
63311
+ },
63312
+ }
63313
+ };
63314
+
63315
+ /**
63316
+ * MCPServersApi - functional programming interface
63317
+ * @export
63318
+ */
63319
+ export const MCPServersApiFp = function(configuration?: Configuration) {
63320
+ const localVarAxiosParamCreator = MCPServersApiAxiosParamCreator(configuration)
63321
+ return {
63322
+ /**
63323
+ * Configure a remote HTTPS MCP server for an organization.
63324
+ * @summary Create an MCP server
63325
+ * @param {string} organizationId Organization ID
63326
+ * @param {McpServerRequest} mcpServerRequest
63327
+ * @param {*} [options] Override http request option.
63328
+ * @throws {RequiredError}
63329
+ */
63330
+ async createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>> {
63331
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createMcpServer(organizationId, mcpServerRequest, options);
63332
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63333
+ const localVarOperationServerBasePath = operationServerMap['MCPServersApi.createMcpServer']?.[localVarOperationServerIndex]?.url;
63334
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63335
+ },
63336
+ /**
63337
+ * Delete a remote MCP server configuration.
63338
+ * @summary Delete an MCP server
63339
+ * @param {string} mcpServerId MCP Server ID
63340
+ * @param {*} [options] Override http request option.
63341
+ * @throws {RequiredError}
63342
+ */
63343
+ async deleteMcpServer(mcpServerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
63344
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMcpServer(mcpServerId, options);
63345
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63346
+ const localVarOperationServerBasePath = operationServerMap['MCPServersApi.deleteMcpServer']?.[localVarOperationServerIndex]?.url;
63347
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63348
+ },
63349
+ /**
63350
+ * Replace a remote MCP server configuration, including all configured headers.
63351
+ * @summary Edit an MCP server
63352
+ * @param {string} mcpServerId MCP Server ID
63353
+ * @param {McpServerRequest} mcpServerRequest
63354
+ * @param {*} [options] Override http request option.
63355
+ * @throws {RequiredError}
63356
+ */
63357
+ async editMcpServer(mcpServerId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>> {
63358
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editMcpServer(mcpServerId, mcpServerRequest, options);
63359
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63360
+ const localVarOperationServerBasePath = operationServerMap['MCPServersApi.editMcpServer']?.[localVarOperationServerIndex]?.url;
63361
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63362
+ },
63363
+ /**
63364
+ * Get a remote MCP server configuration. Header values are never returned.
63365
+ * @summary Get an MCP server
63366
+ * @param {string} mcpServerId MCP Server ID
63367
+ * @param {*} [options] Override http request option.
63368
+ * @throws {RequiredError}
63369
+ */
63370
+ async getMcpServer(mcpServerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponse>> {
63371
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMcpServer(mcpServerId, options);
63372
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63373
+ const localVarOperationServerBasePath = operationServerMap['MCPServersApi.getMcpServer']?.[localVarOperationServerIndex]?.url;
63374
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63375
+ },
63376
+ /**
63377
+ * List the remote MCP servers configured for an organization. Header values are never returned.
63378
+ * @summary List organization MCP servers
63379
+ * @param {string} organizationId Organization ID
63380
+ * @param {*} [options] Override http request option.
63381
+ * @throws {RequiredError}
63382
+ */
63383
+ async listMcpServers(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpServerResponseList>> {
63384
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listMcpServers(organizationId, options);
63385
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63386
+ const localVarOperationServerBasePath = operationServerMap['MCPServersApi.listMcpServers']?.[localVarOperationServerIndex]?.url;
63387
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63388
+ },
63389
+ }
63390
+ };
63391
+
63392
+ /**
63393
+ * MCPServersApi - factory interface
63394
+ * @export
63395
+ */
63396
+ export const MCPServersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
63397
+ const localVarFp = MCPServersApiFp(configuration)
63398
+ return {
63399
+ /**
63400
+ * Configure a remote HTTPS MCP server for an organization.
63401
+ * @summary Create an MCP server
63402
+ * @param {string} organizationId Organization ID
63403
+ * @param {McpServerRequest} mcpServerRequest
63404
+ * @param {*} [options] Override http request option.
63405
+ * @throws {RequiredError}
63406
+ */
63407
+ createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse> {
63408
+ return localVarFp.createMcpServer(organizationId, mcpServerRequest, options).then((request) => request(axios, basePath));
63409
+ },
63410
+ /**
63411
+ * Delete a remote MCP server configuration.
63412
+ * @summary Delete an MCP server
63413
+ * @param {string} mcpServerId MCP Server ID
63414
+ * @param {*} [options] Override http request option.
63415
+ * @throws {RequiredError}
63416
+ */
63417
+ deleteMcpServer(mcpServerId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
63418
+ return localVarFp.deleteMcpServer(mcpServerId, options).then((request) => request(axios, basePath));
63419
+ },
63420
+ /**
63421
+ * Replace a remote MCP server configuration, including all configured headers.
63422
+ * @summary Edit an MCP server
63423
+ * @param {string} mcpServerId MCP Server ID
63424
+ * @param {McpServerRequest} mcpServerRequest
63425
+ * @param {*} [options] Override http request option.
63426
+ * @throws {RequiredError}
63427
+ */
63428
+ editMcpServer(mcpServerId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse> {
63429
+ return localVarFp.editMcpServer(mcpServerId, mcpServerRequest, options).then((request) => request(axios, basePath));
63430
+ },
63431
+ /**
63432
+ * Get a remote MCP server configuration. Header values are never returned.
63433
+ * @summary Get an MCP server
63434
+ * @param {string} mcpServerId MCP Server ID
63435
+ * @param {*} [options] Override http request option.
63436
+ * @throws {RequiredError}
63437
+ */
63438
+ getMcpServer(mcpServerId: string, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponse> {
63439
+ return localVarFp.getMcpServer(mcpServerId, options).then((request) => request(axios, basePath));
63440
+ },
63441
+ /**
63442
+ * List the remote MCP servers configured for an organization. Header values are never returned.
63443
+ * @summary List organization MCP servers
63444
+ * @param {string} organizationId Organization ID
63445
+ * @param {*} [options] Override http request option.
63446
+ * @throws {RequiredError}
63447
+ */
63448
+ listMcpServers(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<McpServerResponseList> {
63449
+ return localVarFp.listMcpServers(organizationId, options).then((request) => request(axios, basePath));
63450
+ },
63451
+ };
63452
+ };
63453
+
63454
+ /**
63455
+ * MCPServersApi - object-oriented interface
63456
+ * @export
63457
+ * @class MCPServersApi
63458
+ * @extends {BaseAPI}
63459
+ */
63460
+ export class MCPServersApi extends BaseAPI {
63461
+ /**
63462
+ * Configure a remote HTTPS MCP server for an organization.
63463
+ * @summary Create an MCP server
63464
+ * @param {string} organizationId Organization ID
63465
+ * @param {McpServerRequest} mcpServerRequest
63466
+ * @param {*} [options] Override http request option.
63467
+ * @throws {RequiredError}
63468
+ * @memberof MCPServersApi
63469
+ */
63470
+ public createMcpServer(organizationId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig) {
63471
+ return MCPServersApiFp(this.configuration).createMcpServer(organizationId, mcpServerRequest, options).then((request) => request(this.axios, this.basePath));
63472
+ }
63473
+
63474
+ /**
63475
+ * Delete a remote MCP server configuration.
63476
+ * @summary Delete an MCP server
63477
+ * @param {string} mcpServerId MCP Server ID
63478
+ * @param {*} [options] Override http request option.
63479
+ * @throws {RequiredError}
63480
+ * @memberof MCPServersApi
63481
+ */
63482
+ public deleteMcpServer(mcpServerId: string, options?: RawAxiosRequestConfig) {
63483
+ return MCPServersApiFp(this.configuration).deleteMcpServer(mcpServerId, options).then((request) => request(this.axios, this.basePath));
63484
+ }
63485
+
63486
+ /**
63487
+ * Replace a remote MCP server configuration, including all configured headers.
63488
+ * @summary Edit an MCP server
63489
+ * @param {string} mcpServerId MCP Server ID
63490
+ * @param {McpServerRequest} mcpServerRequest
63491
+ * @param {*} [options] Override http request option.
63492
+ * @throws {RequiredError}
63493
+ * @memberof MCPServersApi
63494
+ */
63495
+ public editMcpServer(mcpServerId: string, mcpServerRequest: McpServerRequest, options?: RawAxiosRequestConfig) {
63496
+ return MCPServersApiFp(this.configuration).editMcpServer(mcpServerId, mcpServerRequest, options).then((request) => request(this.axios, this.basePath));
63497
+ }
63498
+
63499
+ /**
63500
+ * Get a remote MCP server configuration. Header values are never returned.
63501
+ * @summary Get an MCP server
63502
+ * @param {string} mcpServerId MCP Server ID
63503
+ * @param {*} [options] Override http request option.
63504
+ * @throws {RequiredError}
63505
+ * @memberof MCPServersApi
63506
+ */
63507
+ public getMcpServer(mcpServerId: string, options?: RawAxiosRequestConfig) {
63508
+ return MCPServersApiFp(this.configuration).getMcpServer(mcpServerId, options).then((request) => request(this.axios, this.basePath));
63509
+ }
63510
+
63511
+ /**
63512
+ * List the remote MCP servers configured for an organization. Header values are never returned.
63513
+ * @summary List organization MCP servers
63514
+ * @param {string} organizationId Organization ID
63515
+ * @param {*} [options] Override http request option.
63516
+ * @throws {RequiredError}
63517
+ * @memberof MCPServersApi
63518
+ */
63519
+ public listMcpServers(organizationId: string, options?: RawAxiosRequestConfig) {
63520
+ return MCPServersApiFp(this.configuration).listMcpServers(organizationId, options).then((request) => request(this.axios, this.basePath));
63521
+ }
63522
+ }
63523
+
63524
+
63525
+
62996
63526
  /**
62997
63527
  * MembersApi - axios parameter creator
62998
63528
  * @export
@@ -64408,287 +64938,6 @@ export class OrganizationAccountGitRepositoriesApi extends BaseAPI {
64408
64938
 
64409
64939
 
64410
64940
 
64411
- /**
64412
- * OrganizationAgentApiTokenApi - axios parameter creator
64413
- * @export
64414
- */
64415
- export const OrganizationAgentApiTokenApiAxiosParamCreator = function (configuration?: Configuration) {
64416
- return {
64417
- /**
64418
- * Create an agent api token, intended for autonomous agents calling the Qovery API. Unlike a regular api token, an agent api token carries **no organization role**. The Open Policy Agent (rego) policy attached to it is evaluated on every request and is the only thing constraining what the token can do: a policy that allows everything grants full organization admin access. For that reason only an organization owner or admin can create one. The generated token value is returned only in this response and cannot be retrieved afterwards.
64419
- * @summary Create an organization agent api token
64420
- * @param {string} organizationId Organization ID
64421
- * @param {OrganizationAgentApiTokenCreateRequest} [organizationAgentApiTokenCreateRequest]
64422
- * @param {*} [options] Override http request option.
64423
- * @throws {RequiredError}
64424
- */
64425
- createOrganizationAgentApiToken: async (organizationId: string, organizationAgentApiTokenCreateRequest?: OrganizationAgentApiTokenCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
64426
- // verify required parameter 'organizationId' is not null or undefined
64427
- assertParamExists('createOrganizationAgentApiToken', 'organizationId', organizationId)
64428
- const localVarPath = `/organization/{organizationId}/agentApiToken`
64429
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
64430
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
64431
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
64432
- let baseOptions;
64433
- if (configuration) {
64434
- baseOptions = configuration.baseOptions;
64435
- }
64436
-
64437
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
64438
- const localVarHeaderParameter = {} as any;
64439
- const localVarQueryParameter = {} as any;
64440
-
64441
- // authentication ApiKeyAuth required
64442
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
64443
-
64444
- // authentication bearerAuth required
64445
- // http bearer authentication required
64446
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
64447
-
64448
-
64449
-
64450
- localVarHeaderParameter['Content-Type'] = 'application/json';
64451
-
64452
- setSearchParams(localVarUrlObj, localVarQueryParameter);
64453
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64454
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
64455
- localVarRequestOptions.data = serializeDataIfNeeded(organizationAgentApiTokenCreateRequest, localVarRequestOptions, configuration)
64456
-
64457
- return {
64458
- url: toPathString(localVarUrlObj),
64459
- options: localVarRequestOptions,
64460
- };
64461
- },
64462
- /**
64463
- * Delete organization agent api token
64464
- * @summary Delete organization agent api token
64465
- * @param {string} organizationId Organization ID
64466
- * @param {string} agentApiTokenId Organization Agent Api Token ID
64467
- * @param {*} [options] Override http request option.
64468
- * @throws {RequiredError}
64469
- */
64470
- deleteOrganizationAgentApiToken: async (organizationId: string, agentApiTokenId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
64471
- // verify required parameter 'organizationId' is not null or undefined
64472
- assertParamExists('deleteOrganizationAgentApiToken', 'organizationId', organizationId)
64473
- // verify required parameter 'agentApiTokenId' is not null or undefined
64474
- assertParamExists('deleteOrganizationAgentApiToken', 'agentApiTokenId', agentApiTokenId)
64475
- const localVarPath = `/organization/{organizationId}/agentApiToken/{agentApiTokenId}`
64476
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
64477
- .replace(`{${"agentApiTokenId"}}`, encodeURIComponent(String(agentApiTokenId)));
64478
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
64479
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
64480
- let baseOptions;
64481
- if (configuration) {
64482
- baseOptions = configuration.baseOptions;
64483
- }
64484
-
64485
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
64486
- const localVarHeaderParameter = {} as any;
64487
- const localVarQueryParameter = {} as any;
64488
-
64489
- // authentication ApiKeyAuth required
64490
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
64491
-
64492
- // authentication bearerAuth required
64493
- // http bearer authentication required
64494
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
64495
-
64496
-
64497
-
64498
- setSearchParams(localVarUrlObj, localVarQueryParameter);
64499
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64500
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
64501
-
64502
- return {
64503
- url: toPathString(localVarUrlObj),
64504
- options: localVarRequestOptions,
64505
- };
64506
- },
64507
- /**
64508
- * List the agent api tokens of the organization, each with the Open Policy Agent (rego) policy it carries. The token value itself is never returned here, it is only shown once at creation.
64509
- * @summary List organization agent api tokens
64510
- * @param {string} organizationId Organization ID
64511
- * @param {*} [options] Override http request option.
64512
- * @throws {RequiredError}
64513
- */
64514
- listOrganizationAgentApiTokens: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
64515
- // verify required parameter 'organizationId' is not null or undefined
64516
- assertParamExists('listOrganizationAgentApiTokens', 'organizationId', organizationId)
64517
- const localVarPath = `/organization/{organizationId}/agentApiToken`
64518
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
64519
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
64520
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
64521
- let baseOptions;
64522
- if (configuration) {
64523
- baseOptions = configuration.baseOptions;
64524
- }
64525
-
64526
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
64527
- const localVarHeaderParameter = {} as any;
64528
- const localVarQueryParameter = {} as any;
64529
-
64530
- // authentication ApiKeyAuth required
64531
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
64532
-
64533
- // authentication bearerAuth required
64534
- // http bearer authentication required
64535
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
64536
-
64537
-
64538
-
64539
- setSearchParams(localVarUrlObj, localVarQueryParameter);
64540
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64541
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
64542
-
64543
- return {
64544
- url: toPathString(localVarUrlObj),
64545
- options: localVarRequestOptions,
64546
- };
64547
- },
64548
- }
64549
- };
64550
-
64551
- /**
64552
- * OrganizationAgentApiTokenApi - functional programming interface
64553
- * @export
64554
- */
64555
- export const OrganizationAgentApiTokenApiFp = function(configuration?: Configuration) {
64556
- const localVarAxiosParamCreator = OrganizationAgentApiTokenApiAxiosParamCreator(configuration)
64557
- return {
64558
- /**
64559
- * Create an agent api token, intended for autonomous agents calling the Qovery API. Unlike a regular api token, an agent api token carries **no organization role**. The Open Policy Agent (rego) policy attached to it is evaluated on every request and is the only thing constraining what the token can do: a policy that allows everything grants full organization admin access. For that reason only an organization owner or admin can create one. The generated token value is returned only in this response and cannot be retrieved afterwards.
64560
- * @summary Create an organization agent api token
64561
- * @param {string} organizationId Organization ID
64562
- * @param {OrganizationAgentApiTokenCreateRequest} [organizationAgentApiTokenCreateRequest]
64563
- * @param {*} [options] Override http request option.
64564
- * @throws {RequiredError}
64565
- */
64566
- async createOrganizationAgentApiToken(organizationId: string, organizationAgentApiTokenCreateRequest?: OrganizationAgentApiTokenCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAgentApiTokenCreate>> {
64567
- const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationAgentApiToken(organizationId, organizationAgentApiTokenCreateRequest, options);
64568
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
64569
- const localVarOperationServerBasePath = operationServerMap['OrganizationAgentApiTokenApi.createOrganizationAgentApiToken']?.[localVarOperationServerIndex]?.url;
64570
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
64571
- },
64572
- /**
64573
- * Delete organization agent api token
64574
- * @summary Delete organization agent api token
64575
- * @param {string} organizationId Organization ID
64576
- * @param {string} agentApiTokenId Organization Agent Api Token ID
64577
- * @param {*} [options] Override http request option.
64578
- * @throws {RequiredError}
64579
- */
64580
- async deleteOrganizationAgentApiToken(organizationId: string, agentApiTokenId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
64581
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationAgentApiToken(organizationId, agentApiTokenId, options);
64582
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
64583
- const localVarOperationServerBasePath = operationServerMap['OrganizationAgentApiTokenApi.deleteOrganizationAgentApiToken']?.[localVarOperationServerIndex]?.url;
64584
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
64585
- },
64586
- /**
64587
- * List the agent api tokens of the organization, each with the Open Policy Agent (rego) policy it carries. The token value itself is never returned here, it is only shown once at creation.
64588
- * @summary List organization agent api tokens
64589
- * @param {string} organizationId Organization ID
64590
- * @param {*} [options] Override http request option.
64591
- * @throws {RequiredError}
64592
- */
64593
- async listOrganizationAgentApiTokens(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAgentApiTokenResponseList>> {
64594
- const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationAgentApiTokens(organizationId, options);
64595
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
64596
- const localVarOperationServerBasePath = operationServerMap['OrganizationAgentApiTokenApi.listOrganizationAgentApiTokens']?.[localVarOperationServerIndex]?.url;
64597
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
64598
- },
64599
- }
64600
- };
64601
-
64602
- /**
64603
- * OrganizationAgentApiTokenApi - factory interface
64604
- * @export
64605
- */
64606
- export const OrganizationAgentApiTokenApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
64607
- const localVarFp = OrganizationAgentApiTokenApiFp(configuration)
64608
- return {
64609
- /**
64610
- * Create an agent api token, intended for autonomous agents calling the Qovery API. Unlike a regular api token, an agent api token carries **no organization role**. The Open Policy Agent (rego) policy attached to it is evaluated on every request and is the only thing constraining what the token can do: a policy that allows everything grants full organization admin access. For that reason only an organization owner or admin can create one. The generated token value is returned only in this response and cannot be retrieved afterwards.
64611
- * @summary Create an organization agent api token
64612
- * @param {string} organizationId Organization ID
64613
- * @param {OrganizationAgentApiTokenCreateRequest} [organizationAgentApiTokenCreateRequest]
64614
- * @param {*} [options] Override http request option.
64615
- * @throws {RequiredError}
64616
- */
64617
- createOrganizationAgentApiToken(organizationId: string, organizationAgentApiTokenCreateRequest?: OrganizationAgentApiTokenCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationAgentApiTokenCreate> {
64618
- return localVarFp.createOrganizationAgentApiToken(organizationId, organizationAgentApiTokenCreateRequest, options).then((request) => request(axios, basePath));
64619
- },
64620
- /**
64621
- * Delete organization agent api token
64622
- * @summary Delete organization agent api token
64623
- * @param {string} organizationId Organization ID
64624
- * @param {string} agentApiTokenId Organization Agent Api Token ID
64625
- * @param {*} [options] Override http request option.
64626
- * @throws {RequiredError}
64627
- */
64628
- deleteOrganizationAgentApiToken(organizationId: string, agentApiTokenId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
64629
- return localVarFp.deleteOrganizationAgentApiToken(organizationId, agentApiTokenId, options).then((request) => request(axios, basePath));
64630
- },
64631
- /**
64632
- * List the agent api tokens of the organization, each with the Open Policy Agent (rego) policy it carries. The token value itself is never returned here, it is only shown once at creation.
64633
- * @summary List organization agent api tokens
64634
- * @param {string} organizationId Organization ID
64635
- * @param {*} [options] Override http request option.
64636
- * @throws {RequiredError}
64637
- */
64638
- listOrganizationAgentApiTokens(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationAgentApiTokenResponseList> {
64639
- return localVarFp.listOrganizationAgentApiTokens(organizationId, options).then((request) => request(axios, basePath));
64640
- },
64641
- };
64642
- };
64643
-
64644
- /**
64645
- * OrganizationAgentApiTokenApi - object-oriented interface
64646
- * @export
64647
- * @class OrganizationAgentApiTokenApi
64648
- * @extends {BaseAPI}
64649
- */
64650
- export class OrganizationAgentApiTokenApi extends BaseAPI {
64651
- /**
64652
- * Create an agent api token, intended for autonomous agents calling the Qovery API. Unlike a regular api token, an agent api token carries **no organization role**. The Open Policy Agent (rego) policy attached to it is evaluated on every request and is the only thing constraining what the token can do: a policy that allows everything grants full organization admin access. For that reason only an organization owner or admin can create one. The generated token value is returned only in this response and cannot be retrieved afterwards.
64653
- * @summary Create an organization agent api token
64654
- * @param {string} organizationId Organization ID
64655
- * @param {OrganizationAgentApiTokenCreateRequest} [organizationAgentApiTokenCreateRequest]
64656
- * @param {*} [options] Override http request option.
64657
- * @throws {RequiredError}
64658
- * @memberof OrganizationAgentApiTokenApi
64659
- */
64660
- public createOrganizationAgentApiToken(organizationId: string, organizationAgentApiTokenCreateRequest?: OrganizationAgentApiTokenCreateRequest, options?: RawAxiosRequestConfig) {
64661
- return OrganizationAgentApiTokenApiFp(this.configuration).createOrganizationAgentApiToken(organizationId, organizationAgentApiTokenCreateRequest, options).then((request) => request(this.axios, this.basePath));
64662
- }
64663
-
64664
- /**
64665
- * Delete organization agent api token
64666
- * @summary Delete organization agent api token
64667
- * @param {string} organizationId Organization ID
64668
- * @param {string} agentApiTokenId Organization Agent Api Token ID
64669
- * @param {*} [options] Override http request option.
64670
- * @throws {RequiredError}
64671
- * @memberof OrganizationAgentApiTokenApi
64672
- */
64673
- public deleteOrganizationAgentApiToken(organizationId: string, agentApiTokenId: string, options?: RawAxiosRequestConfig) {
64674
- return OrganizationAgentApiTokenApiFp(this.configuration).deleteOrganizationAgentApiToken(organizationId, agentApiTokenId, options).then((request) => request(this.axios, this.basePath));
64675
- }
64676
-
64677
- /**
64678
- * List the agent api tokens of the organization, each with the Open Policy Agent (rego) policy it carries. The token value itself is never returned here, it is only shown once at creation.
64679
- * @summary List organization agent api tokens
64680
- * @param {string} organizationId Organization ID
64681
- * @param {*} [options] Override http request option.
64682
- * @throws {RequiredError}
64683
- * @memberof OrganizationAgentApiTokenApi
64684
- */
64685
- public listOrganizationAgentApiTokens(organizationId: string, options?: RawAxiosRequestConfig) {
64686
- return OrganizationAgentApiTokenApiFp(this.configuration).listOrganizationAgentApiTokens(organizationId, options).then((request) => request(this.axios, this.basePath));
64687
- }
64688
- }
64689
-
64690
-
64691
-
64692
64941
  /**
64693
64942
  * OrganizationAnnotationsGroupApi - axios parameter creator
64694
64943
  * @export
@@ -69026,6 +69275,287 @@ export class OrganizationMainCallsApi extends BaseAPI {
69026
69275
 
69027
69276
 
69028
69277
 
69278
+ /**
69279
+ * OrganizationPolicyApiTokenApi - axios parameter creator
69280
+ * @export
69281
+ */
69282
+ export const OrganizationPolicyApiTokenApiAxiosParamCreator = function (configuration?: Configuration) {
69283
+ return {
69284
+ /**
69285
+ * Create a policy api token, intended for autonomous agents calling the Qovery API. Unlike a regular api token, a policy api token carries **no organization role**. The Open Policy Agent (rego) policy attached to it is evaluated on every request and is the only thing constraining what the token can do: a policy that allows everything grants full organization admin access. For that reason only an organization owner or admin can create one. The generated token value is returned only in this response and cannot be retrieved afterwards.
69286
+ * @summary Create an organization policy api token
69287
+ * @param {string} organizationId Organization ID
69288
+ * @param {OrganizationPolicyApiTokenCreateRequest} [organizationPolicyApiTokenCreateRequest]
69289
+ * @param {*} [options] Override http request option.
69290
+ * @throws {RequiredError}
69291
+ */
69292
+ createOrganizationPolicyApiToken: async (organizationId: string, organizationPolicyApiTokenCreateRequest?: OrganizationPolicyApiTokenCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
69293
+ // verify required parameter 'organizationId' is not null or undefined
69294
+ assertParamExists('createOrganizationPolicyApiToken', 'organizationId', organizationId)
69295
+ const localVarPath = `/organization/{organizationId}/policyApiToken`
69296
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
69297
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
69298
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
69299
+ let baseOptions;
69300
+ if (configuration) {
69301
+ baseOptions = configuration.baseOptions;
69302
+ }
69303
+
69304
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
69305
+ const localVarHeaderParameter = {} as any;
69306
+ const localVarQueryParameter = {} as any;
69307
+
69308
+ // authentication ApiKeyAuth required
69309
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
69310
+
69311
+ // authentication bearerAuth required
69312
+ // http bearer authentication required
69313
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
69314
+
69315
+
69316
+
69317
+ localVarHeaderParameter['Content-Type'] = 'application/json';
69318
+
69319
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
69320
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
69321
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
69322
+ localVarRequestOptions.data = serializeDataIfNeeded(organizationPolicyApiTokenCreateRequest, localVarRequestOptions, configuration)
69323
+
69324
+ return {
69325
+ url: toPathString(localVarUrlObj),
69326
+ options: localVarRequestOptions,
69327
+ };
69328
+ },
69329
+ /**
69330
+ * Delete organization policy api token
69331
+ * @summary Delete organization policy api token
69332
+ * @param {string} organizationId Organization ID
69333
+ * @param {string} policyApiTokenId Organization Policy Api Token ID
69334
+ * @param {*} [options] Override http request option.
69335
+ * @throws {RequiredError}
69336
+ */
69337
+ deleteOrganizationPolicyApiToken: async (organizationId: string, policyApiTokenId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
69338
+ // verify required parameter 'organizationId' is not null or undefined
69339
+ assertParamExists('deleteOrganizationPolicyApiToken', 'organizationId', organizationId)
69340
+ // verify required parameter 'policyApiTokenId' is not null or undefined
69341
+ assertParamExists('deleteOrganizationPolicyApiToken', 'policyApiTokenId', policyApiTokenId)
69342
+ const localVarPath = `/organization/{organizationId}/policyApiToken/{policyApiTokenId}`
69343
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
69344
+ .replace(`{${"policyApiTokenId"}}`, encodeURIComponent(String(policyApiTokenId)));
69345
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
69346
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
69347
+ let baseOptions;
69348
+ if (configuration) {
69349
+ baseOptions = configuration.baseOptions;
69350
+ }
69351
+
69352
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
69353
+ const localVarHeaderParameter = {} as any;
69354
+ const localVarQueryParameter = {} as any;
69355
+
69356
+ // authentication ApiKeyAuth required
69357
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
69358
+
69359
+ // authentication bearerAuth required
69360
+ // http bearer authentication required
69361
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
69362
+
69363
+
69364
+
69365
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
69366
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
69367
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
69368
+
69369
+ return {
69370
+ url: toPathString(localVarUrlObj),
69371
+ options: localVarRequestOptions,
69372
+ };
69373
+ },
69374
+ /**
69375
+ * List the policy api tokens of the organization, each with the Open Policy Agent (rego) policy it carries. The token value itself is never returned here, it is only shown once at creation.
69376
+ * @summary List organization policy api tokens
69377
+ * @param {string} organizationId Organization ID
69378
+ * @param {*} [options] Override http request option.
69379
+ * @throws {RequiredError}
69380
+ */
69381
+ listOrganizationPolicyApiTokens: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
69382
+ // verify required parameter 'organizationId' is not null or undefined
69383
+ assertParamExists('listOrganizationPolicyApiTokens', 'organizationId', organizationId)
69384
+ const localVarPath = `/organization/{organizationId}/policyApiToken`
69385
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
69386
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
69387
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
69388
+ let baseOptions;
69389
+ if (configuration) {
69390
+ baseOptions = configuration.baseOptions;
69391
+ }
69392
+
69393
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
69394
+ const localVarHeaderParameter = {} as any;
69395
+ const localVarQueryParameter = {} as any;
69396
+
69397
+ // authentication ApiKeyAuth required
69398
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
69399
+
69400
+ // authentication bearerAuth required
69401
+ // http bearer authentication required
69402
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
69403
+
69404
+
69405
+
69406
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
69407
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
69408
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
69409
+
69410
+ return {
69411
+ url: toPathString(localVarUrlObj),
69412
+ options: localVarRequestOptions,
69413
+ };
69414
+ },
69415
+ }
69416
+ };
69417
+
69418
+ /**
69419
+ * OrganizationPolicyApiTokenApi - functional programming interface
69420
+ * @export
69421
+ */
69422
+ export const OrganizationPolicyApiTokenApiFp = function(configuration?: Configuration) {
69423
+ const localVarAxiosParamCreator = OrganizationPolicyApiTokenApiAxiosParamCreator(configuration)
69424
+ return {
69425
+ /**
69426
+ * Create a policy api token, intended for autonomous agents calling the Qovery API. Unlike a regular api token, a policy api token carries **no organization role**. The Open Policy Agent (rego) policy attached to it is evaluated on every request and is the only thing constraining what the token can do: a policy that allows everything grants full organization admin access. For that reason only an organization owner or admin can create one. The generated token value is returned only in this response and cannot be retrieved afterwards.
69427
+ * @summary Create an organization policy api token
69428
+ * @param {string} organizationId Organization ID
69429
+ * @param {OrganizationPolicyApiTokenCreateRequest} [organizationPolicyApiTokenCreateRequest]
69430
+ * @param {*} [options] Override http request option.
69431
+ * @throws {RequiredError}
69432
+ */
69433
+ async createOrganizationPolicyApiToken(organizationId: string, organizationPolicyApiTokenCreateRequest?: OrganizationPolicyApiTokenCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationPolicyApiTokenCreate>> {
69434
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationPolicyApiToken(organizationId, organizationPolicyApiTokenCreateRequest, options);
69435
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
69436
+ const localVarOperationServerBasePath = operationServerMap['OrganizationPolicyApiTokenApi.createOrganizationPolicyApiToken']?.[localVarOperationServerIndex]?.url;
69437
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69438
+ },
69439
+ /**
69440
+ * Delete organization policy api token
69441
+ * @summary Delete organization policy api token
69442
+ * @param {string} organizationId Organization ID
69443
+ * @param {string} policyApiTokenId Organization Policy Api Token ID
69444
+ * @param {*} [options] Override http request option.
69445
+ * @throws {RequiredError}
69446
+ */
69447
+ async deleteOrganizationPolicyApiToken(organizationId: string, policyApiTokenId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
69448
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationPolicyApiToken(organizationId, policyApiTokenId, options);
69449
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
69450
+ const localVarOperationServerBasePath = operationServerMap['OrganizationPolicyApiTokenApi.deleteOrganizationPolicyApiToken']?.[localVarOperationServerIndex]?.url;
69451
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69452
+ },
69453
+ /**
69454
+ * List the policy api tokens of the organization, each with the Open Policy Agent (rego) policy it carries. The token value itself is never returned here, it is only shown once at creation.
69455
+ * @summary List organization policy api tokens
69456
+ * @param {string} organizationId Organization ID
69457
+ * @param {*} [options] Override http request option.
69458
+ * @throws {RequiredError}
69459
+ */
69460
+ async listOrganizationPolicyApiTokens(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationPolicyApiTokenResponseList>> {
69461
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationPolicyApiTokens(organizationId, options);
69462
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
69463
+ const localVarOperationServerBasePath = operationServerMap['OrganizationPolicyApiTokenApi.listOrganizationPolicyApiTokens']?.[localVarOperationServerIndex]?.url;
69464
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69465
+ },
69466
+ }
69467
+ };
69468
+
69469
+ /**
69470
+ * OrganizationPolicyApiTokenApi - factory interface
69471
+ * @export
69472
+ */
69473
+ export const OrganizationPolicyApiTokenApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
69474
+ const localVarFp = OrganizationPolicyApiTokenApiFp(configuration)
69475
+ return {
69476
+ /**
69477
+ * Create a policy api token, intended for autonomous agents calling the Qovery API. Unlike a regular api token, a policy api token carries **no organization role**. The Open Policy Agent (rego) policy attached to it is evaluated on every request and is the only thing constraining what the token can do: a policy that allows everything grants full organization admin access. For that reason only an organization owner or admin can create one. The generated token value is returned only in this response and cannot be retrieved afterwards.
69478
+ * @summary Create an organization policy api token
69479
+ * @param {string} organizationId Organization ID
69480
+ * @param {OrganizationPolicyApiTokenCreateRequest} [organizationPolicyApiTokenCreateRequest]
69481
+ * @param {*} [options] Override http request option.
69482
+ * @throws {RequiredError}
69483
+ */
69484
+ createOrganizationPolicyApiToken(organizationId: string, organizationPolicyApiTokenCreateRequest?: OrganizationPolicyApiTokenCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationPolicyApiTokenCreate> {
69485
+ return localVarFp.createOrganizationPolicyApiToken(organizationId, organizationPolicyApiTokenCreateRequest, options).then((request) => request(axios, basePath));
69486
+ },
69487
+ /**
69488
+ * Delete organization policy api token
69489
+ * @summary Delete organization policy api token
69490
+ * @param {string} organizationId Organization ID
69491
+ * @param {string} policyApiTokenId Organization Policy Api Token ID
69492
+ * @param {*} [options] Override http request option.
69493
+ * @throws {RequiredError}
69494
+ */
69495
+ deleteOrganizationPolicyApiToken(organizationId: string, policyApiTokenId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
69496
+ return localVarFp.deleteOrganizationPolicyApiToken(organizationId, policyApiTokenId, options).then((request) => request(axios, basePath));
69497
+ },
69498
+ /**
69499
+ * List the policy api tokens of the organization, each with the Open Policy Agent (rego) policy it carries. The token value itself is never returned here, it is only shown once at creation.
69500
+ * @summary List organization policy api tokens
69501
+ * @param {string} organizationId Organization ID
69502
+ * @param {*} [options] Override http request option.
69503
+ * @throws {RequiredError}
69504
+ */
69505
+ listOrganizationPolicyApiTokens(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationPolicyApiTokenResponseList> {
69506
+ return localVarFp.listOrganizationPolicyApiTokens(organizationId, options).then((request) => request(axios, basePath));
69507
+ },
69508
+ };
69509
+ };
69510
+
69511
+ /**
69512
+ * OrganizationPolicyApiTokenApi - object-oriented interface
69513
+ * @export
69514
+ * @class OrganizationPolicyApiTokenApi
69515
+ * @extends {BaseAPI}
69516
+ */
69517
+ export class OrganizationPolicyApiTokenApi extends BaseAPI {
69518
+ /**
69519
+ * Create a policy api token, intended for autonomous agents calling the Qovery API. Unlike a regular api token, a policy api token carries **no organization role**. The Open Policy Agent (rego) policy attached to it is evaluated on every request and is the only thing constraining what the token can do: a policy that allows everything grants full organization admin access. For that reason only an organization owner or admin can create one. The generated token value is returned only in this response and cannot be retrieved afterwards.
69520
+ * @summary Create an organization policy api token
69521
+ * @param {string} organizationId Organization ID
69522
+ * @param {OrganizationPolicyApiTokenCreateRequest} [organizationPolicyApiTokenCreateRequest]
69523
+ * @param {*} [options] Override http request option.
69524
+ * @throws {RequiredError}
69525
+ * @memberof OrganizationPolicyApiTokenApi
69526
+ */
69527
+ public createOrganizationPolicyApiToken(organizationId: string, organizationPolicyApiTokenCreateRequest?: OrganizationPolicyApiTokenCreateRequest, options?: RawAxiosRequestConfig) {
69528
+ return OrganizationPolicyApiTokenApiFp(this.configuration).createOrganizationPolicyApiToken(organizationId, organizationPolicyApiTokenCreateRequest, options).then((request) => request(this.axios, this.basePath));
69529
+ }
69530
+
69531
+ /**
69532
+ * Delete organization policy api token
69533
+ * @summary Delete organization policy api token
69534
+ * @param {string} organizationId Organization ID
69535
+ * @param {string} policyApiTokenId Organization Policy Api Token ID
69536
+ * @param {*} [options] Override http request option.
69537
+ * @throws {RequiredError}
69538
+ * @memberof OrganizationPolicyApiTokenApi
69539
+ */
69540
+ public deleteOrganizationPolicyApiToken(organizationId: string, policyApiTokenId: string, options?: RawAxiosRequestConfig) {
69541
+ return OrganizationPolicyApiTokenApiFp(this.configuration).deleteOrganizationPolicyApiToken(organizationId, policyApiTokenId, options).then((request) => request(this.axios, this.basePath));
69542
+ }
69543
+
69544
+ /**
69545
+ * List the policy api tokens of the organization, each with the Open Policy Agent (rego) policy it carries. The token value itself is never returned here, it is only shown once at creation.
69546
+ * @summary List organization policy api tokens
69547
+ * @param {string} organizationId Organization ID
69548
+ * @param {*} [options] Override http request option.
69549
+ * @throws {RequiredError}
69550
+ * @memberof OrganizationPolicyApiTokenApi
69551
+ */
69552
+ public listOrganizationPolicyApiTokens(organizationId: string, options?: RawAxiosRequestConfig) {
69553
+ return OrganizationPolicyApiTokenApiFp(this.configuration).listOrganizationPolicyApiTokens(organizationId, options).then((request) => request(this.axios, this.basePath));
69554
+ }
69555
+ }
69556
+
69557
+
69558
+
69029
69559
  /**
69030
69560
  * OrganizationWebhookApi - axios parameter creator
69031
69561
  * @export