@takeshape/schema 11.105.1 → 11.106.1

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.
Files changed (89) hide show
  1. package/dist/agents.d.ts +4 -4
  2. package/dist/agents.js +4 -4
  3. package/dist/migration/index.d.ts +1 -0
  4. package/dist/migration/index.js +3 -1
  5. package/dist/migration/to/v3.57.0.d.ts +4 -0
  6. package/dist/migration/to/v3.57.0.js +18 -0
  7. package/dist/migration/types.d.ts +7 -4
  8. package/dist/migration/types.js +3 -3
  9. package/dist/project-schema/index.d.ts +4 -1
  10. package/dist/project-schema/index.js +2 -1
  11. package/dist/project-schema/latest.d.ts +452 -260
  12. package/dist/project-schema/migrate.js +4 -1
  13. package/dist/project-schema/v3.57.0.d.ts +2597 -0
  14. package/dist/project-schema/v3.57.0.js +7 -0
  15. package/dist/refs.js +2 -2
  16. package/dist/schema-util.d.ts +2 -2
  17. package/dist/schemas/index.d.ts +2 -2
  18. package/dist/schemas/index.js +5 -3
  19. package/dist/schemas/project-schema/{experimental.json → experimental-2025-07.json} +1 -2
  20. package/dist/schemas/project-schema/latest.d.ts +180 -0
  21. package/dist/schemas/project-schema/latest.js +11 -0
  22. package/dist/schemas/project-schema/latest.json +1292 -12
  23. package/dist/schemas/project-schema/v3.48.0.json +2 -2
  24. package/dist/schemas/project-schema/v3.49.0.json +2 -2
  25. package/dist/schemas/project-schema/v3.50.0.json +3 -3
  26. package/dist/schemas/project-schema/v3.51.0.json +3 -3
  27. package/dist/schemas/project-schema/v3.52.0.json +3 -3
  28. package/dist/schemas/project-schema/v3.53.0.json +3 -3
  29. package/dist/schemas/project-schema/v3.54.0.json +3 -3
  30. package/dist/schemas/project-schema/v3.55.0.json +3 -3
  31. package/dist/schemas/project-schema/v3.56.0.json +7 -7
  32. package/dist/schemas/project-schema/v3.57.0.json +4810 -0
  33. package/dist/schemas/project-schema.json +3 -0
  34. package/dist/util/mcp.d.ts +1 -1
  35. package/dist/util/mcp.js +2 -2
  36. package/dist/validate/validate.d.ts +2 -1
  37. package/dist/validate/validate.js +15 -13
  38. package/examples/latest/agent-schema.json +174 -176
  39. package/examples/latest/all-fields-shapes-inline.json +1 -1
  40. package/examples/latest/all-fields-shapes.json +1 -1
  41. package/examples/latest/betzino.json +1 -1
  42. package/examples/latest/blog-schema.json +1 -1
  43. package/examples/latest/brewery-schema.json +1 -1
  44. package/examples/latest/clear-cache-schema.json +1 -1
  45. package/examples/latest/complex-project-schema.json +1 -1
  46. package/examples/latest/complex-schema.json +1 -1
  47. package/examples/latest/edit-schema.json +1 -1
  48. package/examples/latest/fabric-ecommerce.json +1 -1
  49. package/examples/latest/frank-and-fred-schema.json +1 -1
  50. package/examples/latest/klirr-schema.json +1 -1
  51. package/examples/latest/layers/rick-and-morty-layer.json +1 -1
  52. package/examples/latest/layers/shopify-layer-2023-01.json +1 -1
  53. package/examples/latest/layers/shopify-storefront-2023-04.json +1 -1
  54. package/examples/latest/layers/wordpress-2024-01.json +1 -1
  55. package/examples/latest/massive-schema.json +1 -1
  56. package/examples/latest/mill-components-schema.json +1 -1
  57. package/examples/latest/nested-shape-arrays.json +1 -1
  58. package/examples/latest/one-earth.json +1 -1
  59. package/examples/latest/pet-oneof-array.json +1 -1
  60. package/examples/latest/post-schema.json +1 -1
  61. package/examples/latest/pruned-shopify-product-schema.json +1 -1
  62. package/examples/latest/rag-example.json +1 -1
  63. package/examples/latest/real-world-schema.json +1 -1
  64. package/examples/latest/recursive-repeater-schema.json +1 -1
  65. package/examples/latest/recursive-schema.json +1 -1
  66. package/examples/latest/rick-and-morty-ast.json +1 -1
  67. package/examples/latest/rick-and-morty-graphql.json +1 -1
  68. package/examples/latest/rick-and-morty-rest.json +1 -1
  69. package/examples/latest/rick-and-morty-user-schema.json +1 -1
  70. package/examples/latest/rick-and-morty-with-indexing.json +1 -1
  71. package/examples/latest/schema-where-filter.json +1 -1
  72. package/examples/latest/schema-with-repeater-draftjs.json +1 -1
  73. package/examples/latest/schema-with-rick-and-morty.json +1 -1
  74. package/examples/latest/shape-books-v3_2_0.json +1 -1
  75. package/examples/latest/shape-books.json +1 -1
  76. package/examples/latest/shape-editor-schema-edited.json +1 -1
  77. package/examples/latest/shape-editor-schema-initial.json +1 -1
  78. package/examples/latest/shapedb-crud-every-prop-type.json +1 -1
  79. package/examples/latest/shopify-lookbook.json +1 -1
  80. package/examples/latest/shopify-product-2022-07.json +1 -1
  81. package/examples/latest/shopify-product-2023-04.json +1 -1
  82. package/examples/latest/shopify-store-with-widget.json +1 -1
  83. package/examples/latest/stripe-product-runtime-schema.json +1 -1
  84. package/examples/latest/stripe-starter-resolved.json +1 -1
  85. package/examples/latest/user-schema-no-required.json +1 -1
  86. package/examples/latest/user-schema-with-defaults.json +1 -1
  87. package/examples/latest/valvoline-ai-demo.json +1 -1
  88. package/examples/latest/vector-search-schema.json +1 -1
  89. package/package.json +27 -28
