@takeshape/schema 8.45.2 → 8.48.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 (70) hide show
  1. package/es/flatten-templates.js +1 -1
  2. package/es/migration/index.js +6 -1
  3. package/es/migration/to/v3.12.0.js +10 -0
  4. package/es/project-schema/index.js +1 -0
  5. package/es/project-schema/v3.12.0.js +1 -0
  6. package/es/refs.js +5 -1
  7. package/es/schemas/index.js +4 -3
  8. package/es/schemas/index.ts +4 -2
  9. package/es/schemas/project-schema/v3.12.0.json +2143 -0
  10. package/es/schemas/project-schema.json +3 -1
  11. package/es/template-shapes/templates.js +6 -3
  12. package/es/template-shapes/where.js +39 -30
  13. package/es/types/utils.js +2 -1
  14. package/examples/latest/blog-schema.json +1 -1
  15. package/examples/latest/brewery-schema.json +1 -1
  16. package/examples/latest/complex-project-schema.json +1 -1
  17. package/examples/latest/fabric-ecommerce.json +1 -1
  18. package/examples/latest/frank-and-fred-schema.json +1 -1
  19. package/examples/latest/massive-schema.json +1 -1
  20. package/examples/latest/mill-components-schema.json +1 -1
  21. package/examples/latest/pet-oneof-array.json +1 -1
  22. package/examples/latest/post-schema.json +1 -1
  23. package/examples/latest/pruned-shopify-product-schema.json +1 -1
  24. package/examples/latest/real-world-schema.json +1 -1
  25. package/examples/latest/recursive-repeater-schema.json +1 -1
  26. package/examples/latest/recursive-schema.json +1 -1
  27. package/examples/latest/rick-and-morty-ast.json +1 -1
  28. package/examples/latest/rick-and-morty-graphql.json +1 -1
  29. package/examples/latest/rick-and-morty-rest.json +1 -1
  30. package/examples/latest/schema-with-repeater-draftjs.json +1 -1
  31. package/examples/latest/shape-books-v3_2_0.json +1 -1
  32. package/examples/latest/shape-books.json +1 -1
  33. package/examples/latest/shopify-lookbook.json +1 -1
  34. package/examples/latest/shopify-store-with-widget.json +1 -1
  35. package/examples/latest/stripe-starter-resolved.json +1 -1
  36. package/examples/latest/user-schema-no-required.json +1 -1
  37. package/examples/latest/user-schema-with-defaults.json +1 -1
  38. package/lib/flatten-templates.js +1 -1
  39. package/lib/migration/index.d.ts.map +1 -1
  40. package/lib/migration/index.js +6 -0
  41. package/lib/migration/to/v3.12.0.d.ts +4 -0
  42. package/lib/migration/to/v3.12.0.d.ts.map +1 -0
  43. package/lib/migration/to/v3.12.0.js +18 -0
  44. package/lib/project-schema/index.d.ts +3 -1
  45. package/lib/project-schema/index.d.ts.map +1 -1
  46. package/lib/project-schema/index.js +27 -14
  47. package/lib/project-schema/latest.d.ts +7 -3
  48. package/lib/project-schema/latest.d.ts.map +1 -1
  49. package/lib/project-schema/v3.12.0.d.ts +1215 -0
  50. package/lib/project-schema/v3.12.0.d.ts.map +1 -0
  51. package/lib/project-schema/v3.12.0.js +5 -0
  52. package/lib/refs.d.ts.map +1 -1
  53. package/lib/refs.js +5 -1
  54. package/lib/schemas/index.d.ts +375 -375
  55. package/lib/schemas/index.d.ts.map +1 -1
  56. package/lib/schemas/index.js +18 -16
  57. package/lib/schemas/index.ts +4 -2
  58. package/lib/schemas/project-schema/v3.12.0.json +2143 -0
  59. package/lib/schemas/project-schema.json +3 -1
  60. package/lib/template-shapes/templates.d.ts.map +1 -1
  61. package/lib/template-shapes/templates.js +5 -2
  62. package/lib/template-shapes/where.d.ts +2 -2
  63. package/lib/template-shapes/where.d.ts.map +1 -1
  64. package/lib/template-shapes/where.js +39 -28
  65. package/lib/types/types.d.ts +2 -2
  66. package/lib/types/types.d.ts.map +1 -1
  67. package/lib/types/utils.d.ts +1 -0
  68. package/lib/types/utils.d.ts.map +1 -1
  69. package/lib/types/utils.js +4 -2
  70. package/package.json +6 -4
