@takeshape/schema 11.144.1 → 11.154.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.
- package/examples/latest/all-fields-shapes-inline.json +1 -1
- package/examples/latest/all-fields-shapes.json +1 -1
- package/examples/latest/betzino.json +1 -1
- package/examples/latest/blog-schema.json +1 -1
- package/examples/latest/brewery-schema.json +1 -1
- package/examples/latest/chat-agent-schema.json +1 -1
- package/examples/latest/clear-cache-schema.json +1 -1
- package/examples/latest/complex-project-schema.json +1 -1
- package/examples/latest/complex-schema.json +1 -1
- package/examples/latest/edit-schema.json +1 -1
- package/examples/latest/frank-and-fred-schema.json +1 -1
- package/examples/latest/generate-agent-schema.json +1 -1
- package/examples/latest/klirr-schema.json +1 -1
- package/examples/latest/layers/rick-and-morty-layer.json +1 -1
- package/examples/latest/layers/shopify-layer-2023-01.json +1 -1
- package/examples/latest/layers/shopify-storefront-2023-04.json +1 -1
- package/examples/latest/layers/wordpress-2024-01.json +1 -1
- package/examples/latest/massive-schema.json +1 -1
- package/examples/latest/mill-components-schema.json +1 -1
- package/examples/latest/nested-shape-arrays.json +1 -1
- package/examples/latest/one-earth.json +1 -1
- package/examples/latest/pet-oneof-array.json +1 -1
- package/examples/latest/post-schema.json +1 -1
- package/examples/latest/pruned-shopify-product-schema.json +1 -1
- package/examples/latest/rag-example.json +1 -1
- package/examples/latest/real-world-schema.json +1 -1
- package/examples/latest/recursive-repeater-schema.json +1 -1
- package/examples/latest/recursive-schema.json +1 -1
- package/examples/latest/rick-and-morty-ast.json +1 -1
- package/examples/latest/rick-and-morty-graphql.json +1 -1
- package/examples/latest/rick-and-morty-rest.json +1 -1
- package/examples/latest/rick-and-morty-user-schema.json +1 -1
- package/examples/latest/rick-and-morty-with-indexing.json +1 -1
- package/examples/latest/schema-where-filter.json +1 -1
- package/examples/latest/schema-with-repeater-draftjs.json +1 -1
- package/examples/latest/schema-with-rick-and-morty.json +1 -1
- package/examples/latest/shape-books-v3_2_0.json +1 -1
- package/examples/latest/shape-books.json +1 -1
- package/examples/latest/shape-editor-schema-edited.json +1 -1
- package/examples/latest/shape-editor-schema-initial.json +1 -1
- package/examples/latest/shapedb-crud-every-prop-type.json +1 -1
- package/examples/latest/shopify-lookbook.json +1 -1
- package/examples/latest/shopify-product-2022-07.json +1 -1
- package/examples/latest/shopify-product-2023-04.json +1 -1
- package/examples/latest/shopify-store-with-widget.json +1 -1
- package/examples/latest/stripe-product-runtime-schema.json +1 -1
- package/examples/latest/stripe-starter-resolved.json +1 -1
- package/examples/latest/user-schema-no-required.json +1 -1
- package/examples/latest/user-schema-with-defaults.json +1 -1
- package/examples/latest/valvoline-ai-demo.json +1461 -1421
- package/examples/latest/vector-search-schema.json +1 -1
- package/package.json +10 -9
- package/dist/agents.d.ts +0 -62
- package/dist/agents.js +0 -338
- package/dist/api-version.d.ts +0 -5
- package/dist/api-version.js +0 -17
- package/dist/auth-schemas.d.ts +0 -128
- package/dist/auth-schemas.js +0 -7
- package/dist/auth-utils.d.ts +0 -5
- package/dist/auth-utils.js +0 -6
- package/dist/builtin-schema.d.ts +0 -18
- package/dist/builtin-schema.js +0 -683
- package/dist/constants.d.ts +0 -1
- package/dist/constants.js +0 -1
- package/dist/content-schema-transform.d.ts +0 -35
- package/dist/content-schema-transform.js +0 -162
- package/dist/create-input-schema.d.ts +0 -9
- package/dist/create-input-schema.js +0 -68
- package/dist/enum.d.ts +0 -2
- package/dist/enum.js +0 -9
- package/dist/flatten-templates.d.ts +0 -2
- package/dist/flatten-templates.js +0 -20
- package/dist/get-is-leaf.d.ts +0 -3
- package/dist/get-is-leaf.js +0 -56
- package/dist/index.d.ts +0 -62
- package/dist/index.js +0 -59
- package/dist/interfaces.d.ts +0 -14
- package/dist/interfaces.js +0 -86
- package/dist/layers/layers.d.ts +0 -26
- package/dist/layers/layers.js +0 -301
- package/dist/layers/refs.d.ts +0 -102
- package/dist/layers/refs.js +0 -220
- package/dist/layers/type-utils.d.ts +0 -59
- package/dist/layers/type-utils.js +0 -118
- package/dist/layers/visitor.d.ts +0 -5
- package/dist/layers/visitor.js +0 -38
- package/dist/migration/index.d.ts +0 -73
- package/dist/migration/index.js +0 -103
- package/dist/migration/to/v3.0.0.d.ts +0 -4
- package/dist/migration/to/v3.0.0.js +0 -212
- package/dist/migration/to/v3.1.0.d.ts +0 -4
- package/dist/migration/to/v3.1.0.js +0 -194
- package/dist/migration/to/v3.10.0.d.ts +0 -4
- package/dist/migration/to/v3.10.0.js +0 -67
- package/dist/migration/to/v3.11.0.d.ts +0 -4
- package/dist/migration/to/v3.11.0.js +0 -85
- package/dist/migration/to/v3.12.3.d.ts +0 -4
- package/dist/migration/to/v3.12.3.js +0 -87
- package/dist/migration/to/v3.13.0.d.ts +0 -4
- package/dist/migration/to/v3.13.0.js +0 -17
- package/dist/migration/to/v3.17.0.d.ts +0 -4
- package/dist/migration/to/v3.17.0.js +0 -22
- package/dist/migration/to/v3.18.0.d.ts +0 -4
- package/dist/migration/to/v3.18.0.js +0 -64
- package/dist/migration/to/v3.18.1.d.ts +0 -4
- package/dist/migration/to/v3.18.1.js +0 -12
- package/dist/migration/to/v3.18.2.d.ts +0 -4
- package/dist/migration/to/v3.18.2.js +0 -19
- package/dist/migration/to/v3.20.0.d.ts +0 -4
- package/dist/migration/to/v3.20.0.js +0 -24
- package/dist/migration/to/v3.22.0.d.ts +0 -4
- package/dist/migration/to/v3.22.0.js +0 -25
- package/dist/migration/to/v3.24.0.d.ts +0 -4
- package/dist/migration/to/v3.24.0.js +0 -11
- package/dist/migration/to/v3.25.0.d.ts +0 -4
- package/dist/migration/to/v3.25.0.js +0 -11
- package/dist/migration/to/v3.3.0.d.ts +0 -4
- package/dist/migration/to/v3.3.0.js +0 -13
- package/dist/migration/to/v3.31.0.d.ts +0 -4
- package/dist/migration/to/v3.31.0.js +0 -38
- package/dist/migration/to/v3.32.0.d.ts +0 -4
- package/dist/migration/to/v3.32.0.js +0 -59
- package/dist/migration/to/v3.34.0.d.ts +0 -6
- package/dist/migration/to/v3.34.0.js +0 -111
- package/dist/migration/to/v3.36.0.d.ts +0 -4
- package/dist/migration/to/v3.36.0.js +0 -22
- package/dist/migration/to/v3.39.0.d.ts +0 -4
- package/dist/migration/to/v3.39.0.js +0 -45
- package/dist/migration/to/v3.40.0.d.ts +0 -4
- package/dist/migration/to/v3.40.0.js +0 -26
- package/dist/migration/to/v3.46.0.d.ts +0 -4
- package/dist/migration/to/v3.46.0.js +0 -35
- package/dist/migration/to/v3.57.0.d.ts +0 -4
- package/dist/migration/to/v3.57.0.js +0 -18
- package/dist/migration/to/v3.9.0.d.ts +0 -4
- package/dist/migration/to/v3.9.0.js +0 -79
- package/dist/migration/types.d.ts +0 -26
- package/dist/migration/types.js +0 -3
- package/dist/migration/utils.d.ts +0 -2
- package/dist/migration/utils.js +0 -6
- package/dist/mocks.d.ts +0 -14
- package/dist/mocks.js +0 -58
- package/dist/models/agent.d.ts +0 -3
- package/dist/models/agent.js +0 -29
- package/dist/models/project-schema.d.ts +0 -18
- package/dist/models/project-schema.js +0 -119
- package/dist/models/query.d.ts +0 -3
- package/dist/models/query.js +0 -38
- package/dist/models/runtime-schema.d.ts +0 -9
- package/dist/models/runtime-schema.js +0 -20
- package/dist/models/shape.d.ts +0 -4
- package/dist/models/shape.js +0 -36
- package/dist/models/types.d.ts +0 -36
- package/dist/models/types.js +0 -1
- package/dist/models/user-schema.d.ts +0 -7
- package/dist/models/user-schema.js +0 -9
- package/dist/patterns.d.ts +0 -12
- package/dist/patterns.js +0 -1
- package/dist/project-schema/index.d.ts +0 -211
- package/dist/project-schema/index.js +0 -83
- package/dist/project-schema/latest.d.ts +0 -2619
- package/dist/project-schema/latest.js +0 -7
- package/dist/project-schema/migrate.d.ts +0 -4
- package/dist/project-schema/migrate.js +0 -218
- package/dist/project-schema/v1.0.0.d.ts +0 -299
- package/dist/project-schema/v1.0.0.js +0 -7
- package/dist/project-schema/v3.0.0.d.ts +0 -478
- package/dist/project-schema/v3.0.0.js +0 -7
- package/dist/project-schema/v3.1.0.d.ts +0 -621
- package/dist/project-schema/v3.1.0.js +0 -7
- package/dist/project-schema/v3.10.0.d.ts +0 -1201
- package/dist/project-schema/v3.10.0.js +0 -7
- package/dist/project-schema/v3.11.0.d.ts +0 -1210
- package/dist/project-schema/v3.11.0.js +0 -7
- package/dist/project-schema/v3.12.0.d.ts +0 -1214
- package/dist/project-schema/v3.12.0.js +0 -7
- package/dist/project-schema/v3.12.1.d.ts +0 -1273
- package/dist/project-schema/v3.12.1.js +0 -7
- package/dist/project-schema/v3.12.2.d.ts +0 -1283
- package/dist/project-schema/v3.12.2.js +0 -7
- package/dist/project-schema/v3.12.3.d.ts +0 -1306
- package/dist/project-schema/v3.12.3.js +0 -7
- package/dist/project-schema/v3.13.0.d.ts +0 -1317
- package/dist/project-schema/v3.13.0.js +0 -7
- package/dist/project-schema/v3.13.1.d.ts +0 -1412
- package/dist/project-schema/v3.13.1.js +0 -7
- package/dist/project-schema/v3.14.0.d.ts +0 -1436
- package/dist/project-schema/v3.14.0.js +0 -7
- package/dist/project-schema/v3.15.0.d.ts +0 -1458
- package/dist/project-schema/v3.15.0.js +0 -7
- package/dist/project-schema/v3.16.0.d.ts +0 -1470
- package/dist/project-schema/v3.16.0.js +0 -7
- package/dist/project-schema/v3.17.0.d.ts +0 -1467
- package/dist/project-schema/v3.17.0.js +0 -7
- package/dist/project-schema/v3.17.1.d.ts +0 -1468
- package/dist/project-schema/v3.17.1.js +0 -7
- package/dist/project-schema/v3.18.0.d.ts +0 -1333
- package/dist/project-schema/v3.18.0.js +0 -7
- package/dist/project-schema/v3.18.1.d.ts +0 -1332
- package/dist/project-schema/v3.18.1.js +0 -7
- package/dist/project-schema/v3.18.2.d.ts +0 -1332
- package/dist/project-schema/v3.18.2.js +0 -7
- package/dist/project-schema/v3.19.0.d.ts +0 -1336
- package/dist/project-schema/v3.19.0.js +0 -7
- package/dist/project-schema/v3.2.0.d.ts +0 -632
- package/dist/project-schema/v3.2.0.js +0 -7
- package/dist/project-schema/v3.20.0.d.ts +0 -1336
- package/dist/project-schema/v3.20.0.js +0 -7
- package/dist/project-schema/v3.21.0.d.ts +0 -1338
- package/dist/project-schema/v3.21.0.js +0 -7
- package/dist/project-schema/v3.22.0.d.ts +0 -1344
- package/dist/project-schema/v3.22.0.js +0 -7
- package/dist/project-schema/v3.23.0.d.ts +0 -1376
- package/dist/project-schema/v3.23.0.js +0 -7
- package/dist/project-schema/v3.24.0.d.ts +0 -1364
- package/dist/project-schema/v3.24.0.js +0 -7
- package/dist/project-schema/v3.25.0.d.ts +0 -1363
- package/dist/project-schema/v3.25.0.js +0 -7
- package/dist/project-schema/v3.26.0.d.ts +0 -1388
- package/dist/project-schema/v3.26.0.js +0 -7
- package/dist/project-schema/v3.27.0.d.ts +0 -1397
- package/dist/project-schema/v3.27.0.js +0 -7
- package/dist/project-schema/v3.28.0.d.ts +0 -1416
- package/dist/project-schema/v3.28.0.js +0 -7
- package/dist/project-schema/v3.29.0.d.ts +0 -1423
- package/dist/project-schema/v3.29.0.js +0 -7
- package/dist/project-schema/v3.3.0.d.ts +0 -632
- package/dist/project-schema/v3.3.0.js +0 -7
- package/dist/project-schema/v3.30.0.d.ts +0 -1416
- package/dist/project-schema/v3.30.0.js +0 -7
- package/dist/project-schema/v3.31.0.d.ts +0 -1448
- package/dist/project-schema/v3.31.0.js +0 -7
- package/dist/project-schema/v3.32.0.d.ts +0 -1439
- package/dist/project-schema/v3.32.0.js +0 -7
- package/dist/project-schema/v3.33.0.d.ts +0 -1445
- package/dist/project-schema/v3.33.0.js +0 -7
- package/dist/project-schema/v3.34.0.d.ts +0 -1445
- package/dist/project-schema/v3.34.0.js +0 -7
- package/dist/project-schema/v3.35.0.d.ts +0 -1464
- package/dist/project-schema/v3.35.0.js +0 -7
- package/dist/project-schema/v3.36.0.d.ts +0 -1470
- package/dist/project-schema/v3.36.0.js +0 -7
- package/dist/project-schema/v3.37.0.d.ts +0 -1522
- package/dist/project-schema/v3.37.0.js +0 -7
- package/dist/project-schema/v3.38.0.d.ts +0 -1522
- package/dist/project-schema/v3.38.0.js +0 -7
- package/dist/project-schema/v3.39.0.d.ts +0 -1529
- package/dist/project-schema/v3.39.0.js +0 -7
- package/dist/project-schema/v3.4.0.d.ts +0 -624
- package/dist/project-schema/v3.4.0.js +0 -7
- package/dist/project-schema/v3.40.0.d.ts +0 -1530
- package/dist/project-schema/v3.40.0.js +0 -7
- package/dist/project-schema/v3.41.0.d.ts +0 -1530
- package/dist/project-schema/v3.41.0.js +0 -7
- package/dist/project-schema/v3.42.0.d.ts +0 -1534
- package/dist/project-schema/v3.42.0.js +0 -7
- package/dist/project-schema/v3.43.0.d.ts +0 -1536
- package/dist/project-schema/v3.43.0.js +0 -7
- package/dist/project-schema/v3.44.0.d.ts +0 -1621
- package/dist/project-schema/v3.44.0.js +0 -7
- package/dist/project-schema/v3.45.0.d.ts +0 -1650
- package/dist/project-schema/v3.45.0.js +0 -7
- package/dist/project-schema/v3.46.0.d.ts +0 -1703
- package/dist/project-schema/v3.46.0.js +0 -7
- package/dist/project-schema/v3.47.0.d.ts +0 -1736
- package/dist/project-schema/v3.47.0.js +0 -7
- package/dist/project-schema/v3.48.0.d.ts +0 -2208
- package/dist/project-schema/v3.48.0.js +0 -7
- package/dist/project-schema/v3.49.0.d.ts +0 -2217
- package/dist/project-schema/v3.49.0.js +0 -7
- package/dist/project-schema/v3.5.0.d.ts +0 -649
- package/dist/project-schema/v3.5.0.js +0 -7
- package/dist/project-schema/v3.5.1.d.ts +0 -649
- package/dist/project-schema/v3.5.1.js +0 -7
- package/dist/project-schema/v3.50.0.d.ts +0 -2269
- package/dist/project-schema/v3.50.0.js +0 -7
- package/dist/project-schema/v3.51.0.d.ts +0 -2269
- package/dist/project-schema/v3.51.0.js +0 -7
- package/dist/project-schema/v3.52.0.d.ts +0 -2269
- package/dist/project-schema/v3.52.0.js +0 -7
- package/dist/project-schema/v3.53.0.d.ts +0 -2350
- package/dist/project-schema/v3.53.0.js +0 -7
- package/dist/project-schema/v3.54.0.d.ts +0 -2369
- package/dist/project-schema/v3.54.0.js +0 -7
- package/dist/project-schema/v3.55.0.d.ts +0 -2369
- package/dist/project-schema/v3.55.0.js +0 -7
- package/dist/project-schema/v3.56.0.d.ts +0 -2405
- package/dist/project-schema/v3.56.0.js +0 -7
- package/dist/project-schema/v3.57.0.d.ts +0 -2601
- package/dist/project-schema/v3.57.0.js +0 -7
- package/dist/project-schema/v3.58.0.d.ts +0 -2601
- package/dist/project-schema/v3.58.0.js +0 -7
- package/dist/project-schema/v3.59.0.d.ts +0 -2619
- package/dist/project-schema/v3.59.0.js +0 -7
- package/dist/project-schema/v3.6.0.d.ts +0 -658
- package/dist/project-schema/v3.6.0.js +0 -7
- package/dist/project-schema/v3.7.0.d.ts +0 -961
- package/dist/project-schema/v3.7.0.js +0 -7
- package/dist/project-schema/v3.8.0.d.ts +0 -979
- package/dist/project-schema/v3.8.0.js +0 -7
- package/dist/project-schema/v3.9.0.d.ts +0 -1178
- package/dist/project-schema/v3.9.0.js +0 -7
- package/dist/project-schema/v4.0.0.d.ts +0 -1328
- package/dist/project-schema/v4.0.0.js +0 -7
- package/dist/refs.d.ts +0 -218
- package/dist/refs.js +0 -616
- package/dist/relationships.d.ts +0 -40
- package/dist/relationships.js +0 -302
- package/dist/resolvers/ai/abort-agent-message-args.d.ts +0 -16
- package/dist/resolvers/ai/abort-agent-message-args.js +0 -13
- package/dist/resolvers/ai/abort-agent-message-response.d.ts +0 -39
- package/dist/resolvers/ai/abort-agent-message-response.js +0 -19
- package/dist/resolvers/ai/agent-chat-args.d.ts +0 -17
- package/dist/resolvers/ai/agent-chat-args.js +0 -14
- package/dist/resolvers/ai/agent-chat-payload.d.ts +0 -35
- package/dist/resolvers/ai/agent-chat-payload.js +0 -26
- package/dist/resolvers/ai/agent-chat-response.d.ts +0 -289
- package/dist/resolvers/ai/agent-chat-response.js +0 -21
- package/dist/resolvers/ai/agent-generate-args.d.ts +0 -17
- package/dist/resolvers/ai/agent-generate-args.js +0 -14
- package/dist/resolvers/ai/agent-message-input.d.ts +0 -73
- package/dist/resolvers/ai/agent-message-input.js +0 -39
- package/dist/resolvers/ai/agent-message-output.d.ts +0 -169
- package/dist/resolvers/ai/agent-message-output.js +0 -77
- package/dist/resolvers/ai/agent-message-payload.d.ts +0 -507
- package/dist/resolvers/ai/agent-message-payload.js +0 -156
- package/dist/resolvers/ai/agent-run-mode.d.ts +0 -7
- package/dist/resolvers/ai/agent-run-mode.js +0 -9
- package/dist/resolvers/ai/agent-session-payload.d.ts +0 -515
- package/dist/resolvers/ai/agent-session-payload.js +0 -175
- package/dist/resolvers/ai/create-agent-session-response.d.ts +0 -199
- package/dist/resolvers/ai/create-agent-session-response.js +0 -9
- package/dist/resolvers/ai/embedding-search.d.ts +0 -54
- package/dist/resolvers/ai/embedding-search.js +0 -46
- package/dist/resolvers/ai/get-agent-message-args.d.ts +0 -16
- package/dist/resolvers/ai/get-agent-message-args.js +0 -13
- package/dist/resolvers/ai/get-agent-message-response.d.ts +0 -805
- package/dist/resolvers/ai/get-agent-message-response.js +0 -63
- package/dist/resolvers/ai/inspect-agent-args.d.ts +0 -16
- package/dist/resolvers/ai/inspect-agent-args.js +0 -13
- package/dist/resolvers/ai/inspect-agent-response.d.ts +0 -504
- package/dist/resolvers/ai/inspect-agent-response.js +0 -48
- package/dist/resolvers/ai/send-agent-feedback-args.d.ts +0 -52
- package/dist/resolvers/ai/send-agent-feedback-args.js +0 -16
- package/dist/resolvers/ai/send-agent-message-args.d.ts +0 -48
- package/dist/resolvers/ai/send-agent-message-args.js +0 -36
- package/dist/resolvers/ai/send-agent-message-response.d.ts +0 -353
- package/dist/resolvers/ai/send-agent-message-response.js +0 -51
- package/dist/resolvers/ai/types.d.ts +0 -6
- package/dist/resolvers/ai/types.js +0 -1
- package/dist/resolvers/takeshape/assets/asset-image-meta.d.ts +0 -79
- package/dist/resolvers/takeshape/assets/asset-image-meta.js +0 -98
- package/dist/resolvers/takeshape/assets/asset-image-params.d.ts +0 -901
- package/dist/resolvers/takeshape/assets/asset-image-params.js +0 -726
- package/dist/resolvers/takeshape/assets/asset-image.d.ts +0 -17
- package/dist/resolvers/takeshape/assets/asset-image.js +0 -15
- package/dist/resolvers/takeshape/assets/asset.d.ts +0 -125
- package/dist/resolvers/takeshape/assets/asset.js +0 -107
- package/dist/resolvers/takeshape/assets/constants.d.ts +0 -11
- package/dist/resolvers/takeshape/assets/constants.js +0 -11
- package/dist/resolvers/takeshape/builtins/constants.d.ts +0 -1
- package/dist/resolvers/takeshape/builtins/constants.js +0 -1
- package/dist/runtime-schema.d.ts +0 -6
- package/dist/runtime-schema.js +0 -85
- package/dist/scalars.d.ts +0 -2
- package/dist/scalars.js +0 -4
- package/dist/schema-transform.d.ts +0 -19
- package/dist/schema-transform.js +0 -74
- package/dist/schema-util.d.ts +0 -266
- package/dist/schema-util.js +0 -1127
- package/dist/schemas/auth-schemas.json +0 -374
- package/dist/schemas/index.d.ts +0 -4
- package/dist/schemas/index.js +0 -170
- package/dist/schemas/project-schema/experimental-2025-07.json +0 -1297
- package/dist/schemas/project-schema/latest.d.ts +0 -180
- package/dist/schemas/project-schema/latest.js +0 -11
- package/dist/schemas/project-schema/latest.json +0 -4846
- package/dist/schemas/project-schema/meta-schema-v1.0.0.json +0 -193
- package/dist/schemas/project-schema/meta-schema-v3.0.0.json +0 -608
- package/dist/schemas/project-schema/meta-schema-v3.1.0.json +0 -608
- package/dist/schemas/project-schema/meta-schema-v3.2.0.json +0 -612
- package/dist/schemas/project-schema/meta-schema-v3.3.0.json +0 -612
- package/dist/schemas/project-schema/meta-schema-v3.4.0.json +0 -637
- package/dist/schemas/project-schema/meta-schema-v3.5.0.json +0 -626
- package/dist/schemas/project-schema/meta-schema-v3.5.1.json +0 -626
- package/dist/schemas/project-schema/meta-schema-v3.6.0.json +0 -629
- package/dist/schemas/project-schema/meta-schema-v3.7.0.json +0 -1137
- package/dist/schemas/project-schema/meta-schema-v3.8.0.json +0 -1137
- package/dist/schemas/project-schema/meta-schema-v3.9.0.json +0 -1477
- package/dist/schemas/project-schema/v1.0.0.json +0 -321
- package/dist/schemas/project-schema/v3.0.0.json +0 -414
- package/dist/schemas/project-schema/v3.1.0.json +0 -572
- package/dist/schemas/project-schema/v3.10.0.json +0 -2097
- package/dist/schemas/project-schema/v3.11.0.json +0 -2141
- package/dist/schemas/project-schema/v3.12.0.json +0 -2144
- package/dist/schemas/project-schema/v3.12.1.json +0 -2282
- package/dist/schemas/project-schema/v3.12.2.json +0 -2304
- package/dist/schemas/project-schema/v3.12.3.json +0 -2357
- package/dist/schemas/project-schema/v3.13.0.json +0 -2377
- package/dist/schemas/project-schema/v3.14.0.json +0 -2385
- package/dist/schemas/project-schema/v3.15.0.json +0 -2365
- package/dist/schemas/project-schema/v3.16.0.json +0 -2373
- package/dist/schemas/project-schema/v3.17.0.json +0 -2378
- package/dist/schemas/project-schema/v3.17.1.json +0 -2380
- package/dist/schemas/project-schema/v3.18.0.json +0 -2356
- package/dist/schemas/project-schema/v3.18.1.json +0 -2357
- package/dist/schemas/project-schema/v3.18.2.json +0 -2357
- package/dist/schemas/project-schema/v3.19.0.json +0 -2369
- package/dist/schemas/project-schema/v3.2.0.json +0 -580
- package/dist/schemas/project-schema/v3.20.0.json +0 -2369
- package/dist/schemas/project-schema/v3.21.0.json +0 -2376
- package/dist/schemas/project-schema/v3.22.0.json +0 -2381
- package/dist/schemas/project-schema/v3.23.0.json +0 -2456
- package/dist/schemas/project-schema/v3.24.0.json +0 -2556
- package/dist/schemas/project-schema/v3.25.0.json +0 -2552
- package/dist/schemas/project-schema/v3.26.0.json +0 -2599
- package/dist/schemas/project-schema/v3.27.0.json +0 -2611
- package/dist/schemas/project-schema/v3.28.0.json +0 -2656
- package/dist/schemas/project-schema/v3.29.0.json +0 -2670
- package/dist/schemas/project-schema/v3.3.0.json +0 -581
- package/dist/schemas/project-schema/v3.30.0.json +0 -2656
- package/dist/schemas/project-schema/v3.31.0.json +0 -2714
- package/dist/schemas/project-schema/v3.32.0.json +0 -2708
- package/dist/schemas/project-schema/v3.33.0.json +0 -2715
- package/dist/schemas/project-schema/v3.34.0.json +0 -2715
- package/dist/schemas/project-schema/v3.35.0.json +0 -2748
- package/dist/schemas/project-schema/v3.36.0.json +0 -2756
- package/dist/schemas/project-schema/v3.37.0.json +0 -2821
- package/dist/schemas/project-schema/v3.38.0.json +0 -2819
- package/dist/schemas/project-schema/v3.39.0.json +0 -2827
- package/dist/schemas/project-schema/v3.4.0.json +0 -571
- package/dist/schemas/project-schema/v3.40.0.json +0 -2830
- package/dist/schemas/project-schema/v3.41.0.json +0 -2830
- package/dist/schemas/project-schema/v3.42.0.json +0 -2835
- package/dist/schemas/project-schema/v3.43.0.json +0 -2841
- package/dist/schemas/project-schema/v3.44.0.json +0 -3013
- package/dist/schemas/project-schema/v3.45.0.json +0 -3064
- package/dist/schemas/project-schema/v3.46.0.json +0 -3136
- package/dist/schemas/project-schema/v3.47.0.json +0 -3189
- package/dist/schemas/project-schema/v3.48.0.json +0 -3196
- package/dist/schemas/project-schema/v3.49.0.json +0 -3239
- package/dist/schemas/project-schema/v3.5.0.json +0 -571
- package/dist/schemas/project-schema/v3.5.1.json +0 -571
- package/dist/schemas/project-schema/v3.50.0.json +0 -3320
- package/dist/schemas/project-schema/v3.51.0.json +0 -3326
- package/dist/schemas/project-schema/v3.52.0.json +0 -3326
- package/dist/schemas/project-schema/v3.53.0.json +0 -3476
- package/dist/schemas/project-schema/v3.54.0.json +0 -3512
- package/dist/schemas/project-schema/v3.55.0.json +0 -3515
- package/dist/schemas/project-schema/v3.56.0.json +0 -3530
- package/dist/schemas/project-schema/v3.57.0.json +0 -4815
- package/dist/schemas/project-schema/v3.58.0.json +0 -4815
- package/dist/schemas/project-schema/v3.59.0.json +0 -4846
- package/dist/schemas/project-schema/v3.6.0.json +0 -587
- package/dist/schemas/project-schema/v3.7.0.json +0 -587
- package/dist/schemas/project-schema/v3.8.0.json +0 -604
- package/dist/schemas/project-schema/v3.9.0.json +0 -604
- package/dist/schemas/project-schema/v4.0.0.json +0 -2316
- package/dist/schemas/project-schema.json +0 -214
- package/dist/service-dependencies.d.ts +0 -13
- package/dist/service-dependencies.js +0 -165
- package/dist/services/services.d.ts +0 -31
- package/dist/services/services.js +0 -145
- package/dist/services/types.d.ts +0 -11
- package/dist/services/types.js +0 -1
- package/dist/services/util.d.ts +0 -16
- package/dist/services/util.js +0 -36
- package/dist/shape-paths.d.ts +0 -7
- package/dist/shape-paths.js +0 -28
- package/dist/taxonomies.d.ts +0 -15
- package/dist/taxonomies.js +0 -24
- package/dist/template-shapes/index.d.ts +0 -7
- package/dist/template-shapes/index.js +0 -33
- package/dist/template-shapes/names.d.ts +0 -10
- package/dist/template-shapes/names.js +0 -21
- package/dist/template-shapes/templates.d.ts +0 -32
- package/dist/template-shapes/templates.js +0 -316
- package/dist/template-shapes/types.d.ts +0 -15
- package/dist/template-shapes/types.js +0 -7
- package/dist/template-shapes/where.d.ts +0 -37
- package/dist/template-shapes/where.js +0 -400
- package/dist/types/index.d.ts +0 -3
- package/dist/types/index.js +0 -2
- package/dist/types/transforms.d.ts +0 -15
- package/dist/types/transforms.js +0 -1
- package/dist/types/types.d.ts +0 -200
- package/dist/types/types.js +0 -10
- package/dist/types/utils.d.ts +0 -112
- package/dist/types/utils.js +0 -269
- package/dist/unions.d.ts +0 -14
- package/dist/unions.js +0 -77
- package/dist/util/ai-tools.d.ts +0 -2
- package/dist/util/ai-tools.js +0 -14
- package/dist/util/api-indexing.d.ts +0 -9
- package/dist/util/api-indexing.js +0 -57
- package/dist/util/coerce-value.d.ts +0 -9
- package/dist/util/coerce-value.js +0 -32
- package/dist/util/detect-cycles.d.ts +0 -7
- package/dist/util/detect-cycles.js +0 -45
- package/dist/util/expressions.d.ts +0 -34
- package/dist/util/expressions.js +0 -350
- package/dist/util/find-shape-at-path.d.ts +0 -21
- package/dist/util/find-shape-at-path.js +0 -53
- package/dist/util/form-config.d.ts +0 -11
- package/dist/util/form-config.js +0 -62
- package/dist/util/get-conflicting-properties.d.ts +0 -6
- package/dist/util/get-conflicting-properties.js +0 -55
- package/dist/util/get-return-shape.d.ts +0 -4
- package/dist/util/get-return-shape.js +0 -30
- package/dist/util/has-arg.d.ts +0 -6
- package/dist/util/has-arg.js +0 -25
- package/dist/util/is-asset-property.d.ts +0 -3
- package/dist/util/is-asset-property.js +0 -11
- package/dist/util/mcp.d.ts +0 -8
- package/dist/util/mcp.js +0 -21
- package/dist/util/merge.d.ts +0 -15
- package/dist/util/merge.js +0 -254
- package/dist/util/patch-schema.d.ts +0 -8
- package/dist/util/patch-schema.js +0 -51
- package/dist/util/query-field-path.d.ts +0 -9
- package/dist/util/query-field-path.js +0 -23
- package/dist/util/shapes.d.ts +0 -5
- package/dist/util/shapes.js +0 -22
- package/dist/validate/ai.d.ts +0 -6
- package/dist/validate/ai.js +0 -183
- package/dist/validate/errors.d.ts +0 -3
- package/dist/validate/errors.js +0 -20
- package/dist/validate/types.d.ts +0 -1
- package/dist/validate/types.js +0 -1
- package/dist/validate/util.d.ts +0 -3
- package/dist/validate/util.js +0 -28
- package/dist/validate/validate.d.ts +0 -80
- package/dist/validate/validate.js +0 -1058
- package/dist/versions.d.ts +0 -4
- package/dist/versions.js +0 -4
- package/dist/workflows.d.ts +0 -14
- package/dist/workflows.js +0 -66
|
@@ -1,2217 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
8
|
-
* via the `definition` "args".
|
|
9
|
-
*/
|
|
10
|
-
export type ArgsV3_49_0 = string | ObjectSchemaV3_49_0;
|
|
11
|
-
/**
|
|
12
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
13
|
-
* via the `definition` "objectSchema".
|
|
14
|
-
*/
|
|
15
|
-
export type ObjectSchemaV3_49_0 = PropertySchemaV3_49_0 & {
|
|
16
|
-
type: 'object';
|
|
17
|
-
properties: {
|
|
18
|
-
[k: string]: PropertySchemaV3_49_0;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
23
|
-
* via the `definition` "nonNegativeInteger".
|
|
24
|
-
*/
|
|
25
|
-
export type NonNegativeIntegerV3_49_0 = number;
|
|
26
|
-
/**
|
|
27
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
28
|
-
* via the `definition` "nonNegativeIntegerDefault0".
|
|
29
|
-
*/
|
|
30
|
-
export type NonNegativeIntegerDefault0V3_49_0 = NonNegativeIntegerV3_49_0;
|
|
31
|
-
/**
|
|
32
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
33
|
-
* via the `definition` "stringArray".
|
|
34
|
-
*/
|
|
35
|
-
export type StringArrayV3_49_0 = string[];
|
|
36
|
-
/**
|
|
37
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
38
|
-
* via the `definition` "simpleTypes".
|
|
39
|
-
*/
|
|
40
|
-
export type SimpleTypesV3_49_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
|
|
41
|
-
/**
|
|
42
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
43
|
-
* via the `definition` "schemaArray".
|
|
44
|
-
*/
|
|
45
|
-
export type SchemaArrayV3_49_0 = PropertySchemaV3_49_0[];
|
|
46
|
-
/**
|
|
47
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
48
|
-
* via the `definition` "ref".
|
|
49
|
-
*/
|
|
50
|
-
export type RefV3_49_0 = string;
|
|
51
|
-
/**
|
|
52
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
53
|
-
* via the `definition` "objectOrRefArray".
|
|
54
|
-
*/
|
|
55
|
-
export type ObjectOrRefArrayV3_49_0 = (RefSchemaV3_49_0 | RefSchemaLegacyV3_49_0 | ObjectSchemaV3_49_0)[];
|
|
56
|
-
/**
|
|
57
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
58
|
-
* via the `definition` "fieldMapping".
|
|
59
|
-
*/
|
|
60
|
-
export type FieldMappingV3_49_0 = MappingStringV3_49_0 | MappingStringV3_49_0[];
|
|
61
|
-
/**
|
|
62
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
63
|
-
* via the `definition` "mappingString".
|
|
64
|
-
*/
|
|
65
|
-
export type MappingStringV3_49_0 = string;
|
|
66
|
-
/**
|
|
67
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
68
|
-
* via the `definition` "resolver".
|
|
69
|
-
*/
|
|
70
|
-
export type ResolverV3_49_0 = BasicResolverV3_49_0 | ComposeResolverV3_49_0;
|
|
71
|
-
/**
|
|
72
|
-
* A single resolver, can be composed with the ComposeResolver.
|
|
73
|
-
*
|
|
74
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
75
|
-
* via the `definition` "basicResolver".
|
|
76
|
-
*/
|
|
77
|
-
export type BasicResolverV3_49_0 = UtilResolverV3_49_0 | DelegateResolverV3_49_0 | TakeshapeResolverV3_49_0 | ShapedbResolverV3_49_0 | ShapedbResolverShapeNameNotRequiredV3_49_0 | GraphqlResolverV3_49_0 | RestResolverV3_49_0 | AwsLambdaResolverV3_49_0 | SalsifyResolverV3_49_0 | FunctionResolverV3_49_0 | AIGenerateTextResolverV3_49_0 | AIEmbeddingResolverV3_49_0 | AIParseFileResolverV3_49_0 | AISendAgentMessageResolverV3_49_0;
|
|
78
|
-
/**
|
|
79
|
-
* Name of the resolver function.
|
|
80
|
-
*/
|
|
81
|
-
export type UtilResolverNameV3_49_0 = 'util:noop' | 'util:wrap';
|
|
82
|
-
/**
|
|
83
|
-
* An object describing an operation to generate a parameter.
|
|
84
|
-
*
|
|
85
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
86
|
-
* via the `definition` "parameterOp".
|
|
87
|
-
*/
|
|
88
|
-
export type ParameterOpV3_49_0 = ParameterOpNestedV3_49_0 | ParameterOpValueV3_49_0 | ParameterOpMappingV3_49_0 | ParameterOpOpV3_49_0;
|
|
89
|
-
/**
|
|
90
|
-
* A tuple with a string directive name, and options to pass to the directive
|
|
91
|
-
*
|
|
92
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
93
|
-
* via the `definition` "directiveConfigItem".
|
|
94
|
-
*/
|
|
95
|
-
export type DirectiveConfigItemV3_49_0 = [DirectiveNameV3_49_0, DirectiveOptionsV3_49_0];
|
|
96
|
-
export type DirectiveNameV3_49_0 = string;
|
|
97
|
-
/**
|
|
98
|
-
* An array of individual directive config items to process in order
|
|
99
|
-
*
|
|
100
|
-
* This interface was referenced by `DirectiveMappingMapV3_49_0`'s JSON-Schema definition
|
|
101
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
102
|
-
*
|
|
103
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
104
|
-
* via the `definition` "directiveConfig".
|
|
105
|
-
*/
|
|
106
|
-
export type DirectiveConfigV3_49_0 = DirectiveConfigItemV3_49_0[];
|
|
107
|
-
/**
|
|
108
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
109
|
-
* via the `definition` "parameterOpList".
|
|
110
|
-
*/
|
|
111
|
-
export type ParameterOpListV3_49_0 = ParameterOpV3_49_0[];
|
|
112
|
-
/**
|
|
113
|
-
* Maps a query's input args to the input expected by the service's endpoint.
|
|
114
|
-
*
|
|
115
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
116
|
-
* via the `definition` "argsMapping".
|
|
117
|
-
*/
|
|
118
|
-
export type ArgsMappingV3_49_0 = DirectiveMappingMapV3_49_0 | DirectiveConfigV3_49_0;
|
|
119
|
-
/**
|
|
120
|
-
* Maps a service endpoint's response results to the expected shape of the query's response.
|
|
121
|
-
*
|
|
122
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
123
|
-
* via the `definition` "resultsMapping".
|
|
124
|
-
*/
|
|
125
|
-
export type ResultsMappingV3_49_0 = DirectiveMappingMapV3_49_0 | DirectiveConfigV3_49_0;
|
|
126
|
-
/**
|
|
127
|
-
* Name of the resolver function.
|
|
128
|
-
*/
|
|
129
|
-
export type DelegateResolverNameV3_49_0 = 'delegate';
|
|
130
|
-
/**
|
|
131
|
-
* Name of the resolver function.
|
|
132
|
-
*/
|
|
133
|
-
export type TakeshapeResolverNameV3_49_0 = 'takeshape:getUser' | 'takeshape:search' | 'takeshape:vectorSearch' | 'takeshape:queryApiIndex';
|
|
134
|
-
/**
|
|
135
|
-
* Name of the resolver function.
|
|
136
|
-
*/
|
|
137
|
-
export type ShapedbResolverNameV3_49_0 = 'shapedb:get' | 'shapedb:create' | 'shapedb:update' | 'shapedb:delete' | 'shapedb:duplicate' | 'shapedb:find';
|
|
138
|
-
/**
|
|
139
|
-
* Name of the resolver function.
|
|
140
|
-
*/
|
|
141
|
-
export type ShapedbResolverShapeNameNotRequiredNameV3_49_0 = 'shapedb:list' | 'shapedb:taxonomySuggest' | 'shapedb:getRelated';
|
|
142
|
-
/**
|
|
143
|
-
* Name of the resolver function.
|
|
144
|
-
*/
|
|
145
|
-
export type GraphqlResolverNameV3_49_0 = 'graphql:query' | 'graphql:mutation' | 'shopify:bulkQuery';
|
|
146
|
-
/**
|
|
147
|
-
* Name of the resolver function.
|
|
148
|
-
*/
|
|
149
|
-
export type RestResolverNameV3_49_0 = 'rest:get' | 'rest:head' | 'rest:post' | 'rest:put' | 'rest:patch' | 'rest:delete';
|
|
150
|
-
/**
|
|
151
|
-
* A tuple with a string key and a directive config to evaluate
|
|
152
|
-
*
|
|
153
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
154
|
-
* via the `definition` "directiveMappingArrayItem".
|
|
155
|
-
*/
|
|
156
|
-
export type DirectiveMappingArrayItemV3_49_0 = [string, DirectiveConfigV3_49_0];
|
|
157
|
-
/**
|
|
158
|
-
* An array of key / value or directive config tuples
|
|
159
|
-
*/
|
|
160
|
-
export type SearchParamsMappingV3_49_0 = DirectiveMappingArrayItemV3_49_0[];
|
|
161
|
-
/**
|
|
162
|
-
* Name of the resolver function.
|
|
163
|
-
*/
|
|
164
|
-
export type AwsLambdaResolverNameV3_49_0 = 'awsLambda:invoke';
|
|
165
|
-
/**
|
|
166
|
-
* Name of the resolver function.
|
|
167
|
-
*/
|
|
168
|
-
export type SalsifyResolverNameV3_49_0 = 'salsify:listChannelProducts';
|
|
169
|
-
/**
|
|
170
|
-
* Name of the resolver function.
|
|
171
|
-
*/
|
|
172
|
-
export type FunctionResolverNameV3_49_0 = 'function:run';
|
|
173
|
-
export type FunctionResolverJavascriptV3_49_0 = string;
|
|
174
|
-
/**
|
|
175
|
-
* Name of the resolver function.
|
|
176
|
-
*/
|
|
177
|
-
export type AIResolverNameV3_49_0 = 'ai:generateText' | 'ai:chat';
|
|
178
|
-
export type HistoryV3_49_0 = boolean;
|
|
179
|
-
/**
|
|
180
|
-
* Maximum number of tokens to generate.
|
|
181
|
-
*/
|
|
182
|
-
export type MaximumTokensV3_49_0 = number;
|
|
183
|
-
/**
|
|
184
|
-
* This is a number between 0 (almost no randomness) and 1 (very random). It is recommended to set either `temperature` or `topP`, but not both. Defaults to 0
|
|
185
|
-
*/
|
|
186
|
-
export type TemperatureV3_49_0 = number;
|
|
187
|
-
/**
|
|
188
|
-
* Nucleus sampling. This is a number between 0 and 1. E.g. 0.1 would mean that only tokens with the top 10% probability mass are considered. It is recommended to set either `temperature` or `topP`, but not both.
|
|
189
|
-
*/
|
|
190
|
-
export type TopPV3_49_0 = number;
|
|
191
|
-
/**
|
|
192
|
-
* Only sample from the top K options for each subsequent token. Used to remove "long tail" low probability responses. Recommended for advanced use cases only. You usually only need to use temperature.
|
|
193
|
-
*/
|
|
194
|
-
export type TopKV3_49_0 = number;
|
|
195
|
-
/**
|
|
196
|
-
* It affects the likelihood of the model to repeat information that is already in the prompt. The presence penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
|
|
197
|
-
*/
|
|
198
|
-
export type PresencePenaltySettingV3_49_0 = number;
|
|
199
|
-
/**
|
|
200
|
-
* It affects the likelihood of the model to repeatedly use the same words or phrases. The frequency penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
|
|
201
|
-
*/
|
|
202
|
-
export type FrequencyPenaltySettingV3_49_0 = number;
|
|
203
|
-
/**
|
|
204
|
-
* If set, the model will stop generating text when one of the stop sequences is generated.
|
|
205
|
-
*/
|
|
206
|
-
export type StopSequencesV3_49_0 = string[];
|
|
207
|
-
/**
|
|
208
|
-
* The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
|
|
209
|
-
*/
|
|
210
|
-
export type SeedV3_49_0 = number;
|
|
211
|
-
/**
|
|
212
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
213
|
-
* via the `definition` "aiGuardrail".
|
|
214
|
-
*/
|
|
215
|
-
export type AIGuardrailV3_49_0 = AISimilarityGuardrailV3_49_0;
|
|
216
|
-
/**
|
|
217
|
-
* Name of the resolver function.
|
|
218
|
-
*/
|
|
219
|
-
export type AIResolverNameV3_49_01 = 'ai:createEmbedding';
|
|
220
|
-
/**
|
|
221
|
-
* Name of the resolver function.
|
|
222
|
-
*/
|
|
223
|
-
export type AIResolverNameV3_49_02 = 'ai:parseFile';
|
|
224
|
-
/**
|
|
225
|
-
* Name of the resolver function.
|
|
226
|
-
*/
|
|
227
|
-
export type AIResolverNameV3_49_03 = 'ai:sendAgentMessage';
|
|
228
|
-
/**
|
|
229
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
230
|
-
* via the `definition` "dependencies".
|
|
231
|
-
*/
|
|
232
|
-
export type DependenciesV3_49_0 = string;
|
|
233
|
-
/**
|
|
234
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
235
|
-
* via the `definition` "returnShape".
|
|
236
|
-
*/
|
|
237
|
-
export type ReturnShapeV3_49_0 = string | ReturnShapeArraySchemaV3_49_0;
|
|
238
|
-
/**
|
|
239
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
240
|
-
* via the `definition` "returnShapeArraySchema".
|
|
241
|
-
*/
|
|
242
|
-
export type ReturnShapeArraySchemaV3_49_0 = PropertySchemaV3_49_0 & {
|
|
243
|
-
type: 'array';
|
|
244
|
-
items: RefSchemaV3_49_0 | {
|
|
245
|
-
type: 'boolean' | 'integer' | 'number' | 'string' | 'object';
|
|
246
|
-
[k: string]: any;
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
|
-
export type ModelTypeV3_49_0 = 'single' | 'multiple' | 'taxonomy';
|
|
250
|
-
/**
|
|
251
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
252
|
-
* via the `definition` "paginationConfig".
|
|
253
|
-
*/
|
|
254
|
-
export type PaginationConfigV3_49_0 = PaginationCursorConfigV3_49_0 | PaginationPageConfigV3_49_0 | PaginationOffsetConfigV3_49_0;
|
|
255
|
-
/**
|
|
256
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
257
|
-
* via the `definition` "cacheTriggerConfig".
|
|
258
|
-
*/
|
|
259
|
-
export type CacheTriggerConfigV3_49_0 = CacheScheduleTriggerConfigV3_49_0 | CacheWebhookTriggerConfigV3_49_0;
|
|
260
|
-
/**
|
|
261
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
262
|
-
* via the `definition` "shapeSchema".
|
|
263
|
-
*/
|
|
264
|
-
export type ShapeSchemaV3_49_0 = ShapeSchemaAllOfV3_49_0 | ShapeSchemaExtendsV3_49_0 | ShapeSchemaOneOfV3_49_0 | ShapeSchemaEnumV3_49_0 | ObjectSchemaV3_49_0 | ShapeSchemaAnyV3_49_0;
|
|
265
|
-
export type AgentAPIInputV3_49_0 = AgentAPIMutationInputV3_49_0;
|
|
266
|
-
export type InteractionTimeoutMillisecondsV3_49_0 = number;
|
|
267
|
-
export type AgentStateSessionMemoryV3_49_0 = AgentStateSessionMemoryAssignmentV3_49_0[];
|
|
268
|
-
export type VariablesV3_49_0 = AgentVariableV3_49_0[];
|
|
269
|
-
export type AgentExecutionV3_49_0 = AgentExecutionGraphQLV3_49_0 | AgentExecutionGenerateV3_49_0 | AgentExecutionChatV3_49_0;
|
|
270
|
-
export type AgentAIStateInputV3_49_0 = AgentAIStateInputArgumentV3_49_0 | AgentAIStateInputTemplateV3_49_0;
|
|
271
|
-
export type AgentToolConfigArgV3_49_0 = AgentControlledV3_49_0 | VariableValueV3_49_0;
|
|
272
|
-
/**
|
|
273
|
-
* The argument name that will be exposed by the tool for the LLM to use.
|
|
274
|
-
*/
|
|
275
|
-
export type ToolArgumentNameV3_49_0 = string;
|
|
276
|
-
/**
|
|
277
|
-
* Name of argument to pass value to. This prevents the LLM from setting the argument.
|
|
278
|
-
*/
|
|
279
|
-
export type ToolArgumentNameV3_49_01 = string;
|
|
280
|
-
/**
|
|
281
|
-
* Name of variable to pull value from.
|
|
282
|
-
*/
|
|
283
|
-
export type StateVariableNameV3_49_0 = string;
|
|
284
|
-
export type HistoryV3_49_01 = boolean;
|
|
285
|
-
/**
|
|
286
|
-
* Maximum number of tokens to generate. Defaults to 1024
|
|
287
|
-
*/
|
|
288
|
-
export type MaximumTokensV3_49_01 = number;
|
|
289
|
-
/**
|
|
290
|
-
* This is a number between 0 (almost no randomness) and 1 (very random). It is recommended to set either `temperature` or `topP`, but not both. Defaults to 0
|
|
291
|
-
*/
|
|
292
|
-
export type TemperatureV3_49_01 = number;
|
|
293
|
-
/**
|
|
294
|
-
* Nucleus sampling. This is a number between 0 and 1. E.g. 0.1 would mean that only tokens with the top 10% probability mass are considered. It is recommended to set either `temperature` or `topP`, but not both.
|
|
295
|
-
*/
|
|
296
|
-
export type TopPV3_49_01 = number;
|
|
297
|
-
/**
|
|
298
|
-
* Only sample from the top K options for each subsequent token. Used to remove "long tail" low probability responses. Recommended for advanced use cases only. You usually only need to use temperature.
|
|
299
|
-
*/
|
|
300
|
-
export type TopKV3_49_01 = number;
|
|
301
|
-
/**
|
|
302
|
-
* It affects the likelihood of the model to repeat information that is already in the prompt. The presence penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
|
|
303
|
-
*/
|
|
304
|
-
export type PresencePenaltySettingV3_49_01 = number;
|
|
305
|
-
/**
|
|
306
|
-
* It affects the likelihood of the model to repeatedly use the same words or phrases. The frequency penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
|
|
307
|
-
*/
|
|
308
|
-
export type FrequencyPenaltySettingV3_49_01 = number;
|
|
309
|
-
/**
|
|
310
|
-
* If set, the model will stop generating text when one of the stop sequences is generated.
|
|
311
|
-
*/
|
|
312
|
-
export type StopSequencesV3_49_01 = string[];
|
|
313
|
-
/**
|
|
314
|
-
* The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
|
|
315
|
-
*/
|
|
316
|
-
export type SeedV3_49_01 = number;
|
|
317
|
-
/**
|
|
318
|
-
* Maximal number of automatic roundtrips for tool calls.
|
|
319
|
-
*/
|
|
320
|
-
export type MaxToolRoundtripsV3_49_0 = number;
|
|
321
|
-
/**
|
|
322
|
-
* If true, structured outputs will be enabled on the model for non-text requests.
|
|
323
|
-
*/
|
|
324
|
-
export type StructuredOutputsV3_49_0 = boolean;
|
|
325
|
-
/**
|
|
326
|
-
* Enable OpenAI schema format. Must be enabled if `structuredOutputs` is enabled.
|
|
327
|
-
*/
|
|
328
|
-
export type EnableOpenAISchemaFormatV3_49_0 = boolean;
|
|
329
|
-
export type MinimatchPatternV3_49_0 = string;
|
|
330
|
-
/**
|
|
331
|
-
* Remove properties from the schema sent to the model with keys matching these minimatch glob patterns.
|
|
332
|
-
*/
|
|
333
|
-
export type RemovePropertyKeyPatternsV3_49_0 = MinimatchPatternV3_49_0[];
|
|
334
|
-
/**
|
|
335
|
-
* Remove Markdown formatting from the LLM response
|
|
336
|
-
*/
|
|
337
|
-
export type StripMarkdownV3_49_0 = boolean;
|
|
338
|
-
/**
|
|
339
|
-
* These steps are evaluated in order until a destination is found.
|
|
340
|
-
*/
|
|
341
|
-
export type AgentTransitionV3_49_0 = AgentTransitionImmediateV3_49_0 | AgentTransitionSuspendV3_49_0;
|
|
342
|
-
export type AgentStateSessionMemoryV3_49_01 = AgentStateSessionMemoryAssignmentV3_49_0[];
|
|
343
|
-
export type GuardIDV3_49_0 = string;
|
|
344
|
-
export type VariablesV3_49_01 = AgentVariableV3_49_0[];
|
|
345
|
-
export type HistoryStrategyTransformV3_49_0 = HistoryStrategyTransformNoneV3_49_0 | HistoryStrategyTransformReplaceV3_49_0 | HistoryStrategyTransformSummarizeV3_49_0;
|
|
346
|
-
/**
|
|
347
|
-
* The human-readable name of the Guard.
|
|
348
|
-
*/
|
|
349
|
-
export type NameV3_49_0 = string;
|
|
350
|
-
/**
|
|
351
|
-
* A description of the Guard.
|
|
352
|
-
*/
|
|
353
|
-
export type DescriptionV3_49_0 = string;
|
|
354
|
-
/**
|
|
355
|
-
* Guards will not run unless enabled.
|
|
356
|
-
*/
|
|
357
|
-
export type EnabledV3_49_0 = boolean;
|
|
358
|
-
/**
|
|
359
|
-
* The remote id of the Guardrail.
|
|
360
|
-
*/
|
|
361
|
-
export type GuardrailIdentifierV3_49_0 = string;
|
|
362
|
-
/**
|
|
363
|
-
* The remote version of the Guardrail.
|
|
364
|
-
*/
|
|
365
|
-
export type GuardrailVersionV3_49_0 = string;
|
|
366
|
-
/**
|
|
367
|
-
* A message to return when the input message is blocked by the Guard.
|
|
368
|
-
*/
|
|
369
|
-
export type BlockedInputMessagingV3_49_0 = string;
|
|
370
|
-
/**
|
|
371
|
-
* A message to return when the output message is blocked by the Guard.
|
|
372
|
-
*/
|
|
373
|
-
export type BlockedOutputsMessagingV3_49_0 = string;
|
|
374
|
-
export type ExampleV3_49_0 = string;
|
|
375
|
-
/**
|
|
376
|
-
* A topic to block.
|
|
377
|
-
*/
|
|
378
|
-
export type TopicV3_49_0 = {
|
|
379
|
-
name: string;
|
|
380
|
-
definition: string;
|
|
381
|
-
/**
|
|
382
|
-
* Examples of the topic that can hint the LLM.
|
|
383
|
-
*/
|
|
384
|
-
examples?: ExampleV3_49_0[];
|
|
385
|
-
type: 'DENY';
|
|
386
|
-
}[];
|
|
387
|
-
export type InputStrengthV3_49_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
|
|
388
|
-
export type OutputStrengthV3_49_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
|
|
389
|
-
export type GuardrailModalityV3_49_0 = 'TEXT' | 'IMAGE';
|
|
390
|
-
/**
|
|
391
|
-
* Whether to filter images or text
|
|
392
|
-
*/
|
|
393
|
-
export type InputModalitiesV3_49_0 = GuardrailModalityV3_49_0[];
|
|
394
|
-
/**
|
|
395
|
-
* Whether to filter images or text
|
|
396
|
-
*/
|
|
397
|
-
export type OutputModalitiesV3_49_0 = GuardrailModalityV3_49_0[];
|
|
398
|
-
/**
|
|
399
|
-
* Types of content to filter.
|
|
400
|
-
*/
|
|
401
|
-
export type FilterV3_49_0 = {
|
|
402
|
-
type: 'HATE' | 'INSULTS' | 'MICONDUCT' | 'PROMPT_ATTACK' | 'SEXUAL' | 'VIOLENCE';
|
|
403
|
-
inputStrength: InputStrengthV3_49_0;
|
|
404
|
-
outputStrength: OutputStrengthV3_49_0;
|
|
405
|
-
inputModalities?: InputModalitiesV3_49_0;
|
|
406
|
-
outputModalities?: OutputModalitiesV3_49_0;
|
|
407
|
-
}[];
|
|
408
|
-
/**
|
|
409
|
-
* Specific words to block.
|
|
410
|
-
*/
|
|
411
|
-
export type WordListV3_49_0 = {
|
|
412
|
-
text: string;
|
|
413
|
-
}[];
|
|
414
|
-
/**
|
|
415
|
-
* This is solely used for blocking profanity.
|
|
416
|
-
*/
|
|
417
|
-
export type ManagedWordListV3_49_0 = {
|
|
418
|
-
type: 'PROFANITY';
|
|
419
|
-
}[];
|
|
420
|
-
export type GuardrailSensitiveInformationActionV3_49_0 = 'ANONYMIZE' | 'BLOCK';
|
|
421
|
-
/**
|
|
422
|
-
* PII entity to infer from the text.
|
|
423
|
-
*/
|
|
424
|
-
export type PIIEntityV3_49_0 = {
|
|
425
|
-
type: 'ADDRESS' | 'AGE' | 'AWS_ACCESS_KEY' | 'AWS_SECRET_KEY' | 'CA_HEALTH_NUMBER' | 'CA_SOCIAL_INSURANCE_NUMBER' | 'CREDIT_DEBIT_CARD_CVV' | 'CREDIT_DEBIT_CARD_EXPIRY' | 'CREDIT_DEBIT_CARD_NUMBER' | 'DRIVER_ID' | 'EMAIL' | 'INTERNATIONAL_BANK_ACCOUNT_NUMBER' | 'IP_ADDRESS' | 'LICENSE_PLATE' | 'MAC_ADDRESS' | 'NAME' | 'PASSWORD' | 'PHONE' | 'PIN' | 'SWIFT_CODE' | 'UK_NATIONAL_HEALTH_SERVICE_NUMBER' | 'UK_NATIONAL_INSURANCE_NUMBER' | 'UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER' | 'URL' | 'USERNAME' | 'US_BANK_ACCOUNT_NUMBER' | 'US_BANK_ROUTING_NUMBER' | 'US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER' | 'US_PASSPORT_NUMBER' | 'US_SOCIAL_SECURITY_NUMBER' | 'VEHICLE_IDENTIFICATION_NUMBER';
|
|
426
|
-
action: GuardrailSensitiveInformationActionV3_49_0;
|
|
427
|
-
}[];
|
|
428
|
-
/**
|
|
429
|
-
* A regular expression to match sensitive information.
|
|
430
|
-
*/
|
|
431
|
-
export type RegularExpressionV3_49_0 = {
|
|
432
|
-
name: string;
|
|
433
|
-
description?: string;
|
|
434
|
-
pattern: string;
|
|
435
|
-
action: GuardrailSensitiveInformationActionV3_49_0;
|
|
436
|
-
}[];
|
|
437
|
-
/**
|
|
438
|
-
* The type of filter.
|
|
439
|
-
*/
|
|
440
|
-
export type TypeV3_49_0 = 'GROUNDING' | 'RELEVANCE';
|
|
441
|
-
/**
|
|
442
|
-
* The threshold for the filter as a floating point value greater than 0.0 and less than 1.0.
|
|
443
|
-
*/
|
|
444
|
-
export type ThresholdV3_49_0 = number;
|
|
445
|
-
/**
|
|
446
|
-
* Filter to evaluate grounding text.
|
|
447
|
-
*/
|
|
448
|
-
export type FilterV3_49_01 = {
|
|
449
|
-
type: TypeV3_49_0;
|
|
450
|
-
threshold: ThresholdV3_49_0;
|
|
451
|
-
}[];
|
|
452
|
-
export type ToolArgV3_49_0 = AgentControlledV3_49_0;
|
|
453
|
-
/**
|
|
454
|
-
* Human-readable id for use in the UI
|
|
455
|
-
*/
|
|
456
|
-
export type WorkflowNameV3_49_0 = string;
|
|
457
|
-
/**
|
|
458
|
-
* machine-readable slug
|
|
459
|
-
*/
|
|
460
|
-
export type NameV3_49_01 = string;
|
|
461
|
-
/**
|
|
462
|
-
* Human-readable id for use in the UI
|
|
463
|
-
*/
|
|
464
|
-
export type TitleV3_49_0 = string;
|
|
465
|
-
export type DescriptionV3_49_01 = string;
|
|
466
|
-
/**
|
|
467
|
-
* Hex color code
|
|
468
|
-
*/
|
|
469
|
-
export type ColorV3_49_0 = string;
|
|
470
|
-
/**
|
|
471
|
-
* Value to indicate whether items in the state should be returned in list queries
|
|
472
|
-
*/
|
|
473
|
-
export type LiveV3_49_0 = boolean;
|
|
474
|
-
/**
|
|
475
|
-
* machine-readable id
|
|
476
|
-
*/
|
|
477
|
-
export type KeyV3_49_0 = string;
|
|
478
|
-
export type StepsV3_49_0 = WorkflowStepV3_49_0[];
|
|
479
|
-
/**
|
|
480
|
-
* The general type of this service, specifying how and where it will be utilized.
|
|
481
|
-
*
|
|
482
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
483
|
-
* via the `definition` "serviceType".
|
|
484
|
-
*/
|
|
485
|
-
export type ServiceTypeV3_49_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
|
|
486
|
-
/**
|
|
487
|
-
* The name of a health check to run
|
|
488
|
-
*/
|
|
489
|
-
export type CheckNameV3_49_0 = 'graphqlIntrospection' | 'ping' | 'none';
|
|
490
|
-
/**
|
|
491
|
-
* The endpoint to use when checking the service health.
|
|
492
|
-
*/
|
|
493
|
-
export type EndpointV3_49_0 = string;
|
|
494
|
-
/**
|
|
495
|
-
* A custom method to use for the health check request.
|
|
496
|
-
*/
|
|
497
|
-
export type RequestMethodV3_49_0 = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
498
|
-
/**
|
|
499
|
-
* A custom body to send along with the ping request.
|
|
500
|
-
*/
|
|
501
|
-
export type RequestBodyV3_49_0 = string;
|
|
502
|
-
/**
|
|
503
|
-
* A custom body to send along with the ping request.
|
|
504
|
-
*/
|
|
505
|
-
export type RequestBodyFormatV3_49_0 = 'string' | 'form' | 'json' | 'form-data';
|
|
506
|
-
/**
|
|
507
|
-
* The amount of time to wait when receiving a response from the health check, in seconds.
|
|
508
|
-
*/
|
|
509
|
-
export type RequestTimeoutV3_49_0 = number;
|
|
510
|
-
/**
|
|
511
|
-
* The response status code that qualifies as healthy.
|
|
512
|
-
*/
|
|
513
|
-
export type HealthyResponseStatusCodeV3_49_0 = number;
|
|
514
|
-
/**
|
|
515
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
516
|
-
* via the `definition` "serviceHealthCheckTrigger".
|
|
517
|
-
*/
|
|
518
|
-
export type ServiceHealthCheckTriggerV3_49_0 = 'manual' | 'schedule';
|
|
519
|
-
/**
|
|
520
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
521
|
-
* via the `definition` "allOfSchema".
|
|
522
|
-
*/
|
|
523
|
-
export type AllOfSchemaV3_49_0 = PropertySchemaV3_49_0 & {
|
|
524
|
-
allOf: ObjectOrRefArrayV3_49_0;
|
|
525
|
-
};
|
|
526
|
-
/**
|
|
527
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
528
|
-
* via the `definition` "extendsSchema".
|
|
529
|
-
*/
|
|
530
|
-
export type ExtendsSchemaV3_49_0 = PropertySchemaV3_49_0 & {
|
|
531
|
-
extends: ObjectOrRefArrayV3_49_0;
|
|
532
|
-
};
|
|
533
|
-
/**
|
|
534
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
535
|
-
* via the `definition` "oneOfSchema".
|
|
536
|
-
*/
|
|
537
|
-
export type OneOfSchemaV3_49_0 = PropertySchemaV3_49_0 & {
|
|
538
|
-
oneOf: ObjectOrRefArrayV3_49_0;
|
|
539
|
-
};
|
|
540
|
-
/**
|
|
541
|
-
* Options to be passed to the serialization routine.
|
|
542
|
-
*
|
|
543
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
544
|
-
* via the `definition` "parameterSerializeOptions".
|
|
545
|
-
*
|
|
546
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
547
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
548
|
-
*/
|
|
549
|
-
export type ParameterSerializeOptionsV3_49_0 = ParameterSerializeStyleOptionsV3_49_0 | ParameterSerializeContentOptionsV3_49_0;
|
|
550
|
-
/**
|
|
551
|
-
* An array of key / value or directive config tuples
|
|
552
|
-
*
|
|
553
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
554
|
-
* via the `definition` "directiveMappingArray".
|
|
555
|
-
*/
|
|
556
|
-
export type DirectiveMappingArrayV3_49_0 = DirectiveMappingArrayItemV3_49_0[];
|
|
557
|
-
/**
|
|
558
|
-
* A resolver which references a specific service
|
|
559
|
-
*
|
|
560
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
561
|
-
* via the `definition` "serviceResolver".
|
|
562
|
-
*/
|
|
563
|
-
export type ServiceResolverV3_49_0 = TakeshapeResolverV3_49_0 | ShapedbResolverShapeNameNotRequiredV3_49_0 | ShapedbResolverV3_49_0 | GraphqlResolverV3_49_0 | RestResolverV3_49_0 | AwsLambdaResolverV3_49_0;
|
|
564
|
-
/**
|
|
565
|
-
* An array of key / value or directive config tuples
|
|
566
|
-
*
|
|
567
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
568
|
-
* via the `definition` "searchParamsMapping".
|
|
569
|
-
*/
|
|
570
|
-
export type SearchParamsMappingV3_49_01 = DirectiveMappingArrayItemV3_49_0[];
|
|
571
|
-
/**
|
|
572
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
573
|
-
* via the `definition` "shapeWithObjectSchema".
|
|
574
|
-
*/
|
|
575
|
-
export type ShapeWithObjectSchemaV3_49_0 = ShapeJSONV3_49_0 & {
|
|
576
|
-
schema: ObjectSchemaV3_49_0;
|
|
577
|
-
};
|
|
578
|
-
/**
|
|
579
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
580
|
-
* via the `definition` "serviceAuthentication".
|
|
581
|
-
*/
|
|
582
|
-
export type ServiceAuthenticationV3_49_0 = OAuth2AuthenticationV3_49_0 | OAuth2BearerAuthenticationV3_49_0 | BearerAuthenticationV3_49_0 | BasicAuthenticationV3_49_0 | SearchParamsAuthenticationV3_49_0 | AWSAuthenticationV3_49_0 | GoogleAuthenticationV3_49_0 | CustomAuthenticationV3_49_0;
|
|
583
|
-
/**
|
|
584
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
585
|
-
* via the `definition` "anyServiceConfig".
|
|
586
|
-
*/
|
|
587
|
-
export type AnyServiceConfigV3_49_0 = ServiceConfigJSONV3_49_0 | ServiceConfigV3_49_0;
|
|
588
|
-
export interface ProjectSchemaJSONV3_49_0 {
|
|
589
|
-
$schema?: string;
|
|
590
|
-
/**
|
|
591
|
-
* The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
|
|
592
|
-
*/
|
|
593
|
-
apiVersion: string;
|
|
594
|
-
/**
|
|
595
|
-
* The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
|
|
596
|
-
*/
|
|
597
|
-
schemaVersion: '3.49.0';
|
|
598
|
-
/**
|
|
599
|
-
* The ID of the TakeShape project this schema belongs to.
|
|
600
|
-
*/
|
|
601
|
-
projectId: string;
|
|
602
|
-
/**
|
|
603
|
-
* The ID of the TakeShape user who created the schema.
|
|
604
|
-
*/
|
|
605
|
-
author?: string;
|
|
606
|
-
deactivated?: number;
|
|
607
|
-
/**
|
|
608
|
-
* The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
|
|
609
|
-
*/
|
|
610
|
-
defaultLocale: string;
|
|
611
|
-
locales: string[];
|
|
612
|
-
queries: QueryMapV3_49_0;
|
|
613
|
-
mutations: QueryMapV3_49_0;
|
|
614
|
-
shapes: ShapeMapV3_49_0;
|
|
615
|
-
'ai-experimental'?: AIExperimentalV3_49_0;
|
|
616
|
-
forms?: FormMapV3_49_0;
|
|
617
|
-
workflows: WorkflowMapV3_49_0;
|
|
618
|
-
services?: ServiceMapJSONV3_49_0;
|
|
619
|
-
}
|
|
620
|
-
/**
|
|
621
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
622
|
-
* via the `definition` "queryMap".
|
|
623
|
-
*/
|
|
624
|
-
export interface QueryMapV3_49_0 {
|
|
625
|
-
[k: string]: QueryJSONV3_49_0;
|
|
626
|
-
}
|
|
627
|
-
/**
|
|
628
|
-
* This interface was referenced by `QueryMapV3_49_0`'s JSON-Schema definition
|
|
629
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
630
|
-
*
|
|
631
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
632
|
-
* via the `definition` "query".
|
|
633
|
-
*/
|
|
634
|
-
export interface QueryJSONV3_49_0 {
|
|
635
|
-
args?: ArgsV3_49_0;
|
|
636
|
-
resolver: ResolverV3_49_0;
|
|
637
|
-
shape: ReturnShapeV3_49_0;
|
|
638
|
-
/**
|
|
639
|
-
* Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
|
|
640
|
-
*/
|
|
641
|
-
description?: string;
|
|
642
|
-
}
|
|
643
|
-
/**
|
|
644
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
645
|
-
* via the `definition` "propertySchema".
|
|
646
|
-
*/
|
|
647
|
-
export interface PropertySchemaV3_49_0 {
|
|
648
|
-
$ref?: string;
|
|
649
|
-
title?: string;
|
|
650
|
-
description?: string;
|
|
651
|
-
default?: any;
|
|
652
|
-
readOnly?: boolean;
|
|
653
|
-
multipleOf?: number;
|
|
654
|
-
maximum?: number;
|
|
655
|
-
exclusiveMaximum?: number;
|
|
656
|
-
minimum?: number;
|
|
657
|
-
exclusiveMinimum?: number;
|
|
658
|
-
maxLength?: NonNegativeIntegerV3_49_0;
|
|
659
|
-
minLength?: NonNegativeIntegerDefault0V3_49_0;
|
|
660
|
-
pattern?: string;
|
|
661
|
-
additionalItems?: PropertySchemaV3_49_0;
|
|
662
|
-
items?: PropertySchemaV3_49_0;
|
|
663
|
-
maxItems?: NonNegativeIntegerV3_49_0;
|
|
664
|
-
minItems?: NonNegativeIntegerDefault0V3_49_0;
|
|
665
|
-
uniqueItems?: boolean;
|
|
666
|
-
contains?: PropertySchemaV3_49_0;
|
|
667
|
-
maxProperties?: NonNegativeIntegerV3_49_0;
|
|
668
|
-
minProperties?: NonNegativeIntegerDefault0V3_49_0;
|
|
669
|
-
required?: StringArrayV3_49_0;
|
|
670
|
-
additionalProperties?: PropertySchemaV3_49_0 | false;
|
|
671
|
-
definitions?: {
|
|
672
|
-
[k: string]: PropertySchemaV3_49_0;
|
|
673
|
-
};
|
|
674
|
-
properties?: {
|
|
675
|
-
[k: string]: PropertySchemaV3_49_0;
|
|
676
|
-
};
|
|
677
|
-
const?: any;
|
|
678
|
-
enum?: any[];
|
|
679
|
-
type?: SimpleTypesV3_49_0 | SimpleTypesV3_49_0[];
|
|
680
|
-
format?: string;
|
|
681
|
-
contentMediaType?: string;
|
|
682
|
-
contentEncoding?: string;
|
|
683
|
-
allOf?: SchemaArrayV3_49_0;
|
|
684
|
-
discriminator?: {
|
|
685
|
-
propertyName?: string;
|
|
686
|
-
[k: string]: any;
|
|
687
|
-
};
|
|
688
|
-
oneOf?: SchemaArrayV3_49_0;
|
|
689
|
-
extends?: ObjectOrRefArrayV3_49_0;
|
|
690
|
-
'@backreference'?: BackReferenceV3_49_0;
|
|
691
|
-
'@input'?: PropertySchemaV3_49_0;
|
|
692
|
-
'@output'?: PropertySchemaV3_49_0;
|
|
693
|
-
'@syncLocaleStructure'?: boolean;
|
|
694
|
-
'@sensitive'?: boolean;
|
|
695
|
-
'@draftjs'?: boolean;
|
|
696
|
-
'@l10n'?: boolean;
|
|
697
|
-
'@key'?: string;
|
|
698
|
-
'@workflow'?: string;
|
|
699
|
-
'@mapping'?: FieldMappingV3_49_0;
|
|
700
|
-
'@tag'?: string;
|
|
701
|
-
'@tags'?: string[];
|
|
702
|
-
'@deprecationReason'?: string;
|
|
703
|
-
'@args'?: ArgsV3_49_0;
|
|
704
|
-
'@resolver'?: ResolverV3_49_0;
|
|
705
|
-
'@dependencies'?: DependenciesV3_49_0;
|
|
706
|
-
'@ref'?: RefV3_49_0;
|
|
707
|
-
'@derivedFrom'?: string;
|
|
708
|
-
'@indexed'?: IndexedV3_49_0;
|
|
709
|
-
'@graphql'?: GraphQLConfigV3_49_0;
|
|
710
|
-
}
|
|
711
|
-
/**
|
|
712
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
713
|
-
* via the `definition` "refSchema".
|
|
714
|
-
*/
|
|
715
|
-
export interface RefSchemaV3_49_0 {
|
|
716
|
-
'@ref': RefV3_49_0;
|
|
717
|
-
[k: string]: any;
|
|
718
|
-
}
|
|
719
|
-
/**
|
|
720
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
721
|
-
* via the `definition` "refSchemaLegacy".
|
|
722
|
-
*/
|
|
723
|
-
export interface RefSchemaLegacyV3_49_0 {
|
|
724
|
-
$ref: RefV3_49_0;
|
|
725
|
-
[k: string]: any;
|
|
726
|
-
}
|
|
727
|
-
/**
|
|
728
|
-
* A configuration object for a reverse reference in a relationship.
|
|
729
|
-
*
|
|
730
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
731
|
-
* via the `definition` "backreference".
|
|
732
|
-
*/
|
|
733
|
-
export interface BackReferenceV3_49_0 {
|
|
734
|
-
enabled: boolean;
|
|
735
|
-
name?: string;
|
|
736
|
-
}
|
|
737
|
-
/**
|
|
738
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
739
|
-
* via the `definition` "utilResolver".
|
|
740
|
-
*/
|
|
741
|
-
export interface UtilResolverV3_49_0 {
|
|
742
|
-
if?: string;
|
|
743
|
-
id?: string;
|
|
744
|
-
name: UtilResolverNameV3_49_0;
|
|
745
|
-
options?: UtilResolverOptionsV3_49_0;
|
|
746
|
-
/**
|
|
747
|
-
* Optional value to return from the noop resolver.
|
|
748
|
-
*/
|
|
749
|
-
value?: number | string | boolean | {
|
|
750
|
-
[k: string]: any;
|
|
751
|
-
} | any[] | null;
|
|
752
|
-
args?: ParameterConfigForJsonV3_49_0;
|
|
753
|
-
results?: ParameterConfigForJsonV3_49_0;
|
|
754
|
-
argsMapping?: ArgsMappingV3_49_0;
|
|
755
|
-
resultsMapping?: ResultsMappingV3_49_0;
|
|
756
|
-
}
|
|
757
|
-
export interface UtilResolverOptionsV3_49_0 {
|
|
758
|
-
[k: string]: any;
|
|
759
|
-
}
|
|
760
|
-
/**
|
|
761
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
762
|
-
* via the `definition` "parameterConfigForJson".
|
|
763
|
-
*/
|
|
764
|
-
export interface ParameterConfigForJsonV3_49_0 {
|
|
765
|
-
ops: ParameterOpListV3_49_0;
|
|
766
|
-
}
|
|
767
|
-
/**
|
|
768
|
-
* An object describing an operation to generate a parameter, using a nested OpList.
|
|
769
|
-
*
|
|
770
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
771
|
-
* via the `definition` "parameterOpNested".
|
|
772
|
-
*/
|
|
773
|
-
export interface ParameterOpNestedV3_49_0 {
|
|
774
|
-
/**
|
|
775
|
-
* A path to the parameter for this operation.
|
|
776
|
-
*/
|
|
777
|
-
path: string;
|
|
778
|
-
/**
|
|
779
|
-
* A mode for this parameter's operation.
|
|
780
|
-
*/
|
|
781
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
782
|
-
ops: ParameterOpListV3_49_0;
|
|
783
|
-
}
|
|
784
|
-
/**
|
|
785
|
-
* An object describing an operation to generate a parameter using a value.
|
|
786
|
-
*
|
|
787
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
788
|
-
* via the `definition` "parameterOpValue".
|
|
789
|
-
*/
|
|
790
|
-
export interface ParameterOpValueV3_49_0 {
|
|
791
|
-
/**
|
|
792
|
-
* A path to the parameter for this operation.
|
|
793
|
-
*/
|
|
794
|
-
path: string;
|
|
795
|
-
/**
|
|
796
|
-
* A mode for this parameter's operation.
|
|
797
|
-
*/
|
|
798
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
799
|
-
/**
|
|
800
|
-
* A value to set directly at this path.
|
|
801
|
-
*/
|
|
802
|
-
value: number | string | boolean | {
|
|
803
|
-
[k: string]: any;
|
|
804
|
-
} | any[] | null;
|
|
805
|
-
}
|
|
806
|
-
/**
|
|
807
|
-
* An object describing an operation to generate a parameter using a mapping.
|
|
808
|
-
*
|
|
809
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
810
|
-
* via the `definition` "parameterOpMapping".
|
|
811
|
-
*/
|
|
812
|
-
export interface ParameterOpMappingV3_49_0 {
|
|
813
|
-
/**
|
|
814
|
-
* A path to the parameter for this operation.
|
|
815
|
-
*/
|
|
816
|
-
path: string;
|
|
817
|
-
/**
|
|
818
|
-
* A mode for this parameter's operation.
|
|
819
|
-
*/
|
|
820
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
821
|
-
/**
|
|
822
|
-
* Either a valid JSONPath or a directive pipeline to evaluate against the query context.
|
|
823
|
-
*/
|
|
824
|
-
mapping: string | DirectiveConfigV3_49_0;
|
|
825
|
-
}
|
|
826
|
-
export interface DirectiveOptionsV3_49_0 {
|
|
827
|
-
[k: string]: any;
|
|
828
|
-
}
|
|
829
|
-
/**
|
|
830
|
-
* An object describing an operation to generate a parameter using a mapping.
|
|
831
|
-
*
|
|
832
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
833
|
-
* via the `definition` "parameterOpOp".
|
|
834
|
-
*/
|
|
835
|
-
export interface ParameterOpOpV3_49_0 {
|
|
836
|
-
/**
|
|
837
|
-
* A path to the parameter for this operation.
|
|
838
|
-
*/
|
|
839
|
-
path: string;
|
|
840
|
-
/**
|
|
841
|
-
* A mode for this parameter's operation.
|
|
842
|
-
*/
|
|
843
|
-
op: 'set' | 'concat' | 'extend' | 'remove';
|
|
844
|
-
}
|
|
845
|
-
/**
|
|
846
|
-
* An map of object keys / key paths to directive configs
|
|
847
|
-
*
|
|
848
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
849
|
-
* via the `definition` "directiveMappingMap".
|
|
850
|
-
*/
|
|
851
|
-
export interface DirectiveMappingMapV3_49_0 {
|
|
852
|
-
[k: string]: DirectiveConfigV3_49_0;
|
|
853
|
-
}
|
|
854
|
-
/**
|
|
855
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
856
|
-
* via the `definition` "delegateResolver".
|
|
857
|
-
*/
|
|
858
|
-
export interface DelegateResolverV3_49_0 {
|
|
859
|
-
if?: string;
|
|
860
|
-
id?: string;
|
|
861
|
-
name: DelegateResolverNameV3_49_0;
|
|
862
|
-
options?: DelegateResolverOptionsV3_49_0;
|
|
863
|
-
argsMapping?: ArgsMappingV3_49_0;
|
|
864
|
-
resultsMapping?: ResultsMappingV3_49_0;
|
|
865
|
-
/**
|
|
866
|
-
* A ref to a query/mutation/property to delegate to.
|
|
867
|
-
*/
|
|
868
|
-
to: string;
|
|
869
|
-
args?: ParameterConfigForJsonV3_49_0;
|
|
870
|
-
results?: ParameterConfigForJsonV3_49_0;
|
|
871
|
-
}
|
|
872
|
-
export interface DelegateResolverOptionsV3_49_0 {
|
|
873
|
-
[k: string]: any;
|
|
874
|
-
}
|
|
875
|
-
/**
|
|
876
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
877
|
-
* via the `definition` "takeshapeResolver".
|
|
878
|
-
*/
|
|
879
|
-
export interface TakeshapeResolverV3_49_0 {
|
|
880
|
-
if?: string;
|
|
881
|
-
id?: string;
|
|
882
|
-
name: TakeshapeResolverNameV3_49_0;
|
|
883
|
-
/**
|
|
884
|
-
* Internal service identifier.
|
|
885
|
-
*/
|
|
886
|
-
service: 'takeshape';
|
|
887
|
-
options?: TakeshapeResolverOptionsV3_49_0;
|
|
888
|
-
/**
|
|
889
|
-
* An optional Shape name for the resolver.
|
|
890
|
-
*/
|
|
891
|
-
shapeName?: string;
|
|
892
|
-
args?: ParameterConfigForJsonV3_49_0;
|
|
893
|
-
results?: ParameterConfigForJsonV3_49_0;
|
|
894
|
-
argsMapping?: ArgsMappingV3_49_0;
|
|
895
|
-
resultsMapping?: ResultsMappingV3_49_0;
|
|
896
|
-
}
|
|
897
|
-
export interface TakeshapeResolverOptionsV3_49_0 {
|
|
898
|
-
[k: string]: any;
|
|
899
|
-
}
|
|
900
|
-
/**
|
|
901
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
902
|
-
* via the `definition` "shapedbResolver".
|
|
903
|
-
*/
|
|
904
|
-
export interface ShapedbResolverV3_49_0 {
|
|
905
|
-
if?: string;
|
|
906
|
-
id?: string;
|
|
907
|
-
name: ShapedbResolverNameV3_49_0;
|
|
908
|
-
/**
|
|
909
|
-
* Internal service identifier.
|
|
910
|
-
*/
|
|
911
|
-
service: 'shapedb';
|
|
912
|
-
options?: ShapedbResolverOptionsV3_49_0;
|
|
913
|
-
argsMapping?: ArgsMappingV3_49_0;
|
|
914
|
-
resultsMapping?: ResultsMappingV3_49_0;
|
|
915
|
-
/**
|
|
916
|
-
* A Shape name for the resolver to use.
|
|
917
|
-
*/
|
|
918
|
-
shapeName: string;
|
|
919
|
-
args?: ParameterConfigForJsonV3_49_0;
|
|
920
|
-
results?: ParameterConfigForJsonV3_49_0;
|
|
921
|
-
}
|
|
922
|
-
export interface ShapedbResolverOptionsV3_49_0 {
|
|
923
|
-
[k: string]: any;
|
|
924
|
-
}
|
|
925
|
-
/**
|
|
926
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
927
|
-
* via the `definition` "shapedbResolverShapeNameNotRequired".
|
|
928
|
-
*/
|
|
929
|
-
export interface ShapedbResolverShapeNameNotRequiredV3_49_0 {
|
|
930
|
-
if?: string;
|
|
931
|
-
id?: string;
|
|
932
|
-
name: ShapedbResolverShapeNameNotRequiredNameV3_49_0;
|
|
933
|
-
/**
|
|
934
|
-
* Internal service identifier.
|
|
935
|
-
*/
|
|
936
|
-
service: 'shapedb';
|
|
937
|
-
options?: ShapedbResolverShapeNameNotRequiredOptionsV3_49_0;
|
|
938
|
-
/**
|
|
939
|
-
* An optional Shape name for the resolver.
|
|
940
|
-
*/
|
|
941
|
-
shapeName?: string;
|
|
942
|
-
args?: ParameterConfigForJsonV3_49_0;
|
|
943
|
-
results?: ParameterConfigForJsonV3_49_0;
|
|
944
|
-
argsMapping?: ArgsMappingV3_49_0;
|
|
945
|
-
resultsMapping?: ResultsMappingV3_49_0;
|
|
946
|
-
}
|
|
947
|
-
export interface ShapedbResolverShapeNameNotRequiredOptionsV3_49_0 {
|
|
948
|
-
[k: string]: any;
|
|
949
|
-
}
|
|
950
|
-
/**
|
|
951
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
952
|
-
* via the `definition` "graphqlResolver".
|
|
953
|
-
*/
|
|
954
|
-
export interface GraphqlResolverV3_49_0 {
|
|
955
|
-
if?: string;
|
|
956
|
-
id?: string;
|
|
957
|
-
name: GraphqlResolverNameV3_49_0;
|
|
958
|
-
/**
|
|
959
|
-
* Configuration for a service to use with this resolver.
|
|
960
|
-
*/
|
|
961
|
-
service: string;
|
|
962
|
-
argsMapping?: ArgsMappingV3_49_0;
|
|
963
|
-
resultsMapping?: ResultsMappingV3_49_0;
|
|
964
|
-
options?: GraphqlResolverOptionsV3_49_0;
|
|
965
|
-
/**
|
|
966
|
-
* A fieldname to use in queries.
|
|
967
|
-
*/
|
|
968
|
-
fieldName: string;
|
|
969
|
-
headers?: ParameterConfigForHeadersV3_49_0;
|
|
970
|
-
searchParams?: ParameterConfigForSearchParamsV3_49_0;
|
|
971
|
-
args?: ParameterConfigForJsonV3_49_0;
|
|
972
|
-
results?: ParameterConfigForJsonV3_49_0;
|
|
973
|
-
}
|
|
974
|
-
export interface GraphqlResolverOptionsV3_49_0 {
|
|
975
|
-
selectionSet?: string;
|
|
976
|
-
unboxParentSelectionSet?: boolean;
|
|
977
|
-
ignoreErrors?: boolean;
|
|
978
|
-
skipWhenMissingArgs?: boolean;
|
|
979
|
-
ttl?: number;
|
|
980
|
-
timeout?: number;
|
|
981
|
-
allowStream?: boolean;
|
|
982
|
-
retry?: number | {
|
|
983
|
-
[k: string]: any;
|
|
984
|
-
};
|
|
985
|
-
[k: string]: any;
|
|
986
|
-
}
|
|
987
|
-
/**
|
|
988
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
989
|
-
* via the `definition` "parameterConfigForHeaders".
|
|
990
|
-
*/
|
|
991
|
-
export interface ParameterConfigForHeadersV3_49_0 {
|
|
992
|
-
ops: ParameterOpListV3_49_0;
|
|
993
|
-
serialize?: ParameterSerializeConfigForHeadersV3_49_0;
|
|
994
|
-
}
|
|
995
|
-
/**
|
|
996
|
-
* Top-level paths to use headers serialization options for.
|
|
997
|
-
*
|
|
998
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
999
|
-
* via the `definition` "parameterSerializeConfigForHeaders".
|
|
1000
|
-
*/
|
|
1001
|
-
export interface ParameterSerializeConfigForHeadersV3_49_0 {
|
|
1002
|
-
defaults?: ParameterSerializeStyleOptionsForHeadersV3_49_0 | ParameterSerializeContentOptionsV3_49_0;
|
|
1003
|
-
paths?: {
|
|
1004
|
-
/**
|
|
1005
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1006
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
1007
|
-
*/
|
|
1008
|
-
[k: string]: ParameterSerializeStyleOptionsForHeadersV3_49_0 | ParameterSerializeContentOptionsV3_49_0;
|
|
1009
|
-
};
|
|
1010
|
-
}
|
|
1011
|
-
/**
|
|
1012
|
-
* Options to be passed to the serialization routine.
|
|
1013
|
-
*
|
|
1014
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1015
|
-
* via the `definition` "parameterSerializeStyleOptionsForHeaders".
|
|
1016
|
-
*/
|
|
1017
|
-
export interface ParameterSerializeStyleOptionsForHeadersV3_49_0 {
|
|
1018
|
-
style: 'simple' | 'none';
|
|
1019
|
-
explode?: boolean;
|
|
1020
|
-
}
|
|
1021
|
-
/**
|
|
1022
|
-
* Options to be passed to the serialization routine.
|
|
1023
|
-
*
|
|
1024
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1025
|
-
* via the `definition` "parameterSerializeContentOptions".
|
|
1026
|
-
*/
|
|
1027
|
-
export interface ParameterSerializeContentOptionsV3_49_0 {
|
|
1028
|
-
contentType: string;
|
|
1029
|
-
/**
|
|
1030
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
1031
|
-
*/
|
|
1032
|
-
allowReserved?: boolean;
|
|
1033
|
-
skipEncoding?: boolean;
|
|
1034
|
-
/**
|
|
1035
|
-
* Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
|
|
1036
|
-
*/
|
|
1037
|
-
options?: {
|
|
1038
|
-
[k: string]: any;
|
|
1039
|
-
};
|
|
1040
|
-
}
|
|
1041
|
-
/**
|
|
1042
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1043
|
-
* via the `definition` "parameterConfigForSearchParams".
|
|
1044
|
-
*/
|
|
1045
|
-
export interface ParameterConfigForSearchParamsV3_49_0 {
|
|
1046
|
-
ops: ParameterOpListV3_49_0;
|
|
1047
|
-
serialize?: ParameterSerializeConfigForSearchParamsV3_49_0;
|
|
1048
|
-
}
|
|
1049
|
-
/**
|
|
1050
|
-
* Top-level paths to use search params serialization options for.
|
|
1051
|
-
*
|
|
1052
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1053
|
-
* via the `definition` "parameterSerializeConfigForSearchParams".
|
|
1054
|
-
*/
|
|
1055
|
-
export interface ParameterSerializeConfigForSearchParamsV3_49_0 {
|
|
1056
|
-
defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_49_0 | ParameterSerializeContentOptionsV3_49_0;
|
|
1057
|
-
paths?: {
|
|
1058
|
-
/**
|
|
1059
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1060
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
1061
|
-
*/
|
|
1062
|
-
[k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_49_0 | ParameterSerializeContentOptionsV3_49_0;
|
|
1063
|
-
};
|
|
1064
|
-
}
|
|
1065
|
-
/**
|
|
1066
|
-
* Options to be passed to the serialization routine.
|
|
1067
|
-
*
|
|
1068
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1069
|
-
* via the `definition` "parameterSerializeStyleOptionsForSearchParams".
|
|
1070
|
-
*/
|
|
1071
|
-
export interface ParameterSerializeStyleOptionsForSearchParamsV3_49_0 {
|
|
1072
|
-
style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
|
|
1073
|
-
explode?: boolean;
|
|
1074
|
-
allowEmptyValue?: boolean;
|
|
1075
|
-
/**
|
|
1076
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
1077
|
-
*/
|
|
1078
|
-
allowReserved?: boolean;
|
|
1079
|
-
skipEncoding?: boolean;
|
|
1080
|
-
}
|
|
1081
|
-
/**
|
|
1082
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1083
|
-
* via the `definition` "restResolver".
|
|
1084
|
-
*/
|
|
1085
|
-
export interface RestResolverV3_49_0 {
|
|
1086
|
-
if?: string;
|
|
1087
|
-
id?: string;
|
|
1088
|
-
name: RestResolverNameV3_49_0;
|
|
1089
|
-
/**
|
|
1090
|
-
* Configuration for a service to use with this resolver.
|
|
1091
|
-
*/
|
|
1092
|
-
service: string;
|
|
1093
|
-
argsMapping?: ArgsMappingV3_49_0;
|
|
1094
|
-
searchParamsMapping?: SearchParamsMappingV3_49_0;
|
|
1095
|
-
resultsMapping?: ResultsMappingV3_49_0;
|
|
1096
|
-
options?: RestResolverOptionsV3_49_0;
|
|
1097
|
-
body?: ParameterConfigForBodyV3_49_0;
|
|
1098
|
-
form?: ParameterConfigForSearchParamsV3_49_0;
|
|
1099
|
-
headers?: ParameterConfigForHeadersV3_49_0;
|
|
1100
|
-
json?: ParameterConfigForJsonV3_49_0;
|
|
1101
|
-
/**
|
|
1102
|
-
* Mapping and serialization configuration for the path, or a simple string.
|
|
1103
|
-
*/
|
|
1104
|
-
path: ParameterConfigForPathParamsV3_49_0 | string;
|
|
1105
|
-
searchParams?: ParameterConfigForSearchParamsV3_49_0;
|
|
1106
|
-
args?: ParameterConfigForJsonV3_49_0;
|
|
1107
|
-
results?: ParameterConfigForJsonV3_49_0;
|
|
1108
|
-
}
|
|
1109
|
-
export interface RestResolverOptionsV3_49_0 {
|
|
1110
|
-
trailingSlash?: boolean;
|
|
1111
|
-
allowStream?: boolean;
|
|
1112
|
-
ttl?: number;
|
|
1113
|
-
timeout?: number;
|
|
1114
|
-
retry?: number | {
|
|
1115
|
-
[k: string]: any;
|
|
1116
|
-
};
|
|
1117
|
-
[k: string]: any;
|
|
1118
|
-
}
|
|
1119
|
-
/**
|
|
1120
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1121
|
-
* via the `definition` "parameterConfigForBody".
|
|
1122
|
-
*/
|
|
1123
|
-
export interface ParameterConfigForBodyV3_49_0 {
|
|
1124
|
-
ops: ParameterOpListV3_49_0;
|
|
1125
|
-
serialize?: ParameterSerializeConfigForBodyV3_49_0;
|
|
1126
|
-
}
|
|
1127
|
-
/**
|
|
1128
|
-
* Top-level paths to use serialization options for.
|
|
1129
|
-
*
|
|
1130
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1131
|
-
* via the `definition` "parameterSerializeConfigForBody".
|
|
1132
|
-
*/
|
|
1133
|
-
export interface ParameterSerializeConfigForBodyV3_49_0 {
|
|
1134
|
-
content?: ParameterSerializeContentOptionsV3_49_0;
|
|
1135
|
-
}
|
|
1136
|
-
/**
|
|
1137
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1138
|
-
* via the `definition` "parameterConfigForPathParams".
|
|
1139
|
-
*/
|
|
1140
|
-
export interface ParameterConfigForPathParamsV3_49_0 {
|
|
1141
|
-
ops: ParameterOpListV3_49_0;
|
|
1142
|
-
serialize: ParameterSerializeConfigForPathParamsV3_49_0;
|
|
1143
|
-
}
|
|
1144
|
-
/**
|
|
1145
|
-
* Top-level paths to use path params serialization options for.
|
|
1146
|
-
*
|
|
1147
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1148
|
-
* via the `definition` "parameterSerializeConfigForPathParams".
|
|
1149
|
-
*/
|
|
1150
|
-
export interface ParameterSerializeConfigForPathParamsV3_49_0 {
|
|
1151
|
-
/**
|
|
1152
|
-
* For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
|
|
1153
|
-
*/
|
|
1154
|
-
template: string;
|
|
1155
|
-
defaults?: ParameterSerializeStyleOptionsForPathParamsV3_49_0 | ParameterSerializeContentOptionsV3_49_0;
|
|
1156
|
-
paths?: {
|
|
1157
|
-
/**
|
|
1158
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1159
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
1160
|
-
*/
|
|
1161
|
-
[k: string]: ParameterSerializeStyleOptionsForPathParamsV3_49_0 | ParameterSerializeContentOptionsV3_49_0;
|
|
1162
|
-
};
|
|
1163
|
-
}
|
|
1164
|
-
/**
|
|
1165
|
-
* Options to be passed to the serialization routine.
|
|
1166
|
-
*
|
|
1167
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1168
|
-
* via the `definition` "parameterSerializeStyleOptionsForPathParams".
|
|
1169
|
-
*/
|
|
1170
|
-
export interface ParameterSerializeStyleOptionsForPathParamsV3_49_0 {
|
|
1171
|
-
style: 'simple' | 'label' | 'matrix' | 'none';
|
|
1172
|
-
explode?: boolean;
|
|
1173
|
-
allowEmptyValue?: boolean;
|
|
1174
|
-
/**
|
|
1175
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
1176
|
-
*/
|
|
1177
|
-
allowReserved?: boolean;
|
|
1178
|
-
skipEncoding?: boolean;
|
|
1179
|
-
}
|
|
1180
|
-
/**
|
|
1181
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1182
|
-
* via the `definition` "awsLambdaResolver".
|
|
1183
|
-
*/
|
|
1184
|
-
export interface AwsLambdaResolverV3_49_0 {
|
|
1185
|
-
if?: string;
|
|
1186
|
-
id?: string;
|
|
1187
|
-
name: AwsLambdaResolverNameV3_49_0;
|
|
1188
|
-
/**
|
|
1189
|
-
* Configuration for a service to use with this resolver.
|
|
1190
|
-
*/
|
|
1191
|
-
service: string;
|
|
1192
|
-
options?: AwsLambdaResolverOptionsV3_49_0;
|
|
1193
|
-
payload?: ParameterConfigForJsonV3_49_0;
|
|
1194
|
-
/**
|
|
1195
|
-
* Mapping configuration for the FunctionName.
|
|
1196
|
-
*/
|
|
1197
|
-
functionName: string | ParameterConfigForAwsLambdaV3_49_0;
|
|
1198
|
-
clientContext?: ParameterConfigForJsonV3_49_0;
|
|
1199
|
-
args?: ParameterConfigForJsonV3_49_0;
|
|
1200
|
-
results?: ParameterConfigForJsonV3_49_0;
|
|
1201
|
-
argsMapping?: ArgsMappingV3_49_0;
|
|
1202
|
-
searchParamsMapping?: SearchParamsMappingV3_49_0;
|
|
1203
|
-
resultsMapping?: ResultsMappingV3_49_0;
|
|
1204
|
-
}
|
|
1205
|
-
export interface AwsLambdaResolverOptionsV3_49_0 {
|
|
1206
|
-
[k: string]: any;
|
|
1207
|
-
}
|
|
1208
|
-
/**
|
|
1209
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1210
|
-
* via the `definition` "parameterConfigForAwsLambda".
|
|
1211
|
-
*/
|
|
1212
|
-
export interface ParameterConfigForAwsLambdaV3_49_0 {
|
|
1213
|
-
ops: ParameterOpListV3_49_0;
|
|
1214
|
-
serialize: ParameterSerializeConfigForPathParamsV3_49_0;
|
|
1215
|
-
}
|
|
1216
|
-
/**
|
|
1217
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1218
|
-
* via the `definition` "salsifyResolver".
|
|
1219
|
-
*/
|
|
1220
|
-
export interface SalsifyResolverV3_49_0 {
|
|
1221
|
-
if?: string;
|
|
1222
|
-
id?: string;
|
|
1223
|
-
name: SalsifyResolverNameV3_49_0;
|
|
1224
|
-
/**
|
|
1225
|
-
* Configuration for a service to use with this resolver.
|
|
1226
|
-
*/
|
|
1227
|
-
service: string;
|
|
1228
|
-
options?: SalsifyResolverOptionsV3_49_0;
|
|
1229
|
-
args?: ParameterConfigForJsonV3_49_0;
|
|
1230
|
-
results?: ParameterConfigForJsonV3_49_0;
|
|
1231
|
-
argsMapping?: ArgsMappingV3_49_0;
|
|
1232
|
-
resultsMapping?: ResultsMappingV3_49_0;
|
|
1233
|
-
}
|
|
1234
|
-
export interface SalsifyResolverOptionsV3_49_0 {
|
|
1235
|
-
[k: string]: any;
|
|
1236
|
-
}
|
|
1237
|
-
/**
|
|
1238
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1239
|
-
* via the `definition` "functionResolver".
|
|
1240
|
-
*/
|
|
1241
|
-
export interface FunctionResolverV3_49_0 {
|
|
1242
|
-
if?: string;
|
|
1243
|
-
id?: string;
|
|
1244
|
-
name: FunctionResolverNameV3_49_0;
|
|
1245
|
-
options?: FunctionResolverOptionsV3_49_0;
|
|
1246
|
-
args?: ParameterConfigForJsonV3_49_0;
|
|
1247
|
-
results?: ParameterConfigForJsonV3_49_0;
|
|
1248
|
-
argsMapping?: ArgsMappingV3_49_0;
|
|
1249
|
-
resultsMapping?: ResultsMappingV3_49_0;
|
|
1250
|
-
javascript?: FunctionResolverJavascriptV3_49_0;
|
|
1251
|
-
}
|
|
1252
|
-
export interface FunctionResolverOptionsV3_49_0 {
|
|
1253
|
-
[k: string]: any;
|
|
1254
|
-
}
|
|
1255
|
-
/**
|
|
1256
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1257
|
-
* via the `definition` "aiGenerateTextResolver".
|
|
1258
|
-
*/
|
|
1259
|
-
export interface AIGenerateTextResolverV3_49_0 {
|
|
1260
|
-
if?: string;
|
|
1261
|
-
id?: string;
|
|
1262
|
-
name: AIResolverNameV3_49_0;
|
|
1263
|
-
/**
|
|
1264
|
-
* Configuration for a service to use with this resolver.
|
|
1265
|
-
*/
|
|
1266
|
-
service: string;
|
|
1267
|
-
options?: AIGenerateTextResolverOptionsV3_49_0;
|
|
1268
|
-
systemPrompt: string;
|
|
1269
|
-
inputTemplate?: string;
|
|
1270
|
-
model: string;
|
|
1271
|
-
tools?: (string | AIToolConfigV3_49_0)[];
|
|
1272
|
-
guardrails?: AIGuardrailV3_49_0[];
|
|
1273
|
-
context?: ParameterConfigForJsonV3_49_0;
|
|
1274
|
-
results?: ParameterConfigForJsonV3_49_0;
|
|
1275
|
-
}
|
|
1276
|
-
/**
|
|
1277
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1278
|
-
* via the `definition` "aiGenerateTextResolverOptions".
|
|
1279
|
-
*/
|
|
1280
|
-
export interface AIGenerateTextResolverOptionsV3_49_0 {
|
|
1281
|
-
history?: HistoryV3_49_0;
|
|
1282
|
-
maxTokens?: MaximumTokensV3_49_0;
|
|
1283
|
-
temperature?: TemperatureV3_49_0;
|
|
1284
|
-
topP?: TopPV3_49_0;
|
|
1285
|
-
topK?: TopKV3_49_0;
|
|
1286
|
-
presencePenalty?: PresencePenaltySettingV3_49_0;
|
|
1287
|
-
frequencyPenalty?: FrequencyPenaltySettingV3_49_0;
|
|
1288
|
-
stopSequences?: StopSequencesV3_49_0;
|
|
1289
|
-
seed?: SeedV3_49_0;
|
|
1290
|
-
/**
|
|
1291
|
-
* Maximum number of retries. Set to 0 to disable retries. Defaults to 2
|
|
1292
|
-
*/
|
|
1293
|
-
maxRetries?: number;
|
|
1294
|
-
/**
|
|
1295
|
-
* The tool choice strategy. Default: 'auto'
|
|
1296
|
-
*/
|
|
1297
|
-
toolChoice?: (('auto' | 'none' | 'required') | string) & string;
|
|
1298
|
-
/**
|
|
1299
|
-
* Maximal number of automatic roundtrips for tool calls.
|
|
1300
|
-
*/
|
|
1301
|
-
maxToolRoundtrips?: number;
|
|
1302
|
-
[k: string]: any;
|
|
1303
|
-
}
|
|
1304
|
-
/**
|
|
1305
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1306
|
-
* via the `definition` "aiToolConfig".
|
|
1307
|
-
*/
|
|
1308
|
-
export interface AIToolConfigV3_49_0 {
|
|
1309
|
-
ref: string;
|
|
1310
|
-
selectionSet?: string;
|
|
1311
|
-
}
|
|
1312
|
-
/**
|
|
1313
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1314
|
-
* via the `definition` "aiSimilarityGuardrail".
|
|
1315
|
-
*/
|
|
1316
|
-
export interface AISimilarityGuardrailV3_49_0 {
|
|
1317
|
-
name: 'similarity';
|
|
1318
|
-
shape: string;
|
|
1319
|
-
defaultResponse: string;
|
|
1320
|
-
threshold?: number;
|
|
1321
|
-
}
|
|
1322
|
-
/**
|
|
1323
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1324
|
-
* via the `definition` "aiEmbeddingResolver".
|
|
1325
|
-
*/
|
|
1326
|
-
export interface AIEmbeddingResolverV3_49_0 {
|
|
1327
|
-
if?: string;
|
|
1328
|
-
id?: string;
|
|
1329
|
-
name: AIResolverNameV3_49_01;
|
|
1330
|
-
/**
|
|
1331
|
-
* Configuration for a service to use with this resolver.
|
|
1332
|
-
*/
|
|
1333
|
-
service: string;
|
|
1334
|
-
options?: AIEmbeddingResolverOptionsV3_49_0;
|
|
1335
|
-
model: string;
|
|
1336
|
-
args?: ParameterConfigForJsonV3_49_0;
|
|
1337
|
-
results?: ParameterConfigForJsonV3_49_0;
|
|
1338
|
-
}
|
|
1339
|
-
/**
|
|
1340
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1341
|
-
* via the `definition` "aiEmbeddingResolverOptions".
|
|
1342
|
-
*/
|
|
1343
|
-
export interface AIEmbeddingResolverOptionsV3_49_0 {
|
|
1344
|
-
useDependencies?: boolean;
|
|
1345
|
-
[k: string]: any;
|
|
1346
|
-
}
|
|
1347
|
-
/**
|
|
1348
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1349
|
-
* via the `definition` "aiParseFileResolver".
|
|
1350
|
-
*/
|
|
1351
|
-
export interface AIParseFileResolverV3_49_0 {
|
|
1352
|
-
if?: string;
|
|
1353
|
-
id?: string;
|
|
1354
|
-
name: AIResolverNameV3_49_02;
|
|
1355
|
-
/**
|
|
1356
|
-
* Configuration for a service to use with this resolver.
|
|
1357
|
-
*/
|
|
1358
|
-
service: string;
|
|
1359
|
-
options?: AIEmbeddingResolverOptionsV3_49_0;
|
|
1360
|
-
args?: ParameterConfigForJsonV3_49_0;
|
|
1361
|
-
results?: ParameterConfigForJsonV3_49_0;
|
|
1362
|
-
}
|
|
1363
|
-
export interface AISendAgentMessageResolverV3_49_0 {
|
|
1364
|
-
id?: string;
|
|
1365
|
-
name: AIResolverNameV3_49_03;
|
|
1366
|
-
agentName: string;
|
|
1367
|
-
inputName: string;
|
|
1368
|
-
}
|
|
1369
|
-
/**
|
|
1370
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1371
|
-
* via the `definition` "composeResolver".
|
|
1372
|
-
*/
|
|
1373
|
-
export interface ComposeResolverV3_49_0 {
|
|
1374
|
-
compose: BasicResolverV3_49_0[];
|
|
1375
|
-
resultsMapping?: DirectiveMappingMapV3_49_0 | DirectiveConfigV3_49_0;
|
|
1376
|
-
results?: ParameterConfigForJsonV3_49_0;
|
|
1377
|
-
}
|
|
1378
|
-
/**
|
|
1379
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1380
|
-
* via the `definition` "indexed".
|
|
1381
|
-
*/
|
|
1382
|
-
export interface IndexedV3_49_0 {
|
|
1383
|
-
nested?: boolean;
|
|
1384
|
-
}
|
|
1385
|
-
/**
|
|
1386
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1387
|
-
* via the `definition` "graphql".
|
|
1388
|
-
*/
|
|
1389
|
-
export interface GraphQLConfigV3_49_0 {
|
|
1390
|
-
json?: boolean;
|
|
1391
|
-
}
|
|
1392
|
-
/**
|
|
1393
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1394
|
-
* via the `definition` "shapeMap".
|
|
1395
|
-
*/
|
|
1396
|
-
export interface ShapeMapV3_49_0 {
|
|
1397
|
-
[k: string]: ShapeJSONV3_49_0;
|
|
1398
|
-
}
|
|
1399
|
-
/**
|
|
1400
|
-
* A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
|
|
1401
|
-
*
|
|
1402
|
-
* This interface was referenced by `ShapeMapV3_49_0`'s JSON-Schema definition
|
|
1403
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1404
|
-
*
|
|
1405
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1406
|
-
* via the `definition` "shape".
|
|
1407
|
-
*/
|
|
1408
|
-
export interface ShapeJSONV3_49_0 {
|
|
1409
|
-
/**
|
|
1410
|
-
* 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
|
|
1411
|
-
*/
|
|
1412
|
-
name: string;
|
|
1413
|
-
/**
|
|
1414
|
-
* 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.
|
|
1415
|
-
*/
|
|
1416
|
-
id: string;
|
|
1417
|
-
/**
|
|
1418
|
-
* The human-readable name for a Shape for use in a UI.
|
|
1419
|
-
*/
|
|
1420
|
-
title: string;
|
|
1421
|
-
description?: string;
|
|
1422
|
-
type?: 'interface' | 'input' | 'output';
|
|
1423
|
-
interfaces?: string[];
|
|
1424
|
-
/**
|
|
1425
|
-
* Specifying a model type allows Shape data to be stored in TakeShape's built-in database
|
|
1426
|
-
*/
|
|
1427
|
-
model?: {
|
|
1428
|
-
type: ModelTypeV3_49_0;
|
|
1429
|
-
};
|
|
1430
|
-
workflow?: string;
|
|
1431
|
-
loaders?: ShapeLoadersV3_49_0;
|
|
1432
|
-
joins?: ShapeJoinsV3_49_0;
|
|
1433
|
-
cache?: ShapeCacheConfigV3_49_0;
|
|
1434
|
-
schema: ShapeSchemaV3_49_0;
|
|
1435
|
-
}
|
|
1436
|
-
/**
|
|
1437
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1438
|
-
* via the `definition` "shapeLoaders".
|
|
1439
|
-
*/
|
|
1440
|
-
export interface ShapeLoadersV3_49_0 {
|
|
1441
|
-
list: StoredListQueryLoaderConfigV3_49_0 | StoredListQueryLoaderConfigV3_49_0[];
|
|
1442
|
-
get?: GetQueryLoaderConfigV3_49_0;
|
|
1443
|
-
}
|
|
1444
|
-
/**
|
|
1445
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1446
|
-
* via the `definition` "storedListQueryLoaderConfig".
|
|
1447
|
-
*/
|
|
1448
|
-
export interface StoredListQueryLoaderConfigV3_49_0 {
|
|
1449
|
-
query: string;
|
|
1450
|
-
args?: {
|
|
1451
|
-
[k: string]: any;
|
|
1452
|
-
} | {
|
|
1453
|
-
[k: string]: any;
|
|
1454
|
-
}[];
|
|
1455
|
-
pagination?: PaginationConfigV3_49_0;
|
|
1456
|
-
}
|
|
1457
|
-
/**
|
|
1458
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1459
|
-
* via the `definition` "paginationCursorConfig".
|
|
1460
|
-
*/
|
|
1461
|
-
export interface PaginationCursorConfigV3_49_0 {
|
|
1462
|
-
type: 'cursor';
|
|
1463
|
-
cursorArg: string;
|
|
1464
|
-
cursorPath: string;
|
|
1465
|
-
pageSize?: number;
|
|
1466
|
-
pageSizeArg: string;
|
|
1467
|
-
hasMorePath: string;
|
|
1468
|
-
itemsPath: string;
|
|
1469
|
-
}
|
|
1470
|
-
/**
|
|
1471
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1472
|
-
* via the `definition` "paginationPageConfig".
|
|
1473
|
-
*/
|
|
1474
|
-
export interface PaginationPageConfigV3_49_0 {
|
|
1475
|
-
type: 'page';
|
|
1476
|
-
pageArg: string;
|
|
1477
|
-
pageSize?: number;
|
|
1478
|
-
pageSizeArg?: string;
|
|
1479
|
-
itemsPath: string;
|
|
1480
|
-
pageTotalPath: string;
|
|
1481
|
-
}
|
|
1482
|
-
/**
|
|
1483
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1484
|
-
* via the `definition` "paginationOffsetConfig".
|
|
1485
|
-
*/
|
|
1486
|
-
export interface PaginationOffsetConfigV3_49_0 {
|
|
1487
|
-
type: 'offset';
|
|
1488
|
-
offsetArg: string;
|
|
1489
|
-
pageSize?: number;
|
|
1490
|
-
pageSizeArg?: string;
|
|
1491
|
-
itemsPath: string;
|
|
1492
|
-
itemTotalPath: string;
|
|
1493
|
-
}
|
|
1494
|
-
/**
|
|
1495
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1496
|
-
* via the `definition` "getQueryLoaderConfig".
|
|
1497
|
-
*/
|
|
1498
|
-
export interface GetQueryLoaderConfigV3_49_0 {
|
|
1499
|
-
query: string;
|
|
1500
|
-
args?: {
|
|
1501
|
-
[k: string]: any;
|
|
1502
|
-
};
|
|
1503
|
-
idArg?: string;
|
|
1504
|
-
}
|
|
1505
|
-
/**
|
|
1506
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1507
|
-
* via the `definition` "shapeJoins".
|
|
1508
|
-
*/
|
|
1509
|
-
export interface ShapeJoinsV3_49_0 {
|
|
1510
|
-
[k: string]: ShapeJoinV3_49_0;
|
|
1511
|
-
}
|
|
1512
|
-
/**
|
|
1513
|
-
* This interface was referenced by `ShapeJoinsV3_49_0`'s JSON-Schema definition
|
|
1514
|
-
* via the `patternProperty` "[:0-9A-Za-z_-]+".
|
|
1515
|
-
*
|
|
1516
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1517
|
-
* via the `definition` "shapeJoin".
|
|
1518
|
-
*/
|
|
1519
|
-
export interface ShapeJoinV3_49_0 {
|
|
1520
|
-
resolver: DelegateResolverV3_49_0 | ShapedbResolverV3_49_0;
|
|
1521
|
-
dependencies?: string;
|
|
1522
|
-
}
|
|
1523
|
-
/**
|
|
1524
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1525
|
-
* via the `definition` "shapeCacheConfig".
|
|
1526
|
-
*/
|
|
1527
|
-
export interface ShapeCacheConfigV3_49_0 {
|
|
1528
|
-
enabled: boolean;
|
|
1529
|
-
idField?: string;
|
|
1530
|
-
searchSummaryField?: string;
|
|
1531
|
-
fragment?: CachedFragmentConfigV3_49_0;
|
|
1532
|
-
triggers?: CacheTriggerConfigV3_49_0[];
|
|
1533
|
-
/**
|
|
1534
|
-
* Number of seconds this Shape should be cached. Default 0.
|
|
1535
|
-
*/
|
|
1536
|
-
maxAge?: number;
|
|
1537
|
-
}
|
|
1538
|
-
/**
|
|
1539
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1540
|
-
* via the `definition` "cachedFragmentConfig".
|
|
1541
|
-
*/
|
|
1542
|
-
export interface CachedFragmentConfigV3_49_0 {
|
|
1543
|
-
ignoreFields?: string[];
|
|
1544
|
-
maxDepth?: number;
|
|
1545
|
-
selectionSet?: string;
|
|
1546
|
-
includeDeprecated?: boolean;
|
|
1547
|
-
}
|
|
1548
|
-
/**
|
|
1549
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1550
|
-
* via the `definition` "cacheScheduleTriggerConfig".
|
|
1551
|
-
*/
|
|
1552
|
-
export interface CacheScheduleTriggerConfigV3_49_0 {
|
|
1553
|
-
type: 'schedule';
|
|
1554
|
-
loader: 'get' | 'list';
|
|
1555
|
-
interval: number;
|
|
1556
|
-
}
|
|
1557
|
-
/**
|
|
1558
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1559
|
-
* via the `definition` "cacheWebhookTriggerConfig".
|
|
1560
|
-
*/
|
|
1561
|
-
export interface CacheWebhookTriggerConfigV3_49_0 {
|
|
1562
|
-
type: 'webhook';
|
|
1563
|
-
loader: 'get' | 'list';
|
|
1564
|
-
service: string;
|
|
1565
|
-
events: string[];
|
|
1566
|
-
}
|
|
1567
|
-
/**
|
|
1568
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1569
|
-
* via the `definition` "shapeSchemaAllOf".
|
|
1570
|
-
*/
|
|
1571
|
-
export interface ShapeSchemaAllOfV3_49_0 {
|
|
1572
|
-
allOf: ObjectOrRefArrayV3_49_0;
|
|
1573
|
-
}
|
|
1574
|
-
/**
|
|
1575
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1576
|
-
* via the `definition` "shapeSchemaExtends".
|
|
1577
|
-
*/
|
|
1578
|
-
export interface ShapeSchemaExtendsV3_49_0 {
|
|
1579
|
-
extends: ObjectOrRefArrayV3_49_0;
|
|
1580
|
-
}
|
|
1581
|
-
/**
|
|
1582
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1583
|
-
* via the `definition` "shapeSchemaOneOf".
|
|
1584
|
-
*/
|
|
1585
|
-
export interface ShapeSchemaOneOfV3_49_0 {
|
|
1586
|
-
oneOf: ObjectOrRefArrayV3_49_0;
|
|
1587
|
-
}
|
|
1588
|
-
/**
|
|
1589
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1590
|
-
* via the `definition` "shapeSchemaEnum".
|
|
1591
|
-
*/
|
|
1592
|
-
export interface ShapeSchemaEnumV3_49_0 {
|
|
1593
|
-
enum: any[];
|
|
1594
|
-
}
|
|
1595
|
-
/**
|
|
1596
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1597
|
-
* via the `definition` "shapeSchemaAny".
|
|
1598
|
-
*/
|
|
1599
|
-
export interface ShapeSchemaAnyV3_49_0 {
|
|
1600
|
-
}
|
|
1601
|
-
export interface AIExperimentalV3_49_0 {
|
|
1602
|
-
agents?: AgentMapV3_49_0;
|
|
1603
|
-
guards?: GuardMapV3_49_0;
|
|
1604
|
-
mcp?: MCPServerConfigurationV3_49_0;
|
|
1605
|
-
}
|
|
1606
|
-
export interface AgentMapV3_49_0 {
|
|
1607
|
-
[k: string]: AgentJSONV3_49_0;
|
|
1608
|
-
}
|
|
1609
|
-
/**
|
|
1610
|
-
* An Agent is a configuration for an AI service such as a chat bot or a search engine.
|
|
1611
|
-
*
|
|
1612
|
-
* This interface was referenced by `AgentMapV3_49_0`'s JSON-Schema definition
|
|
1613
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1614
|
-
*/
|
|
1615
|
-
export interface AgentJSONV3_49_0 {
|
|
1616
|
-
description?: string;
|
|
1617
|
-
systemPrompt?: string;
|
|
1618
|
-
api: AgentAPIV3_49_0;
|
|
1619
|
-
memory?: AgentMemoryV3_49_0;
|
|
1620
|
-
start: AgentStartV3_49_0;
|
|
1621
|
-
states: AgentStatesV3_49_0;
|
|
1622
|
-
guards?: AgentGuardV3_49_0[];
|
|
1623
|
-
historyStrategies?: HistoryStrategyMapV3_49_0;
|
|
1624
|
-
}
|
|
1625
|
-
export interface AgentAPIV3_49_0 {
|
|
1626
|
-
inputs: AgentAPIInputV3_49_0[];
|
|
1627
|
-
}
|
|
1628
|
-
export interface AgentAPIMutationInputV3_49_0 {
|
|
1629
|
-
type: 'mutation';
|
|
1630
|
-
name: string;
|
|
1631
|
-
args: string;
|
|
1632
|
-
interactionTimeout?: InteractionTimeoutMillisecondsV3_49_0;
|
|
1633
|
-
}
|
|
1634
|
-
export interface AgentMemoryV3_49_0 {
|
|
1635
|
-
sessionMemory: AgentSessionMemoryV3_49_0;
|
|
1636
|
-
}
|
|
1637
|
-
export interface AgentSessionMemoryV3_49_0 {
|
|
1638
|
-
shape?: string;
|
|
1639
|
-
}
|
|
1640
|
-
/**
|
|
1641
|
-
* Configuration for the start of an agent's execution
|
|
1642
|
-
*/
|
|
1643
|
-
export interface AgentStartV3_49_0 {
|
|
1644
|
-
transitions: AgentTransitionSuspendV3_49_0[];
|
|
1645
|
-
}
|
|
1646
|
-
export interface AgentTransitionSuspendV3_49_0 {
|
|
1647
|
-
type: 'suspend';
|
|
1648
|
-
destination: string;
|
|
1649
|
-
input: string;
|
|
1650
|
-
condition?: string;
|
|
1651
|
-
limit?: number;
|
|
1652
|
-
sessionMemory?: AgentStateSessionMemoryV3_49_0;
|
|
1653
|
-
historyStrategy?: string;
|
|
1654
|
-
}
|
|
1655
|
-
export interface AgentStateSessionMemoryAssignmentV3_49_0 {
|
|
1656
|
-
memoryPath?: string;
|
|
1657
|
-
expression: string;
|
|
1658
|
-
}
|
|
1659
|
-
/**
|
|
1660
|
-
* States that are traversed during the execution of an agent.
|
|
1661
|
-
*/
|
|
1662
|
-
export interface AgentStatesV3_49_0 {
|
|
1663
|
-
[k: string]: AgentStateV3_49_0;
|
|
1664
|
-
}
|
|
1665
|
-
/**
|
|
1666
|
-
* One step of an agent's execution.
|
|
1667
|
-
*
|
|
1668
|
-
* This interface was referenced by `AgentStatesV3_49_0`'s JSON-Schema definition
|
|
1669
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1670
|
-
*/
|
|
1671
|
-
export interface AgentStateV3_49_0 {
|
|
1672
|
-
name: string;
|
|
1673
|
-
variables?: VariablesV3_49_0;
|
|
1674
|
-
execution: AgentExecutionV3_49_0;
|
|
1675
|
-
transitions?: AgentTransitionV3_49_0[];
|
|
1676
|
-
}
|
|
1677
|
-
export interface AgentVariableV3_49_0 {
|
|
1678
|
-
name: string;
|
|
1679
|
-
/**
|
|
1680
|
-
* These are evaluated in order until a value is found.
|
|
1681
|
-
*/
|
|
1682
|
-
steps: AgentVariableStepV3_49_0[];
|
|
1683
|
-
}
|
|
1684
|
-
export interface AgentVariableStepV3_49_0 {
|
|
1685
|
-
condition?: string;
|
|
1686
|
-
expression: string;
|
|
1687
|
-
}
|
|
1688
|
-
export interface AgentExecutionGraphQLV3_49_0 {
|
|
1689
|
-
type: 'graphql';
|
|
1690
|
-
query: string;
|
|
1691
|
-
path?: string;
|
|
1692
|
-
}
|
|
1693
|
-
export interface AgentExecutionGenerateV3_49_0 {
|
|
1694
|
-
type: 'generate';
|
|
1695
|
-
service: string;
|
|
1696
|
-
model: string;
|
|
1697
|
-
systemPrompt?: string;
|
|
1698
|
-
input: AgentAIStateInputV3_49_0;
|
|
1699
|
-
outputShape?: string;
|
|
1700
|
-
tools?: AgentToolConfigV3_49_0[];
|
|
1701
|
-
options?: AgentGenerateOptionsV3_49_0;
|
|
1702
|
-
}
|
|
1703
|
-
export interface AgentAIStateInputArgumentV3_49_0 {
|
|
1704
|
-
type: 'arg';
|
|
1705
|
-
}
|
|
1706
|
-
export interface AgentAIStateInputTemplateV3_49_0 {
|
|
1707
|
-
type: 'template';
|
|
1708
|
-
inputTemplate: string;
|
|
1709
|
-
}
|
|
1710
|
-
export interface AgentToolConfigV3_49_0 {
|
|
1711
|
-
name: string;
|
|
1712
|
-
ref: string;
|
|
1713
|
-
description?: string;
|
|
1714
|
-
args?: AgentToolConfigArgV3_49_0[];
|
|
1715
|
-
selectionSet?: string;
|
|
1716
|
-
}
|
|
1717
|
-
export interface AgentControlledV3_49_0 {
|
|
1718
|
-
type: 'agent';
|
|
1719
|
-
argName: ToolArgumentNameV3_49_0;
|
|
1720
|
-
}
|
|
1721
|
-
export interface VariableValueV3_49_0 {
|
|
1722
|
-
type: 'variable';
|
|
1723
|
-
argName: ToolArgumentNameV3_49_01;
|
|
1724
|
-
variableName: StateVariableNameV3_49_0;
|
|
1725
|
-
}
|
|
1726
|
-
export interface AgentGenerateOptionsV3_49_0 {
|
|
1727
|
-
history?: HistoryV3_49_01;
|
|
1728
|
-
maxTokens?: MaximumTokensV3_49_01;
|
|
1729
|
-
temperature?: TemperatureV3_49_01;
|
|
1730
|
-
topP?: TopPV3_49_01;
|
|
1731
|
-
topK?: TopKV3_49_01;
|
|
1732
|
-
presencePenalty?: PresencePenaltySettingV3_49_01;
|
|
1733
|
-
frequencyPenalty?: FrequencyPenaltySettingV3_49_01;
|
|
1734
|
-
stopSequences?: StopSequencesV3_49_01;
|
|
1735
|
-
seed?: SeedV3_49_01;
|
|
1736
|
-
/**
|
|
1737
|
-
* Maximum number of retries. Set to 0 to disable retries. Defaults to 2
|
|
1738
|
-
*/
|
|
1739
|
-
maxRetries?: number;
|
|
1740
|
-
/**
|
|
1741
|
-
* The tool choice strategy. Default: 'auto'
|
|
1742
|
-
*/
|
|
1743
|
-
toolChoice?: (('auto' | 'none' | 'required') | string) & string;
|
|
1744
|
-
maxToolRoundtrips?: MaxToolRoundtripsV3_49_0;
|
|
1745
|
-
structuredOutputs?: StructuredOutputsV3_49_0;
|
|
1746
|
-
enableOpenAIFormat?: EnableOpenAISchemaFormatV3_49_0;
|
|
1747
|
-
removePropertyKeyPatterns?: RemovePropertyKeyPatternsV3_49_0;
|
|
1748
|
-
stripMarkdown?: StripMarkdownV3_49_0;
|
|
1749
|
-
}
|
|
1750
|
-
export interface AgentExecutionChatV3_49_0 {
|
|
1751
|
-
type: 'chat';
|
|
1752
|
-
service: string;
|
|
1753
|
-
model: string;
|
|
1754
|
-
systemPrompt?: string;
|
|
1755
|
-
input: AgentAIStateInputV3_49_0;
|
|
1756
|
-
artifact?: string;
|
|
1757
|
-
tools?: AgentToolConfigV3_49_0[];
|
|
1758
|
-
options?: AgentGenerateOptionsV3_49_0;
|
|
1759
|
-
}
|
|
1760
|
-
export interface AgentTransitionImmediateV3_49_0 {
|
|
1761
|
-
type: 'immediate';
|
|
1762
|
-
destination: string;
|
|
1763
|
-
condition?: string;
|
|
1764
|
-
limit?: number;
|
|
1765
|
-
sessionMemory?: AgentStateSessionMemoryV3_49_01;
|
|
1766
|
-
historyStrategy?: string;
|
|
1767
|
-
}
|
|
1768
|
-
export interface AgentGuardV3_49_0 {
|
|
1769
|
-
guardId: GuardIDV3_49_0;
|
|
1770
|
-
}
|
|
1771
|
-
export interface HistoryStrategyMapV3_49_0 {
|
|
1772
|
-
[k: string]: HistoryStrategyV3_49_0;
|
|
1773
|
-
}
|
|
1774
|
-
/**
|
|
1775
|
-
* This interface was referenced by `HistoryStrategyMapV3_49_0`'s JSON-Schema definition
|
|
1776
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1777
|
-
*/
|
|
1778
|
-
export interface HistoryStrategyV3_49_0 {
|
|
1779
|
-
name: string;
|
|
1780
|
-
variables?: VariablesV3_49_01;
|
|
1781
|
-
filter?: HistoryStrategyFilterV3_49_0;
|
|
1782
|
-
transform: HistoryStrategyTransformV3_49_0;
|
|
1783
|
-
}
|
|
1784
|
-
export interface HistoryStrategyFilterV3_49_0 {
|
|
1785
|
-
toolCalls?: 'retain' | 'clear';
|
|
1786
|
-
}
|
|
1787
|
-
export interface HistoryStrategyTransformNoneV3_49_0 {
|
|
1788
|
-
type: 'none';
|
|
1789
|
-
}
|
|
1790
|
-
export interface HistoryStrategyTransformReplaceV3_49_0 {
|
|
1791
|
-
type: 'replace';
|
|
1792
|
-
template: string;
|
|
1793
|
-
}
|
|
1794
|
-
export interface HistoryStrategyTransformSummarizeV3_49_0 {
|
|
1795
|
-
type: 'generate';
|
|
1796
|
-
service: string;
|
|
1797
|
-
model: string;
|
|
1798
|
-
systemPrompt: string;
|
|
1799
|
-
tools?: AgentToolConfigV3_49_0[];
|
|
1800
|
-
options?: AgentGenerateOptionsV3_49_0;
|
|
1801
|
-
}
|
|
1802
|
-
export interface GuardMapV3_49_0 {
|
|
1803
|
-
[k: string]: GuardJSONV3_49_0;
|
|
1804
|
-
}
|
|
1805
|
-
/**
|
|
1806
|
-
* A Guard is a configuration for an AI guardrail that can check inputs and outputs and provide safety and compliance.
|
|
1807
|
-
*
|
|
1808
|
-
* This interface was referenced by `GuardMapV3_49_0`'s JSON-Schema definition
|
|
1809
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1810
|
-
*/
|
|
1811
|
-
export interface GuardJSONV3_49_0 {
|
|
1812
|
-
name: NameV3_49_0;
|
|
1813
|
-
description?: DescriptionV3_49_0;
|
|
1814
|
-
enabled?: EnabledV3_49_0;
|
|
1815
|
-
guardrailIdentifier?: GuardrailIdentifierV3_49_0;
|
|
1816
|
-
guardrailVersion?: GuardrailVersionV3_49_0;
|
|
1817
|
-
blockedInputMessaging?: BlockedInputMessagingV3_49_0;
|
|
1818
|
-
blockedOutputsMessaging?: BlockedOutputsMessagingV3_49_0;
|
|
1819
|
-
topicPolicyConfig?: TopicPolicyV3_49_0;
|
|
1820
|
-
contentPolicyConfig?: ContentPolicyV3_49_0;
|
|
1821
|
-
wordPolicyConfig?: WordPolicyV3_49_0;
|
|
1822
|
-
sensitiveInformationPolicyConfig?: SensitiveInformationPolicyV3_49_0;
|
|
1823
|
-
contextualGroundingPolicyConfig?: ContextualGroundingPolicyV3_49_0;
|
|
1824
|
-
}
|
|
1825
|
-
/**
|
|
1826
|
-
* Topics to identify and block.
|
|
1827
|
-
*/
|
|
1828
|
-
export interface TopicPolicyV3_49_0 {
|
|
1829
|
-
topicsConfig: TopicV3_49_0;
|
|
1830
|
-
}
|
|
1831
|
-
/**
|
|
1832
|
-
* Types of content to filter and strength configuration.
|
|
1833
|
-
*/
|
|
1834
|
-
export interface ContentPolicyV3_49_0 {
|
|
1835
|
-
filtersConfig: FilterV3_49_0;
|
|
1836
|
-
}
|
|
1837
|
-
/**
|
|
1838
|
-
* Specific words to identify and block.
|
|
1839
|
-
*/
|
|
1840
|
-
export interface WordPolicyV3_49_0 {
|
|
1841
|
-
wordsConfig?: WordListV3_49_0;
|
|
1842
|
-
managedWordListsConfig?: ManagedWordListV3_49_0;
|
|
1843
|
-
}
|
|
1844
|
-
/**
|
|
1845
|
-
* Filter out and block or obscure sensitive information. Matching text will be handled per the policy.
|
|
1846
|
-
*/
|
|
1847
|
-
export interface SensitiveInformationPolicyV3_49_0 {
|
|
1848
|
-
piiEntitiesConfig?: PIIEntityV3_49_0;
|
|
1849
|
-
regexesConfig?: RegularExpressionV3_49_0;
|
|
1850
|
-
}
|
|
1851
|
-
/**
|
|
1852
|
-
* Provides evaluations based on grounding text supplied by your in-context agent variables. Off-topic conversations can then be blocked.
|
|
1853
|
-
*/
|
|
1854
|
-
export interface ContextualGroundingPolicyV3_49_0 {
|
|
1855
|
-
filtersConfig: FilterV3_49_01;
|
|
1856
|
-
}
|
|
1857
|
-
export interface MCPServerConfigurationV3_49_0 {
|
|
1858
|
-
tools?: ToolMapV3_49_0;
|
|
1859
|
-
}
|
|
1860
|
-
export interface ToolMapV3_49_0 {
|
|
1861
|
-
[k: string]: ToolJSONV3_49_0;
|
|
1862
|
-
}
|
|
1863
|
-
/**
|
|
1864
|
-
* This interface was referenced by `ToolMapV3_49_0`'s JSON-Schema definition
|
|
1865
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1866
|
-
*/
|
|
1867
|
-
export interface ToolJSONV3_49_0 {
|
|
1868
|
-
name: string;
|
|
1869
|
-
ref: string;
|
|
1870
|
-
description?: string;
|
|
1871
|
-
args?: ToolArgV3_49_0[];
|
|
1872
|
-
selectionSet?: string;
|
|
1873
|
-
}
|
|
1874
|
-
/**
|
|
1875
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1876
|
-
* via the `definition` "formMap".
|
|
1877
|
-
*/
|
|
1878
|
-
export interface FormMapV3_49_0 {
|
|
1879
|
-
[k: string]: FormsConfigV3_49_0;
|
|
1880
|
-
}
|
|
1881
|
-
/**
|
|
1882
|
-
* This interface was referenced by `FormMapV3_49_0`'s JSON-Schema definition
|
|
1883
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1884
|
-
*
|
|
1885
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1886
|
-
* via the `definition` "formsConfig".
|
|
1887
|
-
*/
|
|
1888
|
-
export interface FormsConfigV3_49_0 {
|
|
1889
|
-
default: FormConfigV3_49_0;
|
|
1890
|
-
[k: string]: FormConfigV3_49_0;
|
|
1891
|
-
}
|
|
1892
|
-
/**
|
|
1893
|
-
* This interface was referenced by `FormsConfigV3_49_0`'s JSON-Schema definition
|
|
1894
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1895
|
-
*
|
|
1896
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1897
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1898
|
-
*
|
|
1899
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1900
|
-
* via the `definition` "formConfig".
|
|
1901
|
-
*/
|
|
1902
|
-
export interface FormConfigV3_49_0 {
|
|
1903
|
-
[k: string]: any;
|
|
1904
|
-
}
|
|
1905
|
-
/**
|
|
1906
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1907
|
-
* via the `definition` "workflowMap".
|
|
1908
|
-
*/
|
|
1909
|
-
export interface WorkflowMapV3_49_0 {
|
|
1910
|
-
[k: string]: WorkflowV3_49_0;
|
|
1911
|
-
}
|
|
1912
|
-
/**
|
|
1913
|
-
* This interface was referenced by `WorkflowMapV3_49_0`'s JSON-Schema definition
|
|
1914
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1915
|
-
*
|
|
1916
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1917
|
-
* via the `definition` "workflow".
|
|
1918
|
-
*/
|
|
1919
|
-
export interface WorkflowV3_49_0 {
|
|
1920
|
-
/**
|
|
1921
|
-
* machine-readable id
|
|
1922
|
-
*/
|
|
1923
|
-
name: string;
|
|
1924
|
-
title: WorkflowNameV3_49_0;
|
|
1925
|
-
steps: StepsV3_49_0;
|
|
1926
|
-
[k: string]: any;
|
|
1927
|
-
}
|
|
1928
|
-
/**
|
|
1929
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1930
|
-
* via the `definition` "workflowStep".
|
|
1931
|
-
*/
|
|
1932
|
-
export interface WorkflowStepV3_49_0 {
|
|
1933
|
-
name: NameV3_49_01;
|
|
1934
|
-
title: TitleV3_49_0;
|
|
1935
|
-
description?: DescriptionV3_49_01;
|
|
1936
|
-
color: ColorV3_49_0;
|
|
1937
|
-
live: LiveV3_49_0;
|
|
1938
|
-
key: KeyV3_49_0;
|
|
1939
|
-
}
|
|
1940
|
-
/**
|
|
1941
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1942
|
-
* via the `definition` "storedServiceMap".
|
|
1943
|
-
*/
|
|
1944
|
-
export interface ServiceMapJSONV3_49_0 {
|
|
1945
|
-
[k: string]: ServiceConfigJSONV3_49_0;
|
|
1946
|
-
}
|
|
1947
|
-
/**
|
|
1948
|
-
* This interface was referenced by `ServiceMapJSONV3_49_0`'s JSON-Schema definition
|
|
1949
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
1950
|
-
*
|
|
1951
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1952
|
-
* via the `definition` "storedServiceConfig".
|
|
1953
|
-
*/
|
|
1954
|
-
export interface ServiceConfigJSONV3_49_0 {
|
|
1955
|
-
/**
|
|
1956
|
-
* Machine-readable identifier, should typically be the same as the property name on the services object.
|
|
1957
|
-
*/
|
|
1958
|
-
id: string;
|
|
1959
|
-
/**
|
|
1960
|
-
* Human-readable name for this service.
|
|
1961
|
-
*/
|
|
1962
|
-
title: string;
|
|
1963
|
-
/**
|
|
1964
|
-
* The service provider id.
|
|
1965
|
-
*/
|
|
1966
|
-
provider: string;
|
|
1967
|
-
/**
|
|
1968
|
-
* A namespace to use for the imported types tied to this service.
|
|
1969
|
-
*/
|
|
1970
|
-
namespace?: string;
|
|
1971
|
-
serviceType: ServiceTypeV3_49_0;
|
|
1972
|
-
authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
|
|
1973
|
-
authentication?: string;
|
|
1974
|
-
healthCheck?: ServiceHealthCheckV3_49_0;
|
|
1975
|
-
webhookId?: string;
|
|
1976
|
-
/**
|
|
1977
|
-
* Configuration options passed to and handled by the provider.
|
|
1978
|
-
*/
|
|
1979
|
-
options?: {
|
|
1980
|
-
[k: string]: any;
|
|
1981
|
-
};
|
|
1982
|
-
}
|
|
1983
|
-
/**
|
|
1984
|
-
* Configuration for ping health checks.
|
|
1985
|
-
*
|
|
1986
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
1987
|
-
* via the `definition` "serviceHealthCheck".
|
|
1988
|
-
*/
|
|
1989
|
-
export interface ServiceHealthCheckV3_49_0 {
|
|
1990
|
-
checkName: CheckNameV3_49_0;
|
|
1991
|
-
endpoint?: EndpointV3_49_0;
|
|
1992
|
-
requestMethod?: RequestMethodV3_49_0;
|
|
1993
|
-
requestHeaders?: RequestHeadersV3_49_0;
|
|
1994
|
-
requestSearchParams?: RequestSearchParamsV3_49_0;
|
|
1995
|
-
requestBody?: RequestBodyV3_49_0;
|
|
1996
|
-
requestBodyFormat?: RequestBodyFormatV3_49_0;
|
|
1997
|
-
requestTimeout?: RequestTimeoutV3_49_0;
|
|
1998
|
-
healthyResponseStatusCode?: HealthyResponseStatusCodeV3_49_0;
|
|
1999
|
-
triggers?: ServiceHealthCheckTriggerV3_49_0[];
|
|
2000
|
-
}
|
|
2001
|
-
/**
|
|
2002
|
-
* Any custom headers to set with the health check request.
|
|
2003
|
-
*/
|
|
2004
|
-
export interface RequestHeadersV3_49_0 {
|
|
2005
|
-
[k: string]: any;
|
|
2006
|
-
}
|
|
2007
|
-
/**
|
|
2008
|
-
* Any custom search params to set with the health check request.
|
|
2009
|
-
*/
|
|
2010
|
-
export interface RequestSearchParamsV3_49_0 {
|
|
2011
|
-
[k: string]: any;
|
|
2012
|
-
}
|
|
2013
|
-
/**
|
|
2014
|
-
* All possible options for the more specific ParameterSerializeStyleOptions types.
|
|
2015
|
-
*
|
|
2016
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2017
|
-
* via the `definition` "parameterSerializeStyleOptions".
|
|
2018
|
-
*/
|
|
2019
|
-
export interface ParameterSerializeStyleOptionsV3_49_0 {
|
|
2020
|
-
style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
|
|
2021
|
-
explode?: boolean;
|
|
2022
|
-
allowEmptyValue?: boolean;
|
|
2023
|
-
/**
|
|
2024
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
2025
|
-
*/
|
|
2026
|
-
allowReserved?: boolean;
|
|
2027
|
-
skipEncoding?: boolean;
|
|
2028
|
-
}
|
|
2029
|
-
/**
|
|
2030
|
-
* All possible options for the more specific ParameterSerializeConfig types.
|
|
2031
|
-
*
|
|
2032
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2033
|
-
* via the `definition` "parameterSerializeConfig".
|
|
2034
|
-
*/
|
|
2035
|
-
export interface ParameterSerializeConfigV3_49_0 {
|
|
2036
|
-
content?: ParameterSerializeContentOptionsV3_49_0;
|
|
2037
|
-
defaults?: ParameterSerializeOptionsV3_49_0;
|
|
2038
|
-
paths?: {
|
|
2039
|
-
[k: string]: ParameterSerializeOptionsV3_49_0;
|
|
2040
|
-
};
|
|
2041
|
-
}
|
|
2042
|
-
/**
|
|
2043
|
-
* All possible options for the more specific ParameterConfig types.
|
|
2044
|
-
*
|
|
2045
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2046
|
-
* via the `definition` "parameterConfig".
|
|
2047
|
-
*/
|
|
2048
|
-
export interface ParameterConfigV3_49_0 {
|
|
2049
|
-
ops: ParameterOpListV3_49_0;
|
|
2050
|
-
serialize?: ParameterSerializeConfigV3_49_0;
|
|
2051
|
-
}
|
|
2052
|
-
/**
|
|
2053
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2054
|
-
* via the `definition` "aiParseFileResolverOptions".
|
|
2055
|
-
*/
|
|
2056
|
-
export interface AIParseFileResolverOptionsV3_49_0 {
|
|
2057
|
-
[k: string]: any;
|
|
2058
|
-
}
|
|
2059
|
-
/**
|
|
2060
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2061
|
-
* via the `definition` "listQueryLoaderConfig".
|
|
2062
|
-
*/
|
|
2063
|
-
export interface ListQueryLoaderConfigV3_49_0 {
|
|
2064
|
-
query: string;
|
|
2065
|
-
args?: {
|
|
2066
|
-
[k: string]: any;
|
|
2067
|
-
};
|
|
2068
|
-
pagination?: PaginationConfigV3_49_0;
|
|
2069
|
-
}
|
|
2070
|
-
/**
|
|
2071
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2072
|
-
* via the `definition` "formScalarConfig".
|
|
2073
|
-
*/
|
|
2074
|
-
export interface FormScalarConfigV3_49_0 {
|
|
2075
|
-
widget: string;
|
|
2076
|
-
}
|
|
2077
|
-
/**
|
|
2078
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2079
|
-
* via the `definition` "formObjectConfig".
|
|
2080
|
-
*/
|
|
2081
|
-
export interface FormObjectConfigV3_49_0 {
|
|
2082
|
-
widget?: string;
|
|
2083
|
-
order?: string[];
|
|
2084
|
-
properties?: {
|
|
2085
|
-
[k: string]: FormConfigV3_49_0;
|
|
2086
|
-
};
|
|
2087
|
-
}
|
|
2088
|
-
/**
|
|
2089
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2090
|
-
* via the `definition` "formArrayConfig".
|
|
2091
|
-
*/
|
|
2092
|
-
export interface FormArrayConfigV3_49_0 {
|
|
2093
|
-
widget: string;
|
|
2094
|
-
items: FormConfigV3_49_0;
|
|
2095
|
-
}
|
|
2096
|
-
/**
|
|
2097
|
-
* For use with a custom auth handler on a service provider.
|
|
2098
|
-
*
|
|
2099
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2100
|
-
* via the `definition` "customAuthentication".
|
|
2101
|
-
*/
|
|
2102
|
-
export interface CustomAuthenticationV3_49_0 {
|
|
2103
|
-
type: 'custom';
|
|
2104
|
-
[k: string]: any;
|
|
2105
|
-
}
|
|
2106
|
-
/**
|
|
2107
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2108
|
-
* via the `definition` "searchParamsAuthentication".
|
|
2109
|
-
*/
|
|
2110
|
-
export interface SearchParamsAuthenticationV3_49_0 {
|
|
2111
|
-
type: 'searchParams';
|
|
2112
|
-
params: {
|
|
2113
|
-
name: string;
|
|
2114
|
-
value: string;
|
|
2115
|
-
}[];
|
|
2116
|
-
}
|
|
2117
|
-
/**
|
|
2118
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2119
|
-
* via the `definition` "bearerAuthentication".
|
|
2120
|
-
*/
|
|
2121
|
-
export interface BearerAuthenticationV3_49_0 {
|
|
2122
|
-
type: 'bearer';
|
|
2123
|
-
token: string;
|
|
2124
|
-
prefix?: string;
|
|
2125
|
-
header?: string;
|
|
2126
|
-
}
|
|
2127
|
-
/**
|
|
2128
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2129
|
-
* via the `definition` "oauth2BearerAuthentication".
|
|
2130
|
-
*/
|
|
2131
|
-
export interface OAuth2BearerAuthenticationV3_49_0 {
|
|
2132
|
-
type: 'oauth2Bearer';
|
|
2133
|
-
token: string;
|
|
2134
|
-
prefix?: string;
|
|
2135
|
-
header?: string;
|
|
2136
|
-
scope?: string;
|
|
2137
|
-
expiresAt?: string;
|
|
2138
|
-
}
|
|
2139
|
-
/**
|
|
2140
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2141
|
-
* via the `definition` "basicAuthentication".
|
|
2142
|
-
*/
|
|
2143
|
-
export interface BasicAuthenticationV3_49_0 {
|
|
2144
|
-
type: 'basic';
|
|
2145
|
-
username: string;
|
|
2146
|
-
password: string;
|
|
2147
|
-
useIso8859?: boolean;
|
|
2148
|
-
}
|
|
2149
|
-
/**
|
|
2150
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2151
|
-
* via the `definition` "oauth2Authentication".
|
|
2152
|
-
*/
|
|
2153
|
-
export interface OAuth2AuthenticationV3_49_0 {
|
|
2154
|
-
type: 'oauth2';
|
|
2155
|
-
grantType: 'authorizationCode' | 'clientCredentials';
|
|
2156
|
-
authorizationUrl?: string;
|
|
2157
|
-
accessTokenUrl?: string;
|
|
2158
|
-
clientId: string;
|
|
2159
|
-
clientSecret?: string;
|
|
2160
|
-
scope?: string;
|
|
2161
|
-
usePkce?: boolean;
|
|
2162
|
-
redirectUrl?: string;
|
|
2163
|
-
headerPrefix?: string;
|
|
2164
|
-
audience?: string;
|
|
2165
|
-
resource?: string;
|
|
2166
|
-
}
|
|
2167
|
-
/**
|
|
2168
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2169
|
-
* via the `definition` "awsAuthentication".
|
|
2170
|
-
*/
|
|
2171
|
-
export interface AWSAuthenticationV3_49_0 {
|
|
2172
|
-
type: 'aws';
|
|
2173
|
-
awsAccessKeyId: string;
|
|
2174
|
-
awsSecretAccessKey: string;
|
|
2175
|
-
}
|
|
2176
|
-
/**
|
|
2177
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2178
|
-
* via the `definition` "googleAuthentication".
|
|
2179
|
-
*/
|
|
2180
|
-
export interface GoogleAuthenticationV3_49_0 {
|
|
2181
|
-
type: 'google';
|
|
2182
|
-
clientEmail: string;
|
|
2183
|
-
privateKey: string;
|
|
2184
|
-
}
|
|
2185
|
-
/**
|
|
2186
|
-
* This interface was referenced by `ProjectSchemaJSONV3_49_0`'s JSON-Schema
|
|
2187
|
-
* via the `definition` "serviceConfig".
|
|
2188
|
-
*/
|
|
2189
|
-
export interface ServiceConfigV3_49_0 {
|
|
2190
|
-
/**
|
|
2191
|
-
* Machine-readable identifier, should typically be the same as the property name on the services object.
|
|
2192
|
-
*/
|
|
2193
|
-
id: string;
|
|
2194
|
-
/**
|
|
2195
|
-
* Human-readable name for this service.
|
|
2196
|
-
*/
|
|
2197
|
-
title: string;
|
|
2198
|
-
/**
|
|
2199
|
-
* The service provider id.
|
|
2200
|
-
*/
|
|
2201
|
-
provider: string;
|
|
2202
|
-
/**
|
|
2203
|
-
* A namespace to use for the imported types tied to this service.
|
|
2204
|
-
*/
|
|
2205
|
-
namespace?: string;
|
|
2206
|
-
serviceType: ServiceTypeV3_49_0;
|
|
2207
|
-
authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
|
|
2208
|
-
authentication?: ServiceAuthenticationV3_49_0;
|
|
2209
|
-
healthCheck?: ServiceHealthCheckV3_49_0;
|
|
2210
|
-
webhookId?: string;
|
|
2211
|
-
/**
|
|
2212
|
-
* Configuration options passed to and handled by the provider.
|
|
2213
|
-
*/
|
|
2214
|
-
options?: {
|
|
2215
|
-
[k: string]: any;
|
|
2216
|
-
};
|
|
2217
|
-
}
|