@@ -0,0 +1,2597 @@
1
+ /**
2
+ * This file was automatically generated by json-schema-to-typescript.
3
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
+ * and run json-schema-to-typescript to regenerate this file.
5
+ */
6
+ /**
7
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
8
+ * via the `definition` "args".
9
+ */
10
+ export type ArgsV3_57_0 = string | ObjectSchemaV3_57_0 | ExtendsSchemaV3_57_0;
11
+ /**
12
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
13
+ * via the `definition` "objectSchema".
14
+ */
15
+ export type ObjectSchemaV3_57_0 = PropertySchemaV3_57_0 & {
16
+ type: 'object';
17
+ properties: {
18
+ [k: string]: PropertySchemaV3_57_0;
19
+ };
20
+ };
21
+ /**
22
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
23
+ * via the `definition` "nonNegativeInteger".
24
+ */
25
+ export type NonNegativeIntegerV3_57_0 = number;
26
+ /**
27
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
28
+ * via the `definition` "nonNegativeIntegerDefault0".
29
+ */
30
+ export type NonNegativeIntegerDefault0V3_57_0 = NonNegativeIntegerV3_57_0;
31
+ /**
32
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
33
+ * via the `definition` "stringArray".
34
+ */
35
+ export type StringArrayV3_57_0 = string[];
36
+ /**
37
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
38
+ * via the `definition` "simpleTypes".
39
+ */
40
+ export type SimpleTypesV3_57_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
41
+ /**
42
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
43
+ * via the `definition` "schemaArray".
44
+ */
45
+ export type SchemaArrayV3_57_0 = PropertySchemaV3_57_0[];
46
+ /**
47
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
48
+ * via the `definition` "ref".
49
+ */
50
+ export type RefV3_57_0 = string;
51
+ /**
52
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
53
+ * via the `definition` "objectOrRefArray".
54
+ */
55
+ export type ObjectOrRefArrayV3_57_0 = (RefSchemaV3_57_0 | RefSchemaLegacyV3_57_0 | ObjectSchemaV3_57_0)[];
56
+ /**
57
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
58
+ * via the `definition` "fieldMapping".
59
+ */
60
+ export type FieldMappingV3_57_0 = MappingStringV3_57_0 | MappingStringV3_57_0[];
61
+ /**
62
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
63
+ * via the `definition` "mappingString".
64
+ */
65
+ export type MappingStringV3_57_0 = string;
66
+ /**
67
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
68
+ * via the `definition` "resolver".
69
+ */
70
+ export type ResolverV3_57_0 = BasicResolverV3_57_0 | ComposeResolverV3_57_0;
71
+ /**
72
+ * A single resolver, can be composed with the ComposeResolver.
73
+ *
74
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
75
+ * via the `definition` "basicResolver".
76
+ */
77
+ export type BasicResolverV3_57_0 = UtilResolverV3_57_0 | DelegateResolverV3_57_0 | TakeshapeResolverV3_57_0 | ShapedbResolverV3_57_0 | ShapedbResolverShapeNameNotRequiredV3_57_0 | GraphqlResolverV3_57_0 | RestResolverV3_57_0 | AwsLambdaResolverV3_57_0 | SalsifyResolverV3_57_0 | SyndigoResolverV3_57_0 | FunctionResolverV3_57_0 | AIGenerateTextResolverV3_57_0 | AIGeneratePropertyResolverV3_57_0 | AIEmbeddingResolverV3_57_0 | AIEmbeddingSearchResolverV3_57_0 | AIParseFileResolverV3_57_0 | ChunkResolverV3_57_0 | AISendAgentMessageResolverV3_57_0 | AIInspectAgentResolverV3_57_0 | AICreateAgentSessionResolverV3_57_0 | AIGetAgentMessageResolverV3_57_0 | AIAbortAgentMessageResolverV3_57_0 | AISendAgentFeedbackResolverV3_57_0;
78
+ /**
79
+ * Name of the resolver function.
80
+ */
81
+ export type UtilResolverNameV3_57_0 = 'util:noop' | 'util:wrap';
82
+ /**
83
+ * An object describing an operation to generate a parameter.
84
+ *
85
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
86
+ * via the `definition` "parameterOp".
87
+ */
88
+ export type ParameterOpV3_57_0 = ParameterOpNestedV3_57_0 | ParameterOpValueV3_57_0 | ParameterOpMappingV3_57_0 | ParameterOpOpV3_57_0;
89
+ /**
90
+ * A tuple with a string directive name, and options to pass to the directive
91
+ *
92
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
93
+ * via the `definition` "directiveConfigItem".
94
+ */
95
+ export type DirectiveConfigItemV3_57_0 = [DirectiveNameV3_57_0, DirectiveOptionsV3_57_0];
96
+ export type DirectiveNameV3_57_0 = string;
97
+ /**
98
+ * An array of individual directive config items to process in order
99
+ *
100
+ * This interface was referenced by `DirectiveMappingMapV3_57_0`'s JSON-Schema definition
101
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
102
+ *
103
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
104
+ * via the `definition` "directiveConfig".
105
+ */
106
+ export type DirectiveConfigV3_57_0 = DirectiveConfigItemV3_57_0[];
107
+ /**
108
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
109
+ * via the `definition` "parameterOpList".
110
+ */
111
+ export type ParameterOpListV3_57_0 = ParameterOpV3_57_0[];
112
+ /**
113
+ * Maps a query's input args to the input expected by the service's endpoint.
114
+ *
115
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
116
+ * via the `definition` "argsMapping".
117
+ */
118
+ export type ArgsMappingV3_57_0 = DirectiveMappingMapV3_57_0 | DirectiveConfigV3_57_0;
119
+ /**
120
+ * Maps a service endpoint's response results to the expected shape of the query's response.
121
+ *
122
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
123
+ * via the `definition` "resultsMapping".
124
+ */
125
+ export type ResultsMappingV3_57_0 = DirectiveMappingMapV3_57_0 | DirectiveConfigV3_57_0;
126
+ /**
127
+ * Name of the resolver function.
128
+ */
129
+ export type DelegateResolverNameV3_57_0 = 'delegate';
130
+ /**
131
+ * Name of the resolver function.
132
+ */
133
+ export type TakeshapeResolverNameV3_57_0 = 'takeshape:get' | 'takeshape:getUser' | 'takeshape:search' | 'takeshape:vectorSearch' | 'takeshape:queryApiIndex' | 'takeshape:assetUrl' | 'takeshape:assetImage' | 'takeshape:assetImageMeta';
134
+ /**
135
+ * Name of the resolver function.
136
+ */
137
+ export type ShapedbResolverNameV3_57_0 = 'shapedb:get' | 'shapedb:create' | 'shapedb:update' | 'shapedb:delete' | 'shapedb:duplicate' | 'shapedb:find';
138
+ /**
139
+ * Name of the resolver function.
140
+ */
141
+ export type ShapedbResolverShapeNameNotRequiredNameV3_57_0 = 'shapedb:list' | 'shapedb:taxonomySuggest' | 'shapedb:getRelated';
142
+ /**
143
+ * Name of the resolver function.
144
+ */
145
+ export type GraphqlResolverNameV3_57_0 = 'graphql:query' | 'graphql:mutation' | 'shopify:bulkQuery';
146
+ /**
147
+ * Name of the resolver function.
148
+ */
149
+ export type RestResolverNameV3_57_0 = 'rest:get' | 'rest:head' | 'rest:post' | 'rest:put' | 'rest:patch' | 'rest:delete';
150
+ /**
151
+ * A tuple with a string key and a directive config to evaluate
152
+ *
153
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
154
+ * via the `definition` "directiveMappingArrayItem".
155
+ */
156
+ export type DirectiveMappingArrayItemV3_57_0 = [string, DirectiveConfigV3_57_0];
157
+ /**
158
+ * An array of key / value or directive config tuples
159
+ */
160
+ export type SearchParamsMappingV3_57_0 = DirectiveMappingArrayItemV3_57_0[];
161
+ /**
162
+ * Name of the resolver function.
163
+ */
164
+ export type AwsLambdaResolverNameV3_57_0 = 'awsLambda:invoke';
165
+ /**
166
+ * Name of the resolver function.
167
+ */
168
+ export type SalsifyResolverNameV3_57_0 = 'salsify:listChannelProducts';
169
+ /**
170
+ * Name of the resolver function.
171
+ */
172
+ export type SyndigoResolverNameV3_57_0 = 'syndigo:searchProducts';
173
+ /**
174
+ * Name of the resolver function.
175
+ */
176
+ export type FunctionResolverNameV3_57_0 = 'function:run';
177
+ export type FunctionResolverJavascriptV3_57_0 = string;
178
+ /**
179
+ * Name of the resolver function.
180
+ */
181
+ export type AIResolverNameV3_57_0 = 'ai:generateText' | 'ai:chat';
182
+ export type HistoryV3_57_0 = boolean;
183
+ /**
184
+ * Maximum number of tokens to generate.
185
+ */
186
+ export type MaximumTokensV3_57_0 = number;
187
+ /**
188
+ * This is a number between 0 (almost no randomness) and 1 (very random). It is recommended to set either `temperature` or `topP`, but not both. Defaults to 0
189
+ */
190
+ export type TemperatureV3_57_0 = number;
191
+ /**
192
+ * Nucleus sampling. This is a number between 0 and 1. E.g. 0.1 would mean that only tokens with the top 10% probability mass are considered. It is recommended to set either `temperature` or `topP`, but not both.
193
+ */
194
+ export type TopPV3_57_0 = number;
195
+ /**
196
+ * Only sample from the top K options for each subsequent token. Used to remove "long tail" low probability responses. Recommended for advanced use cases only. You usually only need to use temperature.
197
+ */
198
+ export type TopKV3_57_0 = number;
199
+ /**
200
+ * It affects the likelihood of the model to repeat information that is already in the prompt. The presence penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
201
+ */
202
+ export type PresencePenaltySettingV3_57_0 = number;
203
+ /**
204
+ * It affects the likelihood of the model to repeatedly use the same words or phrases. The frequency penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
205
+ */
206
+ export type FrequencyPenaltySettingV3_57_0 = number;
207
+ /**
208
+ * If set, the model will stop generating text when one of the stop sequences is generated.
209
+ */
210
+ export type StopSequencesV3_57_0 = string[];
211
+ /**
212
+ * The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
213
+ */
214
+ export type SeedV3_57_0 = number;
215
+ /**
216
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
217
+ * via the `definition` "aiGuardrail".
218
+ */
219
+ export type AIGuardrailV3_57_0 = AISimilarityGuardrailV3_57_0;
220
+ /**
221
+ * Name of the resolver function.
222
+ */
223
+ export type AIResolverNameV3_57_01 = 'ai:generateProperty';
224
+ /**
225
+ * Name of the resolver function.
226
+ */
227
+ export type AIResolverNameV3_57_02 = 'ai:createEmbedding';
228
+ /**
229
+ * Name of the resolver function.
230
+ */
231
+ export type AIResolverNameV3_57_03 = 'ai:embeddingSearch';
232
+ /**
233
+ * Name of the resolver function.
234
+ */
235
+ export type AIResolverNameV3_57_04 = 'ai:parseFile';
236
+ /**
237
+ * Name of the resolver function.
238
+ */
239
+ export type UtilResolverNameV3_57_01 = 'util:chunk';
240
+ /**
241
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
242
+ * via the `definition` "utilChunkResolverOptions".
243
+ */
244
+ export type UtilChunkResolverOptionsV3_57_0 = UtilChunkResolverOptionsCharacterCountV3_57_0 | UtilChunkResolverOptionsSeparatorsV3_57_0 | UtilChunkResolverOptionsMarkdownV3_57_0 | UtilChunkResolverOptionsSemanticV3_57_0;
245
+ /**
246
+ * Name of the resolver function.
247
+ */
248
+ export type AIResolverNameV3_57_05 = 'ai:sendAgentMessage';
249
+ /**
250
+ * Name of the resolver function.
251
+ */
252
+ export type AIResolverNameV3_57_06 = 'ai:inspectAgent';
253
+ /**
254
+ * Name of the resolver function.
255
+ */
256
+ export type AIResolverNameV3_57_07 = 'ai:createAgentSession';
257
+ /**
258
+ * Name of the resolver function.
259
+ */
260
+ export type AIResolverNameV3_57_08 = 'ai:getAgentMessage';
261
+ /**
262
+ * Name of the resolver function.
263
+ */
264
+ export type AIResolverNameV3_57_09 = 'ai:abortAgentMessage';
265
+ /**
266
+ * Name of the resolver function.
267
+ */
268
+ export type AIResolverNameV3_57_010 = 'ai:sendAgentFeedback';
269
+ /**
270
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
271
+ * via the `definition` "dependencies".
272
+ */
273
+ export type DependenciesV3_57_0 = string;
274
+ /**
275
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
276
+ * via the `definition` "extendsSchema".
277
+ */
278
+ export type ExtendsSchemaV3_57_0 = PropertySchemaV3_57_0 & {
279
+ extends: ObjectOrRefArrayV3_57_0;
280
+ };
281
+ /**
282
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
283
+ * via the `definition` "returnShape".
284
+ */
285
+ export type ReturnShapeV3_57_0 = string | ReturnShapeArraySchemaV3_57_0;
286
+ /**
287
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
288
+ * via the `definition` "returnShapeArraySchema".
289
+ */
290
+ export type ReturnShapeArraySchemaV3_57_0 = PropertySchemaV3_57_0 & {
291
+ type: 'array';
292
+ items: RefSchemaV3_57_0 | {
293
+ type: 'boolean' | 'integer' | 'number' | 'string' | 'object';
294
+ [k: string]: any;
295
+ };
296
+ };
297
+ export type ModelTypeV3_57_0 = 'single' | 'multiple' | 'taxonomy';
298
+ /**
299
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
300
+ * via the `definition` "paginationConfig".
301
+ */
302
+ export type PaginationConfigV3_57_0 = PaginationCursorConfigV3_57_0 | PaginationPageConfigV3_57_0 | PaginationOffsetConfigV3_57_0;
303
+ /**
304
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
305
+ * via the `definition` "cacheTriggerConfig".
306
+ */
307
+ export type CacheTriggerConfigV3_57_0 = CacheScheduleTriggerConfigV3_57_0 | CacheWebhookTriggerConfigV3_57_0;
308
+ /**
309
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
310
+ * via the `definition` "shapeSchema".
311
+ */
312
+ export type ShapeSchemaV3_57_0 = ShapeSchemaAllOfV3_57_0 | ShapeSchemaExtendsV3_57_0 | ShapeSchemaOneOfV3_57_0 | ShapeSchemaEnumV3_57_0 | ObjectSchemaV3_57_0 | ShapeSchemaAnyV3_57_0;
313
+ /**
314
+ * Human-readable id for use in the UI
315
+ */
316
+ export type WorkflowNameV3_57_0 = string;
317
+ /**
318
+ * machine-readable slug
319
+ */
320
+ export type NameV3_57_0 = string;
321
+ /**
322
+ * Human-readable id for use in the UI
323
+ */
324
+ export type TitleV3_57_0 = string;
325
+ export type DescriptionV3_57_0 = string;
326
+ /**
327
+ * Hex color code
328
+ */
329
+ export type ColorV3_57_0 = string;
330
+ /**
331
+ * Value to indicate whether items in the state should be returned in list queries
332
+ */
333
+ export type LiveV3_57_0 = boolean;
334
+ /**
335
+ * machine-readable id
336
+ */
337
+ export type KeyV3_57_0 = string;
338
+ export type StepsV3_57_0 = WorkflowStepV3_57_0[];
339
+ /**
340
+ * The general type of this service, specifying how and where it will be utilized.
341
+ *
342
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
343
+ * via the `definition` "serviceType".
344
+ */
345
+ export type ServiceTypeV3_57_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
346
+ /**
347
+ * The name of a health check to run
348
+ */
349
+ export type CheckNameV3_57_0 = 'graphqlIntrospection' | 'ping' | 'none';
350
+ /**
351
+ * The endpoint to use when checking the service health.
352
+ */
353
+ export type EndpointV3_57_0 = string;
354
+ /**
355
+ * A custom method to use for the health check request.
356
+ */
357
+ export type RequestMethodV3_57_0 = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
358
+ /**
359
+ * A custom body to send along with the ping request.
360
+ */
361
+ export type RequestBodyV3_57_0 = string;
362
+ /**
363
+ * A custom body to send along with the ping request.
364
+ */
365
+ export type RequestBodyFormatV3_57_0 = 'string' | 'form' | 'json' | 'form-data';
366
+ /**
367
+ * The amount of time to wait when receiving a response from the health check, in seconds.
368
+ */
369
+ export type RequestTimeoutV3_57_0 = number;
370
+ /**
371
+ * The response status code that qualifies as healthy.
372
+ */
373
+ export type HealthyResponseStatusCodeV3_57_0 = number;
374
+ /**
375
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
376
+ * via the `definition` "serviceHealthCheckTrigger".
377
+ */
378
+ export type ServiceHealthCheckTriggerV3_57_0 = 'manual' | 'schedule';
379
+ /**
380
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
381
+ * via the `definition` "agentApiInput".
382
+ */
383
+ export type AgentAPIInputV3_57_0 = AgentAPIMutationInputV3_57_0;
384
+ export type InteractionTimeoutMillisecondsV3_57_0 = number;
385
+ export type AgentStateSessionMemoryV3_57_0 = AgentStateSessionMemoryAssignmentV3_57_0[];
386
+ export type VariablesV3_57_0 = AgentVariableV3_57_0[];
387
+ /**
388
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
389
+ * via the `definition` "agentExecution".
390
+ */
391
+ export type AgentExecutionV3_57_0 = AgentExecutionGraphQLV3_57_0 | AgentExecutionGenerateV3_57_0 | AgentExecutionChatV3_57_0;
392
+ /**
393
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
394
+ * via the `definition` "agentAiStateInput".
395
+ */
396
+ export type AgentAIStateInputV3_57_0 = AgentAIStateInputArgumentV3_57_0 | AgentAIStateInputTemplateV3_57_0;
397
+ /**
398
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
399
+ * via the `definition` "agentToolConfigArg".
400
+ */
401
+ export type AgentToolConfigArgV3_57_0 = AgentControlledV3_57_0 | VariableValueV3_57_0;
402
+ /**
403
+ * The argument name that will be exposed by the tool for the LLM to use.
404
+ */
405
+ export type ToolArgumentNameV3_57_0 = string;
406
+ /**
407
+ * Name of argument to pass value to. This prevents the LLM from setting the argument.
408
+ */
409
+ export type ToolArgumentNameV3_57_01 = string;
410
+ /**
411
+ * Name of variable to pull value from.
412
+ */
413
+ export type StateVariableNameV3_57_0 = string;
414
+ export type HistoryV3_57_01 = boolean;
415
+ /**
416
+ * Maximum number of tokens to generate. Defaults to 1024
417
+ */
418
+ export type MaximumTokensV3_57_01 = number;
419
+ /**
420
+ * This is a number between 0 (almost no randomness) and 1 (very random). It is recommended to set either `temperature` or `topP`, but not both. Defaults to 0
421
+ */
422
+ export type TemperatureV3_57_01 = number;
423
+ /**
424
+ * Nucleus sampling. This is a number between 0 and 1. E.g. 0.1 would mean that only tokens with the top 10% probability mass are considered. It is recommended to set either `temperature` or `topP`, but not both.
425
+ */
426
+ export type TopPV3_57_01 = number;
427
+ /**
428
+ * Only sample from the top K options for each subsequent token. Used to remove "long tail" low probability responses. Recommended for advanced use cases only. You usually only need to use temperature.
429
+ */
430
+ export type TopKV3_57_01 = number;
431
+ /**
432
+ * It affects the likelihood of the model to repeat information that is already in the prompt. The presence penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
433
+ */
434
+ export type PresencePenaltySettingV3_57_01 = number;
435
+ /**
436
+ * It affects the likelihood of the model to repeatedly use the same words or phrases. The frequency penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
437
+ */
438
+ export type FrequencyPenaltySettingV3_57_01 = number;
439
+ /**
440
+ * If set, the model will stop generating text when one of the stop sequences is generated.
441
+ */
442
+ export type StopSequencesV3_57_01 = string[];
443
+ /**
444
+ * The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
445
+ */
446
+ export type SeedV3_57_01 = number;
447
+ /**
448
+ * Maximal number of automatic roundtrips for tool calls.
449
+ */
450
+ export type MaxToolRoundtripsV3_57_0 = number;
451
+ /**
452
+ * If true, structured outputs will be enabled on the model for non-text requests.
453
+ */
454
+ export type StructuredOutputsV3_57_0 = boolean;
455
+ /**
456
+ * Enable OpenAI schema format. Must be enabled if `structuredOutputs` is enabled.
457
+ */
458
+ export type EnableOpenAISchemaFormatV3_57_0 = boolean;
459
+ export type MinimatchPatternV3_57_0 = string;
460
+ /**
461
+ * Remove properties from the schema sent to the model with keys matching these minimatch glob patterns.
462
+ *
463
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
464
+ * via the `definition` "removePropertyKeyPatterns".
465
+ */
466
+ export type RemovePropertyKeyPatternsV3_57_0 = MinimatchPatternV3_57_0[];
467
+ /**
468
+ * Remove Markdown formatting from the LLM response
469
+ */
470
+ export type StripMarkdownV3_57_0 = boolean;
471
+ /**
472
+ * These steps are evaluated in order until a destination is found.
473
+ *
474
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
475
+ * via the `definition` "agentTransition".
476
+ */
477
+ export type AgentTransitionV3_57_0 = AgentTransitionImmediateV3_57_0 | AgentTransitionSuspendV3_57_0;
478
+ export type AgentStateSessionMemoryV3_57_01 = AgentStateSessionMemoryAssignmentV3_57_0[];
479
+ export type GuardIDV3_57_0 = string;
480
+ export type VariablesV3_57_01 = AgentVariableV3_57_0[];
481
+ /**
482
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
483
+ * via the `definition` "historyStrategyTransform".
484
+ */
485
+ export type HistoryStrategyTransformV3_57_0 = HistoryStrategyTransformNoneV3_57_0 | HistoryStrategyTransformReplaceV3_57_0 | HistoryStrategyTransformSummarizeV3_57_0;
486
+ /**
487
+ * The human-readable name of the Guard.
488
+ */
489
+ export type NameV3_57_01 = string;
490
+ /**
491
+ * A description of the Guard.
492
+ */
493
+ export type DescriptionV3_57_01 = string;
494
+ /**
495
+ * Guards will not run unless enabled.
496
+ */
497
+ export type EnabledV3_57_0 = boolean;
498
+ /**
499
+ * The remote id of the Guardrail.
500
+ */
501
+ export type GuardrailIdentifierV3_57_0 = string;
502
+ /**
503
+ * The remote version of the Guardrail.
504
+ */
505
+ export type GuardrailVersionV3_57_0 = string;
506
+ /**
507
+ * A message to return when the input message is blocked by the Guard.
508
+ */
509
+ export type BlockedInputMessagingV3_57_0 = string;
510
+ /**
511
+ * A message to return when the output message is blocked by the Guard.
512
+ */
513
+ export type BlockedOutputsMessagingV3_57_0 = string;
514
+ export type ExampleV3_57_0 = string;
515
+ /**
516
+ * A topic to block.
517
+ */
518
+ export type TopicV3_57_0 = {
519
+ name: string;
520
+ definition: string;
521
+ /**
522
+ * Examples of the topic that can hint the LLM.
523
+ */
524
+ examples?: ExampleV3_57_0[];
525
+ type: 'DENY';
526
+ }[];
527
+ export type InputStrengthV3_57_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
528
+ export type OutputStrengthV3_57_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
529
+ /**
530
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
531
+ * via the `definition` "guardrailModality".
532
+ */
533
+ export type GuardrailModalityV3_57_0 = 'TEXT' | 'IMAGE';
534
+ /**
535
+ * Whether to filter images or text
536
+ */
537
+ export type InputModalitiesV3_57_0 = GuardrailModalityV3_57_0[];
538
+ /**
539
+ * Whether to filter images or text
540
+ */
541
+ export type OutputModalitiesV3_57_0 = GuardrailModalityV3_57_0[];
542
+ /**
543
+ * Types of content to filter.
544
+ */
545
+ export type FilterV3_57_0 = {
546
+ type: 'HATE' | 'INSULTS' | 'MICONDUCT' | 'PROMPT_ATTACK' | 'SEXUAL' | 'VIOLENCE';
547
+ inputStrength: InputStrengthV3_57_0;
548
+ outputStrength: OutputStrengthV3_57_0;
549
+ inputModalities?: InputModalitiesV3_57_0;
550
+ outputModalities?: OutputModalitiesV3_57_0;
551
+ }[];
552
+ /**
553
+ * Specific words to block.
554
+ */
555
+ export type WordListV3_57_0 = {
556
+ text: string;
557
+ }[];
558
+ /**
559
+ * This is solely used for blocking profanity.
560
+ */
561
+ export type ManagedWordListV3_57_0 = {
562
+ type: 'PROFANITY';
563
+ }[];
564
+ /**
565
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
566
+ * via the `definition` "guardrailSensitiveInformationAction".
567
+ */
568
+ export type GuardrailSensitiveInformationActionV3_57_0 = 'ANONYMIZE' | 'BLOCK';
569
+ /**
570
+ * PII entity to infer from the text.
571
+ */
572
+ export type PIIEntityV3_57_0 = {
573
+ type: 'ADDRESS' | 'AGE' | 'AWS_ACCESS_KEY' | 'AWS_SECRET_KEY' | 'CA_HEALTH_NUMBER' | 'CA_SOCIAL_INSURANCE_NUMBER' | 'CREDIT_DEBIT_CARD_CVV' | 'CREDIT_DEBIT_CARD_EXPIRY' | 'CREDIT_DEBIT_CARD_NUMBER' | 'DRIVER_ID' | 'EMAIL' | 'INTERNATIONAL_BANK_ACCOUNT_NUMBER' | 'IP_ADDRESS' | 'LICENSE_PLATE' | 'MAC_ADDRESS' | 'NAME' | 'PASSWORD' | 'PHONE' | 'PIN' | 'SWIFT_CODE' | 'UK_NATIONAL_HEALTH_SERVICE_NUMBER' | 'UK_NATIONAL_INSURANCE_NUMBER' | 'UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER' | 'URL' | 'USERNAME' | 'US_BANK_ACCOUNT_NUMBER' | 'US_BANK_ROUTING_NUMBER' | 'US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER' | 'US_PASSPORT_NUMBER' | 'US_SOCIAL_SECURITY_NUMBER' | 'VEHICLE_IDENTIFICATION_NUMBER';
574
+ action: GuardrailSensitiveInformationActionV3_57_0;
575
+ }[];
576
+ /**
577
+ * A regular expression to match sensitive information.
578
+ */
579
+ export type RegularExpressionV3_57_0 = {
580
+ name: string;
581
+ description?: string;
582
+ pattern: string;
583
+ action: GuardrailSensitiveInformationActionV3_57_0;
584
+ }[];
585
+ /**
586
+ * The type of filter.
587
+ */
588
+ export type TypeV3_57_0 = 'GROUNDING' | 'RELEVANCE';
589
+ /**
590
+ * The threshold for the filter as a floating point value greater than 0.0 and less than 1.0.
591
+ */
592
+ export type ThresholdV3_57_0 = number;
593
+ /**
594
+ * Filter to evaluate grounding text.
595
+ */
596
+ export type FilterV3_57_01 = {
597
+ type: TypeV3_57_0;
598
+ threshold: ThresholdV3_57_0;
599
+ }[];
600
+ /**
601
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
602
+ * via the `definition` "toolArg".
603
+ */
604
+ export type ToolArgV3_57_0 = AgentControlledV3_57_0;
605
+ /**
606
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
607
+ * via the `definition` "allOfSchema".
608
+ */
609
+ export type AllOfSchemaV3_57_0 = PropertySchemaV3_57_0 & {
610
+ allOf: ObjectOrRefArrayV3_57_0;
611
+ };
612
+ /**
613
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
614
+ * via the `definition` "oneOfSchema".
615
+ */
616
+ export type OneOfSchemaV3_57_0 = PropertySchemaV3_57_0 & {
617
+ oneOf: ObjectOrRefArrayV3_57_0;
618
+ };
619
+ /**
620
+ * Options to be passed to the serialization routine.
621
+ *
622
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
623
+ * via the `definition` "parameterSerializeOptions".
624
+ *
625
+ * This interface was referenced by `undefined`'s JSON-Schema definition
626
+ * via the `patternProperty` "^[^\n\r]*$".
627
+ */
628
+ export type ParameterSerializeOptionsV3_57_0 = ParameterSerializeStyleOptionsV3_57_0 | ParameterSerializeContentOptionsV3_57_0;
629
+ /**
630
+ * An array of key / value or directive config tuples
631
+ *
632
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
633
+ * via the `definition` "directiveMappingArray".
634
+ */
635
+ export type DirectiveMappingArrayV3_57_0 = DirectiveMappingArrayItemV3_57_0[];
636
+ /**
637
+ * A resolver which references a specific service
638
+ *
639
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
640
+ * via the `definition` "serviceResolver".
641
+ */
642
+ export type ServiceResolverV3_57_0 = TakeshapeResolverV3_57_0 | ShapedbResolverShapeNameNotRequiredV3_57_0 | ShapedbResolverV3_57_0 | GraphqlResolverV3_57_0 | RestResolverV3_57_0 | AwsLambdaResolverV3_57_0;
643
+ /**
644
+ * An array of key / value or directive config tuples
645
+ *
646
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
647
+ * via the `definition` "searchParamsMapping".
648
+ */
649
+ export type SearchParamsMappingV3_57_01 = DirectiveMappingArrayItemV3_57_0[];
650
+ /**
651
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
652
+ * via the `definition` "shapeWithObjectSchema".
653
+ */
654
+ export type ShapeWithObjectSchemaV3_57_0 = ShapeJSONV3_57_0 & {
655
+ schema: ObjectSchemaV3_57_0;
656
+ };
657
+ /**
658
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
659
+ * via the `definition` "serviceAuthentication".
660
+ */
661
+ export type ServiceAuthenticationV3_57_0 = OAuth2AuthenticationV3_57_0 | OAuth2BearerAuthenticationV3_57_0 | BearerAuthenticationV3_57_0 | BasicAuthenticationV3_57_0 | SearchParamsAuthenticationV3_57_0 | AWSAuthenticationV3_57_0 | GoogleAuthenticationV3_57_0 | CustomAuthenticationV3_57_0;
662
+ /**
663
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
664
+ * via the `definition` "anyServiceConfig".
665
+ */
666
+ export type AnyServiceConfigV3_57_0 = ServiceConfigJSONV3_57_0 | ServiceConfigV3_57_0;
667
+ export interface ProjectSchemaJSONV3_57_0 {
668
+ $schema?: string;
669
+ /**
670
+ * The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
671
+ */
672
+ apiVersion: string;
673
+ /**
674
+ * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
675
+ */
676
+ schemaVersion: '3.57.0';
677
+ /**
678
+ * The ID of the TakeShape project this schema belongs to.
679
+ */
680
+ projectId: string;
681
+ /**
682
+ * The ID of the TakeShape user who created the schema.
683
+ */
684
+ author?: string;
685
+ deactivated?: number;
686
+ /**
687
+ * The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
688
+ */
689
+ defaultLocale: string;
690
+ locales: string[];
691
+ queries: QueryMapV3_57_0;
692
+ mutations: QueryMapV3_57_0;
693
+ shapes: ShapeMapV3_57_0;
694
+ forms?: FormMapV3_57_0;
695
+ workflows: WorkflowMapV3_57_0;
696
+ services?: ServiceMapJSONV3_57_0;
697
+ agents?: AgentMapV3_57_0;
698
+ guards?: GuardMapV3_57_0;
699
+ mcp?: MCPServerConfigurationV3_57_0;
700
+ }
701
+ /**
702
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
703
+ * via the `definition` "queryMap".
704
+ */
705
+ export interface QueryMapV3_57_0 {
706
+ [k: string]: QueryJSONV3_57_0;
707
+ }
708
+ /**
709
+ * This interface was referenced by `QueryMapV3_57_0`'s JSON-Schema definition
710
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
711
+ *
712
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
713
+ * via the `definition` "query".
714
+ */
715
+ export interface QueryJSONV3_57_0 {
716
+ args?: ArgsV3_57_0;
717
+ resolver: ResolverV3_57_0;
718
+ shape: ReturnShapeV3_57_0;
719
+ /**
720
+ * Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
721
+ */
722
+ description?: string;
723
+ }
724
+ /**
725
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
726
+ * via the `definition` "propertySchema".
727
+ */
728
+ export interface PropertySchemaV3_57_0 {
729
+ $ref?: string;
730
+ title?: string;
731
+ description?: string;
732
+ default?: any;
733
+ readOnly?: boolean;
734
+ multipleOf?: number;
735
+ maximum?: number;
736
+ exclusiveMaximum?: number;
737
+ minimum?: number;
738
+ exclusiveMinimum?: number;
739
+ maxLength?: NonNegativeIntegerV3_57_0;
740
+ minLength?: NonNegativeIntegerDefault0V3_57_0;
741
+ pattern?: string;
742
+ additionalItems?: PropertySchemaV3_57_0;
743
+ items?: PropertySchemaV3_57_0;
744
+ maxItems?: NonNegativeIntegerV3_57_0;
745
+ minItems?: NonNegativeIntegerDefault0V3_57_0;
746
+ uniqueItems?: boolean;
747
+ contains?: PropertySchemaV3_57_0;
748
+ maxProperties?: NonNegativeIntegerV3_57_0;
749
+ minProperties?: NonNegativeIntegerDefault0V3_57_0;
750
+ required?: StringArrayV3_57_0;
751
+ additionalProperties?: PropertySchemaV3_57_0 | false;
752
+ definitions?: {
753
+ [k: string]: PropertySchemaV3_57_0;
754
+ };
755
+ properties?: {
756
+ [k: string]: PropertySchemaV3_57_0;
757
+ };
758
+ const?: any;
759
+ enum?: any[];
760
+ type?: SimpleTypesV3_57_0 | SimpleTypesV3_57_0[];
761
+ format?: string;
762
+ contentMediaType?: string;
763
+ contentEncoding?: string;
764
+ allOf?: SchemaArrayV3_57_0;
765
+ discriminator?: {
766
+ propertyName?: string;
767
+ [k: string]: any;
768
+ };
769
+ oneOf?: SchemaArrayV3_57_0;
770
+ extends?: ObjectOrRefArrayV3_57_0;
771
+ '@backreference'?: BackReferenceV3_57_0;
772
+ '@input'?: PropertySchemaV3_57_0;
773
+ '@output'?: PropertySchemaV3_57_0;
774
+ '@syncLocaleStructure'?: boolean;
775
+ '@sensitive'?: boolean;
776
+ '@draftjs'?: boolean;
777
+ '@l10n'?: boolean;
778
+ '@key'?: string;
779
+ '@workflow'?: string;
780
+ '@mapping'?: FieldMappingV3_57_0;
781
+ '@tag'?: string;
782
+ '@tags'?: string[];
783
+ '@deprecationReason'?: string;
784
+ '@args'?: ArgsV3_57_0;
785
+ '@resolver'?: ResolverV3_57_0;
786
+ '@dependencies'?: DependenciesV3_57_0;
787
+ '@ref'?: RefV3_57_0;
788
+ '@derivedFrom'?: string;
789
+ '@indexed'?: IndexedV3_57_0;
790
+ '@graphql'?: GraphQLConfigV3_57_0;
791
+ }
792
+ /**
793
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
794
+ * via the `definition` "refSchema".
795
+ */
796
+ export interface RefSchemaV3_57_0 {
797
+ '@ref': RefV3_57_0;
798
+ [k: string]: any;
799
+ }
800
+ /**
801
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
802
+ * via the `definition` "refSchemaLegacy".
803
+ */
804
+ export interface RefSchemaLegacyV3_57_0 {
805
+ $ref: RefV3_57_0;
806
+ [k: string]: any;
807
+ }
808
+ /**
809
+ * A configuration object for a reverse reference in a relationship.
810
+ *
811
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
812
+ * via the `definition` "backreference".
813
+ */
814
+ export interface BackReferenceV3_57_0 {
815
+ enabled: boolean;
816
+ name?: string;
817
+ }
818
+ /**
819
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
820
+ * via the `definition` "utilResolver".
821
+ */
822
+ export interface UtilResolverV3_57_0 {
823
+ if?: string;
824
+ id?: string;
825
+ name: UtilResolverNameV3_57_0;
826
+ options?: UtilResolverOptionsV3_57_0;
827
+ /**
828
+ * Optional value to return from the noop resolver.
829
+ */
830
+ value?: number | string | boolean | {
831
+ [k: string]: any;
832
+ } | any[] | null;
833
+ args?: ParameterConfigForJsonV3_57_0;
834
+ results?: ParameterConfigForJsonV3_57_0;
835
+ argsMapping?: ArgsMappingV3_57_0;
836
+ resultsMapping?: ResultsMappingV3_57_0;
837
+ }
838
+ export interface UtilResolverOptionsV3_57_0 {
839
+ [k: string]: any;
840
+ }
841
+ /**
842
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
843
+ * via the `definition` "parameterConfigForJson".
844
+ */
845
+ export interface ParameterConfigForJsonV3_57_0 {
846
+ ops: ParameterOpListV3_57_0;
847
+ }
848
+ /**
849
+ * An object describing an operation to generate a parameter, using a nested OpList.
850
+ *
851
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
852
+ * via the `definition` "parameterOpNested".
853
+ */
854
+ export interface ParameterOpNestedV3_57_0 {
855
+ /**
856
+ * A path to the parameter for this operation.
857
+ */
858
+ path: string;
859
+ /**
860
+ * A mode for this parameter's operation.
861
+ */
862
+ op?: 'set' | 'concat' | 'extend' | 'remove';
863
+ ops: ParameterOpListV3_57_0;
864
+ }
865
+ /**
866
+ * An object describing an operation to generate a parameter using a value.
867
+ *
868
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
869
+ * via the `definition` "parameterOpValue".
870
+ */
871
+ export interface ParameterOpValueV3_57_0 {
872
+ /**
873
+ * A path to the parameter for this operation.
874
+ */
875
+ path: string;
876
+ /**
877
+ * A mode for this parameter's operation.
878
+ */
879
+ op?: 'set' | 'concat' | 'extend' | 'remove';
880
+ /**
881
+ * A value to set directly at this path.
882
+ */
883
+ value: number | string | boolean | {
884
+ [k: string]: any;
885
+ } | any[] | null;
886
+ }
887
+ /**
888
+ * An object describing an operation to generate a parameter using a mapping.
889
+ *
890
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
891
+ * via the `definition` "parameterOpMapping".
892
+ */
893
+ export interface ParameterOpMappingV3_57_0 {
894
+ /**
895
+ * A path to the parameter for this operation.
896
+ */
897
+ path: string;
898
+ /**
899
+ * A mode for this parameter's operation.
900
+ */
901
+ op?: 'set' | 'concat' | 'extend' | 'remove';
902
+ /**
903
+ * Either a valid JSONPath or a directive pipeline to evaluate against the query context.
904
+ */
905
+ mapping: string | DirectiveConfigV3_57_0;
906
+ }
907
+ export interface DirectiveOptionsV3_57_0 {
908
+ [k: string]: any;
909
+ }
910
+ /**
911
+ * An object describing an operation to generate a parameter using a mapping.
912
+ *
913
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
914
+ * via the `definition` "parameterOpOp".
915
+ */
916
+ export interface ParameterOpOpV3_57_0 {
917
+ /**
918
+ * A path to the parameter for this operation.
919
+ */
920
+ path: string;
921
+ /**
922
+ * A mode for this parameter's operation.
923
+ */
924
+ op: 'set' | 'concat' | 'extend' | 'remove';
925
+ }
926
+ /**
927
+ * An map of object keys / key paths to directive configs
928
+ *
929
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
930
+ * via the `definition` "directiveMappingMap".
931
+ */
932
+ export interface DirectiveMappingMapV3_57_0 {
933
+ [k: string]: DirectiveConfigV3_57_0;
934
+ }
935
+ /**
936
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
937
+ * via the `definition` "delegateResolver".
938
+ */
939
+ export interface DelegateResolverV3_57_0 {
940
+ if?: string;
941
+ id?: string;
942
+ name: DelegateResolverNameV3_57_0;
943
+ options?: DelegateResolverOptionsV3_57_0;
944
+ argsMapping?: ArgsMappingV3_57_0;
945
+ resultsMapping?: ResultsMappingV3_57_0;
946
+ /**
947
+ * A ref to a query/mutation/property to delegate to.
948
+ */
949
+ to: string;
950
+ args?: ParameterConfigForJsonV3_57_0;
951
+ results?: ParameterConfigForJsonV3_57_0;
952
+ }
953
+ export interface DelegateResolverOptionsV3_57_0 {
954
+ [k: string]: any;
955
+ }
956
+ /**
957
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
958
+ * via the `definition` "takeshapeResolver".
959
+ */
960
+ export interface TakeshapeResolverV3_57_0 {
961
+ if?: string;
962
+ id?: string;
963
+ name: TakeshapeResolverNameV3_57_0;
964
+ /**
965
+ * Internal service identifier.
966
+ */
967
+ service: 'takeshape';
968
+ options?: TakeshapeResolverOptionsV3_57_0;
969
+ /**
970
+ * An optional Shape name for the resolver.
971
+ */
972
+ shapeName?: string;
973
+ args?: ParameterConfigForJsonV3_57_0;
974
+ results?: ParameterConfigForJsonV3_57_0;
975
+ argsMapping?: ArgsMappingV3_57_0;
976
+ resultsMapping?: ResultsMappingV3_57_0;
977
+ }
978
+ export interface TakeshapeResolverOptionsV3_57_0 {
979
+ [k: string]: any;
980
+ }
981
+ /**
982
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
983
+ * via the `definition` "shapedbResolver".
984
+ */
985
+ export interface ShapedbResolverV3_57_0 {
986
+ if?: string;
987
+ id?: string;
988
+ name: ShapedbResolverNameV3_57_0;
989
+ /**
990
+ * Internal service identifier.
991
+ */
992
+ service: 'shapedb';
993
+ options?: ShapedbResolverOptionsV3_57_0;
994
+ argsMapping?: ArgsMappingV3_57_0;
995
+ resultsMapping?: ResultsMappingV3_57_0;
996
+ /**
997
+ * A Shape name for the resolver to use.
998
+ */
999
+ shapeName: string;
1000
+ args?: ParameterConfigForJsonV3_57_0;
1001
+ results?: ParameterConfigForJsonV3_57_0;
1002
+ }
1003
+ export interface ShapedbResolverOptionsV3_57_0 {
1004
+ [k: string]: any;
1005
+ }
1006
+ /**
1007
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1008
+ * via the `definition` "shapedbResolverShapeNameNotRequired".
1009
+ */
1010
+ export interface ShapedbResolverShapeNameNotRequiredV3_57_0 {
1011
+ if?: string;
1012
+ id?: string;
1013
+ name: ShapedbResolverShapeNameNotRequiredNameV3_57_0;
1014
+ /**
1015
+ * Internal service identifier.
1016
+ */
1017
+ service: 'shapedb';
1018
+ options?: ShapedbResolverShapeNameNotRequiredOptionsV3_57_0;
1019
+ /**
1020
+ * An optional Shape name for the resolver.
1021
+ */
1022
+ shapeName?: string;
1023
+ args?: ParameterConfigForJsonV3_57_0;
1024
+ results?: ParameterConfigForJsonV3_57_0;
1025
+ argsMapping?: ArgsMappingV3_57_0;
1026
+ resultsMapping?: ResultsMappingV3_57_0;
1027
+ }
1028
+ export interface ShapedbResolverShapeNameNotRequiredOptionsV3_57_0 {
1029
+ [k: string]: any;
1030
+ }
1031
+ /**
1032
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1033
+ * via the `definition` "graphqlResolver".
1034
+ */
1035
+ export interface GraphqlResolverV3_57_0 {
1036
+ if?: string;
1037
+ id?: string;
1038
+ name: GraphqlResolverNameV3_57_0;
1039
+ /**
1040
+ * Configuration for a service to use with this resolver.
1041
+ */
1042
+ service: string;
1043
+ argsMapping?: ArgsMappingV3_57_0;
1044
+ resultsMapping?: ResultsMappingV3_57_0;
1045
+ options?: GraphqlResolverOptionsV3_57_0;
1046
+ /**
1047
+ * A fieldname to use in queries.
1048
+ */
1049
+ fieldName: string;
1050
+ headers?: ParameterConfigForHeadersV3_57_0;
1051
+ searchParams?: ParameterConfigForSearchParamsV3_57_0;
1052
+ args?: ParameterConfigForJsonV3_57_0;
1053
+ results?: ParameterConfigForJsonV3_57_0;
1054
+ }
1055
+ export interface GraphqlResolverOptionsV3_57_0 {
1056
+ selectionSet?: string;
1057
+ unboxParentSelectionSet?: boolean;
1058
+ ignoreErrors?: boolean;
1059
+ skipWhenMissingArgs?: boolean;
1060
+ ttl?: number;
1061
+ timeout?: number;
1062
+ allowStream?: boolean;
1063
+ retry?: number | {
1064
+ [k: string]: any;
1065
+ };
1066
+ [k: string]: any;
1067
+ }
1068
+ /**
1069
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1070
+ * via the `definition` "parameterConfigForHeaders".
1071
+ */
1072
+ export interface ParameterConfigForHeadersV3_57_0 {
1073
+ ops: ParameterOpListV3_57_0;
1074
+ serialize?: ParameterSerializeConfigForHeadersV3_57_0;
1075
+ }
1076
+ /**
1077
+ * Top-level paths to use headers serialization options for.
1078
+ *
1079
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1080
+ * via the `definition` "parameterSerializeConfigForHeaders".
1081
+ */
1082
+ export interface ParameterSerializeConfigForHeadersV3_57_0 {
1083
+ defaults?: ParameterSerializeStyleOptionsForHeadersV3_57_0 | ParameterSerializeContentOptionsV3_57_0;
1084
+ paths?: {
1085
+ /**
1086
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1087
+ * via the `patternProperty` "^[^\n\r]*$".
1088
+ */
1089
+ [k: string]: ParameterSerializeStyleOptionsForHeadersV3_57_0 | ParameterSerializeContentOptionsV3_57_0;
1090
+ };
1091
+ }
1092
+ /**
1093
+ * Options to be passed to the serialization routine.
1094
+ *
1095
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1096
+ * via the `definition` "parameterSerializeStyleOptionsForHeaders".
1097
+ */
1098
+ export interface ParameterSerializeStyleOptionsForHeadersV3_57_0 {
1099
+ style: 'simple' | 'none';
1100
+ explode?: boolean;
1101
+ }
1102
+ /**
1103
+ * Options to be passed to the serialization routine.
1104
+ *
1105
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1106
+ * via the `definition` "parameterSerializeContentOptions".
1107
+ */
1108
+ export interface ParameterSerializeContentOptionsV3_57_0 {
1109
+ contentType: string;
1110
+ /**
1111
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1112
+ */
1113
+ allowReserved?: boolean;
1114
+ skipEncoding?: boolean;
1115
+ /**
1116
+ * Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
1117
+ */
1118
+ options?: {
1119
+ [k: string]: any;
1120
+ };
1121
+ }
1122
+ /**
1123
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1124
+ * via the `definition` "parameterConfigForSearchParams".
1125
+ */
1126
+ export interface ParameterConfigForSearchParamsV3_57_0 {
1127
+ ops: ParameterOpListV3_57_0;
1128
+ serialize?: ParameterSerializeConfigForSearchParamsV3_57_0;
1129
+ }
1130
+ /**
1131
+ * Top-level paths to use search params serialization options for.
1132
+ *
1133
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1134
+ * via the `definition` "parameterSerializeConfigForSearchParams".
1135
+ */
1136
+ export interface ParameterSerializeConfigForSearchParamsV3_57_0 {
1137
+ defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_57_0 | ParameterSerializeContentOptionsV3_57_0;
1138
+ paths?: {
1139
+ /**
1140
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1141
+ * via the `patternProperty` "^[^\n\r]*$".
1142
+ */
1143
+ [k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_57_0 | ParameterSerializeContentOptionsV3_57_0;
1144
+ };
1145
+ }
1146
+ /**
1147
+ * Options to be passed to the serialization routine.
1148
+ *
1149
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1150
+ * via the `definition` "parameterSerializeStyleOptionsForSearchParams".
1151
+ */
1152
+ export interface ParameterSerializeStyleOptionsForSearchParamsV3_57_0 {
1153
+ style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
1154
+ explode?: boolean;
1155
+ allowEmptyValue?: boolean;
1156
+ /**
1157
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1158
+ */
1159
+ allowReserved?: boolean;
1160
+ skipEncoding?: boolean;
1161
+ }
1162
+ /**
1163
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1164
+ * via the `definition` "restResolver".
1165
+ */
1166
+ export interface RestResolverV3_57_0 {
1167
+ if?: string;
1168
+ id?: string;
1169
+ name: RestResolverNameV3_57_0;
1170
+ /**
1171
+ * Configuration for a service to use with this resolver.
1172
+ */
1173
+ service: string;
1174
+ argsMapping?: ArgsMappingV3_57_0;
1175
+ searchParamsMapping?: SearchParamsMappingV3_57_0;
1176
+ resultsMapping?: ResultsMappingV3_57_0;
1177
+ options?: RestResolverOptionsV3_57_0;
1178
+ body?: ParameterConfigForBodyV3_57_0;
1179
+ form?: ParameterConfigForSearchParamsV3_57_0;
1180
+ headers?: ParameterConfigForHeadersV3_57_0;
1181
+ json?: ParameterConfigForJsonV3_57_0;
1182
+ /**
1183
+ * Mapping and serialization configuration for the path, or a simple string.
1184
+ */
1185
+ path: ParameterConfigForPathParamsV3_57_0 | string;
1186
+ searchParams?: ParameterConfigForSearchParamsV3_57_0;
1187
+ args?: ParameterConfigForJsonV3_57_0;
1188
+ results?: ParameterConfigForJsonV3_57_0;
1189
+ }
1190
+ export interface RestResolverOptionsV3_57_0 {
1191
+ trailingSlash?: boolean;
1192
+ allowStream?: boolean;
1193
+ ttl?: number;
1194
+ timeout?: number;
1195
+ retry?: number | {
1196
+ [k: string]: any;
1197
+ };
1198
+ [k: string]: any;
1199
+ }
1200
+ /**
1201
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1202
+ * via the `definition` "parameterConfigForBody".
1203
+ */
1204
+ export interface ParameterConfigForBodyV3_57_0 {
1205
+ ops: ParameterOpListV3_57_0;
1206
+ serialize?: ParameterSerializeConfigForBodyV3_57_0;
1207
+ }
1208
+ /**
1209
+ * Top-level paths to use serialization options for.
1210
+ *
1211
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1212
+ * via the `definition` "parameterSerializeConfigForBody".
1213
+ */
1214
+ export interface ParameterSerializeConfigForBodyV3_57_0 {
1215
+ content?: ParameterSerializeContentOptionsV3_57_0;
1216
+ }
1217
+ /**
1218
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1219
+ * via the `definition` "parameterConfigForPathParams".
1220
+ */
1221
+ export interface ParameterConfigForPathParamsV3_57_0 {
1222
+ ops: ParameterOpListV3_57_0;
1223
+ serialize: ParameterSerializeConfigForPathParamsV3_57_0;
1224
+ }
1225
+ /**
1226
+ * Top-level paths to use path params serialization options for.
1227
+ *
1228
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1229
+ * via the `definition` "parameterSerializeConfigForPathParams".
1230
+ */
1231
+ export interface ParameterSerializeConfigForPathParamsV3_57_0 {
1232
+ /**
1233
+ * For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
1234
+ */
1235
+ template: string;
1236
+ defaults?: ParameterSerializeStyleOptionsForPathParamsV3_57_0 | ParameterSerializeContentOptionsV3_57_0;
1237
+ paths?: {
1238
+ /**
1239
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1240
+ * via the `patternProperty` "^[^\n\r]*$".
1241
+ */
1242
+ [k: string]: ParameterSerializeStyleOptionsForPathParamsV3_57_0 | ParameterSerializeContentOptionsV3_57_0;
1243
+ };
1244
+ }
1245
+ /**
1246
+ * Options to be passed to the serialization routine.
1247
+ *
1248
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1249
+ * via the `definition` "parameterSerializeStyleOptionsForPathParams".
1250
+ */
1251
+ export interface ParameterSerializeStyleOptionsForPathParamsV3_57_0 {
1252
+ style: 'simple' | 'label' | 'matrix' | 'none';
1253
+ explode?: boolean;
1254
+ allowEmptyValue?: boolean;
1255
+ /**
1256
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1257
+ */
1258
+ allowReserved?: boolean;
1259
+ skipEncoding?: boolean;
1260
+ }
1261
+ /**
1262
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1263
+ * via the `definition` "awsLambdaResolver".
1264
+ */
1265
+ export interface AwsLambdaResolverV3_57_0 {
1266
+ if?: string;
1267
+ id?: string;
1268
+ name: AwsLambdaResolverNameV3_57_0;
1269
+ /**
1270
+ * Configuration for a service to use with this resolver.
1271
+ */
1272
+ service: string;
1273
+ options?: AwsLambdaResolverOptionsV3_57_0;
1274
+ payload?: ParameterConfigForJsonV3_57_0;
1275
+ /**
1276
+ * Mapping configuration for the FunctionName.
1277
+ */
1278
+ functionName: string | ParameterConfigForAwsLambdaV3_57_0;
1279
+ clientContext?: ParameterConfigForJsonV3_57_0;
1280
+ args?: ParameterConfigForJsonV3_57_0;
1281
+ results?: ParameterConfigForJsonV3_57_0;
1282
+ argsMapping?: ArgsMappingV3_57_0;
1283
+ searchParamsMapping?: SearchParamsMappingV3_57_0;
1284
+ resultsMapping?: ResultsMappingV3_57_0;
1285
+ }
1286
+ export interface AwsLambdaResolverOptionsV3_57_0 {
1287
+ [k: string]: any;
1288
+ }
1289
+ /**
1290
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1291
+ * via the `definition` "parameterConfigForAwsLambda".
1292
+ */
1293
+ export interface ParameterConfigForAwsLambdaV3_57_0 {
1294
+ ops: ParameterOpListV3_57_0;
1295
+ serialize: ParameterSerializeConfigForPathParamsV3_57_0;
1296
+ }
1297
+ /**
1298
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1299
+ * via the `definition` "salsifyResolver".
1300
+ */
1301
+ export interface SalsifyResolverV3_57_0 {
1302
+ if?: string;
1303
+ id?: string;
1304
+ name: SalsifyResolverNameV3_57_0;
1305
+ /**
1306
+ * Configuration for a service to use with this resolver.
1307
+ */
1308
+ service: string;
1309
+ options?: SalsifyResolverOptionsV3_57_0;
1310
+ args?: ParameterConfigForJsonV3_57_0;
1311
+ results?: ParameterConfigForJsonV3_57_0;
1312
+ argsMapping?: ArgsMappingV3_57_0;
1313
+ resultsMapping?: ResultsMappingV3_57_0;
1314
+ }
1315
+ export interface SalsifyResolverOptionsV3_57_0 {
1316
+ [k: string]: any;
1317
+ }
1318
+ /**
1319
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1320
+ * via the `definition` "syndigoResolver".
1321
+ */
1322
+ export interface SyndigoResolverV3_57_0 {
1323
+ if?: string;
1324
+ id?: string;
1325
+ name: SyndigoResolverNameV3_57_0;
1326
+ /**
1327
+ * Configuration for a service to use with this resolver.
1328
+ */
1329
+ service: string;
1330
+ options?: SyndigoResolverOptionsV3_57_0;
1331
+ args?: ParameterConfigForJsonV3_57_0;
1332
+ results?: ParameterConfigForJsonV3_57_0;
1333
+ argsMapping?: ArgsMappingV3_57_0;
1334
+ resultsMapping?: ResultsMappingV3_57_0;
1335
+ }
1336
+ export interface SyndigoResolverOptionsV3_57_0 {
1337
+ [k: string]: any;
1338
+ }
1339
+ /**
1340
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1341
+ * via the `definition` "functionResolver".
1342
+ */
1343
+ export interface FunctionResolverV3_57_0 {
1344
+ if?: string;
1345
+ id?: string;
1346
+ name: FunctionResolverNameV3_57_0;
1347
+ options?: FunctionResolverOptionsV3_57_0;
1348
+ args?: ParameterConfigForJsonV3_57_0;
1349
+ results?: ParameterConfigForJsonV3_57_0;
1350
+ argsMapping?: ArgsMappingV3_57_0;
1351
+ resultsMapping?: ResultsMappingV3_57_0;
1352
+ javascript?: FunctionResolverJavascriptV3_57_0;
1353
+ }
1354
+ export interface FunctionResolverOptionsV3_57_0 {
1355
+ [k: string]: any;
1356
+ }
1357
+ /**
1358
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1359
+ * via the `definition` "aiGenerateTextResolver".
1360
+ */
1361
+ export interface AIGenerateTextResolverV3_57_0 {
1362
+ if?: string;
1363
+ id?: string;
1364
+ name: AIResolverNameV3_57_0;
1365
+ /**
1366
+ * Configuration for a service to use with this resolver.
1367
+ */
1368
+ service: string;
1369
+ options?: AIGenerateTextResolverOptionsV3_57_0;
1370
+ systemPrompt: string;
1371
+ inputTemplate?: string;
1372
+ model: string;
1373
+ tools?: (string | AIToolConfigV3_57_0)[];
1374
+ guardrails?: AIGuardrailV3_57_0[];
1375
+ context?: ParameterConfigForJsonV3_57_0;
1376
+ results?: ParameterConfigForJsonV3_57_0;
1377
+ }
1378
+ /**
1379
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1380
+ * via the `definition` "aiGenerateTextResolverOptions".
1381
+ */
1382
+ export interface AIGenerateTextResolverOptionsV3_57_0 {
1383
+ history?: HistoryV3_57_0;
1384
+ maxTokens?: MaximumTokensV3_57_0;
1385
+ temperature?: TemperatureV3_57_0;
1386
+ topP?: TopPV3_57_0;
1387
+ topK?: TopKV3_57_0;
1388
+ presencePenalty?: PresencePenaltySettingV3_57_0;
1389
+ frequencyPenalty?: FrequencyPenaltySettingV3_57_0;
1390
+ stopSequences?: StopSequencesV3_57_0;
1391
+ seed?: SeedV3_57_0;
1392
+ /**
1393
+ * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
1394
+ */
1395
+ maxRetries?: number;
1396
+ /**
1397
+ * The tool choice strategy. Default: 'auto'
1398
+ */
1399
+ toolChoice?: (('auto' | 'none' | 'required') | string) & string;
1400
+ /**
1401
+ * Maximal number of automatic roundtrips for tool calls.
1402
+ */
1403
+ maxToolRoundtrips?: number;
1404
+ [k: string]: any;
1405
+ }
1406
+ /**
1407
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1408
+ * via the `definition` "aiToolConfig".
1409
+ */
1410
+ export interface AIToolConfigV3_57_0 {
1411
+ ref: string;
1412
+ selectionSet?: string;
1413
+ }
1414
+ /**
1415
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1416
+ * via the `definition` "aiSimilarityGuardrail".
1417
+ */
1418
+ export interface AISimilarityGuardrailV3_57_0 {
1419
+ name: 'similarity';
1420
+ shape: string;
1421
+ defaultResponse: string;
1422
+ threshold?: number;
1423
+ }
1424
+ /**
1425
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1426
+ * via the `definition` "aiGeneratePropertyResolver".
1427
+ */
1428
+ export interface AIGeneratePropertyResolverV3_57_0 {
1429
+ id?: string;
1430
+ name: AIResolverNameV3_57_01;
1431
+ /**
1432
+ * Configuration for a service to use with this resolver.
1433
+ */
1434
+ service: string;
1435
+ model: string;
1436
+ systemPrompt?: string;
1437
+ }
1438
+ /**
1439
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1440
+ * via the `definition` "aiEmbeddingResolver".
1441
+ */
1442
+ export interface AIEmbeddingResolverV3_57_0 {
1443
+ if?: string;
1444
+ id?: string;
1445
+ name: AIResolverNameV3_57_02;
1446
+ /**
1447
+ * Configuration for a service to use with this resolver.
1448
+ */
1449
+ service: string;
1450
+ options?: AIEmbeddingResolverOptionsV3_57_0;
1451
+ model: string;
1452
+ args?: ParameterConfigForJsonV3_57_0;
1453
+ results?: ParameterConfigForJsonV3_57_0;
1454
+ }
1455
+ /**
1456
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1457
+ * via the `definition` "aiEmbeddingResolverOptions".
1458
+ */
1459
+ export interface AIEmbeddingResolverOptionsV3_57_0 {
1460
+ useDependencies?: boolean;
1461
+ [k: string]: any;
1462
+ }
1463
+ /**
1464
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1465
+ * via the `definition` "aiEmbeddingSearchResolver".
1466
+ */
1467
+ export interface AIEmbeddingSearchResolverV3_57_0 {
1468
+ if?: string;
1469
+ id?: string;
1470
+ name: AIResolverNameV3_57_03;
1471
+ /**
1472
+ * A vector property ref to use for the query.
1473
+ */
1474
+ vectorProperty: string;
1475
+ args?: ParameterConfigForJsonV3_57_0;
1476
+ results?: ParameterConfigForJsonV3_57_0;
1477
+ }
1478
+ /**
1479
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1480
+ * via the `definition` "aiParseFileResolver".
1481
+ */
1482
+ export interface AIParseFileResolverV3_57_0 {
1483
+ if?: string;
1484
+ id?: string;
1485
+ name: AIResolverNameV3_57_04;
1486
+ /**
1487
+ * Configuration for a service to use with this resolver.
1488
+ */
1489
+ service: string;
1490
+ options?: AIEmbeddingResolverOptionsV3_57_0;
1491
+ args?: ParameterConfigForJsonV3_57_0;
1492
+ results?: ParameterConfigForJsonV3_57_0;
1493
+ }
1494
+ /**
1495
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1496
+ * via the `definition` "utilChunkResolver".
1497
+ */
1498
+ export interface ChunkResolverV3_57_0 {
1499
+ if?: string;
1500
+ id?: string;
1501
+ name: UtilResolverNameV3_57_01;
1502
+ options: UtilChunkResolverOptionsV3_57_0;
1503
+ args?: ParameterConfigForJsonV3_57_0;
1504
+ results?: ParameterConfigForJsonV3_57_0;
1505
+ }
1506
+ /**
1507
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1508
+ * via the `definition` "utilChunkResolverOptionsCharacterCount".
1509
+ */
1510
+ export interface UtilChunkResolverOptionsCharacterCountV3_57_0 {
1511
+ type: 'characterCount';
1512
+ characterCount: number;
1513
+ }
1514
+ /**
1515
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1516
+ * via the `definition` "utilChunkResolverOptionsSeparators".
1517
+ */
1518
+ export interface UtilChunkResolverOptionsSeparatorsV3_57_0 {
1519
+ type: 'separators';
1520
+ separators: string[];
1521
+ }
1522
+ /**
1523
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1524
+ * via the `definition` "utilChunkResolverOptionsMarkdown".
1525
+ */
1526
+ export interface UtilChunkResolverOptionsMarkdownV3_57_0 {
1527
+ type: 'markdown';
1528
+ /**
1529
+ * New chunks will be created at headers for this level or lower. Default 2.
1530
+ */
1531
+ headerLevel?: number;
1532
+ /**
1533
+ * A new chunk will be started when this number of characters is reached, regardless of markup.
1534
+ */
1535
+ maxCharacters?: number;
1536
+ }
1537
+ /**
1538
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1539
+ * via the `definition` "utilChunkResolverOptionsSemantic".
1540
+ */
1541
+ export interface UtilChunkResolverOptionsSemanticV3_57_0 {
1542
+ type: 'semantic';
1543
+ serviceId: string;
1544
+ modelId: string;
1545
+ /**
1546
+ * Similarity below which two embeddings are considered different.
1547
+ */
1548
+ similarityThreshold?: number;
1549
+ /**
1550
+ * Advanced. How many sentences to advance when grouping sentences to create embeddings. Default 1.
1551
+ */
1552
+ stride?: number;
1553
+ /**
1554
+ * Advanced. How many sentences are grouped together to create embeddings. Default 3.
1555
+ */
1556
+ sentenceCount?: number;
1557
+ /**
1558
+ * The maximum number of characters in a chunk.
1559
+ */
1560
+ maxCharacters?: number;
1561
+ /**
1562
+ * The maximum number of tokens in a chunk.
1563
+ */
1564
+ maxTokens?: number;
1565
+ }
1566
+ /**
1567
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1568
+ * via the `definition` "aiRunAgentResolver".
1569
+ */
1570
+ export interface AISendAgentMessageResolverV3_57_0 {
1571
+ id?: string;
1572
+ name: AIResolverNameV3_57_05;
1573
+ agentName: string;
1574
+ inputName: string;
1575
+ }
1576
+ /**
1577
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1578
+ * via the `definition` "aiInspectAgentResolver".
1579
+ */
1580
+ export interface AIInspectAgentResolverV3_57_0 {
1581
+ id?: string;
1582
+ name: AIResolverNameV3_57_06;
1583
+ agentName: string;
1584
+ }
1585
+ /**
1586
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1587
+ * via the `definition` "aiCreateAgentSessionResolver".
1588
+ */
1589
+ export interface AICreateAgentSessionResolverV3_57_0 {
1590
+ id?: string;
1591
+ name: AIResolverNameV3_57_07;
1592
+ agentName: string;
1593
+ }
1594
+ /**
1595
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1596
+ * via the `definition` "aiGetAgentMessageResolver".
1597
+ */
1598
+ export interface AIGetAgentMessageResolverV3_57_0 {
1599
+ id?: string;
1600
+ name: AIResolverNameV3_57_08;
1601
+ agentName: string;
1602
+ }
1603
+ /**
1604
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1605
+ * via the `definition` "aiAbortAgentMessageResolver".
1606
+ */
1607
+ export interface AIAbortAgentMessageResolverV3_57_0 {
1608
+ id?: string;
1609
+ name: AIResolverNameV3_57_09;
1610
+ agentName: string;
1611
+ }
1612
+ /**
1613
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1614
+ * via the `definition` "aiSendAgentFeedbackResolver".
1615
+ */
1616
+ export interface AISendAgentFeedbackResolverV3_57_0 {
1617
+ id?: string;
1618
+ name: AIResolverNameV3_57_010;
1619
+ agentName: string;
1620
+ }
1621
+ /**
1622
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1623
+ * via the `definition` "composeResolver".
1624
+ */
1625
+ export interface ComposeResolverV3_57_0 {
1626
+ compose: BasicResolverV3_57_0[];
1627
+ resultsMapping?: DirectiveMappingMapV3_57_0 | DirectiveConfigV3_57_0;
1628
+ results?: ParameterConfigForJsonV3_57_0;
1629
+ }
1630
+ /**
1631
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1632
+ * via the `definition` "indexed".
1633
+ */
1634
+ export interface IndexedV3_57_0 {
1635
+ nested?: boolean;
1636
+ }
1637
+ /**
1638
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1639
+ * via the `definition` "graphql".
1640
+ */
1641
+ export interface GraphQLConfigV3_57_0 {
1642
+ json?: boolean;
1643
+ }
1644
+ /**
1645
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1646
+ * via the `definition` "shapeMap".
1647
+ */
1648
+ export interface ShapeMapV3_57_0 {
1649
+ [k: string]: ShapeJSONV3_57_0;
1650
+ }
1651
+ /**
1652
+ * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
1653
+ *
1654
+ * This interface was referenced by `ShapeMapV3_57_0`'s JSON-Schema definition
1655
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
1656
+ *
1657
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1658
+ * via the `definition` "shape".
1659
+ */
1660
+ export interface ShapeJSONV3_57_0 {
1661
+ /**
1662
+ * The Pascal-cased human-readable id for a Shape. This value should match the shape's key in the shapes object. This value is used in @ref and @mapping annotations
1663
+ */
1664
+ name: string;
1665
+ /**
1666
+ * The machine-readable id for a Shape which should never change. When using TakeShape's built-in database to store Shape data, this value is used database as a stable "table name" and changing it will result in orphaning that data.
1667
+ */
1668
+ id: string;
1669
+ /**
1670
+ * The human-readable name for a Shape for use in a UI.
1671
+ */
1672
+ title: string;
1673
+ description?: string;
1674
+ type?: 'interface' | 'input' | 'output';
1675
+ interfaces?: string[];
1676
+ /**
1677
+ * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
1678
+ */
1679
+ model?: {
1680
+ type: ModelTypeV3_57_0;
1681
+ };
1682
+ workflow?: string;
1683
+ loaders?: ShapeLoadersV3_57_0;
1684
+ joins?: ShapeJoinsV3_57_0;
1685
+ cache?: ShapeCacheConfigV3_57_0;
1686
+ schema: ShapeSchemaV3_57_0;
1687
+ }
1688
+ /**
1689
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1690
+ * via the `definition` "shapeLoaders".
1691
+ */
1692
+ export interface ShapeLoadersV3_57_0 {
1693
+ list: StoredListQueryLoaderConfigV3_57_0 | StoredListQueryLoaderConfigV3_57_0[];
1694
+ get?: GetQueryLoaderConfigV3_57_0;
1695
+ }
1696
+ /**
1697
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1698
+ * via the `definition` "storedListQueryLoaderConfig".
1699
+ */
1700
+ export interface StoredListQueryLoaderConfigV3_57_0 {
1701
+ query: string;
1702
+ args?: {
1703
+ [k: string]: any;
1704
+ } | {
1705
+ [k: string]: any;
1706
+ }[];
1707
+ pagination?: PaginationConfigV3_57_0;
1708
+ }
1709
+ /**
1710
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1711
+ * via the `definition` "paginationCursorConfig".
1712
+ */
1713
+ export interface PaginationCursorConfigV3_57_0 {
1714
+ type: 'cursor';
1715
+ cursorArg: string;
1716
+ cursorPath: string;
1717
+ pageSize?: number;
1718
+ pageSizeArg: string;
1719
+ hasMorePath: string;
1720
+ itemsPath: string;
1721
+ }
1722
+ /**
1723
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1724
+ * via the `definition` "paginationPageConfig".
1725
+ */
1726
+ export interface PaginationPageConfigV3_57_0 {
1727
+ type: 'page';
1728
+ pageArg: string;
1729
+ pageSize?: number;
1730
+ pageSizeArg?: string;
1731
+ itemsPath: string;
1732
+ pageTotalPath: string;
1733
+ }
1734
+ /**
1735
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1736
+ * via the `definition` "paginationOffsetConfig".
1737
+ */
1738
+ export interface PaginationOffsetConfigV3_57_0 {
1739
+ type: 'offset';
1740
+ offsetArg: string;
1741
+ pageSize?: number;
1742
+ pageSizeArg?: string;
1743
+ itemsPath: string;
1744
+ itemTotalPath: string;
1745
+ }
1746
+ /**
1747
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1748
+ * via the `definition` "getQueryLoaderConfig".
1749
+ */
1750
+ export interface GetQueryLoaderConfigV3_57_0 {
1751
+ query: string;
1752
+ args?: {
1753
+ [k: string]: any;
1754
+ };
1755
+ idArg?: string;
1756
+ }
1757
+ /**
1758
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1759
+ * via the `definition` "shapeJoins".
1760
+ */
1761
+ export interface ShapeJoinsV3_57_0 {
1762
+ [k: string]: ShapeJoinV3_57_0;
1763
+ }
1764
+ /**
1765
+ * This interface was referenced by `ShapeJoinsV3_57_0`'s JSON-Schema definition
1766
+ * via the `patternProperty` "[:0-9A-Za-z_-]+".
1767
+ *
1768
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1769
+ * via the `definition` "shapeJoin".
1770
+ */
1771
+ export interface ShapeJoinV3_57_0 {
1772
+ resolver: DelegateResolverV3_57_0 | ShapedbResolverV3_57_0;
1773
+ dependencies?: string;
1774
+ }
1775
+ /**
1776
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1777
+ * via the `definition` "shapeCacheConfig".
1778
+ */
1779
+ export interface ShapeCacheConfigV3_57_0 {
1780
+ enabled: boolean;
1781
+ idField?: string;
1782
+ searchSummaryField?: string;
1783
+ fragment?: CachedFragmentConfigV3_57_0;
1784
+ triggers?: CacheTriggerConfigV3_57_0[];
1785
+ /**
1786
+ * Number of seconds this Shape should be cached. Default 0.
1787
+ */
1788
+ maxAge?: number;
1789
+ }
1790
+ /**
1791
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1792
+ * via the `definition` "cachedFragmentConfig".
1793
+ */
1794
+ export interface CachedFragmentConfigV3_57_0 {
1795
+ ignoreFields?: string[];
1796
+ maxDepth?: number;
1797
+ selectionSet?: string;
1798
+ includeDeprecated?: boolean;
1799
+ }
1800
+ /**
1801
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1802
+ * via the `definition` "cacheScheduleTriggerConfig".
1803
+ */
1804
+ export interface CacheScheduleTriggerConfigV3_57_0 {
1805
+ type: 'schedule';
1806
+ loader: 'get' | 'list';
1807
+ interval: number;
1808
+ }
1809
+ /**
1810
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1811
+ * via the `definition` "cacheWebhookTriggerConfig".
1812
+ */
1813
+ export interface CacheWebhookTriggerConfigV3_57_0 {
1814
+ type: 'webhook';
1815
+ loader: 'get' | 'list';
1816
+ service: string;
1817
+ events: string[];
1818
+ }
1819
+ /**
1820
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1821
+ * via the `definition` "shapeSchemaAllOf".
1822
+ */
1823
+ export interface ShapeSchemaAllOfV3_57_0 {
1824
+ allOf: ObjectOrRefArrayV3_57_0;
1825
+ }
1826
+ /**
1827
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1828
+ * via the `definition` "shapeSchemaExtends".
1829
+ */
1830
+ export interface ShapeSchemaExtendsV3_57_0 {
1831
+ extends: ObjectOrRefArrayV3_57_0;
1832
+ }
1833
+ /**
1834
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1835
+ * via the `definition` "shapeSchemaOneOf".
1836
+ */
1837
+ export interface ShapeSchemaOneOfV3_57_0 {
1838
+ oneOf: ObjectOrRefArrayV3_57_0;
1839
+ }
1840
+ /**
1841
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1842
+ * via the `definition` "shapeSchemaEnum".
1843
+ */
1844
+ export interface ShapeSchemaEnumV3_57_0 {
1845
+ enum: any[];
1846
+ }
1847
+ /**
1848
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1849
+ * via the `definition` "shapeSchemaAny".
1850
+ */
1851
+ export interface ShapeSchemaAnyV3_57_0 {
1852
+ }
1853
+ /**
1854
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1855
+ * via the `definition` "formMap".
1856
+ */
1857
+ export interface FormMapV3_57_0 {
1858
+ [k: string]: FormsConfigV3_57_0;
1859
+ }
1860
+ /**
1861
+ * This interface was referenced by `FormMapV3_57_0`'s JSON-Schema definition
1862
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1863
+ *
1864
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1865
+ * via the `definition` "formsConfig".
1866
+ */
1867
+ export interface FormsConfigV3_57_0 {
1868
+ default: FormConfigV3_57_0;
1869
+ [k: string]: FormConfigV3_57_0;
1870
+ }
1871
+ /**
1872
+ * This interface was referenced by `FormsConfigV3_57_0`'s JSON-Schema definition
1873
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1874
+ *
1875
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1876
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1877
+ *
1878
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1879
+ * via the `definition` "formConfig".
1880
+ */
1881
+ export interface FormConfigV3_57_0 {
1882
+ [k: string]: any;
1883
+ }
1884
+ /**
1885
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1886
+ * via the `definition` "workflowMap".
1887
+ */
1888
+ export interface WorkflowMapV3_57_0 {
1889
+ [k: string]: WorkflowV3_57_0;
1890
+ }
1891
+ /**
1892
+ * This interface was referenced by `WorkflowMapV3_57_0`'s JSON-Schema definition
1893
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1894
+ *
1895
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1896
+ * via the `definition` "workflow".
1897
+ */
1898
+ export interface WorkflowV3_57_0 {
1899
+ /**
1900
+ * machine-readable id
1901
+ */
1902
+ name: string;
1903
+ title: WorkflowNameV3_57_0;
1904
+ steps: StepsV3_57_0;
1905
+ [k: string]: any;
1906
+ }
1907
+ /**
1908
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1909
+ * via the `definition` "workflowStep".
1910
+ */
1911
+ export interface WorkflowStepV3_57_0 {
1912
+ name: NameV3_57_0;
1913
+ title: TitleV3_57_0;
1914
+ description?: DescriptionV3_57_0;
1915
+ color: ColorV3_57_0;
1916
+ live: LiveV3_57_0;
1917
+ key: KeyV3_57_0;
1918
+ }
1919
+ /**
1920
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1921
+ * via the `definition` "storedServiceMap".
1922
+ */
1923
+ export interface ServiceMapJSONV3_57_0 {
1924
+ [k: string]: ServiceConfigJSONV3_57_0;
1925
+ }
1926
+ /**
1927
+ * This interface was referenced by `ServiceMapJSONV3_57_0`'s JSON-Schema definition
1928
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1929
+ *
1930
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1931
+ * via the `definition` "storedServiceConfig".
1932
+ */
1933
+ export interface ServiceConfigJSONV3_57_0 {
1934
+ /**
1935
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
1936
+ */
1937
+ id: string;
1938
+ /**
1939
+ * Human-readable name for this service.
1940
+ */
1941
+ title: string;
1942
+ /**
1943
+ * The service provider id.
1944
+ */
1945
+ provider: string;
1946
+ /**
1947
+ * A namespace to use for the imported types tied to this service.
1948
+ */
1949
+ namespace?: string;
1950
+ serviceType: ServiceTypeV3_57_0;
1951
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
1952
+ authentication?: string;
1953
+ healthCheck?: ServiceHealthCheckV3_57_0;
1954
+ webhookId?: string;
1955
+ /**
1956
+ * Configuration options passed to and handled by the provider.
1957
+ */
1958
+ options?: {
1959
+ [k: string]: any;
1960
+ };
1961
+ }
1962
+ /**
1963
+ * Configuration for ping health checks.
1964
+ *
1965
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1966
+ * via the `definition` "serviceHealthCheck".
1967
+ */
1968
+ export interface ServiceHealthCheckV3_57_0 {
1969
+ checkName: CheckNameV3_57_0;
1970
+ endpoint?: EndpointV3_57_0;
1971
+ requestMethod?: RequestMethodV3_57_0;
1972
+ requestHeaders?: RequestHeadersV3_57_0;
1973
+ requestSearchParams?: RequestSearchParamsV3_57_0;
1974
+ requestBody?: RequestBodyV3_57_0;
1975
+ requestBodyFormat?: RequestBodyFormatV3_57_0;
1976
+ requestTimeout?: RequestTimeoutV3_57_0;
1977
+ healthyResponseStatusCode?: HealthyResponseStatusCodeV3_57_0;
1978
+ triggers?: ServiceHealthCheckTriggerV3_57_0[];
1979
+ }
1980
+ /**
1981
+ * Any custom headers to set with the health check request.
1982
+ */
1983
+ export interface RequestHeadersV3_57_0 {
1984
+ [k: string]: any;
1985
+ }
1986
+ /**
1987
+ * Any custom search params to set with the health check request.
1988
+ */
1989
+ export interface RequestSearchParamsV3_57_0 {
1990
+ [k: string]: any;
1991
+ }
1992
+ /**
1993
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
1994
+ * via the `definition` "agentMap".
1995
+ */
1996
+ export interface AgentMapV3_57_0 {
1997
+ [k: string]: AgentJSONV3_57_0;
1998
+ }
1999
+ /**
2000
+ * An Agent is a configuration for an AI service such as a chat bot or a search engine.
2001
+ *
2002
+ * This interface was referenced by `AgentMapV3_57_0`'s JSON-Schema definition
2003
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2004
+ *
2005
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2006
+ * via the `definition` "agent".
2007
+ */
2008
+ export interface AgentJSONV3_57_0 {
2009
+ description?: string;
2010
+ systemPrompt?: string;
2011
+ api: AgentAPIV3_57_0;
2012
+ memory?: AgentMemoryV3_57_0;
2013
+ start: AgentStartV3_57_0;
2014
+ states: AgentStatesV3_57_0;
2015
+ guards?: AgentGuardV3_57_0[];
2016
+ historyStrategies?: HistoryStrategyMapV3_57_0;
2017
+ }
2018
+ /**
2019
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2020
+ * via the `definition` "agentApi".
2021
+ */
2022
+ export interface AgentAPIV3_57_0 {
2023
+ inputs: AgentAPIInputV3_57_0[];
2024
+ }
2025
+ /**
2026
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2027
+ * via the `definition` "agentApiMutationInput".
2028
+ */
2029
+ export interface AgentAPIMutationInputV3_57_0 {
2030
+ type: 'mutation';
2031
+ name: string;
2032
+ args: string;
2033
+ interactionTimeout?: InteractionTimeoutMillisecondsV3_57_0;
2034
+ }
2035
+ /**
2036
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2037
+ * via the `definition` "agentMemory".
2038
+ */
2039
+ export interface AgentMemoryV3_57_0 {
2040
+ sessionMemory: AgentSessionMemoryV3_57_0;
2041
+ }
2042
+ /**
2043
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2044
+ * via the `definition` "agentSessionMemory".
2045
+ */
2046
+ export interface AgentSessionMemoryV3_57_0 {
2047
+ shape?: string;
2048
+ }
2049
+ /**
2050
+ * Configuration for the start of an agent's execution
2051
+ *
2052
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2053
+ * via the `definition` "agentStart".
2054
+ */
2055
+ export interface AgentStartV3_57_0 {
2056
+ transitions: AgentTransitionSuspendV3_57_0[];
2057
+ }
2058
+ /**
2059
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2060
+ * via the `definition` "agentTransitionSuspend".
2061
+ */
2062
+ export interface AgentTransitionSuspendV3_57_0 {
2063
+ type: 'suspend';
2064
+ destination: string;
2065
+ input: string;
2066
+ condition?: string;
2067
+ limit?: number;
2068
+ sessionMemory?: AgentStateSessionMemoryV3_57_0;
2069
+ historyStrategy?: string;
2070
+ }
2071
+ /**
2072
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2073
+ * via the `definition` "agentStateSessionMemoryAssignment".
2074
+ */
2075
+ export interface AgentStateSessionMemoryAssignmentV3_57_0 {
2076
+ memoryPath?: string;
2077
+ expression: string;
2078
+ }
2079
+ /**
2080
+ * States that are traversed during the execution of an agent.
2081
+ *
2082
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2083
+ * via the `definition` "agentStateMap".
2084
+ */
2085
+ export interface AgentStatesV3_57_0 {
2086
+ [k: string]: AgentStateV3_57_0;
2087
+ }
2088
+ /**
2089
+ * One step of an agent's execution.
2090
+ *
2091
+ * This interface was referenced by `AgentStatesV3_57_0`'s JSON-Schema definition
2092
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2093
+ *
2094
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2095
+ * via the `definition` "agentState".
2096
+ */
2097
+ export interface AgentStateV3_57_0 {
2098
+ name: string;
2099
+ variables?: VariablesV3_57_0;
2100
+ execution: AgentExecutionV3_57_0;
2101
+ transitions?: AgentTransitionV3_57_0[];
2102
+ }
2103
+ /**
2104
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2105
+ * via the `definition` "agentVariable".
2106
+ */
2107
+ export interface AgentVariableV3_57_0 {
2108
+ name: string;
2109
+ /**
2110
+ * These are evaluated in order until a value is found.
2111
+ */
2112
+ steps: AgentVariableStepV3_57_0[];
2113
+ }
2114
+ /**
2115
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2116
+ * via the `definition` "agentVariableStep".
2117
+ */
2118
+ export interface AgentVariableStepV3_57_0 {
2119
+ condition?: string;
2120
+ expression: string;
2121
+ }
2122
+ /**
2123
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2124
+ * via the `definition` "agentExecutionGraphql".
2125
+ */
2126
+ export interface AgentExecutionGraphQLV3_57_0 {
2127
+ type: 'graphql';
2128
+ query: string;
2129
+ path?: string;
2130
+ }
2131
+ /**
2132
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2133
+ * via the `definition` "agentExecutionGenerate".
2134
+ */
2135
+ export interface AgentExecutionGenerateV3_57_0 {
2136
+ type: 'generate';
2137
+ service: string;
2138
+ model: string;
2139
+ systemPrompt?: string;
2140
+ input: AgentAIStateInputV3_57_0;
2141
+ outputShape?: string;
2142
+ tools?: AgentToolConfigV3_57_0[];
2143
+ options?: AgentGenerateOptionsV3_57_0;
2144
+ }
2145
+ /**
2146
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2147
+ * via the `definition` "agentAiStateInputArg".
2148
+ */
2149
+ export interface AgentAIStateInputArgumentV3_57_0 {
2150
+ type: 'arg';
2151
+ }
2152
+ /**
2153
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2154
+ * via the `definition` "agentAiStateInputTemplate".
2155
+ */
2156
+ export interface AgentAIStateInputTemplateV3_57_0 {
2157
+ type: 'template';
2158
+ inputTemplate: string;
2159
+ }
2160
+ /**
2161
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2162
+ * via the `definition` "agentToolConfig".
2163
+ */
2164
+ export interface AgentToolConfigV3_57_0 {
2165
+ name: string;
2166
+ ref: string;
2167
+ description?: string;
2168
+ args?: AgentToolConfigArgV3_57_0[];
2169
+ selectionSet?: string;
2170
+ }
2171
+ /**
2172
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2173
+ * via the `definition` "agentToolConfigArgAgent".
2174
+ */
2175
+ export interface AgentControlledV3_57_0 {
2176
+ type: 'agent';
2177
+ argName: ToolArgumentNameV3_57_0;
2178
+ }
2179
+ /**
2180
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2181
+ * via the `definition` "agentToolConfigArgVariable".
2182
+ */
2183
+ export interface VariableValueV3_57_0 {
2184
+ type: 'variable';
2185
+ argName: ToolArgumentNameV3_57_01;
2186
+ variableName: StateVariableNameV3_57_0;
2187
+ }
2188
+ /**
2189
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2190
+ * via the `definition` "agentGenerateOptions".
2191
+ */
2192
+ export interface AgentGenerateOptionsV3_57_0 {
2193
+ history?: HistoryV3_57_01;
2194
+ maxTokens?: MaximumTokensV3_57_01;
2195
+ temperature?: TemperatureV3_57_01;
2196
+ topP?: TopPV3_57_01;
2197
+ topK?: TopKV3_57_01;
2198
+ presencePenalty?: PresencePenaltySettingV3_57_01;
2199
+ frequencyPenalty?: FrequencyPenaltySettingV3_57_01;
2200
+ stopSequences?: StopSequencesV3_57_01;
2201
+ seed?: SeedV3_57_01;
2202
+ /**
2203
+ * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
2204
+ */
2205
+ maxRetries?: number;
2206
+ /**
2207
+ * The tool choice strategy. Default: 'auto'
2208
+ */
2209
+ toolChoice?: (('auto' | 'none' | 'required') | string) & string;
2210
+ maxToolRoundtrips?: MaxToolRoundtripsV3_57_0;
2211
+ structuredOutputs?: StructuredOutputsV3_57_0;
2212
+ enableOpenAIFormat?: EnableOpenAISchemaFormatV3_57_0;
2213
+ removePropertyKeyPatterns?: RemovePropertyKeyPatternsV3_57_0;
2214
+ stripMarkdown?: StripMarkdownV3_57_0;
2215
+ }
2216
+ /**
2217
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2218
+ * via the `definition` "agentExecutionChat".
2219
+ */
2220
+ export interface AgentExecutionChatV3_57_0 {
2221
+ type: 'chat';
2222
+ service: string;
2223
+ model: string;
2224
+ systemPrompt?: string;
2225
+ input: AgentAIStateInputV3_57_0;
2226
+ artifact?: string;
2227
+ tools?: AgentToolConfigV3_57_0[];
2228
+ options?: AgentGenerateOptionsV3_57_0;
2229
+ }
2230
+ /**
2231
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2232
+ * via the `definition` "agentTransitionImmediate".
2233
+ */
2234
+ export interface AgentTransitionImmediateV3_57_0 {
2235
+ type: 'immediate';
2236
+ destination: string;
2237
+ condition?: string;
2238
+ limit?: number;
2239
+ sessionMemory?: AgentStateSessionMemoryV3_57_01;
2240
+ historyStrategy?: string;
2241
+ }
2242
+ /**
2243
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2244
+ * via the `definition` "agentGuard".
2245
+ */
2246
+ export interface AgentGuardV3_57_0 {
2247
+ guardId: GuardIDV3_57_0;
2248
+ }
2249
+ /**
2250
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2251
+ * via the `definition` "historyStrategyMap".
2252
+ */
2253
+ export interface HistoryStrategyMapV3_57_0 {
2254
+ [k: string]: HistoryStrategyV3_57_0;
2255
+ }
2256
+ /**
2257
+ * This interface was referenced by `HistoryStrategyMapV3_57_0`'s JSON-Schema definition
2258
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2259
+ *
2260
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2261
+ * via the `definition` "historyStrategy".
2262
+ */
2263
+ export interface HistoryStrategyV3_57_0 {
2264
+ name: string;
2265
+ variables?: VariablesV3_57_01;
2266
+ filter?: HistoryStrategyFilterV3_57_0;
2267
+ transform: HistoryStrategyTransformV3_57_0;
2268
+ }
2269
+ /**
2270
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2271
+ * via the `definition` "historyStrategyFilter".
2272
+ */
2273
+ export interface HistoryStrategyFilterV3_57_0 {
2274
+ toolCalls?: 'retain' | 'clear';
2275
+ }
2276
+ /**
2277
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2278
+ * via the `definition` "historyStrategyTransformNone".
2279
+ */
2280
+ export interface HistoryStrategyTransformNoneV3_57_0 {
2281
+ type: 'none';
2282
+ }
2283
+ /**
2284
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2285
+ * via the `definition` "historyStrategyTransformReplace".
2286
+ */
2287
+ export interface HistoryStrategyTransformReplaceV3_57_0 {
2288
+ type: 'replace';
2289
+ template: string;
2290
+ }
2291
+ /**
2292
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2293
+ * via the `definition` "historyStrategyTransformSummarize".
2294
+ */
2295
+ export interface HistoryStrategyTransformSummarizeV3_57_0 {
2296
+ type: 'generate';
2297
+ service: string;
2298
+ model: string;
2299
+ systemPrompt: string;
2300
+ tools?: AgentToolConfigV3_57_0[];
2301
+ options?: AgentGenerateOptionsV3_57_0;
2302
+ }
2303
+ /**
2304
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2305
+ * via the `definition` "guardMap".
2306
+ */
2307
+ export interface GuardMapV3_57_0 {
2308
+ [k: string]: GuardJSONV3_57_0;
2309
+ }
2310
+ /**
2311
+ * A Guard is a configuration for an AI guardrail that can check inputs and outputs and provide safety and compliance.
2312
+ *
2313
+ * This interface was referenced by `GuardMapV3_57_0`'s JSON-Schema definition
2314
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2315
+ *
2316
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2317
+ * via the `definition` "guard".
2318
+ */
2319
+ export interface GuardJSONV3_57_0 {
2320
+ name: NameV3_57_01;
2321
+ description?: DescriptionV3_57_01;
2322
+ enabled?: EnabledV3_57_0;
2323
+ guardrailIdentifier?: GuardrailIdentifierV3_57_0;
2324
+ guardrailVersion?: GuardrailVersionV3_57_0;
2325
+ blockedInputMessaging?: BlockedInputMessagingV3_57_0;
2326
+ blockedOutputsMessaging?: BlockedOutputsMessagingV3_57_0;
2327
+ topicPolicyConfig?: TopicPolicyV3_57_0;
2328
+ contentPolicyConfig?: ContentPolicyV3_57_0;
2329
+ wordPolicyConfig?: WordPolicyV3_57_0;
2330
+ sensitiveInformationPolicyConfig?: SensitiveInformationPolicyV3_57_0;
2331
+ contextualGroundingPolicyConfig?: ContextualGroundingPolicyV3_57_0;
2332
+ }
2333
+ /**
2334
+ * Topics to identify and block.
2335
+ */
2336
+ export interface TopicPolicyV3_57_0 {
2337
+ topicsConfig: TopicV3_57_0;
2338
+ }
2339
+ /**
2340
+ * Types of content to filter and strength configuration.
2341
+ */
2342
+ export interface ContentPolicyV3_57_0 {
2343
+ filtersConfig: FilterV3_57_0;
2344
+ }
2345
+ /**
2346
+ * Specific words to identify and block.
2347
+ */
2348
+ export interface WordPolicyV3_57_0 {
2349
+ wordsConfig?: WordListV3_57_0;
2350
+ managedWordListsConfig?: ManagedWordListV3_57_0;
2351
+ }
2352
+ /**
2353
+ * Filter out and block or obscure sensitive information. Matching text will be handled per the policy.
2354
+ */
2355
+ export interface SensitiveInformationPolicyV3_57_0 {
2356
+ piiEntitiesConfig?: PIIEntityV3_57_0;
2357
+ regexesConfig?: RegularExpressionV3_57_0;
2358
+ }
2359
+ /**
2360
+ * Provides evaluations based on grounding text supplied by your in-context agent variables. Off-topic conversations can then be blocked.
2361
+ */
2362
+ export interface ContextualGroundingPolicyV3_57_0 {
2363
+ filtersConfig: FilterV3_57_01;
2364
+ }
2365
+ /**
2366
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2367
+ * via the `definition` "mcpConfig".
2368
+ */
2369
+ export interface MCPServerConfigurationV3_57_0 {
2370
+ tools?: ToolMapV3_57_0;
2371
+ }
2372
+ /**
2373
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2374
+ * via the `definition` "toolMap".
2375
+ */
2376
+ export interface ToolMapV3_57_0 {
2377
+ [k: string]: ToolJSONV3_57_0;
2378
+ }
2379
+ /**
2380
+ * This interface was referenced by `ToolMapV3_57_0`'s JSON-Schema definition
2381
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
2382
+ *
2383
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2384
+ * via the `definition` "tool".
2385
+ */
2386
+ export interface ToolJSONV3_57_0 {
2387
+ name: string;
2388
+ ref: string;
2389
+ description?: string;
2390
+ args?: ToolArgV3_57_0[];
2391
+ selectionSet?: string;
2392
+ }
2393
+ /**
2394
+ * All possible options for the more specific ParameterSerializeStyleOptions types.
2395
+ *
2396
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2397
+ * via the `definition` "parameterSerializeStyleOptions".
2398
+ */
2399
+ export interface ParameterSerializeStyleOptionsV3_57_0 {
2400
+ style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
2401
+ explode?: boolean;
2402
+ allowEmptyValue?: boolean;
2403
+ /**
2404
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
2405
+ */
2406
+ allowReserved?: boolean;
2407
+ skipEncoding?: boolean;
2408
+ }
2409
+ /**
2410
+ * All possible options for the more specific ParameterSerializeConfig types.
2411
+ *
2412
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2413
+ * via the `definition` "parameterSerializeConfig".
2414
+ */
2415
+ export interface ParameterSerializeConfigV3_57_0 {
2416
+ content?: ParameterSerializeContentOptionsV3_57_0;
2417
+ defaults?: ParameterSerializeOptionsV3_57_0;
2418
+ paths?: {
2419
+ [k: string]: ParameterSerializeOptionsV3_57_0;
2420
+ };
2421
+ }
2422
+ /**
2423
+ * All possible options for the more specific ParameterConfig types.
2424
+ *
2425
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2426
+ * via the `definition` "parameterConfig".
2427
+ */
2428
+ export interface ParameterConfigV3_57_0 {
2429
+ ops: ParameterOpListV3_57_0;
2430
+ serialize?: ParameterSerializeConfigV3_57_0;
2431
+ }
2432
+ /**
2433
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2434
+ * via the `definition` "aiParseFileResolverOptions".
2435
+ */
2436
+ export interface AIParseFileResolverOptionsV3_57_0 {
2437
+ [k: string]: any;
2438
+ }
2439
+ /**
2440
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2441
+ * via the `definition` "listQueryLoaderConfig".
2442
+ */
2443
+ export interface ListQueryLoaderConfigV3_57_0 {
2444
+ query: string;
2445
+ args?: {
2446
+ [k: string]: any;
2447
+ };
2448
+ pagination?: PaginationConfigV3_57_0;
2449
+ }
2450
+ /**
2451
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2452
+ * via the `definition` "formScalarConfig".
2453
+ */
2454
+ export interface FormScalarConfigV3_57_0 {
2455
+ widget: string;
2456
+ }
2457
+ /**
2458
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2459
+ * via the `definition` "formObjectConfig".
2460
+ */
2461
+ export interface FormObjectConfigV3_57_0 {
2462
+ widget?: string;
2463
+ order?: string[];
2464
+ properties?: {
2465
+ [k: string]: FormConfigV3_57_0;
2466
+ };
2467
+ }
2468
+ /**
2469
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2470
+ * via the `definition` "formArrayConfig".
2471
+ */
2472
+ export interface FormArrayConfigV3_57_0 {
2473
+ widget: string;
2474
+ items: FormConfigV3_57_0;
2475
+ }
2476
+ /**
2477
+ * For use with a custom auth handler on a service provider.
2478
+ *
2479
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2480
+ * via the `definition` "customAuthentication".
2481
+ */
2482
+ export interface CustomAuthenticationV3_57_0 {
2483
+ type: 'custom';
2484
+ [k: string]: any;
2485
+ }
2486
+ /**
2487
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2488
+ * via the `definition` "searchParamsAuthentication".
2489
+ */
2490
+ export interface SearchParamsAuthenticationV3_57_0 {
2491
+ type: 'searchParams';
2492
+ params: {
2493
+ name: string;
2494
+ value: string;
2495
+ }[];
2496
+ }
2497
+ /**
2498
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2499
+ * via the `definition` "bearerAuthentication".
2500
+ */
2501
+ export interface BearerAuthenticationV3_57_0 {
2502
+ type: 'bearer';
2503
+ token: string;
2504
+ prefix?: string;
2505
+ header?: string;
2506
+ }
2507
+ /**
2508
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2509
+ * via the `definition` "oauth2BearerAuthentication".
2510
+ */
2511
+ export interface OAuth2BearerAuthenticationV3_57_0 {
2512
+ type: 'oauth2Bearer';
2513
+ token: string;
2514
+ prefix?: string;
2515
+ header?: string;
2516
+ scope?: string;
2517
+ expiresAt?: string;
2518
+ }
2519
+ /**
2520
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2521
+ * via the `definition` "basicAuthentication".
2522
+ */
2523
+ export interface BasicAuthenticationV3_57_0 {
2524
+ type: 'basic';
2525
+ username: string;
2526
+ password: string;
2527
+ useIso8859?: boolean;
2528
+ }
2529
+ /**
2530
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2531
+ * via the `definition` "oauth2Authentication".
2532
+ */
2533
+ export interface OAuth2AuthenticationV3_57_0 {
2534
+ type: 'oauth2';
2535
+ grantType: 'authorizationCode' | 'clientCredentials';
2536
+ authorizationUrl?: string;
2537
+ accessTokenUrl?: string;
2538
+ clientId: string;
2539
+ clientSecret?: string;
2540
+ scope?: string;
2541
+ usePkce?: boolean;
2542
+ redirectUrl?: string;
2543
+ headerPrefix?: string;
2544
+ audience?: string;
2545
+ resource?: string;
2546
+ }
2547
+ /**
2548
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2549
+ * via the `definition` "awsAuthentication".
2550
+ */
2551
+ export interface AWSAuthenticationV3_57_0 {
2552
+ type: 'aws';
2553
+ awsAccessKeyId: string;
2554
+ awsSecretAccessKey: string;
2555
+ }
2556
+ /**
2557
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2558
+ * via the `definition` "googleAuthentication".
2559
+ */
2560
+ export interface GoogleAuthenticationV3_57_0 {
2561
+ type: 'google';
2562
+ clientEmail: string;
2563
+ privateKey: string;
2564
+ }
2565
+ /**
2566
+ * This interface was referenced by `ProjectSchemaJSONV3_57_0`'s JSON-Schema
2567
+ * via the `definition` "serviceConfig".
2568
+ */
2569
+ export interface ServiceConfigV3_57_0 {
2570
+ /**
2571
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
2572
+ */
2573
+ id: string;
2574
+ /**
2575
+ * Human-readable name for this service.
2576
+ */
2577
+ title: string;
2578
+ /**
2579
+ * The service provider id.
2580
+ */
2581
+ provider: string;
2582
+ /**
2583
+ * A namespace to use for the imported types tied to this service.
2584
+ */
2585
+ namespace?: string;
2586
+ serviceType: ServiceTypeV3_57_0;
2587
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
2588
+ authentication?: ServiceAuthenticationV3_57_0;
2589
+ healthCheck?: ServiceHealthCheckV3_57_0;
2590
+ webhookId?: string;
2591
+ /**
2592
+ * Configuration options passed to and handled by the provider.
2593
+ */
2594
+ options?: {
2595
+ [k: string]: any;
2596
+ };
2597
+ }