@quantcdn/quant-client 4.36.0 → 4.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +1077 -19
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +900 -19
- package/dist/api.js +352 -15
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +900 -19
- package/dist/esm/api.js +342 -5
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* QuantCDN API
|
|
3
3
|
* Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.
|
|
5
|
+
* The version of the OpenAPI document: 4.39.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2409,6 +2409,395 @@ export interface ChatWithAIAgentRequest {
|
|
|
2409
2409
|
*/
|
|
2410
2410
|
'maxToolIterations'?: number;
|
|
2411
2411
|
}
|
|
2412
|
+
/**
|
|
2413
|
+
* The scope to delete: either {\"all\": true} alone (the whole cache of the pool), or repoId with optionally ref, version and key, where a field needs every field before it (repoId, ref, version, key). An empty object is refused.
|
|
2414
|
+
* @export
|
|
2415
|
+
* @interface CiCacheDeleteRequest
|
|
2416
|
+
*/
|
|
2417
|
+
export interface CiCacheDeleteRequest {
|
|
2418
|
+
/**
|
|
2419
|
+
* true clears the whole cache of the pool. Must be the only field.
|
|
2420
|
+
* @type {boolean}
|
|
2421
|
+
* @memberof CiCacheDeleteRequest
|
|
2422
|
+
*/
|
|
2423
|
+
'all'?: boolean;
|
|
2424
|
+
/**
|
|
2425
|
+
* GitHub repository id. A digit string is also accepted.
|
|
2426
|
+
* @type {number}
|
|
2427
|
+
* @memberof CiCacheDeleteRequest
|
|
2428
|
+
*/
|
|
2429
|
+
'repoId'?: number;
|
|
2430
|
+
/**
|
|
2431
|
+
* Git ref; starts with refs/, a valid git ref name without %.
|
|
2432
|
+
* @type {string}
|
|
2433
|
+
* @memberof CiCacheDeleteRequest
|
|
2434
|
+
*/
|
|
2435
|
+
'ref'?: string;
|
|
2436
|
+
/**
|
|
2437
|
+
*
|
|
2438
|
+
* @type {string}
|
|
2439
|
+
* @memberof CiCacheDeleteRequest
|
|
2440
|
+
*/
|
|
2441
|
+
'version'?: string;
|
|
2442
|
+
/**
|
|
2443
|
+
* The exact cache key. Deletes only that entry, not keys that start with it.
|
|
2444
|
+
* @type {string}
|
|
2445
|
+
* @memberof CiCacheDeleteRequest
|
|
2446
|
+
*/
|
|
2447
|
+
'key'?: string;
|
|
2448
|
+
}
|
|
2449
|
+
/**
|
|
2450
|
+
*
|
|
2451
|
+
* @export
|
|
2452
|
+
* @interface CiCacheDeleteResult
|
|
2453
|
+
*/
|
|
2454
|
+
export interface CiCacheDeleteResult {
|
|
2455
|
+
/**
|
|
2456
|
+
*
|
|
2457
|
+
* @type {number}
|
|
2458
|
+
* @memberof CiCacheDeleteResult
|
|
2459
|
+
*/
|
|
2460
|
+
'deletedEntries': number;
|
|
2461
|
+
/**
|
|
2462
|
+
*
|
|
2463
|
+
* @type {number}
|
|
2464
|
+
* @memberof CiCacheDeleteResult
|
|
2465
|
+
*/
|
|
2466
|
+
'deletedBytes': number;
|
|
2467
|
+
/**
|
|
2468
|
+
* false when the delete stopped at its time limit (about 12 seconds), a storage call failed or timed out, or storage refused some objects. false means: send the same request again until it is true. If a call returns false with deletedEntries 0, stop and try again later, because a storage call failed, timed out or refused objects.
|
|
2469
|
+
* @type {boolean}
|
|
2470
|
+
* @memberof CiCacheDeleteResult
|
|
2471
|
+
*/
|
|
2472
|
+
'complete': boolean;
|
|
2473
|
+
}
|
|
2474
|
+
/**
|
|
2475
|
+
*
|
|
2476
|
+
* @export
|
|
2477
|
+
* @interface CiCacheEntry
|
|
2478
|
+
*/
|
|
2479
|
+
export interface CiCacheEntry {
|
|
2480
|
+
/**
|
|
2481
|
+
* GitHub repository id.
|
|
2482
|
+
* @type {number}
|
|
2483
|
+
* @memberof CiCacheEntry
|
|
2484
|
+
*/
|
|
2485
|
+
'repoId': number;
|
|
2486
|
+
/**
|
|
2487
|
+
* owner/name recorded for repoId, or null when none is recorded.
|
|
2488
|
+
* @type {string}
|
|
2489
|
+
* @memberof CiCacheEntry
|
|
2490
|
+
*/
|
|
2491
|
+
'repo': string | null;
|
|
2492
|
+
/**
|
|
2493
|
+
* The git ref that saved the entry. A pull request saves to refs/pull/<number>/merge.
|
|
2494
|
+
* @type {string}
|
|
2495
|
+
* @memberof CiCacheEntry
|
|
2496
|
+
*/
|
|
2497
|
+
'ref': string;
|
|
2498
|
+
/**
|
|
2499
|
+
* The actions/cache key.
|
|
2500
|
+
* @type {string}
|
|
2501
|
+
* @memberof CiCacheEntry
|
|
2502
|
+
*/
|
|
2503
|
+
'key': string;
|
|
2504
|
+
/**
|
|
2505
|
+
* The cache version (a hash of the paths and compression the job used).
|
|
2506
|
+
* @type {string}
|
|
2507
|
+
* @memberof CiCacheEntry
|
|
2508
|
+
*/
|
|
2509
|
+
'version': string;
|
|
2510
|
+
/**
|
|
2511
|
+
*
|
|
2512
|
+
* @type {number}
|
|
2513
|
+
* @memberof CiCacheEntry
|
|
2514
|
+
*/
|
|
2515
|
+
'sizeBytes': number;
|
|
2516
|
+
/**
|
|
2517
|
+
* When the entry was saved. Entries expire 14 days after they are saved.
|
|
2518
|
+
* @type {string}
|
|
2519
|
+
* @memberof CiCacheEntry
|
|
2520
|
+
*/
|
|
2521
|
+
'createdAt': string | null;
|
|
2522
|
+
}
|
|
2523
|
+
/**
|
|
2524
|
+
*
|
|
2525
|
+
* @export
|
|
2526
|
+
* @interface CiCacheList
|
|
2527
|
+
*/
|
|
2528
|
+
export interface CiCacheList {
|
|
2529
|
+
/**
|
|
2530
|
+
* Size of every entry that matches the filter (partial when totalsComplete is false).
|
|
2531
|
+
* @type {number}
|
|
2532
|
+
* @memberof CiCacheList
|
|
2533
|
+
*/
|
|
2534
|
+
'totalBytes': number;
|
|
2535
|
+
/**
|
|
2536
|
+
* Number of entries that match the filter (partial when totalsComplete is false).
|
|
2537
|
+
* @type {number}
|
|
2538
|
+
* @memberof CiCacheList
|
|
2539
|
+
*/
|
|
2540
|
+
'entryCount': number;
|
|
2541
|
+
/**
|
|
2542
|
+
* false when the count stopped at its time limit (about 10 seconds) on a very large cache; totalBytes and entryCount then cover only the part counted.
|
|
2543
|
+
* @type {boolean}
|
|
2544
|
+
* @memberof CiCacheList
|
|
2545
|
+
*/
|
|
2546
|
+
'totalsComplete': boolean;
|
|
2547
|
+
/**
|
|
2548
|
+
*
|
|
2549
|
+
* @type {Array<CiCacheEntry>}
|
|
2550
|
+
* @memberof CiCacheList
|
|
2551
|
+
*/
|
|
2552
|
+
'entries': Array<CiCacheEntry>;
|
|
2553
|
+
/**
|
|
2554
|
+
* Opaque. Pass as cursor, with the same filter, for the next page; null on the last page.
|
|
2555
|
+
* @type {string}
|
|
2556
|
+
* @memberof CiCacheList
|
|
2557
|
+
*/
|
|
2558
|
+
'nextCursor': string | null;
|
|
2559
|
+
}
|
|
2560
|
+
/**
|
|
2561
|
+
*
|
|
2562
|
+
* @export
|
|
2563
|
+
* @interface CiCacheStats
|
|
2564
|
+
*/
|
|
2565
|
+
export interface CiCacheStats {
|
|
2566
|
+
/**
|
|
2567
|
+
*
|
|
2568
|
+
* @type {number}
|
|
2569
|
+
* @memberof CiCacheStats
|
|
2570
|
+
*/
|
|
2571
|
+
'days': number;
|
|
2572
|
+
/**
|
|
2573
|
+
* Cache lookups that found an entry.
|
|
2574
|
+
* @type {number}
|
|
2575
|
+
* @memberof CiCacheStats
|
|
2576
|
+
*/
|
|
2577
|
+
'hits': number;
|
|
2578
|
+
/**
|
|
2579
|
+
* Cache lookups that found no entry.
|
|
2580
|
+
* @type {number}
|
|
2581
|
+
* @memberof CiCacheStats
|
|
2582
|
+
*/
|
|
2583
|
+
'misses': number;
|
|
2584
|
+
/**
|
|
2585
|
+
* Entries saved.
|
|
2586
|
+
* @type {number}
|
|
2587
|
+
* @memberof CiCacheStats
|
|
2588
|
+
*/
|
|
2589
|
+
'saves': number;
|
|
2590
|
+
/**
|
|
2591
|
+
* Bytes saved to the cache.
|
|
2592
|
+
* @type {number}
|
|
2593
|
+
* @memberof CiCacheStats
|
|
2594
|
+
*/
|
|
2595
|
+
'bytesIn': number;
|
|
2596
|
+
/**
|
|
2597
|
+
* Bytes restored from the cache.
|
|
2598
|
+
* @type {number}
|
|
2599
|
+
* @memberof CiCacheStats
|
|
2600
|
+
*/
|
|
2601
|
+
'bytesOut': number;
|
|
2602
|
+
/**
|
|
2603
|
+
* hits / (hits + misses); null when both are 0.
|
|
2604
|
+
* @type {number}
|
|
2605
|
+
* @memberof CiCacheStats
|
|
2606
|
+
*/
|
|
2607
|
+
'hitRate': number | null;
|
|
2608
|
+
}
|
|
2609
|
+
/**
|
|
2610
|
+
* The config of a ci-runner-pool resource. connection and alerts are set by Quant: they are ignored on input and kept on update.
|
|
2611
|
+
* @export
|
|
2612
|
+
* @interface CiRunnerPoolConfig
|
|
2613
|
+
*/
|
|
2614
|
+
export interface CiRunnerPoolConfig {
|
|
2615
|
+
/**
|
|
2616
|
+
* Hard cap on concurrent jobs: small 2, medium 4, large 8. When the pool is full, jobs wait.
|
|
2617
|
+
* @type {string}
|
|
2618
|
+
* @memberof CiRunnerPoolConfig
|
|
2619
|
+
*/
|
|
2620
|
+
'tier': CiRunnerPoolConfigTierEnum;
|
|
2621
|
+
/**
|
|
2622
|
+
*
|
|
2623
|
+
* @type {Set<string>}
|
|
2624
|
+
* @memberof CiRunnerPoolConfig
|
|
2625
|
+
*/
|
|
2626
|
+
'architectures'?: Set<CiRunnerPoolConfigArchitecturesEnum>;
|
|
2627
|
+
/**
|
|
2628
|
+
*
|
|
2629
|
+
* @type {string}
|
|
2630
|
+
* @memberof CiRunnerPoolConfig
|
|
2631
|
+
*/
|
|
2632
|
+
'networkMode'?: CiRunnerPoolConfigNetworkModeEnum;
|
|
2633
|
+
/**
|
|
2634
|
+
* Domains allowed when networkMode is restricted. Wildcard only as a leading *. label.
|
|
2635
|
+
* @type {Array<string>}
|
|
2636
|
+
* @memberof CiRunnerPoolConfig
|
|
2637
|
+
*/
|
|
2638
|
+
'egressAllowlist'?: Array<string>;
|
|
2639
|
+
/**
|
|
2640
|
+
* A VM stops when the pool has not needed it (on that architecture) for this many minutes, also while other VMs of the pool run jobs. A stopped VM starts again from the warm pool in about 20 s. The default was 15 before 2026-11-30; pools keep the value they have.
|
|
2641
|
+
* @type {number}
|
|
2642
|
+
* @memberof CiRunnerPoolConfig
|
|
2643
|
+
*/
|
|
2644
|
+
'idleTimeoutMinutes'?: number;
|
|
2645
|
+
/**
|
|
2646
|
+
*
|
|
2647
|
+
* @type {CiRunnerPoolConfigBusinessHoursWarm}
|
|
2648
|
+
* @memberof CiRunnerPoolConfig
|
|
2649
|
+
*/
|
|
2650
|
+
'businessHoursWarm'?: CiRunnerPoolConfigBusinessHoursWarm;
|
|
2651
|
+
/**
|
|
2652
|
+
*
|
|
2653
|
+
* @type {CiRunnerPoolConfigConnection}
|
|
2654
|
+
* @memberof CiRunnerPoolConfig
|
|
2655
|
+
*/
|
|
2656
|
+
'connection'?: CiRunnerPoolConfigConnection;
|
|
2657
|
+
/**
|
|
2658
|
+
* Where the pool\'s GitHub Actions build cache may live. au-only keeps cache data in Australia; if the pool\'s cache is unavailable, jobs run without a cache. allow-github lets jobs use GitHub\'s cache when the pool\'s cache is unavailable. When not set, a pool that accepts public repositories uses allow-github and every other pool uses au-only. A change applies to the next job each runner machine starts.
|
|
2659
|
+
* @type {string}
|
|
2660
|
+
* @memberof CiRunnerPoolConfig
|
|
2661
|
+
*/
|
|
2662
|
+
'cacheResidency'?: CiRunnerPoolConfigCacheResidencyEnum;
|
|
2663
|
+
/**
|
|
2664
|
+
*
|
|
2665
|
+
* @type {Array<CiRunnerPoolConfigAlertsInner>}
|
|
2666
|
+
* @memberof CiRunnerPoolConfig
|
|
2667
|
+
*/
|
|
2668
|
+
'alerts'?: Array<CiRunnerPoolConfigAlertsInner>;
|
|
2669
|
+
}
|
|
2670
|
+
export declare const CiRunnerPoolConfigTierEnum: {
|
|
2671
|
+
readonly Small: "small";
|
|
2672
|
+
readonly Medium: "medium";
|
|
2673
|
+
readonly Large: "large";
|
|
2674
|
+
};
|
|
2675
|
+
export type CiRunnerPoolConfigTierEnum = typeof CiRunnerPoolConfigTierEnum[keyof typeof CiRunnerPoolConfigTierEnum];
|
|
2676
|
+
export declare const CiRunnerPoolConfigArchitecturesEnum: {
|
|
2677
|
+
readonly Arm64: "arm64";
|
|
2678
|
+
readonly X64: "x64";
|
|
2679
|
+
};
|
|
2680
|
+
export type CiRunnerPoolConfigArchitecturesEnum = typeof CiRunnerPoolConfigArchitecturesEnum[keyof typeof CiRunnerPoolConfigArchitecturesEnum];
|
|
2681
|
+
export declare const CiRunnerPoolConfigNetworkModeEnum: {
|
|
2682
|
+
readonly Public: "public";
|
|
2683
|
+
readonly Restricted: "restricted";
|
|
2684
|
+
};
|
|
2685
|
+
export type CiRunnerPoolConfigNetworkModeEnum = typeof CiRunnerPoolConfigNetworkModeEnum[keyof typeof CiRunnerPoolConfigNetworkModeEnum];
|
|
2686
|
+
export declare const CiRunnerPoolConfigCacheResidencyEnum: {
|
|
2687
|
+
readonly AuOnly: "au-only";
|
|
2688
|
+
readonly AllowGithub: "allow-github";
|
|
2689
|
+
};
|
|
2690
|
+
export type CiRunnerPoolConfigCacheResidencyEnum = typeof CiRunnerPoolConfigCacheResidencyEnum[keyof typeof CiRunnerPoolConfigCacheResidencyEnum];
|
|
2691
|
+
/**
|
|
2692
|
+
*
|
|
2693
|
+
* @export
|
|
2694
|
+
* @interface CiRunnerPoolConfigAlertsInner
|
|
2695
|
+
*/
|
|
2696
|
+
export interface CiRunnerPoolConfigAlertsInner {
|
|
2697
|
+
/**
|
|
2698
|
+
* pool_error: runner VMs failed to start, VMs reported themselves unhealthy, or a job never reached this pool\'s runners (detail says which). labels_unfit: a job asked for labels or an architecture this pool\'s runners do not have, so the pool did not take it. vm_hours_included: the pool used 80% (then 100%) of its included VM-hours this month; jobs keep running and VM-hours over the allowance are billed.
|
|
2699
|
+
* @type {string}
|
|
2700
|
+
* @memberof CiRunnerPoolConfigAlertsInner
|
|
2701
|
+
*/
|
|
2702
|
+
'type'?: CiRunnerPoolConfigAlertsInnerTypeEnum;
|
|
2703
|
+
/**
|
|
2704
|
+
*
|
|
2705
|
+
* @type {string}
|
|
2706
|
+
* @memberof CiRunnerPoolConfigAlertsInner
|
|
2707
|
+
*/
|
|
2708
|
+
'since'?: string;
|
|
2709
|
+
/**
|
|
2710
|
+
*
|
|
2711
|
+
* @type {string}
|
|
2712
|
+
* @memberof CiRunnerPoolConfigAlertsInner
|
|
2713
|
+
*/
|
|
2714
|
+
'detail'?: string;
|
|
2715
|
+
}
|
|
2716
|
+
export declare const CiRunnerPoolConfigAlertsInnerTypeEnum: {
|
|
2717
|
+
readonly QueueWait: "queue_wait";
|
|
2718
|
+
readonly AtCapacity: "at_capacity";
|
|
2719
|
+
readonly PoolError: "pool_error";
|
|
2720
|
+
readonly LabelsUnfit: "labels_unfit";
|
|
2721
|
+
readonly VmHoursIncluded: "vm_hours_included";
|
|
2722
|
+
};
|
|
2723
|
+
export type CiRunnerPoolConfigAlertsInnerTypeEnum = typeof CiRunnerPoolConfigAlertsInnerTypeEnum[keyof typeof CiRunnerPoolConfigAlertsInnerTypeEnum];
|
|
2724
|
+
/**
|
|
2725
|
+
*
|
|
2726
|
+
* @export
|
|
2727
|
+
* @interface CiRunnerPoolConfigBusinessHoursWarm
|
|
2728
|
+
*/
|
|
2729
|
+
export interface CiRunnerPoolConfigBusinessHoursWarm {
|
|
2730
|
+
/**
|
|
2731
|
+
*
|
|
2732
|
+
* @type {boolean}
|
|
2733
|
+
* @memberof CiRunnerPoolConfigBusinessHoursWarm
|
|
2734
|
+
*/
|
|
2735
|
+
'enabled'?: boolean;
|
|
2736
|
+
/**
|
|
2737
|
+
*
|
|
2738
|
+
* @type {string}
|
|
2739
|
+
* @memberof CiRunnerPoolConfigBusinessHoursWarm
|
|
2740
|
+
*/
|
|
2741
|
+
'timezone'?: string;
|
|
2742
|
+
/**
|
|
2743
|
+
* HH:MM
|
|
2744
|
+
* @type {string}
|
|
2745
|
+
* @memberof CiRunnerPoolConfigBusinessHoursWarm
|
|
2746
|
+
*/
|
|
2747
|
+
'start'?: string;
|
|
2748
|
+
/**
|
|
2749
|
+
* HH:MM
|
|
2750
|
+
* @type {string}
|
|
2751
|
+
* @memberof CiRunnerPoolConfigBusinessHoursWarm
|
|
2752
|
+
*/
|
|
2753
|
+
'end'?: string;
|
|
2754
|
+
}
|
|
2755
|
+
/**
|
|
2756
|
+
*
|
|
2757
|
+
* @export
|
|
2758
|
+
* @interface CiRunnerPoolConfigConnection
|
|
2759
|
+
*/
|
|
2760
|
+
export interface CiRunnerPoolConfigConnection {
|
|
2761
|
+
/**
|
|
2762
|
+
*
|
|
2763
|
+
* @type {string}
|
|
2764
|
+
* @memberof CiRunnerPoolConfigConnection
|
|
2765
|
+
*/
|
|
2766
|
+
'provider'?: CiRunnerPoolConfigConnectionProviderEnum;
|
|
2767
|
+
/**
|
|
2768
|
+
*
|
|
2769
|
+
* @type {number}
|
|
2770
|
+
* @memberof CiRunnerPoolConfigConnection
|
|
2771
|
+
*/
|
|
2772
|
+
'installationId'?: number;
|
|
2773
|
+
/**
|
|
2774
|
+
*
|
|
2775
|
+
* @type {string}
|
|
2776
|
+
* @memberof CiRunnerPoolConfigConnection
|
|
2777
|
+
*/
|
|
2778
|
+
'githubOrg'?: string;
|
|
2779
|
+
/**
|
|
2780
|
+
* The GitHub App that owns the installation.
|
|
2781
|
+
* @type {number}
|
|
2782
|
+
* @memberof CiRunnerPoolConfigConnection
|
|
2783
|
+
*/
|
|
2784
|
+
'appId'?: number;
|
|
2785
|
+
/**
|
|
2786
|
+
*
|
|
2787
|
+
* @type {string}
|
|
2788
|
+
* @memberof CiRunnerPoolConfigConnection
|
|
2789
|
+
*/
|
|
2790
|
+
'status'?: CiRunnerPoolConfigConnectionStatusEnum;
|
|
2791
|
+
}
|
|
2792
|
+
export declare const CiRunnerPoolConfigConnectionProviderEnum: {
|
|
2793
|
+
readonly Github: "github";
|
|
2794
|
+
};
|
|
2795
|
+
export type CiRunnerPoolConfigConnectionProviderEnum = typeof CiRunnerPoolConfigConnectionProviderEnum[keyof typeof CiRunnerPoolConfigConnectionProviderEnum];
|
|
2796
|
+
export declare const CiRunnerPoolConfigConnectionStatusEnum: {
|
|
2797
|
+
readonly Connected: "connected";
|
|
2798
|
+
readonly Disconnected: "disconnected";
|
|
2799
|
+
};
|
|
2800
|
+
export type CiRunnerPoolConfigConnectionStatusEnum = typeof CiRunnerPoolConfigConnectionStatusEnum[keyof typeof CiRunnerPoolConfigConnectionStatusEnum];
|
|
2412
2801
|
/**
|
|
2413
2802
|
*
|
|
2414
2803
|
* @export
|
|
@@ -2463,6 +2852,18 @@ export interface CiValue {
|
|
|
2463
2852
|
* @memberof CiValue
|
|
2464
2853
|
*/
|
|
2465
2854
|
'value'?: string;
|
|
2855
|
+
/**
|
|
2856
|
+
* Present on a repository value that jobs do not get. repo_identity_unproven: the value was saved before values were bound to repository IDs, and its repository was created after the value was last saved. Save the value again to fix this.
|
|
2857
|
+
* @type {string}
|
|
2858
|
+
* @memberof CiValue
|
|
2859
|
+
*/
|
|
2860
|
+
'withheldReason'?: string;
|
|
2861
|
+
/**
|
|
2862
|
+
* When the value was first withheld. Present with withheldReason.
|
|
2863
|
+
* @type {string}
|
|
2864
|
+
* @memberof CiValue
|
|
2865
|
+
*/
|
|
2866
|
+
'withheldAt'?: string;
|
|
2466
2867
|
}
|
|
2467
2868
|
export declare const CiValueKindEnum: {
|
|
2468
2869
|
readonly Secret: "secret";
|
|
@@ -10783,7 +11184,7 @@ export interface OrgResource {
|
|
|
10783
11184
|
*/
|
|
10784
11185
|
'scope'?: OrgResourceScopeEnum;
|
|
10785
11186
|
/**
|
|
10786
|
-
* Type-specific settings,
|
|
11187
|
+
* Type-specific settings: dataStorageMaxGb for a cache, and a CiRunnerPoolConfig for a CI runner pool.
|
|
10787
11188
|
* @type {object}
|
|
10788
11189
|
* @memberof OrgResource
|
|
10789
11190
|
*/
|
|
@@ -10794,6 +11195,12 @@ export interface OrgResource {
|
|
|
10794
11195
|
* @memberof OrgResource
|
|
10795
11196
|
*/
|
|
10796
11197
|
'physical'?: object;
|
|
11198
|
+
/**
|
|
11199
|
+
* CI runner pool only (absent on other types): the cache residency the pool runs with. It is config.cacheResidency when set; otherwise allow-github for a pool that accepts public repositories, and au-only for every other pool.
|
|
11200
|
+
* @type {string}
|
|
11201
|
+
* @memberof OrgResource
|
|
11202
|
+
*/
|
|
11203
|
+
'effectiveCacheResidency'?: OrgResourceEffectiveCacheResidencyEnum;
|
|
10797
11204
|
/**
|
|
10798
11205
|
*
|
|
10799
11206
|
* @type {string}
|
|
@@ -10821,6 +11228,11 @@ export declare const OrgResourceScopeEnum: {
|
|
|
10821
11228
|
readonly App: "app";
|
|
10822
11229
|
};
|
|
10823
11230
|
export type OrgResourceScopeEnum = typeof OrgResourceScopeEnum[keyof typeof OrgResourceScopeEnum];
|
|
11231
|
+
export declare const OrgResourceEffectiveCacheResidencyEnum: {
|
|
11232
|
+
readonly AuOnly: "au-only";
|
|
11233
|
+
readonly AllowGithub: "allow-github";
|
|
11234
|
+
};
|
|
11235
|
+
export type OrgResourceEffectiveCacheResidencyEnum = typeof OrgResourceEffectiveCacheResidencyEnum[keyof typeof OrgResourceEffectiveCacheResidencyEnum];
|
|
10824
11236
|
/**
|
|
10825
11237
|
*
|
|
10826
11238
|
* @export
|
|
@@ -11415,6 +11827,32 @@ export interface PutApplicationMetadata400Response {
|
|
|
11415
11827
|
*/
|
|
11416
11828
|
'errors'?: Array<string>;
|
|
11417
11829
|
}
|
|
11830
|
+
/**
|
|
11831
|
+
*
|
|
11832
|
+
* @export
|
|
11833
|
+
* @interface PutCiValue502Response
|
|
11834
|
+
*/
|
|
11835
|
+
export interface PutCiValue502Response {
|
|
11836
|
+
/**
|
|
11837
|
+
*
|
|
11838
|
+
* @type {string}
|
|
11839
|
+
* @memberof PutCiValue502Response
|
|
11840
|
+
*/
|
|
11841
|
+
'error'?: string;
|
|
11842
|
+
}
|
|
11843
|
+
/**
|
|
11844
|
+
*
|
|
11845
|
+
* @export
|
|
11846
|
+
* @interface PutCiValue503Response
|
|
11847
|
+
*/
|
|
11848
|
+
export interface PutCiValue503Response {
|
|
11849
|
+
/**
|
|
11850
|
+
*
|
|
11851
|
+
* @type {string}
|
|
11852
|
+
* @memberof PutCiValue503Response
|
|
11853
|
+
*/
|
|
11854
|
+
'error'?: string;
|
|
11855
|
+
}
|
|
11418
11856
|
/**
|
|
11419
11857
|
*
|
|
11420
11858
|
* @export
|
|
@@ -12311,6 +12749,12 @@ export interface TokensCreate201Response {
|
|
|
12311
12749
|
* @memberof TokensCreate201Response
|
|
12312
12750
|
*/
|
|
12313
12751
|
'projects'?: Array<number> | null;
|
|
12752
|
+
/**
|
|
12753
|
+
*
|
|
12754
|
+
* @type {Array<string>}
|
|
12755
|
+
* @memberof TokensCreate201Response
|
|
12756
|
+
*/
|
|
12757
|
+
'applications'?: Array<string> | null;
|
|
12314
12758
|
/**
|
|
12315
12759
|
*
|
|
12316
12760
|
* @type {string}
|
|
@@ -12366,6 +12810,12 @@ export interface TokensCreateRequest {
|
|
|
12366
12810
|
* @memberof TokensCreateRequest
|
|
12367
12811
|
*/
|
|
12368
12812
|
'projects'?: Array<number> | null;
|
|
12813
|
+
/**
|
|
12814
|
+
* Quant Cloud application names to restrict this token to. The token can then reach only these applications and their environments. Each application must exist in the organization.
|
|
12815
|
+
* @type {Array<string>}
|
|
12816
|
+
* @memberof TokensCreateRequest
|
|
12817
|
+
*/
|
|
12818
|
+
'applications'?: Array<string> | null;
|
|
12369
12819
|
/**
|
|
12370
12820
|
* Token expiration period
|
|
12371
12821
|
* @type {string}
|
|
@@ -12702,19 +13152,6 @@ export interface UpdateAutoMode409Response {
|
|
|
12702
13152
|
*/
|
|
12703
13153
|
'error': string;
|
|
12704
13154
|
}
|
|
12705
|
-
/**
|
|
12706
|
-
*
|
|
12707
|
-
* @export
|
|
12708
|
-
* @interface UpdateContainer400Response
|
|
12709
|
-
*/
|
|
12710
|
-
export interface UpdateContainer400Response {
|
|
12711
|
-
/**
|
|
12712
|
-
*
|
|
12713
|
-
* @type {string}
|
|
12714
|
-
* @memberof UpdateContainer400Response
|
|
12715
|
-
*/
|
|
12716
|
-
'error'?: string;
|
|
12717
|
-
}
|
|
12718
13155
|
/**
|
|
12719
13156
|
*
|
|
12720
13157
|
* @export
|
|
@@ -20876,6 +21313,12 @@ export interface V2Rule {
|
|
|
20876
21313
|
* @memberof V2Rule
|
|
20877
21314
|
*/
|
|
20878
21315
|
'traffic_source_is_not'?: Array<string>;
|
|
21316
|
+
/**
|
|
21317
|
+
*
|
|
21318
|
+
* @type {V2RuleSchedule}
|
|
21319
|
+
* @memberof V2Rule
|
|
21320
|
+
*/
|
|
21321
|
+
'schedule'?: V2RuleSchedule | null;
|
|
20879
21322
|
/**
|
|
20880
21323
|
* Country code
|
|
20881
21324
|
* @type {string}
|
|
@@ -21045,6 +21488,12 @@ export interface V2RuleAuth {
|
|
|
21045
21488
|
* @memberof V2RuleAuth
|
|
21046
21489
|
*/
|
|
21047
21490
|
'traffic_source_is_not'?: Array<string>;
|
|
21491
|
+
/**
|
|
21492
|
+
*
|
|
21493
|
+
* @type {V2RuleSchedule}
|
|
21494
|
+
* @memberof V2RuleAuth
|
|
21495
|
+
*/
|
|
21496
|
+
'schedule'?: V2RuleSchedule;
|
|
21048
21497
|
/**
|
|
21049
21498
|
* Country code
|
|
21050
21499
|
* @type {string}
|
|
@@ -21239,6 +21688,12 @@ export interface V2RuleAuthFunction {
|
|
|
21239
21688
|
* @memberof V2RuleAuthFunction
|
|
21240
21689
|
*/
|
|
21241
21690
|
'traffic_source_is_not'?: Array<string>;
|
|
21691
|
+
/**
|
|
21692
|
+
*
|
|
21693
|
+
* @type {V2RuleSchedule}
|
|
21694
|
+
* @memberof V2RuleAuthFunction
|
|
21695
|
+
*/
|
|
21696
|
+
'schedule'?: V2RuleSchedule;
|
|
21242
21697
|
/**
|
|
21243
21698
|
* Country code
|
|
21244
21699
|
* @type {string}
|
|
@@ -21433,6 +21888,12 @@ export interface V2RuleAuthFunctionRequest {
|
|
|
21433
21888
|
* @memberof V2RuleAuthFunctionRequest
|
|
21434
21889
|
*/
|
|
21435
21890
|
'traffic_source_is_not'?: Array<V2RuleAuthFunctionRequestTrafficSourceIsNotEnum>;
|
|
21891
|
+
/**
|
|
21892
|
+
*
|
|
21893
|
+
* @type {V2RuleSchedule}
|
|
21894
|
+
* @memberof V2RuleAuthFunctionRequest
|
|
21895
|
+
*/
|
|
21896
|
+
'schedule'?: V2RuleSchedule | null;
|
|
21436
21897
|
/**
|
|
21437
21898
|
* Write name of only_with_cookie: the rule applies only when this cookie is present. Empty string clears it.
|
|
21438
21899
|
* @type {string}
|
|
@@ -21630,6 +22091,12 @@ export interface V2RuleAuthRequest {
|
|
|
21630
22091
|
* @memberof V2RuleAuthRequest
|
|
21631
22092
|
*/
|
|
21632
22093
|
'traffic_source_is_not'?: Array<V2RuleAuthRequestTrafficSourceIsNotEnum>;
|
|
22094
|
+
/**
|
|
22095
|
+
*
|
|
22096
|
+
* @type {V2RuleSchedule}
|
|
22097
|
+
* @memberof V2RuleAuthRequest
|
|
22098
|
+
*/
|
|
22099
|
+
'schedule'?: V2RuleSchedule;
|
|
21633
22100
|
/**
|
|
21634
22101
|
* Write name of only_with_cookie: the rule applies only when this cookie is present. Empty string clears it.
|
|
21635
22102
|
* @type {string}
|
|
@@ -21827,6 +22294,12 @@ export interface V2RuleBotChallenge {
|
|
|
21827
22294
|
* @memberof V2RuleBotChallenge
|
|
21828
22295
|
*/
|
|
21829
22296
|
'traffic_source_is_not'?: Array<string>;
|
|
22297
|
+
/**
|
|
22298
|
+
*
|
|
22299
|
+
* @type {V2RuleSchedule}
|
|
22300
|
+
* @memberof V2RuleBotChallenge
|
|
22301
|
+
*/
|
|
22302
|
+
'schedule'?: V2RuleSchedule;
|
|
21830
22303
|
/**
|
|
21831
22304
|
* Country code
|
|
21832
22305
|
* @type {string}
|
|
@@ -21882,7 +22355,80 @@ export interface V2RuleBotChallengeAction {
|
|
|
21882
22355
|
* @memberof V2RuleBotChallengeAction
|
|
21883
22356
|
*/
|
|
21884
22357
|
'robot_challenge_challenge_ttl'?: number;
|
|
22358
|
+
/**
|
|
22359
|
+
*
|
|
22360
|
+
* @type {V2RuleBotChallengeActionRobotChallengeVerifiedBots}
|
|
22361
|
+
* @memberof V2RuleBotChallengeAction
|
|
22362
|
+
*/
|
|
22363
|
+
'robot_challenge_verified_bots'?: V2RuleBotChallengeActionRobotChallengeVerifiedBots;
|
|
22364
|
+
}
|
|
22365
|
+
/**
|
|
22366
|
+
* What a verified bot of each category gets on this rule: allow (skip the challenge), challenge (as any visitor) or block (403). An omitted category is allow. On PATCH, only the supplied categories change. Applies only to bots Quant verifies; AI training crawlers are never verified and are always challenged.
|
|
22367
|
+
* @export
|
|
22368
|
+
* @interface V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22369
|
+
*/
|
|
22370
|
+
export interface V2RuleBotChallengeActionRobotChallengeVerifiedBots {
|
|
22371
|
+
/**
|
|
22372
|
+
* Search crawlers: Googlebot, Bingbot, Applebot, DuckDuckBot, Yandex, Baidu
|
|
22373
|
+
* @type {string}
|
|
22374
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22375
|
+
*/
|
|
22376
|
+
'search'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum;
|
|
22377
|
+
/**
|
|
22378
|
+
* AI search and user fetchers: OAI-SearchBot, ChatGPT-User, PerplexityBot, Meta-ExternalFetcher
|
|
22379
|
+
* @type {string}
|
|
22380
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22381
|
+
*/
|
|
22382
|
+
'ai_search'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum;
|
|
22383
|
+
/**
|
|
22384
|
+
* Link previews: Facebook, WhatsApp, LinkedIn, X, Telegram, BingPreview
|
|
22385
|
+
* @type {string}
|
|
22386
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22387
|
+
*/
|
|
22388
|
+
'preview'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum;
|
|
22389
|
+
/**
|
|
22390
|
+
* Uptime monitors: UptimeRobot, Pingdom
|
|
22391
|
+
* @type {string}
|
|
22392
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22393
|
+
*/
|
|
22394
|
+
'monitor'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum;
|
|
22395
|
+
/**
|
|
22396
|
+
* Other verified bots: AdsBot-Google, Mediapartners-Google, GoogleOther, adidxbot
|
|
22397
|
+
* @type {string}
|
|
22398
|
+
* @memberof V2RuleBotChallengeActionRobotChallengeVerifiedBots
|
|
22399
|
+
*/
|
|
22400
|
+
'other'?: V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum;
|
|
21885
22401
|
}
|
|
22402
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum: {
|
|
22403
|
+
readonly Allow: "allow";
|
|
22404
|
+
readonly Challenge: "challenge";
|
|
22405
|
+
readonly Block: "block";
|
|
22406
|
+
};
|
|
22407
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsSearchEnum];
|
|
22408
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum: {
|
|
22409
|
+
readonly Allow: "allow";
|
|
22410
|
+
readonly Challenge: "challenge";
|
|
22411
|
+
readonly Block: "block";
|
|
22412
|
+
};
|
|
22413
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsAiSearchEnum];
|
|
22414
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum: {
|
|
22415
|
+
readonly Allow: "allow";
|
|
22416
|
+
readonly Challenge: "challenge";
|
|
22417
|
+
readonly Block: "block";
|
|
22418
|
+
};
|
|
22419
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsPreviewEnum];
|
|
22420
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum: {
|
|
22421
|
+
readonly Allow: "allow";
|
|
22422
|
+
readonly Challenge: "challenge";
|
|
22423
|
+
readonly Block: "block";
|
|
22424
|
+
};
|
|
22425
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsMonitorEnum];
|
|
22426
|
+
export declare const V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum: {
|
|
22427
|
+
readonly Allow: "allow";
|
|
22428
|
+
readonly Challenge: "challenge";
|
|
22429
|
+
readonly Block: "block";
|
|
22430
|
+
};
|
|
22431
|
+
export type V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum = typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum[keyof typeof V2RuleBotChallengeActionRobotChallengeVerifiedBotsOtherEnum];
|
|
21886
22432
|
/**
|
|
21887
22433
|
*
|
|
21888
22434
|
* @export
|
|
@@ -22033,6 +22579,12 @@ export interface V2RuleBotChallengeRequest {
|
|
|
22033
22579
|
* @memberof V2RuleBotChallengeRequest
|
|
22034
22580
|
*/
|
|
22035
22581
|
'traffic_source_is_not'?: Array<V2RuleBotChallengeRequestTrafficSourceIsNotEnum>;
|
|
22582
|
+
/**
|
|
22583
|
+
*
|
|
22584
|
+
* @type {V2RuleSchedule}
|
|
22585
|
+
* @memberof V2RuleBotChallengeRequest
|
|
22586
|
+
*/
|
|
22587
|
+
'schedule'?: V2RuleSchedule;
|
|
22036
22588
|
/**
|
|
22037
22589
|
* Write name of only_with_cookie: the rule applies only when this cookie is present. Empty string clears it.
|
|
22038
22590
|
* @type {string}
|
|
@@ -22057,6 +22609,12 @@ export interface V2RuleBotChallengeRequest {
|
|
|
22057
22609
|
* @memberof V2RuleBotChallengeRequest
|
|
22058
22610
|
*/
|
|
22059
22611
|
'robot_challenge_challenge_ttl'?: number;
|
|
22612
|
+
/**
|
|
22613
|
+
*
|
|
22614
|
+
* @type {V2RuleBotChallengeActionRobotChallengeVerifiedBots}
|
|
22615
|
+
* @memberof V2RuleBotChallengeRequest
|
|
22616
|
+
*/
|
|
22617
|
+
'robot_challenge_verified_bots'?: V2RuleBotChallengeActionRobotChallengeVerifiedBots;
|
|
22060
22618
|
}
|
|
22061
22619
|
export declare const V2RuleBotChallengeRequestAsnEnum: {
|
|
22062
22620
|
readonly Any: "any";
|
|
@@ -22236,6 +22794,12 @@ export interface V2RuleContentFilter {
|
|
|
22236
22794
|
* @memberof V2RuleContentFilter
|
|
22237
22795
|
*/
|
|
22238
22796
|
'traffic_source_is_not'?: Array<string>;
|
|
22797
|
+
/**
|
|
22798
|
+
*
|
|
22799
|
+
* @type {V2RuleSchedule}
|
|
22800
|
+
* @memberof V2RuleContentFilter
|
|
22801
|
+
*/
|
|
22802
|
+
'schedule'?: V2RuleSchedule;
|
|
22239
22803
|
/**
|
|
22240
22804
|
* Country code
|
|
22241
22805
|
* @type {string}
|
|
@@ -22430,6 +22994,12 @@ export interface V2RuleContentFilterRequest {
|
|
|
22430
22994
|
* @memberof V2RuleContentFilterRequest
|
|
22431
22995
|
*/
|
|
22432
22996
|
'traffic_source_is_not'?: Array<V2RuleContentFilterRequestTrafficSourceIsNotEnum>;
|
|
22997
|
+
/**
|
|
22998
|
+
*
|
|
22999
|
+
* @type {V2RuleSchedule}
|
|
23000
|
+
* @memberof V2RuleContentFilterRequest
|
|
23001
|
+
*/
|
|
23002
|
+
'schedule'?: V2RuleSchedule | null;
|
|
22433
23003
|
/**
|
|
22434
23004
|
* Write name of only_with_cookie: the rule applies only when this cookie is present. Empty string clears it.
|
|
22435
23005
|
* @type {string}
|
|
@@ -22621,6 +23191,12 @@ export interface V2RuleCustomResponse {
|
|
|
22621
23191
|
* @memberof V2RuleCustomResponse
|
|
22622
23192
|
*/
|
|
22623
23193
|
'traffic_source_is_not'?: Array<string>;
|
|
23194
|
+
/**
|
|
23195
|
+
*
|
|
23196
|
+
* @type {V2RuleSchedule}
|
|
23197
|
+
* @memberof V2RuleCustomResponse
|
|
23198
|
+
*/
|
|
23199
|
+
'schedule'?: V2RuleSchedule;
|
|
22624
23200
|
/**
|
|
22625
23201
|
* Country code
|
|
22626
23202
|
* @type {string}
|
|
@@ -22821,6 +23397,12 @@ export interface V2RuleCustomResponseRequest {
|
|
|
22821
23397
|
* @memberof V2RuleCustomResponseRequest
|
|
22822
23398
|
*/
|
|
22823
23399
|
'traffic_source_is_not'?: Array<V2RuleCustomResponseRequestTrafficSourceIsNotEnum>;
|
|
23400
|
+
/**
|
|
23401
|
+
*
|
|
23402
|
+
* @type {V2RuleSchedule}
|
|
23403
|
+
* @memberof V2RuleCustomResponseRequest
|
|
23404
|
+
*/
|
|
23405
|
+
'schedule'?: V2RuleSchedule | null;
|
|
22824
23406
|
/**
|
|
22825
23407
|
* Write name of only_with_cookie: the rule applies only when this cookie is present. Empty string clears it.
|
|
22826
23408
|
* @type {string}
|
|
@@ -23030,6 +23612,12 @@ export interface V2RuleErrorPage {
|
|
|
23030
23612
|
* @memberof V2RuleErrorPage
|
|
23031
23613
|
*/
|
|
23032
23614
|
'traffic_source_is_not'?: Array<string>;
|
|
23615
|
+
/**
|
|
23616
|
+
*
|
|
23617
|
+
* @type {V2RuleSchedule}
|
|
23618
|
+
* @memberof V2RuleErrorPage
|
|
23619
|
+
*/
|
|
23620
|
+
'schedule'?: V2RuleSchedule;
|
|
23033
23621
|
/**
|
|
23034
23622
|
* Country code
|
|
23035
23623
|
* @type {string}
|
|
@@ -23230,6 +23818,12 @@ export interface V2RuleErrorPageRequest {
|
|
|
23230
23818
|
* @memberof V2RuleErrorPageRequest
|
|
23231
23819
|
*/
|
|
23232
23820
|
'traffic_source_is_not'?: Array<V2RuleErrorPageRequestTrafficSourceIsNotEnum>;
|
|
23821
|
+
/**
|
|
23822
|
+
*
|
|
23823
|
+
* @type {V2RuleSchedule}
|
|
23824
|
+
* @memberof V2RuleErrorPageRequest
|
|
23825
|
+
*/
|
|
23826
|
+
'schedule'?: V2RuleSchedule;
|
|
23233
23827
|
/**
|
|
23234
23828
|
* Write name of only_with_cookie: the rule applies only when this cookie is present. Empty string clears it.
|
|
23235
23829
|
* @type {string}
|
|
@@ -23427,6 +24021,12 @@ export interface V2RuleFunction {
|
|
|
23427
24021
|
* @memberof V2RuleFunction
|
|
23428
24022
|
*/
|
|
23429
24023
|
'traffic_source_is_not'?: Array<string>;
|
|
24024
|
+
/**
|
|
24025
|
+
*
|
|
24026
|
+
* @type {V2RuleSchedule}
|
|
24027
|
+
* @memberof V2RuleFunction
|
|
24028
|
+
*/
|
|
24029
|
+
'schedule'?: V2RuleSchedule;
|
|
23430
24030
|
/**
|
|
23431
24031
|
* Country code
|
|
23432
24032
|
* @type {string}
|
|
@@ -23621,6 +24221,12 @@ export interface V2RuleFunctionRequest {
|
|
|
23621
24221
|
* @memberof V2RuleFunctionRequest
|
|
23622
24222
|
*/
|
|
23623
24223
|
'traffic_source_is_not'?: Array<V2RuleFunctionRequestTrafficSourceIsNotEnum>;
|
|
24224
|
+
/**
|
|
24225
|
+
*
|
|
24226
|
+
* @type {V2RuleSchedule}
|
|
24227
|
+
* @memberof V2RuleFunctionRequest
|
|
24228
|
+
*/
|
|
24229
|
+
'schedule'?: V2RuleSchedule | null;
|
|
23624
24230
|
/**
|
|
23625
24231
|
* Write name of only_with_cookie: the rule applies only when this cookie is present. Empty string clears it.
|
|
23626
24232
|
* @type {string}
|
|
@@ -23812,6 +24418,12 @@ export interface V2RuleHeader {
|
|
|
23812
24418
|
* @memberof V2RuleHeader
|
|
23813
24419
|
*/
|
|
23814
24420
|
'traffic_source_is_not'?: Array<string>;
|
|
24421
|
+
/**
|
|
24422
|
+
*
|
|
24423
|
+
* @type {V2RuleSchedule}
|
|
24424
|
+
* @memberof V2RuleHeader
|
|
24425
|
+
*/
|
|
24426
|
+
'schedule'?: V2RuleSchedule;
|
|
23815
24427
|
/**
|
|
23816
24428
|
* Country code
|
|
23817
24429
|
* @type {string}
|
|
@@ -24008,6 +24620,12 @@ export interface V2RuleHeaderRequest {
|
|
|
24008
24620
|
* @memberof V2RuleHeaderRequest
|
|
24009
24621
|
*/
|
|
24010
24622
|
'traffic_source_is_not'?: Array<V2RuleHeaderRequestTrafficSourceIsNotEnum>;
|
|
24623
|
+
/**
|
|
24624
|
+
*
|
|
24625
|
+
* @type {V2RuleSchedule}
|
|
24626
|
+
* @memberof V2RuleHeaderRequest
|
|
24627
|
+
*/
|
|
24628
|
+
'schedule'?: V2RuleSchedule;
|
|
24011
24629
|
/**
|
|
24012
24630
|
* Write name of only_with_cookie: the rule applies only when this cookie is present. Empty string clears it.
|
|
24013
24631
|
* @type {string}
|
|
@@ -24201,6 +24819,12 @@ export interface V2RuleProxy {
|
|
|
24201
24819
|
* @memberof V2RuleProxy
|
|
24202
24820
|
*/
|
|
24203
24821
|
'traffic_source_is_not'?: Array<string>;
|
|
24822
|
+
/**
|
|
24823
|
+
*
|
|
24824
|
+
* @type {V2RuleSchedule}
|
|
24825
|
+
* @memberof V2RuleProxy
|
|
24826
|
+
*/
|
|
24827
|
+
'schedule'?: V2RuleSchedule;
|
|
24204
24828
|
/**
|
|
24205
24829
|
* Country code
|
|
24206
24830
|
* @type {string}
|
|
@@ -24620,6 +25244,12 @@ export interface V2RuleProxyRequest {
|
|
|
24620
25244
|
* @memberof V2RuleProxyRequest
|
|
24621
25245
|
*/
|
|
24622
25246
|
'traffic_source_is_not'?: Array<V2RuleProxyRequestTrafficSourceIsNotEnum>;
|
|
25247
|
+
/**
|
|
25248
|
+
*
|
|
25249
|
+
* @type {V2RuleSchedule}
|
|
25250
|
+
* @memberof V2RuleProxyRequest
|
|
25251
|
+
*/
|
|
25252
|
+
'schedule'?: V2RuleSchedule | null;
|
|
24623
25253
|
/**
|
|
24624
25254
|
* Write name of only_with_cookie: the rule applies only when this cookie is present. Empty string clears it.
|
|
24625
25255
|
* @type {string}
|
|
@@ -24963,6 +25593,12 @@ export interface V2RuleRedirect {
|
|
|
24963
25593
|
* @memberof V2RuleRedirect
|
|
24964
25594
|
*/
|
|
24965
25595
|
'traffic_source_is_not'?: Array<string>;
|
|
25596
|
+
/**
|
|
25597
|
+
*
|
|
25598
|
+
* @type {V2RuleSchedule}
|
|
25599
|
+
* @memberof V2RuleRedirect
|
|
25600
|
+
*/
|
|
25601
|
+
'schedule'?: V2RuleSchedule;
|
|
24966
25602
|
/**
|
|
24967
25603
|
* Country code
|
|
24968
25604
|
* @type {string}
|
|
@@ -25163,6 +25799,12 @@ export interface V2RuleRedirectRequest {
|
|
|
25163
25799
|
* @memberof V2RuleRedirectRequest
|
|
25164
25800
|
*/
|
|
25165
25801
|
'traffic_source_is_not'?: Array<V2RuleRedirectRequestTrafficSourceIsNotEnum>;
|
|
25802
|
+
/**
|
|
25803
|
+
*
|
|
25804
|
+
* @type {V2RuleSchedule}
|
|
25805
|
+
* @memberof V2RuleRedirectRequest
|
|
25806
|
+
*/
|
|
25807
|
+
'schedule'?: V2RuleSchedule | null;
|
|
25166
25808
|
/**
|
|
25167
25809
|
* Write name of only_with_cookie: the rule applies only when this cookie is present. Empty string clears it.
|
|
25168
25810
|
* @type {string}
|
|
@@ -25366,6 +26008,12 @@ export interface V2RuleRequest {
|
|
|
25366
26008
|
* @memberof V2RuleRequest
|
|
25367
26009
|
*/
|
|
25368
26010
|
'traffic_source_is_not'?: Array<V2RuleRequestTrafficSourceIsNotEnum>;
|
|
26011
|
+
/**
|
|
26012
|
+
*
|
|
26013
|
+
* @type {V2RuleSchedule}
|
|
26014
|
+
* @memberof V2RuleRequest
|
|
26015
|
+
*/
|
|
26016
|
+
'schedule'?: V2RuleSchedule | null;
|
|
25369
26017
|
/**
|
|
25370
26018
|
* Write name of only_with_cookie: the rule applies only when this cookie is present. Empty string clears it.
|
|
25371
26019
|
* @type {string}
|
|
@@ -25407,6 +26055,96 @@ export declare const V2RuleRequestTrafficSourceIsNotEnum: {
|
|
|
25407
26055
|
readonly Crawler: "crawler";
|
|
25408
26056
|
};
|
|
25409
26057
|
export type V2RuleRequestTrafficSourceIsNotEnum = typeof V2RuleRequestTrafficSourceIsNotEnum[keyof typeof V2RuleRequestTrafficSourceIsNotEnum];
|
|
26058
|
+
/**
|
|
26059
|
+
* Weekly windows and one-off ranges in local wall time for one IANA time zone. Start is inclusive, end is exclusive. A weekly window whose end is not later than its start crosses midnight. With no windows the rule always applies.
|
|
26060
|
+
* @export
|
|
26061
|
+
* @interface V2RuleSchedule
|
|
26062
|
+
*/
|
|
26063
|
+
export interface V2RuleSchedule {
|
|
26064
|
+
/**
|
|
26065
|
+
* IANA time zone name, or UTC. Invalid values return 422.
|
|
26066
|
+
* @type {string}
|
|
26067
|
+
* @memberof V2RuleSchedule
|
|
26068
|
+
*/
|
|
26069
|
+
'timezone': string;
|
|
26070
|
+
/**
|
|
26071
|
+
* active_during: the rule applies only inside the windows. inactive_during: the rule applies only outside them.
|
|
26072
|
+
* @type {string}
|
|
26073
|
+
* @memberof V2RuleSchedule
|
|
26074
|
+
*/
|
|
26075
|
+
'mode': V2RuleScheduleModeEnum;
|
|
26076
|
+
/**
|
|
26077
|
+
* Weekly windows. Stored as an empty list when omitted.
|
|
26078
|
+
* @type {Array<V2RuleScheduleWeeklyInner>}
|
|
26079
|
+
* @memberof V2RuleSchedule
|
|
26080
|
+
*/
|
|
26081
|
+
'weekly'?: Array<V2RuleScheduleWeeklyInner>;
|
|
26082
|
+
/**
|
|
26083
|
+
* One-off ranges. Stored as an empty list when omitted.
|
|
26084
|
+
* @type {Array<V2RuleScheduleOnceInner>}
|
|
26085
|
+
* @memberof V2RuleSchedule
|
|
26086
|
+
*/
|
|
26087
|
+
'once'?: Array<V2RuleScheduleOnceInner>;
|
|
26088
|
+
}
|
|
26089
|
+
export declare const V2RuleScheduleModeEnum: {
|
|
26090
|
+
readonly ActiveDuring: "active_during";
|
|
26091
|
+
readonly InactiveDuring: "inactive_during";
|
|
26092
|
+
};
|
|
26093
|
+
export type V2RuleScheduleModeEnum = typeof V2RuleScheduleModeEnum[keyof typeof V2RuleScheduleModeEnum];
|
|
26094
|
+
/**
|
|
26095
|
+
*
|
|
26096
|
+
* @export
|
|
26097
|
+
* @interface V2RuleScheduleOnceInner
|
|
26098
|
+
*/
|
|
26099
|
+
export interface V2RuleScheduleOnceInner {
|
|
26100
|
+
/**
|
|
26101
|
+
* Local date and time, YYYY-MM-DDTHH:MM, no offset.
|
|
26102
|
+
* @type {string}
|
|
26103
|
+
* @memberof V2RuleScheduleOnceInner
|
|
26104
|
+
*/
|
|
26105
|
+
'start': string;
|
|
26106
|
+
/**
|
|
26107
|
+
* Local date and time after start, YYYY-MM-DDTHH:MM, no offset.
|
|
26108
|
+
* @type {string}
|
|
26109
|
+
* @memberof V2RuleScheduleOnceInner
|
|
26110
|
+
*/
|
|
26111
|
+
'end': string;
|
|
26112
|
+
}
|
|
26113
|
+
/**
|
|
26114
|
+
*
|
|
26115
|
+
* @export
|
|
26116
|
+
* @interface V2RuleScheduleWeeklyInner
|
|
26117
|
+
*/
|
|
26118
|
+
export interface V2RuleScheduleWeeklyInner {
|
|
26119
|
+
/**
|
|
26120
|
+
*
|
|
26121
|
+
* @type {Array<string>}
|
|
26122
|
+
* @memberof V2RuleScheduleWeeklyInner
|
|
26123
|
+
*/
|
|
26124
|
+
'days': Array<V2RuleScheduleWeeklyInnerDaysEnum>;
|
|
26125
|
+
/**
|
|
26126
|
+
* Local time HH:MM, 00:00 to 23:59.
|
|
26127
|
+
* @type {string}
|
|
26128
|
+
* @memberof V2RuleScheduleWeeklyInner
|
|
26129
|
+
*/
|
|
26130
|
+
'start': string;
|
|
26131
|
+
/**
|
|
26132
|
+
* Local time HH:MM, 00:00 to 24:00.
|
|
26133
|
+
* @type {string}
|
|
26134
|
+
* @memberof V2RuleScheduleWeeklyInner
|
|
26135
|
+
*/
|
|
26136
|
+
'end': string;
|
|
26137
|
+
}
|
|
26138
|
+
export declare const V2RuleScheduleWeeklyInnerDaysEnum: {
|
|
26139
|
+
readonly Mon: "mon";
|
|
26140
|
+
readonly Tue: "tue";
|
|
26141
|
+
readonly Wed: "wed";
|
|
26142
|
+
readonly Thu: "thu";
|
|
26143
|
+
readonly Fri: "fri";
|
|
26144
|
+
readonly Sat: "sat";
|
|
26145
|
+
readonly Sun: "sun";
|
|
26146
|
+
};
|
|
26147
|
+
export type V2RuleScheduleWeeklyInnerDaysEnum = typeof V2RuleScheduleWeeklyInnerDaysEnum[keyof typeof V2RuleScheduleWeeklyInnerDaysEnum];
|
|
25410
26148
|
/**
|
|
25411
26149
|
*
|
|
25412
26150
|
* @export
|
|
@@ -25551,6 +26289,12 @@ export interface V2RuleServeStatic {
|
|
|
25551
26289
|
* @memberof V2RuleServeStatic
|
|
25552
26290
|
*/
|
|
25553
26291
|
'traffic_source_is_not'?: Array<string>;
|
|
26292
|
+
/**
|
|
26293
|
+
*
|
|
26294
|
+
* @type {V2RuleSchedule}
|
|
26295
|
+
* @memberof V2RuleServeStatic
|
|
26296
|
+
*/
|
|
26297
|
+
'schedule'?: V2RuleSchedule;
|
|
25554
26298
|
/**
|
|
25555
26299
|
* Country code
|
|
25556
26300
|
* @type {string}
|
|
@@ -25745,6 +26489,12 @@ export interface V2RuleServeStaticRequest {
|
|
|
25745
26489
|
* @memberof V2RuleServeStaticRequest
|
|
25746
26490
|
*/
|
|
25747
26491
|
'traffic_source_is_not'?: Array<V2RuleServeStaticRequestTrafficSourceIsNotEnum>;
|
|
26492
|
+
/**
|
|
26493
|
+
*
|
|
26494
|
+
* @type {V2RuleSchedule}
|
|
26495
|
+
* @memberof V2RuleServeStaticRequest
|
|
26496
|
+
*/
|
|
26497
|
+
'schedule'?: V2RuleSchedule;
|
|
25748
26498
|
/**
|
|
25749
26499
|
* Write name of only_with_cookie: the rule applies only when this cookie is present. Empty string clears it.
|
|
25750
26500
|
* @type {string}
|
|
@@ -35499,7 +36249,7 @@ export type SyncToEnvironmentTypeEnum = typeof SyncToEnvironmentTypeEnum[keyof t
|
|
|
35499
36249
|
*/
|
|
35500
36250
|
export declare const HeadersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
35501
36251
|
/**
|
|
35502
|
-
*
|
|
36252
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
35503
36253
|
* @summary Create or update custom headers
|
|
35504
36254
|
* @param {string} organization Organization identifier
|
|
35505
36255
|
* @param {string} project Project identifier
|
|
@@ -35534,7 +36284,7 @@ export declare const HeadersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35534
36284
|
*/
|
|
35535
36285
|
export declare const HeadersApiFp: (configuration?: Configuration) => {
|
|
35536
36286
|
/**
|
|
35537
|
-
*
|
|
36287
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
35538
36288
|
* @summary Create or update custom headers
|
|
35539
36289
|
* @param {string} organization Organization identifier
|
|
35540
36290
|
* @param {string} project Project identifier
|
|
@@ -35573,7 +36323,7 @@ export declare const HeadersApiFp: (configuration?: Configuration) => {
|
|
|
35573
36323
|
*/
|
|
35574
36324
|
export declare const HeadersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
35575
36325
|
/**
|
|
35576
|
-
*
|
|
36326
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
35577
36327
|
* @summary Create or update custom headers
|
|
35578
36328
|
* @param {string} organization Organization identifier
|
|
35579
36329
|
* @param {string} project Project identifier
|
|
@@ -35614,7 +36364,7 @@ export declare const HeadersApiFactory: (configuration?: Configuration, basePath
|
|
|
35614
36364
|
*/
|
|
35615
36365
|
export declare class HeadersApi extends BaseAPI {
|
|
35616
36366
|
/**
|
|
35617
|
-
*
|
|
36367
|
+
* Replaces the custom headers of the project. On a project that Security > CSP manages, the CSP header names in the request are ignored and their stored values stay; the response header X-Quant-Warning then names them. The status is still 200.
|
|
35618
36368
|
* @summary Create or update custom headers
|
|
35619
36369
|
* @param {string} organization Organization identifier
|
|
35620
36370
|
* @param {string} project Project identifier
|
|
@@ -39167,6 +39917,16 @@ export declare const ResourcesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
39167
39917
|
* @throws {RequiredError}
|
|
39168
39918
|
*/
|
|
39169
39919
|
createOrgResource: (organisation: string, createOrgResourceRequest: CreateOrgResourceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39920
|
+
/**
|
|
39921
|
+
* Deletes the part of the pool\'s build cache that the body names: one entry (repoId, ref, version and key), one version of a ref (repoId, ref, version), one ref (repoId, ref), one repository (repoId) or, with exactly {\"all\": true}, the whole cache. A missing or empty body is refused. Only the named scope is deleted; a delete is permanent, and a later job saves a new entry. A large delete stops after about 12 seconds and returns complete false with what it deleted so far; send the same request again until complete is true. complete false means: send the same request again. If a call returns complete false with deletedEntries 0, stop and try again later, because a storage call failed, timed out or refused objects. After a 502 the delete may still be running on the platform; the request is idempotent, so a client can send the same request again.
|
|
39922
|
+
* @summary Delete build cache entries of a CI runner pool
|
|
39923
|
+
* @param {string} organisation The organisation ID
|
|
39924
|
+
* @param {string} resource The CI runner pool resource ID
|
|
39925
|
+
* @param {CiCacheDeleteRequest} ciCacheDeleteRequest
|
|
39926
|
+
* @param {*} [options] Override http request option.
|
|
39927
|
+
* @throws {RequiredError}
|
|
39928
|
+
*/
|
|
39929
|
+
deleteCiRunnerPoolCache: (organisation: string, resource: string, ciCacheDeleteRequest: CiCacheDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39170
39930
|
/**
|
|
39171
39931
|
* Deletes the resource and its contents. This cannot be undone. A resource with live attachments is rejected unless force is set.
|
|
39172
39932
|
* @summary Delete a shared resource
|
|
@@ -39188,6 +39948,16 @@ export declare const ResourcesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
39188
39948
|
* @throws {RequiredError}
|
|
39189
39949
|
*/
|
|
39190
39950
|
detachOrgResource: (organisation: string, resource: string, application: string, environment: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39951
|
+
/**
|
|
39952
|
+
* Sums of the pool\'s build cache hits, misses, saves and bytes over the last days days. hitRate is hits / (hits + misses), or null when both are 0.
|
|
39953
|
+
* @summary Get build cache statistics of a CI runner pool
|
|
39954
|
+
* @param {string} organisation The organisation ID
|
|
39955
|
+
* @param {string} resource The CI runner pool resource ID
|
|
39956
|
+
* @param {number} [days]
|
|
39957
|
+
* @param {*} [options] Override http request option.
|
|
39958
|
+
* @throws {RequiredError}
|
|
39959
|
+
*/
|
|
39960
|
+
getCiRunnerPoolCacheStats: (organisation: string, resource: string, days?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39191
39961
|
/**
|
|
39192
39962
|
*
|
|
39193
39963
|
* @summary Get a shared resource and its attachments
|
|
@@ -39206,6 +39976,18 @@ export declare const ResourcesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
39206
39976
|
* @throws {RequiredError}
|
|
39207
39977
|
*/
|
|
39208
39978
|
getOrgResourceCredentials: (organisation: string, resource: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39979
|
+
/**
|
|
39980
|
+
* Lists the GitHub Actions cache entries of a CI runner pool, in storage order (repository id, then ref, version and key). totalBytes and entryCount cover every entry that matches the filter, not only this page; on a very large cache the count stops after about 10 seconds and totalsComplete is false. A page holds at most 500 entries; pass nextCursor as cursor, with the same filter, until it is null. repo is null when no repository name is recorded.
|
|
39981
|
+
* @summary List the build cache entries of a CI runner pool
|
|
39982
|
+
* @param {string} organisation The organisation ID
|
|
39983
|
+
* @param {string} resource The CI runner pool resource ID
|
|
39984
|
+
* @param {number} [repoId] Only the entries of this GitHub repository id.
|
|
39985
|
+
* @param {string} [ref] Only the entries saved by this git ref. Needs repoId. Must start with refs/ and be a valid git ref name without %.
|
|
39986
|
+
* @param {string} [cursor] Opaque nextCursor from the previous page of the same filter.
|
|
39987
|
+
* @param {*} [options] Override http request option.
|
|
39988
|
+
* @throws {RequiredError}
|
|
39989
|
+
*/
|
|
39990
|
+
listCiRunnerPoolCache: (organisation: string, resource: string, repoId?: number, ref?: string, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39209
39991
|
/**
|
|
39210
39992
|
*
|
|
39211
39993
|
* @summary List an organisation\'s shared resources
|
|
@@ -39249,6 +40031,16 @@ export declare const ResourcesApiFp: (configuration?: Configuration) => {
|
|
|
39249
40031
|
* @throws {RequiredError}
|
|
39250
40032
|
*/
|
|
39251
40033
|
createOrgResource(organisation: string, createOrgResourceRequest: CreateOrgResourceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgResource>>;
|
|
40034
|
+
/**
|
|
40035
|
+
* Deletes the part of the pool\'s build cache that the body names: one entry (repoId, ref, version and key), one version of a ref (repoId, ref, version), one ref (repoId, ref), one repository (repoId) or, with exactly {\"all\": true}, the whole cache. A missing or empty body is refused. Only the named scope is deleted; a delete is permanent, and a later job saves a new entry. A large delete stops after about 12 seconds and returns complete false with what it deleted so far; send the same request again until complete is true. complete false means: send the same request again. If a call returns complete false with deletedEntries 0, stop and try again later, because a storage call failed, timed out or refused objects. After a 502 the delete may still be running on the platform; the request is idempotent, so a client can send the same request again.
|
|
40036
|
+
* @summary Delete build cache entries of a CI runner pool
|
|
40037
|
+
* @param {string} organisation The organisation ID
|
|
40038
|
+
* @param {string} resource The CI runner pool resource ID
|
|
40039
|
+
* @param {CiCacheDeleteRequest} ciCacheDeleteRequest
|
|
40040
|
+
* @param {*} [options] Override http request option.
|
|
40041
|
+
* @throws {RequiredError}
|
|
40042
|
+
*/
|
|
40043
|
+
deleteCiRunnerPoolCache(organisation: string, resource: string, ciCacheDeleteRequest: CiCacheDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CiCacheDeleteResult>>;
|
|
39252
40044
|
/**
|
|
39253
40045
|
* Deletes the resource and its contents. This cannot be undone. A resource with live attachments is rejected unless force is set.
|
|
39254
40046
|
* @summary Delete a shared resource
|
|
@@ -39270,6 +40062,16 @@ export declare const ResourcesApiFp: (configuration?: Configuration) => {
|
|
|
39270
40062
|
* @throws {RequiredError}
|
|
39271
40063
|
*/
|
|
39272
40064
|
detachOrgResource(organisation: string, resource: string, application: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
40065
|
+
/**
|
|
40066
|
+
* Sums of the pool\'s build cache hits, misses, saves and bytes over the last days days. hitRate is hits / (hits + misses), or null when both are 0.
|
|
40067
|
+
* @summary Get build cache statistics of a CI runner pool
|
|
40068
|
+
* @param {string} organisation The organisation ID
|
|
40069
|
+
* @param {string} resource The CI runner pool resource ID
|
|
40070
|
+
* @param {number} [days]
|
|
40071
|
+
* @param {*} [options] Override http request option.
|
|
40072
|
+
* @throws {RequiredError}
|
|
40073
|
+
*/
|
|
40074
|
+
getCiRunnerPoolCacheStats(organisation: string, resource: string, days?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CiCacheStats>>;
|
|
39273
40075
|
/**
|
|
39274
40076
|
*
|
|
39275
40077
|
* @summary Get a shared resource and its attachments
|
|
@@ -39288,6 +40090,18 @@ export declare const ResourcesApiFp: (configuration?: Configuration) => {
|
|
|
39288
40090
|
* @throws {RequiredError}
|
|
39289
40091
|
*/
|
|
39290
40092
|
getOrgResourceCredentials(organisation: string, resource: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrgResourceCredentials200Response>>;
|
|
40093
|
+
/**
|
|
40094
|
+
* Lists the GitHub Actions cache entries of a CI runner pool, in storage order (repository id, then ref, version and key). totalBytes and entryCount cover every entry that matches the filter, not only this page; on a very large cache the count stops after about 10 seconds and totalsComplete is false. A page holds at most 500 entries; pass nextCursor as cursor, with the same filter, until it is null. repo is null when no repository name is recorded.
|
|
40095
|
+
* @summary List the build cache entries of a CI runner pool
|
|
40096
|
+
* @param {string} organisation The organisation ID
|
|
40097
|
+
* @param {string} resource The CI runner pool resource ID
|
|
40098
|
+
* @param {number} [repoId] Only the entries of this GitHub repository id.
|
|
40099
|
+
* @param {string} [ref] Only the entries saved by this git ref. Needs repoId. Must start with refs/ and be a valid git ref name without %.
|
|
40100
|
+
* @param {string} [cursor] Opaque nextCursor from the previous page of the same filter.
|
|
40101
|
+
* @param {*} [options] Override http request option.
|
|
40102
|
+
* @throws {RequiredError}
|
|
40103
|
+
*/
|
|
40104
|
+
listCiRunnerPoolCache(organisation: string, resource: string, repoId?: number, ref?: string, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CiCacheList>>;
|
|
39291
40105
|
/**
|
|
39292
40106
|
*
|
|
39293
40107
|
* @summary List an organisation\'s shared resources
|
|
@@ -39331,6 +40145,16 @@ export declare const ResourcesApiFactory: (configuration?: Configuration, basePa
|
|
|
39331
40145
|
* @throws {RequiredError}
|
|
39332
40146
|
*/
|
|
39333
40147
|
createOrgResource(organisation: string, createOrgResourceRequest: CreateOrgResourceRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgResource>;
|
|
40148
|
+
/**
|
|
40149
|
+
* Deletes the part of the pool\'s build cache that the body names: one entry (repoId, ref, version and key), one version of a ref (repoId, ref, version), one ref (repoId, ref), one repository (repoId) or, with exactly {\"all\": true}, the whole cache. A missing or empty body is refused. Only the named scope is deleted; a delete is permanent, and a later job saves a new entry. A large delete stops after about 12 seconds and returns complete false with what it deleted so far; send the same request again until complete is true. complete false means: send the same request again. If a call returns complete false with deletedEntries 0, stop and try again later, because a storage call failed, timed out or refused objects. After a 502 the delete may still be running on the platform; the request is idempotent, so a client can send the same request again.
|
|
40150
|
+
* @summary Delete build cache entries of a CI runner pool
|
|
40151
|
+
* @param {string} organisation The organisation ID
|
|
40152
|
+
* @param {string} resource The CI runner pool resource ID
|
|
40153
|
+
* @param {CiCacheDeleteRequest} ciCacheDeleteRequest
|
|
40154
|
+
* @param {*} [options] Override http request option.
|
|
40155
|
+
* @throws {RequiredError}
|
|
40156
|
+
*/
|
|
40157
|
+
deleteCiRunnerPoolCache(organisation: string, resource: string, ciCacheDeleteRequest: CiCacheDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<CiCacheDeleteResult>;
|
|
39334
40158
|
/**
|
|
39335
40159
|
* Deletes the resource and its contents. This cannot be undone. A resource with live attachments is rejected unless force is set.
|
|
39336
40160
|
* @summary Delete a shared resource
|
|
@@ -39352,6 +40176,16 @@ export declare const ResourcesApiFactory: (configuration?: Configuration, basePa
|
|
|
39352
40176
|
* @throws {RequiredError}
|
|
39353
40177
|
*/
|
|
39354
40178
|
detachOrgResource(organisation: string, resource: string, application: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
40179
|
+
/**
|
|
40180
|
+
* Sums of the pool\'s build cache hits, misses, saves and bytes over the last days days. hitRate is hits / (hits + misses), or null when both are 0.
|
|
40181
|
+
* @summary Get build cache statistics of a CI runner pool
|
|
40182
|
+
* @param {string} organisation The organisation ID
|
|
40183
|
+
* @param {string} resource The CI runner pool resource ID
|
|
40184
|
+
* @param {number} [days]
|
|
40185
|
+
* @param {*} [options] Override http request option.
|
|
40186
|
+
* @throws {RequiredError}
|
|
40187
|
+
*/
|
|
40188
|
+
getCiRunnerPoolCacheStats(organisation: string, resource: string, days?: number, options?: RawAxiosRequestConfig): AxiosPromise<CiCacheStats>;
|
|
39355
40189
|
/**
|
|
39356
40190
|
*
|
|
39357
40191
|
* @summary Get a shared resource and its attachments
|
|
@@ -39370,6 +40204,18 @@ export declare const ResourcesApiFactory: (configuration?: Configuration, basePa
|
|
|
39370
40204
|
* @throws {RequiredError}
|
|
39371
40205
|
*/
|
|
39372
40206
|
getOrgResourceCredentials(organisation: string, resource: string, options?: RawAxiosRequestConfig): AxiosPromise<GetOrgResourceCredentials200Response>;
|
|
40207
|
+
/**
|
|
40208
|
+
* Lists the GitHub Actions cache entries of a CI runner pool, in storage order (repository id, then ref, version and key). totalBytes and entryCount cover every entry that matches the filter, not only this page; on a very large cache the count stops after about 10 seconds and totalsComplete is false. A page holds at most 500 entries; pass nextCursor as cursor, with the same filter, until it is null. repo is null when no repository name is recorded.
|
|
40209
|
+
* @summary List the build cache entries of a CI runner pool
|
|
40210
|
+
* @param {string} organisation The organisation ID
|
|
40211
|
+
* @param {string} resource The CI runner pool resource ID
|
|
40212
|
+
* @param {number} [repoId] Only the entries of this GitHub repository id.
|
|
40213
|
+
* @param {string} [ref] Only the entries saved by this git ref. Needs repoId. Must start with refs/ and be a valid git ref name without %.
|
|
40214
|
+
* @param {string} [cursor] Opaque nextCursor from the previous page of the same filter.
|
|
40215
|
+
* @param {*} [options] Override http request option.
|
|
40216
|
+
* @throws {RequiredError}
|
|
40217
|
+
*/
|
|
40218
|
+
listCiRunnerPoolCache(organisation: string, resource: string, repoId?: number, ref?: string, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<CiCacheList>;
|
|
39373
40219
|
/**
|
|
39374
40220
|
*
|
|
39375
40221
|
* @summary List an organisation\'s shared resources
|
|
@@ -39417,6 +40263,17 @@ export declare class ResourcesApi extends BaseAPI {
|
|
|
39417
40263
|
* @memberof ResourcesApi
|
|
39418
40264
|
*/
|
|
39419
40265
|
createOrgResource(organisation: string, createOrgResourceRequest: CreateOrgResourceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgResource, any, {}, any>>;
|
|
40266
|
+
/**
|
|
40267
|
+
* Deletes the part of the pool\'s build cache that the body names: one entry (repoId, ref, version and key), one version of a ref (repoId, ref, version), one ref (repoId, ref), one repository (repoId) or, with exactly {\"all\": true}, the whole cache. A missing or empty body is refused. Only the named scope is deleted; a delete is permanent, and a later job saves a new entry. A large delete stops after about 12 seconds and returns complete false with what it deleted so far; send the same request again until complete is true. complete false means: send the same request again. If a call returns complete false with deletedEntries 0, stop and try again later, because a storage call failed, timed out or refused objects. After a 502 the delete may still be running on the platform; the request is idempotent, so a client can send the same request again.
|
|
40268
|
+
* @summary Delete build cache entries of a CI runner pool
|
|
40269
|
+
* @param {string} organisation The organisation ID
|
|
40270
|
+
* @param {string} resource The CI runner pool resource ID
|
|
40271
|
+
* @param {CiCacheDeleteRequest} ciCacheDeleteRequest
|
|
40272
|
+
* @param {*} [options] Override http request option.
|
|
40273
|
+
* @throws {RequiredError}
|
|
40274
|
+
* @memberof ResourcesApi
|
|
40275
|
+
*/
|
|
40276
|
+
deleteCiRunnerPoolCache(organisation: string, resource: string, ciCacheDeleteRequest: CiCacheDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CiCacheDeleteResult, any, {}, any>>;
|
|
39420
40277
|
/**
|
|
39421
40278
|
* Deletes the resource and its contents. This cannot be undone. A resource with live attachments is rejected unless force is set.
|
|
39422
40279
|
* @summary Delete a shared resource
|
|
@@ -39440,6 +40297,17 @@ export declare class ResourcesApi extends BaseAPI {
|
|
|
39440
40297
|
* @memberof ResourcesApi
|
|
39441
40298
|
*/
|
|
39442
40299
|
detachOrgResource(organisation: string, resource: string, application: string, environment: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
40300
|
+
/**
|
|
40301
|
+
* Sums of the pool\'s build cache hits, misses, saves and bytes over the last days days. hitRate is hits / (hits + misses), or null when both are 0.
|
|
40302
|
+
* @summary Get build cache statistics of a CI runner pool
|
|
40303
|
+
* @param {string} organisation The organisation ID
|
|
40304
|
+
* @param {string} resource The CI runner pool resource ID
|
|
40305
|
+
* @param {number} [days]
|
|
40306
|
+
* @param {*} [options] Override http request option.
|
|
40307
|
+
* @throws {RequiredError}
|
|
40308
|
+
* @memberof ResourcesApi
|
|
40309
|
+
*/
|
|
40310
|
+
getCiRunnerPoolCacheStats(organisation: string, resource: string, days?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CiCacheStats, any, {}, any>>;
|
|
39443
40311
|
/**
|
|
39444
40312
|
*
|
|
39445
40313
|
* @summary Get a shared resource and its attachments
|
|
@@ -39460,6 +40328,19 @@ export declare class ResourcesApi extends BaseAPI {
|
|
|
39460
40328
|
* @memberof ResourcesApi
|
|
39461
40329
|
*/
|
|
39462
40330
|
getOrgResourceCredentials(organisation: string, resource: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrgResourceCredentials200Response, any, {}, any>>;
|
|
40331
|
+
/**
|
|
40332
|
+
* Lists the GitHub Actions cache entries of a CI runner pool, in storage order (repository id, then ref, version and key). totalBytes and entryCount cover every entry that matches the filter, not only this page; on a very large cache the count stops after about 10 seconds and totalsComplete is false. A page holds at most 500 entries; pass nextCursor as cursor, with the same filter, until it is null. repo is null when no repository name is recorded.
|
|
40333
|
+
* @summary List the build cache entries of a CI runner pool
|
|
40334
|
+
* @param {string} organisation The organisation ID
|
|
40335
|
+
* @param {string} resource The CI runner pool resource ID
|
|
40336
|
+
* @param {number} [repoId] Only the entries of this GitHub repository id.
|
|
40337
|
+
* @param {string} [ref] Only the entries saved by this git ref. Needs repoId. Must start with refs/ and be a valid git ref name without %.
|
|
40338
|
+
* @param {string} [cursor] Opaque nextCursor from the previous page of the same filter.
|
|
40339
|
+
* @param {*} [options] Override http request option.
|
|
40340
|
+
* @throws {RequiredError}
|
|
40341
|
+
* @memberof ResourcesApi
|
|
40342
|
+
*/
|
|
40343
|
+
listCiRunnerPoolCache(organisation: string, resource: string, repoId?: number, ref?: string, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CiCacheList, any, {}, any>>;
|
|
39463
40344
|
/**
|
|
39464
40345
|
*
|
|
39465
40346
|
* @summary List an organisation\'s shared resources
|