@takeshape/schema 8.20.1 → 8.20.2

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