@quantcdn/quant-client 4.29.0 → 4.30.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/README.md +6 -6
- package/api.ts +2333 -76
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1480 -75
- package/dist/api.js +1557 -36
- 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 +1480 -75
- package/dist/esm/api.js +1540 -27
- 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.30.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,6 +13,272 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AiAuditError
|
|
20
|
+
*/
|
|
21
|
+
export interface AiAuditError {
|
|
22
|
+
/**
|
|
23
|
+
* Error message
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AiAuditError
|
|
26
|
+
*/
|
|
27
|
+
'message': string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AiAuditError
|
|
32
|
+
*/
|
|
33
|
+
'error': string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof AiAuditError
|
|
38
|
+
*/
|
|
39
|
+
'code'?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof AiAuditError
|
|
44
|
+
*/
|
|
45
|
+
'retryable'?: boolean;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @export
|
|
50
|
+
* @interface AiAuditRecordGet200Response
|
|
51
|
+
*/
|
|
52
|
+
export interface AiAuditRecordGet200Response {
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof AiAuditRecordGet200Response
|
|
57
|
+
*/
|
|
58
|
+
'key': string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof AiAuditRecordGet200Response
|
|
63
|
+
*/
|
|
64
|
+
'date': string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {AiAuditRecordSummary}
|
|
68
|
+
* @memberof AiAuditRecordGet200Response
|
|
69
|
+
*/
|
|
70
|
+
'summary': AiAuditRecordSummary;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {{ [key: string]: any; }}
|
|
74
|
+
* @memberof AiAuditRecordGet200Response
|
|
75
|
+
*/
|
|
76
|
+
'record': {
|
|
77
|
+
[key: string]: any;
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @export
|
|
83
|
+
* @interface AiAuditRecordRow
|
|
84
|
+
*/
|
|
85
|
+
export interface AiAuditRecordRow {
|
|
86
|
+
/**
|
|
87
|
+
* Error message
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof AiAuditRecordRow
|
|
90
|
+
*/
|
|
91
|
+
'message': string;
|
|
92
|
+
/**
|
|
93
|
+
* Error flag
|
|
94
|
+
* @type {boolean}
|
|
95
|
+
* @memberof AiAuditRecordRow
|
|
96
|
+
*/
|
|
97
|
+
'error': boolean;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof AiAuditRecordRow
|
|
102
|
+
*/
|
|
103
|
+
'key': string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof AiAuditRecordRow
|
|
108
|
+
*/
|
|
109
|
+
'date': string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {AiAuditRecordSummary}
|
|
113
|
+
* @memberof AiAuditRecordRow
|
|
114
|
+
*/
|
|
115
|
+
'summary': AiAuditRecordSummary;
|
|
116
|
+
/**
|
|
117
|
+
* The stored record. prompt and response are present only when the record has promptStored or responseStored true.
|
|
118
|
+
* @type {{ [key: string]: any; }}
|
|
119
|
+
* @memberof AiAuditRecordRow
|
|
120
|
+
*/
|
|
121
|
+
'record'?: {
|
|
122
|
+
[key: string]: any;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* too-large: read the record with aiAuditRecordGet.
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof AiAuditRecordRow
|
|
128
|
+
*/
|
|
129
|
+
'omitted'?: AiAuditRecordRowOmittedEnum;
|
|
130
|
+
}
|
|
131
|
+
export declare const AiAuditRecordRowOmittedEnum: {
|
|
132
|
+
readonly TooLarge: "too-large";
|
|
133
|
+
readonly Unreadable: "unreadable";
|
|
134
|
+
};
|
|
135
|
+
export type AiAuditRecordRowOmittedEnum = typeof AiAuditRecordRowOmittedEnum[keyof typeof AiAuditRecordRowOmittedEnum];
|
|
136
|
+
/**
|
|
137
|
+
* Normalised fields of any record type. A field with an unexpected type is left out.
|
|
138
|
+
* @export
|
|
139
|
+
* @interface AiAuditRecordSummary
|
|
140
|
+
*/
|
|
141
|
+
export interface AiAuditRecordSummary {
|
|
142
|
+
/**
|
|
143
|
+
* Error message
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof AiAuditRecordSummary
|
|
146
|
+
*/
|
|
147
|
+
'message': string;
|
|
148
|
+
/**
|
|
149
|
+
* Error flag
|
|
150
|
+
* @type {boolean}
|
|
151
|
+
* @memberof AiAuditRecordSummary
|
|
152
|
+
*/
|
|
153
|
+
'error': boolean;
|
|
154
|
+
/**
|
|
155
|
+
* inference for a record without recordType; tool_denied, tool_proposal, tool_decision, tool_outcome, slack_bot_api, audit_access, ...; unknown for an unreadable object
|
|
156
|
+
* @type {string}
|
|
157
|
+
* @memberof AiAuditRecordSummary
|
|
158
|
+
*/
|
|
159
|
+
'recordType': string;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @type {string}
|
|
163
|
+
* @memberof AiAuditRecordSummary
|
|
164
|
+
*/
|
|
165
|
+
'timestamp'?: string;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {string}
|
|
169
|
+
* @memberof AiAuditRecordSummary
|
|
170
|
+
*/
|
|
171
|
+
'userId'?: string;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @type {string}
|
|
175
|
+
* @memberof AiAuditRecordSummary
|
|
176
|
+
*/
|
|
177
|
+
'tokenId'?: string;
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @type {string}
|
|
181
|
+
* @memberof AiAuditRecordSummary
|
|
182
|
+
*/
|
|
183
|
+
'modelId'?: string;
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof AiAuditRecordSummary
|
|
188
|
+
*/
|
|
189
|
+
'interface'?: string;
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @type {Array<string>}
|
|
193
|
+
* @memberof AiAuditRecordSummary
|
|
194
|
+
*/
|
|
195
|
+
'tools': Array<string>;
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @type {string}
|
|
199
|
+
* @memberof AiAuditRecordSummary
|
|
200
|
+
*/
|
|
201
|
+
'decision'?: string;
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @type {string}
|
|
205
|
+
* @memberof AiAuditRecordSummary
|
|
206
|
+
*/
|
|
207
|
+
'outcome'?: string;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @export
|
|
212
|
+
* @interface AiAuditRecordsPage
|
|
213
|
+
*/
|
|
214
|
+
export interface AiAuditRecordsPage {
|
|
215
|
+
/**
|
|
216
|
+
* Error message
|
|
217
|
+
* @type {string}
|
|
218
|
+
* @memberof AiAuditRecordsPage
|
|
219
|
+
*/
|
|
220
|
+
'message': string;
|
|
221
|
+
/**
|
|
222
|
+
* Error flag
|
|
223
|
+
* @type {boolean}
|
|
224
|
+
* @memberof AiAuditRecordsPage
|
|
225
|
+
*/
|
|
226
|
+
'error': boolean;
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @type {string}
|
|
230
|
+
* @memberof AiAuditRecordsPage
|
|
231
|
+
*/
|
|
232
|
+
'orgId': string;
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* @type {string}
|
|
236
|
+
* @memberof AiAuditRecordsPage
|
|
237
|
+
*/
|
|
238
|
+
'startDate': string;
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @type {string}
|
|
242
|
+
* @memberof AiAuditRecordsPage
|
|
243
|
+
*/
|
|
244
|
+
'endDate': string;
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @type {number}
|
|
248
|
+
* @memberof AiAuditRecordsPage
|
|
249
|
+
*/
|
|
250
|
+
'count': number;
|
|
251
|
+
/**
|
|
252
|
+
*
|
|
253
|
+
* @type {Array<AiAuditRecordRow>}
|
|
254
|
+
* @memberof AiAuditRecordsPage
|
|
255
|
+
*/
|
|
256
|
+
'records': Array<AiAuditRecordRow>;
|
|
257
|
+
/**
|
|
258
|
+
* Keys examined by this call
|
|
259
|
+
* @type {number}
|
|
260
|
+
* @memberof AiAuditRecordsPage
|
|
261
|
+
*/
|
|
262
|
+
'scanned': number;
|
|
263
|
+
/**
|
|
264
|
+
* Records older than 365 days (archived) that this call left out
|
|
265
|
+
* @type {number}
|
|
266
|
+
* @memberof AiAuditRecordsPage
|
|
267
|
+
*/
|
|
268
|
+
'skippedArchived': number;
|
|
269
|
+
/**
|
|
270
|
+
*
|
|
271
|
+
* @type {boolean}
|
|
272
|
+
* @memberof AiAuditRecordsPage
|
|
273
|
+
*/
|
|
274
|
+
'hasMore': boolean;
|
|
275
|
+
/**
|
|
276
|
+
*
|
|
277
|
+
* @type {string}
|
|
278
|
+
* @memberof AiAuditRecordsPage
|
|
279
|
+
*/
|
|
280
|
+
'nextCursor'?: string;
|
|
281
|
+
}
|
|
16
282
|
/**
|
|
17
283
|
*
|
|
18
284
|
* @export
|
|
@@ -218,7 +484,20 @@ export interface AiSearchUpdateSettingsRequest {
|
|
|
218
484
|
* @memberof AiSearchUpdateSettingsRequest
|
|
219
485
|
*/
|
|
220
486
|
'rateLimits'?: object;
|
|
487
|
+
/**
|
|
488
|
+
* What analytics keeps of a visitor\'s query. default: the organisation default (store, or hash for strict organisations).
|
|
489
|
+
* @type {string}
|
|
490
|
+
* @memberof AiSearchUpdateSettingsRequest
|
|
491
|
+
*/
|
|
492
|
+
'queryTextRetention'?: AiSearchUpdateSettingsRequestQueryTextRetentionEnum;
|
|
221
493
|
}
|
|
494
|
+
export declare const AiSearchUpdateSettingsRequestQueryTextRetentionEnum: {
|
|
495
|
+
readonly Default: "default";
|
|
496
|
+
readonly Store: "store";
|
|
497
|
+
readonly Hash: "hash";
|
|
498
|
+
readonly None: "none";
|
|
499
|
+
};
|
|
500
|
+
export type AiSearchUpdateSettingsRequestQueryTextRetentionEnum = typeof AiSearchUpdateSettingsRequestQueryTextRetentionEnum[keyof typeof AiSearchUpdateSettingsRequestQueryTextRetentionEnum];
|
|
222
501
|
/**
|
|
223
502
|
*
|
|
224
503
|
* @export
|
|
@@ -3505,6 +3784,95 @@ export declare const CreateSlackBotRequestSetupTypeEnum: {
|
|
|
3505
3784
|
readonly Byo: "byo";
|
|
3506
3785
|
};
|
|
3507
3786
|
export type CreateSlackBotRequestSetupTypeEnum = typeof CreateSlackBotRequestSetupTypeEnum[keyof typeof CreateSlackBotRequestSetupTypeEnum];
|
|
3787
|
+
/**
|
|
3788
|
+
*
|
|
3789
|
+
* @export
|
|
3790
|
+
* @interface CreateSlackInteractionRequest
|
|
3791
|
+
*/
|
|
3792
|
+
export interface CreateSlackInteractionRequest {
|
|
3793
|
+
/**
|
|
3794
|
+
*
|
|
3795
|
+
* @type {string}
|
|
3796
|
+
* @memberof CreateSlackInteractionRequest
|
|
3797
|
+
*/
|
|
3798
|
+
'channel': string;
|
|
3799
|
+
/**
|
|
3800
|
+
*
|
|
3801
|
+
* @type {string}
|
|
3802
|
+
* @memberof CreateSlackInteractionRequest
|
|
3803
|
+
*/
|
|
3804
|
+
'threadTs'?: string;
|
|
3805
|
+
/**
|
|
3806
|
+
*
|
|
3807
|
+
* @type {string}
|
|
3808
|
+
* @memberof CreateSlackInteractionRequest
|
|
3809
|
+
*/
|
|
3810
|
+
'text': string;
|
|
3811
|
+
/**
|
|
3812
|
+
*
|
|
3813
|
+
* @type {Array<CreateSlackInteractionRequestActionsInner>}
|
|
3814
|
+
* @memberof CreateSlackInteractionRequest
|
|
3815
|
+
*/
|
|
3816
|
+
'actions': Array<CreateSlackInteractionRequestActionsInner>;
|
|
3817
|
+
/**
|
|
3818
|
+
*
|
|
3819
|
+
* @type {string}
|
|
3820
|
+
* @memberof CreateSlackInteractionRequest
|
|
3821
|
+
*/
|
|
3822
|
+
'responseMode'?: CreateSlackInteractionRequestResponseModeEnum;
|
|
3823
|
+
/**
|
|
3824
|
+
*
|
|
3825
|
+
* @type {number}
|
|
3826
|
+
* @memberof CreateSlackInteractionRequest
|
|
3827
|
+
*/
|
|
3828
|
+
'expiresInSeconds'?: number;
|
|
3829
|
+
/**
|
|
3830
|
+
*
|
|
3831
|
+
* @type {Array<string>}
|
|
3832
|
+
* @memberof CreateSlackInteractionRequest
|
|
3833
|
+
*/
|
|
3834
|
+
'allowedUsers'?: Array<string>;
|
|
3835
|
+
/**
|
|
3836
|
+
* Opaque caller data, at most 4096 bytes of canonical JSON
|
|
3837
|
+
* @type {object}
|
|
3838
|
+
* @memberof CreateSlackInteractionRequest
|
|
3839
|
+
*/
|
|
3840
|
+
'metadata'?: object;
|
|
3841
|
+
}
|
|
3842
|
+
export declare const CreateSlackInteractionRequestResponseModeEnum: {
|
|
3843
|
+
readonly Single: "single";
|
|
3844
|
+
};
|
|
3845
|
+
export type CreateSlackInteractionRequestResponseModeEnum = typeof CreateSlackInteractionRequestResponseModeEnum[keyof typeof CreateSlackInteractionRequestResponseModeEnum];
|
|
3846
|
+
/**
|
|
3847
|
+
*
|
|
3848
|
+
* @export
|
|
3849
|
+
* @interface CreateSlackInteractionRequestActionsInner
|
|
3850
|
+
*/
|
|
3851
|
+
export interface CreateSlackInteractionRequestActionsInner {
|
|
3852
|
+
/**
|
|
3853
|
+
*
|
|
3854
|
+
* @type {string}
|
|
3855
|
+
* @memberof CreateSlackInteractionRequestActionsInner
|
|
3856
|
+
*/
|
|
3857
|
+
'id': string;
|
|
3858
|
+
/**
|
|
3859
|
+
*
|
|
3860
|
+
* @type {string}
|
|
3861
|
+
* @memberof CreateSlackInteractionRequestActionsInner
|
|
3862
|
+
*/
|
|
3863
|
+
'label': string;
|
|
3864
|
+
/**
|
|
3865
|
+
*
|
|
3866
|
+
* @type {string}
|
|
3867
|
+
* @memberof CreateSlackInteractionRequestActionsInner
|
|
3868
|
+
*/
|
|
3869
|
+
'style'?: CreateSlackInteractionRequestActionsInnerStyleEnum;
|
|
3870
|
+
}
|
|
3871
|
+
export declare const CreateSlackInteractionRequestActionsInnerStyleEnum: {
|
|
3872
|
+
readonly Primary: "primary";
|
|
3873
|
+
readonly Danger: "danger";
|
|
3874
|
+
};
|
|
3875
|
+
export type CreateSlackInteractionRequestActionsInnerStyleEnum = typeof CreateSlackInteractionRequestActionsInnerStyleEnum[keyof typeof CreateSlackInteractionRequestActionsInnerStyleEnum];
|
|
3508
3876
|
/**
|
|
3509
3877
|
*
|
|
3510
3878
|
* @export
|
|
@@ -3784,7 +4152,66 @@ export interface Cron {
|
|
|
3784
4152
|
* @memberof Cron
|
|
3785
4153
|
*/
|
|
3786
4154
|
'isEnabled'?: boolean;
|
|
4155
|
+
/**
|
|
4156
|
+
* The newest run of the job. Null when the job has never run. Sent by the cron list.
|
|
4157
|
+
* @type {CronLastRun}
|
|
4158
|
+
* @memberof Cron
|
|
4159
|
+
*/
|
|
4160
|
+
'lastRun'?: CronLastRun | null;
|
|
4161
|
+
/**
|
|
4162
|
+
* Failed runs (FAILED or FAILED_TO_START) from the newest run back to the first run that did not fail, counted over the latest 10 runs. 0 when the newest run did not fail. Sent by the cron list.
|
|
4163
|
+
* @type {number}
|
|
4164
|
+
* @memberof Cron
|
|
4165
|
+
*/
|
|
4166
|
+
'consecutiveFailures'?: number;
|
|
4167
|
+
}
|
|
4168
|
+
/**
|
|
4169
|
+
* Summary of the newest run of a cron job.
|
|
4170
|
+
* @export
|
|
4171
|
+
* @interface CronLastRun
|
|
4172
|
+
*/
|
|
4173
|
+
export interface CronLastRun {
|
|
4174
|
+
/**
|
|
4175
|
+
*
|
|
4176
|
+
* @type {string}
|
|
4177
|
+
* @memberof CronLastRun
|
|
4178
|
+
*/
|
|
4179
|
+
'runId'?: string;
|
|
4180
|
+
/**
|
|
4181
|
+
* FAILED_TO_START: the task could not be launched, so the command never ran (for example, the job targets a container that no longer exists).
|
|
4182
|
+
* @type {string}
|
|
4183
|
+
* @memberof CronLastRun
|
|
4184
|
+
*/
|
|
4185
|
+
'status'?: CronLastRunStatusEnum;
|
|
4186
|
+
/**
|
|
4187
|
+
*
|
|
4188
|
+
* @type {string}
|
|
4189
|
+
* @memberof CronLastRun
|
|
4190
|
+
*/
|
|
4191
|
+
'createdAt'?: string | null;
|
|
4192
|
+
/**
|
|
4193
|
+
*
|
|
4194
|
+
* @type {number}
|
|
4195
|
+
* @memberof CronLastRun
|
|
4196
|
+
*/
|
|
4197
|
+
'exitCode'?: number | null;
|
|
4198
|
+
/**
|
|
4199
|
+
* Why the run failed, in plain text. Set when the status is FAILED_TO_START.
|
|
4200
|
+
* @type {string}
|
|
4201
|
+
* @memberof CronLastRun
|
|
4202
|
+
*/
|
|
4203
|
+
'errorMessage'?: string | null;
|
|
3787
4204
|
}
|
|
4205
|
+
export declare const CronLastRunStatusEnum: {
|
|
4206
|
+
readonly Pending: "PENDING";
|
|
4207
|
+
readonly Running: "RUNNING";
|
|
4208
|
+
readonly Succeeded: "SUCCEEDED";
|
|
4209
|
+
readonly Failed: "FAILED";
|
|
4210
|
+
readonly FailedToStart: "FAILED_TO_START";
|
|
4211
|
+
readonly Expired: "EXPIRED";
|
|
4212
|
+
readonly TimedOut: "TIMED_OUT";
|
|
4213
|
+
};
|
|
4214
|
+
export type CronLastRunStatusEnum = typeof CronLastRunStatusEnum[keyof typeof CronLastRunStatusEnum];
|
|
3788
4215
|
/**
|
|
3789
4216
|
*
|
|
3790
4217
|
* @export
|
|
@@ -3810,11 +4237,17 @@ export interface CronRun {
|
|
|
3810
4237
|
*/
|
|
3811
4238
|
'command'?: string | null;
|
|
3812
4239
|
/**
|
|
3813
|
-
*
|
|
4240
|
+
* FAILED_TO_START: the task could not be launched, so the command never ran (for example, the job targets a container that no longer exists).
|
|
3814
4241
|
* @type {string}
|
|
3815
4242
|
* @memberof CronRun
|
|
3816
4243
|
*/
|
|
3817
4244
|
'status'?: CronRunStatusEnum;
|
|
4245
|
+
/**
|
|
4246
|
+
* Why the run failed, in plain text. Set when the status is FAILED_TO_START.
|
|
4247
|
+
* @type {string}
|
|
4248
|
+
* @memberof CronRun
|
|
4249
|
+
*/
|
|
4250
|
+
'errorMessage'?: string | null;
|
|
3818
4251
|
/**
|
|
3819
4252
|
*
|
|
3820
4253
|
* @type {string}
|
|
@@ -3862,6 +4295,8 @@ export declare const CronRunStatusEnum: {
|
|
|
3862
4295
|
readonly Running: "RUNNING";
|
|
3863
4296
|
readonly Succeeded: "SUCCEEDED";
|
|
3864
4297
|
readonly Failed: "FAILED";
|
|
4298
|
+
readonly FailedToStart: "FAILED_TO_START";
|
|
4299
|
+
readonly Expired: "EXPIRED";
|
|
3865
4300
|
readonly TimedOut: "TIMED_OUT";
|
|
3866
4301
|
readonly Unknown: "UNKNOWN";
|
|
3867
4302
|
};
|
|
@@ -4025,6 +4460,19 @@ export interface DeleteCustomTool200Response {
|
|
|
4025
4460
|
*/
|
|
4026
4461
|
'message'?: string;
|
|
4027
4462
|
}
|
|
4463
|
+
/**
|
|
4464
|
+
*
|
|
4465
|
+
* @export
|
|
4466
|
+
* @interface DeleteEnvironmentSecret200Response
|
|
4467
|
+
*/
|
|
4468
|
+
export interface DeleteEnvironmentSecret200Response {
|
|
4469
|
+
/**
|
|
4470
|
+
*
|
|
4471
|
+
* @type {Array<string>}
|
|
4472
|
+
* @memberof DeleteEnvironmentSecret200Response
|
|
4473
|
+
*/
|
|
4474
|
+
'warnings': Array<string>;
|
|
4475
|
+
}
|
|
4028
4476
|
/**
|
|
4029
4477
|
*
|
|
4030
4478
|
* @export
|
|
@@ -7539,7 +7987,7 @@ export interface KVItemsCreate200Response {
|
|
|
7539
7987
|
*/
|
|
7540
7988
|
'key'?: string;
|
|
7541
7989
|
/**
|
|
7542
|
-
*
|
|
7990
|
+
* The value written. \'[ENCRYPTED]\' when secret is true: secret values are write-only through the API.
|
|
7543
7991
|
* @type {string}
|
|
7544
7992
|
* @memberof KVItemsCreate200Response
|
|
7545
7993
|
*/
|
|
@@ -9480,7 +9928,7 @@ export interface OrgResource {
|
|
|
9480
9928
|
*/
|
|
9481
9929
|
'name'?: string;
|
|
9482
9930
|
/**
|
|
9483
|
-
*
|
|
9931
|
+
* creating and updating apply to a CI runner pool
|
|
9484
9932
|
* @type {string}
|
|
9485
9933
|
* @memberof OrgResource
|
|
9486
9934
|
*/
|
|
@@ -9498,7 +9946,7 @@ export interface OrgResource {
|
|
|
9498
9946
|
*/
|
|
9499
9947
|
'config'?: object;
|
|
9500
9948
|
/**
|
|
9501
|
-
* Provisioned detail: bucket and region for object storage, cache identifier and endpoint for a cache
|
|
9949
|
+
* Provisioned detail: bucket and region for object storage, cache identifier and endpoint for a cache. Not returned for a CI runner pool.
|
|
9502
9950
|
* @type {object}
|
|
9503
9951
|
* @memberof OrgResource
|
|
9504
9952
|
*/
|
|
@@ -9513,10 +9961,13 @@ export interface OrgResource {
|
|
|
9513
9961
|
export declare const OrgResourceTypeEnum: {
|
|
9514
9962
|
readonly ObjectStorage: "object-storage";
|
|
9515
9963
|
readonly Valkey: "valkey";
|
|
9964
|
+
readonly CiRunnerPool: "ci-runner-pool";
|
|
9516
9965
|
};
|
|
9517
9966
|
export type OrgResourceTypeEnum = typeof OrgResourceTypeEnum[keyof typeof OrgResourceTypeEnum];
|
|
9518
9967
|
export declare const OrgResourceStatusEnum: {
|
|
9519
9968
|
readonly Provisioning: "provisioning";
|
|
9969
|
+
readonly Creating: "creating";
|
|
9970
|
+
readonly Updating: "updating";
|
|
9520
9971
|
readonly Available: "available";
|
|
9521
9972
|
readonly Deleting: "deleting";
|
|
9522
9973
|
readonly Error: "error";
|
|
@@ -9738,6 +10189,86 @@ export declare const PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum
|
|
|
9738
10189
|
readonly MixedAggressive: "mixed-aggressive";
|
|
9739
10190
|
};
|
|
9740
10191
|
export type PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum = typeof PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum[keyof typeof PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum];
|
|
10192
|
+
/**
|
|
10193
|
+
*
|
|
10194
|
+
* @export
|
|
10195
|
+
* @interface PostSlackBotFile201Response
|
|
10196
|
+
*/
|
|
10197
|
+
export interface PostSlackBotFile201Response {
|
|
10198
|
+
/**
|
|
10199
|
+
*
|
|
10200
|
+
* @type {string}
|
|
10201
|
+
* @memberof PostSlackBotFile201Response
|
|
10202
|
+
*/
|
|
10203
|
+
'channel'?: string;
|
|
10204
|
+
/**
|
|
10205
|
+
*
|
|
10206
|
+
* @type {string}
|
|
10207
|
+
* @memberof PostSlackBotFile201Response
|
|
10208
|
+
*/
|
|
10209
|
+
'threadTs'?: string | null;
|
|
10210
|
+
/**
|
|
10211
|
+
*
|
|
10212
|
+
* @type {string}
|
|
10213
|
+
* @memberof PostSlackBotFile201Response
|
|
10214
|
+
*/
|
|
10215
|
+
'fileId'?: string;
|
|
10216
|
+
/**
|
|
10217
|
+
*
|
|
10218
|
+
* @type {string}
|
|
10219
|
+
* @memberof PostSlackBotFile201Response
|
|
10220
|
+
*/
|
|
10221
|
+
'permalink'?: string | null;
|
|
10222
|
+
}
|
|
10223
|
+
/**
|
|
10224
|
+
*
|
|
10225
|
+
* @export
|
|
10226
|
+
* @interface PostSlackBotFileRequest
|
|
10227
|
+
*/
|
|
10228
|
+
export interface PostSlackBotFileRequest {
|
|
10229
|
+
/**
|
|
10230
|
+
*
|
|
10231
|
+
* @type {string}
|
|
10232
|
+
* @memberof PostSlackBotFileRequest
|
|
10233
|
+
*/
|
|
10234
|
+
'channel': string;
|
|
10235
|
+
/**
|
|
10236
|
+
* Absent: a root post
|
|
10237
|
+
* @type {string}
|
|
10238
|
+
* @memberof PostSlackBotFileRequest
|
|
10239
|
+
*/
|
|
10240
|
+
'threadTs'?: string;
|
|
10241
|
+
/**
|
|
10242
|
+
* The image, base64 (standard alphabet, no whitespace, no data: prefix). 1 byte to 4 MiB decoded.
|
|
10243
|
+
* @type {string}
|
|
10244
|
+
* @memberof PostSlackBotFileRequest
|
|
10245
|
+
*/
|
|
10246
|
+
'content': string;
|
|
10247
|
+
/**
|
|
10248
|
+
* Default screenshot.<ext>. The extension must match the image type (png, jpg, jpeg, gif, webp).
|
|
10249
|
+
* @type {string}
|
|
10250
|
+
* @memberof PostSlackBotFileRequest
|
|
10251
|
+
*/
|
|
10252
|
+
'filename'?: string;
|
|
10253
|
+
/**
|
|
10254
|
+
*
|
|
10255
|
+
* @type {string}
|
|
10256
|
+
* @memberof PostSlackBotFileRequest
|
|
10257
|
+
*/
|
|
10258
|
+
'title'?: string;
|
|
10259
|
+
/**
|
|
10260
|
+
*
|
|
10261
|
+
* @type {string}
|
|
10262
|
+
* @memberof PostSlackBotFileRequest
|
|
10263
|
+
*/
|
|
10264
|
+
'altText'?: string;
|
|
10265
|
+
/**
|
|
10266
|
+
* Caption. Same mention rules as a message.
|
|
10267
|
+
* @type {string}
|
|
10268
|
+
* @memberof PostSlackBotFileRequest
|
|
10269
|
+
*/
|
|
10270
|
+
'text'?: string;
|
|
10271
|
+
}
|
|
9741
10272
|
/**
|
|
9742
10273
|
*
|
|
9743
10274
|
* @export
|
|
@@ -9794,6 +10325,89 @@ export interface PostSlackBotMessageRequest {
|
|
|
9794
10325
|
*/
|
|
9795
10326
|
'text': string;
|
|
9796
10327
|
}
|
|
10328
|
+
/**
|
|
10329
|
+
*
|
|
10330
|
+
* @export
|
|
10331
|
+
* @interface ProjectsDelete409Response
|
|
10332
|
+
*/
|
|
10333
|
+
export interface ProjectsDelete409Response {
|
|
10334
|
+
/**
|
|
10335
|
+
*
|
|
10336
|
+
* @type {boolean}
|
|
10337
|
+
* @memberof ProjectsDelete409Response
|
|
10338
|
+
*/
|
|
10339
|
+
'error'?: boolean;
|
|
10340
|
+
/**
|
|
10341
|
+
*
|
|
10342
|
+
* @type {string}
|
|
10343
|
+
* @memberof ProjectsDelete409Response
|
|
10344
|
+
*/
|
|
10345
|
+
'message'?: string;
|
|
10346
|
+
/**
|
|
10347
|
+
*
|
|
10348
|
+
* @type {string}
|
|
10349
|
+
* @memberof ProjectsDelete409Response
|
|
10350
|
+
*/
|
|
10351
|
+
'code'?: ProjectsDelete409ResponseCodeEnum;
|
|
10352
|
+
/**
|
|
10353
|
+
*
|
|
10354
|
+
* @type {boolean}
|
|
10355
|
+
* @memberof ProjectsDelete409Response
|
|
10356
|
+
*/
|
|
10357
|
+
'retryable'?: boolean;
|
|
10358
|
+
/**
|
|
10359
|
+
*
|
|
10360
|
+
* @type {Array<string>}
|
|
10361
|
+
* @memberof ProjectsDelete409Response
|
|
10362
|
+
*/
|
|
10363
|
+
'stores'?: Array<string>;
|
|
10364
|
+
}
|
|
10365
|
+
export declare const ProjectsDelete409ResponseCodeEnum: {
|
|
10366
|
+
readonly KvLedgerPresent: "KV_LEDGER_PRESENT";
|
|
10367
|
+
};
|
|
10368
|
+
export type ProjectsDelete409ResponseCodeEnum = typeof ProjectsDelete409ResponseCodeEnum[keyof typeof ProjectsDelete409ResponseCodeEnum];
|
|
10369
|
+
/**
|
|
10370
|
+
*
|
|
10371
|
+
* @export
|
|
10372
|
+
* @interface ProjectsDelete503Response
|
|
10373
|
+
*/
|
|
10374
|
+
export interface ProjectsDelete503Response {
|
|
10375
|
+
/**
|
|
10376
|
+
*
|
|
10377
|
+
* @type {boolean}
|
|
10378
|
+
* @memberof ProjectsDelete503Response
|
|
10379
|
+
*/
|
|
10380
|
+
'error'?: boolean;
|
|
10381
|
+
/**
|
|
10382
|
+
*
|
|
10383
|
+
* @type {string}
|
|
10384
|
+
* @memberof ProjectsDelete503Response
|
|
10385
|
+
*/
|
|
10386
|
+
'message'?: string;
|
|
10387
|
+
/**
|
|
10388
|
+
*
|
|
10389
|
+
* @type {string}
|
|
10390
|
+
* @memberof ProjectsDelete503Response
|
|
10391
|
+
*/
|
|
10392
|
+
'code'?: ProjectsDelete503ResponseCodeEnum;
|
|
10393
|
+
/**
|
|
10394
|
+
*
|
|
10395
|
+
* @type {boolean}
|
|
10396
|
+
* @memberof ProjectsDelete503Response
|
|
10397
|
+
*/
|
|
10398
|
+
'retryable'?: boolean;
|
|
10399
|
+
/**
|
|
10400
|
+
*
|
|
10401
|
+
* @type {Array<string>}
|
|
10402
|
+
* @memberof ProjectsDelete503Response
|
|
10403
|
+
*/
|
|
10404
|
+
'stores'?: Array<string>;
|
|
10405
|
+
}
|
|
10406
|
+
export declare const ProjectsDelete503ResponseCodeEnum: {
|
|
10407
|
+
readonly KvStoresUnreadable: "KV_STORES_UNREADABLE";
|
|
10408
|
+
readonly KvStoreDeleteFailed: "KV_STORE_DELETE_FAILED";
|
|
10409
|
+
};
|
|
10410
|
+
export type ProjectsDelete503ResponseCodeEnum = typeof ProjectsDelete503ResponseCodeEnum[keyof typeof ProjectsDelete503ResponseCodeEnum];
|
|
9797
10411
|
/**
|
|
9798
10412
|
*
|
|
9799
10413
|
* @export
|
|
@@ -10348,6 +10962,26 @@ export interface RestoreFilesystemRequest {
|
|
|
10348
10962
|
*/
|
|
10349
10963
|
'acknowledgeDataloss': boolean;
|
|
10350
10964
|
}
|
|
10965
|
+
/**
|
|
10966
|
+
*
|
|
10967
|
+
* @export
|
|
10968
|
+
* @interface RulesIndexList200ResponseInner
|
|
10969
|
+
*/
|
|
10970
|
+
export interface RulesIndexList200ResponseInner {
|
|
10971
|
+
[key: string]: any;
|
|
10972
|
+
/**
|
|
10973
|
+
* 0-based index in the stored order.
|
|
10974
|
+
* @type {number}
|
|
10975
|
+
* @memberof RulesIndexList200ResponseInner
|
|
10976
|
+
*/
|
|
10977
|
+
'position'?: number;
|
|
10978
|
+
/**
|
|
10979
|
+
* True when a template deploy owns the rule in this project.
|
|
10980
|
+
* @type {boolean}
|
|
10981
|
+
* @memberof RulesIndexList200ResponseInner
|
|
10982
|
+
*/
|
|
10983
|
+
'managed'?: boolean;
|
|
10984
|
+
}
|
|
10351
10985
|
/**
|
|
10352
10986
|
*
|
|
10353
10987
|
* @export
|
|
@@ -10431,6 +11065,51 @@ export interface SearchSlackWorkspaceUsers200ResponseResultsInner {
|
|
|
10431
11065
|
*/
|
|
10432
11066
|
'real_name'?: string;
|
|
10433
11067
|
}
|
|
11068
|
+
/**
|
|
11069
|
+
*
|
|
11070
|
+
* @export
|
|
11071
|
+
* @interface SecretError
|
|
11072
|
+
*/
|
|
11073
|
+
export interface SecretError {
|
|
11074
|
+
/**
|
|
11075
|
+
*
|
|
11076
|
+
* @type {string}
|
|
11077
|
+
* @memberof SecretError
|
|
11078
|
+
*/
|
|
11079
|
+
'message': string;
|
|
11080
|
+
}
|
|
11081
|
+
/**
|
|
11082
|
+
*
|
|
11083
|
+
* @export
|
|
11084
|
+
* @interface SecretKey
|
|
11085
|
+
*/
|
|
11086
|
+
export interface SecretKey {
|
|
11087
|
+
/**
|
|
11088
|
+
* The secret name
|
|
11089
|
+
* @type {string}
|
|
11090
|
+
* @memberof SecretKey
|
|
11091
|
+
*/
|
|
11092
|
+
'key': string;
|
|
11093
|
+
}
|
|
11094
|
+
/**
|
|
11095
|
+
*
|
|
11096
|
+
* @export
|
|
11097
|
+
* @interface SecretWriteResult
|
|
11098
|
+
*/
|
|
11099
|
+
export interface SecretWriteResult {
|
|
11100
|
+
/**
|
|
11101
|
+
* The secret name
|
|
11102
|
+
* @type {string}
|
|
11103
|
+
* @memberof SecretWriteResult
|
|
11104
|
+
*/
|
|
11105
|
+
'key': string;
|
|
11106
|
+
/**
|
|
11107
|
+
* Notices from Quant Cloud about the change. Present only when there is at least one.
|
|
11108
|
+
* @type {Array<string>}
|
|
11109
|
+
* @memberof SecretWriteResult
|
|
11110
|
+
*/
|
|
11111
|
+
'warnings'?: Array<string>;
|
|
11112
|
+
}
|
|
10434
11113
|
/**
|
|
10435
11114
|
*
|
|
10436
11115
|
* @export
|
|
@@ -11093,6 +11772,19 @@ export interface UpdateEnvironmentRequest {
|
|
|
11093
11772
|
*/
|
|
11094
11773
|
'maxCapacity'?: number | null;
|
|
11095
11774
|
}
|
|
11775
|
+
/**
|
|
11776
|
+
*
|
|
11777
|
+
* @export
|
|
11778
|
+
* @interface UpdateEnvironmentSecretRequest
|
|
11779
|
+
*/
|
|
11780
|
+
export interface UpdateEnvironmentSecretRequest {
|
|
11781
|
+
/**
|
|
11782
|
+
*
|
|
11783
|
+
* @type {string}
|
|
11784
|
+
* @memberof UpdateEnvironmentSecretRequest
|
|
11785
|
+
*/
|
|
11786
|
+
'value': string;
|
|
11787
|
+
}
|
|
11096
11788
|
/**
|
|
11097
11789
|
*
|
|
11098
11790
|
* @export
|
|
@@ -14656,7 +15348,7 @@ export interface V2KvEntryPutResponse {
|
|
|
14656
15348
|
*/
|
|
14657
15349
|
'key': string;
|
|
14658
15350
|
/**
|
|
14659
|
-
* The stored JSON value.
|
|
15351
|
+
* The stored JSON value. For a secret write (secret true) it reads \"[ENCRYPTED]\": secret values are write-only through the API.
|
|
14660
15352
|
* @type {any}
|
|
14661
15353
|
* @memberof V2KvEntryPutResponse
|
|
14662
15354
|
*/
|
|
@@ -16384,7 +17076,7 @@ export interface V2KvLedgerErasureShredReceiptDocument {
|
|
|
16384
17076
|
*/
|
|
16385
17077
|
'signature': string;
|
|
16386
17078
|
/**
|
|
16387
|
-
* The KMS key ARN
|
|
17079
|
+
* The public id of the ledger signing key: the KMS key id (a UUID). It holds no account id or region. Documents signed before 2026-10-29 may name the full key ARN inside their signed json; a verifier matches the key id at the end of that ARN.
|
|
16388
17080
|
* @type {string}
|
|
16389
17081
|
* @memberof V2KvLedgerErasureShredReceiptDocument
|
|
16390
17082
|
*/
|
|
@@ -16596,7 +17288,7 @@ export interface V2KvLedgerErasureSignedShredReceipt {
|
|
|
16596
17288
|
*/
|
|
16597
17289
|
'signature': string;
|
|
16598
17290
|
/**
|
|
16599
|
-
* The KMS key ARN
|
|
17291
|
+
* The public id of the ledger signing key: the KMS key id (a UUID). It holds no account id or region. Documents signed before 2026-10-29 may name the full key ARN inside their signed json; a verifier matches the key id at the end of that ARN.
|
|
16600
17292
|
* @type {string}
|
|
16601
17293
|
* @memberof V2KvLedgerErasureSignedShredReceipt
|
|
16602
17294
|
*/
|
|
@@ -17394,7 +18086,7 @@ export type V2KvLedgerProvenanceTypeEnum = typeof V2KvLedgerProvenanceTypeEnum[k
|
|
|
17394
18086
|
*/
|
|
17395
18087
|
export interface V2KvLedgerPublicKey {
|
|
17396
18088
|
/**
|
|
17397
|
-
* The KMS key ARN.
|
|
18089
|
+
* The public id of the ledger signing key: the KMS key id (a UUID). It holds no account id or region. Documents signed before 2026-10-29 may name the full key ARN inside their signed json; a verifier matches the key id at the end of that ARN.
|
|
17398
18090
|
* @type {string}
|
|
17399
18091
|
* @memberof V2KvLedgerPublicKey
|
|
17400
18092
|
*/
|
|
@@ -18300,12 +18992,6 @@ export interface V2KvUpgradeState {
|
|
|
18300
18992
|
* @memberof V2KvUpgradeState
|
|
18301
18993
|
*/
|
|
18302
18994
|
'state': V2KvUpgradeStateStateEnum;
|
|
18303
|
-
/**
|
|
18304
|
-
* The table that serves the store.
|
|
18305
|
-
* @type {string}
|
|
18306
|
-
* @memberof V2KvUpgradeState
|
|
18307
|
-
*/
|
|
18308
|
-
'table': string;
|
|
18309
18995
|
/**
|
|
18310
18996
|
* Null when the store was never upgraded.
|
|
18311
18997
|
* @type {V2KvUpgradeStatus}
|
|
@@ -18341,18 +19027,6 @@ export interface V2KvUpgradeStatus {
|
|
|
18341
19027
|
* @memberof V2KvUpgradeStatus
|
|
18342
19028
|
*/
|
|
18343
19029
|
'dryRun': boolean;
|
|
18344
|
-
/**
|
|
18345
|
-
*
|
|
18346
|
-
* @type {string}
|
|
18347
|
-
* @memberof V2KvUpgradeStatus
|
|
18348
|
-
*/
|
|
18349
|
-
'v1Table': string;
|
|
18350
|
-
/**
|
|
18351
|
-
*
|
|
18352
|
-
* @type {string}
|
|
18353
|
-
* @memberof V2KvUpgradeStatus
|
|
18354
|
-
*/
|
|
18355
|
-
'v2Table': string;
|
|
18356
19030
|
/**
|
|
18357
19031
|
*
|
|
18358
19032
|
* @type {string}
|
|
@@ -18640,12 +19314,6 @@ export interface V2KvUsagePeriod {
|
|
|
18640
19314
|
* @interface V2KvUsageRetainedTable
|
|
18641
19315
|
*/
|
|
18642
19316
|
export interface V2KvUsageRetainedTable {
|
|
18643
|
-
/**
|
|
18644
|
-
*
|
|
18645
|
-
* @type {string}
|
|
18646
|
-
* @memberof V2KvUsageRetainedTable
|
|
18647
|
-
*/
|
|
18648
|
-
'name': string;
|
|
18649
19317
|
/**
|
|
18650
19318
|
*
|
|
18651
19319
|
* @type {number}
|
|
@@ -18659,12 +19327,6 @@ export interface V2KvUsageRetainedTable {
|
|
|
18659
19327
|
* @interface V2KvUsageTable
|
|
18660
19328
|
*/
|
|
18661
19329
|
export interface V2KvUsageTable {
|
|
18662
|
-
/**
|
|
18663
|
-
*
|
|
18664
|
-
* @type {string}
|
|
18665
|
-
* @memberof V2KvUsageTable
|
|
18666
|
-
*/
|
|
18667
|
-
'name': string;
|
|
18668
19330
|
/**
|
|
18669
19331
|
*
|
|
18670
19332
|
* @type {number}
|
|
@@ -19044,7 +19706,7 @@ export interface V2Rule {
|
|
|
19044
19706
|
*/
|
|
19045
19707
|
'rule_id'?: string;
|
|
19046
19708
|
/**
|
|
19047
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
19709
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
19048
19710
|
* @type {number}
|
|
19049
19711
|
* @memberof V2Rule
|
|
19050
19712
|
*/
|
|
@@ -19213,7 +19875,7 @@ export interface V2RuleAuth {
|
|
|
19213
19875
|
*/
|
|
19214
19876
|
'rule_id'?: string;
|
|
19215
19877
|
/**
|
|
19216
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
19878
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
19217
19879
|
* @type {number}
|
|
19218
19880
|
* @memberof V2RuleAuth
|
|
19219
19881
|
*/
|
|
@@ -19407,7 +20069,7 @@ export interface V2RuleAuthFunction {
|
|
|
19407
20069
|
*/
|
|
19408
20070
|
'rule_id'?: string;
|
|
19409
20071
|
/**
|
|
19410
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
20072
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
19411
20073
|
* @type {number}
|
|
19412
20074
|
* @memberof V2RuleAuthFunction
|
|
19413
20075
|
*/
|
|
@@ -19595,7 +20257,7 @@ export interface V2RuleAuthFunctionRequest {
|
|
|
19595
20257
|
*/
|
|
19596
20258
|
'uuid'?: string;
|
|
19597
20259
|
/**
|
|
19598
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
20260
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
19599
20261
|
* @type {number}
|
|
19600
20262
|
* @memberof V2RuleAuthFunctionRequest
|
|
19601
20263
|
*/
|
|
@@ -19792,7 +20454,7 @@ export interface V2RuleAuthRequest {
|
|
|
19792
20454
|
*/
|
|
19793
20455
|
'uuid'?: string;
|
|
19794
20456
|
/**
|
|
19795
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
20457
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
19796
20458
|
* @type {number}
|
|
19797
20459
|
* @memberof V2RuleAuthRequest
|
|
19798
20460
|
*/
|
|
@@ -19995,7 +20657,7 @@ export interface V2RuleBotChallenge {
|
|
|
19995
20657
|
*/
|
|
19996
20658
|
'rule_id'?: string;
|
|
19997
20659
|
/**
|
|
19998
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
20660
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
19999
20661
|
* @type {number}
|
|
20000
20662
|
* @memberof V2RuleBotChallenge
|
|
20001
20663
|
*/
|
|
@@ -20195,7 +20857,7 @@ export interface V2RuleBotChallengeRequest {
|
|
|
20195
20857
|
*/
|
|
20196
20858
|
'uuid'?: string;
|
|
20197
20859
|
/**
|
|
20198
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
20860
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
20199
20861
|
* @type {number}
|
|
20200
20862
|
* @memberof V2RuleBotChallengeRequest
|
|
20201
20863
|
*/
|
|
@@ -20404,7 +21066,7 @@ export interface V2RuleContentFilter {
|
|
|
20404
21066
|
*/
|
|
20405
21067
|
'rule_id'?: string;
|
|
20406
21068
|
/**
|
|
20407
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
21069
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
20408
21070
|
* @type {number}
|
|
20409
21071
|
* @memberof V2RuleContentFilter
|
|
20410
21072
|
*/
|
|
@@ -20592,7 +21254,7 @@ export interface V2RuleContentFilterRequest {
|
|
|
20592
21254
|
*/
|
|
20593
21255
|
'uuid'?: string;
|
|
20594
21256
|
/**
|
|
20595
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
21257
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
20596
21258
|
* @type {number}
|
|
20597
21259
|
* @memberof V2RuleContentFilterRequest
|
|
20598
21260
|
*/
|
|
@@ -20789,7 +21451,7 @@ export interface V2RuleCustomResponse {
|
|
|
20789
21451
|
*/
|
|
20790
21452
|
'rule_id'?: string;
|
|
20791
21453
|
/**
|
|
20792
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
21454
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
20793
21455
|
* @type {number}
|
|
20794
21456
|
* @memberof V2RuleCustomResponse
|
|
20795
21457
|
*/
|
|
@@ -20983,7 +21645,7 @@ export interface V2RuleCustomResponseRequest {
|
|
|
20983
21645
|
*/
|
|
20984
21646
|
'uuid'?: string;
|
|
20985
21647
|
/**
|
|
20986
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
21648
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
20987
21649
|
* @type {number}
|
|
20988
21650
|
* @memberof V2RuleCustomResponseRequest
|
|
20989
21651
|
*/
|
|
@@ -21198,7 +21860,7 @@ export interface V2RuleErrorPage {
|
|
|
21198
21860
|
*/
|
|
21199
21861
|
'rule_id'?: string;
|
|
21200
21862
|
/**
|
|
21201
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
21863
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
21202
21864
|
* @type {number}
|
|
21203
21865
|
* @memberof V2RuleErrorPage
|
|
21204
21866
|
*/
|
|
@@ -21392,7 +22054,7 @@ export interface V2RuleErrorPageRequest {
|
|
|
21392
22054
|
*/
|
|
21393
22055
|
'uuid'?: string;
|
|
21394
22056
|
/**
|
|
21395
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
22057
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
21396
22058
|
* @type {number}
|
|
21397
22059
|
* @memberof V2RuleErrorPageRequest
|
|
21398
22060
|
*/
|
|
@@ -21595,7 +22257,7 @@ export interface V2RuleFunction {
|
|
|
21595
22257
|
*/
|
|
21596
22258
|
'rule_id'?: string;
|
|
21597
22259
|
/**
|
|
21598
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
22260
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
21599
22261
|
* @type {number}
|
|
21600
22262
|
* @memberof V2RuleFunction
|
|
21601
22263
|
*/
|
|
@@ -21783,7 +22445,7 @@ export interface V2RuleFunctionRequest {
|
|
|
21783
22445
|
*/
|
|
21784
22446
|
'uuid'?: string;
|
|
21785
22447
|
/**
|
|
21786
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
22448
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
21787
22449
|
* @type {number}
|
|
21788
22450
|
* @memberof V2RuleFunctionRequest
|
|
21789
22451
|
*/
|
|
@@ -21980,7 +22642,7 @@ export interface V2RuleHeader {
|
|
|
21980
22642
|
*/
|
|
21981
22643
|
'rule_id'?: string;
|
|
21982
22644
|
/**
|
|
21983
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
22645
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
21984
22646
|
* @type {number}
|
|
21985
22647
|
* @memberof V2RuleHeader
|
|
21986
22648
|
*/
|
|
@@ -22170,7 +22832,7 @@ export interface V2RuleHeaderRequest {
|
|
|
22170
22832
|
*/
|
|
22171
22833
|
'uuid'?: string;
|
|
22172
22834
|
/**
|
|
22173
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
22835
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
22174
22836
|
* @type {number}
|
|
22175
22837
|
* @memberof V2RuleHeaderRequest
|
|
22176
22838
|
*/
|
|
@@ -22369,7 +23031,7 @@ export interface V2RuleProxy {
|
|
|
22369
23031
|
*/
|
|
22370
23032
|
'rule_id'?: string;
|
|
22371
23033
|
/**
|
|
22372
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
23034
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
22373
23035
|
* @type {number}
|
|
22374
23036
|
* @memberof V2RuleProxy
|
|
22375
23037
|
*/
|
|
@@ -22776,7 +23438,7 @@ export interface V2RuleProxyRequest {
|
|
|
22776
23438
|
*/
|
|
22777
23439
|
'uuid'?: string;
|
|
22778
23440
|
/**
|
|
22779
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
23441
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
22780
23442
|
* @type {number}
|
|
22781
23443
|
* @memberof V2RuleProxyRequest
|
|
22782
23444
|
*/
|
|
@@ -23119,7 +23781,7 @@ export interface V2RuleRedirect {
|
|
|
23119
23781
|
*/
|
|
23120
23782
|
'rule_id'?: string;
|
|
23121
23783
|
/**
|
|
23122
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
23784
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
23123
23785
|
* @type {number}
|
|
23124
23786
|
* @memberof V2RuleRedirect
|
|
23125
23787
|
*/
|
|
@@ -23313,7 +23975,7 @@ export interface V2RuleRedirectRequest {
|
|
|
23313
23975
|
*/
|
|
23314
23976
|
'uuid'?: string;
|
|
23315
23977
|
/**
|
|
23316
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
23978
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
23317
23979
|
* @type {number}
|
|
23318
23980
|
* @memberof V2RuleRedirectRequest
|
|
23319
23981
|
*/
|
|
@@ -23516,7 +24178,7 @@ export interface V2RuleRequest {
|
|
|
23516
24178
|
*/
|
|
23517
24179
|
'uuid'?: string;
|
|
23518
24180
|
/**
|
|
23519
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
24181
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
23520
24182
|
* @type {number}
|
|
23521
24183
|
* @memberof V2RuleRequest
|
|
23522
24184
|
*/
|
|
@@ -23707,7 +24369,7 @@ export interface V2RuleServeStatic {
|
|
|
23707
24369
|
*/
|
|
23708
24370
|
'rule_id'?: string;
|
|
23709
24371
|
/**
|
|
23710
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
24372
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
23711
24373
|
* @type {number}
|
|
23712
24374
|
* @memberof V2RuleServeStatic
|
|
23713
24375
|
*/
|
|
@@ -23895,7 +24557,7 @@ export interface V2RuleServeStaticRequest {
|
|
|
23895
24557
|
*/
|
|
23896
24558
|
'uuid'?: string;
|
|
23897
24559
|
/**
|
|
23898
|
-
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last.
|
|
24560
|
+
* Rule order. Must be 0 or greater; lower weights are processed first. If omitted on create, the rule is placed last. A reorder in the Quant dashboard changes this rule\'s weight; if `weight` is set in configuration, the next plan shows the difference and apply restores the configured order.
|
|
23899
24561
|
* @type {number}
|
|
23900
24562
|
* @memberof V2RuleServeStaticRequest
|
|
23901
24563
|
*/
|
|
@@ -25163,6 +25825,379 @@ export declare class AIAgentsApi extends BaseAPI {
|
|
|
25163
25825
|
*/
|
|
25164
25826
|
upsertAgentOverlay(organisation: string, agentId: string, upsertAgentOverlayRequest: UpsertAgentOverlayRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpsertAgentOverlay200Response, any, {}, any>>;
|
|
25165
25827
|
}
|
|
25828
|
+
/**
|
|
25829
|
+
* AIAuditApi - axios parameter creator
|
|
25830
|
+
* @export
|
|
25831
|
+
*/
|
|
25832
|
+
export declare const AIAuditApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25833
|
+
/**
|
|
25834
|
+
* Every record of the range that matches the filters (the filters of aiAuditRecordsList), one JSON object per line (the row: key, date, summary, record). At most 100 pages of 200 records; a longer export ends with an error line. A failed page ends the file with an error line. Each page read is recorded in the audit log (action export). Needs view_ai_audit and, for a scoped token, ai:audit:read. Limit: 10 requests per minute.
|
|
25835
|
+
* @summary Export AI audit records as JSON Lines
|
|
25836
|
+
* @param {string} organisation The organisation machine name
|
|
25837
|
+
* @param {string} startDate
|
|
25838
|
+
* @param {string} endDate
|
|
25839
|
+
* @param {string} [userId]
|
|
25840
|
+
* @param {string} [modelId]
|
|
25841
|
+
* @param {string} [recordType]
|
|
25842
|
+
* @param {string} [decision]
|
|
25843
|
+
* @param {string} [tool]
|
|
25844
|
+
* @param {string} [outcome]
|
|
25845
|
+
* @param {*} [options] Override http request option.
|
|
25846
|
+
* @throws {RequiredError}
|
|
25847
|
+
*/
|
|
25848
|
+
aiAuditExport: (organisation: string, startDate: string, endDate: string, userId?: string, modelId?: string, recordType?: string, decision?: string, tool?: string, outcome?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25849
|
+
/**
|
|
25850
|
+
* The entries of the collection events:governance, with values, in pages: follow next_cursor while has_more is true. Each entry has its ledger block (seq, hash, prevHash, shard) for verification; open a proof with aiAuditLedgerProof and check entries offline with kv-ledger-verify and aiAuditLedgerPublicKey. Events are hash-only (no prompt or response). The read is recorded in the audit log first (503 UNAVAILABLE when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
25851
|
+
* @summary List AI governance ledger entries
|
|
25852
|
+
* @param {string} organisation The organisation machine name
|
|
25853
|
+
* @param {string} [since] Epoch milliseconds or ISO 8601 with a zone. Inclusive.
|
|
25854
|
+
* @param {string} [until] Epoch milliseconds or ISO 8601 with a zone. Exclusive.
|
|
25855
|
+
* @param {number} [limit]
|
|
25856
|
+
* @param {string} [cursor] The next_cursor of the previous page.
|
|
25857
|
+
* @param {*} [options] Override http request option.
|
|
25858
|
+
* @throws {RequiredError}
|
|
25859
|
+
*/
|
|
25860
|
+
aiAuditLedgerEntries: (organisation: string, since?: string, until?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25861
|
+
/**
|
|
25862
|
+
* The Merkle inclusion proof of one entry (key events:governance:...): entry, hash, period, merkleRoot, auditPath, the signed digest and keyId, or status pending until the entry is archived. Returned byte for byte, as KV_ledgers_proof. The read is recorded in the audit log first (503 UNAVAILABLE when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
25863
|
+
* @summary Get the inclusion proof of a governance ledger entry
|
|
25864
|
+
* @param {string} organisation The organisation machine name
|
|
25865
|
+
* @param {string} key
|
|
25866
|
+
* @param {*} [options] Override http request option.
|
|
25867
|
+
* @throws {RequiredError}
|
|
25868
|
+
*/
|
|
25869
|
+
aiAuditLedgerProof: (organisation: string, key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25870
|
+
/**
|
|
25871
|
+
* The public key that verifies the ledger digests and receipts offline (kv-ledger-verify). The same answer as KV_ledgers_public_key. Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
25872
|
+
* @summary Get the governance ledger public key
|
|
25873
|
+
* @param {string} organisation The organisation machine name
|
|
25874
|
+
* @param {*} [options] Override http request option.
|
|
25875
|
+
* @throws {RequiredError}
|
|
25876
|
+
*/
|
|
25877
|
+
aiAuditLedgerPublicKey: (organisation: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25878
|
+
/**
|
|
25879
|
+
* The organisation\'s AI governance ledger (store int-ai-governance, ledger governance): definition, retention, instances and shards with head sequence, archive lag, last digest and last verify. The same answer as KV_ledgers_status. 404 STORE_NOT_FOUND or LEDGER_NOT_FOUND when the organisation has no governance ledger. The read is recorded in the audit log first (503 UNAVAILABLE when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
25880
|
+
* @summary Get the AI governance ledger status
|
|
25881
|
+
* @param {string} organisation The organisation machine name
|
|
25882
|
+
* @param {string} [cursor] The next_cursor of the previous page.
|
|
25883
|
+
* @param {*} [options] Override http request option.
|
|
25884
|
+
* @throws {RequiredError}
|
|
25885
|
+
*/
|
|
25886
|
+
aiAuditLedgerStatus: (organisation: string, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25887
|
+
/**
|
|
25888
|
+
* One record by key (a key from aiAuditRecordsList). A key of another organisation is 400. prompt and response are returned only when the record stores them. The read is recorded in the audit log first (503 when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
25889
|
+
* @summary Get one AI audit record
|
|
25890
|
+
* @param {string} organisation The organisation machine name
|
|
25891
|
+
* @param {string} key
|
|
25892
|
+
* @param {*} [options] Override http request option.
|
|
25893
|
+
* @throws {RequiredError}
|
|
25894
|
+
*/
|
|
25895
|
+
aiAuditRecordGet: (organisation: string, key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25896
|
+
/**
|
|
25897
|
+
* One page of the organisation\'s AI audit records (inference, tool approvals and denials, Slack bot API calls, audit log reads). Filters match exactly. A page stops at limit rows, at 1,000 scanned records or at 20 seconds, so it can hold fewer rows than limit while hasMore is true: pass nextCursor back as cursor until hasMore is false. Order: by day, then by key. prompt and response are returned only when the record stores them. Records older than 365 days are archived (skippedArchived). Each call is recorded in the audit log (recordType audit_access) before it reads; when that record cannot be written the answer is 503 and nothing is read. Needs the view_ai_audit permission and, for a scoped token, ai:audit:read.
|
|
25898
|
+
* @summary List AI audit records
|
|
25899
|
+
* @param {string} organisation The organisation machine name
|
|
25900
|
+
* @param {string} startDate First UTC day (inclusive). At most 31 days, not in the future, not older than 365 days.
|
|
25901
|
+
* @param {string} endDate Last UTC day (inclusive).
|
|
25902
|
+
* @param {string} [since] Record time from (inclusive).
|
|
25903
|
+
* @param {string} [until] Record time to (exclusive).
|
|
25904
|
+
* @param {string} [userId] Portal user id (also matches the requester, approver and reader of tool and access records).
|
|
25905
|
+
* @param {string} [tokenId]
|
|
25906
|
+
* @param {string} [modelId]
|
|
25907
|
+
* @param {string} [recordType]
|
|
25908
|
+
* @param {string} [decision] approved, rejected, expired, or denied (tool_denied).
|
|
25909
|
+
* @param {string} [tool]
|
|
25910
|
+
* @param {string} [outcome] outcome or status: succeeded, failed, blocked, ok, refused, error.
|
|
25911
|
+
* @param {string} [_interface]
|
|
25912
|
+
* @param {number} [limit]
|
|
25913
|
+
* @param {string} [cursor] nextCursor of the previous page (same organisation and range).
|
|
25914
|
+
* @param {*} [options] Override http request option.
|
|
25915
|
+
* @throws {RequiredError}
|
|
25916
|
+
*/
|
|
25917
|
+
aiAuditRecordsList: (organisation: string, startDate: string, endDate: string, since?: string, until?: string, userId?: string, tokenId?: string, modelId?: string, recordType?: string, decision?: string, tool?: string, outcome?: string, _interface?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25918
|
+
};
|
|
25919
|
+
/**
|
|
25920
|
+
* AIAuditApi - functional programming interface
|
|
25921
|
+
* @export
|
|
25922
|
+
*/
|
|
25923
|
+
export declare const AIAuditApiFp: (configuration?: Configuration) => {
|
|
25924
|
+
/**
|
|
25925
|
+
* Every record of the range that matches the filters (the filters of aiAuditRecordsList), one JSON object per line (the row: key, date, summary, record). At most 100 pages of 200 records; a longer export ends with an error line. A failed page ends the file with an error line. Each page read is recorded in the audit log (action export). Needs view_ai_audit and, for a scoped token, ai:audit:read. Limit: 10 requests per minute.
|
|
25926
|
+
* @summary Export AI audit records as JSON Lines
|
|
25927
|
+
* @param {string} organisation The organisation machine name
|
|
25928
|
+
* @param {string} startDate
|
|
25929
|
+
* @param {string} endDate
|
|
25930
|
+
* @param {string} [userId]
|
|
25931
|
+
* @param {string} [modelId]
|
|
25932
|
+
* @param {string} [recordType]
|
|
25933
|
+
* @param {string} [decision]
|
|
25934
|
+
* @param {string} [tool]
|
|
25935
|
+
* @param {string} [outcome]
|
|
25936
|
+
* @param {*} [options] Override http request option.
|
|
25937
|
+
* @throws {RequiredError}
|
|
25938
|
+
*/
|
|
25939
|
+
aiAuditExport(organisation: string, startDate: string, endDate: string, userId?: string, modelId?: string, recordType?: string, decision?: string, tool?: string, outcome?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
25940
|
+
/**
|
|
25941
|
+
* The entries of the collection events:governance, with values, in pages: follow next_cursor while has_more is true. Each entry has its ledger block (seq, hash, prevHash, shard) for verification; open a proof with aiAuditLedgerProof and check entries offline with kv-ledger-verify and aiAuditLedgerPublicKey. Events are hash-only (no prompt or response). The read is recorded in the audit log first (503 UNAVAILABLE when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
25942
|
+
* @summary List AI governance ledger entries
|
|
25943
|
+
* @param {string} organisation The organisation machine name
|
|
25944
|
+
* @param {string} [since] Epoch milliseconds or ISO 8601 with a zone. Inclusive.
|
|
25945
|
+
* @param {string} [until] Epoch milliseconds or ISO 8601 with a zone. Exclusive.
|
|
25946
|
+
* @param {number} [limit]
|
|
25947
|
+
* @param {string} [cursor] The next_cursor of the previous page.
|
|
25948
|
+
* @param {*} [options] Override http request option.
|
|
25949
|
+
* @throws {RequiredError}
|
|
25950
|
+
*/
|
|
25951
|
+
aiAuditLedgerEntries(organisation: string, since?: string, until?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V2KvKeysPage>>;
|
|
25952
|
+
/**
|
|
25953
|
+
* The Merkle inclusion proof of one entry (key events:governance:...): entry, hash, period, merkleRoot, auditPath, the signed digest and keyId, or status pending until the entry is archived. Returned byte for byte, as KV_ledgers_proof. The read is recorded in the audit log first (503 UNAVAILABLE when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
25954
|
+
* @summary Get the inclusion proof of a governance ledger entry
|
|
25955
|
+
* @param {string} organisation The organisation machine name
|
|
25956
|
+
* @param {string} key
|
|
25957
|
+
* @param {*} [options] Override http request option.
|
|
25958
|
+
* @throws {RequiredError}
|
|
25959
|
+
*/
|
|
25960
|
+
aiAuditLedgerProof(organisation: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V2KvLedgerProof>>;
|
|
25961
|
+
/**
|
|
25962
|
+
* The public key that verifies the ledger digests and receipts offline (kv-ledger-verify). The same answer as KV_ledgers_public_key. Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
25963
|
+
* @summary Get the governance ledger public key
|
|
25964
|
+
* @param {string} organisation The organisation machine name
|
|
25965
|
+
* @param {*} [options] Override http request option.
|
|
25966
|
+
* @throws {RequiredError}
|
|
25967
|
+
*/
|
|
25968
|
+
aiAuditLedgerPublicKey(organisation: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V2KvLedgerPublicKey>>;
|
|
25969
|
+
/**
|
|
25970
|
+
* The organisation\'s AI governance ledger (store int-ai-governance, ledger governance): definition, retention, instances and shards with head sequence, archive lag, last digest and last verify. The same answer as KV_ledgers_status. 404 STORE_NOT_FOUND or LEDGER_NOT_FOUND when the organisation has no governance ledger. The read is recorded in the audit log first (503 UNAVAILABLE when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
25971
|
+
* @summary Get the AI governance ledger status
|
|
25972
|
+
* @param {string} organisation The organisation machine name
|
|
25973
|
+
* @param {string} [cursor] The next_cursor of the previous page.
|
|
25974
|
+
* @param {*} [options] Override http request option.
|
|
25975
|
+
* @throws {RequiredError}
|
|
25976
|
+
*/
|
|
25977
|
+
aiAuditLedgerStatus(organisation: string, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V2KvLedgerStatus>>;
|
|
25978
|
+
/**
|
|
25979
|
+
* One record by key (a key from aiAuditRecordsList). A key of another organisation is 400. prompt and response are returned only when the record stores them. The read is recorded in the audit log first (503 when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
25980
|
+
* @summary Get one AI audit record
|
|
25981
|
+
* @param {string} organisation The organisation machine name
|
|
25982
|
+
* @param {string} key
|
|
25983
|
+
* @param {*} [options] Override http request option.
|
|
25984
|
+
* @throws {RequiredError}
|
|
25985
|
+
*/
|
|
25986
|
+
aiAuditRecordGet(organisation: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAuditRecordGet200Response>>;
|
|
25987
|
+
/**
|
|
25988
|
+
* One page of the organisation\'s AI audit records (inference, tool approvals and denials, Slack bot API calls, audit log reads). Filters match exactly. A page stops at limit rows, at 1,000 scanned records or at 20 seconds, so it can hold fewer rows than limit while hasMore is true: pass nextCursor back as cursor until hasMore is false. Order: by day, then by key. prompt and response are returned only when the record stores them. Records older than 365 days are archived (skippedArchived). Each call is recorded in the audit log (recordType audit_access) before it reads; when that record cannot be written the answer is 503 and nothing is read. Needs the view_ai_audit permission and, for a scoped token, ai:audit:read.
|
|
25989
|
+
* @summary List AI audit records
|
|
25990
|
+
* @param {string} organisation The organisation machine name
|
|
25991
|
+
* @param {string} startDate First UTC day (inclusive). At most 31 days, not in the future, not older than 365 days.
|
|
25992
|
+
* @param {string} endDate Last UTC day (inclusive).
|
|
25993
|
+
* @param {string} [since] Record time from (inclusive).
|
|
25994
|
+
* @param {string} [until] Record time to (exclusive).
|
|
25995
|
+
* @param {string} [userId] Portal user id (also matches the requester, approver and reader of tool and access records).
|
|
25996
|
+
* @param {string} [tokenId]
|
|
25997
|
+
* @param {string} [modelId]
|
|
25998
|
+
* @param {string} [recordType]
|
|
25999
|
+
* @param {string} [decision] approved, rejected, expired, or denied (tool_denied).
|
|
26000
|
+
* @param {string} [tool]
|
|
26001
|
+
* @param {string} [outcome] outcome or status: succeeded, failed, blocked, ok, refused, error.
|
|
26002
|
+
* @param {string} [_interface]
|
|
26003
|
+
* @param {number} [limit]
|
|
26004
|
+
* @param {string} [cursor] nextCursor of the previous page (same organisation and range).
|
|
26005
|
+
* @param {*} [options] Override http request option.
|
|
26006
|
+
* @throws {RequiredError}
|
|
26007
|
+
*/
|
|
26008
|
+
aiAuditRecordsList(organisation: string, startDate: string, endDate: string, since?: string, until?: string, userId?: string, tokenId?: string, modelId?: string, recordType?: string, decision?: string, tool?: string, outcome?: string, _interface?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAuditRecordsPage>>;
|
|
26009
|
+
};
|
|
26010
|
+
/**
|
|
26011
|
+
* AIAuditApi - factory interface
|
|
26012
|
+
* @export
|
|
26013
|
+
*/
|
|
26014
|
+
export declare const AIAuditApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26015
|
+
/**
|
|
26016
|
+
* Every record of the range that matches the filters (the filters of aiAuditRecordsList), one JSON object per line (the row: key, date, summary, record). At most 100 pages of 200 records; a longer export ends with an error line. A failed page ends the file with an error line. Each page read is recorded in the audit log (action export). Needs view_ai_audit and, for a scoped token, ai:audit:read. Limit: 10 requests per minute.
|
|
26017
|
+
* @summary Export AI audit records as JSON Lines
|
|
26018
|
+
* @param {string} organisation The organisation machine name
|
|
26019
|
+
* @param {string} startDate
|
|
26020
|
+
* @param {string} endDate
|
|
26021
|
+
* @param {string} [userId]
|
|
26022
|
+
* @param {string} [modelId]
|
|
26023
|
+
* @param {string} [recordType]
|
|
26024
|
+
* @param {string} [decision]
|
|
26025
|
+
* @param {string} [tool]
|
|
26026
|
+
* @param {string} [outcome]
|
|
26027
|
+
* @param {*} [options] Override http request option.
|
|
26028
|
+
* @throws {RequiredError}
|
|
26029
|
+
*/
|
|
26030
|
+
aiAuditExport(organisation: string, startDate: string, endDate: string, userId?: string, modelId?: string, recordType?: string, decision?: string, tool?: string, outcome?: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
26031
|
+
/**
|
|
26032
|
+
* The entries of the collection events:governance, with values, in pages: follow next_cursor while has_more is true. Each entry has its ledger block (seq, hash, prevHash, shard) for verification; open a proof with aiAuditLedgerProof and check entries offline with kv-ledger-verify and aiAuditLedgerPublicKey. Events are hash-only (no prompt or response). The read is recorded in the audit log first (503 UNAVAILABLE when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
26033
|
+
* @summary List AI governance ledger entries
|
|
26034
|
+
* @param {string} organisation The organisation machine name
|
|
26035
|
+
* @param {string} [since] Epoch milliseconds or ISO 8601 with a zone. Inclusive.
|
|
26036
|
+
* @param {string} [until] Epoch milliseconds or ISO 8601 with a zone. Exclusive.
|
|
26037
|
+
* @param {number} [limit]
|
|
26038
|
+
* @param {string} [cursor] The next_cursor of the previous page.
|
|
26039
|
+
* @param {*} [options] Override http request option.
|
|
26040
|
+
* @throws {RequiredError}
|
|
26041
|
+
*/
|
|
26042
|
+
aiAuditLedgerEntries(organisation: string, since?: string, until?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<V2KvKeysPage>;
|
|
26043
|
+
/**
|
|
26044
|
+
* The Merkle inclusion proof of one entry (key events:governance:...): entry, hash, period, merkleRoot, auditPath, the signed digest and keyId, or status pending until the entry is archived. Returned byte for byte, as KV_ledgers_proof. The read is recorded in the audit log first (503 UNAVAILABLE when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
26045
|
+
* @summary Get the inclusion proof of a governance ledger entry
|
|
26046
|
+
* @param {string} organisation The organisation machine name
|
|
26047
|
+
* @param {string} key
|
|
26048
|
+
* @param {*} [options] Override http request option.
|
|
26049
|
+
* @throws {RequiredError}
|
|
26050
|
+
*/
|
|
26051
|
+
aiAuditLedgerProof(organisation: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<V2KvLedgerProof>;
|
|
26052
|
+
/**
|
|
26053
|
+
* The public key that verifies the ledger digests and receipts offline (kv-ledger-verify). The same answer as KV_ledgers_public_key. Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
26054
|
+
* @summary Get the governance ledger public key
|
|
26055
|
+
* @param {string} organisation The organisation machine name
|
|
26056
|
+
* @param {*} [options] Override http request option.
|
|
26057
|
+
* @throws {RequiredError}
|
|
26058
|
+
*/
|
|
26059
|
+
aiAuditLedgerPublicKey(organisation: string, options?: RawAxiosRequestConfig): AxiosPromise<V2KvLedgerPublicKey>;
|
|
26060
|
+
/**
|
|
26061
|
+
* The organisation\'s AI governance ledger (store int-ai-governance, ledger governance): definition, retention, instances and shards with head sequence, archive lag, last digest and last verify. The same answer as KV_ledgers_status. 404 STORE_NOT_FOUND or LEDGER_NOT_FOUND when the organisation has no governance ledger. The read is recorded in the audit log first (503 UNAVAILABLE when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
26062
|
+
* @summary Get the AI governance ledger status
|
|
26063
|
+
* @param {string} organisation The organisation machine name
|
|
26064
|
+
* @param {string} [cursor] The next_cursor of the previous page.
|
|
26065
|
+
* @param {*} [options] Override http request option.
|
|
26066
|
+
* @throws {RequiredError}
|
|
26067
|
+
*/
|
|
26068
|
+
aiAuditLedgerStatus(organisation: string, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<V2KvLedgerStatus>;
|
|
26069
|
+
/**
|
|
26070
|
+
* One record by key (a key from aiAuditRecordsList). A key of another organisation is 400. prompt and response are returned only when the record stores them. The read is recorded in the audit log first (503 when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
26071
|
+
* @summary Get one AI audit record
|
|
26072
|
+
* @param {string} organisation The organisation machine name
|
|
26073
|
+
* @param {string} key
|
|
26074
|
+
* @param {*} [options] Override http request option.
|
|
26075
|
+
* @throws {RequiredError}
|
|
26076
|
+
*/
|
|
26077
|
+
aiAuditRecordGet(organisation: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<AiAuditRecordGet200Response>;
|
|
26078
|
+
/**
|
|
26079
|
+
* One page of the organisation\'s AI audit records (inference, tool approvals and denials, Slack bot API calls, audit log reads). Filters match exactly. A page stops at limit rows, at 1,000 scanned records or at 20 seconds, so it can hold fewer rows than limit while hasMore is true: pass nextCursor back as cursor until hasMore is false. Order: by day, then by key. prompt and response are returned only when the record stores them. Records older than 365 days are archived (skippedArchived). Each call is recorded in the audit log (recordType audit_access) before it reads; when that record cannot be written the answer is 503 and nothing is read. Needs the view_ai_audit permission and, for a scoped token, ai:audit:read.
|
|
26080
|
+
* @summary List AI audit records
|
|
26081
|
+
* @param {string} organisation The organisation machine name
|
|
26082
|
+
* @param {string} startDate First UTC day (inclusive). At most 31 days, not in the future, not older than 365 days.
|
|
26083
|
+
* @param {string} endDate Last UTC day (inclusive).
|
|
26084
|
+
* @param {string} [since] Record time from (inclusive).
|
|
26085
|
+
* @param {string} [until] Record time to (exclusive).
|
|
26086
|
+
* @param {string} [userId] Portal user id (also matches the requester, approver and reader of tool and access records).
|
|
26087
|
+
* @param {string} [tokenId]
|
|
26088
|
+
* @param {string} [modelId]
|
|
26089
|
+
* @param {string} [recordType]
|
|
26090
|
+
* @param {string} [decision] approved, rejected, expired, or denied (tool_denied).
|
|
26091
|
+
* @param {string} [tool]
|
|
26092
|
+
* @param {string} [outcome] outcome or status: succeeded, failed, blocked, ok, refused, error.
|
|
26093
|
+
* @param {string} [_interface]
|
|
26094
|
+
* @param {number} [limit]
|
|
26095
|
+
* @param {string} [cursor] nextCursor of the previous page (same organisation and range).
|
|
26096
|
+
* @param {*} [options] Override http request option.
|
|
26097
|
+
* @throws {RequiredError}
|
|
26098
|
+
*/
|
|
26099
|
+
aiAuditRecordsList(organisation: string, startDate: string, endDate: string, since?: string, until?: string, userId?: string, tokenId?: string, modelId?: string, recordType?: string, decision?: string, tool?: string, outcome?: string, _interface?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<AiAuditRecordsPage>;
|
|
26100
|
+
};
|
|
26101
|
+
/**
|
|
26102
|
+
* AIAuditApi - object-oriented interface
|
|
26103
|
+
* @export
|
|
26104
|
+
* @class AIAuditApi
|
|
26105
|
+
* @extends {BaseAPI}
|
|
26106
|
+
*/
|
|
26107
|
+
export declare class AIAuditApi extends BaseAPI {
|
|
26108
|
+
/**
|
|
26109
|
+
* Every record of the range that matches the filters (the filters of aiAuditRecordsList), one JSON object per line (the row: key, date, summary, record). At most 100 pages of 200 records; a longer export ends with an error line. A failed page ends the file with an error line. Each page read is recorded in the audit log (action export). Needs view_ai_audit and, for a scoped token, ai:audit:read. Limit: 10 requests per minute.
|
|
26110
|
+
* @summary Export AI audit records as JSON Lines
|
|
26111
|
+
* @param {string} organisation The organisation machine name
|
|
26112
|
+
* @param {string} startDate
|
|
26113
|
+
* @param {string} endDate
|
|
26114
|
+
* @param {string} [userId]
|
|
26115
|
+
* @param {string} [modelId]
|
|
26116
|
+
* @param {string} [recordType]
|
|
26117
|
+
* @param {string} [decision]
|
|
26118
|
+
* @param {string} [tool]
|
|
26119
|
+
* @param {string} [outcome]
|
|
26120
|
+
* @param {*} [options] Override http request option.
|
|
26121
|
+
* @throws {RequiredError}
|
|
26122
|
+
* @memberof AIAuditApi
|
|
26123
|
+
*/
|
|
26124
|
+
aiAuditExport(organisation: string, startDate: string, endDate: string, userId?: string, modelId?: string, recordType?: string, decision?: string, tool?: string, outcome?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}, any>>;
|
|
26125
|
+
/**
|
|
26126
|
+
* The entries of the collection events:governance, with values, in pages: follow next_cursor while has_more is true. Each entry has its ledger block (seq, hash, prevHash, shard) for verification; open a proof with aiAuditLedgerProof and check entries offline with kv-ledger-verify and aiAuditLedgerPublicKey. Events are hash-only (no prompt or response). The read is recorded in the audit log first (503 UNAVAILABLE when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
26127
|
+
* @summary List AI governance ledger entries
|
|
26128
|
+
* @param {string} organisation The organisation machine name
|
|
26129
|
+
* @param {string} [since] Epoch milliseconds or ISO 8601 with a zone. Inclusive.
|
|
26130
|
+
* @param {string} [until] Epoch milliseconds or ISO 8601 with a zone. Exclusive.
|
|
26131
|
+
* @param {number} [limit]
|
|
26132
|
+
* @param {string} [cursor] The next_cursor of the previous page.
|
|
26133
|
+
* @param {*} [options] Override http request option.
|
|
26134
|
+
* @throws {RequiredError}
|
|
26135
|
+
* @memberof AIAuditApi
|
|
26136
|
+
*/
|
|
26137
|
+
aiAuditLedgerEntries(organisation: string, since?: string, until?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V2KvKeysPage, any, {}, any>>;
|
|
26138
|
+
/**
|
|
26139
|
+
* The Merkle inclusion proof of one entry (key events:governance:...): entry, hash, period, merkleRoot, auditPath, the signed digest and keyId, or status pending until the entry is archived. Returned byte for byte, as KV_ledgers_proof. The read is recorded in the audit log first (503 UNAVAILABLE when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
26140
|
+
* @summary Get the inclusion proof of a governance ledger entry
|
|
26141
|
+
* @param {string} organisation The organisation machine name
|
|
26142
|
+
* @param {string} key
|
|
26143
|
+
* @param {*} [options] Override http request option.
|
|
26144
|
+
* @throws {RequiredError}
|
|
26145
|
+
* @memberof AIAuditApi
|
|
26146
|
+
*/
|
|
26147
|
+
aiAuditLedgerProof(organisation: string, key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V2KvLedgerProof, any, {}, any>>;
|
|
26148
|
+
/**
|
|
26149
|
+
* The public key that verifies the ledger digests and receipts offline (kv-ledger-verify). The same answer as KV_ledgers_public_key. Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
26150
|
+
* @summary Get the governance ledger public key
|
|
26151
|
+
* @param {string} organisation The organisation machine name
|
|
26152
|
+
* @param {*} [options] Override http request option.
|
|
26153
|
+
* @throws {RequiredError}
|
|
26154
|
+
* @memberof AIAuditApi
|
|
26155
|
+
*/
|
|
26156
|
+
aiAuditLedgerPublicKey(organisation: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V2KvLedgerPublicKey, any, {}, any>>;
|
|
26157
|
+
/**
|
|
26158
|
+
* The organisation\'s AI governance ledger (store int-ai-governance, ledger governance): definition, retention, instances and shards with head sequence, archive lag, last digest and last verify. The same answer as KV_ledgers_status. 404 STORE_NOT_FOUND or LEDGER_NOT_FOUND when the organisation has no governance ledger. The read is recorded in the audit log first (503 UNAVAILABLE when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
26159
|
+
* @summary Get the AI governance ledger status
|
|
26160
|
+
* @param {string} organisation The organisation machine name
|
|
26161
|
+
* @param {string} [cursor] The next_cursor of the previous page.
|
|
26162
|
+
* @param {*} [options] Override http request option.
|
|
26163
|
+
* @throws {RequiredError}
|
|
26164
|
+
* @memberof AIAuditApi
|
|
26165
|
+
*/
|
|
26166
|
+
aiAuditLedgerStatus(organisation: string, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V2KvLedgerStatus, any, {}, any>>;
|
|
26167
|
+
/**
|
|
26168
|
+
* One record by key (a key from aiAuditRecordsList). A key of another organisation is 400. prompt and response are returned only when the record stores them. The read is recorded in the audit log first (503 when it cannot be). Needs view_ai_audit and, for a scoped token, ai:audit:read.
|
|
26169
|
+
* @summary Get one AI audit record
|
|
26170
|
+
* @param {string} organisation The organisation machine name
|
|
26171
|
+
* @param {string} key
|
|
26172
|
+
* @param {*} [options] Override http request option.
|
|
26173
|
+
* @throws {RequiredError}
|
|
26174
|
+
* @memberof AIAuditApi
|
|
26175
|
+
*/
|
|
26176
|
+
aiAuditRecordGet(organisation: string, key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiAuditRecordGet200Response, any, {}, any>>;
|
|
26177
|
+
/**
|
|
26178
|
+
* One page of the organisation\'s AI audit records (inference, tool approvals and denials, Slack bot API calls, audit log reads). Filters match exactly. A page stops at limit rows, at 1,000 scanned records or at 20 seconds, so it can hold fewer rows than limit while hasMore is true: pass nextCursor back as cursor until hasMore is false. Order: by day, then by key. prompt and response are returned only when the record stores them. Records older than 365 days are archived (skippedArchived). Each call is recorded in the audit log (recordType audit_access) before it reads; when that record cannot be written the answer is 503 and nothing is read. Needs the view_ai_audit permission and, for a scoped token, ai:audit:read.
|
|
26179
|
+
* @summary List AI audit records
|
|
26180
|
+
* @param {string} organisation The organisation machine name
|
|
26181
|
+
* @param {string} startDate First UTC day (inclusive). At most 31 days, not in the future, not older than 365 days.
|
|
26182
|
+
* @param {string} endDate Last UTC day (inclusive).
|
|
26183
|
+
* @param {string} [since] Record time from (inclusive).
|
|
26184
|
+
* @param {string} [until] Record time to (exclusive).
|
|
26185
|
+
* @param {string} [userId] Portal user id (also matches the requester, approver and reader of tool and access records).
|
|
26186
|
+
* @param {string} [tokenId]
|
|
26187
|
+
* @param {string} [modelId]
|
|
26188
|
+
* @param {string} [recordType]
|
|
26189
|
+
* @param {string} [decision] approved, rejected, expired, or denied (tool_denied).
|
|
26190
|
+
* @param {string} [tool]
|
|
26191
|
+
* @param {string} [outcome] outcome or status: succeeded, failed, blocked, ok, refused, error.
|
|
26192
|
+
* @param {string} [_interface]
|
|
26193
|
+
* @param {number} [limit]
|
|
26194
|
+
* @param {string} [cursor] nextCursor of the previous page (same organisation and range).
|
|
26195
|
+
* @param {*} [options] Override http request option.
|
|
26196
|
+
* @throws {RequiredError}
|
|
26197
|
+
* @memberof AIAuditApi
|
|
26198
|
+
*/
|
|
26199
|
+
aiAuditRecordsList(organisation: string, startDate: string, endDate: string, since?: string, until?: string, userId?: string, tokenId?: string, modelId?: string, recordType?: string, decision?: string, tool?: string, outcome?: string, _interface?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiAuditRecordsPage, any, {}, any>>;
|
|
26200
|
+
}
|
|
25166
26201
|
/**
|
|
25167
26202
|
* AICustomToolsApi - axios parameter creator
|
|
25168
26203
|
* @export
|
|
@@ -26775,7 +27810,7 @@ export declare const AISearchApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
26775
27810
|
*/
|
|
26776
27811
|
aiSearchStatus: (organisation: string, project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26777
27812
|
/**
|
|
26778
|
-
*
|
|
27813
|
+
* A site with queryTextRetention hash keeps no query text: its queries are grouped by a keyed hash and listed as query \'Hidden query #<8 hex>\' with hashed=true and queryHash. A site with none adds no rows. hashedQueries counts the hashed rows.
|
|
26779
27814
|
* @summary Get the most popular AI Search queries
|
|
26780
27815
|
* @param {string} organisation
|
|
26781
27816
|
* @param {string} project
|
|
@@ -26953,7 +27988,7 @@ export declare const AISearchApiFp: (configuration?: Configuration) => {
|
|
|
26953
27988
|
*/
|
|
26954
27989
|
aiSearchStatus(organisation: string, project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
26955
27990
|
/**
|
|
26956
|
-
*
|
|
27991
|
+
* A site with queryTextRetention hash keeps no query text: its queries are grouped by a keyed hash and listed as query \'Hidden query #<8 hex>\' with hashed=true and queryHash. A site with none adds no rows. hashedQueries counts the hashed rows.
|
|
26957
27992
|
* @summary Get the most popular AI Search queries
|
|
26958
27993
|
* @param {string} organisation
|
|
26959
27994
|
* @param {string} project
|
|
@@ -27131,7 +28166,7 @@ export declare const AISearchApiFactory: (configuration?: Configuration, basePat
|
|
|
27131
28166
|
*/
|
|
27132
28167
|
aiSearchStatus(organisation: string, project: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27133
28168
|
/**
|
|
27134
|
-
*
|
|
28169
|
+
* A site with queryTextRetention hash keeps no query text: its queries are grouped by a keyed hash and listed as query \'Hidden query #<8 hex>\' with hashed=true and queryHash. A site with none adds no rows. hashedQueries counts the hashed rows.
|
|
27135
28170
|
* @summary Get the most popular AI Search queries
|
|
27136
28171
|
* @param {string} organisation
|
|
27137
28172
|
* @param {string} project
|
|
@@ -27324,7 +28359,7 @@ export declare class AISearchApi extends BaseAPI {
|
|
|
27324
28359
|
*/
|
|
27325
28360
|
aiSearchStatus(organisation: string, project: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
27326
28361
|
/**
|
|
27327
|
-
*
|
|
28362
|
+
* A site with queryTextRetention hash keeps no query text: its queries are grouped by a keyed hash and listed as query \'Hidden query #<8 hex>\' with hashed=true and queryHash. A site with none adds no rows. hashedQueries counts the hashed rows.
|
|
27328
28363
|
* @summary Get the most popular AI Search queries
|
|
27329
28364
|
* @param {string} organisation
|
|
27330
28365
|
* @param {string} project
|
|
@@ -28087,6 +29122,16 @@ export declare class AISkillsApi extends BaseAPI {
|
|
|
28087
29122
|
* @export
|
|
28088
29123
|
*/
|
|
28089
29124
|
export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
29125
|
+
/**
|
|
29126
|
+
*
|
|
29127
|
+
* @summary Cancel an unanswered Slack interaction
|
|
29128
|
+
* @param {string} organisation
|
|
29129
|
+
* @param {string} botId
|
|
29130
|
+
* @param {string} interactionId
|
|
29131
|
+
* @param {*} [options] Override http request option.
|
|
29132
|
+
* @throws {RequiredError}
|
|
29133
|
+
*/
|
|
29134
|
+
cancelSlackInteraction: (organisation: string, botId: string, interactionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28090
29135
|
/**
|
|
28091
29136
|
* Creates a new Slack bot with inline AI agent configuration. A backing agent is created automatically — callers do not need to manage agents separately. * * **Setup Types:** * - `quant`: Quant-managed Slack app — uses shared OAuth credentials * - `byo`: Bring Your Own — customer provides their own Slack app credentials
|
|
28092
29137
|
* @summary Create Slack Bot
|
|
@@ -28096,6 +29141,17 @@ export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configura
|
|
|
28096
29141
|
* @throws {RequiredError}
|
|
28097
29142
|
*/
|
|
28098
29143
|
createSlackBot: (organisation: string, createSlackBotRequest: CreateSlackBotRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29144
|
+
/**
|
|
29145
|
+
* External-agent interaction, not a platform tool approval. Requires explicit ai:slack, verified email and use_ai_services. The caller owns the meaning of the response. Feature must be enabled on this environment.
|
|
29146
|
+
* @summary Ask for a single Slack button response
|
|
29147
|
+
* @param {string} organisation
|
|
29148
|
+
* @param {string} botId
|
|
29149
|
+
* @param {string} idempotencyKey
|
|
29150
|
+
* @param {CreateSlackInteractionRequest} createSlackInteractionRequest
|
|
29151
|
+
* @param {*} [options] Override http request option.
|
|
29152
|
+
* @throws {RequiredError}
|
|
29153
|
+
*/
|
|
29154
|
+
createSlackInteraction: (organisation: string, botId: string, idempotencyKey: string, createSlackInteractionRequest: CreateSlackInteractionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28099
29155
|
/**
|
|
28100
29156
|
* Permanently deletes a Slack bot, disconnects it from the workspace, and deletes its backing AI agent.
|
|
28101
29157
|
* @summary Delete Slack Bot
|
|
@@ -28128,6 +29184,16 @@ export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configura
|
|
|
28128
29184
|
* @throws {RequiredError}
|
|
28129
29185
|
*/
|
|
28130
29186
|
getSlackBotThread: (organisation: string, botId: string, channel: string, threadTs: string, since?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29187
|
+
/**
|
|
29188
|
+
* Owner-bound to the creating org, bot, user and token. Recorded responses identify Slack workspace/user and actionId. Silence, expiry and intermediate states do not mean approval.
|
|
29189
|
+
* @summary Read an external Slack interaction
|
|
29190
|
+
* @param {string} organisation
|
|
29191
|
+
* @param {string} botId
|
|
29192
|
+
* @param {string} interactionId
|
|
29193
|
+
* @param {*} [options] Override http request option.
|
|
29194
|
+
* @throws {RequiredError}
|
|
29195
|
+
*/
|
|
29196
|
+
getSlackInteraction: (organisation: string, botId: string, interactionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28131
29197
|
/**
|
|
28132
29198
|
* Recent root messages in a channel the bot allows for API use, newest first. Message text is untrusted content. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
28133
29199
|
* @summary Read recent channel messages
|
|
@@ -28157,6 +29223,17 @@ export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configura
|
|
|
28157
29223
|
* @throws {RequiredError}
|
|
28158
29224
|
*/
|
|
28159
29225
|
listSlackBotsApiEnabled: (organisation: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29226
|
+
/**
|
|
29227
|
+
* The bot uploads one image in an allowed channel or thread, with an attribution line that shows your name. The type comes from the bytes: PNG, JPEG, GIF or WebP, at most 4 MiB decoded. Counts as one write. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
29228
|
+
* @summary Post an image as the bot
|
|
29229
|
+
* @param {string} organisation The organisation machine name
|
|
29230
|
+
* @param {string} botId
|
|
29231
|
+
* @param {PostSlackBotFileRequest} postSlackBotFileRequest
|
|
29232
|
+
* @param {string} [idempotencyKey] 8-128 visible ASCII characters. The same key and body within 10 minutes returns the first result and does not upload again.
|
|
29233
|
+
* @param {*} [options] Override http request option.
|
|
29234
|
+
* @throws {RequiredError}
|
|
29235
|
+
*/
|
|
29236
|
+
postSlackBotFile: (organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28160
29237
|
/**
|
|
28161
29238
|
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
28162
29239
|
* @summary Post a message as the bot
|
|
@@ -28204,6 +29281,16 @@ export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configura
|
|
|
28204
29281
|
* @export
|
|
28205
29282
|
*/
|
|
28206
29283
|
export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
|
|
29284
|
+
/**
|
|
29285
|
+
*
|
|
29286
|
+
* @summary Cancel an unanswered Slack interaction
|
|
29287
|
+
* @param {string} organisation
|
|
29288
|
+
* @param {string} botId
|
|
29289
|
+
* @param {string} interactionId
|
|
29290
|
+
* @param {*} [options] Override http request option.
|
|
29291
|
+
* @throws {RequiredError}
|
|
29292
|
+
*/
|
|
29293
|
+
cancelSlackInteraction(organisation: string, botId: string, interactionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
28207
29294
|
/**
|
|
28208
29295
|
* Creates a new Slack bot with inline AI agent configuration. A backing agent is created automatically — callers do not need to manage agents separately. * * **Setup Types:** * - `quant`: Quant-managed Slack app — uses shared OAuth credentials * - `byo`: Bring Your Own — customer provides their own Slack app credentials
|
|
28209
29296
|
* @summary Create Slack Bot
|
|
@@ -28213,6 +29300,17 @@ export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
|
|
|
28213
29300
|
* @throws {RequiredError}
|
|
28214
29301
|
*/
|
|
28215
29302
|
createSlackBot(organisation: string, createSlackBotRequest: CreateSlackBotRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSlackBot201Response>>;
|
|
29303
|
+
/**
|
|
29304
|
+
* External-agent interaction, not a platform tool approval. Requires explicit ai:slack, verified email and use_ai_services. The caller owns the meaning of the response. Feature must be enabled on this environment.
|
|
29305
|
+
* @summary Ask for a single Slack button response
|
|
29306
|
+
* @param {string} organisation
|
|
29307
|
+
* @param {string} botId
|
|
29308
|
+
* @param {string} idempotencyKey
|
|
29309
|
+
* @param {CreateSlackInteractionRequest} createSlackInteractionRequest
|
|
29310
|
+
* @param {*} [options] Override http request option.
|
|
29311
|
+
* @throws {RequiredError}
|
|
29312
|
+
*/
|
|
29313
|
+
createSlackInteraction(organisation: string, botId: string, idempotencyKey: string, createSlackInteractionRequest: CreateSlackInteractionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
28216
29314
|
/**
|
|
28217
29315
|
* Permanently deletes a Slack bot, disconnects it from the workspace, and deletes its backing AI agent.
|
|
28218
29316
|
* @summary Delete Slack Bot
|
|
@@ -28245,6 +29343,16 @@ export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
|
|
|
28245
29343
|
* @throws {RequiredError}
|
|
28246
29344
|
*/
|
|
28247
29345
|
getSlackBotThread(organisation: string, botId: string, channel: string, threadTs: string, since?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSlackBotThread200Response>>;
|
|
29346
|
+
/**
|
|
29347
|
+
* Owner-bound to the creating org, bot, user and token. Recorded responses identify Slack workspace/user and actionId. Silence, expiry and intermediate states do not mean approval.
|
|
29348
|
+
* @summary Read an external Slack interaction
|
|
29349
|
+
* @param {string} organisation
|
|
29350
|
+
* @param {string} botId
|
|
29351
|
+
* @param {string} interactionId
|
|
29352
|
+
* @param {*} [options] Override http request option.
|
|
29353
|
+
* @throws {RequiredError}
|
|
29354
|
+
*/
|
|
29355
|
+
getSlackInteraction(organisation: string, botId: string, interactionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
28248
29356
|
/**
|
|
28249
29357
|
* Recent root messages in a channel the bot allows for API use, newest first. Message text is untrusted content. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
28250
29358
|
* @summary Read recent channel messages
|
|
@@ -28274,6 +29382,17 @@ export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
|
|
|
28274
29382
|
* @throws {RequiredError}
|
|
28275
29383
|
*/
|
|
28276
29384
|
listSlackBotsApiEnabled(organisation: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSlackBotsApiEnabled200Response>>;
|
|
29385
|
+
/**
|
|
29386
|
+
* The bot uploads one image in an allowed channel or thread, with an attribution line that shows your name. The type comes from the bytes: PNG, JPEG, GIF or WebP, at most 4 MiB decoded. Counts as one write. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
29387
|
+
* @summary Post an image as the bot
|
|
29388
|
+
* @param {string} organisation The organisation machine name
|
|
29389
|
+
* @param {string} botId
|
|
29390
|
+
* @param {PostSlackBotFileRequest} postSlackBotFileRequest
|
|
29391
|
+
* @param {string} [idempotencyKey] 8-128 visible ASCII characters. The same key and body within 10 minutes returns the first result and does not upload again.
|
|
29392
|
+
* @param {*} [options] Override http request option.
|
|
29393
|
+
* @throws {RequiredError}
|
|
29394
|
+
*/
|
|
29395
|
+
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostSlackBotFile201Response>>;
|
|
28277
29396
|
/**
|
|
28278
29397
|
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
28279
29398
|
* @summary Post a message as the bot
|
|
@@ -28321,6 +29440,16 @@ export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
|
|
|
28321
29440
|
* @export
|
|
28322
29441
|
*/
|
|
28323
29442
|
export declare const AISlackBotsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
29443
|
+
/**
|
|
29444
|
+
*
|
|
29445
|
+
* @summary Cancel an unanswered Slack interaction
|
|
29446
|
+
* @param {string} organisation
|
|
29447
|
+
* @param {string} botId
|
|
29448
|
+
* @param {string} interactionId
|
|
29449
|
+
* @param {*} [options] Override http request option.
|
|
29450
|
+
* @throws {RequiredError}
|
|
29451
|
+
*/
|
|
29452
|
+
cancelSlackInteraction(organisation: string, botId: string, interactionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
28324
29453
|
/**
|
|
28325
29454
|
* Creates a new Slack bot with inline AI agent configuration. A backing agent is created automatically — callers do not need to manage agents separately. * * **Setup Types:** * - `quant`: Quant-managed Slack app — uses shared OAuth credentials * - `byo`: Bring Your Own — customer provides their own Slack app credentials
|
|
28326
29455
|
* @summary Create Slack Bot
|
|
@@ -28330,6 +29459,17 @@ export declare const AISlackBotsApiFactory: (configuration?: Configuration, base
|
|
|
28330
29459
|
* @throws {RequiredError}
|
|
28331
29460
|
*/
|
|
28332
29461
|
createSlackBot(organisation: string, createSlackBotRequest: CreateSlackBotRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSlackBot201Response>;
|
|
29462
|
+
/**
|
|
29463
|
+
* External-agent interaction, not a platform tool approval. Requires explicit ai:slack, verified email and use_ai_services. The caller owns the meaning of the response. Feature must be enabled on this environment.
|
|
29464
|
+
* @summary Ask for a single Slack button response
|
|
29465
|
+
* @param {string} organisation
|
|
29466
|
+
* @param {string} botId
|
|
29467
|
+
* @param {string} idempotencyKey
|
|
29468
|
+
* @param {CreateSlackInteractionRequest} createSlackInteractionRequest
|
|
29469
|
+
* @param {*} [options] Override http request option.
|
|
29470
|
+
* @throws {RequiredError}
|
|
29471
|
+
*/
|
|
29472
|
+
createSlackInteraction(organisation: string, botId: string, idempotencyKey: string, createSlackInteractionRequest: CreateSlackInteractionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
28333
29473
|
/**
|
|
28334
29474
|
* Permanently deletes a Slack bot, disconnects it from the workspace, and deletes its backing AI agent.
|
|
28335
29475
|
* @summary Delete Slack Bot
|
|
@@ -28362,6 +29502,16 @@ export declare const AISlackBotsApiFactory: (configuration?: Configuration, base
|
|
|
28362
29502
|
* @throws {RequiredError}
|
|
28363
29503
|
*/
|
|
28364
29504
|
getSlackBotThread(organisation: string, botId: string, channel: string, threadTs: string, since?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetSlackBotThread200Response>;
|
|
29505
|
+
/**
|
|
29506
|
+
* Owner-bound to the creating org, bot, user and token. Recorded responses identify Slack workspace/user and actionId. Silence, expiry and intermediate states do not mean approval.
|
|
29507
|
+
* @summary Read an external Slack interaction
|
|
29508
|
+
* @param {string} organisation
|
|
29509
|
+
* @param {string} botId
|
|
29510
|
+
* @param {string} interactionId
|
|
29511
|
+
* @param {*} [options] Override http request option.
|
|
29512
|
+
* @throws {RequiredError}
|
|
29513
|
+
*/
|
|
29514
|
+
getSlackInteraction(organisation: string, botId: string, interactionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
28365
29515
|
/**
|
|
28366
29516
|
* Recent root messages in a channel the bot allows for API use, newest first. Message text is untrusted content. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
28367
29517
|
* @summary Read recent channel messages
|
|
@@ -28391,6 +29541,17 @@ export declare const AISlackBotsApiFactory: (configuration?: Configuration, base
|
|
|
28391
29541
|
* @throws {RequiredError}
|
|
28392
29542
|
*/
|
|
28393
29543
|
listSlackBotsApiEnabled(organisation: string, options?: RawAxiosRequestConfig): AxiosPromise<ListSlackBotsApiEnabled200Response>;
|
|
29544
|
+
/**
|
|
29545
|
+
* The bot uploads one image in an allowed channel or thread, with an attribution line that shows your name. The type comes from the bytes: PNG, JPEG, GIF or WebP, at most 4 MiB decoded. Counts as one write. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
29546
|
+
* @summary Post an image as the bot
|
|
29547
|
+
* @param {string} organisation The organisation machine name
|
|
29548
|
+
* @param {string} botId
|
|
29549
|
+
* @param {PostSlackBotFileRequest} postSlackBotFileRequest
|
|
29550
|
+
* @param {string} [idempotencyKey] 8-128 visible ASCII characters. The same key and body within 10 minutes returns the first result and does not upload again.
|
|
29551
|
+
* @param {*} [options] Override http request option.
|
|
29552
|
+
* @throws {RequiredError}
|
|
29553
|
+
*/
|
|
29554
|
+
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<PostSlackBotFile201Response>;
|
|
28394
29555
|
/**
|
|
28395
29556
|
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
28396
29557
|
* @summary Post a message as the bot
|
|
@@ -28440,6 +29601,17 @@ export declare const AISlackBotsApiFactory: (configuration?: Configuration, base
|
|
|
28440
29601
|
* @extends {BaseAPI}
|
|
28441
29602
|
*/
|
|
28442
29603
|
export declare class AISlackBotsApi extends BaseAPI {
|
|
29604
|
+
/**
|
|
29605
|
+
*
|
|
29606
|
+
* @summary Cancel an unanswered Slack interaction
|
|
29607
|
+
* @param {string} organisation
|
|
29608
|
+
* @param {string} botId
|
|
29609
|
+
* @param {string} interactionId
|
|
29610
|
+
* @param {*} [options] Override http request option.
|
|
29611
|
+
* @throws {RequiredError}
|
|
29612
|
+
* @memberof AISlackBotsApi
|
|
29613
|
+
*/
|
|
29614
|
+
cancelSlackInteraction(organisation: string, botId: string, interactionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
28443
29615
|
/**
|
|
28444
29616
|
* Creates a new Slack bot with inline AI agent configuration. A backing agent is created automatically — callers do not need to manage agents separately. * * **Setup Types:** * - `quant`: Quant-managed Slack app — uses shared OAuth credentials * - `byo`: Bring Your Own — customer provides their own Slack app credentials
|
|
28445
29617
|
* @summary Create Slack Bot
|
|
@@ -28450,6 +29622,18 @@ export declare class AISlackBotsApi extends BaseAPI {
|
|
|
28450
29622
|
* @memberof AISlackBotsApi
|
|
28451
29623
|
*/
|
|
28452
29624
|
createSlackBot(organisation: string, createSlackBotRequest: CreateSlackBotRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateSlackBot201Response, any, {}, any>>;
|
|
29625
|
+
/**
|
|
29626
|
+
* External-agent interaction, not a platform tool approval. Requires explicit ai:slack, verified email and use_ai_services. The caller owns the meaning of the response. Feature must be enabled on this environment.
|
|
29627
|
+
* @summary Ask for a single Slack button response
|
|
29628
|
+
* @param {string} organisation
|
|
29629
|
+
* @param {string} botId
|
|
29630
|
+
* @param {string} idempotencyKey
|
|
29631
|
+
* @param {CreateSlackInteractionRequest} createSlackInteractionRequest
|
|
29632
|
+
* @param {*} [options] Override http request option.
|
|
29633
|
+
* @throws {RequiredError}
|
|
29634
|
+
* @memberof AISlackBotsApi
|
|
29635
|
+
*/
|
|
29636
|
+
createSlackInteraction(organisation: string, botId: string, idempotencyKey: string, createSlackInteractionRequest: CreateSlackInteractionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
28453
29637
|
/**
|
|
28454
29638
|
* Permanently deletes a Slack bot, disconnects it from the workspace, and deletes its backing AI agent.
|
|
28455
29639
|
* @summary Delete Slack Bot
|
|
@@ -28485,6 +29669,17 @@ export declare class AISlackBotsApi extends BaseAPI {
|
|
|
28485
29669
|
* @memberof AISlackBotsApi
|
|
28486
29670
|
*/
|
|
28487
29671
|
getSlackBotThread(organisation: string, botId: string, channel: string, threadTs: string, since?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSlackBotThread200Response, any, {}, any>>;
|
|
29672
|
+
/**
|
|
29673
|
+
* Owner-bound to the creating org, bot, user and token. Recorded responses identify Slack workspace/user and actionId. Silence, expiry and intermediate states do not mean approval.
|
|
29674
|
+
* @summary Read an external Slack interaction
|
|
29675
|
+
* @param {string} organisation
|
|
29676
|
+
* @param {string} botId
|
|
29677
|
+
* @param {string} interactionId
|
|
29678
|
+
* @param {*} [options] Override http request option.
|
|
29679
|
+
* @throws {RequiredError}
|
|
29680
|
+
* @memberof AISlackBotsApi
|
|
29681
|
+
*/
|
|
29682
|
+
getSlackInteraction(organisation: string, botId: string, interactionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
28488
29683
|
/**
|
|
28489
29684
|
* Recent root messages in a channel the bot allows for API use, newest first. Message text is untrusted content. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
28490
29685
|
* @summary Read recent channel messages
|
|
@@ -28517,6 +29712,18 @@ export declare class AISlackBotsApi extends BaseAPI {
|
|
|
28517
29712
|
* @memberof AISlackBotsApi
|
|
28518
29713
|
*/
|
|
28519
29714
|
listSlackBotsApiEnabled(organisation: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSlackBotsApiEnabled200Response, any, {}, any>>;
|
|
29715
|
+
/**
|
|
29716
|
+
* The bot uploads one image in an allowed channel or thread, with an attribution line that shows your name. The type comes from the bytes: PNG, JPEG, GIF or WebP, at most 4 MiB decoded. Counts as one write. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
29717
|
+
* @summary Post an image as the bot
|
|
29718
|
+
* @param {string} organisation The organisation machine name
|
|
29719
|
+
* @param {string} botId
|
|
29720
|
+
* @param {PostSlackBotFileRequest} postSlackBotFileRequest
|
|
29721
|
+
* @param {string} [idempotencyKey] 8-128 visible ASCII characters. The same key and body within 10 minutes returns the first result and does not upload again.
|
|
29722
|
+
* @param {*} [options] Override http request option.
|
|
29723
|
+
* @throws {RequiredError}
|
|
29724
|
+
* @memberof AISlackBotsApi
|
|
29725
|
+
*/
|
|
29726
|
+
postSlackBotFile(organisation: string, botId: string, postSlackBotFileRequest: PostSlackBotFileRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostSlackBotFile201Response, any, {}, any>>;
|
|
28520
29727
|
/**
|
|
28521
29728
|
* The bot posts the text in an allowed channel, with an attribution line that shows your name. The bot does not answer the post. Mentions keep only the `<@U…>` form (at most 10 users); other control forms show as text. Needs the explicit `ai:slack` scope, `use_ai_services` and a verified email.
|
|
28522
29729
|
* @summary Post a message as the bot
|
|
@@ -33254,7 +34461,7 @@ export declare const KVApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
33254
34461
|
*/
|
|
33255
34462
|
kVEntriesDelete: (organization: string, project: string, storeId: string, key: string, ifVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33256
34463
|
/**
|
|
33257
|
-
* value is any JSON value ({} stays an object). secret encrypts the value with KMS
|
|
34464
|
+
* value is any JSON value ({} stays an object). secret encrypts the value with KMS. Secret values are write-only through the API: reads, lists and this answer show [ENCRYPTED]. ttl is 60 to 31,536,000 seconds; a write without ttl removes any expiry. Format 2 conditions: ifAbsent (201 on success) or ifVersion. A failed condition is 409 CONFLICT with reason and currentVersion. In a collection with a unique index, 409 UNIQUE_VIOLATION names index and existingKey. A ledger key is 400 LEDGER_IMMUTABLE. Not retried: a lost connection is 503 UNAVAILABLE with retryable false (the outcome is unknown; read the key before you write again).
|
|
33258
34465
|
* @summary Set a key, optionally only if absent or only at a version
|
|
33259
34466
|
* @param {string} organization Organization identifier
|
|
33260
34467
|
* @param {string} project Project identifier
|
|
@@ -33916,7 +35123,7 @@ export declare const KVApiFp: (configuration?: Configuration) => {
|
|
|
33916
35123
|
*/
|
|
33917
35124
|
kVEntriesDelete(organization: string, project: string, storeId: string, key: string, ifVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V2KvEntryDeleteResponse>>;
|
|
33918
35125
|
/**
|
|
33919
|
-
* value is any JSON value ({} stays an object). secret encrypts the value with KMS
|
|
35126
|
+
* value is any JSON value ({} stays an object). secret encrypts the value with KMS. Secret values are write-only through the API: reads, lists and this answer show [ENCRYPTED]. ttl is 60 to 31,536,000 seconds; a write without ttl removes any expiry. Format 2 conditions: ifAbsent (201 on success) or ifVersion. A failed condition is 409 CONFLICT with reason and currentVersion. In a collection with a unique index, 409 UNIQUE_VIOLATION names index and existingKey. A ledger key is 400 LEDGER_IMMUTABLE. Not retried: a lost connection is 503 UNAVAILABLE with retryable false (the outcome is unknown; read the key before you write again).
|
|
33920
35127
|
* @summary Set a key, optionally only if absent or only at a version
|
|
33921
35128
|
* @param {string} organization Organization identifier
|
|
33922
35129
|
* @param {string} project Project identifier
|
|
@@ -34578,7 +35785,7 @@ export declare const KVApiFactory: (configuration?: Configuration, basePath?: st
|
|
|
34578
35785
|
*/
|
|
34579
35786
|
kVEntriesDelete(organization: string, project: string, storeId: string, key: string, ifVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<V2KvEntryDeleteResponse>;
|
|
34580
35787
|
/**
|
|
34581
|
-
* value is any JSON value ({} stays an object). secret encrypts the value with KMS
|
|
35788
|
+
* value is any JSON value ({} stays an object). secret encrypts the value with KMS. Secret values are write-only through the API: reads, lists and this answer show [ENCRYPTED]. ttl is 60 to 31,536,000 seconds; a write without ttl removes any expiry. Format 2 conditions: ifAbsent (201 on success) or ifVersion. A failed condition is 409 CONFLICT with reason and currentVersion. In a collection with a unique index, 409 UNIQUE_VIOLATION names index and existingKey. A ledger key is 400 LEDGER_IMMUTABLE. Not retried: a lost connection is 503 UNAVAILABLE with retryable false (the outcome is unknown; read the key before you write again).
|
|
34582
35789
|
* @summary Set a key, optionally only if absent or only at a version
|
|
34583
35790
|
* @param {string} organization Organization identifier
|
|
34584
35791
|
* @param {string} project Project identifier
|
|
@@ -35251,7 +36458,7 @@ export declare class KVApi extends BaseAPI {
|
|
|
35251
36458
|
*/
|
|
35252
36459
|
kVEntriesDelete(organization: string, project: string, storeId: string, key: string, ifVersion?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V2KvEntryDeleteResponse, any, {}, any>>;
|
|
35253
36460
|
/**
|
|
35254
|
-
* value is any JSON value ({} stays an object). secret encrypts the value with KMS
|
|
36461
|
+
* value is any JSON value ({} stays an object). secret encrypts the value with KMS. Secret values are write-only through the API: reads, lists and this answer show [ENCRYPTED]. ttl is 60 to 31,536,000 seconds; a write without ttl removes any expiry. Format 2 conditions: ifAbsent (201 on success) or ifVersion. A failed condition is 409 CONFLICT with reason and currentVersion. In a collection with a unique index, 409 UNIQUE_VIOLATION names index and existingKey. A ledger key is 400 LEDGER_IMMUTABLE. Not retried: a lost connection is 503 UNAVAILABLE with retryable false (the outcome is unknown; read the key before you write again).
|
|
35255
36462
|
* @summary Set a key, optionally only if absent or only at a version
|
|
35256
36463
|
* @param {string} organization Organization identifier
|
|
35257
36464
|
* @param {string} project Project identifier
|
|
@@ -36119,7 +37326,7 @@ export declare class OrganizationsApi extends BaseAPI {
|
|
|
36119
37326
|
*/
|
|
36120
37327
|
export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
36121
37328
|
/**
|
|
36122
|
-
* Retrieves CDN access log entries for a
|
|
37329
|
+
* Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
|
|
36123
37330
|
* @summary Get CDN access logs for a project
|
|
36124
37331
|
* @param {string} organization The organization machine name
|
|
36125
37332
|
* @param {string} project The project machine name
|
|
@@ -36186,7 +37393,7 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
36186
37393
|
*/
|
|
36187
37394
|
export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
36188
37395
|
/**
|
|
36189
|
-
* Retrieves CDN access log entries for a
|
|
37396
|
+
* Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
|
|
36190
37397
|
* @summary Get CDN access logs for a project
|
|
36191
37398
|
* @param {string} organization The organization machine name
|
|
36192
37399
|
* @param {string} project The project machine name
|
|
@@ -36253,7 +37460,7 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
36253
37460
|
*/
|
|
36254
37461
|
export declare const ProjectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
36255
37462
|
/**
|
|
36256
|
-
* Retrieves CDN access log entries for a
|
|
37463
|
+
* Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
|
|
36257
37464
|
* @summary Get CDN access logs for a project
|
|
36258
37465
|
* @param {string} organization The organization machine name
|
|
36259
37466
|
* @param {string} project The project machine name
|
|
@@ -36322,7 +37529,7 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
36322
37529
|
*/
|
|
36323
37530
|
export declare class ProjectsApi extends BaseAPI {
|
|
36324
37531
|
/**
|
|
36325
|
-
* Retrieves CDN access log entries for a
|
|
37532
|
+
* Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
|
|
36326
37533
|
* @summary Get CDN access logs for a project
|
|
36327
37534
|
* @param {string} organization The organization machine name
|
|
36328
37535
|
* @param {string} project The project machine name
|
|
@@ -37368,6 +38575,15 @@ export declare const RulesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
37368
38575
|
* @throws {RequiredError}
|
|
37369
38576
|
*/
|
|
37370
38577
|
rulesHeadersUpdate: (organization: string, project: string, rule: string, v2RuleHeaderRequest: V2RuleHeaderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38578
|
+
/**
|
|
38579
|
+
* Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order) and `managed` (true when a template deploy owns the rule in this project). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
|
|
38580
|
+
* @summary List all rules in edge order
|
|
38581
|
+
* @param {string} organization
|
|
38582
|
+
* @param {string} project
|
|
38583
|
+
* @param {*} [options] Override http request option.
|
|
38584
|
+
* @throws {RequiredError}
|
|
38585
|
+
*/
|
|
38586
|
+
rulesIndexList: (organization: string, project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37371
38587
|
/**
|
|
37372
38588
|
*
|
|
37373
38589
|
* @summary Create a proxy rule
|
|
@@ -37924,6 +39140,15 @@ export declare const RulesApiFp: (configuration?: Configuration) => {
|
|
|
37924
39140
|
* @throws {RequiredError}
|
|
37925
39141
|
*/
|
|
37926
39142
|
rulesHeadersUpdate(organization: string, project: string, rule: string, v2RuleHeaderRequest: V2RuleHeaderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V2RuleHeader>>;
|
|
39143
|
+
/**
|
|
39144
|
+
* Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order) and `managed` (true when a template deploy owns the rule in this project). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
|
|
39145
|
+
* @summary List all rules in edge order
|
|
39146
|
+
* @param {string} organization
|
|
39147
|
+
* @param {string} project
|
|
39148
|
+
* @param {*} [options] Override http request option.
|
|
39149
|
+
* @throws {RequiredError}
|
|
39150
|
+
*/
|
|
39151
|
+
rulesIndexList(organization: string, project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RulesIndexList200ResponseInner>>>;
|
|
37927
39152
|
/**
|
|
37928
39153
|
*
|
|
37929
39154
|
* @summary Create a proxy rule
|
|
@@ -38480,6 +39705,15 @@ export declare const RulesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
38480
39705
|
* @throws {RequiredError}
|
|
38481
39706
|
*/
|
|
38482
39707
|
rulesHeadersUpdate(organization: string, project: string, rule: string, v2RuleHeaderRequest: V2RuleHeaderRequest, options?: RawAxiosRequestConfig): AxiosPromise<V2RuleHeader>;
|
|
39708
|
+
/**
|
|
39709
|
+
* Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order) and `managed` (true when a template deploy owns the rule in this project). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
|
|
39710
|
+
* @summary List all rules in edge order
|
|
39711
|
+
* @param {string} organization
|
|
39712
|
+
* @param {string} project
|
|
39713
|
+
* @param {*} [options] Override http request option.
|
|
39714
|
+
* @throws {RequiredError}
|
|
39715
|
+
*/
|
|
39716
|
+
rulesIndexList(organization: string, project: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<RulesIndexList200ResponseInner>>;
|
|
38483
39717
|
/**
|
|
38484
39718
|
*
|
|
38485
39719
|
* @summary Create a proxy rule
|
|
@@ -39078,6 +40312,16 @@ export declare class RulesApi extends BaseAPI {
|
|
|
39078
40312
|
* @memberof RulesApi
|
|
39079
40313
|
*/
|
|
39080
40314
|
rulesHeadersUpdate(organization: string, project: string, rule: string, v2RuleHeaderRequest: V2RuleHeaderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V2RuleHeader, any, {}, any>>;
|
|
40315
|
+
/**
|
|
40316
|
+
* Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order) and `managed` (true when a template deploy owns the rule in this project). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
|
|
40317
|
+
* @summary List all rules in edge order
|
|
40318
|
+
* @param {string} organization
|
|
40319
|
+
* @param {string} project
|
|
40320
|
+
* @param {*} [options] Override http request option.
|
|
40321
|
+
* @throws {RequiredError}
|
|
40322
|
+
* @memberof RulesApi
|
|
40323
|
+
*/
|
|
40324
|
+
rulesIndexList(organization: string, project: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RulesIndexList200ResponseInner[], any, {}, any>>;
|
|
39081
40325
|
/**
|
|
39082
40326
|
*
|
|
39083
40327
|
* @summary Create a proxy rule
|
|
@@ -39502,6 +40746,167 @@ export declare const ListScalingPoliciesMetricEnum: {
|
|
|
39502
40746
|
readonly Rps: "RPS";
|
|
39503
40747
|
};
|
|
39504
40748
|
export type ListScalingPoliciesMetricEnum = typeof ListScalingPoliciesMetricEnum[keyof typeof ListScalingPoliciesMetricEnum];
|
|
40749
|
+
/**
|
|
40750
|
+
* SecretsApi - axios parameter creator
|
|
40751
|
+
* @export
|
|
40752
|
+
*/
|
|
40753
|
+
export declare const SecretsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
40754
|
+
/**
|
|
40755
|
+
* Deletes the secret. The change takes effect on the next redeploy of the environment. A 200 with warnings means the deployed revision still references the secret and cannot start a replacement task until it is redeployed.
|
|
40756
|
+
* @summary Delete a secret
|
|
40757
|
+
* @param {string} apiOrganisation The organisation ID
|
|
40758
|
+
* @param {string} apiApplication The application ID
|
|
40759
|
+
* @param {string} apiEnvironment The environment ID
|
|
40760
|
+
* @param {string} apiSecret The secret key
|
|
40761
|
+
* @param {*} [options] Override http request option.
|
|
40762
|
+
* @throws {RequiredError}
|
|
40763
|
+
*/
|
|
40764
|
+
deleteEnvironmentSecret: (apiOrganisation: string, apiApplication: string, apiEnvironment: string, apiSecret: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40765
|
+
/**
|
|
40766
|
+
* Returns the names of the environment\'s secrets. Secret values are write-only and are never returned.
|
|
40767
|
+
* @summary List the secret names for an environment
|
|
40768
|
+
* @param {string} apiOrganisation The organisation ID
|
|
40769
|
+
* @param {string} apiApplication The application ID
|
|
40770
|
+
* @param {string} apiEnvironment The environment ID
|
|
40771
|
+
* @param {*} [options] Override http request option.
|
|
40772
|
+
* @throws {RequiredError}
|
|
40773
|
+
*/
|
|
40774
|
+
listEnvironmentSecrets: (apiOrganisation: string, apiApplication: string, apiEnvironment: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40775
|
+
/**
|
|
40776
|
+
* Sets the secret value. The value is write-only: the response returns the key only. The change takes effect on the next redeploy of the environment. A name that already exists as an environment variable is refused with 409.
|
|
40777
|
+
* @summary Create or replace a secret
|
|
40778
|
+
* @param {string} apiOrganisation The organisation ID
|
|
40779
|
+
* @param {string} apiApplication The application ID
|
|
40780
|
+
* @param {string} apiEnvironment The environment ID
|
|
40781
|
+
* @param {string} apiSecret The secret key
|
|
40782
|
+
* @param {UpdateEnvironmentSecretRequest} updateEnvironmentSecretRequest
|
|
40783
|
+
* @param {*} [options] Override http request option.
|
|
40784
|
+
* @throws {RequiredError}
|
|
40785
|
+
*/
|
|
40786
|
+
updateEnvironmentSecret: (apiOrganisation: string, apiApplication: string, apiEnvironment: string, apiSecret: string, updateEnvironmentSecretRequest: UpdateEnvironmentSecretRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40787
|
+
};
|
|
40788
|
+
/**
|
|
40789
|
+
* SecretsApi - functional programming interface
|
|
40790
|
+
* @export
|
|
40791
|
+
*/
|
|
40792
|
+
export declare const SecretsApiFp: (configuration?: Configuration) => {
|
|
40793
|
+
/**
|
|
40794
|
+
* Deletes the secret. The change takes effect on the next redeploy of the environment. A 200 with warnings means the deployed revision still references the secret and cannot start a replacement task until it is redeployed.
|
|
40795
|
+
* @summary Delete a secret
|
|
40796
|
+
* @param {string} apiOrganisation The organisation ID
|
|
40797
|
+
* @param {string} apiApplication The application ID
|
|
40798
|
+
* @param {string} apiEnvironment The environment ID
|
|
40799
|
+
* @param {string} apiSecret The secret key
|
|
40800
|
+
* @param {*} [options] Override http request option.
|
|
40801
|
+
* @throws {RequiredError}
|
|
40802
|
+
*/
|
|
40803
|
+
deleteEnvironmentSecret(apiOrganisation: string, apiApplication: string, apiEnvironment: string, apiSecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteEnvironmentSecret200Response>>;
|
|
40804
|
+
/**
|
|
40805
|
+
* Returns the names of the environment\'s secrets. Secret values are write-only and are never returned.
|
|
40806
|
+
* @summary List the secret names for an environment
|
|
40807
|
+
* @param {string} apiOrganisation The organisation ID
|
|
40808
|
+
* @param {string} apiApplication The application ID
|
|
40809
|
+
* @param {string} apiEnvironment The environment ID
|
|
40810
|
+
* @param {*} [options] Override http request option.
|
|
40811
|
+
* @throws {RequiredError}
|
|
40812
|
+
*/
|
|
40813
|
+
listEnvironmentSecrets(apiOrganisation: string, apiApplication: string, apiEnvironment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SecretKey>>>;
|
|
40814
|
+
/**
|
|
40815
|
+
* Sets the secret value. The value is write-only: the response returns the key only. The change takes effect on the next redeploy of the environment. A name that already exists as an environment variable is refused with 409.
|
|
40816
|
+
* @summary Create or replace a secret
|
|
40817
|
+
* @param {string} apiOrganisation The organisation ID
|
|
40818
|
+
* @param {string} apiApplication The application ID
|
|
40819
|
+
* @param {string} apiEnvironment The environment ID
|
|
40820
|
+
* @param {string} apiSecret The secret key
|
|
40821
|
+
* @param {UpdateEnvironmentSecretRequest} updateEnvironmentSecretRequest
|
|
40822
|
+
* @param {*} [options] Override http request option.
|
|
40823
|
+
* @throws {RequiredError}
|
|
40824
|
+
*/
|
|
40825
|
+
updateEnvironmentSecret(apiOrganisation: string, apiApplication: string, apiEnvironment: string, apiSecret: string, updateEnvironmentSecretRequest: UpdateEnvironmentSecretRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SecretWriteResult>>;
|
|
40826
|
+
};
|
|
40827
|
+
/**
|
|
40828
|
+
* SecretsApi - factory interface
|
|
40829
|
+
* @export
|
|
40830
|
+
*/
|
|
40831
|
+
export declare const SecretsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
40832
|
+
/**
|
|
40833
|
+
* Deletes the secret. The change takes effect on the next redeploy of the environment. A 200 with warnings means the deployed revision still references the secret and cannot start a replacement task until it is redeployed.
|
|
40834
|
+
* @summary Delete a secret
|
|
40835
|
+
* @param {string} apiOrganisation The organisation ID
|
|
40836
|
+
* @param {string} apiApplication The application ID
|
|
40837
|
+
* @param {string} apiEnvironment The environment ID
|
|
40838
|
+
* @param {string} apiSecret The secret key
|
|
40839
|
+
* @param {*} [options] Override http request option.
|
|
40840
|
+
* @throws {RequiredError}
|
|
40841
|
+
*/
|
|
40842
|
+
deleteEnvironmentSecret(apiOrganisation: string, apiApplication: string, apiEnvironment: string, apiSecret: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteEnvironmentSecret200Response>;
|
|
40843
|
+
/**
|
|
40844
|
+
* Returns the names of the environment\'s secrets. Secret values are write-only and are never returned.
|
|
40845
|
+
* @summary List the secret names for an environment
|
|
40846
|
+
* @param {string} apiOrganisation The organisation ID
|
|
40847
|
+
* @param {string} apiApplication The application ID
|
|
40848
|
+
* @param {string} apiEnvironment The environment ID
|
|
40849
|
+
* @param {*} [options] Override http request option.
|
|
40850
|
+
* @throws {RequiredError}
|
|
40851
|
+
*/
|
|
40852
|
+
listEnvironmentSecrets(apiOrganisation: string, apiApplication: string, apiEnvironment: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<SecretKey>>;
|
|
40853
|
+
/**
|
|
40854
|
+
* Sets the secret value. The value is write-only: the response returns the key only. The change takes effect on the next redeploy of the environment. A name that already exists as an environment variable is refused with 409.
|
|
40855
|
+
* @summary Create or replace a secret
|
|
40856
|
+
* @param {string} apiOrganisation The organisation ID
|
|
40857
|
+
* @param {string} apiApplication The application ID
|
|
40858
|
+
* @param {string} apiEnvironment The environment ID
|
|
40859
|
+
* @param {string} apiSecret The secret key
|
|
40860
|
+
* @param {UpdateEnvironmentSecretRequest} updateEnvironmentSecretRequest
|
|
40861
|
+
* @param {*} [options] Override http request option.
|
|
40862
|
+
* @throws {RequiredError}
|
|
40863
|
+
*/
|
|
40864
|
+
updateEnvironmentSecret(apiOrganisation: string, apiApplication: string, apiEnvironment: string, apiSecret: string, updateEnvironmentSecretRequest: UpdateEnvironmentSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<SecretWriteResult>;
|
|
40865
|
+
};
|
|
40866
|
+
/**
|
|
40867
|
+
* SecretsApi - object-oriented interface
|
|
40868
|
+
* @export
|
|
40869
|
+
* @class SecretsApi
|
|
40870
|
+
* @extends {BaseAPI}
|
|
40871
|
+
*/
|
|
40872
|
+
export declare class SecretsApi extends BaseAPI {
|
|
40873
|
+
/**
|
|
40874
|
+
* Deletes the secret. The change takes effect on the next redeploy of the environment. A 200 with warnings means the deployed revision still references the secret and cannot start a replacement task until it is redeployed.
|
|
40875
|
+
* @summary Delete a secret
|
|
40876
|
+
* @param {string} apiOrganisation The organisation ID
|
|
40877
|
+
* @param {string} apiApplication The application ID
|
|
40878
|
+
* @param {string} apiEnvironment The environment ID
|
|
40879
|
+
* @param {string} apiSecret The secret key
|
|
40880
|
+
* @param {*} [options] Override http request option.
|
|
40881
|
+
* @throws {RequiredError}
|
|
40882
|
+
* @memberof SecretsApi
|
|
40883
|
+
*/
|
|
40884
|
+
deleteEnvironmentSecret(apiOrganisation: string, apiApplication: string, apiEnvironment: string, apiSecret: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteEnvironmentSecret200Response, any, {}, any>>;
|
|
40885
|
+
/**
|
|
40886
|
+
* Returns the names of the environment\'s secrets. Secret values are write-only and are never returned.
|
|
40887
|
+
* @summary List the secret names for an environment
|
|
40888
|
+
* @param {string} apiOrganisation The organisation ID
|
|
40889
|
+
* @param {string} apiApplication The application ID
|
|
40890
|
+
* @param {string} apiEnvironment The environment ID
|
|
40891
|
+
* @param {*} [options] Override http request option.
|
|
40892
|
+
* @throws {RequiredError}
|
|
40893
|
+
* @memberof SecretsApi
|
|
40894
|
+
*/
|
|
40895
|
+
listEnvironmentSecrets(apiOrganisation: string, apiApplication: string, apiEnvironment: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SecretKey[], any, {}, any>>;
|
|
40896
|
+
/**
|
|
40897
|
+
* Sets the secret value. The value is write-only: the response returns the key only. The change takes effect on the next redeploy of the environment. A name that already exists as an environment variable is refused with 409.
|
|
40898
|
+
* @summary Create or replace a secret
|
|
40899
|
+
* @param {string} apiOrganisation The organisation ID
|
|
40900
|
+
* @param {string} apiApplication The application ID
|
|
40901
|
+
* @param {string} apiEnvironment The environment ID
|
|
40902
|
+
* @param {string} apiSecret The secret key
|
|
40903
|
+
* @param {UpdateEnvironmentSecretRequest} updateEnvironmentSecretRequest
|
|
40904
|
+
* @param {*} [options] Override http request option.
|
|
40905
|
+
* @throws {RequiredError}
|
|
40906
|
+
* @memberof SecretsApi
|
|
40907
|
+
*/
|
|
40908
|
+
updateEnvironmentSecret(apiOrganisation: string, apiApplication: string, apiEnvironment: string, apiSecret: string, updateEnvironmentSecretRequest: UpdateEnvironmentSecretRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SecretWriteResult, any, {}, any>>;
|
|
40909
|
+
}
|
|
39505
40910
|
/**
|
|
39506
40911
|
* SubscriptionApi - axios parameter creator
|
|
39507
40912
|
* @export
|