qovery-typescript-axios 1.1.942 → 1.1.943

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
@@ -19611,166 +19611,6 @@ export interface Organization {
19611
19611
  }
19612
19612
 
19613
19613
 
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
19614
  /**
19775
19615
  *
19776
19616
  * @export
@@ -21327,6 +21167,166 @@ export const OrganizationOnboardingStatusEnum = {
21327
21167
  export type OrganizationOnboardingStatusEnum = typeof OrganizationOnboardingStatusEnum[keyof typeof OrganizationOnboardingStatusEnum];
21328
21168
 
21329
21169
 
21170
+ /**
21171
+ *
21172
+ * @export
21173
+ * @interface OrganizationPolicyApiToken
21174
+ */
21175
+ export interface OrganizationPolicyApiToken {
21176
+ /**
21177
+ *
21178
+ * @type {string}
21179
+ * @memberof OrganizationPolicyApiToken
21180
+ */
21181
+ 'id': string;
21182
+ /**
21183
+ *
21184
+ * @type {string}
21185
+ * @memberof OrganizationPolicyApiToken
21186
+ */
21187
+ 'created_at': string;
21188
+ /**
21189
+ *
21190
+ * @type {string}
21191
+ * @memberof OrganizationPolicyApiToken
21192
+ */
21193
+ 'updated_at'?: string;
21194
+ /**
21195
+ *
21196
+ * @type {string}
21197
+ * @memberof OrganizationPolicyApiToken
21198
+ */
21199
+ 'name'?: string;
21200
+ /**
21201
+ *
21202
+ * @type {string}
21203
+ * @memberof OrganizationPolicyApiToken
21204
+ */
21205
+ 'description'?: string;
21206
+ /**
21207
+ * the Open Policy Agent (rego) policy evaluated on every request made with this token
21208
+ * @type {string}
21209
+ * @memberof OrganizationPolicyApiToken
21210
+ */
21211
+ 'opa_policy'?: string;
21212
+ /**
21213
+ *
21214
+ * @type {string}
21215
+ * @memberof OrganizationPolicyApiToken
21216
+ */
21217
+ 'creator_name'?: string | null;
21218
+ /**
21219
+ *
21220
+ * @type {string}
21221
+ * @memberof OrganizationPolicyApiToken
21222
+ */
21223
+ 'expires_at'?: string | null;
21224
+ }
21225
+ /**
21226
+ *
21227
+ * @export
21228
+ * @interface OrganizationPolicyApiTokenCreate
21229
+ */
21230
+ export interface OrganizationPolicyApiTokenCreate {
21231
+ /**
21232
+ *
21233
+ * @type {string}
21234
+ * @memberof OrganizationPolicyApiTokenCreate
21235
+ */
21236
+ 'id': string;
21237
+ /**
21238
+ *
21239
+ * @type {string}
21240
+ * @memberof OrganizationPolicyApiTokenCreate
21241
+ */
21242
+ 'created_at': string;
21243
+ /**
21244
+ *
21245
+ * @type {string}
21246
+ * @memberof OrganizationPolicyApiTokenCreate
21247
+ */
21248
+ 'updated_at'?: string;
21249
+ /**
21250
+ *
21251
+ * @type {string}
21252
+ * @memberof OrganizationPolicyApiTokenCreate
21253
+ */
21254
+ 'name'?: string;
21255
+ /**
21256
+ *
21257
+ * @type {string}
21258
+ * @memberof OrganizationPolicyApiTokenCreate
21259
+ */
21260
+ 'description'?: string;
21261
+ /**
21262
+ * the generated token to send in \'Authorization\' header prefixed by \'Token \'. It is returned only here and cannot be retrieved afterwards.
21263
+ * @type {string}
21264
+ * @memberof OrganizationPolicyApiTokenCreate
21265
+ */
21266
+ 'token'?: string;
21267
+ /**
21268
+ *
21269
+ * @type {string}
21270
+ * @memberof OrganizationPolicyApiTokenCreate
21271
+ */
21272
+ 'creator_name'?: string | null;
21273
+ /**
21274
+ *
21275
+ * @type {string}
21276
+ * @memberof OrganizationPolicyApiTokenCreate
21277
+ */
21278
+ 'user_sub'?: string;
21279
+ /**
21280
+ *
21281
+ * @type {string}
21282
+ * @memberof OrganizationPolicyApiTokenCreate
21283
+ */
21284
+ 'expires_at'?: string | null;
21285
+ }
21286
+ /**
21287
+ *
21288
+ * @export
21289
+ * @interface OrganizationPolicyApiTokenCreateRequest
21290
+ */
21291
+ export interface OrganizationPolicyApiTokenCreateRequest {
21292
+ /**
21293
+ *
21294
+ * @type {string}
21295
+ * @memberof OrganizationPolicyApiTokenCreateRequest
21296
+ */
21297
+ 'name': string;
21298
+ /**
21299
+ *
21300
+ * @type {string}
21301
+ * @memberof OrganizationPolicyApiTokenCreateRequest
21302
+ */
21303
+ 'description'?: string;
21304
+ /**
21305
+ * 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.
21306
+ * @type {string}
21307
+ * @memberof OrganizationPolicyApiTokenCreateRequest
21308
+ */
21309
+ 'opa_policy': string;
21310
+ /**
21311
+ *
21312
+ * @type {string}
21313
+ * @memberof OrganizationPolicyApiTokenCreateRequest
21314
+ */
21315
+ 'expires_at'?: string | null;
21316
+ }
21317
+ /**
21318
+ *
21319
+ * @export
21320
+ * @interface OrganizationPolicyApiTokenResponseList
21321
+ */
21322
+ export interface OrganizationPolicyApiTokenResponseList {
21323
+ /**
21324
+ *
21325
+ * @type {Array<OrganizationPolicyApiToken>}
21326
+ * @memberof OrganizationPolicyApiTokenResponseList
21327
+ */
21328
+ 'results'?: Array<OrganizationPolicyApiToken>;
21329
+ }
21330
21330
  /**
21331
21331
  *
21332
21332
  * @export
@@ -64409,304 +64409,23 @@ export class OrganizationAccountGitRepositoriesApi extends BaseAPI {
64409
64409
 
64410
64410
 
64411
64411
  /**
64412
- * OrganizationAgentApiTokenApi - axios parameter creator
64412
+ * OrganizationAnnotationsGroupApi - axios parameter creator
64413
64413
  * @export
64414
64414
  */