@@ -0,0 +1,1215 @@
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 `ProjectSchemaV3_12_0`'s JSON-Schema
8
+ * via the `definition` "args".
9
+ */
10
+ export declare type ArgsV3_12_0 = string | ObjectSchemaV3_12_0;
11
+ /**
12
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
13
+ * via the `definition` "objectSchema".
14
+ */
15
+ export declare type ObjectSchemaV3_12_0 = PropertySchemaV3_12_0 & {
16
+ type: 'object';
17
+ properties: {
18
+ [k: string]: PropertySchemaV3_12_0;
19
+ };
20
+ };
21
+ /**
22
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
23
+ * via the `definition` "nonNegativeInteger".
24
+ */
25
+ export declare type NonNegativeIntegerV3_12_0 = number;
26
+ /**
27
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
28
+ * via the `definition` "nonNegativeIntegerDefault0".
29
+ */
30
+ export declare type NonNegativeIntegerDefault0V3_12_0 = NonNegativeIntegerV3_12_0;
31
+ /**
32
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
33
+ * via the `definition` "stringArray".
34
+ */
35
+ export declare type StringArrayV3_12_0 = string[];
36
+ /**
37
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
38
+ * via the `definition` "simpleTypes".
39
+ */
40
+ export declare type SimpleTypesV3_12_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
41
+ /**
42
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
43
+ * via the `definition` "schemaArray".
44
+ */
45
+ export declare type SchemaArrayV3_12_0 = PropertySchemaV3_12_0[];
46
+ /**
47
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
48
+ * via the `definition` "fieldMapping".
49
+ */
50
+ export declare type FieldMappingV3_12_0 = MappingStringV3_12_0 | MappingStringV3_12_0[];
51
+ /**
52
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
53
+ * via the `definition` "mappingString".
54
+ */
55
+ export declare type MappingStringV3_12_0 = string;
56
+ /**
57
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
58
+ * via the `definition` "resolver".
59
+ */
60
+ export declare type ResolverV3_12_0 = BasicResolverV3_12_0 | ComposeResolverV3_12_0;
61
+ /**
62
+ * A single resolver, can be composed with the ComposeResolver.
63
+ *
64
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
65
+ * via the `definition` "basicResolver".
66
+ */
67
+ export declare type BasicResolverV3_12_0 = UtilResolverV3_12_0 | TakeshapeResolverV3_12_0 | InternalTakeshapeResolverV3_12_0 | GraphqlResolverV3_12_0 | RestResolverV3_12_0 | AwsLambdaResolverV3_12_0;
68
+ /**
69
+ * Name of the resolver function.
70
+ */
71
+ export declare type UtilResolverNameV3_12_0 = 'debug:noop' | 'util:wrap';
72
+ /**
73
+ * An object describing an operation to generate a parameter.
74
+ *
75
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
76
+ * via the `definition` "parameterOp".
77
+ */
78
+ export declare type ParameterOpV3_12_0 = ParameterOpNestedV3_12_0 | ParameterOpValueV3_12_0 | ParameterOpMappingV3_12_0 | ParameterOpOpV3_12_0;
79
+ /**
80
+ * A tuple with a string directive name, and options to pass to the directive
81
+ *
82
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
83
+ * via the `definition` "directiveConfigItem".
84
+ */
85
+ export declare type DirectiveConfigItemV3_12_0 = [DirectiveNameV3_12_0, DirectiveOptionsV3_12_0];
86
+ export declare type DirectiveNameV3_12_0 = string;
87
+ /**
88
+ * An array of individual directive config items to process in order
89
+ *
90
+ * This interface was referenced by `DirectiveMappingMapV3_12_0`'s JSON-Schema definition
91
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
92
+ *
93
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
94
+ * via the `definition` "directiveConfig".
95
+ */
96
+ export declare type DirectiveConfigV3_12_0 = DirectiveConfigItemV3_12_0[];
97
+ /**
98
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
99
+ * via the `definition` "parameterOpList".
100
+ */
101
+ export declare type ParameterOpListV3_12_0 = ParameterOpV3_12_0[];
102
+ /**
103
+ * Maps a query's input args to the input expected by the service's endpoint.
104
+ *
105
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
106
+ * via the `definition` "argsMapping".
107
+ */
108
+ export declare type ArgsMappingV3_12_0 = DirectiveMappingMapV3_12_0 | DirectiveConfigV3_12_0;
109
+ /**
110
+ * Maps a service endpoint's response results to the expected shape of the query's response.
111
+ *
112
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
113
+ * via the `definition` "resultsMapping".
114
+ */
115
+ export declare type ResultsMappingV3_12_0 = DirectiveMappingMapV3_12_0 | DirectiveConfigV3_12_0;
116
+ /**
117
+ * Name of the resolver function.
118
+ */
119
+ export declare type TakeshapeResolverNameV3_12_0 = 'takeshape:get' | 'takeshape:create' | 'takeshape:update' | 'takeshape:delete' | 'takeshape:duplicate' | 'takeshape:find' | 'takeshape:queryApiIndex';
120
+ /**
121
+ * Name of the resolver function.
122
+ */
123
+ export declare type InternalTakeshapeResolverNameV3_12_0 = 'takeshape:getRelationship' | 'takeshape:taxonomySuggest' | 'takeshape:list' | 'takeshape:search';
124
+ /**
125
+ * Name of the resolver function.
126
+ */
127
+ export declare type GraphqlResolverNameV3_12_0 = 'graphql:query' | 'graphql:mutation';
128
+ /**
129
+ * Name of the resolver function.
130
+ */
131
+ export declare type RestResolverNameV3_12_0 = 'rest:get' | 'rest:head' | 'rest:post' | 'rest:put' | 'rest:patch' | 'rest:delete';
132
+ /**
133
+ * A tuple with a string key and a directive config to evaluate
134
+ *
135
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
136
+ * via the `definition` "directiveMappingArrayItem".
137
+ */
138
+ export declare type DirectiveMappingArrayItemV3_12_0 = [string, DirectiveConfigV3_12_0];
139
+ /**
140
+ * An array of key / value or directive config tuples
141
+ */
142
+ export declare type SearchParamsMappingV3_12_0 = DirectiveMappingArrayItemV3_12_0[];
143
+ /**
144
+ * Name of the resolver function.
145
+ */
146
+ export declare type AwsLambdaResolverNameV3_12_0 = 'awsLambda:invoke';
147
+ /**
148
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
149
+ * via the `definition` "ref".
150
+ */
151
+ export declare type RefV3_12_0 = string;
152
+ /**
153
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
154
+ * via the `definition` "returnShape".
155
+ */
156
+ export declare type ReturnShapeV3_12_0 = string | ReturnShapeArraySchemaV3_12_0;
157
+ /**
158
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
159
+ * via the `definition` "returnShapeArraySchema".
160
+ */
161
+ export declare type ReturnShapeArraySchemaV3_12_0 = PropertySchemaV3_12_0 & {
162
+ type: 'array';
163
+ items: RefSchemaV3_12_0 | {
164
+ type: 'boolean' | 'integer' | 'number' | 'string';
165
+ [k: string]: any;
166
+ };
167
+ };
168
+ export declare type ModelTypeV3_12_0 = 'single' | 'multiple' | 'taxonomy';
169
+ /**
170
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
171
+ * via the `definition` "shapeSchema".
172
+ */
173
+ export declare type ShapeSchemaV3_12_0 = ShapeSchemaAllOfV3_12_0 | ShapeSchemaOneOfV3_12_0 | ShapeSchemaEnumV3_12_0 | ObjectSchemaV3_12_0;
174
+ /**
175
+ * Human-readable id for use in the UI
176
+ */
177
+ export declare type WorkflowNameV3_12_0 = string;
178
+ /**
179
+ * machine-readable slug
180
+ */
181
+ export declare type NameV3_12_0 = string;
182
+ /**
183
+ * Human-readable id for use in the UI
184
+ */
185
+ export declare type TitleV3_12_0 = string;
186
+ export declare type DescriptionV3_12_0 = string;
187
+ /**
188
+ * Hex color code
189
+ */
190
+ export declare type ColorV3_12_0 = string;
191
+ /**
192
+ * Value to indicate whether items in the state should be returned in list queries
193
+ */
194
+ export declare type LiveV3_12_0 = boolean;
195
+ /**
196
+ * machine-readable id
197
+ */
198
+ export declare type KeyV3_12_0 = string;
199
+ export declare type StepsV3_12_0 = WorkflowStepV3_12_0[];
200
+ /**
201
+ * The general type of this service, specifying how and where it will be utilized.
202
+ *
203
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
204
+ * via the `definition` "serviceType".
205
+ */
206
+ export declare type ServiceTypeV3_12_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
207
+ /**
208
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
209
+ * via the `definition` "allOfSchema".
210
+ */
211
+ export declare type AllOfSchemaV3_12_0 = PropertySchemaV3_12_0 & {
212
+ allOf: (RefSchemaV3_12_0 | RefSchemaLegacyV3_12_0 | ObjectSchemaV3_12_0)[];
213
+ };
214
+ /**
215
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
216
+ * via the `definition` "oneOfSchema".
217
+ */
218
+ export declare type OneOfSchemaV3_12_0 = PropertySchemaV3_12_0 & {
219
+ oneOf: (RefSchemaV3_12_0 | RefSchemaLegacyV3_12_0 | ObjectSchemaV3_12_0)[];
220
+ };
221
+ /**
222
+ * Options to be passed to the serialization routine.
223
+ *
224
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
225
+ * via the `definition` "parameterSerializeOptions".
226
+ *
227
+ * This interface was referenced by `undefined`'s JSON-Schema definition
228
+ * via the `patternProperty` "^[^\n\r]*$".
229
+ */
230
+ export declare type ParameterSerializeOptionsV3_12_0 = ParameterSerializeStyleOptionsV3_12_0 | ParameterSerializeContentOptionsV3_12_0;
231
+ /**
232
+ * An array of key / value or directive config tuples
233
+ *
234
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
235
+ * via the `definition` "directiveMappingArray".
236
+ */
237
+ export declare type DirectiveMappingArrayV3_12_0 = DirectiveMappingArrayItemV3_12_0[];
238
+ /**
239
+ * An array of key / value or directive config tuples
240
+ *
241
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
242
+ * via the `definition` "searchParamsMapping".
243
+ */
244
+ export declare type SearchParamsMappingV3_12_01 = DirectiveMappingArrayItemV3_12_0[];
245
+ /**
246
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
247
+ * via the `definition` "shapeWithObjectSchema".
248
+ */
249
+ export declare type ShapeWithObjectSchemaV3_12_0 = ShapeV3_12_0 & {
250
+ schema: ObjectSchemaV3_12_0;
251
+ };
252
+ /**
253
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
254
+ * via the `definition` "serviceAuthentication".
255
+ */
256
+ export declare type ServiceAuthenticationV3_12_0 = OAuth2AuthenticationV3_12_0 | OAuth2BearerAuthenticationV3_12_0 | BearerAuthenticationV3_12_0 | BasicAuthenticationV3_12_0 | SearchParamsAuthenticationV3_12_0 | AWSAuthenticationV3_12_0 | CustomAuthenticationV3_12_0;
257
+ /**
258
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
259
+ * via the `definition` "anyServiceConfig".
260
+ */
261
+ export declare type AnyServiceConfigV3_12_0 = StoredServiceConfigV3_12_0 | ServiceConfigV3_12_0;
262
+ export interface ProjectSchemaV3_12_0 {
263
+ $schema?: string;
264
+ /**
265
+ * This is the revision number of your schema. Every time your project schema is updated, this value should be incremented.
266
+ */
267
+ version: number;
268
+ /**
269
+ * The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
270
+ */
271
+ apiVersion: string;
272
+ /**
273
+ * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
274
+ */
275
+ schemaVersion: '3.12.0';
276
+ /**
277
+ * The ID of the TakeShape project this schema belongs to.
278
+ */
279
+ projectId: string;
280
+ /**
281
+ * The ID of the TakeShape user who created the schema.
282
+ */
283
+ author?: string;
284
+ /**
285
+ * The date the schema was created
286
+ */
287
+ created: string;
288
+ /**
289
+ * The date the schema was last updated
290
+ */
291
+ updated: string;
292
+ deactivated?: number;
293
+ /**
294
+ * The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
295
+ */
296
+ defaultLocale: string;
297
+ locales: string[];
298
+ queries: QueryMapV3_12_0;
299
+ mutations: QueryMapV3_12_0;
300
+ shapes: ShapeMapV3_12_0;
301
+ indexedShapes?: IndexedShapeMapV3_12_0;
302
+ forms?: FormMapV3_12_0;
303
+ workflows: WorkflowMapV3_12_0;
304
+ dataKey: string;
305
+ services?: StoredServiceMapV3_12_0;
306
+ }
307
+ /**
308
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
309
+ * via the `definition` "queryMap".
310
+ */
311
+ export interface QueryMapV3_12_0 {
312
+ [k: string]: QueryV3_12_0;
313
+ }
314
+ /**
315
+ * This interface was referenced by `QueryMapV3_12_0`'s JSON-Schema definition
316
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
317
+ *
318
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
319
+ * via the `definition` "query".
320
+ */
321
+ export interface QueryV3_12_0 {
322
+ args?: ArgsV3_12_0;
323
+ resolver: ResolverV3_12_0;
324
+ shape: ReturnShapeV3_12_0;
325
+ /**
326
+ * Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
327
+ */
328
+ description?: string;
329
+ [k: string]: any;
330
+ }
331
+ /**
332
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
333
+ * via the `definition` "propertySchema".
334
+ */
335
+ export interface PropertySchemaV3_12_0 {
336
+ $ref?: string;
337
+ title?: string;
338
+ description?: string;
339
+ default?: any;
340
+ readOnly?: boolean;
341
+ multipleOf?: number;
342
+ maximum?: number;
343
+ exclusiveMaximum?: number;
344
+ minimum?: number;
345
+ exclusiveMinimum?: number;
346
+ maxLength?: NonNegativeIntegerV3_12_0;
347
+ minLength?: NonNegativeIntegerDefault0V3_12_0;
348
+ pattern?: string;
349
+ additionalItems?: PropertySchemaV3_12_0;
350
+ items?: PropertySchemaV3_12_0;
351
+ maxItems?: NonNegativeIntegerV3_12_0;
352
+ minItems?: NonNegativeIntegerDefault0V3_12_0;
353
+ uniqueItems?: boolean;
354
+ contains?: PropertySchemaV3_12_0;
355
+ maxProperties?: NonNegativeIntegerV3_12_0;
356
+ minProperties?: NonNegativeIntegerDefault0V3_12_0;
357
+ required?: StringArrayV3_12_0;
358
+ additionalProperties?: PropertySchemaV3_12_0 | false;
359
+ definitions?: {
360
+ [k: string]: PropertySchemaV3_12_0;
361
+ };
362
+ properties?: {
363
+ [k: string]: PropertySchemaV3_12_0;
364
+ };
365
+ const?: any;
366
+ enum?: any[];
367
+ type?: SimpleTypesV3_12_0 | SimpleTypesV3_12_0[];
368
+ format?: string;
369
+ contentMediaType?: string;
370
+ contentEncoding?: string;
371
+ allOf?: SchemaArrayV3_12_0;
372
+ oneOf?: SchemaArrayV3_12_0;
373
+ '@relationship'?: RelationshipV3_12_0;
374
+ '@syncLocaleStructure'?: boolean;
375
+ '@sensitive'?: boolean;
376
+ '@draftjs'?: boolean;
377
+ '@l10n'?: boolean;
378
+ '@key'?: string;
379
+ '@workflow'?: string;
380
+ '@mapping'?: FieldMappingV3_12_0;
381
+ '@tag'?: string;
382
+ '@tags'?: string[];
383
+ '@deprecationReason'?: string;
384
+ '@user'?: boolean;
385
+ '@args'?: ArgsV3_12_0;
386
+ '@resolver'?: ResolverV3_12_0;
387
+ '@ref'?: RefV3_12_0;
388
+ '@derivedFrom'?: string;
389
+ }
390
+ /**
391
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
392
+ * via the `definition` "relationship".
393
+ */
394
+ export interface RelationshipV3_12_0 {
395
+ shapeIds: string[];
396
+ type?: string;
397
+ relatedName?: string;
398
+ }
399
+ /**
400
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
401
+ * via the `definition` "utilResolver".
402
+ */
403
+ export interface UtilResolverV3_12_0 {
404
+ if?: string;
405
+ id?: string;
406
+ name: UtilResolverNameV3_12_0;
407
+ /**
408
+ * Configuration for a service to use with this resolver.
409
+ */
410
+ service: string;
411
+ options?: UtilResolverOptionsV3_12_0;
412
+ args?: ParameterConfigForJsonV3_12_0;
413
+ results?: ParameterConfigForJsonV3_12_0;
414
+ argsMapping?: ArgsMappingV3_12_0;
415
+ resultsMapping?: ResultsMappingV3_12_0;
416
+ }
417
+ export interface UtilResolverOptionsV3_12_0 {
418
+ [k: string]: any;
419
+ }
420
+ /**
421
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
422
+ * via the `definition` "parameterConfigForJson".
423
+ */
424
+ export interface ParameterConfigForJsonV3_12_0 {
425
+ ops: ParameterOpListV3_12_0;
426
+ }
427
+ /**
428
+ * An object describing an operation to generate a parameter, using a nested OpList.
429
+ *
430
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
431
+ * via the `definition` "parameterOpNested".
432
+ */
433
+ export interface ParameterOpNestedV3_12_0 {
434
+ /**
435
+ * A path to the parameter for this operation.
436
+ */
437
+ path: string;
438
+ /**
439
+ * A mode for this parameter's operation.
440
+ */
441
+ op?: 'set' | 'concat' | 'extend' | 'remove';
442
+ ops: ParameterOpListV3_12_0;
443
+ }
444
+ /**
445
+ * An object describing an operation to generate a parameter using a value.
446
+ *
447
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
448
+ * via the `definition` "parameterOpValue".
449
+ */
450
+ export interface ParameterOpValueV3_12_0 {
451
+ /**
452
+ * A path to the parameter for this operation.
453
+ */
454
+ path: string;
455
+ /**
456
+ * A mode for this parameter's operation.
457
+ */
458
+ op?: 'set' | 'concat' | 'extend' | 'remove';
459
+ /**
460
+ * A value to set directly at this path.
461
+ */
462
+ value: number | string | boolean | {
463
+ [k: string]: any;
464
+ } | any[] | null;
465
+ }
466
+ /**
467
+ * An object describing an operation to generate a parameter using a mapping.
468
+ *
469
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
470
+ * via the `definition` "parameterOpMapping".
471
+ */
472
+ export interface ParameterOpMappingV3_12_0 {
473
+ /**
474
+ * A path to the parameter for this operation.
475
+ */
476
+ path: string;
477
+ /**
478
+ * A mode for this parameter's operation.
479
+ */
480
+ op?: 'set' | 'concat' | 'extend' | 'remove';
481
+ /**
482
+ * Either a valid JSONPath or a directive pipeline to evaluate against the query context.
483
+ */
484
+ mapping: string | DirectiveConfigV3_12_0;
485
+ }
486
+ export interface DirectiveOptionsV3_12_0 {
487
+ [k: string]: any;
488
+ }
489
+ /**
490
+ * An object describing an operation to generate a parameter using a mapping.
491
+ *
492
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
493
+ * via the `definition` "parameterOpOp".
494
+ */
495
+ export interface ParameterOpOpV3_12_0 {
496
+ /**
497
+ * A path to the parameter for this operation.
498
+ */
499
+ path: string;
500
+ /**
501
+ * A mode for this parameter's operation.
502
+ */
503
+ op: 'set' | 'concat' | 'extend' | 'remove';
504
+ }
505
+ /**
506
+ * An map of object keys / key paths to directive configs
507
+ *
508
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
509
+ * via the `definition` "directiveMappingMap".
510
+ */
511
+ export interface DirectiveMappingMapV3_12_0 {
512
+ [k: string]: DirectiveConfigV3_12_0;
513
+ }
514
+ /**
515
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
516
+ * via the `definition` "takeshapeResolver".
517
+ */
518
+ export interface TakeshapeResolverV3_12_0 {
519
+ if?: string;
520
+ id?: string;
521
+ name: TakeshapeResolverNameV3_12_0;
522
+ /**
523
+ * Internal service identifier.
524
+ */
525
+ service: 'takeshape:local';
526
+ options?: TakeshapeResolverOptionsV3_12_0;
527
+ argsMapping?: ArgsMappingV3_12_0;
528
+ resultsMapping?: ResultsMappingV3_12_0;
529
+ /**
530
+ * A Shape name for the resolver to use.
531
+ */
532
+ shapeName: string;
533
+ args?: ParameterConfigForJsonV3_12_0;
534
+ results?: ParameterConfigForJsonV3_12_0;
535
+ }
536
+ export interface TakeshapeResolverOptionsV3_12_0 {
537
+ [k: string]: any;
538
+ }
539
+ /**
540
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
541
+ * via the `definition` "internalTakeshapeResolver".
542
+ */
543
+ export interface InternalTakeshapeResolverV3_12_0 {
544
+ if?: string;
545
+ id?: string;
546
+ name: InternalTakeshapeResolverNameV3_12_0;
547
+ /**
548
+ * Internal service identifier.
549
+ */
550
+ service: 'takeshape:local';
551
+ options?: TakeshapeResolverOptionsV3_12_01;
552
+ /**
553
+ * An optional Shape name for the resolver.
554
+ */
555
+ shapeName?: string;
556
+ args?: ParameterConfigForJsonV3_12_0;
557
+ results?: ParameterConfigForJsonV3_12_0;
558
+ argsMapping?: ArgsMappingV3_12_0;
559
+ resultsMapping?: ResultsMappingV3_12_0;
560
+ }
561
+ export interface TakeshapeResolverOptionsV3_12_01 {
562
+ [k: string]: any;
563
+ }
564
+ /**
565
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
566
+ * via the `definition` "graphqlResolver".
567
+ */
568
+ export interface GraphqlResolverV3_12_0 {
569
+ if?: string;
570
+ id?: string;
571
+ name: GraphqlResolverNameV3_12_0;
572
+ /**
573
+ * Configuration for a service to use with this resolver.
574
+ */
575
+ service: string;
576
+ argsMapping?: ArgsMappingV3_12_0;
577
+ resultsMapping?: ResultsMappingV3_12_0;
578
+ options?: GraphqlResolverOptionsV3_12_0;
579
+ /**
580
+ * A fieldname to use in queries.
581
+ */
582
+ fieldName: string;
583
+ headers?: ParameterConfigForHeadersV3_12_0;
584
+ searchParams?: ParameterConfigForSearchParamsV3_12_0;
585
+ args?: ParameterConfigForJsonV3_12_0;
586
+ results?: ParameterConfigForJsonV3_12_0;
587
+ }
588
+ export interface GraphqlResolverOptionsV3_12_0 {
589
+ selectionSet?: string;
590
+ unboxParentSelectionSet?: boolean;
591
+ ignoreErrors?: boolean;
592
+ skipWhenMissingArgs?: boolean;
593
+ ttl?: number;
594
+ timeout?: number;
595
+ retry?: number | {
596
+ [k: string]: any;
597
+ };
598
+ [k: string]: any;
599
+ }
600
+ /**
601
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
602
+ * via the `definition` "parameterConfigForHeaders".
603
+ */
604
+ export interface ParameterConfigForHeadersV3_12_0 {
605
+ ops: ParameterOpListV3_12_0;
606
+ serialize?: ParameterSerializeConfigForHeadersV3_12_0;
607
+ }
608
+ /**
609
+ * Top-level paths to use headers serialization options for.
610
+ *
611
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
612
+ * via the `definition` "parameterSerializeConfigForHeaders".
613
+ */
614
+ export interface ParameterSerializeConfigForHeadersV3_12_0 {
615
+ defaults?: ParameterSerializeStyleOptionsForHeadersV3_12_0 | ParameterSerializeContentOptionsV3_12_0;
616
+ paths?: {
617
+ /**
618
+ * This interface was referenced by `undefined`'s JSON-Schema definition
619
+ * via the `patternProperty` "^[^\n\r]*$".
620
+ */
621
+ [k: string]: ParameterSerializeStyleOptionsForHeadersV3_12_0 | ParameterSerializeContentOptionsV3_12_0;
622
+ };
623
+ }
624
+ /**
625
+ * Options to be passed to the serialization routine.
626
+ *
627
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
628
+ * via the `definition` "parameterSerializeStyleOptionsForHeaders".
629
+ */
630
+ export interface ParameterSerializeStyleOptionsForHeadersV3_12_0 {
631
+ style: 'simple' | 'none';
632
+ explode?: boolean;
633
+ }
634
+ /**
635
+ * Options to be passed to the serialization routine.
636
+ *
637
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
638
+ * via the `definition` "parameterSerializeContentOptions".
639
+ */
640
+ export interface ParameterSerializeContentOptionsV3_12_0 {
641
+ contentType: string;
642
+ /**
643
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
644
+ */
645
+ allowReserved?: boolean;
646
+ skipEncoding?: boolean;
647
+ /**
648
+ * Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
649
+ */
650
+ options?: {
651
+ [k: string]: any;
652
+ };
653
+ }
654
+ /**
655
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
656
+ * via the `definition` "parameterConfigForSearchParams".
657
+ */
658
+ export interface ParameterConfigForSearchParamsV3_12_0 {
659
+ ops: ParameterOpListV3_12_0;
660
+ serialize?: ParameterSerializeConfigForSearchParamsV3_12_0;
661
+ }
662
+ /**
663
+ * Top-level paths to use search params serialization options for.
664
+ *
665
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
666
+ * via the `definition` "parameterSerializeConfigForSearchParams".
667
+ */
668
+ export interface ParameterSerializeConfigForSearchParamsV3_12_0 {
669
+ defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_12_0 | ParameterSerializeContentOptionsV3_12_0;
670
+ paths?: {
671
+ /**
672
+ * This interface was referenced by `undefined`'s JSON-Schema definition
673
+ * via the `patternProperty` "^[^\n\r]*$".
674
+ */
675
+ [k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_12_0 | ParameterSerializeContentOptionsV3_12_0;
676
+ };
677
+ }
678
+ /**
679
+ * Options to be passed to the serialization routine.
680
+ *
681
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
682
+ * via the `definition` "parameterSerializeStyleOptionsForSearchParams".
683
+ */
684
+ export interface ParameterSerializeStyleOptionsForSearchParamsV3_12_0 {
685
+ style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
686
+ explode?: boolean;
687
+ allowEmptyValue?: boolean;
688
+ /**
689
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
690
+ */
691
+ allowReserved?: boolean;
692
+ skipEncoding?: boolean;
693
+ }
694
+ /**
695
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
696
+ * via the `definition` "restResolver".
697
+ */
698
+ export interface RestResolverV3_12_0 {
699
+ if?: string;
700
+ id?: string;
701
+ name: RestResolverNameV3_12_0;
702
+ /**
703
+ * Configuration for a service to use with this resolver.
704
+ */
705
+ service: string;
706
+ argsMapping?: ArgsMappingV3_12_0;
707
+ searchParamsMapping?: SearchParamsMappingV3_12_0;
708
+ resultsMapping?: ResultsMappingV3_12_0;
709
+ options?: RestResolverOptionsV3_12_0;
710
+ body?: ParameterConfigForBodyV3_12_0;
711
+ form?: ParameterConfigForSearchParamsV3_12_0;
712
+ headers?: ParameterConfigForHeadersV3_12_0;
713
+ json?: ParameterConfigForJsonV3_12_0;
714
+ /**
715
+ * Mapping and serialization configuration for the path, or a simple string.
716
+ */
717
+ path: ParameterConfigForPathParamsV3_12_0 | string;
718
+ searchParams?: ParameterConfigForSearchParamsV3_12_0;
719
+ args?: ParameterConfigForJsonV3_12_0;
720
+ results?: ParameterConfigForJsonV3_12_0;
721
+ }
722
+ export interface RestResolverOptionsV3_12_0 {
723
+ trailingSlash?: boolean;
724
+ ttl?: number;
725
+ timeout?: number;
726
+ retry?: number | {
727
+ [k: string]: any;
728
+ };
729
+ [k: string]: any;
730
+ }
731
+ /**
732
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
733
+ * via the `definition` "parameterConfigForBody".
734
+ */
735
+ export interface ParameterConfigForBodyV3_12_0 {
736
+ ops: ParameterOpListV3_12_0;
737
+ serialize?: ParameterSerializeConfigForBodyV3_12_0;
738
+ }
739
+ /**
740
+ * Top-level paths to use serialization options for.
741
+ *
742
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
743
+ * via the `definition` "parameterSerializeConfigForBody".
744
+ */
745
+ export interface ParameterSerializeConfigForBodyV3_12_0 {
746
+ content?: ParameterSerializeContentOptionsV3_12_0;
747
+ }
748
+ /**
749
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
750
+ * via the `definition` "parameterConfigForPathParams".
751
+ */
752
+ export interface ParameterConfigForPathParamsV3_12_0 {
753
+ ops: ParameterOpListV3_12_0;
754
+ serialize: ParameterSerializeConfigForPathParamsV3_12_0;
755
+ }
756
+ /**
757
+ * Top-level paths to use path params serialization options for.
758
+ *
759
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
760
+ * via the `definition` "parameterSerializeConfigForPathParams".
761
+ */
762
+ export interface ParameterSerializeConfigForPathParamsV3_12_0 {
763
+ /**
764
+ * For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
765
+ */
766
+ template: string;
767
+ defaults?: ParameterSerializeStyleOptionsForPathParamsV3_12_0 | ParameterSerializeContentOptionsV3_12_0;
768
+ paths?: {
769
+ /**
770
+ * This interface was referenced by `undefined`'s JSON-Schema definition
771
+ * via the `patternProperty` "^[^\n\r]*$".
772
+ */
773
+ [k: string]: ParameterSerializeStyleOptionsForPathParamsV3_12_0 | ParameterSerializeContentOptionsV3_12_0;
774
+ };
775
+ }
776
+ /**
777
+ * Options to be passed to the serialization routine.
778
+ *
779
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
780
+ * via the `definition` "parameterSerializeStyleOptionsForPathParams".
781
+ */
782
+ export interface ParameterSerializeStyleOptionsForPathParamsV3_12_0 {
783
+ style: 'simple' | 'label' | 'matrix' | 'none';
784
+ explode?: boolean;
785
+ allowEmptyValue?: boolean;
786
+ /**
787
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
788
+ */
789
+ allowReserved?: boolean;
790
+ skipEncoding?: boolean;
791
+ }
792
+ /**
793
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
794
+ * via the `definition` "awsLambdaResolver".
795
+ */
796
+ export interface AwsLambdaResolverV3_12_0 {
797
+ if?: string;
798
+ id?: string;
799
+ name: AwsLambdaResolverNameV3_12_0;
800
+ /**
801
+ * Configuration for a service to use with this resolver.
802
+ */
803
+ service: string;
804
+ options?: AwsLambdaResolverOptionsV3_12_0;
805
+ payload?: ParameterConfigForJsonV3_12_0;
806
+ /**
807
+ * Mapping configuration for the FunctionName.
808
+ */
809
+ functionName: string | ParameterConfigForAwsLambdaV3_12_0;
810
+ clientContext?: ParameterConfigForJsonV3_12_0;
811
+ args?: ParameterConfigForJsonV3_12_0;
812
+ results?: ParameterConfigForJsonV3_12_0;
813
+ argsMapping?: ArgsMappingV3_12_0;
814
+ searchParamsMapping?: SearchParamsMappingV3_12_0;
815
+ resultsMapping?: ResultsMappingV3_12_0;
816
+ }
817
+ export interface AwsLambdaResolverOptionsV3_12_0 {
818
+ [k: string]: any;
819
+ }
820
+ /**
821
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
822
+ * via the `definition` "parameterConfigForAwsLambda".
823
+ */
824
+ export interface ParameterConfigForAwsLambdaV3_12_0 {
825
+ ops: ParameterOpListV3_12_0;
826
+ serialize: ParameterSerializeConfigForPathParamsV3_12_0;
827
+ }
828
+ /**
829
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
830
+ * via the `definition` "composeResolver".
831
+ */
832
+ export interface ComposeResolverV3_12_0 {
833
+ compose: BasicResolverV3_12_0[];
834
+ resultsMapping?: DirectiveMappingMapV3_12_0 | DirectiveConfigV3_12_0;
835
+ results?: ParameterConfigForJsonV3_12_0;
836
+ }
837
+ /**
838
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
839
+ * via the `definition` "refSchema".
840
+ */
841
+ export interface RefSchemaV3_12_0 {
842
+ '@ref': RefV3_12_0;
843
+ [k: string]: any;
844
+ }
845
+ /**
846
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
847
+ * via the `definition` "shapeMap".
848
+ */
849
+ export interface ShapeMapV3_12_0 {
850
+ [k: string]: ShapeV3_12_0;
851
+ }
852
+ /**
853
+ * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
854
+ *
855
+ * This interface was referenced by `ShapeMapV3_12_0`'s JSON-Schema definition
856
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
857
+ *
858
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
859
+ * via the `definition` "shape".
860
+ */
861
+ export interface ShapeV3_12_0 {
862
+ /**
863
+ * 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
864
+ */
865
+ name: string;
866
+ /**
867
+ * 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.
868
+ */
869
+ id: string;
870
+ /**
871
+ * The human-readable name for a Shape for use in a UI.
872
+ */
873
+ title: string;
874
+ description?: string;
875
+ /**
876
+ * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
877
+ */
878
+ model?: {
879
+ type: ModelTypeV3_12_0;
880
+ };
881
+ workflow?: string;
882
+ schema: ShapeSchemaV3_12_0;
883
+ }
884
+ /**
885
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
886
+ * via the `definition` "shapeSchemaAllOf".
887
+ */
888
+ export interface ShapeSchemaAllOfV3_12_0 {
889
+ allOf: (RefSchemaV3_12_0 | RefSchemaLegacyV3_12_0 | ObjectSchemaV3_12_0)[];
890
+ }
891
+ /**
892
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
893
+ * via the `definition` "refSchemaLegacy".
894
+ */
895
+ export interface RefSchemaLegacyV3_12_0 {
896
+ $ref: RefV3_12_0;
897
+ [k: string]: any;
898
+ }
899
+ /**
900
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
901
+ * via the `definition` "shapeSchemaOneOf".
902
+ */
903
+ export interface ShapeSchemaOneOfV3_12_0 {
904
+ oneOf: (RefSchemaV3_12_0 | RefSchemaLegacyV3_12_0 | ObjectSchemaV3_12_0)[];
905
+ }
906
+ /**
907
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
908
+ * via the `definition` "shapeSchemaEnum".
909
+ */
910
+ export interface ShapeSchemaEnumV3_12_0 {
911
+ enum: string[];
912
+ }
913
+ /**
914
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
915
+ * via the `definition` "indexedShapeMap".
916
+ */
917
+ export interface IndexedShapeMapV3_12_0 {
918
+ [k: string]: IndexedShapeConfigV3_12_0;
919
+ }
920
+ /**
921
+ * This interface was referenced by `IndexedShapeMapV3_12_0`'s JSON-Schema definition
922
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
923
+ *
924
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
925
+ * via the `definition` "indexedShapeConfig".
926
+ */
927
+ export interface IndexedShapeConfigV3_12_0 {
928
+ [k: string]: any;
929
+ }
930
+ /**
931
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
932
+ * via the `definition` "formMap".
933
+ */
934
+ export interface FormMapV3_12_0 {
935
+ [k: string]: FormsConfigV3_12_0;
936
+ }
937
+ /**
938
+ * This interface was referenced by `FormMapV3_12_0`'s JSON-Schema definition
939
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
940
+ *
941
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
942
+ * via the `definition` "formsConfig".
943
+ */
944
+ export interface FormsConfigV3_12_0 {
945
+ default: FormConfigV3_12_0;
946
+ [k: string]: FormConfigV3_12_0;
947
+ }
948
+ /**
949
+ * This interface was referenced by `FormsConfigV3_12_0`'s JSON-Schema definition
950
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
951
+ *
952
+ * This interface was referenced by `undefined`'s JSON-Schema definition
953
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
954
+ *
955
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
956
+ * via the `definition` "formConfig".
957
+ */
958
+ export interface FormConfigV3_12_0 {
959
+ [k: string]: any;
960
+ }
961
+ /**
962
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
963
+ * via the `definition` "workflowMap".
964
+ */
965
+ export interface WorkflowMapV3_12_0 {
966
+ [k: string]: WorkflowV3_12_0;
967
+ }
968
+ /**
969
+ * This interface was referenced by `WorkflowMapV3_12_0`'s JSON-Schema definition
970
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
971
+ *
972
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
973
+ * via the `definition` "workflow".
974
+ */
975
+ export interface WorkflowV3_12_0 {
976
+ /**
977
+ * machine-readable id
978
+ */
979
+ name: string;
980
+ title: WorkflowNameV3_12_0;
981
+ steps: StepsV3_12_0;
982
+ [k: string]: any;
983
+ }
984
+ /**
985
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
986
+ * via the `definition` "workflowStep".
987
+ */
988
+ export interface WorkflowStepV3_12_0 {
989
+ name: NameV3_12_0;
990
+ title: TitleV3_12_0;
991
+ description?: DescriptionV3_12_0;
992
+ color: ColorV3_12_0;
993
+ live: LiveV3_12_0;
994
+ key: KeyV3_12_0;
995
+ }
996
+ /**
997
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
998
+ * via the `definition` "storedServiceMap".
999
+ */
1000
+ export interface StoredServiceMapV3_12_0 {
1001
+ [k: string]: StoredServiceConfigV3_12_0;
1002
+ }
1003
+ /**
1004
+ * This interface was referenced by `StoredServiceMapV3_12_0`'s JSON-Schema definition
1005
+ * via the `patternProperty` "[0-9A-Za-z_-]+".
1006
+ *
1007
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1008
+ * via the `definition` "storedServiceConfig".
1009
+ */
1010
+ export interface StoredServiceConfigV3_12_0 {
1011
+ /**
1012
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
1013
+ */
1014
+ id: string;
1015
+ /**
1016
+ * Human-readable name for this service.
1017
+ */
1018
+ title: string;
1019
+ /**
1020
+ * The service provider id.
1021
+ */
1022
+ provider: string;
1023
+ /**
1024
+ * A namespace to use for the imported types tied to this service.
1025
+ */
1026
+ namespace?: string;
1027
+ serviceType: ServiceTypeV3_12_0;
1028
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
1029
+ authentication?: string;
1030
+ webhookId?: string;
1031
+ /**
1032
+ * Configuration options passed to and handled by the provider.
1033
+ */
1034
+ options?: {
1035
+ [k: string]: any;
1036
+ };
1037
+ }
1038
+ /**
1039
+ * All possible options for the more specific ParameterSerializeStyleOptions types.
1040
+ *
1041
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1042
+ * via the `definition` "parameterSerializeStyleOptions".
1043
+ */
1044
+ export interface ParameterSerializeStyleOptionsV3_12_0 {
1045
+ style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
1046
+ explode?: boolean;
1047
+ allowEmptyValue?: boolean;
1048
+ /**
1049
+ * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
1050
+ */
1051
+ allowReserved?: boolean;
1052
+ skipEncoding?: boolean;
1053
+ }
1054
+ /**
1055
+ * All possible options for the more specific ParameterSerializeConfig types.
1056
+ *
1057
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1058
+ * via the `definition` "parameterSerializeConfig".
1059
+ */
1060
+ export interface ParameterSerializeConfigV3_12_0 {
1061
+ content?: ParameterSerializeContentOptionsV3_12_0;
1062
+ defaults?: ParameterSerializeOptionsV3_12_0;
1063
+ paths?: {
1064
+ [k: string]: ParameterSerializeOptionsV3_12_0;
1065
+ };
1066
+ }
1067
+ /**
1068
+ * All possible options for the more specific ParameterConfig types.
1069
+ *
1070
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1071
+ * via the `definition` "parameterConfig".
1072
+ */
1073
+ export interface ParameterConfigV3_12_0 {
1074
+ ops: ParameterOpListV3_12_0;
1075
+ serialize?: ParameterSerializeConfigV3_12_0;
1076
+ }
1077
+ /**
1078
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1079
+ * via the `definition` "formScalarConfig".
1080
+ */
1081
+ export interface FormScalarConfigV3_12_0 {
1082
+ widget: string;
1083
+ }
1084
+ /**
1085
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1086
+ * via the `definition` "formObjectConfig".
1087
+ */
1088
+ export interface FormObjectConfigV3_12_0 {
1089
+ widget?: string;
1090
+ order?: string[];
1091
+ properties?: {
1092
+ [k: string]: FormConfigV3_12_0;
1093
+ };
1094
+ }
1095
+ /**
1096
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1097
+ * via the `definition` "formArrayConfig".
1098
+ */
1099
+ export interface FormArrayConfigV3_12_0 {
1100
+ widget: string;
1101
+ items: FormConfigV3_12_0;
1102
+ }
1103
+ /**
1104
+ * For use with a custom auth handler on a service provider.
1105
+ *
1106
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1107
+ * via the `definition` "customAuthentication".
1108
+ */
1109
+ export interface CustomAuthenticationV3_12_0 {
1110
+ type: 'custom';
1111
+ [k: string]: any;
1112
+ }
1113
+ /**
1114
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1115
+ * via the `definition` "searchParamsAuthentication".
1116
+ */
1117
+ export interface SearchParamsAuthenticationV3_12_0 {
1118
+ type: 'searchParams';
1119
+ params: {
1120
+ name: string;
1121
+ value: string;
1122
+ }[];
1123
+ }
1124
+ /**
1125
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1126
+ * via the `definition` "bearerAuthentication".
1127
+ */
1128
+ export interface BearerAuthenticationV3_12_0 {
1129
+ type: 'bearer';
1130
+ token: string;
1131
+ prefix?: string;
1132
+ header?: string;
1133
+ }
1134
+ /**
1135
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1136
+ * via the `definition` "oauth2BearerAuthentication".
1137
+ */
1138
+ export interface OAuth2BearerAuthenticationV3_12_0 {
1139
+ type: 'oauth2Bearer';
1140
+ token: string;
1141
+ prefix?: string;
1142
+ header?: string;
1143
+ scope?: string;
1144
+ expiresAt?: string;
1145
+ }
1146
+ /**
1147
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1148
+ * via the `definition` "basicAuthentication".
1149
+ */
1150
+ export interface BasicAuthenticationV3_12_0 {
1151
+ type: 'basic';
1152
+ username: string;
1153
+ password: string;
1154
+ useIso8859?: boolean;
1155
+ }
1156
+ /**
1157
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1158
+ * via the `definition` "oauth2Authentication".
1159
+ */
1160
+ export interface OAuth2AuthenticationV3_12_0 {
1161
+ type: 'oauth2';
1162
+ grantType: 'authorizationCode' | 'clientCredentials';
1163
+ authorizationUrl?: string;
1164
+ accessTokenUrl?: string;
1165
+ clientId: string;
1166
+ clientSecret?: string;
1167
+ scope?: string;
1168
+ usePkce?: boolean;
1169
+ redirectUrl?: string;
1170
+ headerPrefix?: string;
1171
+ audience?: string;
1172
+ resource?: string;
1173
+ }
1174
+ /**
1175
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1176
+ * via the `definition` "awsAuthentication".
1177
+ */
1178
+ export interface AWSAuthenticationV3_12_0 {
1179
+ type: 'aws';
1180
+ awsAccessKeyId: string;
1181
+ awsSecretAccessKey: string;
1182
+ }
1183
+ /**
1184
+ * This interface was referenced by `ProjectSchemaV3_12_0`'s JSON-Schema
1185
+ * via the `definition` "serviceConfig".
1186
+ */
1187
+ export interface ServiceConfigV3_12_0 {
1188
+ /**
1189
+ * Machine-readable identifier, should typically be the same as the property name on the services object.
1190
+ */
1191
+ id: string;
1192
+ /**
1193
+ * Human-readable name for this service.
1194
+ */
1195
+ title: string;
1196
+ /**
1197
+ * The service provider id.
1198
+ */
1199
+ provider: string;
1200
+ /**
1201
+ * A namespace to use for the imported types tied to this service.
1202
+ */
1203
+ namespace?: string;
1204
+ serviceType: ServiceTypeV3_12_0;
1205
+ authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
1206
+ authentication?: ServiceAuthenticationV3_12_0;
1207
+ webhookId?: string;
1208
+ /**
1209
+ * Configuration options passed to and handled by the provider.
1210
+ */
1211
+ options?: {
1212
+ [k: string]: any;
1213
+ };
1214
+ }
1215
+ //# sourceMappingURL=v3.12.0.d.ts.map