@takeshape/schema 11.14.2 → 11.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1737 @@
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_48_0`'s JSON-Schema
8
+ * via the `definition` "args".
9
+ */
10
+ export type ArgsV3_48_0 = string | ObjectSchemaV3_48_0;
11
+ /**
12
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
13
+ * via the `definition` "objectSchema".
14
+ */
15
+ export type ObjectSchemaV3_48_0 = PropertySchemaV3_48_0 & {
16
+ type: 'object';
17
+ properties: {
18
+ [k: string]: PropertySchemaV3_48_0;
19
+ };
20
+ };
21
+ /**
22
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
23
+ * via the `definition` "nonNegativeInteger".
24
+ */
25
+ export type NonNegativeIntegerV3_48_0 = number;
26
+ /**
27
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
28
+ * via the `definition` "nonNegativeIntegerDefault0".
29
+ */
30
+ export type NonNegativeIntegerDefault0V3_48_0 = NonNegativeIntegerV3_48_0;
31
+ /**
32
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
33
+ * via the `definition` "stringArray".
34
+ */
35
+ export type StringArrayV3_48_0 = string[];
36
+ /**
37
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
38
+ * via the `definition` "simpleTypes".
39
+ */
40
+ export type SimpleTypesV3_48_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
41
+ /**
42
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
43
+ * via the `definition` "schemaArray".
44
+ */
45
+ export type SchemaArrayV3_48_0 = PropertySchemaV3_48_0[];
46
+ /**
47
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
48
+ * via the `definition` "ref".
49
+ */
50
+ export type RefV3_48_0 = string;
51
+ /**
52
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
53
+ * via the `definition` "objectOrRefArray".
54
+ */
55
+ export type ObjectOrRefArrayV3_48_0 = (RefSchemaV3_48_0 | RefSchemaLegacyV3_48_0 | ObjectSchemaV3_48_0)[];
56
+ /**
57
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
58
+ * via the `definition` "fieldMapping".
59
+ */
60
+ export type FieldMappingV3_48_0 = MappingStringV3_48_0 | MappingStringV3_48_0[];
61
+ /**
62
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
63
+ * via the `definition` "mappingString".
64
+ */
65
+ export type MappingStringV3_48_0 = string;
66
+ /**
67
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
68
+ * via the `definition` "resolver".
69
+ */
70
+ export type ResolverV3_48_0 = BasicResolverV3_48_0 | ComposeResolverV3_48_0;
71
+ /**
72
+ * A single resolver, can be composed with the ComposeResolver.
73
+ *
74
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
75
+ * via the `definition` "basicResolver".
76
+ */
77
+ export type BasicResolverV3_48_0 = UtilResolverV3_48_0 | DelegateResolverV3_48_0 | TakeshapeResolverV3_48_0 | ShapedbResolverV3_48_0 | ShapedbResolverShapeNameNotRequiredV3_48_0 | GraphqlResolverV3_48_0 | RestResolverV3_48_0 | AwsLambdaResolverV3_48_0 | SalsifyResolverV3_48_0 | FunctionResolverV3_48_0 | AIGenerateTextResolverV3_48_0 | AIEmbeddingResolverV3_48_0 | AIParseFileResolverV3_48_0;
78
+ /**
79
+ * Name of the resolver function.
80
+ */
81
+ export type UtilResolverNameV3_48_0 = 'util:noop' | 'util:wrap';
82
+ /**
83
+ * An object describing an operation to generate a parameter.
84
+ *
85
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
86
+ * via the `definition` "parameterOp".
87
+ */
88
+ export type ParameterOpV3_48_0 = ParameterOpNestedV3_48_0 | ParameterOpValueV3_48_0 | ParameterOpMappingV3_48_0 | ParameterOpOpV3_48_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_48_0`'s JSON-Schema
93
+ * via the `definition` "directiveConfigItem".
94
+ */
95
+ export type DirectiveConfigItemV3_48_0 = [DirectiveNameV3_48_0, DirectiveOptionsV3_48_0];
96
+ export type DirectiveNameV3_48_0 = string;
97
+ /**
98
+ * An array of individual directive config items to process in order
99
+ *
100
+ * This interface was referenced by `DirectiveMappingMapV3_48_0`'s JSON-Schema definition
101
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
102
+ *
103
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
104
+ * via the `definition` "directiveConfig".
105
+ */
106
+ export type DirectiveConfigV3_48_0 = DirectiveConfigItemV3_48_0[];
107
+ /**
108
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
109
+ * via the `definition` "parameterOpList".
110
+ */
111
+ export type ParameterOpListV3_48_0 = ParameterOpV3_48_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_48_0`'s JSON-Schema
116
+ * via the `definition` "argsMapping".
117
+ */
118
+ export type ArgsMappingV3_48_0 = DirectiveMappingMapV3_48_0 | DirectiveConfigV3_48_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_48_0`'s JSON-Schema
123
+ * via the `definition` "resultsMapping".
124
+ */
125
+ export type ResultsMappingV3_48_0 = DirectiveMappingMapV3_48_0 | DirectiveConfigV3_48_0;
126
+ /**
127
+ * Name of the resolver function.
128
+ */
129
+ export type DelegateResolverNameV3_48_0 = 'delegate';
130
+ /**
131
+ * Name of the resolver function.
132
+ */
133
+ export type TakeshapeResolverNameV3_48_0 = 'takeshape:getUser' | 'takeshape:search' | 'takeshape:vectorSearch' | 'takeshape:queryApiIndex';
134
+ /**
135
+ * Name of the resolver function.
136
+ */
137
+ export type ShapedbResolverNameV3_48_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_48_0 = 'shapedb:list' | 'shapedb:taxonomySuggest' | 'shapedb:getRelated';
142
+ /**
143
+ * Name of the resolver function.
144
+ */
145
+ export type GraphqlResolverNameV3_48_0 = 'graphql:query' | 'graphql:mutation' | 'shopify:bulkQuery';
146
+ /**
147
+ * Name of the resolver function.
148
+ */
149
+ export type RestResolverNameV3_48_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_48_0`'s JSON-Schema
154
+ * via the `definition` "directiveMappingArrayItem".
155
+ */
156
+ export type DirectiveMappingArrayItemV3_48_0 = [string, DirectiveConfigV3_48_0];
157
+ /**
158
+ * An array of key / value or directive config tuples
159
+ */
160
+ export type SearchParamsMappingV3_48_0 = DirectiveMappingArrayItemV3_48_0[];
161
+ /**
162
+ * Name of the resolver function.
163
+ */
164
+ export type AwsLambdaResolverNameV3_48_0 = 'awsLambda:invoke';
165
+ /**
166
+ * Name of the resolver function.
167
+ */
168
+ export type SalsifyResolverNameV3_48_0 = 'salsify:listChannelProducts';
169
+ /**
170
+ * Name of the resolver function.
171
+ */
172
+ export type FunctionResolverNameV3_48_0 = 'function:run';
173
+ export type FunctionResolverJavascriptV3_48_0 = string;
174
+ /**
175
+ * Name of the resolver function.
176
+ */
177
+ export type AIResolverNameV3_48_0 = 'ai:generateText' | 'ai:chat';
178
+ export type HistoryV3_48_0 = boolean;
179
+ /**
180
+ * Maximum number of tokens to generate.
181
+ */
182
+ export type MaximumTokensV3_48_0 = number;
183
+ /**
184
+ * 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
185
+ */
186
+ export type TemperatureV3_48_0 = number;
187
+ /**
188
+ * 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.
189
+ */
190
+ export type TopPV3_48_0 = number;
191
+ /**
192
+ * 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.
193
+ */
194
+ export type TopKV3_48_0 = number;
195
+ /**
196
+ * 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.
197
+ */
198
+ export type PresencePenaltySettingV3_48_0 = number;
199
+ /**
200
+ * 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.
201
+ */
202
+ export type FrequencyPenaltySettingV3_48_0 = number;
203
+ /**
204
+ * If set, the model will stop generating text when one of the stop sequences is generated.
205
+ */
206
+ export type StopSequencesV3_48_0 = string[];
207
+ /**
208
+ * The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
209
+ */
210
+ export type SeedV3_48_0 = number;
211
+ /**
212
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
213
+ * via the `definition` "aiGuardrail".
214
+ */
215
+ export type AIGuardrailV3_48_0 = AISimilarityGuardrailV3_48_0;
216
+ /**
217
+ * Name of the resolver function.
218
+ */
219
+ export type AIResolverNameV3_48_01 = 'ai:createEmbedding';
220
+ /**
221
+ * Name of the resolver function.
222
+ */
223
+ export type AIResolverNameV3_48_02 = 'ai:parseFile';
224
+ /**
225
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
226
+ * via the `definition` "dependencies".
227
+ */
228
+ export type DependenciesV3_48_0 = string;
229
+ /**
230
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
231
+ * via the `definition` "returnShape".
232
+ */
233
+ export type ReturnShapeV3_48_0 = string | ReturnShapeArraySchemaV3_48_0;
234
+ /**
235
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
236
+ * via the `definition` "returnShapeArraySchema".
237
+ */
238
+ export type ReturnShapeArraySchemaV3_48_0 = PropertySchemaV3_48_0 & {
239
+ type: 'array';
240
+ items: RefSchemaV3_48_0 | {
241
+ type: 'boolean' | 'integer' | 'number' | 'string' | 'object';
242
+ [k: string]: any;
243
+ };
244
+ };
245
+ export type ModelTypeV3_48_0 = 'single' | 'multiple' | 'taxonomy';
246
+ /**
247
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
248
+ * via the `definition` "paginationConfig".
249
+ */
250
+ export type PaginationConfigV3_48_0 = PaginationCursorConfigV3_48_0 | PaginationPageConfigV3_48_0 | PaginationOffsetConfigV3_48_0;
251
+ /**
252
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
253
+ * via the `definition` "cacheTriggerConfig".
254
+ */
255
+ export type CacheTriggerConfigV3_48_0 = CacheScheduleTriggerConfigV3_48_0 | CacheWebhookTriggerConfigV3_48_0;
256
+ /**
257
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
258
+ * via the `definition` "shapeSchema".
259
+ */
260
+ export type ShapeSchemaV3_48_0 = ShapeSchemaAllOfV3_48_0 | ShapeSchemaExtendsV3_48_0 | ShapeSchemaOneOfV3_48_0 | ShapeSchemaEnumV3_48_0 | ObjectSchemaV3_48_0 | ShapeSchemaAnyV3_48_0;
261
+ /**
262
+ * Human-readable id for use in the UI
263
+ */
264
+ export type WorkflowNameV3_48_0 = string;
265
+ /**
266
+ * machine-readable slug
267
+ */
268
+ export type NameV3_48_0 = string;
269
+ /**
270
+ * Human-readable id for use in the UI
271
+ */
272
+ export type TitleV3_48_0 = string;
273
+ export type DescriptionV3_48_0 = string;
274
+ /**
275
+ * Hex color code
276
+ */
277
+ export type ColorV3_48_0 = string;
278
+ /**
279
+ * Value to indicate whether items in the state should be returned in list queries
280
+ */
281
+ export type LiveV3_48_0 = boolean;
282
+ /**
283
+ * machine-readable id
284
+ */
285
+ export type KeyV3_48_0 = string;
286
+ export type StepsV3_48_0 = WorkflowStepV3_48_0[];
287
+ /**
288
+ * The general type of this service, specifying how and where it will be utilized.
289
+ *
290
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
291
+ * via the `definition` "serviceType".
292
+ */
293
+ export type ServiceTypeV3_48_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
294
+ /**
295
+ * The name of a health check to run
296
+ */
297
+ export type CheckNameV3_48_0 = 'graphqlIntrospection' | 'ping' | 'none';
298
+ /**
299
+ * The endpoint to use when checking the service health.
300
+ */
301
+ export type EndpointV3_48_0 = string;
302
+ /**
303
+ * A custom method to use for the health check request.
304
+ */
305
+ export type RequestMethodV3_48_0 = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
306
+ /**
307
+ * A custom body to send along with the ping request.
308
+ */
309
+ export type RequestBodyV3_48_0 = string;
310
+ /**
311
+ * A custom body to send along with the ping request.
312
+ */
313
+ export type RequestBodyFormatV3_48_0 = 'string' | 'form' | 'json' | 'form-data';
314
+ /**
315
+ * The amount of time to wait when receiving a response from the health check, in seconds.
316
+ */
317
+ export type RequestTimeoutV3_48_0 = number;
318
+ /**
319
+ * The response status code that qualifies as healthy.
320
+ */
321
+ export type HealthyResponseStatusCodeV3_48_0 = number;
322
+ /**
323
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
324
+ * via the `definition` "serviceHealthCheckTrigger".
325
+ */
326
+ export type ServiceHealthCheckTriggerV3_48_0 = 'manual' | 'schedule';
327
+ /**
328
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
329
+ * via the `definition` "allOfSchema".
330
+ */
331
+ export type AllOfSchemaV3_48_0 = PropertySchemaV3_48_0 & {
332
+ allOf: ObjectOrRefArrayV3_48_0;
333
+ };
334
+ /**
335
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
336
+ * via the `definition` "extendsSchema".
337
+ */
338
+ export type ExtendsSchemaV3_48_0 = PropertySchemaV3_48_0 & {
339
+ extends: ObjectOrRefArrayV3_48_0;
340
+ };
341
+ /**
342
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
343
+ * via the `definition` "oneOfSchema".
344
+ */
345
+ export type OneOfSchemaV3_48_0 = PropertySchemaV3_48_0 & {
346
+ oneOf: ObjectOrRefArrayV3_48_0;
347
+ };
348
+ /**
349
+ * Options to be passed to the serialization routine.
350
+ *
351
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
352
+ * via the `definition` "parameterSerializeOptions".
353
+ *
354
+ * This interface was referenced by `undefined`'s JSON-Schema definition
355
+ * via the `patternProperty` "^[^\n\r]*$".
356
+ */
357
+ export type ParameterSerializeOptionsV3_48_0 = ParameterSerializeStyleOptionsV3_48_0 | ParameterSerializeContentOptionsV3_48_0;
358
+ /**
359
+ * An array of key / value or directive config tuples
360
+ *
361
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
362
+ * via the `definition` "directiveMappingArray".
363
+ */
364
+ export type DirectiveMappingArrayV3_48_0 = DirectiveMappingArrayItemV3_48_0[];
365
+ /**
366
+ * A resolver which references a specific service
367
+ *
368
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
369
+ * via the `definition` "serviceResolver".
370
+ */
371
+ export type ServiceResolverV3_48_0 = TakeshapeResolverV3_48_0 | ShapedbResolverShapeNameNotRequiredV3_48_0 | ShapedbResolverV3_48_0 | GraphqlResolverV3_48_0 | RestResolverV3_48_0 | AwsLambdaResolverV3_48_0;
372
+ /**
373
+ * An array of key / value or directive config tuples
374
+ *
375
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
376
+ * via the `definition` "searchParamsMapping".
377
+ */
378
+ export type SearchParamsMappingV3_48_01 = DirectiveMappingArrayItemV3_48_0[];
379
+ /**
380
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
381
+ * via the `definition` "shapeWithObjectSchema".
382
+ */
383
+ export type ShapeWithObjectSchemaV3_48_0 = ShapeJSONV3_48_0 & {
384
+ schema: ObjectSchemaV3_48_0;
385
+ };
386
+ /**
387
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
388
+ * via the `definition` "serviceAuthentication".
389
+ */
390
+ export type ServiceAuthenticationV3_48_0 = OAuth2AuthenticationV3_48_0 | OAuth2BearerAuthenticationV3_48_0 | BearerAuthenticationV3_48_0 | BasicAuthenticationV3_48_0 | SearchParamsAuthenticationV3_48_0 | AWSAuthenticationV3_48_0 | CustomAuthenticationV3_48_0;
391
+ /**
392
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
393
+ * via the `definition` "anyServiceConfig".
394
+ */
395
+ export type AnyServiceConfigV3_48_0 = ServiceConfigJSONV3_48_0 | ServiceConfigV3_48_0;
396
+ export interface ProjectSchemaJSONV3_48_0 {
397
+ $schema?: string;
398
+ /**
399
+ * The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
400
+ */
401
+ apiVersion: string;
402
+ /**
403
+ * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
404
+ */
405
+ schemaVersion: '3.48.0';
406
+ /**
407
+ * The ID of the TakeShape project this schema belongs to.
408
+ */
409
+ projectId: string;
410
+ /**
411
+ * The ID of the TakeShape user who created the schema.
412
+ */
413
+ author?: string;
414
+ deactivated?: number;
415
+ /**
416
+ * The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
417
+ */
418
+ defaultLocale: string;
419
+ locales: string[];
420
+ queries: QueryMapV3_48_0;
421
+ mutations: QueryMapV3_48_0;
422
+ shapes: ShapeMapV3_48_0;
423
+ forms?: FormMapV3_48_0;
424
+ workflows: WorkflowMapV3_48_0;
425
+ services?: ServiceMapJSONV3_48_0;
426
+ }
427
+ /**
428
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
429
+ * via the `definition` "queryMap".
430
+ */
431
+ export interface QueryMapV3_48_0 {
432
+ [k: string]: QueryJSONV3_48_0;
433
+ }
434
+ /**
435
+ * This interface was referenced by `QueryMapV3_48_0`'s JSON-Schema definition
436
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
437
+ *
438
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
439
+ * via the `definition` "query".
440
+ */
441
+ export interface QueryJSONV3_48_0 {
442
+ args?: ArgsV3_48_0;
443
+ resolver: ResolverV3_48_0;
444
+ shape: ReturnShapeV3_48_0;
445
+ /**
446
+ * Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
447
+ */
448
+ description?: string;
449
+ }
450
+ /**
451
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
452
+ * via the `definition` "propertySchema".
453
+ */
454
+ export interface PropertySchemaV3_48_0 {
455
+ $ref?: string;
456
+ title?: string;
457
+ description?: string;
458
+ default?: any;
459
+ readOnly?: boolean;
460
+ multipleOf?: number;
461
+ maximum?: number;
462
+ exclusiveMaximum?: number;
463
+ minimum?: number;
464
+ exclusiveMinimum?: number;
465
+ maxLength?: NonNegativeIntegerV3_48_0;
466
+ minLength?: NonNegativeIntegerDefault0V3_48_0;
467
+ pattern?: string;
468
+ additionalItems?: PropertySchemaV3_48_0;
469
+ items?: PropertySchemaV3_48_0;
470
+ maxItems?: NonNegativeIntegerV3_48_0;
471
+ minItems?: NonNegativeIntegerDefault0V3_48_0;
472
+ uniqueItems?: boolean;
473
+ contains?: PropertySchemaV3_48_0;
474
+ maxProperties?: NonNegativeIntegerV3_48_0;
475
+ minProperties?: NonNegativeIntegerDefault0V3_48_0;
476
+ required?: StringArrayV3_48_0;
477
+ additionalProperties?: PropertySchemaV3_48_0 | false;
478
+ definitions?: {
479
+ [k: string]: PropertySchemaV3_48_0;
480
+ };
481
+ properties?: {
482
+ [k: string]: PropertySchemaV3_48_0;
483
+ };
484
+ const?: any;
485
+ enum?: any[];
486
+ type?: SimpleTypesV3_48_0 | SimpleTypesV3_48_0[];
487
+ format?: string;
488
+ contentMediaType?: string;
489
+ contentEncoding?: string;
490
+ allOf?: SchemaArrayV3_48_0;
491
+ discriminator?: {
492
+ propertyName?: string;
493
+ [k: string]: any;
494
+ };
495
+ oneOf?: SchemaArrayV3_48_0;
496
+ extends?: ObjectOrRefArrayV3_48_0;
497
+ '@backreference'?: BackReferenceV3_48_0;
498
+ '@input'?: PropertySchemaV3_48_0;
499
+ '@output'?: PropertySchemaV3_48_0;
500
+ '@syncLocaleStructure'?: boolean;
501
+ '@sensitive'?: boolean;
502
+ '@draftjs'?: boolean;
503
+ '@l10n'?: boolean;
504
+ '@key'?: string;
505
+ '@workflow'?: string;
506
+ '@mapping'?: FieldMappingV3_48_0;
507
+ '@tag'?: string;
508
+ '@tags'?: string[];
509
+ '@deprecationReason'?: string;
510
+ '@args'?: ArgsV3_48_0;
511
+ '@resolver'?: ResolverV3_48_0;
512
+ '@dependencies'?: DependenciesV3_48_0;
513
+ '@ref'?: RefV3_48_0;
514
+ '@derivedFrom'?: string;
515
+ '@indexed'?: IndexedV3_48_0;
516
+ '@graphql'?: GraphQLConfigV3_48_0;
517
+ }
518
+ /**
519
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
520
+ * via the `definition` "refSchema".
521
+ */
522
+ export interface RefSchemaV3_48_0 {
523
+ '@ref': RefV3_48_0;
524
+ [k: string]: any;
525
+ }
526
+ /**
527
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
528
+ * via the `definition` "refSchemaLegacy".
529
+ */
530
+ export interface RefSchemaLegacyV3_48_0 {
531
+ $ref: RefV3_48_0;
532
+ [k: string]: any;
533
+ }
534
+ /**
535
+ * A configuration object for a reverse reference in a relationship.
536
+ *
537
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
538
+ * via the `definition` "backreference".
539
+ */
540
+ export interface BackReferenceV3_48_0 {
541
+ enabled: boolean;
542
+ name?: string;
543
+ }
544
+ /**
545
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
546
+ * via the `definition` "utilResolver".
547
+ */
548
+ export interface UtilResolverV3_48_0 {
549
+ if?: string;
550
+ id?: string;
551
+ name: UtilResolverNameV3_48_0;
552
+ options?: UtilResolverOptionsV3_48_0;
553
+ /**
554
+ * Optional value to return from the noop resolver.
555
+ */
556
+ value?: number | string | boolean | {
557
+ [k: string]: any;
558
+ } | any[] | null;
559
+ args?: ParameterConfigForJsonV3_48_0;
560
+ results?: ParameterConfigForJsonV3_48_0;
561
+ argsMapping?: ArgsMappingV3_48_0;
562
+ resultsMapping?: ResultsMappingV3_48_0;
563
+ }
564
+ export interface UtilResolverOptionsV3_48_0 {
565
+ [k: string]: any;
566
+ }
567
+ /**
568
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
569
+ * via the `definition` "parameterConfigForJson".
570
+ */
571
+ export interface ParameterConfigForJsonV3_48_0 {
572
+ ops: ParameterOpListV3_48_0;
573
+ }
574
+ /**
575
+ * An object describing an operation to generate a parameter, using a nested OpList.
576
+ *
577
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
578
+ * via the `definition` "parameterOpNested".
579
+ */
580
+ export interface ParameterOpNestedV3_48_0 {
581
+ /**
582
+ * A path to the parameter for this operation.
583
+ */
584
+ path: string;
585
+ /**
586
+ * A mode for this parameter's operation.
587
+ */
588
+ op?: 'set' | 'concat' | 'extend' | 'remove';
589
+ ops: ParameterOpListV3_48_0;
590
+ }
591
+ /**
592
+ * An object describing an operation to generate a parameter using a value.
593
+ *
594
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
595
+ * via the `definition` "parameterOpValue".
596
+ */
597
+ export interface ParameterOpValueV3_48_0 {
598
+ /**
599
+ * A path to the parameter for this operation.
600
+ */
601
+ path: string;
602
+ /**
603
+ * A mode for this parameter's operation.
604
+ */
605
+ op?: 'set' | 'concat' | 'extend' | 'remove';
606
+ /**
607
+ * A value to set directly at this path.
608
+ */
609
+ value: number | string | boolean | {
610
+ [k: string]: any;
611
+ } | any[] | null;
612
+ }
613
+ /**
614
+ * An object describing an operation to generate a parameter using a mapping.
615
+ *
616
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
617
+ * via the `definition` "parameterOpMapping".
618
+ */
619
+ export interface ParameterOpMappingV3_48_0 {
620
+ /**
621
+ * A path to the parameter for this operation.
622
+ */
623
+ path: string;
624
+ /**
625
+ * A mode for this parameter's operation.
626
+ */
627
+ op?: 'set' | 'concat' | 'extend' | 'remove';
628
+ /**
629
+ * Either a valid JSONPath or a directive pipeline to evaluate against the query context.
630
+ */
631
+ mapping: string | DirectiveConfigV3_48_0;
632
+ }
633
+ export interface DirectiveOptionsV3_48_0 {
634
+ [k: string]: any;
635
+ }
636
+ /**
637
+ * An object describing an operation to generate a parameter using a mapping.
638
+ *
639
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
640
+ * via the `definition` "parameterOpOp".
641
+ */
642
+ export interface ParameterOpOpV3_48_0 {
643
+ /**
644
+ * A path to the parameter for this operation.
645
+ */
646
+ path: string;
647
+ /**
648
+ * A mode for this parameter's operation.
649
+ */
650
+ op: 'set' | 'concat' | 'extend' | 'remove';
651
+ }
652
+ /**
653
+ * An map of object keys / key paths to directive configs
654
+ *
655
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
656
+ * via the `definition` "directiveMappingMap".
657
+ */
658
+ export interface DirectiveMappingMapV3_48_0 {
659
+ [k: string]: DirectiveConfigV3_48_0;
660
+ }
661
+ /**
662
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
663
+ * via the `definition` "delegateResolver".
664
+ */
665
+ export interface DelegateResolverV3_48_0 {
666
+ if?: string;
667
+ id?: string;
668
+ name: DelegateResolverNameV3_48_0;
669
+ options?: DelegateResolverOptionsV3_48_0;
670
+ argsMapping?: ArgsMappingV3_48_0;
671
+ resultsMapping?: ResultsMappingV3_48_0;
672
+ /**
673
+ * A ref to a query/mutation/property to delegate to.
674
+ */
675
+ to: string;
676
+ args?: ParameterConfigForJsonV3_48_0;
677
+ results?: ParameterConfigForJsonV3_48_0;
678
+ }
679
+ export interface DelegateResolverOptionsV3_48_0 {
680
+ [k: string]: any;
681
+ }
682
+ /**
683
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
684
+ * via the `definition` "takeshapeResolver".
685
+ */
686
+ export interface TakeshapeResolverV3_48_0 {
687
+ if?: string;
688
+ id?: string;
689
+ name: TakeshapeResolverNameV3_48_0;
690
+ /**
691
+ * Internal service identifier.
692
+ */
693
+ service: 'takeshape';
694
+ options?: TakeshapeResolverOptionsV3_48_0;
695
+ /**
696
+ * An optional Shape name for the resolver.
697
+ */
698
+ shapeName?: string;
699
+ args?: ParameterConfigForJsonV3_48_0;
700
+ results?: ParameterConfigForJsonV3_48_0;
701
+ argsMapping?: ArgsMappingV3_48_0;
702
+ resultsMapping?: ResultsMappingV3_48_0;
703
+ }
704
+ export interface TakeshapeResolverOptionsV3_48_0 {
705
+ [k: string]: any;
706
+ }
707
+ /**
708
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
709
+ * via the `definition` "shapedbResolver".
710
+ */
711
+ export interface ShapedbResolverV3_48_0 {
712
+ if?: string;
713
+ id?: string;
714
+ name: ShapedbResolverNameV3_48_0;
715
+ /**
716
+ * Internal service identifier.
717
+ */
718
+ service: 'shapedb';
719
+ options?: ShapedbResolverOptionsV3_48_0;
720
+ argsMapping?: ArgsMappingV3_48_0;
721
+ resultsMapping?: ResultsMappingV3_48_0;
722
+ /**
723
+ * A Shape name for the resolver to use.
724
+ */
725
+ shapeName: string;
726
+ args?: ParameterConfigForJsonV3_48_0;
727
+ results?: ParameterConfigForJsonV3_48_0;
728
+ }
729
+ export interface ShapedbResolverOptionsV3_48_0 {
730
+ [k: string]: any;
731
+ }
732
+ /**
733
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
734
+ * via the `definition` "shapedbResolverShapeNameNotRequired".
735
+ */
736
+ export interface ShapedbResolverShapeNameNotRequiredV3_48_0 {
737
+ if?: string;
738
+ id?: string;
739
+ name: ShapedbResolverShapeNameNotRequiredNameV3_48_0;
740
+ /**
741
+ * Internal service identifier.
742
+ */
743
+ service: 'shapedb';
744
+ options?: ShapedbResolverShapeNameNotRequiredOptionsV3_48_0;
745
+ /**
746
+ * An optional Shape name for the resolver.
747
+ */
748
+ shapeName?: string;
749
+ args?: ParameterConfigForJsonV3_48_0;
750
+ results?: ParameterConfigForJsonV3_48_0;
751
+ argsMapping?: ArgsMappingV3_48_0;
752
+ resultsMapping?: ResultsMappingV3_48_0;
753
+ }
754
+ export interface ShapedbResolverShapeNameNotRequiredOptionsV3_48_0 {
755
+ [k: string]: any;
756
+ }
757
+ /**
758
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
759
+ * via the `definition` "graphqlResolver".
760
+ */
761
+ export interface GraphqlResolverV3_48_0 {
762
+ if?: string;
763
+ id?: string;
764
+ name: GraphqlResolverNameV3_48_0;
765
+ /**
766
+ * Configuration for a service to use with this resolver.
767
+ */
768
+ service: string;
769
+ argsMapping?: ArgsMappingV3_48_0;
770
+ resultsMapping?: ResultsMappingV3_48_0;
771
+ options?: GraphqlResolverOptionsV3_48_0;
772
+ /**
773
+ * A fieldname to use in queries.
774
+ */
775
+ fieldName: string;
776
+ headers?: ParameterConfigForHeadersV3_48_0;
777
+ searchParams?: ParameterConfigForSearchParamsV3_48_0;
778
+ args?: ParameterConfigForJsonV3_48_0;
779
+ results?: ParameterConfigForJsonV3_48_0;
780
+ }
781
+ export interface GraphqlResolverOptionsV3_48_0 {
782
+ selectionSet?: string;
783
+ unboxParentSelectionSet?: boolean;
784
+ ignoreErrors?: boolean;
785
+ skipWhenMissingArgs?: boolean;
786
+ ttl?: number;
787
+ timeout?: number;
788
+ allowStream?: boolean;
789
+ retry?: number | {
790
+ [k: string]: any;
791
+ };
792
+ [k: string]: any;
793
+ }
794
+ /**
795
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
796
+ * via the `definition` "parameterConfigForHeaders".
797
+ */
798
+ export interface ParameterConfigForHeadersV3_48_0 {
799
+ ops: ParameterOpListV3_48_0;
800
+ serialize?: ParameterSerializeConfigForHeadersV3_48_0;
801
+ }
802
+ /**
803
+ * Top-level paths to use headers serialization options for.
804
+ *
805
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
806
+ * via the `definition` "parameterSerializeConfigForHeaders".
807
+ */
808
+ export interface ParameterSerializeConfigForHeadersV3_48_0 {
809
+ defaults?: ParameterSerializeStyleOptionsForHeadersV3_48_0 | ParameterSerializeContentOptionsV3_48_0;
810
+ paths?: {
811
+ /**
812
+ * This interface was referenced by `undefined`'s JSON-Schema definition
813
+ * via the `patternProperty` "^[^\n\r]*$".
814
+ */
815
+ [k: string]: ParameterSerializeStyleOptionsForHeadersV3_48_0 | ParameterSerializeContentOptionsV3_48_0;
816
+ };
817
+ }
818
+ /**
819
+ * Options to be passed to the serialization routine.
820
+ *
821
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
822
+ * via the `definition` "parameterSerializeStyleOptionsForHeaders".
823
+ */
824
+ export interface ParameterSerializeStyleOptionsForHeadersV3_48_0 {
825
+ style: 'simple' | 'none';
826
+ explode?: boolean;
827
+ }
828
+ /**
829
+ * Options to be passed to the serialization routine.
830
+ *
831
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
832
+ * via the `definition` "parameterSerializeContentOptions".
833
+ */
834
+ export interface ParameterSerializeContentOptionsV3_48_0 {
835
+ contentType: string;
836
+ /**
837
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
838
+ */
839
+ allowReserved?: boolean;
840
+ skipEncoding?: boolean;
841
+ /**
842
+ * Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
843
+ */
844
+ options?: {
845
+ [k: string]: any;
846
+ };
847
+ }
848
+ /**
849
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
850
+ * via the `definition` "parameterConfigForSearchParams".
851
+ */
852
+ export interface ParameterConfigForSearchParamsV3_48_0 {
853
+ ops: ParameterOpListV3_48_0;
854
+ serialize?: ParameterSerializeConfigForSearchParamsV3_48_0;
855
+ }
856
+ /**
857
+ * Top-level paths to use search params serialization options for.
858
+ *
859
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
860
+ * via the `definition` "parameterSerializeConfigForSearchParams".
861
+ */
862
+ export interface ParameterSerializeConfigForSearchParamsV3_48_0 {
863
+ defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_48_0 | ParameterSerializeContentOptionsV3_48_0;
864
+ paths?: {
865
+ /**
866
+ * This interface was referenced by `undefined`'s JSON-Schema definition
867
+ * via the `patternProperty` "^[^\n\r]*$".
868
+ */
869
+ [k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_48_0 | ParameterSerializeContentOptionsV3_48_0;
870
+ };
871
+ }
872
+ /**
873
+ * Options to be passed to the serialization routine.
874
+ *
875
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
876
+ * via the `definition` "parameterSerializeStyleOptionsForSearchParams".
877
+ */
878
+ export interface ParameterSerializeStyleOptionsForSearchParamsV3_48_0 {
879
+ style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
880
+ explode?: boolean;
881
+ allowEmptyValue?: boolean;
882
+ /**
883
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
884
+ */
885
+ allowReserved?: boolean;
886
+ skipEncoding?: boolean;
887
+ }
888
+ /**
889
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
890
+ * via the `definition` "restResolver".
891
+ */
892
+ export interface RestResolverV3_48_0 {
893
+ if?: string;
894
+ id?: string;
895
+ name: RestResolverNameV3_48_0;
896
+ /**
897
+ * Configuration for a service to use with this resolver.
898
+ */
899
+ service: string;
900
+ argsMapping?: ArgsMappingV3_48_0;
901
+ searchParamsMapping?: SearchParamsMappingV3_48_0;
902
+ resultsMapping?: ResultsMappingV3_48_0;
903
+ options?: RestResolverOptionsV3_48_0;
904
+ body?: ParameterConfigForBodyV3_48_0;
905
+ form?: ParameterConfigForSearchParamsV3_48_0;
906
+ headers?: ParameterConfigForHeadersV3_48_0;
907
+ json?: ParameterConfigForJsonV3_48_0;
908
+ /**
909
+ * Mapping and serialization configuration for the path, or a simple string.
910
+ */
911
+ path: ParameterConfigForPathParamsV3_48_0 | string;
912
+ searchParams?: ParameterConfigForSearchParamsV3_48_0;
913
+ args?: ParameterConfigForJsonV3_48_0;
914
+ results?: ParameterConfigForJsonV3_48_0;
915
+ }
916
+ export interface RestResolverOptionsV3_48_0 {
917
+ trailingSlash?: boolean;
918
+ allowStream?: boolean;
919
+ ttl?: number;
920
+ timeout?: number;
921
+ retry?: number | {
922
+ [k: string]: any;
923
+ };
924
+ [k: string]: any;
925
+ }
926
+ /**
927
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
928
+ * via the `definition` "parameterConfigForBody".
929
+ */
930
+ export interface ParameterConfigForBodyV3_48_0 {
931
+ ops: ParameterOpListV3_48_0;
932
+ serialize?: ParameterSerializeConfigForBodyV3_48_0;
933
+ }
934
+ /**
935
+ * Top-level paths to use serialization options for.
936
+ *
937
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
938
+ * via the `definition` "parameterSerializeConfigForBody".
939
+ */
940
+ export interface ParameterSerializeConfigForBodyV3_48_0 {
941
+ content?: ParameterSerializeContentOptionsV3_48_0;
942
+ }
943
+ /**
944
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
945
+ * via the `definition` "parameterConfigForPathParams".
946
+ */
947
+ export interface ParameterConfigForPathParamsV3_48_0 {
948
+ ops: ParameterOpListV3_48_0;
949
+ serialize: ParameterSerializeConfigForPathParamsV3_48_0;
950
+ }
951
+ /**
952
+ * Top-level paths to use path params serialization options for.
953
+ *
954
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
955
+ * via the `definition` "parameterSerializeConfigForPathParams".
956
+ */
957
+ export interface ParameterSerializeConfigForPathParamsV3_48_0 {
958
+ /**
959
+ * For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
960
+ */
961
+ template: string;
962
+ defaults?: ParameterSerializeStyleOptionsForPathParamsV3_48_0 | ParameterSerializeContentOptionsV3_48_0;
963
+ paths?: {
964
+ /**
965
+ * This interface was referenced by `undefined`'s JSON-Schema definition
966
+ * via the `patternProperty` "^[^\n\r]*$".
967
+ */
968
+ [k: string]: ParameterSerializeStyleOptionsForPathParamsV3_48_0 | ParameterSerializeContentOptionsV3_48_0;
969
+ };
970
+ }
971
+ /**
972
+ * Options to be passed to the serialization routine.
973
+ *
974
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
975
+ * via the `definition` "parameterSerializeStyleOptionsForPathParams".
976
+ */
977
+ export interface ParameterSerializeStyleOptionsForPathParamsV3_48_0 {
978
+ style: 'simple' | 'label' | 'matrix' | 'none';
979
+ explode?: boolean;
980
+ allowEmptyValue?: boolean;
981
+ /**
982
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
983
+ */
984
+ allowReserved?: boolean;
985
+ skipEncoding?: boolean;
986
+ }
987
+ /**
988
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
989
+ * via the `definition` "awsLambdaResolver".
990
+ */
991
+ export interface AwsLambdaResolverV3_48_0 {
992
+ if?: string;
993
+ id?: string;
994
+ name: AwsLambdaResolverNameV3_48_0;
995
+ /**
996
+ * Configuration for a service to use with this resolver.
997
+ */
998
+ service: string;
999
+ options?: AwsLambdaResolverOptionsV3_48_0;
1000
+ payload?: ParameterConfigForJsonV3_48_0;
1001
+ /**
1002
+ * Mapping configuration for the FunctionName.
1003
+ */
1004
+ functionName: string | ParameterConfigForAwsLambdaV3_48_0;
1005
+ clientContext?: ParameterConfigForJsonV3_48_0;
1006
+ args?: ParameterConfigForJsonV3_48_0;
1007
+ results?: ParameterConfigForJsonV3_48_0;
1008
+ argsMapping?: ArgsMappingV3_48_0;
1009
+ searchParamsMapping?: SearchParamsMappingV3_48_0;
1010
+ resultsMapping?: ResultsMappingV3_48_0;
1011
+ }
1012
+ export interface AwsLambdaResolverOptionsV3_48_0 {
1013
+ [k: string]: any;
1014
+ }
1015
+ /**
1016
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1017
+ * via the `definition` "parameterConfigForAwsLambda".
1018
+ */
1019
+ export interface ParameterConfigForAwsLambdaV3_48_0 {
1020
+ ops: ParameterOpListV3_48_0;
1021
+ serialize: ParameterSerializeConfigForPathParamsV3_48_0;
1022
+ }
1023
+ /**
1024
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1025
+ * via the `definition` "salsifyResolver".
1026
+ */
1027
+ export interface SalsifyResolverV3_48_0 {
1028
+ if?: string;
1029
+ id?: string;
1030
+ name: SalsifyResolverNameV3_48_0;
1031
+ /**
1032
+ * Configuration for a service to use with this resolver.
1033
+ */
1034
+ service: string;
1035
+ options?: SalsifyResolverOptionsV3_48_0;
1036
+ args?: ParameterConfigForJsonV3_48_0;
1037
+ results?: ParameterConfigForJsonV3_48_0;
1038
+ argsMapping?: ArgsMappingV3_48_0;
1039
+ resultsMapping?: ResultsMappingV3_48_0;
1040
+ }
1041
+ export interface SalsifyResolverOptionsV3_48_0 {
1042
+ [k: string]: any;
1043
+ }
1044
+ /**
1045
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1046
+ * via the `definition` "functionResolver".
1047
+ */
1048
+ export interface FunctionResolverV3_48_0 {
1049
+ if?: string;
1050
+ id?: string;
1051
+ name: FunctionResolverNameV3_48_0;
1052
+ options?: FunctionResolverOptionsV3_48_0;
1053
+ args?: ParameterConfigForJsonV3_48_0;
1054
+ results?: ParameterConfigForJsonV3_48_0;
1055
+ argsMapping?: ArgsMappingV3_48_0;
1056
+ resultsMapping?: ResultsMappingV3_48_0;
1057
+ javascript?: FunctionResolverJavascriptV3_48_0;
1058
+ }
1059
+ export interface FunctionResolverOptionsV3_48_0 {
1060
+ [k: string]: any;
1061
+ }
1062
+ /**
1063
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1064
+ * via the `definition` "aiGenerateTextResolver".
1065
+ */
1066
+ export interface AIGenerateTextResolverV3_48_0 {
1067
+ if?: string;
1068
+ id?: string;
1069
+ name: AIResolverNameV3_48_0;
1070
+ /**
1071
+ * Configuration for a service to use with this resolver.
1072
+ */
1073
+ service: string;
1074
+ options?: AIGenerateTextResolverOptionsV3_48_0;
1075
+ systemPrompt: string;
1076
+ inputTemplate?: string;
1077
+ model?: string;
1078
+ tools?: (string | AIToolConfigV3_48_0)[];
1079
+ guardrails?: AIGuardrailV3_48_0[];
1080
+ context?: ParameterConfigForJsonV3_48_0;
1081
+ results?: ParameterConfigForJsonV3_48_0;
1082
+ }
1083
+ /**
1084
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1085
+ * via the `definition` "aiGenerateTextResolverOptions".
1086
+ */
1087
+ export interface AIGenerateTextResolverOptionsV3_48_0 {
1088
+ history?: HistoryV3_48_0;
1089
+ maxTokens?: MaximumTokensV3_48_0;
1090
+ temperature?: TemperatureV3_48_0;
1091
+ topP?: TopPV3_48_0;
1092
+ topK?: TopKV3_48_0;
1093
+ presencePenalty?: PresencePenaltySettingV3_48_0;
1094
+ frequencyPenalty?: FrequencyPenaltySettingV3_48_0;
1095
+ stopSequences?: StopSequencesV3_48_0;
1096
+ seed?: SeedV3_48_0;
1097
+ /**
1098
+ * Maximum number of retries. Set to 0 to disable retries. Defaults to 2
1099
+ */
1100
+ maxRetries?: number;
1101
+ /**
1102
+ * The tool choice strategy. Default: 'auto'
1103
+ */
1104
+ toolChoice?: (('auto' | 'none' | 'required') | string) & string;
1105
+ /**
1106
+ * Maximal number of automatic roundtrips for tool calls.
1107
+ */
1108
+ maxToolRoundtrips?: number;
1109
+ [k: string]: any;
1110
+ }
1111
+ /**
1112
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1113
+ * via the `definition` "aiToolConfig".
1114
+ */
1115
+ export interface AIToolConfigV3_48_0 {
1116
+ ref: string;
1117
+ selectionSet?: string;
1118
+ }
1119
+ /**
1120
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1121
+ * via the `definition` "aiSimilarityGuardrail".
1122
+ */
1123
+ export interface AISimilarityGuardrailV3_48_0 {
1124
+ name: 'similarity';
1125
+ shape: string;
1126
+ defaultResponse: string;
1127
+ threshold?: number;
1128
+ }
1129
+ /**
1130
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1131
+ * via the `definition` "aiEmbeddingResolver".
1132
+ */
1133
+ export interface AIEmbeddingResolverV3_48_0 {
1134
+ if?: string;
1135
+ id?: string;
1136
+ name: AIResolverNameV3_48_01;
1137
+ /**
1138
+ * Configuration for a service to use with this resolver.
1139
+ */
1140
+ service: string;
1141
+ options?: AIEmbeddingResolverOptionsV3_48_0;
1142
+ model?: string;
1143
+ args?: ParameterConfigForJsonV3_48_0;
1144
+ results?: ParameterConfigForJsonV3_48_0;
1145
+ }
1146
+ /**
1147
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1148
+ * via the `definition` "aiEmbeddingResolverOptions".
1149
+ */
1150
+ export interface AIEmbeddingResolverOptionsV3_48_0 {
1151
+ useDependencies?: boolean;
1152
+ [k: string]: any;
1153
+ }
1154
+ /**
1155
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1156
+ * via the `definition` "aiParseFileResolver".
1157
+ */
1158
+ export interface AIParseFileResolverV3_48_0 {
1159
+ if?: string;
1160
+ id?: string;
1161
+ name: AIResolverNameV3_48_02;
1162
+ /**
1163
+ * Configuration for a service to use with this resolver.
1164
+ */
1165
+ service: string;
1166
+ options?: AIEmbeddingResolverOptionsV3_48_0;
1167
+ args?: ParameterConfigForJsonV3_48_0;
1168
+ results?: ParameterConfigForJsonV3_48_0;
1169
+ }
1170
+ /**
1171
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1172
+ * via the `definition` "composeResolver".
1173
+ */
1174
+ export interface ComposeResolverV3_48_0 {
1175
+ compose: BasicResolverV3_48_0[];
1176
+ resultsMapping?: DirectiveMappingMapV3_48_0 | DirectiveConfigV3_48_0;
1177
+ results?: ParameterConfigForJsonV3_48_0;
1178
+ }
1179
+ /**
1180
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1181
+ * via the `definition` "indexed".
1182
+ */
1183
+ export interface IndexedV3_48_0 {
1184
+ nested?: boolean;
1185
+ }
1186
+ /**
1187
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1188
+ * via the `definition` "graphql".
1189
+ */
1190
+ export interface GraphQLConfigV3_48_0 {
1191
+ json?: boolean;
1192
+ }
1193
+ /**
1194
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1195
+ * via the `definition` "shapeMap".
1196
+ */
1197
+ export interface ShapeMapV3_48_0 {
1198
+ [k: string]: ShapeJSONV3_48_0;
1199
+ }
1200
+ /**
1201
+ * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
1202
+ *
1203
+ * This interface was referenced by `ShapeMapV3_48_0`'s JSON-Schema definition
1204
+ * via the `patternProperty` "^[0-9A-Za-z_]+$".
1205
+ *
1206
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1207
+ * via the `definition` "shape".
1208
+ */
1209
+ export interface ShapeJSONV3_48_0 {
1210
+ /**
1211
+ * 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
1212
+ */
1213
+ name: string;
1214
+ /**
1215
+ * 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.
1216
+ */
1217
+ id: string;
1218
+ /**
1219
+ * The human-readable name for a Shape for use in a UI.
1220
+ */
1221
+ title: string;
1222
+ description?: string;
1223
+ type?: 'interface' | 'input' | 'output';
1224
+ interfaces?: string[];
1225
+ /**
1226
+ * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
1227
+ */
1228
+ model?: {
1229
+ type: ModelTypeV3_48_0;
1230
+ };
1231
+ workflow?: string;
1232
+ loaders?: ShapeLoadersV3_48_0;
1233
+ joins?: ShapeJoinsV3_48_0;
1234
+ cache?: ShapeCacheConfigV3_48_0;
1235
+ schema: ShapeSchemaV3_48_0;
1236
+ }
1237
+ /**
1238
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1239
+ * via the `definition` "shapeLoaders".
1240
+ */
1241
+ export interface ShapeLoadersV3_48_0 {
1242
+ list: StoredListQueryLoaderConfigV3_48_0 | StoredListQueryLoaderConfigV3_48_0[];
1243
+ get?: GetQueryLoaderConfigV3_48_0;
1244
+ }
1245
+ /**
1246
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1247
+ * via the `definition` "storedListQueryLoaderConfig".
1248
+ */
1249
+ export interface StoredListQueryLoaderConfigV3_48_0 {
1250
+ query: string;
1251
+ args?: {
1252
+ [k: string]: any;
1253
+ } | {
1254
+ [k: string]: any;
1255
+ }[];
1256
+ pagination?: PaginationConfigV3_48_0;
1257
+ }
1258
+ /**
1259
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1260
+ * via the `definition` "paginationCursorConfig".
1261
+ */
1262
+ export interface PaginationCursorConfigV3_48_0 {
1263
+ type: 'cursor';
1264
+ cursorArg: string;
1265
+ cursorPath: string;
1266
+ pageSize?: number;
1267
+ pageSizeArg: string;
1268
+ hasMorePath: string;
1269
+ itemsPath: string;
1270
+ }
1271
+ /**
1272
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1273
+ * via the `definition` "paginationPageConfig".
1274
+ */
1275
+ export interface PaginationPageConfigV3_48_0 {
1276
+ type: 'page';
1277
+ pageArg: string;
1278
+ pageSize?: number;
1279
+ pageSizeArg?: string;
1280
+ itemsPath: string;
1281
+ pageTotalPath: string;
1282
+ }
1283
+ /**
1284
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1285
+ * via the `definition` "paginationOffsetConfig".
1286
+ */
1287
+ export interface PaginationOffsetConfigV3_48_0 {
1288
+ type: 'offset';
1289
+ offsetArg: string;
1290
+ pageSize?: number;
1291
+ pageSizeArg?: string;
1292
+ itemsPath: string;
1293
+ itemTotalPath: string;
1294
+ }
1295
+ /**
1296
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1297
+ * via the `definition` "getQueryLoaderConfig".
1298
+ */
1299
+ export interface GetQueryLoaderConfigV3_48_0 {
1300
+ query: string;
1301
+ args?: {
1302
+ [k: string]: any;
1303
+ };
1304
+ idArg?: string;
1305
+ }
1306
+ /**
1307
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1308
+ * via the `definition` "shapeJoins".
1309
+ */
1310
+ export interface ShapeJoinsV3_48_0 {
1311
+ [k: string]: ShapeJoinV3_48_0;
1312
+ }
1313
+ /**
1314
+ * This interface was referenced by `ShapeJoinsV3_48_0`'s JSON-Schema definition
1315
+ * via the `patternProperty` "[:0-9A-Za-z_-]+".
1316
+ *
1317
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1318
+ * via the `definition` "shapeJoin".
1319
+ */
1320
+ export interface ShapeJoinV3_48_0 {
1321
+ resolver: DelegateResolverV3_48_0 | ShapedbResolverV3_48_0;
1322
+ dependencies?: string;
1323
+ }
1324
+ /**
1325
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1326
+ * via the `definition` "shapeCacheConfig".
1327
+ */
1328
+ export interface ShapeCacheConfigV3_48_0 {
1329
+ enabled: boolean;
1330
+ idField?: string;
1331
+ searchSummaryField?: string;
1332
+ fragment?: CachedFragmentConfigV3_48_0;
1333
+ triggers?: CacheTriggerConfigV3_48_0[];
1334
+ /**
1335
+ * Number of seconds this Shape should be cached. Default 0.
1336
+ */
1337
+ maxAge?: number;
1338
+ }
1339
+ /**
1340
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1341
+ * via the `definition` "cachedFragmentConfig".
1342
+ */
1343
+ export interface CachedFragmentConfigV3_48_0 {
1344
+ ignoreFields?: string[];
1345
+ maxDepth?: number;
1346
+ selectionSet?: string;
1347
+ includeDeprecated?: boolean;
1348
+ }
1349
+ /**
1350
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1351
+ * via the `definition` "cacheScheduleTriggerConfig".
1352
+ */
1353
+ export interface CacheScheduleTriggerConfigV3_48_0 {
1354
+ type: 'schedule';
1355
+ loader: 'get' | 'list';
1356
+ interval: number;
1357
+ }
1358
+ /**
1359
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1360
+ * via the `definition` "cacheWebhookTriggerConfig".
1361
+ */
1362
+ export interface CacheWebhookTriggerConfigV3_48_0 {
1363
+ type: 'webhook';
1364
+ loader: 'get' | 'list';
1365
+ service: string;
1366
+ events: string[];
1367
+ }
1368
+ /**
1369
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1370
+ * via the `definition` "shapeSchemaAllOf".
1371
+ */
1372
+ export interface ShapeSchemaAllOfV3_48_0 {
1373
+ allOf: ObjectOrRefArrayV3_48_0;
1374
+ }
1375
+ /**
1376
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1377
+ * via the `definition` "shapeSchemaExtends".
1378
+ */
1379
+ export interface ShapeSchemaExtendsV3_48_0 {
1380
+ extends: ObjectOrRefArrayV3_48_0;
1381
+ }
1382
+ /**
1383
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1384
+ * via the `definition` "shapeSchemaOneOf".
1385
+ */
1386
+ export interface ShapeSchemaOneOfV3_48_0 {
1387
+ oneOf: ObjectOrRefArrayV3_48_0;
1388
+ }
1389
+ /**
1390
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1391
+ * via the `definition` "shapeSchemaEnum".
1392
+ */
1393
+ export interface ShapeSchemaEnumV3_48_0 {
1394
+ enum: any[];
1395
+ }
1396
+ /**
1397
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1398
+ * via the `definition` "shapeSchemaAny".
1399
+ */
1400
+ export interface ShapeSchemaAnyV3_48_0 {
1401
+ }
1402
+ /**
1403
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1404
+ * via the `definition` "formMap".
1405
+ */
1406
+ export interface FormMapV3_48_0 {
1407
+ [k: string]: FormsConfigV3_48_0;
1408
+ }
1409
+ /**
1410
+ * This interface was referenced by `FormMapV3_48_0`'s JSON-Schema definition
1411
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1412
+ *
1413
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1414
+ * via the `definition` "formsConfig".
1415
+ */
1416
+ export interface FormsConfigV3_48_0 {
1417
+ default: FormConfigV3_48_0;
1418
+ [k: string]: FormConfigV3_48_0;
1419
+ }
1420
+ /**
1421
+ * This interface was referenced by `FormsConfigV3_48_0`'s JSON-Schema definition
1422
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1423
+ *
1424
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1425
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1426
+ *
1427
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1428
+ * via the `definition` "formConfig".
1429
+ */
1430
+ export interface FormConfigV3_48_0 {
1431
+ [k: string]: any;
1432
+ }
1433
+ /**
1434
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1435
+ * via the `definition` "workflowMap".
1436
+ */
1437
+ export interface WorkflowMapV3_48_0 {
1438
+ [k: string]: WorkflowV3_48_0;
1439
+ }
1440
+ /**
1441
+ * This interface was referenced by `WorkflowMapV3_48_0`'s JSON-Schema definition
1442
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1443
+ *
1444
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1445
+ * via the `definition` "workflow".
1446
+ */
1447
+ export interface WorkflowV3_48_0 {
1448
+ /**
1449
+ * machine-readable id
1450
+ */
1451
+ name: string;
1452
+ title: WorkflowNameV3_48_0;
1453
+ steps: StepsV3_48_0;
1454
+ [k: string]: any;
1455
+ }
1456
+ /**
1457
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1458
+ * via the `definition` "workflowStep".
1459
+ */
1460
+ export interface WorkflowStepV3_48_0 {
1461
+ name: NameV3_48_0;
1462
+ title: TitleV3_48_0;
1463
+ description?: DescriptionV3_48_0;
1464
+ color: ColorV3_48_0;
1465
+ live: LiveV3_48_0;
1466
+ key: KeyV3_48_0;
1467
+ }
1468
+ /**
1469
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1470
+ * via the `definition` "storedServiceMap".
1471
+ */
1472
+ export interface ServiceMapJSONV3_48_0 {
1473
+ [k: string]: ServiceConfigJSONV3_48_0;
1474
+ }
1475
+ /**
1476
+ * This interface was referenced by `ServiceMapJSONV3_48_0`'s JSON-Schema definition
1477
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1478
+ *
1479
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1480
+ * via the `definition` "storedServiceConfig".
1481
+ */
1482
+ export interface ServiceConfigJSONV3_48_0 {
1483
+ /**
1484
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
1485
+ */
1486
+ id: string;
1487
+ /**
1488
+ * Human-readable name for this service.
1489
+ */
1490
+ title: string;
1491
+ /**
1492
+ * The service provider id.
1493
+ */
1494
+ provider: string;
1495
+ /**
1496
+ * A namespace to use for the imported types tied to this service.
1497
+ */
1498
+ namespace?: string;
1499
+ serviceType: ServiceTypeV3_48_0;
1500
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
1501
+ authentication?: string;
1502
+ healthCheck?: ServiceHealthCheckV3_48_0;
1503
+ webhookId?: string;
1504
+ /**
1505
+ * Configuration options passed to and handled by the provider.
1506
+ */
1507
+ options?: {
1508
+ [k: string]: any;
1509
+ };
1510
+ }
1511
+ /**
1512
+ * Configuration for ping health checks.
1513
+ *
1514
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1515
+ * via the `definition` "serviceHealthCheck".
1516
+ */
1517
+ export interface ServiceHealthCheckV3_48_0 {
1518
+ checkName: CheckNameV3_48_0;
1519
+ endpoint?: EndpointV3_48_0;
1520
+ requestMethod?: RequestMethodV3_48_0;
1521
+ requestHeaders?: RequestHeadersV3_48_0;
1522
+ requestSearchParams?: RequestSearchParamsV3_48_0;
1523
+ requestBody?: RequestBodyV3_48_0;
1524
+ requestBodyFormat?: RequestBodyFormatV3_48_0;
1525
+ requestTimeout?: RequestTimeoutV3_48_0;
1526
+ healthyResponseStatusCode?: HealthyResponseStatusCodeV3_48_0;
1527
+ triggers?: ServiceHealthCheckTriggerV3_48_0[];
1528
+ }
1529
+ /**
1530
+ * Any custom headers to set with the health check request.
1531
+ */
1532
+ export interface RequestHeadersV3_48_0 {
1533
+ [k: string]: any;
1534
+ }
1535
+ /**
1536
+ * Any custom search params to set with the health check request.
1537
+ */
1538
+ export interface RequestSearchParamsV3_48_0 {
1539
+ [k: string]: any;
1540
+ }
1541
+ /**
1542
+ * All possible options for the more specific ParameterSerializeStyleOptions types.
1543
+ *
1544
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1545
+ * via the `definition` "parameterSerializeStyleOptions".
1546
+ */
1547
+ export interface ParameterSerializeStyleOptionsV3_48_0 {
1548
+ style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
1549
+ explode?: boolean;
1550
+ allowEmptyValue?: boolean;
1551
+ /**
1552
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1553
+ */
1554
+ allowReserved?: boolean;
1555
+ skipEncoding?: boolean;
1556
+ }
1557
+ /**
1558
+ * All possible options for the more specific ParameterSerializeConfig types.
1559
+ *
1560
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1561
+ * via the `definition` "parameterSerializeConfig".
1562
+ */
1563
+ export interface ParameterSerializeConfigV3_48_0 {
1564
+ content?: ParameterSerializeContentOptionsV3_48_0;
1565
+ defaults?: ParameterSerializeOptionsV3_48_0;
1566
+ paths?: {
1567
+ [k: string]: ParameterSerializeOptionsV3_48_0;
1568
+ };
1569
+ }
1570
+ /**
1571
+ * All possible options for the more specific ParameterConfig types.
1572
+ *
1573
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1574
+ * via the `definition` "parameterConfig".
1575
+ */
1576
+ export interface ParameterConfigV3_48_0 {
1577
+ ops: ParameterOpListV3_48_0;
1578
+ serialize?: ParameterSerializeConfigV3_48_0;
1579
+ }
1580
+ /**
1581
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1582
+ * via the `definition` "aiParseFileResolverOptions".
1583
+ */
1584
+ export interface AIParseFileResolverOptionsV3_48_0 {
1585
+ [k: string]: any;
1586
+ }
1587
+ /**
1588
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1589
+ * via the `definition` "listQueryLoaderConfig".
1590
+ */
1591
+ export interface ListQueryLoaderConfigV3_48_0 {
1592
+ query: string;
1593
+ args?: {
1594
+ [k: string]: any;
1595
+ };
1596
+ pagination?: PaginationConfigV3_48_0;
1597
+ }
1598
+ /**
1599
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1600
+ * via the `definition` "formScalarConfig".
1601
+ */
1602
+ export interface FormScalarConfigV3_48_0 {
1603
+ widget: string;
1604
+ }
1605
+ /**
1606
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1607
+ * via the `definition` "formObjectConfig".
1608
+ */
1609
+ export interface FormObjectConfigV3_48_0 {
1610
+ widget?: string;
1611
+ order?: string[];
1612
+ properties?: {
1613
+ [k: string]: FormConfigV3_48_0;
1614
+ };
1615
+ }
1616
+ /**
1617
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1618
+ * via the `definition` "formArrayConfig".
1619
+ */
1620
+ export interface FormArrayConfigV3_48_0 {
1621
+ widget: string;
1622
+ items: FormConfigV3_48_0;
1623
+ }
1624
+ /**
1625
+ * For use with a custom auth handler on a service provider.
1626
+ *
1627
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1628
+ * via the `definition` "customAuthentication".
1629
+ */
1630
+ export interface CustomAuthenticationV3_48_0 {
1631
+ type: 'custom';
1632
+ [k: string]: any;
1633
+ }
1634
+ /**
1635
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1636
+ * via the `definition` "searchParamsAuthentication".
1637
+ */
1638
+ export interface SearchParamsAuthenticationV3_48_0 {
1639
+ type: 'searchParams';
1640
+ params: {
1641
+ name: string;
1642
+ value: string;
1643
+ }[];
1644
+ }
1645
+ /**
1646
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1647
+ * via the `definition` "bearerAuthentication".
1648
+ */
1649
+ export interface BearerAuthenticationV3_48_0 {
1650
+ type: 'bearer';
1651
+ token: string;
1652
+ prefix?: string;
1653
+ header?: string;
1654
+ }
1655
+ /**
1656
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1657
+ * via the `definition` "oauth2BearerAuthentication".
1658
+ */
1659
+ export interface OAuth2BearerAuthenticationV3_48_0 {
1660
+ type: 'oauth2Bearer';
1661
+ token: string;
1662
+ prefix?: string;
1663
+ header?: string;
1664
+ scope?: string;
1665
+ expiresAt?: string;
1666
+ }
1667
+ /**
1668
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1669
+ * via the `definition` "basicAuthentication".
1670
+ */
1671
+ export interface BasicAuthenticationV3_48_0 {
1672
+ type: 'basic';
1673
+ username: string;
1674
+ password: string;
1675
+ useIso8859?: boolean;
1676
+ }
1677
+ /**
1678
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1679
+ * via the `definition` "oauth2Authentication".
1680
+ */
1681
+ export interface OAuth2AuthenticationV3_48_0 {
1682
+ type: 'oauth2';
1683
+ grantType: 'authorizationCode' | 'clientCredentials';
1684
+ authorizationUrl?: string;
1685
+ accessTokenUrl?: string;
1686
+ clientId: string;
1687
+ clientSecret?: string;
1688
+ scope?: string;
1689
+ usePkce?: boolean;
1690
+ redirectUrl?: string;
1691
+ headerPrefix?: string;
1692
+ audience?: string;
1693
+ resource?: string;
1694
+ }
1695
+ /**
1696
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1697
+ * via the `definition` "awsAuthentication".
1698
+ */
1699
+ export interface AWSAuthenticationV3_48_0 {
1700
+ type: 'aws';
1701
+ awsAccessKeyId: string;
1702
+ awsSecretAccessKey: string;
1703
+ }
1704
+ /**
1705
+ * This interface was referenced by `ProjectSchemaJSONV3_48_0`'s JSON-Schema
1706
+ * via the `definition` "serviceConfig".
1707
+ */
1708
+ export interface ServiceConfigV3_48_0 {
1709
+ /**
1710
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
1711
+ */
1712
+ id: string;
1713
+ /**
1714
+ * Human-readable name for this service.
1715
+ */
1716
+ title: string;
1717
+ /**
1718
+ * The service provider id.
1719
+ */
1720
+ provider: string;
1721
+ /**
1722
+ * A namespace to use for the imported types tied to this service.
1723
+ */
1724
+ namespace?: string;
1725
+ serviceType: ServiceTypeV3_48_0;
1726
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
1727
+ authentication?: ServiceAuthenticationV3_48_0;
1728
+ healthCheck?: ServiceHealthCheckV3_48_0;
1729
+ webhookId?: string;
1730
+ /**
1731
+ * Configuration options passed to and handled by the provider.
1732
+ */
1733
+ options?: {
1734
+ [k: string]: any;
1735
+ };
1736
+ }
1737
+ //# sourceMappingURL=v3.48.0.d.ts.map