64415
- export const OrganizationAgentApiTokenApiAxiosParamCreator = function (configuration?: Configuration) {
64415
+ export const OrganizationAnnotationsGroupApiAxiosParamCreator = function (configuration?: Configuration) {
64416
64416
  return {
64417
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
64418
+ * Create an organization annotations group
64419
+ * @summary Create an organization annotations group
64420
64420
  * @param {string} organizationId Organization ID
64421
- * @param {OrganizationAgentApiTokenCreateRequest} [organizationAgentApiTokenCreateRequest]
64421
+ * @param {OrganizationAnnotationsGroupCreateRequest} [organizationAnnotationsGroupCreateRequest]
64422
64422
  * @param {*} [options] Override http request option.
64423
64423
  * @throws {RequiredError}
64424
64424
  */
64425
- createOrganizationAgentApiToken: async (organizationId: string, organizationAgentApiTokenCreateRequest?: OrganizationAgentApiTokenCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
64425
+ createOrganizationAnnotationsGroup: async (organizationId: string, organizationAnnotationsGroupCreateRequest?: OrganizationAnnotationsGroupCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
64426
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
- /**
64693
- * OrganizationAnnotationsGroupApi - axios parameter creator
64694
- * @export
64695
- */
64696
- export const OrganizationAnnotationsGroupApiAxiosParamCreator = function (configuration?: Configuration) {
64697
- return {
64698
- /**
64699
- * Create an organization annotations group
64700
- * @summary Create an organization annotations group
64701
- * @param {string} organizationId Organization ID
64702
- * @param {OrganizationAnnotationsGroupCreateRequest} [organizationAnnotationsGroupCreateRequest]
64703
- * @param {*} [options] Override http request option.
64704
- * @throws {RequiredError}
64705
- */
64706
- createOrganizationAnnotationsGroup: async (organizationId: string, organizationAnnotationsGroupCreateRequest?: OrganizationAnnotationsGroupCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
64707
- // verify required parameter 'organizationId' is not null or undefined
64708
- assertParamExists('createOrganizationAnnotationsGroup', 'organizationId', organizationId)
64709
- const localVarPath = `/organization/{organizationId}/annotationsGroups`
64427
+ assertParamExists('createOrganizationAnnotationsGroup', 'organizationId', organizationId)
64428
+ const localVarPath = `/organization/{organizationId}/annotationsGroups`
64710
64429
  .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
64711
64430
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
64712
64431
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -69026,6 +68745,287 @@ export class OrganizationMainCallsApi extends BaseAPI {
69026
68745
 
69027
68746
 
69028
68747
 
68748
+ /**
68749
+ * OrganizationPolicyApiTokenApi - axios parameter creator
68750
+ * @export
68751
+ */
68752
+ export const OrganizationPolicyApiTokenApiAxiosParamCreator = function (configuration?: Configuration) {
68753
+ return {
68754
+ /**
68755
+ * 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.
68756
+ * @summary Create an organization policy api token
68757
+ * @param {string} organizationId Organization ID
68758
+ * @param {OrganizationPolicyApiTokenCreateRequest} [organizationPolicyApiTokenCreateRequest]
68759
+ * @param {*} [options] Override http request option.
68760
+ * @throws {RequiredError}
68761
+ */
68762
+ createOrganizationPolicyApiToken: async (organizationId: string, organizationPolicyApiTokenCreateRequest?: OrganizationPolicyApiTokenCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
68763
+ // verify required parameter 'organizationId' is not null or undefined
68764
+ assertParamExists('createOrganizationPolicyApiToken', 'organizationId', organizationId)
68765
+ const localVarPath = `/organization/{organizationId}/policyApiToken`
68766
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
68767
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
68768
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
68769
+ let baseOptions;
68770
+ if (configuration) {
68771
+ baseOptions = configuration.baseOptions;
68772
+ }
68773
+
68774
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
68775
+ const localVarHeaderParameter = {} as any;
68776
+ const localVarQueryParameter = {} as any;
68777
+
68778
+ // authentication ApiKeyAuth required
68779
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
68780
+
68781
+ // authentication bearerAuth required
68782
+ // http bearer authentication required
68783
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
68784
+
68785
+
68786
+
68787
+ localVarHeaderParameter['Content-Type'] = 'application/json';
68788
+
68789
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
68790
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68791
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
68792
+ localVarRequestOptions.data = serializeDataIfNeeded(organizationPolicyApiTokenCreateRequest, localVarRequestOptions, configuration)
68793
+
68794
+ return {
68795
+ url: toPathString(localVarUrlObj),
68796
+ options: localVarRequestOptions,
68797
+ };
68798
+ },
68799
+ /**
68800
+ * Delete organization policy api token
68801
+ * @summary Delete organization policy api token
68802
+ * @param {string} organizationId Organization ID
68803
+ * @param {string} policyApiTokenId Organization Policy Api Token ID
68804
+ * @param {*} [options] Override http request option.
68805
+ * @throws {RequiredError}
68806
+ */
68807
+ deleteOrganizationPolicyApiToken: async (organizationId: string, policyApiTokenId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
68808
+ // verify required parameter 'organizationId' is not null or undefined
68809
+ assertParamExists('deleteOrganizationPolicyApiToken', 'organizationId', organizationId)
68810
+ // verify required parameter 'policyApiTokenId' is not null or undefined
68811
+ assertParamExists('deleteOrganizationPolicyApiToken', 'policyApiTokenId', policyApiTokenId)
68812
+ const localVarPath = `/organization/{organizationId}/policyApiToken/{policyApiTokenId}`
68813
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
68814
+ .replace(`{${"policyApiTokenId"}}`, encodeURIComponent(String(policyApiTokenId)));
68815
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
68816
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
68817
+ let baseOptions;
68818
+ if (configuration) {
68819
+ baseOptions = configuration.baseOptions;
68820
+ }
68821
+
68822
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
68823
+ const localVarHeaderParameter = {} as any;
68824
+ const localVarQueryParameter = {} as any;
68825
+
68826
+ // authentication ApiKeyAuth required
68827
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
68828
+
68829
+ // authentication bearerAuth required
68830
+ // http bearer authentication required
68831
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
68832
+
68833
+
68834
+
68835
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
68836
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68837
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
68838
+
68839
+ return {
68840
+ url: toPathString(localVarUrlObj),
68841
+ options: localVarRequestOptions,
68842
+ };
68843
+ },
68844
+ /**
68845
+ * 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.
68846
+ * @summary List organization policy api tokens
68847
+ * @param {string} organizationId Organization ID
68848
+ * @param {*} [options] Override http request option.
68849
+ * @throws {RequiredError}
68850
+ */
68851
+ listOrganizationPolicyApiTokens: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
68852
+ // verify required parameter 'organizationId' is not null or undefined
68853
+ assertParamExists('listOrganizationPolicyApiTokens', 'organizationId', organizationId)
68854
+ const localVarPath = `/organization/{organizationId}/policyApiToken`
68855
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
68856
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
68857
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
68858
+ let baseOptions;
68859
+ if (configuration) {
68860
+ baseOptions = configuration.baseOptions;
68861
+ }
68862
+
68863
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
68864
+ const localVarHeaderParameter = {} as any;
68865
+ const localVarQueryParameter = {} as any;
68866
+
68867
+ // authentication ApiKeyAuth required
68868
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
68869
+
68870
+ // authentication bearerAuth required
68871
+ // http bearer authentication required
68872
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
68873
+
68874
+
68875
+
68876
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
68877
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68878
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
68879
+
68880
+ return {
68881
+ url: toPathString(localVarUrlObj),
68882
+ options: localVarRequestOptions,
68883
+ };
68884
+ },
68885
+ }
68886
+ };
68887
+
68888
+ /**
68889
+ * OrganizationPolicyApiTokenApi - functional programming interface
68890
+ * @export
68891
+ */
68892
+ export const OrganizationPolicyApiTokenApiFp = function(configuration?: Configuration) {
68893
+ const localVarAxiosParamCreator = OrganizationPolicyApiTokenApiAxiosParamCreator(configuration)
68894
+ return {
68895
+ /**
68896
+ * 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.
68897
+ * @summary Create an organization policy api token
68898
+ * @param {string} organizationId Organization ID
68899
+ * @param {OrganizationPolicyApiTokenCreateRequest} [organizationPolicyApiTokenCreateRequest]
68900
+ * @param {*} [options] Override http request option.
68901
+ * @throws {RequiredError}
68902
+ */
68903
+ async createOrganizationPolicyApiToken(organizationId: string, organizationPolicyApiTokenCreateRequest?: OrganizationPolicyApiTokenCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationPolicyApiTokenCreate>> {
68904
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationPolicyApiToken(organizationId, organizationPolicyApiTokenCreateRequest, options);
68905
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
68906
+ const localVarOperationServerBasePath = operationServerMap['OrganizationPolicyApiTokenApi.createOrganizationPolicyApiToken']?.[localVarOperationServerIndex]?.url;
68907
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68908
+ },
68909
+ /**
68910
+ * Delete organization policy api token
68911
+ * @summary Delete organization policy api token
68912
+ * @param {string} organizationId Organization ID
68913
+ * @param {string} policyApiTokenId Organization Policy Api Token ID
68914
+ * @param {*} [options] Override http request option.
68915
+ * @throws {RequiredError}
68916
+ */
68917
+ async deleteOrganizationPolicyApiToken(organizationId: string, policyApiTokenId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
68918
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationPolicyApiToken(organizationId, policyApiTokenId, options);
68919
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
68920
+ const localVarOperationServerBasePath = operationServerMap['OrganizationPolicyApiTokenApi.deleteOrganizationPolicyApiToken']?.[localVarOperationServerIndex]?.url;
68921
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68922
+ },
68923
+ /**
68924
+ * 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.
68925
+ * @summary List organization policy api tokens
68926
+ * @param {string} organizationId Organization ID
68927
+ * @param {*} [options] Override http request option.
68928
+ * @throws {RequiredError}
68929
+ */
68930
+ async listOrganizationPolicyApiTokens(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationPolicyApiTokenResponseList>> {
68931
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationPolicyApiTokens(organizationId, options);
68932
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
68933
+ const localVarOperationServerBasePath = operationServerMap['OrganizationPolicyApiTokenApi.listOrganizationPolicyApiTokens']?.[localVarOperationServerIndex]?.url;
68934
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68935
+ },
68936
+ }
68937
+ };
68938
+
68939
+ /**
68940
+ * OrganizationPolicyApiTokenApi - factory interface
68941
+ * @export
68942
+ */
68943
+ export const OrganizationPolicyApiTokenApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
68944
+ const localVarFp = OrganizationPolicyApiTokenApiFp(configuration)
68945
+ return {
68946
+ /**
68947
+ * 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.
68948
+ * @summary Create an organization policy api token
68949
+ * @param {string} organizationId Organization ID
68950
+ * @param {OrganizationPolicyApiTokenCreateRequest} [organizationPolicyApiTokenCreateRequest]
68951
+ * @param {*} [options] Override http request option.
68952
+ * @throws {RequiredError}
68953
+ */
68954
+ createOrganizationPolicyApiToken(organizationId: string, organizationPolicyApiTokenCreateRequest?: OrganizationPolicyApiTokenCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationPolicyApiTokenCreate> {
68955
+ return localVarFp.createOrganizationPolicyApiToken(organizationId, organizationPolicyApiTokenCreateRequest, options).then((request) => request(axios, basePath));
68956
+ },
68957
+ /**
68958
+ * Delete organization policy api token
68959
+ * @summary Delete organization policy api token
68960
+ * @param {string} organizationId Organization ID
68961
+ * @param {string} policyApiTokenId Organization Policy Api Token ID
68962
+ * @param {*} [options] Override http request option.
68963
+ * @throws {RequiredError}
68964
+ */
68965
+ deleteOrganizationPolicyApiToken(organizationId: string, policyApiTokenId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
68966
+ return localVarFp.deleteOrganizationPolicyApiToken(organizationId, policyApiTokenId, options).then((request) => request(axios, basePath));
68967
+ },
68968
+ /**
68969
+ * 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.
68970
+ * @summary List organization policy api tokens
68971
+ * @param {string} organizationId Organization ID
68972
+ * @param {*} [options] Override http request option.
68973
+ * @throws {RequiredError}
68974
+ */
68975
+ listOrganizationPolicyApiTokens(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationPolicyApiTokenResponseList> {
68976
+ return localVarFp.listOrganizationPolicyApiTokens(organizationId, options).then((request) => request(axios, basePath));
68977
+ },
68978
+ };
68979
+ };
68980
+
68981
+ /**
68982
+ * OrganizationPolicyApiTokenApi - object-oriented interface
68983
+ * @export
68984
+ * @class OrganizationPolicyApiTokenApi
68985
+ * @extends {BaseAPI}
68986
+ */
68987
+ export class OrganizationPolicyApiTokenApi extends BaseAPI {
68988
+ /**
68989
+ * 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.
68990
+ * @summary Create an organization policy api token
68991
+ * @param {string} organizationId Organization ID
68992
+ * @param {OrganizationPolicyApiTokenCreateRequest} [organizationPolicyApiTokenCreateRequest]
68993
+ * @param {*} [options] Override http request option.
68994
+ * @throws {RequiredError}
68995
+ * @memberof OrganizationPolicyApiTokenApi
68996
+ */
68997
+ public createOrganizationPolicyApiToken(organizationId: string, organizationPolicyApiTokenCreateRequest?: OrganizationPolicyApiTokenCreateRequest, options?: RawAxiosRequestConfig) {
68998
+ return OrganizationPolicyApiTokenApiFp(this.configuration).createOrganizationPolicyApiToken(organizationId, organizationPolicyApiTokenCreateRequest, options).then((request) => request(this.axios, this.basePath));
68999
+ }
69000
+
69001
+ /**
69002
+ * Delete organization policy api token
69003
+ * @summary Delete organization policy api token
69004
+ * @param {string} organizationId Organization ID
69005
+ * @param {string} policyApiTokenId Organization Policy Api Token ID
69006
+ * @param {*} [options] Override http request option.
69007
+ * @throws {RequiredError}
69008
+ * @memberof OrganizationPolicyApiTokenApi
69009
+ */
69010
+ public deleteOrganizationPolicyApiToken(organizationId: string, policyApiTokenId: string, options?: RawAxiosRequestConfig) {
69011
+ return OrganizationPolicyApiTokenApiFp(this.configuration).deleteOrganizationPolicyApiToken(organizationId, policyApiTokenId, options).then((request) => request(this.axios, this.basePath));
69012
+ }
69013
+
69014
+ /**
69015
+ * 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.
69016
+ * @summary List organization policy api tokens
69017
+ * @param {string} organizationId Organization ID
69018
+ * @param {*} [options] Override http request option.
69019
+ * @throws {RequiredError}
69020
+ * @memberof OrganizationPolicyApiTokenApi
69021
+ */
69022
+ public listOrganizationPolicyApiTokens(organizationId: string, options?: RawAxiosRequestConfig) {
69023
+ return OrganizationPolicyApiTokenApiFp(this.configuration).listOrganizationPolicyApiTokens(organizationId, options).then((request) => request(this.axios, this.basePath));
69024
+ }
69025
+ }
69026
+
69027
+
69028
+
69029
69029
  /**
69030
69030
  * OrganizationWebhookApi - axios parameter creator
69031
69031
  * @export