@wix/auto_sdk_containers_projects 1.0.6 → 1.0.8
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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +38 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +583 -1
- package/build/cjs/index.typings.js +38 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +583 -1
- package/build/cjs/meta.js +38 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +37 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +583 -1
- package/build/es/index.typings.mjs +37 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +583 -1
- package/build/es/meta.mjs +37 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +583 -1
- package/build/internal/cjs/meta.d.ts +583 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +583 -1
- package/build/internal/es/meta.d.mts +583 -1
- package/package.json +2 -2
|
@@ -155,6 +155,588 @@ interface ProjectPlanReady {
|
|
|
155
155
|
*/
|
|
156
156
|
conversationId?: string;
|
|
157
157
|
}
|
|
158
|
+
interface GetAgentExperimentsRequest {
|
|
159
|
+
/**
|
|
160
|
+
* Project in the authenticated caller's SITE tenant.
|
|
161
|
+
* @format GUID
|
|
162
|
+
*/
|
|
163
|
+
projectId?: string;
|
|
164
|
+
}
|
|
165
|
+
interface GetAgentExperimentsResponse {
|
|
166
|
+
/** Full typed outcomes for the fixed appsmith-agent scope, including unsuccessful conduction. */
|
|
167
|
+
result?: ConductByScopesResponse;
|
|
168
|
+
}
|
|
169
|
+
interface ConductByScopesResponse {
|
|
170
|
+
/** the result of each scope by scope id */
|
|
171
|
+
scopeToResult?: Record<string, ConductByScopeResponse>;
|
|
172
|
+
}
|
|
173
|
+
interface ConductByScopeResponse {
|
|
174
|
+
/** map of experiment id to conduction result */
|
|
175
|
+
experimentToConductionResult?: Record<string, ConductionResult>;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* The result of conducting an experiment: the resolved variant and the outcome status.
|
|
179
|
+
* Mirrors conductor.library.src.ConductionResult.
|
|
180
|
+
*/
|
|
181
|
+
interface ConductionResult {
|
|
182
|
+
/** The result variant e.g. A, B, C, ... Z */
|
|
183
|
+
variant?: VariantWithLiterals;
|
|
184
|
+
/** Extra information about the conduction, e.g. successful or failed with reason */
|
|
185
|
+
status?: ConductionStatus;
|
|
186
|
+
}
|
|
187
|
+
/** The resolved variant (A=Control, B-Z=Treatment). Mirrors conductor.result.Variants. */
|
|
188
|
+
declare enum Variant {
|
|
189
|
+
VARIANT_UNSPECIFIED = "VARIANT_UNSPECIFIED",
|
|
190
|
+
A = "A",
|
|
191
|
+
B = "B",
|
|
192
|
+
C = "C",
|
|
193
|
+
D = "D",
|
|
194
|
+
E = "E",
|
|
195
|
+
F = "F",
|
|
196
|
+
G = "G",
|
|
197
|
+
H = "H",
|
|
198
|
+
I = "I",
|
|
199
|
+
J = "J",
|
|
200
|
+
K = "K",
|
|
201
|
+
L = "L",
|
|
202
|
+
M = "M",
|
|
203
|
+
N = "N",
|
|
204
|
+
O = "O",
|
|
205
|
+
P = "P",
|
|
206
|
+
Q = "Q",
|
|
207
|
+
R = "R",
|
|
208
|
+
S = "S",
|
|
209
|
+
T = "T",
|
|
210
|
+
U = "U",
|
|
211
|
+
V = "V",
|
|
212
|
+
W = "W",
|
|
213
|
+
X = "X",
|
|
214
|
+
Y = "Y",
|
|
215
|
+
Z = "Z"
|
|
216
|
+
}
|
|
217
|
+
/** @enumType */
|
|
218
|
+
type VariantWithLiterals = Variant | 'VARIANT_UNSPECIFIED' | 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z';
|
|
219
|
+
/**
|
|
220
|
+
* Represents the status of a conduction result.
|
|
221
|
+
* This can be either a successful result or a specific type of failure, detailing the reason for the failure.
|
|
222
|
+
*/
|
|
223
|
+
interface ConductionStatus extends ConductionStatusStatusOneOf {
|
|
224
|
+
/** Indicates a successful conduction with optional target group information */
|
|
225
|
+
successfulResult?: SuccessfulResult;
|
|
226
|
+
/** Indicates that a required seed value is missing */
|
|
227
|
+
missingSeed?: MissingSeed;
|
|
228
|
+
/** Indicates an error occurred while trying to filter based on populations */
|
|
229
|
+
populationError?: PopulationError;
|
|
230
|
+
/** Represents a general exception that occurred during conduction */
|
|
231
|
+
conductionException?: ConductionException;
|
|
232
|
+
/** Indicates that a required seed type is missing */
|
|
233
|
+
missingSeedType?: MissingSeedType;
|
|
234
|
+
/** Indicates that a required seed key type is missing */
|
|
235
|
+
missingSeedKeyType?: MissingSeedKeyType;
|
|
236
|
+
/** Indicates that no experiment with the given ID was found */
|
|
237
|
+
missingExperimentId?: MissingExperimentId;
|
|
238
|
+
/** Indicates a failure to fetch the experiment */
|
|
239
|
+
failedToFetchExperiment?: FailedToFetchExperiment;
|
|
240
|
+
/** Indicates that necessary plugins are missing for conduction */
|
|
241
|
+
missingPlugins?: MissingPlugins;
|
|
242
|
+
/** Indicates that the randomization process failed */
|
|
243
|
+
failedToRunToss?: FailedToRunToss;
|
|
244
|
+
/** Indicates that no eligible filter was found during evaluation */
|
|
245
|
+
didNotFindEligibleFilter?: DidNotFindEligibleFilter;
|
|
246
|
+
/** Indicates that a filter used in target groups is not supported */
|
|
247
|
+
filterNotSupported?: FilterNotSupported;
|
|
248
|
+
/** Indicates that a filter used in target groups is not implemented */
|
|
249
|
+
filterNotImplemented?: FilterNotImplemented;
|
|
250
|
+
/** Indicates that the user did not provide a required key in additional data */
|
|
251
|
+
additionalDataFilterMissingKey?: AdditionalDataFilterMissingKey;
|
|
252
|
+
/** Indicates that an additional data filter must have some key */
|
|
253
|
+
additionalDataFilterMustHaveKey?: AdditionalDataFilterMustHaveKey;
|
|
254
|
+
/** Indicates a type mismatch in additional data used by a filter */
|
|
255
|
+
additionalDataFilterMismatchType?: AdditionalDataFilterMismatchType;
|
|
256
|
+
/** Indicates that an additional filter cannot be empty */
|
|
257
|
+
additionalFilterCantBeEmpty?: AdditionalFilterCantBeEmpty;
|
|
258
|
+
/** Indicates that one or more filter operands are empty */
|
|
259
|
+
filterOperandEmpty?: FilterOperandEmpty;
|
|
260
|
+
/** Indicates that information required for evaluating filters is missing */
|
|
261
|
+
missingFilterTarget?: MissingFilterTarget;
|
|
262
|
+
/** Represents a general error during conduction */
|
|
263
|
+
generalError?: GeneralError;
|
|
264
|
+
/** Indicates an error occurred while trying to extract an element from context for the purpose of filtering by bi-profile service */
|
|
265
|
+
missingElementInContextForBiProfileError?: MissingElementInContextForBiProfileError;
|
|
266
|
+
/** Indicates that an additional data was provided a missing value */
|
|
267
|
+
additionalDataMissingValue?: AdditionalDataMissingValue;
|
|
268
|
+
/** Indicates that library configuration is invalid */
|
|
269
|
+
invalidLibraryConfiguration?: InvalidLibraryConfiguration;
|
|
270
|
+
/** Indicates that the conduction produced no result for this experiment */
|
|
271
|
+
noResultForConduction?: NoResultForConduction;
|
|
272
|
+
}
|
|
273
|
+
/** @oneof */
|
|
274
|
+
interface ConductionStatusStatusOneOf {
|
|
275
|
+
/** Indicates a successful conduction with optional target group information */
|
|
276
|
+
successfulResult?: SuccessfulResult;
|
|
277
|
+
/** Indicates that a required seed value is missing */
|
|
278
|
+
missingSeed?: MissingSeed;
|
|
279
|
+
/** Indicates an error occurred while trying to filter based on populations */
|
|
280
|
+
populationError?: PopulationError;
|
|
281
|
+
/** Represents a general exception that occurred during conduction */
|
|
282
|
+
conductionException?: ConductionException;
|
|
283
|
+
/** Indicates that a required seed type is missing */
|
|
284
|
+
missingSeedType?: MissingSeedType;
|
|
285
|
+
/** Indicates that a required seed key type is missing */
|
|
286
|
+
missingSeedKeyType?: MissingSeedKeyType;
|
|
287
|
+
/** Indicates that no experiment with the given ID was found */
|
|
288
|
+
missingExperimentId?: MissingExperimentId;
|
|
289
|
+
/** Indicates a failure to fetch the experiment */
|
|
290
|
+
failedToFetchExperiment?: FailedToFetchExperiment;
|
|
291
|
+
/** Indicates that necessary plugins are missing for conduction */
|
|
292
|
+
missingPlugins?: MissingPlugins;
|
|
293
|
+
/** Indicates that the randomization process failed */
|
|
294
|
+
failedToRunToss?: FailedToRunToss;
|
|
295
|
+
/** Indicates that no eligible filter was found during evaluation */
|
|
296
|
+
didNotFindEligibleFilter?: DidNotFindEligibleFilter;
|
|
297
|
+
/** Indicates that a filter used in target groups is not supported */
|
|
298
|
+
filterNotSupported?: FilterNotSupported;
|
|
299
|
+
/** Indicates that a filter used in target groups is not implemented */
|
|
300
|
+
filterNotImplemented?: FilterNotImplemented;
|
|
301
|
+
/** Indicates that the user did not provide a required key in additional data */
|
|
302
|
+
additionalDataFilterMissingKey?: AdditionalDataFilterMissingKey;
|
|
303
|
+
/** Indicates that an additional data filter must have some key */
|
|
304
|
+
additionalDataFilterMustHaveKey?: AdditionalDataFilterMustHaveKey;
|
|
305
|
+
/** Indicates a type mismatch in additional data used by a filter */
|
|
306
|
+
additionalDataFilterMismatchType?: AdditionalDataFilterMismatchType;
|
|
307
|
+
/** Indicates that an additional filter cannot be empty */
|
|
308
|
+
additionalFilterCantBeEmpty?: AdditionalFilterCantBeEmpty;
|
|
309
|
+
/** Indicates that one or more filter operands are empty */
|
|
310
|
+
filterOperandEmpty?: FilterOperandEmpty;
|
|
311
|
+
/** Indicates that information required for evaluating filters is missing */
|
|
312
|
+
missingFilterTarget?: MissingFilterTarget;
|
|
313
|
+
/** Represents a general error during conduction */
|
|
314
|
+
generalError?: GeneralError;
|
|
315
|
+
/** Indicates an error occurred while trying to extract an element from context for the purpose of filtering by bi-profile service */
|
|
316
|
+
missingElementInContextForBiProfileError?: MissingElementInContextForBiProfileError;
|
|
317
|
+
/** Indicates that an additional data was provided a missing value */
|
|
318
|
+
additionalDataMissingValue?: AdditionalDataMissingValue;
|
|
319
|
+
/** Indicates that library configuration is invalid */
|
|
320
|
+
invalidLibraryConfiguration?: InvalidLibraryConfiguration;
|
|
321
|
+
/** Indicates that the conduction produced no result for this experiment */
|
|
322
|
+
noResultForConduction?: NoResultForConduction;
|
|
323
|
+
}
|
|
324
|
+
/** Indicates a successful conduction */
|
|
325
|
+
interface SuccessfulResult {
|
|
326
|
+
/**
|
|
327
|
+
* Optional key representing the target group which matched with the caller's identity
|
|
328
|
+
* @maxLength 5000
|
|
329
|
+
*/
|
|
330
|
+
targetGroupKey?: string;
|
|
331
|
+
}
|
|
332
|
+
/** Indicates that a required seed value is missing */
|
|
333
|
+
interface MissingSeed {
|
|
334
|
+
/**
|
|
335
|
+
* The name of the missing seed
|
|
336
|
+
* @maxLength 5000
|
|
337
|
+
*/
|
|
338
|
+
seed?: string;
|
|
339
|
+
}
|
|
340
|
+
/** Indicates an error occurred while trying to filter based on populations */
|
|
341
|
+
interface PopulationError {
|
|
342
|
+
/**
|
|
343
|
+
* The serialized error message that occurred
|
|
344
|
+
* @maxLength 5000
|
|
345
|
+
*/
|
|
346
|
+
error?: string;
|
|
347
|
+
/**
|
|
348
|
+
* The list of population IDs involved in the error
|
|
349
|
+
* @maxLength 5000
|
|
350
|
+
* @maxSize 5000
|
|
351
|
+
*/
|
|
352
|
+
populationIds?: string[];
|
|
353
|
+
}
|
|
354
|
+
/** Represents a general exception that occurred during conduction */
|
|
355
|
+
interface ConductionException {
|
|
356
|
+
/**
|
|
357
|
+
* The serialized exception message
|
|
358
|
+
* @maxLength 5000
|
|
359
|
+
*/
|
|
360
|
+
error?: string;
|
|
361
|
+
}
|
|
362
|
+
/** Indicates that a required seed type is missing */
|
|
363
|
+
interface MissingSeedType {
|
|
364
|
+
}
|
|
365
|
+
/** Indicates that a required seed key type is missing */
|
|
366
|
+
interface MissingSeedKeyType {
|
|
367
|
+
}
|
|
368
|
+
/** Indicates that no experiment with the given ID was found */
|
|
369
|
+
interface MissingExperimentId {
|
|
370
|
+
}
|
|
371
|
+
/** Indicates a failure to fetch the experiment */
|
|
372
|
+
interface FailedToFetchExperiment {
|
|
373
|
+
/**
|
|
374
|
+
* The serialized error message encountered while fetching
|
|
375
|
+
* @maxLength 5000
|
|
376
|
+
*/
|
|
377
|
+
error?: string;
|
|
378
|
+
}
|
|
379
|
+
/** Indicates that necessary plugins are missing for conduction */
|
|
380
|
+
interface MissingPlugins {
|
|
381
|
+
}
|
|
382
|
+
/** Indicates that the randomization process failed */
|
|
383
|
+
interface FailedToRunToss {
|
|
384
|
+
}
|
|
385
|
+
/** Indicates that no eligible filter was found during evaluation */
|
|
386
|
+
interface DidNotFindEligibleFilter {
|
|
387
|
+
}
|
|
388
|
+
/** Indicates that a filter used in target groups is not supported */
|
|
389
|
+
interface FilterNotSupported {
|
|
390
|
+
}
|
|
391
|
+
/** Indicates that a filter used in target groups is not implemented */
|
|
392
|
+
interface FilterNotImplemented {
|
|
393
|
+
}
|
|
394
|
+
/** Indicates that the user did not provide a required key in additional data */
|
|
395
|
+
interface AdditionalDataFilterMissingKey {
|
|
396
|
+
/**
|
|
397
|
+
* The missing key in the additional data
|
|
398
|
+
* @maxLength 5000
|
|
399
|
+
*/
|
|
400
|
+
key?: string;
|
|
401
|
+
}
|
|
402
|
+
/** Indicates that an additional data filter must have some key */
|
|
403
|
+
interface AdditionalDataFilterMustHaveKey {
|
|
404
|
+
}
|
|
405
|
+
/** Indicates a type mismatch in additional data used by a filter */
|
|
406
|
+
interface AdditionalDataFilterMismatchType {
|
|
407
|
+
}
|
|
408
|
+
/** Indicates that an additional filter cannot be empty */
|
|
409
|
+
interface AdditionalFilterCantBeEmpty {
|
|
410
|
+
}
|
|
411
|
+
/** Indicates that one or more filter operands are empty */
|
|
412
|
+
interface FilterOperandEmpty {
|
|
413
|
+
}
|
|
414
|
+
/** Indicates that information required for evaluating filters is missing */
|
|
415
|
+
interface MissingFilterTarget {
|
|
416
|
+
/**
|
|
417
|
+
* The type of filter that's missing its target
|
|
418
|
+
* @maxLength 5000
|
|
419
|
+
*/
|
|
420
|
+
filterType?: string;
|
|
421
|
+
}
|
|
422
|
+
/** Represents a general error during conduction */
|
|
423
|
+
interface GeneralError {
|
|
424
|
+
/**
|
|
425
|
+
* The serialized error message
|
|
426
|
+
* @maxLength 5000
|
|
427
|
+
*/
|
|
428
|
+
error?: string;
|
|
429
|
+
}
|
|
430
|
+
/** Indicates an error occurred while trying to extract an element from context for the purpose of filtering by bi-profile service */
|
|
431
|
+
interface MissingElementInContextForBiProfileError {
|
|
432
|
+
/**
|
|
433
|
+
* The specific type of element in the bi-profile filter that was being attempted to be extracted from the context
|
|
434
|
+
* @maxLength 100
|
|
435
|
+
*/
|
|
436
|
+
biProfileType?: string;
|
|
437
|
+
}
|
|
438
|
+
/** Indicates that an additional data was provided a missing value */
|
|
439
|
+
interface AdditionalDataMissingValue {
|
|
440
|
+
/**
|
|
441
|
+
* The key that was missing a value
|
|
442
|
+
* @maxLength 5000
|
|
443
|
+
*/
|
|
444
|
+
key?: string;
|
|
445
|
+
}
|
|
446
|
+
/** Indicates that library configuration is invalid */
|
|
447
|
+
interface InvalidLibraryConfiguration {
|
|
448
|
+
/**
|
|
449
|
+
* The reason why the configuration is invalid
|
|
450
|
+
* @maxLength 5000
|
|
451
|
+
*/
|
|
452
|
+
reason?: string;
|
|
453
|
+
}
|
|
454
|
+
/** Indicates that the conduction produced no result for this experiment */
|
|
455
|
+
interface NoResultForConduction {
|
|
456
|
+
}
|
|
457
|
+
interface GetAgentConfigRequest {
|
|
458
|
+
/**
|
|
459
|
+
* Project in the authenticated caller's SITE tenant.
|
|
460
|
+
* @format GUID
|
|
461
|
+
*/
|
|
462
|
+
projectId?: string;
|
|
463
|
+
}
|
|
464
|
+
interface GetAgentConfigResponse {
|
|
465
|
+
/** Full typed AppSmithSandboxAgent result; unsuccessful evaluation is not a successful default. */
|
|
466
|
+
result?: ConductResponse;
|
|
467
|
+
}
|
|
468
|
+
interface ConductResponse {
|
|
469
|
+
/** The result of conducting the dynamic config */
|
|
470
|
+
dynamicConfigResult?: DynamicConfigConductionResult;
|
|
471
|
+
}
|
|
472
|
+
interface DynamicConfigConductionResult {
|
|
473
|
+
/** The conducted value. A dynamic config's fields arrive in `struct_value` */
|
|
474
|
+
value?: VariantValue;
|
|
475
|
+
/**
|
|
476
|
+
* Provides additional information about the outcome of this dynamic config, so one failure
|
|
477
|
+
* does not obscure the rest of the scope
|
|
478
|
+
*/
|
|
479
|
+
status?: DynamicConfigStatus;
|
|
480
|
+
}
|
|
481
|
+
interface VariantValue extends VariantValueValueOneOf {
|
|
482
|
+
intValue?: number;
|
|
483
|
+
strValue?: string;
|
|
484
|
+
booleanValue?: boolean;
|
|
485
|
+
timestampValue?: Date | null;
|
|
486
|
+
structValue?: Record<string, any> | null;
|
|
487
|
+
}
|
|
488
|
+
/** @oneof */
|
|
489
|
+
interface VariantValueValueOneOf {
|
|
490
|
+
intValue?: number;
|
|
491
|
+
strValue?: string;
|
|
492
|
+
booleanValue?: boolean;
|
|
493
|
+
timestampValue?: Date | null;
|
|
494
|
+
structValue?: Record<string, any> | null;
|
|
495
|
+
}
|
|
496
|
+
/** Represents the status of a dynamic config IsEnabled evaluation result. */
|
|
497
|
+
interface DynamicConfigStatus extends DynamicConfigStatusStatusOneOf {
|
|
498
|
+
/** Indicates a successful evaluation with optional target group information */
|
|
499
|
+
successfulResult?: V1SuccessfulResult;
|
|
500
|
+
/** Indicates that a required seed value is missing */
|
|
501
|
+
missingSeed?: V1MissingSeed;
|
|
502
|
+
/** Indicates an error occurred while trying to filter based on populations */
|
|
503
|
+
populationError?: V1PopulationError;
|
|
504
|
+
/** Represents a general exception that occurred during evaluation */
|
|
505
|
+
conductionException?: V1ConductionException;
|
|
506
|
+
/** Indicates that a required seed type is missing */
|
|
507
|
+
missingSeedType?: V1MissingSeedType;
|
|
508
|
+
/** Indicates that a required seed key type is missing */
|
|
509
|
+
missingSeedKeyType?: V1MissingSeedKeyType;
|
|
510
|
+
/** Indicates that no dynamic config with the given ID was found */
|
|
511
|
+
missingExperimentId?: V1MissingExperimentId;
|
|
512
|
+
/** Indicates a failure to fetch the dynamic config */
|
|
513
|
+
failedToFetchExperiment?: V1FailedToFetchExperiment;
|
|
514
|
+
/** Indicates that necessary plugins are missing for evaluation */
|
|
515
|
+
missingPlugins?: V1MissingPlugins;
|
|
516
|
+
/** Indicates that the randomization process failed */
|
|
517
|
+
failedToRunToss?: V1FailedToRunToss;
|
|
518
|
+
/** Indicates that no eligible filter was found during evaluation */
|
|
519
|
+
didNotFindEligibleFilter?: V1DidNotFindEligibleFilter;
|
|
520
|
+
/** Indicates that a filter used in target groups is not supported */
|
|
521
|
+
filterNotSupported?: V1FilterNotSupported;
|
|
522
|
+
/** Indicates that a filter used in target groups is not implemented */
|
|
523
|
+
filterNotImplemented?: V1FilterNotImplemented;
|
|
524
|
+
/** Indicates that the user did not provide a required key in additional data */
|
|
525
|
+
additionalDataFilterMissingKey?: V1AdditionalDataFilterMissingKey;
|
|
526
|
+
/** Indicates that an additional data filter must have some key */
|
|
527
|
+
additionalDataFilterMustHaveKey?: V1AdditionalDataFilterMustHaveKey;
|
|
528
|
+
/** Indicates a type mismatch in additional data used by a filter */
|
|
529
|
+
additionalDataFilterMismatchType?: V1AdditionalDataFilterMismatchType;
|
|
530
|
+
/** Indicates that an additional filter cannot be empty */
|
|
531
|
+
additionalFilterCantBeEmpty?: V1AdditionalFilterCantBeEmpty;
|
|
532
|
+
/** Indicates that one or more filter operands are empty */
|
|
533
|
+
filterOperandEmpty?: V1FilterOperandEmpty;
|
|
534
|
+
/** Indicates that information required for evaluating filters is missing */
|
|
535
|
+
missingFilterTarget?: V1MissingFilterTarget;
|
|
536
|
+
/** Represents a general error during evaluation */
|
|
537
|
+
generalError?: V1GeneralError;
|
|
538
|
+
/** Included for forward-compatibility; the DC library does not currently emit this */
|
|
539
|
+
noResultForConduction?: V1NoResultForConduction;
|
|
540
|
+
/** Indicates an error occurred while trying to extract an element from context for bi-profile filtering */
|
|
541
|
+
missingElementInContextForBiProfileError?: V1MissingElementInContextForBiProfileError;
|
|
542
|
+
/** Indicates that additional data was provided a missing value */
|
|
543
|
+
additionalDataMissingValue?: V1AdditionalDataMissingValue;
|
|
544
|
+
/** Indicates the preserved "isEnabled" field was not found in the dynamic config variant */
|
|
545
|
+
isEnabledFieldNotFound?: IsEnabledFieldNotFound;
|
|
546
|
+
/** Indicates the "isEnabled" field exists but is not of type Boolean */
|
|
547
|
+
isEnabledFieldNotOfTypeBoolean?: IsEnabledFieldNotOfTypeBoolean;
|
|
548
|
+
/** Indicates that this operation is not implemented by the library implementation */
|
|
549
|
+
notImplemented?: NotImplemented;
|
|
550
|
+
}
|
|
551
|
+
/** @oneof */
|
|
552
|
+
interface DynamicConfigStatusStatusOneOf {
|
|
553
|
+
/** Indicates a successful evaluation with optional target group information */
|
|
554
|
+
successfulResult?: V1SuccessfulResult;
|
|
555
|
+
/** Indicates that a required seed value is missing */
|
|
556
|
+
missingSeed?: V1MissingSeed;
|
|
557
|
+
/** Indicates an error occurred while trying to filter based on populations */
|
|
558
|
+
populationError?: V1PopulationError;
|
|
559
|
+
/** Represents a general exception that occurred during evaluation */
|
|
560
|
+
conductionException?: V1ConductionException;
|
|
561
|
+
/** Indicates that a required seed type is missing */
|
|
562
|
+
missingSeedType?: V1MissingSeedType;
|
|
563
|
+
/** Indicates that a required seed key type is missing */
|
|
564
|
+
missingSeedKeyType?: V1MissingSeedKeyType;
|
|
565
|
+
/** Indicates that no dynamic config with the given ID was found */
|
|
566
|
+
missingExperimentId?: V1MissingExperimentId;
|
|
567
|
+
/** Indicates a failure to fetch the dynamic config */
|
|
568
|
+
failedToFetchExperiment?: V1FailedToFetchExperiment;
|
|
569
|
+
/** Indicates that necessary plugins are missing for evaluation */
|
|
570
|
+
missingPlugins?: V1MissingPlugins;
|
|
571
|
+
/** Indicates that the randomization process failed */
|
|
572
|
+
failedToRunToss?: V1FailedToRunToss;
|
|
573
|
+
/** Indicates that no eligible filter was found during evaluation */
|
|
574
|
+
didNotFindEligibleFilter?: V1DidNotFindEligibleFilter;
|
|
575
|
+
/** Indicates that a filter used in target groups is not supported */
|
|
576
|
+
filterNotSupported?: V1FilterNotSupported;
|
|
577
|
+
/** Indicates that a filter used in target groups is not implemented */
|
|
578
|
+
filterNotImplemented?: V1FilterNotImplemented;
|
|
579
|
+
/** Indicates that the user did not provide a required key in additional data */
|
|
580
|
+
additionalDataFilterMissingKey?: V1AdditionalDataFilterMissingKey;
|
|
581
|
+
/** Indicates that an additional data filter must have some key */
|
|
582
|
+
additionalDataFilterMustHaveKey?: V1AdditionalDataFilterMustHaveKey;
|
|
583
|
+
/** Indicates a type mismatch in additional data used by a filter */
|
|
584
|
+
additionalDataFilterMismatchType?: V1AdditionalDataFilterMismatchType;
|
|
585
|
+
/** Indicates that an additional filter cannot be empty */
|
|
586
|
+
additionalFilterCantBeEmpty?: V1AdditionalFilterCantBeEmpty;
|
|
587
|
+
/** Indicates that one or more filter operands are empty */
|
|
588
|
+
filterOperandEmpty?: V1FilterOperandEmpty;
|
|
589
|
+
/** Indicates that information required for evaluating filters is missing */
|
|
590
|
+
missingFilterTarget?: V1MissingFilterTarget;
|
|
591
|
+
/** Represents a general error during evaluation */
|
|
592
|
+
generalError?: V1GeneralError;
|
|
593
|
+
/** Included for forward-compatibility; the DC library does not currently emit this */
|
|
594
|
+
noResultForConduction?: V1NoResultForConduction;
|
|
595
|
+
/** Indicates an error occurred while trying to extract an element from context for bi-profile filtering */
|
|
596
|
+
missingElementInContextForBiProfileError?: V1MissingElementInContextForBiProfileError;
|
|
597
|
+
/** Indicates that additional data was provided a missing value */
|
|
598
|
+
additionalDataMissingValue?: V1AdditionalDataMissingValue;
|
|
599
|
+
/** Indicates the preserved "isEnabled" field was not found in the dynamic config variant */
|
|
600
|
+
isEnabledFieldNotFound?: IsEnabledFieldNotFound;
|
|
601
|
+
/** Indicates the "isEnabled" field exists but is not of type Boolean */
|
|
602
|
+
isEnabledFieldNotOfTypeBoolean?: IsEnabledFieldNotOfTypeBoolean;
|
|
603
|
+
/** Indicates that this operation is not implemented by the library implementation */
|
|
604
|
+
notImplemented?: NotImplemented;
|
|
605
|
+
}
|
|
606
|
+
/** Indicates a successful dynamic config evaluation */
|
|
607
|
+
interface V1SuccessfulResult {
|
|
608
|
+
/**
|
|
609
|
+
* Optional key representing the target group which matched with the caller's identity
|
|
610
|
+
* @maxLength 5000
|
|
611
|
+
*/
|
|
612
|
+
targetGroupKey?: string | null;
|
|
613
|
+
}
|
|
614
|
+
/** Indicates that a required seed value is missing */
|
|
615
|
+
interface V1MissingSeed {
|
|
616
|
+
/**
|
|
617
|
+
* The name of the missing seed
|
|
618
|
+
* @maxLength 5000
|
|
619
|
+
*/
|
|
620
|
+
seed?: string | null;
|
|
621
|
+
}
|
|
622
|
+
/** Indicates an error occurred while trying to filter based on populations */
|
|
623
|
+
interface V1PopulationError {
|
|
624
|
+
/**
|
|
625
|
+
* The serialized error message that occurred
|
|
626
|
+
* @maxLength 5000
|
|
627
|
+
*/
|
|
628
|
+
error?: string | null;
|
|
629
|
+
/**
|
|
630
|
+
* The list of population IDs involved in the error
|
|
631
|
+
* @maxLength 5000
|
|
632
|
+
* @maxSize 5000
|
|
633
|
+
*/
|
|
634
|
+
populationIds?: string[] | null;
|
|
635
|
+
}
|
|
636
|
+
/** Represents a general exception that occurred during evaluation */
|
|
637
|
+
interface V1ConductionException {
|
|
638
|
+
/**
|
|
639
|
+
* The serialized exception message
|
|
640
|
+
* @maxLength 5000
|
|
641
|
+
*/
|
|
642
|
+
error?: string | null;
|
|
643
|
+
}
|
|
644
|
+
/** Indicates that a required seed type is missing */
|
|
645
|
+
interface V1MissingSeedType {
|
|
646
|
+
}
|
|
647
|
+
/** Indicates that a required seed key type is missing */
|
|
648
|
+
interface V1MissingSeedKeyType {
|
|
649
|
+
}
|
|
650
|
+
/** Indicates that no dynamic config with the given ID was found */
|
|
651
|
+
interface V1MissingExperimentId {
|
|
652
|
+
}
|
|
653
|
+
/** Indicates a failure to fetch the dynamic config */
|
|
654
|
+
interface V1FailedToFetchExperiment {
|
|
655
|
+
/**
|
|
656
|
+
* The serialized error message encountered while fetching
|
|
657
|
+
* @maxLength 5000
|
|
658
|
+
*/
|
|
659
|
+
error?: string | null;
|
|
660
|
+
}
|
|
661
|
+
/** Indicates that necessary plugins are missing for evaluation */
|
|
662
|
+
interface V1MissingPlugins {
|
|
663
|
+
}
|
|
664
|
+
/** Indicates that the randomization process failed */
|
|
665
|
+
interface V1FailedToRunToss {
|
|
666
|
+
}
|
|
667
|
+
/** Indicates that no eligible filter was found during evaluation */
|
|
668
|
+
interface V1DidNotFindEligibleFilter {
|
|
669
|
+
}
|
|
670
|
+
/** Indicates that a filter used in target groups is not supported */
|
|
671
|
+
interface V1FilterNotSupported {
|
|
672
|
+
}
|
|
673
|
+
/** Indicates that a filter used in target groups is not implemented */
|
|
674
|
+
interface V1FilterNotImplemented {
|
|
675
|
+
}
|
|
676
|
+
/** Indicates that the user did not provide a required key in additional data */
|
|
677
|
+
interface V1AdditionalDataFilterMissingKey {
|
|
678
|
+
/**
|
|
679
|
+
* The missing key in the additional data
|
|
680
|
+
* @maxLength 5000
|
|
681
|
+
*/
|
|
682
|
+
key?: string | null;
|
|
683
|
+
}
|
|
684
|
+
/** Indicates that an additional data filter must have some key */
|
|
685
|
+
interface V1AdditionalDataFilterMustHaveKey {
|
|
686
|
+
}
|
|
687
|
+
/** Indicates a type mismatch in additional data used by a filter */
|
|
688
|
+
interface V1AdditionalDataFilterMismatchType {
|
|
689
|
+
}
|
|
690
|
+
/** Indicates that an additional filter cannot be empty */
|
|
691
|
+
interface V1AdditionalFilterCantBeEmpty {
|
|
692
|
+
}
|
|
693
|
+
/** Indicates that one or more filter operands are empty */
|
|
694
|
+
interface V1FilterOperandEmpty {
|
|
695
|
+
}
|
|
696
|
+
/** Indicates that information required for evaluating filters is missing */
|
|
697
|
+
interface V1MissingFilterTarget {
|
|
698
|
+
/**
|
|
699
|
+
* The type of filter that's missing its target
|
|
700
|
+
* @maxLength 5000
|
|
701
|
+
*/
|
|
702
|
+
filterType?: string | null;
|
|
703
|
+
}
|
|
704
|
+
/** Represents a general error during evaluation */
|
|
705
|
+
interface V1GeneralError {
|
|
706
|
+
/**
|
|
707
|
+
* The serialized error message
|
|
708
|
+
* @maxLength 5000
|
|
709
|
+
*/
|
|
710
|
+
error?: string | null;
|
|
711
|
+
}
|
|
712
|
+
/** Included for forward-compatibility; the DC library does not currently emit this */
|
|
713
|
+
interface V1NoResultForConduction {
|
|
714
|
+
}
|
|
715
|
+
/** Indicates an error occurred while trying to extract an element from context for bi-profile filtering */
|
|
716
|
+
interface V1MissingElementInContextForBiProfileError {
|
|
717
|
+
/**
|
|
718
|
+
* The specific type of element in the bi-profile filter
|
|
719
|
+
* @maxLength 100
|
|
720
|
+
*/
|
|
721
|
+
biProfileType?: string | null;
|
|
722
|
+
}
|
|
723
|
+
/** Indicates that additional data was provided a missing value */
|
|
724
|
+
interface V1AdditionalDataMissingValue {
|
|
725
|
+
/**
|
|
726
|
+
* The key that is missing a value
|
|
727
|
+
* @maxLength 5000
|
|
728
|
+
*/
|
|
729
|
+
key?: string | null;
|
|
730
|
+
}
|
|
731
|
+
/** Indicates the preserved "isEnabled" field was not found in the dynamic config variant */
|
|
732
|
+
interface IsEnabledFieldNotFound {
|
|
733
|
+
}
|
|
734
|
+
/** Indicates the "isEnabled" field exists but is not of type Boolean */
|
|
735
|
+
interface IsEnabledFieldNotOfTypeBoolean {
|
|
736
|
+
}
|
|
737
|
+
/** Indicates that this operation is not implemented by the library implementation */
|
|
738
|
+
interface NotImplemented {
|
|
739
|
+
}
|
|
158
740
|
interface CreateAgentSessionRequest {
|
|
159
741
|
/**
|
|
160
742
|
* ID of the Project to create an agent session for.
|
|
@@ -982,4 +1564,4 @@ interface ListProjectsOptions {
|
|
|
982
1564
|
*/
|
|
983
1565
|
declare function getHimalayaAuthorization(projectId: string): Promise<NonNullablePaths<GetHimalayaAuthorizationResponse, `authorizationVersion` | `metaSiteId` | `projectId` | `canonicalApp` | `workerLaunch` | `saveDesign`, 0>>;
|
|
984
1566
|
|
|
985
|
-
export { type AccountInfo, type ActionEvent, type CreateAgentSessionRequest, type CreateAgentSessionResponse, type CreateProjectRequest, type CreateProjectResponse, type CursorPaging, type CursorPagingMetadata, type Cursors, type DeleteProjectRequest, type DeleteProjectResponse, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type GetHimalayaAuthorizationRequest, type GetHimalayaAuthorizationResponse, type GetProjectRequest, type GetProjectResponse, type IdentificationData, type IdentificationDataIdOneOf, type ListProjectsForCurrentUserRequest, type ListProjectsForCurrentUserResponse, type ListProjectsOptions, type ListProjectsRequest, type ListProjectsResponse, type MessageEnvelope, Platform, type PlatformWithLiterals, type Project, type ProjectPlanReady, type ProjectResumeRequested, type ProjectStartRequested, ProjectStatus, type ProjectStatusWithLiterals, type RefreshAgentSiteTokenRequest, type RefreshAgentSiteTokenResponse, type RegenerateProjectIconRequest, type RegenerateProjectIconResponse, type RegenerateProjectNameRequest, type RegenerateProjectNameResponse, type RestoreInfo, type RestoreReleaseOptions, type RestoreReleaseRequest, type RestoreReleaseResponse, type ResumeProjectRequest, type ResumeProjectResponse, SandboxStatus, type SandboxStatusWithLiterals, type SaveProjectDesignOptions, type SaveProjectDesignRequest, type SaveProjectDesignResponse, type StartProjectRequest, type StartProjectResponse, type UpdateProject, type UpdateProjectRequest, type UpdateProjectResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, createProject, deleteProject, getHimalayaAuthorization, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, restoreRelease, resumeProject, saveProjectDesign, updateProject };
|
|
1567
|
+
export { type AccountInfo, type ActionEvent, type AdditionalDataFilterMismatchType, type AdditionalDataFilterMissingKey, type AdditionalDataFilterMustHaveKey, type AdditionalDataMissingValue, type AdditionalFilterCantBeEmpty, type ConductByScopeResponse, type ConductByScopesResponse, type ConductResponse, type ConductionException, type ConductionResult, type ConductionStatus, type ConductionStatusStatusOneOf, type CreateAgentSessionRequest, type CreateAgentSessionResponse, type CreateProjectRequest, type CreateProjectResponse, type CursorPaging, type CursorPagingMetadata, type Cursors, type DeleteProjectRequest, type DeleteProjectResponse, type DidNotFindEligibleFilter, type DomainEvent, type DomainEventBodyOneOf, type DynamicConfigConductionResult, type DynamicConfigStatus, type DynamicConfigStatusStatusOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FailedToFetchExperiment, type FailedToRunToss, type FilterNotImplemented, type FilterNotSupported, type FilterOperandEmpty, type GeneralError, type GetAgentConfigRequest, type GetAgentConfigResponse, type GetAgentExperimentsRequest, type GetAgentExperimentsResponse, type GetHimalayaAuthorizationRequest, type GetHimalayaAuthorizationResponse, type GetProjectRequest, type GetProjectResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidLibraryConfiguration, type IsEnabledFieldNotFound, type IsEnabledFieldNotOfTypeBoolean, type ListProjectsForCurrentUserRequest, type ListProjectsForCurrentUserResponse, type ListProjectsOptions, type ListProjectsRequest, type ListProjectsResponse, type MessageEnvelope, type MissingElementInContextForBiProfileError, type MissingExperimentId, type MissingFilterTarget, type MissingPlugins, type MissingSeed, type MissingSeedKeyType, type MissingSeedType, type NoResultForConduction, type NotImplemented, Platform, type PlatformWithLiterals, type PopulationError, type Project, type ProjectPlanReady, type ProjectResumeRequested, type ProjectStartRequested, ProjectStatus, type ProjectStatusWithLiterals, type RefreshAgentSiteTokenRequest, type RefreshAgentSiteTokenResponse, type RegenerateProjectIconRequest, type RegenerateProjectIconResponse, type RegenerateProjectNameRequest, type RegenerateProjectNameResponse, type RestoreInfo, type RestoreReleaseOptions, type RestoreReleaseRequest, type RestoreReleaseResponse, type ResumeProjectRequest, type ResumeProjectResponse, SandboxStatus, type SandboxStatusWithLiterals, type SaveProjectDesignOptions, type SaveProjectDesignRequest, type SaveProjectDesignResponse, type StartProjectRequest, type StartProjectResponse, type SuccessfulResult, type UpdateProject, type UpdateProjectRequest, type UpdateProjectResponse, type V1AdditionalDataFilterMismatchType, type V1AdditionalDataFilterMissingKey, type V1AdditionalDataFilterMustHaveKey, type V1AdditionalDataMissingValue, type V1AdditionalFilterCantBeEmpty, type V1ConductionException, type V1DidNotFindEligibleFilter, type V1FailedToFetchExperiment, type V1FailedToRunToss, type V1FilterNotImplemented, type V1FilterNotSupported, type V1FilterOperandEmpty, type V1GeneralError, type V1MissingElementInContextForBiProfileError, type V1MissingExperimentId, type V1MissingFilterTarget, type V1MissingPlugins, type V1MissingSeed, type V1MissingSeedKeyType, type V1MissingSeedType, type V1NoResultForConduction, type V1PopulationError, type V1SuccessfulResult, Variant, type VariantValue, type VariantValueValueOneOf, type VariantWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, createProject, deleteProject, getHimalayaAuthorization, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, restoreRelease, resumeProject, saveProjectDesign, updateProject };
|