@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,2405 +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_56_0`'s JSON-Schema
|
|
8
|
-
* via the `definition` "args".
|
|
9
|
-
*/
|
|
10
|
-
export type ArgsV3_56_0 = string | ObjectSchemaV3_56_0 | ExtendsSchemaV3_56_0;
|
|
11
|
-
/**
|
|
12
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
13
|
-
* via the `definition` "objectSchema".
|
|
14
|
-
*/
|
|
15
|
-
export type ObjectSchemaV3_56_0 = PropertySchemaV3_56_0 & {
|
|
16
|
-
type: 'object';
|
|
17
|
-
properties: {
|
|
18
|
-
[k: string]: PropertySchemaV3_56_0;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
23
|
-
* via the `definition` "nonNegativeInteger".
|
|
24
|
-
*/
|
|
25
|
-
export type NonNegativeIntegerV3_56_0 = number;
|
|
26
|
-
/**
|
|
27
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
28
|
-
* via the `definition` "nonNegativeIntegerDefault0".
|
|
29
|
-
*/
|
|
30
|
-
export type NonNegativeIntegerDefault0V3_56_0 = NonNegativeIntegerV3_56_0;
|
|
31
|
-
/**
|
|
32
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
33
|
-
* via the `definition` "stringArray".
|
|
34
|
-
*/
|
|
35
|
-
export type StringArrayV3_56_0 = string[];
|
|
36
|
-
/**
|
|
37
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
38
|
-
* via the `definition` "simpleTypes".
|
|
39
|
-
*/
|
|
40
|
-
export type SimpleTypesV3_56_0 = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
|
|
41
|
-
/**
|
|
42
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
43
|
-
* via the `definition` "schemaArray".
|
|
44
|
-
*/
|
|
45
|
-
export type SchemaArrayV3_56_0 = PropertySchemaV3_56_0[];
|
|
46
|
-
/**
|
|
47
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
48
|
-
* via the `definition` "ref".
|
|
49
|
-
*/
|
|
50
|
-
export type RefV3_56_0 = string;
|
|
51
|
-
/**
|
|
52
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
53
|
-
* via the `definition` "objectOrRefArray".
|
|
54
|
-
*/
|
|
55
|
-
export type ObjectOrRefArrayV3_56_0 = (RefSchemaV3_56_0 | RefSchemaLegacyV3_56_0 | ObjectSchemaV3_56_0)[];
|
|
56
|
-
/**
|
|
57
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
58
|
-
* via the `definition` "fieldMapping".
|
|
59
|
-
*/
|
|
60
|
-
export type FieldMappingV3_56_0 = MappingStringV3_56_0 | MappingStringV3_56_0[];
|
|
61
|
-
/**
|
|
62
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
63
|
-
* via the `definition` "mappingString".
|
|
64
|
-
*/
|
|
65
|
-
export type MappingStringV3_56_0 = string;
|
|
66
|
-
/**
|
|
67
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
68
|
-
* via the `definition` "resolver".
|
|
69
|
-
*/
|
|
70
|
-
export type ResolverV3_56_0 = BasicResolverV3_56_0 | ComposeResolverV3_56_0;
|
|
71
|
-
/**
|
|
72
|
-
* A single resolver, can be composed with the ComposeResolver.
|
|
73
|
-
*
|
|
74
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
75
|
-
* via the `definition` "basicResolver".
|
|
76
|
-
*/
|
|
77
|
-
export type BasicResolverV3_56_0 = UtilResolverV3_56_0 | DelegateResolverV3_56_0 | TakeshapeResolverV3_56_0 | ShapedbResolverV3_56_0 | ShapedbResolverShapeNameNotRequiredV3_56_0 | GraphqlResolverV3_56_0 | RestResolverV3_56_0 | AwsLambdaResolverV3_56_0 | SalsifyResolverV3_56_0 | SyndigoResolverV3_56_0 | FunctionResolverV3_56_0 | AIGenerateTextResolverV3_56_0 | AIGeneratePropertyResolverV3_56_0 | AIEmbeddingResolverV3_56_0 | AIEmbeddingSearchResolverV3_56_0 | AIParseFileResolverV3_56_0 | ChunkResolverV3_56_0 | AISendAgentMessageResolverV3_56_0 | AIInspectAgentResolverV3_56_0 | AICreateAgentSessionResolverV3_56_0 | AIGetAgentMessageResolverV3_56_0 | AIAbortAgentMessageResolverV3_56_0 | AISendAgentFeedbackResolverV3_56_0;
|
|
78
|
-
/**
|
|
79
|
-
* Name of the resolver function.
|
|
80
|
-
*/
|
|
81
|
-
export type UtilResolverNameV3_56_0 = 'util:noop' | 'util:wrap';
|
|
82
|
-
/**
|
|
83
|
-
* An object describing an operation to generate a parameter.
|
|
84
|
-
*
|
|
85
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
86
|
-
* via the `definition` "parameterOp".
|
|
87
|
-
*/
|
|
88
|
-
export type ParameterOpV3_56_0 = ParameterOpNestedV3_56_0 | ParameterOpValueV3_56_0 | ParameterOpMappingV3_56_0 | ParameterOpOpV3_56_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_56_0`'s JSON-Schema
|
|
93
|
-
* via the `definition` "directiveConfigItem".
|
|
94
|
-
*/
|
|
95
|
-
export type DirectiveConfigItemV3_56_0 = [DirectiveNameV3_56_0, DirectiveOptionsV3_56_0];
|
|
96
|
-
export type DirectiveNameV3_56_0 = string;
|
|
97
|
-
/**
|
|
98
|
-
* An array of individual directive config items to process in order
|
|
99
|
-
*
|
|
100
|
-
* This interface was referenced by `DirectiveMappingMapV3_56_0`'s JSON-Schema definition
|
|
101
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
102
|
-
*
|
|
103
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
104
|
-
* via the `definition` "directiveConfig".
|
|
105
|
-
*/
|
|
106
|
-
export type DirectiveConfigV3_56_0 = DirectiveConfigItemV3_56_0[];
|
|
107
|
-
/**
|
|
108
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
109
|
-
* via the `definition` "parameterOpList".
|
|
110
|
-
*/
|
|
111
|
-
export type ParameterOpListV3_56_0 = ParameterOpV3_56_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_56_0`'s JSON-Schema
|
|
116
|
-
* via the `definition` "argsMapping".
|
|
117
|
-
*/
|
|
118
|
-
export type ArgsMappingV3_56_0 = DirectiveMappingMapV3_56_0 | DirectiveConfigV3_56_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_56_0`'s JSON-Schema
|
|
123
|
-
* via the `definition` "resultsMapping".
|
|
124
|
-
*/
|
|
125
|
-
export type ResultsMappingV3_56_0 = DirectiveMappingMapV3_56_0 | DirectiveConfigV3_56_0;
|
|
126
|
-
/**
|
|
127
|
-
* Name of the resolver function.
|
|
128
|
-
*/
|
|
129
|
-
export type DelegateResolverNameV3_56_0 = 'delegate';
|
|
130
|
-
/**
|
|
131
|
-
* Name of the resolver function.
|
|
132
|
-
*/
|
|
133
|
-
export type TakeshapeResolverNameV3_56_0 = 'takeshape:get' | 'takeshape:getUser' | 'takeshape:search' | 'takeshape:vectorSearch' | 'takeshape:queryApiIndex' | 'takeshape:assetUrl' | 'takeshape:assetImage' | 'takeshape:assetImageMeta';
|
|
134
|
-
/**
|
|
135
|
-
* Name of the resolver function.
|
|
136
|
-
*/
|
|
137
|
-
export type ShapedbResolverNameV3_56_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_56_0 = 'shapedb:list' | 'shapedb:taxonomySuggest' | 'shapedb:getRelated';
|
|
142
|
-
/**
|
|
143
|
-
* Name of the resolver function.
|
|
144
|
-
*/
|
|
145
|
-
export type GraphqlResolverNameV3_56_0 = 'graphql:query' | 'graphql:mutation' | 'shopify:bulkQuery';
|
|
146
|
-
/**
|
|
147
|
-
* Name of the resolver function.
|
|
148
|
-
*/
|
|
149
|
-
export type RestResolverNameV3_56_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_56_0`'s JSON-Schema
|
|
154
|
-
* via the `definition` "directiveMappingArrayItem".
|
|
155
|
-
*/
|
|
156
|
-
export type DirectiveMappingArrayItemV3_56_0 = [string, DirectiveConfigV3_56_0];
|
|
157
|
-
/**
|
|
158
|
-
* An array of key / value or directive config tuples
|
|
159
|
-
*/
|
|
160
|
-
export type SearchParamsMappingV3_56_0 = DirectiveMappingArrayItemV3_56_0[];
|
|
161
|
-
/**
|
|
162
|
-
* Name of the resolver function.
|
|
163
|
-
*/
|
|
164
|
-
export type AwsLambdaResolverNameV3_56_0 = 'awsLambda:invoke';
|
|
165
|
-
/**
|
|
166
|
-
* Name of the resolver function.
|
|
167
|
-
*/
|
|
168
|
-
export type SalsifyResolverNameV3_56_0 = 'salsify:listChannelProducts';
|
|
169
|
-
/**
|
|
170
|
-
* Name of the resolver function.
|
|
171
|
-
*/
|
|
172
|
-
export type SyndigoResolverNameV3_56_0 = 'syndigo:searchProducts';
|
|
173
|
-
/**
|
|
174
|
-
* Name of the resolver function.
|
|
175
|
-
*/
|
|
176
|
-
export type FunctionResolverNameV3_56_0 = 'function:run';
|
|
177
|
-
export type FunctionResolverJavascriptV3_56_0 = string;
|
|
178
|
-
/**
|
|
179
|
-
* Name of the resolver function.
|
|
180
|
-
*/
|
|
181
|
-
export type AIResolverNameV3_56_0 = 'ai:generateText' | 'ai:chat';
|
|
182
|
-
export type HistoryV3_56_0 = boolean;
|
|
183
|
-
/**
|
|
184
|
-
* Maximum number of tokens to generate.
|
|
185
|
-
*/
|
|
186
|
-
export type MaximumTokensV3_56_0 = number;
|
|
187
|
-
/**
|
|
188
|
-
* This is a number between 0 (almost no randomness) and 1 (very random). It is recommended to set either `temperature` or `topP`, but not both. Defaults to 0
|
|
189
|
-
*/
|
|
190
|
-
export type TemperatureV3_56_0 = number;
|
|
191
|
-
/**
|
|
192
|
-
* Nucleus sampling. This is a number between 0 and 1. E.g. 0.1 would mean that only tokens with the top 10% probability mass are considered. It is recommended to set either `temperature` or `topP`, but not both.
|
|
193
|
-
*/
|
|
194
|
-
export type TopPV3_56_0 = number;
|
|
195
|
-
/**
|
|
196
|
-
* Only sample from the top K options for each subsequent token. Used to remove "long tail" low probability responses. Recommended for advanced use cases only. You usually only need to use temperature.
|
|
197
|
-
*/
|
|
198
|
-
export type TopKV3_56_0 = number;
|
|
199
|
-
/**
|
|
200
|
-
* It affects the likelihood of the model to repeat information that is already in the prompt. The presence penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
|
|
201
|
-
*/
|
|
202
|
-
export type PresencePenaltySettingV3_56_0 = number;
|
|
203
|
-
/**
|
|
204
|
-
* It affects the likelihood of the model to repeatedly use the same words or phrases. The frequency penalty is a number between -1 (increase repetition) and 1 (maximum penalty, decrease repetition). 0 means no penalty.
|
|
205
|
-
*/
|
|
206
|
-
export type FrequencyPenaltySettingV3_56_0 = number;
|
|
207
|
-
/**
|
|
208
|
-
* If set, the model will stop generating text when one of the stop sequences is generated.
|
|
209
|
-
*/
|
|
210
|
-
export type StopSequencesV3_56_0 = string[];
|
|
211
|
-
/**
|
|
212
|
-
* The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
|
|
213
|
-
*/
|
|
214
|
-
export type SeedV3_56_0 = number;
|
|
215
|
-
/**
|
|
216
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
217
|
-
* via the `definition` "aiGuardrail".
|
|
218
|
-
*/
|
|
219
|
-
export type AIGuardrailV3_56_0 = AISimilarityGuardrailV3_56_0;
|
|
220
|
-
/**
|
|
221
|
-
* Name of the resolver function.
|
|
222
|
-
*/
|
|
223
|
-
export type AIResolverNameV3_56_01 = 'ai:generateProperty';
|
|
224
|
-
/**
|
|
225
|
-
* Name of the resolver function.
|
|
226
|
-
*/
|
|
227
|
-
export type AIResolverNameV3_56_02 = 'ai:createEmbedding';
|
|
228
|
-
/**
|
|
229
|
-
* Name of the resolver function.
|
|
230
|
-
*/
|
|
231
|
-
export type AIResolverNameV3_56_03 = 'ai:embeddingSearch';
|
|
232
|
-
/**
|
|
233
|
-
* Name of the resolver function.
|
|
234
|
-
*/
|
|
235
|
-
export type AIResolverNameV3_56_04 = 'ai:parseFile';
|
|
236
|
-
/**
|
|
237
|
-
* Name of the resolver function.
|
|
238
|
-
*/
|
|
239
|
-
export type UtilResolverNameV3_56_01 = 'util:chunk';
|
|
240
|
-
/**
|
|
241
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
242
|
-
* via the `definition` "utilChunkResolverOptions".
|
|
243
|
-
*/
|
|
244
|
-
export type UtilChunkResolverOptionsV3_56_0 = UtilChunkResolverOptionsCharacterCountV3_56_0 | UtilChunkResolverOptionsSeparatorsV3_56_0 | UtilChunkResolverOptionsMarkdownV3_56_0 | UtilChunkResolverOptionsSemanticV3_56_0;
|
|
245
|
-
/**
|
|
246
|
-
* Name of the resolver function.
|
|
247
|
-
*/
|
|
248
|
-
export type AIResolverNameV3_56_05 = 'ai:sendAgentMessage';
|
|
249
|
-
/**
|
|
250
|
-
* Name of the resolver function.
|
|
251
|
-
*/
|
|
252
|
-
export type AIResolverNameV3_56_06 = 'ai:inspectAgent';
|
|
253
|
-
/**
|
|
254
|
-
* Name of the resolver function.
|
|
255
|
-
*/
|
|
256
|
-
export type AIResolverNameV3_56_07 = 'ai:createAgentSession';
|
|
257
|
-
/**
|
|
258
|
-
* Name of the resolver function.
|
|
259
|
-
*/
|
|
260
|
-
export type AIResolverNameV3_56_08 = 'ai:getAgentMessage';
|
|
261
|
-
/**
|
|
262
|
-
* Name of the resolver function.
|
|
263
|
-
*/
|
|
264
|
-
export type AIResolverNameV3_56_09 = 'ai:abortAgentMessage';
|
|
265
|
-
/**
|
|
266
|
-
* Name of the resolver function.
|
|
267
|
-
*/
|
|
268
|
-
export type AIResolverNameV3_56_010 = 'ai:sendAgentFeedback';
|
|
269
|
-
/**
|
|
270
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
271
|
-
* via the `definition` "dependencies".
|
|
272
|
-
*/
|
|
273
|
-
export type DependenciesV3_56_0 = string;
|
|
274
|
-
/**
|
|
275
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
276
|
-
* via the `definition` "extendsSchema".
|
|
277
|
-
*/
|
|
278
|
-
export type ExtendsSchemaV3_56_0 = PropertySchemaV3_56_0 & {
|
|
279
|
-
extends: ObjectOrRefArrayV3_56_0;
|
|
280
|
-
};
|
|
281
|
-
/**
|
|
282
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
283
|
-
* via the `definition` "returnShape".
|
|
284
|
-
*/
|
|
285
|
-
export type ReturnShapeV3_56_0 = string | ReturnShapeArraySchemaV3_56_0;
|
|
286
|
-
/**
|
|
287
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
288
|
-
* via the `definition` "returnShapeArraySchema".
|
|
289
|
-
*/
|
|
290
|
-
export type ReturnShapeArraySchemaV3_56_0 = PropertySchemaV3_56_0 & {
|
|
291
|
-
type: 'array';
|
|
292
|
-
items: RefSchemaV3_56_0 | {
|
|
293
|
-
type: 'boolean' | 'integer' | 'number' | 'string' | 'object';
|
|
294
|
-
[k: string]: any;
|
|
295
|
-
};
|
|
296
|
-
};
|
|
297
|
-
export type ModelTypeV3_56_0 = 'single' | 'multiple' | 'taxonomy';
|
|
298
|
-
/**
|
|
299
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
300
|
-
* via the `definition` "paginationConfig".
|
|
301
|
-
*/
|
|
302
|
-
export type PaginationConfigV3_56_0 = PaginationCursorConfigV3_56_0 | PaginationPageConfigV3_56_0 | PaginationOffsetConfigV3_56_0;
|
|
303
|
-
/**
|
|
304
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
305
|
-
* via the `definition` "cacheTriggerConfig".
|
|
306
|
-
*/
|
|
307
|
-
export type CacheTriggerConfigV3_56_0 = CacheScheduleTriggerConfigV3_56_0 | CacheWebhookTriggerConfigV3_56_0;
|
|
308
|
-
/**
|
|
309
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
310
|
-
* via the `definition` "shapeSchema".
|
|
311
|
-
*/
|
|
312
|
-
export type ShapeSchemaV3_56_0 = ShapeSchemaAllOfV3_56_0 | ShapeSchemaExtendsV3_56_0 | ShapeSchemaOneOfV3_56_0 | ShapeSchemaEnumV3_56_0 | ObjectSchemaV3_56_0 | ShapeSchemaAnyV3_56_0;
|
|
313
|
-
export type AgentAPIInputV3_56_0 = AgentAPIMutationInputV3_56_0;
|
|
314
|
-
export type InteractionTimeoutMillisecondsV3_56_0 = number;
|
|
315
|
-
export type AgentStateSessionMemoryV3_56_0 = AgentStateSessionMemoryAssignmentV3_56_0[];
|
|
316
|
-
export type VariablesV3_56_0 = AgentVariableV3_56_0[];
|
|
317
|
-
export type AgentExecutionV3_56_0 = AgentExecutionGraphQLV3_56_0 | AgentExecutionGenerateV3_56_0 | AgentExecutionChatV3_56_0;
|
|
318
|
-
export type AgentAIStateInputV3_56_0 = AgentAIStateInputArgumentV3_56_0 | AgentAIStateInputTemplateV3_56_0;
|
|
319
|
-
export type AgentToolConfigArgV3_56_0 = AgentControlledV3_56_0 | VariableValueV3_56_0;
|
|
320
|
-
/**
|
|
321
|
-
* The argument name that will be exposed by the tool for the LLM to use.
|
|
322
|
-
*/
|
|
323
|
-
export type ToolArgumentNameV3_56_0 = string;
|
|
324
|
-
/**
|
|
325
|
-
* Name of argument to pass value to. This prevents the LLM from setting the argument.
|
|
326
|
-
*/
|
|
327
|
-
export type ToolArgumentNameV3_56_01 = string;
|
|
328
|
-
/**
|
|
329
|
-
* Name of variable to pull value from.
|
|
330
|
-
*/
|
|
331
|
-
export type StateVariableNameV3_56_0 = string;
|
|
332
|
-
export type HistoryV3_56_01 = boolean;
|
|
333
|
-
/**
|
|
334
|
-
* Maximum number of tokens to generate. Defaults to 1024
|
|
335
|
-
*/
|
|
336
|
-
export type MaximumTokensV3_56_01 = number;
|
|
337
|
-
/**
|
|
338
|
-
* 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
|
|
339
|
-
*/
|
|
340
|
-
export type TemperatureV3_56_01 = number;
|
|
341
|
-
/**
|
|
342
|
-
* 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.
|
|
343
|
-
*/
|
|
344
|
-
export type TopPV3_56_01 = number;
|
|
345
|
-
/**
|
|
346
|
-
* 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.
|
|
347
|
-
*/
|
|
348
|
-
export type TopKV3_56_01 = number;
|
|
349
|
-
/**
|
|
350
|
-
* 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.
|
|
351
|
-
*/
|
|
352
|
-
export type PresencePenaltySettingV3_56_01 = number;
|
|
353
|
-
/**
|
|
354
|
-
* 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.
|
|
355
|
-
*/
|
|
356
|
-
export type FrequencyPenaltySettingV3_56_01 = number;
|
|
357
|
-
/**
|
|
358
|
-
* If set, the model will stop generating text when one of the stop sequences is generated.
|
|
359
|
-
*/
|
|
360
|
-
export type StopSequencesV3_56_01 = string[];
|
|
361
|
-
/**
|
|
362
|
-
* The seed (integer) to use for random sampling. If set and supported by the model, calls will generate deterministic results.
|
|
363
|
-
*/
|
|
364
|
-
export type SeedV3_56_01 = number;
|
|
365
|
-
/**
|
|
366
|
-
* Maximal number of automatic roundtrips for tool calls.
|
|
367
|
-
*/
|
|
368
|
-
export type MaxToolRoundtripsV3_56_0 = number;
|
|
369
|
-
/**
|
|
370
|
-
* If true, structured outputs will be enabled on the model for non-text requests.
|
|
371
|
-
*/
|
|
372
|
-
export type StructuredOutputsV3_56_0 = boolean;
|
|
373
|
-
/**
|
|
374
|
-
* Enable OpenAI schema format. Must be enabled if `structuredOutputs` is enabled.
|
|
375
|
-
*/
|
|
376
|
-
export type EnableOpenAISchemaFormatV3_56_0 = boolean;
|
|
377
|
-
export type MinimatchPatternV3_56_0 = string;
|
|
378
|
-
/**
|
|
379
|
-
* Remove properties from the schema sent to the model with keys matching these minimatch glob patterns.
|
|
380
|
-
*/
|
|
381
|
-
export type RemovePropertyKeyPatternsV3_56_0 = MinimatchPatternV3_56_0[];
|
|
382
|
-
/**
|
|
383
|
-
* Remove Markdown formatting from the LLM response
|
|
384
|
-
*/
|
|
385
|
-
export type StripMarkdownV3_56_0 = boolean;
|
|
386
|
-
/**
|
|
387
|
-
* These steps are evaluated in order until a destination is found.
|
|
388
|
-
*/
|
|
389
|
-
export type AgentTransitionV3_56_0 = AgentTransitionImmediateV3_56_0 | AgentTransitionSuspendV3_56_0;
|
|
390
|
-
export type AgentStateSessionMemoryV3_56_01 = AgentStateSessionMemoryAssignmentV3_56_0[];
|
|
391
|
-
export type GuardIDV3_56_0 = string;
|
|
392
|
-
export type VariablesV3_56_01 = AgentVariableV3_56_0[];
|
|
393
|
-
export type HistoryStrategyTransformV3_56_0 = HistoryStrategyTransformNoneV3_56_0 | HistoryStrategyTransformReplaceV3_56_0 | HistoryStrategyTransformSummarizeV3_56_0;
|
|
394
|
-
/**
|
|
395
|
-
* The human-readable name of the Guard.
|
|
396
|
-
*/
|
|
397
|
-
export type NameV3_56_0 = string;
|
|
398
|
-
/**
|
|
399
|
-
* A description of the Guard.
|
|
400
|
-
*/
|
|
401
|
-
export type DescriptionV3_56_0 = string;
|
|
402
|
-
/**
|
|
403
|
-
* Guards will not run unless enabled.
|
|
404
|
-
*/
|
|
405
|
-
export type EnabledV3_56_0 = boolean;
|
|
406
|
-
/**
|
|
407
|
-
* The remote id of the Guardrail.
|
|
408
|
-
*/
|
|
409
|
-
export type GuardrailIdentifierV3_56_0 = string;
|
|
410
|
-
/**
|
|
411
|
-
* The remote version of the Guardrail.
|
|
412
|
-
*/
|
|
413
|
-
export type GuardrailVersionV3_56_0 = string;
|
|
414
|
-
/**
|
|
415
|
-
* A message to return when the input message is blocked by the Guard.
|
|
416
|
-
*/
|
|
417
|
-
export type BlockedInputMessagingV3_56_0 = string;
|
|
418
|
-
/**
|
|
419
|
-
* A message to return when the output message is blocked by the Guard.
|
|
420
|
-
*/
|
|
421
|
-
export type BlockedOutputsMessagingV3_56_0 = string;
|
|
422
|
-
export type ExampleV3_56_0 = string;
|
|
423
|
-
/**
|
|
424
|
-
* A topic to block.
|
|
425
|
-
*/
|
|
426
|
-
export type TopicV3_56_0 = {
|
|
427
|
-
name: string;
|
|
428
|
-
definition: string;
|
|
429
|
-
/**
|
|
430
|
-
* Examples of the topic that can hint the LLM.
|
|
431
|
-
*/
|
|
432
|
-
examples?: ExampleV3_56_0[];
|
|
433
|
-
type: 'DENY';
|
|
434
|
-
}[];
|
|
435
|
-
export type InputStrengthV3_56_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
|
|
436
|
-
export type OutputStrengthV3_56_0 = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
|
|
437
|
-
export type GuardrailModalityV3_56_0 = 'TEXT' | 'IMAGE';
|
|
438
|
-
/**
|
|
439
|
-
* Whether to filter images or text
|
|
440
|
-
*/
|
|
441
|
-
export type InputModalitiesV3_56_0 = GuardrailModalityV3_56_0[];
|
|
442
|
-
/**
|
|
443
|
-
* Whether to filter images or text
|
|
444
|
-
*/
|
|
445
|
-
export type OutputModalitiesV3_56_0 = GuardrailModalityV3_56_0[];
|
|
446
|
-
/**
|
|
447
|
-
* Types of content to filter.
|
|
448
|
-
*/
|
|
449
|
-
export type FilterV3_56_0 = {
|
|
450
|
-
type: 'HATE' | 'INSULTS' | 'MICONDUCT' | 'PROMPT_ATTACK' | 'SEXUAL' | 'VIOLENCE';
|
|
451
|
-
inputStrength: InputStrengthV3_56_0;
|
|
452
|
-
outputStrength: OutputStrengthV3_56_0;
|
|
453
|
-
inputModalities?: InputModalitiesV3_56_0;
|
|
454
|
-
outputModalities?: OutputModalitiesV3_56_0;
|
|
455
|
-
}[];
|
|
456
|
-
/**
|
|
457
|
-
* Specific words to block.
|
|
458
|
-
*/
|
|
459
|
-
export type WordListV3_56_0 = {
|
|
460
|
-
text: string;
|
|
461
|
-
}[];
|
|
462
|
-
/**
|
|
463
|
-
* This is solely used for blocking profanity.
|
|
464
|
-
*/
|
|
465
|
-
export type ManagedWordListV3_56_0 = {
|
|
466
|
-
type: 'PROFANITY';
|
|
467
|
-
}[];
|
|
468
|
-
export type GuardrailSensitiveInformationActionV3_56_0 = 'ANONYMIZE' | 'BLOCK';
|
|
469
|
-
/**
|
|
470
|
-
* PII entity to infer from the text.
|
|
471
|
-
*/
|
|
472
|
-
export type PIIEntityV3_56_0 = {
|
|
473
|
-
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';
|
|
474
|
-
action: GuardrailSensitiveInformationActionV3_56_0;
|
|
475
|
-
}[];
|
|
476
|
-
/**
|
|
477
|
-
* A regular expression to match sensitive information.
|
|
478
|
-
*/
|
|
479
|
-
export type RegularExpressionV3_56_0 = {
|
|
480
|
-
name: string;
|
|
481
|
-
description?: string;
|
|
482
|
-
pattern: string;
|
|
483
|
-
action: GuardrailSensitiveInformationActionV3_56_0;
|
|
484
|
-
}[];
|
|
485
|
-
/**
|
|
486
|
-
* The type of filter.
|
|
487
|
-
*/
|
|
488
|
-
export type TypeV3_56_0 = 'GROUNDING' | 'RELEVANCE';
|
|
489
|
-
/**
|
|
490
|
-
* The threshold for the filter as a floating point value greater than 0.0 and less than 1.0.
|
|
491
|
-
*/
|
|
492
|
-
export type ThresholdV3_56_0 = number;
|
|
493
|
-
/**
|
|
494
|
-
* Filter to evaluate grounding text.
|
|
495
|
-
*/
|
|
496
|
-
export type FilterV3_56_01 = {
|
|
497
|
-
type: TypeV3_56_0;
|
|
498
|
-
threshold: ThresholdV3_56_0;
|
|
499
|
-
}[];
|
|
500
|
-
export type ToolArgV3_56_0 = AgentControlledV3_56_0;
|
|
501
|
-
/**
|
|
502
|
-
* Human-readable id for use in the UI
|
|
503
|
-
*/
|
|
504
|
-
export type WorkflowNameV3_56_0 = string;
|
|
505
|
-
/**
|
|
506
|
-
* machine-readable slug
|
|
507
|
-
*/
|
|
508
|
-
export type NameV3_56_01 = string;
|
|
509
|
-
/**
|
|
510
|
-
* Human-readable id for use in the UI
|
|
511
|
-
*/
|
|
512
|
-
export type TitleV3_56_0 = string;
|
|
513
|
-
export type DescriptionV3_56_01 = string;
|
|
514
|
-
/**
|
|
515
|
-
* Hex color code
|
|
516
|
-
*/
|
|
517
|
-
export type ColorV3_56_0 = string;
|
|
518
|
-
/**
|
|
519
|
-
* Value to indicate whether items in the state should be returned in list queries
|
|
520
|
-
*/
|
|
521
|
-
export type LiveV3_56_0 = boolean;
|
|
522
|
-
/**
|
|
523
|
-
* machine-readable id
|
|
524
|
-
*/
|
|
525
|
-
export type KeyV3_56_0 = string;
|
|
526
|
-
export type StepsV3_56_0 = WorkflowStepV3_56_0[];
|
|
527
|
-
/**
|
|
528
|
-
* The general type of this service, specifying how and where it will be utilized.
|
|
529
|
-
*
|
|
530
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
531
|
-
* via the `definition` "serviceType".
|
|
532
|
-
*/
|
|
533
|
-
export type ServiceTypeV3_56_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
|
|
534
|
-
/**
|
|
535
|
-
* The name of a health check to run
|
|
536
|
-
*/
|
|
537
|
-
export type CheckNameV3_56_0 = 'graphqlIntrospection' | 'ping' | 'none';
|
|
538
|
-
/**
|
|
539
|
-
* The endpoint to use when checking the service health.
|
|
540
|
-
*/
|
|
541
|
-
export type EndpointV3_56_0 = string;
|
|
542
|
-
/**
|
|
543
|
-
* A custom method to use for the health check request.
|
|
544
|
-
*/
|
|
545
|
-
export type RequestMethodV3_56_0 = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
546
|
-
/**
|
|
547
|
-
* A custom body to send along with the ping request.
|
|
548
|
-
*/
|
|
549
|
-
export type RequestBodyV3_56_0 = string;
|
|
550
|
-
/**
|
|
551
|
-
* A custom body to send along with the ping request.
|
|
552
|
-
*/
|
|
553
|
-
export type RequestBodyFormatV3_56_0 = 'string' | 'form' | 'json' | 'form-data';
|
|
554
|
-
/**
|
|
555
|
-
* The amount of time to wait when receiving a response from the health check, in seconds.
|
|
556
|
-
*/
|
|
557
|
-
export type RequestTimeoutV3_56_0 = number;
|
|
558
|
-
/**
|
|
559
|
-
* The response status code that qualifies as healthy.
|
|
560
|
-
*/
|
|
561
|
-
export type HealthyResponseStatusCodeV3_56_0 = number;
|
|
562
|
-
/**
|
|
563
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
564
|
-
* via the `definition` "serviceHealthCheckTrigger".
|
|
565
|
-
*/
|
|
566
|
-
export type ServiceHealthCheckTriggerV3_56_0 = 'manual' | 'schedule';
|
|
567
|
-
/**
|
|
568
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
569
|
-
* via the `definition` "allOfSchema".
|
|
570
|
-
*/
|
|
571
|
-
export type AllOfSchemaV3_56_0 = PropertySchemaV3_56_0 & {
|
|
572
|
-
allOf: ObjectOrRefArrayV3_56_0;
|
|
573
|
-
};
|
|
574
|
-
/**
|
|
575
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
576
|
-
* via the `definition` "oneOfSchema".
|
|
577
|
-
*/
|
|
578
|
-
export type OneOfSchemaV3_56_0 = PropertySchemaV3_56_0 & {
|
|
579
|
-
oneOf: ObjectOrRefArrayV3_56_0;
|
|
580
|
-
};
|
|
581
|
-
/**
|
|
582
|
-
* Options to be passed to the serialization routine.
|
|
583
|
-
*
|
|
584
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
585
|
-
* via the `definition` "parameterSerializeOptions".
|
|
586
|
-
*
|
|
587
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
588
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
589
|
-
*/
|
|
590
|
-
export type ParameterSerializeOptionsV3_56_0 = ParameterSerializeStyleOptionsV3_56_0 | ParameterSerializeContentOptionsV3_56_0;
|
|
591
|
-
/**
|
|
592
|
-
* An array of key / value or directive config tuples
|
|
593
|
-
*
|
|
594
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
595
|
-
* via the `definition` "directiveMappingArray".
|
|
596
|
-
*/
|
|
597
|
-
export type DirectiveMappingArrayV3_56_0 = DirectiveMappingArrayItemV3_56_0[];
|
|
598
|
-
/**
|
|
599
|
-
* A resolver which references a specific service
|
|
600
|
-
*
|
|
601
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
602
|
-
* via the `definition` "serviceResolver".
|
|
603
|
-
*/
|
|
604
|
-
export type ServiceResolverV3_56_0 = TakeshapeResolverV3_56_0 | ShapedbResolverShapeNameNotRequiredV3_56_0 | ShapedbResolverV3_56_0 | GraphqlResolverV3_56_0 | RestResolverV3_56_0 | AwsLambdaResolverV3_56_0;
|
|
605
|
-
/**
|
|
606
|
-
* An array of key / value or directive config tuples
|
|
607
|
-
*
|
|
608
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
609
|
-
* via the `definition` "searchParamsMapping".
|
|
610
|
-
*/
|
|
611
|
-
export type SearchParamsMappingV3_56_01 = DirectiveMappingArrayItemV3_56_0[];
|
|
612
|
-
/**
|
|
613
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
614
|
-
* via the `definition` "shapeWithObjectSchema".
|
|
615
|
-
*/
|
|
616
|
-
export type ShapeWithObjectSchemaV3_56_0 = ShapeJSONV3_56_0 & {
|
|
617
|
-
schema: ObjectSchemaV3_56_0;
|
|
618
|
-
};
|
|
619
|
-
/**
|
|
620
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
621
|
-
* via the `definition` "serviceAuthentication".
|
|
622
|
-
*/
|
|
623
|
-
export type ServiceAuthenticationV3_56_0 = OAuth2AuthenticationV3_56_0 | OAuth2BearerAuthenticationV3_56_0 | BearerAuthenticationV3_56_0 | BasicAuthenticationV3_56_0 | SearchParamsAuthenticationV3_56_0 | AWSAuthenticationV3_56_0 | GoogleAuthenticationV3_56_0 | CustomAuthenticationV3_56_0;
|
|
624
|
-
/**
|
|
625
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
626
|
-
* via the `definition` "anyServiceConfig".
|
|
627
|
-
*/
|
|
628
|
-
export type AnyServiceConfigV3_56_0 = ServiceConfigJSONV3_56_0 | ServiceConfigV3_56_0;
|
|
629
|
-
export interface ProjectSchemaJSONV3_56_0 {
|
|
630
|
-
$schema?: string;
|
|
631
|
-
/**
|
|
632
|
-
* The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
|
|
633
|
-
*/
|
|
634
|
-
apiVersion: string;
|
|
635
|
-
/**
|
|
636
|
-
* The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
|
|
637
|
-
*/
|
|
638
|
-
schemaVersion: '3.56.0';
|
|
639
|
-
/**
|
|
640
|
-
* The ID of the TakeShape project this schema belongs to.
|
|
641
|
-
*/
|
|
642
|
-
projectId: string;
|
|
643
|
-
/**
|
|
644
|
-
* The ID of the TakeShape user who created the schema.
|
|
645
|
-
*/
|
|
646
|
-
author?: string;
|
|
647
|
-
deactivated?: number;
|
|
648
|
-
/**
|
|
649
|
-
* The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
|
|
650
|
-
*/
|
|
651
|
-
defaultLocale: string;
|
|
652
|
-
locales: string[];
|
|
653
|
-
queries: QueryMapV3_56_0;
|
|
654
|
-
mutations: QueryMapV3_56_0;
|
|
655
|
-
shapes: ShapeMapV3_56_0;
|
|
656
|
-
'ai-experimental'?: AIExperimentalV3_56_0;
|
|
657
|
-
forms?: FormMapV3_56_0;
|
|
658
|
-
workflows: WorkflowMapV3_56_0;
|
|
659
|
-
services?: ServiceMapJSONV3_56_0;
|
|
660
|
-
}
|
|
661
|
-
/**
|
|
662
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
663
|
-
* via the `definition` "queryMap".
|
|
664
|
-
*/
|
|
665
|
-
export interface QueryMapV3_56_0 {
|
|
666
|
-
[k: string]: QueryJSONV3_56_0;
|
|
667
|
-
}
|
|
668
|
-
/**
|
|
669
|
-
* This interface was referenced by `QueryMapV3_56_0`'s JSON-Schema definition
|
|
670
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
671
|
-
*
|
|
672
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
673
|
-
* via the `definition` "query".
|
|
674
|
-
*/
|
|
675
|
-
export interface QueryJSONV3_56_0 {
|
|
676
|
-
args?: ArgsV3_56_0;
|
|
677
|
-
resolver: ResolverV3_56_0;
|
|
678
|
-
shape: ReturnShapeV3_56_0;
|
|
679
|
-
/**
|
|
680
|
-
* Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
|
|
681
|
-
*/
|
|
682
|
-
description?: string;
|
|
683
|
-
}
|
|
684
|
-
/**
|
|
685
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
686
|
-
* via the `definition` "propertySchema".
|
|
687
|
-
*/
|
|
688
|
-
export interface PropertySchemaV3_56_0 {
|
|
689
|
-
$ref?: string;
|
|
690
|
-
title?: string;
|
|
691
|
-
description?: string;
|
|
692
|
-
default?: any;
|
|
693
|
-
readOnly?: boolean;
|
|
694
|
-
multipleOf?: number;
|
|
695
|
-
maximum?: number;
|
|
696
|
-
exclusiveMaximum?: number;
|
|
697
|
-
minimum?: number;
|
|
698
|
-
exclusiveMinimum?: number;
|
|
699
|
-
maxLength?: NonNegativeIntegerV3_56_0;
|
|
700
|
-
minLength?: NonNegativeIntegerDefault0V3_56_0;
|
|
701
|
-
pattern?: string;
|
|
702
|
-
additionalItems?: PropertySchemaV3_56_0;
|
|
703
|
-
items?: PropertySchemaV3_56_0;
|
|
704
|
-
maxItems?: NonNegativeIntegerV3_56_0;
|
|
705
|
-
minItems?: NonNegativeIntegerDefault0V3_56_0;
|
|
706
|
-
uniqueItems?: boolean;
|
|
707
|
-
contains?: PropertySchemaV3_56_0;
|
|
708
|
-
maxProperties?: NonNegativeIntegerV3_56_0;
|
|
709
|
-
minProperties?: NonNegativeIntegerDefault0V3_56_0;
|
|
710
|
-
required?: StringArrayV3_56_0;
|
|
711
|
-
additionalProperties?: PropertySchemaV3_56_0 | false;
|
|
712
|
-
definitions?: {
|
|
713
|
-
[k: string]: PropertySchemaV3_56_0;
|
|
714
|
-
};
|
|
715
|
-
properties?: {
|
|
716
|
-
[k: string]: PropertySchemaV3_56_0;
|
|
717
|
-
};
|
|
718
|
-
const?: any;
|
|
719
|
-
enum?: any[];
|
|
720
|
-
type?: SimpleTypesV3_56_0 | SimpleTypesV3_56_0[];
|
|
721
|
-
format?: string;
|
|
722
|
-
contentMediaType?: string;
|
|
723
|
-
contentEncoding?: string;
|
|
724
|
-
allOf?: SchemaArrayV3_56_0;
|
|
725
|
-
discriminator?: {
|
|
726
|
-
propertyName?: string;
|
|
727
|
-
[k: string]: any;
|
|
728
|
-
};
|
|
729
|
-
oneOf?: SchemaArrayV3_56_0;
|
|
730
|
-
extends?: ObjectOrRefArrayV3_56_0;
|
|
731
|
-
'@backreference'?: BackReferenceV3_56_0;
|
|
732
|
-
'@input'?: PropertySchemaV3_56_0;
|
|
733
|
-
'@output'?: PropertySchemaV3_56_0;
|
|
734
|
-
'@syncLocaleStructure'?: boolean;
|
|
735
|
-
'@sensitive'?: boolean;
|
|
736
|
-
'@draftjs'?: boolean;
|
|
737
|
-
'@l10n'?: boolean;
|
|
738
|
-
'@key'?: string;
|
|
739
|
-
'@workflow'?: string;
|
|
740
|
-
'@mapping'?: FieldMappingV3_56_0;
|
|
741
|
-
'@tag'?: string;
|
|
742
|
-
'@tags'?: string[];
|
|
743
|
-
'@deprecationReason'?: string;
|
|
744
|
-
'@args'?: ArgsV3_56_0;
|
|
745
|
-
'@resolver'?: ResolverV3_56_0;
|
|
746
|
-
'@dependencies'?: DependenciesV3_56_0;
|
|
747
|
-
'@ref'?: RefV3_56_0;
|
|
748
|
-
'@derivedFrom'?: string;
|
|
749
|
-
'@indexed'?: IndexedV3_56_0;
|
|
750
|
-
'@graphql'?: GraphQLConfigV3_56_0;
|
|
751
|
-
}
|
|
752
|
-
/**
|
|
753
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
754
|
-
* via the `definition` "refSchema".
|
|
755
|
-
*/
|
|
756
|
-
export interface RefSchemaV3_56_0 {
|
|
757
|
-
'@ref': RefV3_56_0;
|
|
758
|
-
[k: string]: any;
|
|
759
|
-
}
|
|
760
|
-
/**
|
|
761
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
762
|
-
* via the `definition` "refSchemaLegacy".
|
|
763
|
-
*/
|
|
764
|
-
export interface RefSchemaLegacyV3_56_0 {
|
|
765
|
-
$ref: RefV3_56_0;
|
|
766
|
-
[k: string]: any;
|
|
767
|
-
}
|
|
768
|
-
/**
|
|
769
|
-
* A configuration object for a reverse reference in a relationship.
|
|
770
|
-
*
|
|
771
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
772
|
-
* via the `definition` "backreference".
|
|
773
|
-
*/
|
|
774
|
-
export interface BackReferenceV3_56_0 {
|
|
775
|
-
enabled: boolean;
|
|
776
|
-
name?: string;
|
|
777
|
-
}
|
|
778
|
-
/**
|
|
779
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
780
|
-
* via the `definition` "utilResolver".
|
|
781
|
-
*/
|
|
782
|
-
export interface UtilResolverV3_56_0 {
|
|
783
|
-
if?: string;
|
|
784
|
-
id?: string;
|
|
785
|
-
name: UtilResolverNameV3_56_0;
|
|
786
|
-
options?: UtilResolverOptionsV3_56_0;
|
|
787
|
-
/**
|
|
788
|
-
* Optional value to return from the noop resolver.
|
|
789
|
-
*/
|
|
790
|
-
value?: number | string | boolean | {
|
|
791
|
-
[k: string]: any;
|
|
792
|
-
} | any[] | null;
|
|
793
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
794
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
795
|
-
argsMapping?: ArgsMappingV3_56_0;
|
|
796
|
-
resultsMapping?: ResultsMappingV3_56_0;
|
|
797
|
-
}
|
|
798
|
-
export interface UtilResolverOptionsV3_56_0 {
|
|
799
|
-
[k: string]: any;
|
|
800
|
-
}
|
|
801
|
-
/**
|
|
802
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
803
|
-
* via the `definition` "parameterConfigForJson".
|
|
804
|
-
*/
|
|
805
|
-
export interface ParameterConfigForJsonV3_56_0 {
|
|
806
|
-
ops: ParameterOpListV3_56_0;
|
|
807
|
-
}
|
|
808
|
-
/**
|
|
809
|
-
* An object describing an operation to generate a parameter, using a nested OpList.
|
|
810
|
-
*
|
|
811
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
812
|
-
* via the `definition` "parameterOpNested".
|
|
813
|
-
*/
|
|
814
|
-
export interface ParameterOpNestedV3_56_0 {
|
|
815
|
-
/**
|
|
816
|
-
* A path to the parameter for this operation.
|
|
817
|
-
*/
|
|
818
|
-
path: string;
|
|
819
|
-
/**
|
|
820
|
-
* A mode for this parameter's operation.
|
|
821
|
-
*/
|
|
822
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
823
|
-
ops: ParameterOpListV3_56_0;
|
|
824
|
-
}
|
|
825
|
-
/**
|
|
826
|
-
* An object describing an operation to generate a parameter using a value.
|
|
827
|
-
*
|
|
828
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
829
|
-
* via the `definition` "parameterOpValue".
|
|
830
|
-
*/
|
|
831
|
-
export interface ParameterOpValueV3_56_0 {
|
|
832
|
-
/**
|
|
833
|
-
* A path to the parameter for this operation.
|
|
834
|
-
*/
|
|
835
|
-
path: string;
|
|
836
|
-
/**
|
|
837
|
-
* A mode for this parameter's operation.
|
|
838
|
-
*/
|
|
839
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
840
|
-
/**
|
|
841
|
-
* A value to set directly at this path.
|
|
842
|
-
*/
|
|
843
|
-
value: number | string | boolean | {
|
|
844
|
-
[k: string]: any;
|
|
845
|
-
} | any[] | null;
|
|
846
|
-
}
|
|
847
|
-
/**
|
|
848
|
-
* An object describing an operation to generate a parameter using a mapping.
|
|
849
|
-
*
|
|
850
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
851
|
-
* via the `definition` "parameterOpMapping".
|
|
852
|
-
*/
|
|
853
|
-
export interface ParameterOpMappingV3_56_0 {
|
|
854
|
-
/**
|
|
855
|
-
* A path to the parameter for this operation.
|
|
856
|
-
*/
|
|
857
|
-
path: string;
|
|
858
|
-
/**
|
|
859
|
-
* A mode for this parameter's operation.
|
|
860
|
-
*/
|
|
861
|
-
op?: 'set' | 'concat' | 'extend' | 'remove';
|
|
862
|
-
/**
|
|
863
|
-
* Either a valid JSONPath or a directive pipeline to evaluate against the query context.
|
|
864
|
-
*/
|
|
865
|
-
mapping: string | DirectiveConfigV3_56_0;
|
|
866
|
-
}
|
|
867
|
-
export interface DirectiveOptionsV3_56_0 {
|
|
868
|
-
[k: string]: any;
|
|
869
|
-
}
|
|
870
|
-
/**
|
|
871
|
-
* An object describing an operation to generate a parameter using a mapping.
|
|
872
|
-
*
|
|
873
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
874
|
-
* via the `definition` "parameterOpOp".
|
|
875
|
-
*/
|
|
876
|
-
export interface ParameterOpOpV3_56_0 {
|
|
877
|
-
/**
|
|
878
|
-
* A path to the parameter for this operation.
|
|
879
|
-
*/
|
|
880
|
-
path: string;
|
|
881
|
-
/**
|
|
882
|
-
* A mode for this parameter's operation.
|
|
883
|
-
*/
|
|
884
|
-
op: 'set' | 'concat' | 'extend' | 'remove';
|
|
885
|
-
}
|
|
886
|
-
/**
|
|
887
|
-
* An map of object keys / key paths to directive configs
|
|
888
|
-
*
|
|
889
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
890
|
-
* via the `definition` "directiveMappingMap".
|
|
891
|
-
*/
|
|
892
|
-
export interface DirectiveMappingMapV3_56_0 {
|
|
893
|
-
[k: string]: DirectiveConfigV3_56_0;
|
|
894
|
-
}
|
|
895
|
-
/**
|
|
896
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
897
|
-
* via the `definition` "delegateResolver".
|
|
898
|
-
*/
|
|
899
|
-
export interface DelegateResolverV3_56_0 {
|
|
900
|
-
if?: string;
|
|
901
|
-
id?: string;
|
|
902
|
-
name: DelegateResolverNameV3_56_0;
|
|
903
|
-
options?: DelegateResolverOptionsV3_56_0;
|
|
904
|
-
argsMapping?: ArgsMappingV3_56_0;
|
|
905
|
-
resultsMapping?: ResultsMappingV3_56_0;
|
|
906
|
-
/**
|
|
907
|
-
* A ref to a query/mutation/property to delegate to.
|
|
908
|
-
*/
|
|
909
|
-
to: string;
|
|
910
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
911
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
912
|
-
}
|
|
913
|
-
export interface DelegateResolverOptionsV3_56_0 {
|
|
914
|
-
[k: string]: any;
|
|
915
|
-
}
|
|
916
|
-
/**
|
|
917
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
918
|
-
* via the `definition` "takeshapeResolver".
|
|
919
|
-
*/
|
|
920
|
-
export interface TakeshapeResolverV3_56_0 {
|
|
921
|
-
if?: string;
|
|
922
|
-
id?: string;
|
|
923
|
-
name: TakeshapeResolverNameV3_56_0;
|
|
924
|
-
/**
|
|
925
|
-
* Internal service identifier.
|
|
926
|
-
*/
|
|
927
|
-
service: 'takeshape';
|
|
928
|
-
options?: TakeshapeResolverOptionsV3_56_0;
|
|
929
|
-
/**
|
|
930
|
-
* An optional Shape name for the resolver.
|
|
931
|
-
*/
|
|
932
|
-
shapeName?: string;
|
|
933
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
934
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
935
|
-
argsMapping?: ArgsMappingV3_56_0;
|
|
936
|
-
resultsMapping?: ResultsMappingV3_56_0;
|
|
937
|
-
}
|
|
938
|
-
export interface TakeshapeResolverOptionsV3_56_0 {
|
|
939
|
-
[k: string]: any;
|
|
940
|
-
}
|
|
941
|
-
/**
|
|
942
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
943
|
-
* via the `definition` "shapedbResolver".
|
|
944
|
-
*/
|
|
945
|
-
export interface ShapedbResolverV3_56_0 {
|
|
946
|
-
if?: string;
|
|
947
|
-
id?: string;
|
|
948
|
-
name: ShapedbResolverNameV3_56_0;
|
|
949
|
-
/**
|
|
950
|
-
* Internal service identifier.
|
|
951
|
-
*/
|
|
952
|
-
service: 'shapedb';
|
|
953
|
-
options?: ShapedbResolverOptionsV3_56_0;
|
|
954
|
-
argsMapping?: ArgsMappingV3_56_0;
|
|
955
|
-
resultsMapping?: ResultsMappingV3_56_0;
|
|
956
|
-
/**
|
|
957
|
-
* A Shape name for the resolver to use.
|
|
958
|
-
*/
|
|
959
|
-
shapeName: string;
|
|
960
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
961
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
962
|
-
}
|
|
963
|
-
export interface ShapedbResolverOptionsV3_56_0 {
|
|
964
|
-
[k: string]: any;
|
|
965
|
-
}
|
|
966
|
-
/**
|
|
967
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
968
|
-
* via the `definition` "shapedbResolverShapeNameNotRequired".
|
|
969
|
-
*/
|
|
970
|
-
export interface ShapedbResolverShapeNameNotRequiredV3_56_0 {
|
|
971
|
-
if?: string;
|
|
972
|
-
id?: string;
|
|
973
|
-
name: ShapedbResolverShapeNameNotRequiredNameV3_56_0;
|
|
974
|
-
/**
|
|
975
|
-
* Internal service identifier.
|
|
976
|
-
*/
|
|
977
|
-
service: 'shapedb';
|
|
978
|
-
options?: ShapedbResolverShapeNameNotRequiredOptionsV3_56_0;
|
|
979
|
-
/**
|
|
980
|
-
* An optional Shape name for the resolver.
|
|
981
|
-
*/
|
|
982
|
-
shapeName?: string;
|
|
983
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
984
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
985
|
-
argsMapping?: ArgsMappingV3_56_0;
|
|
986
|
-
resultsMapping?: ResultsMappingV3_56_0;
|
|
987
|
-
}
|
|
988
|
-
export interface ShapedbResolverShapeNameNotRequiredOptionsV3_56_0 {
|
|
989
|
-
[k: string]: any;
|
|
990
|
-
}
|
|
991
|
-
/**
|
|
992
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
993
|
-
* via the `definition` "graphqlResolver".
|
|
994
|
-
*/
|
|
995
|
-
export interface GraphqlResolverV3_56_0 {
|
|
996
|
-
if?: string;
|
|
997
|
-
id?: string;
|
|
998
|
-
name: GraphqlResolverNameV3_56_0;
|
|
999
|
-
/**
|
|
1000
|
-
* Configuration for a service to use with this resolver.
|
|
1001
|
-
*/
|
|
1002
|
-
service: string;
|
|
1003
|
-
argsMapping?: ArgsMappingV3_56_0;
|
|
1004
|
-
resultsMapping?: ResultsMappingV3_56_0;
|
|
1005
|
-
options?: GraphqlResolverOptionsV3_56_0;
|
|
1006
|
-
/**
|
|
1007
|
-
* A fieldname to use in queries.
|
|
1008
|
-
*/
|
|
1009
|
-
fieldName: string;
|
|
1010
|
-
headers?: ParameterConfigForHeadersV3_56_0;
|
|
1011
|
-
searchParams?: ParameterConfigForSearchParamsV3_56_0;
|
|
1012
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
1013
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
1014
|
-
}
|
|
1015
|
-
export interface GraphqlResolverOptionsV3_56_0 {
|
|
1016
|
-
selectionSet?: string;
|
|
1017
|
-
unboxParentSelectionSet?: boolean;
|
|
1018
|
-
ignoreErrors?: boolean;
|
|
1019
|
-
skipWhenMissingArgs?: boolean;
|
|
1020
|
-
ttl?: number;
|
|
1021
|
-
timeout?: number;
|
|
1022
|
-
allowStream?: boolean;
|
|
1023
|
-
retry?: number | {
|
|
1024
|
-
[k: string]: any;
|
|
1025
|
-
};
|
|
1026
|
-
[k: string]: any;
|
|
1027
|
-
}
|
|
1028
|
-
/**
|
|
1029
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1030
|
-
* via the `definition` "parameterConfigForHeaders".
|
|
1031
|
-
*/
|
|
1032
|
-
export interface ParameterConfigForHeadersV3_56_0 {
|
|
1033
|
-
ops: ParameterOpListV3_56_0;
|
|
1034
|
-
serialize?: ParameterSerializeConfigForHeadersV3_56_0;
|
|
1035
|
-
}
|
|
1036
|
-
/**
|
|
1037
|
-
* Top-level paths to use headers serialization options for.
|
|
1038
|
-
*
|
|
1039
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1040
|
-
* via the `definition` "parameterSerializeConfigForHeaders".
|
|
1041
|
-
*/
|
|
1042
|
-
export interface ParameterSerializeConfigForHeadersV3_56_0 {
|
|
1043
|
-
defaults?: ParameterSerializeStyleOptionsForHeadersV3_56_0 | ParameterSerializeContentOptionsV3_56_0;
|
|
1044
|
-
paths?: {
|
|
1045
|
-
/**
|
|
1046
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1047
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
1048
|
-
*/
|
|
1049
|
-
[k: string]: ParameterSerializeStyleOptionsForHeadersV3_56_0 | ParameterSerializeContentOptionsV3_56_0;
|
|
1050
|
-
};
|
|
1051
|
-
}
|
|
1052
|
-
/**
|
|
1053
|
-
* Options to be passed to the serialization routine.
|
|
1054
|
-
*
|
|
1055
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1056
|
-
* via the `definition` "parameterSerializeStyleOptionsForHeaders".
|
|
1057
|
-
*/
|
|
1058
|
-
export interface ParameterSerializeStyleOptionsForHeadersV3_56_0 {
|
|
1059
|
-
style: 'simple' | 'none';
|
|
1060
|
-
explode?: boolean;
|
|
1061
|
-
}
|
|
1062
|
-
/**
|
|
1063
|
-
* Options to be passed to the serialization routine.
|
|
1064
|
-
*
|
|
1065
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1066
|
-
* via the `definition` "parameterSerializeContentOptions".
|
|
1067
|
-
*/
|
|
1068
|
-
export interface ParameterSerializeContentOptionsV3_56_0 {
|
|
1069
|
-
contentType: string;
|
|
1070
|
-
/**
|
|
1071
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
1072
|
-
*/
|
|
1073
|
-
allowReserved?: boolean;
|
|
1074
|
-
skipEncoding?: boolean;
|
|
1075
|
-
/**
|
|
1076
|
-
* Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
|
|
1077
|
-
*/
|
|
1078
|
-
options?: {
|
|
1079
|
-
[k: string]: any;
|
|
1080
|
-
};
|
|
1081
|
-
}
|
|
1082
|
-
/**
|
|
1083
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1084
|
-
* via the `definition` "parameterConfigForSearchParams".
|
|
1085
|
-
*/
|
|
1086
|
-
export interface ParameterConfigForSearchParamsV3_56_0 {
|
|
1087
|
-
ops: ParameterOpListV3_56_0;
|
|
1088
|
-
serialize?: ParameterSerializeConfigForSearchParamsV3_56_0;
|
|
1089
|
-
}
|
|
1090
|
-
/**
|
|
1091
|
-
* Top-level paths to use search params serialization options for.
|
|
1092
|
-
*
|
|
1093
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1094
|
-
* via the `definition` "parameterSerializeConfigForSearchParams".
|
|
1095
|
-
*/
|
|
1096
|
-
export interface ParameterSerializeConfigForSearchParamsV3_56_0 {
|
|
1097
|
-
defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_56_0 | ParameterSerializeContentOptionsV3_56_0;
|
|
1098
|
-
paths?: {
|
|
1099
|
-
/**
|
|
1100
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1101
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
1102
|
-
*/
|
|
1103
|
-
[k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_56_0 | ParameterSerializeContentOptionsV3_56_0;
|
|
1104
|
-
};
|
|
1105
|
-
}
|
|
1106
|
-
/**
|
|
1107
|
-
* Options to be passed to the serialization routine.
|
|
1108
|
-
*
|
|
1109
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1110
|
-
* via the `definition` "parameterSerializeStyleOptionsForSearchParams".
|
|
1111
|
-
*/
|
|
1112
|
-
export interface ParameterSerializeStyleOptionsForSearchParamsV3_56_0 {
|
|
1113
|
-
style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
|
|
1114
|
-
explode?: boolean;
|
|
1115
|
-
allowEmptyValue?: boolean;
|
|
1116
|
-
/**
|
|
1117
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
1118
|
-
*/
|
|
1119
|
-
allowReserved?: boolean;
|
|
1120
|
-
skipEncoding?: boolean;
|
|
1121
|
-
}
|
|
1122
|
-
/**
|
|
1123
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1124
|
-
* via the `definition` "restResolver".
|
|
1125
|
-
*/
|
|
1126
|
-
export interface RestResolverV3_56_0 {
|
|
1127
|
-
if?: string;
|
|
1128
|
-
id?: string;
|
|
1129
|
-
name: RestResolverNameV3_56_0;
|
|
1130
|
-
/**
|
|
1131
|
-
* Configuration for a service to use with this resolver.
|
|
1132
|
-
*/
|
|
1133
|
-
service: string;
|
|
1134
|
-
argsMapping?: ArgsMappingV3_56_0;
|
|
1135
|
-
searchParamsMapping?: SearchParamsMappingV3_56_0;
|
|
1136
|
-
resultsMapping?: ResultsMappingV3_56_0;
|
|
1137
|
-
options?: RestResolverOptionsV3_56_0;
|
|
1138
|
-
body?: ParameterConfigForBodyV3_56_0;
|
|
1139
|
-
form?: ParameterConfigForSearchParamsV3_56_0;
|
|
1140
|
-
headers?: ParameterConfigForHeadersV3_56_0;
|
|
1141
|
-
json?: ParameterConfigForJsonV3_56_0;
|
|
1142
|
-
/**
|
|
1143
|
-
* Mapping and serialization configuration for the path, or a simple string.
|
|
1144
|
-
*/
|
|
1145
|
-
path: ParameterConfigForPathParamsV3_56_0 | string;
|
|
1146
|
-
searchParams?: ParameterConfigForSearchParamsV3_56_0;
|
|
1147
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
1148
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
1149
|
-
}
|
|
1150
|
-
export interface RestResolverOptionsV3_56_0 {
|
|
1151
|
-
trailingSlash?: boolean;
|
|
1152
|
-
allowStream?: boolean;
|
|
1153
|
-
ttl?: number;
|
|
1154
|
-
timeout?: number;
|
|
1155
|
-
retry?: number | {
|
|
1156
|
-
[k: string]: any;
|
|
1157
|
-
};
|
|
1158
|
-
[k: string]: any;
|
|
1159
|
-
}
|
|
1160
|
-
/**
|
|
1161
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1162
|
-
* via the `definition` "parameterConfigForBody".
|
|
1163
|
-
*/
|
|
1164
|
-
export interface ParameterConfigForBodyV3_56_0 {
|
|
1165
|
-
ops: ParameterOpListV3_56_0;
|
|
1166
|
-
serialize?: ParameterSerializeConfigForBodyV3_56_0;
|
|
1167
|
-
}
|
|
1168
|
-
/**
|
|
1169
|
-
* Top-level paths to use serialization options for.
|
|
1170
|
-
*
|
|
1171
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1172
|
-
* via the `definition` "parameterSerializeConfigForBody".
|
|
1173
|
-
*/
|
|
1174
|
-
export interface ParameterSerializeConfigForBodyV3_56_0 {
|
|
1175
|
-
content?: ParameterSerializeContentOptionsV3_56_0;
|
|
1176
|
-
}
|
|
1177
|
-
/**
|
|
1178
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1179
|
-
* via the `definition` "parameterConfigForPathParams".
|
|
1180
|
-
*/
|
|
1181
|
-
export interface ParameterConfigForPathParamsV3_56_0 {
|
|
1182
|
-
ops: ParameterOpListV3_56_0;
|
|
1183
|
-
serialize: ParameterSerializeConfigForPathParamsV3_56_0;
|
|
1184
|
-
}
|
|
1185
|
-
/**
|
|
1186
|
-
* Top-level paths to use path params serialization options for.
|
|
1187
|
-
*
|
|
1188
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1189
|
-
* via the `definition` "parameterSerializeConfigForPathParams".
|
|
1190
|
-
*/
|
|
1191
|
-
export interface ParameterSerializeConfigForPathParamsV3_56_0 {
|
|
1192
|
-
/**
|
|
1193
|
-
* For generating the path using tokens frpm the ParameterOps, e.g., '/products/{productId}'
|
|
1194
|
-
*/
|
|
1195
|
-
template: string;
|
|
1196
|
-
defaults?: ParameterSerializeStyleOptionsForPathParamsV3_56_0 | ParameterSerializeContentOptionsV3_56_0;
|
|
1197
|
-
paths?: {
|
|
1198
|
-
/**
|
|
1199
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1200
|
-
* via the `patternProperty` "^[^\n\r]*$".
|
|
1201
|
-
*/
|
|
1202
|
-
[k: string]: ParameterSerializeStyleOptionsForPathParamsV3_56_0 | ParameterSerializeContentOptionsV3_56_0;
|
|
1203
|
-
};
|
|
1204
|
-
}
|
|
1205
|
-
/**
|
|
1206
|
-
* Options to be passed to the serialization routine.
|
|
1207
|
-
*
|
|
1208
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1209
|
-
* via the `definition` "parameterSerializeStyleOptionsForPathParams".
|
|
1210
|
-
*/
|
|
1211
|
-
export interface ParameterSerializeStyleOptionsForPathParamsV3_56_0 {
|
|
1212
|
-
style: 'simple' | 'label' | 'matrix' | 'none';
|
|
1213
|
-
explode?: boolean;
|
|
1214
|
-
allowEmptyValue?: boolean;
|
|
1215
|
-
/**
|
|
1216
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
1217
|
-
*/
|
|
1218
|
-
allowReserved?: boolean;
|
|
1219
|
-
skipEncoding?: boolean;
|
|
1220
|
-
}
|
|
1221
|
-
/**
|
|
1222
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1223
|
-
* via the `definition` "awsLambdaResolver".
|
|
1224
|
-
*/
|
|
1225
|
-
export interface AwsLambdaResolverV3_56_0 {
|
|
1226
|
-
if?: string;
|
|
1227
|
-
id?: string;
|
|
1228
|
-
name: AwsLambdaResolverNameV3_56_0;
|
|
1229
|
-
/**
|
|
1230
|
-
* Configuration for a service to use with this resolver.
|
|
1231
|
-
*/
|
|
1232
|
-
service: string;
|
|
1233
|
-
options?: AwsLambdaResolverOptionsV3_56_0;
|
|
1234
|
-
payload?: ParameterConfigForJsonV3_56_0;
|
|
1235
|
-
/**
|
|
1236
|
-
* Mapping configuration for the FunctionName.
|
|
1237
|
-
*/
|
|
1238
|
-
functionName: string | ParameterConfigForAwsLambdaV3_56_0;
|
|
1239
|
-
clientContext?: ParameterConfigForJsonV3_56_0;
|
|
1240
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
1241
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
1242
|
-
argsMapping?: ArgsMappingV3_56_0;
|
|
1243
|
-
searchParamsMapping?: SearchParamsMappingV3_56_0;
|
|
1244
|
-
resultsMapping?: ResultsMappingV3_56_0;
|
|
1245
|
-
}
|
|
1246
|
-
export interface AwsLambdaResolverOptionsV3_56_0 {
|
|
1247
|
-
[k: string]: any;
|
|
1248
|
-
}
|
|
1249
|
-
/**
|
|
1250
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1251
|
-
* via the `definition` "parameterConfigForAwsLambda".
|
|
1252
|
-
*/
|
|
1253
|
-
export interface ParameterConfigForAwsLambdaV3_56_0 {
|
|
1254
|
-
ops: ParameterOpListV3_56_0;
|
|
1255
|
-
serialize: ParameterSerializeConfigForPathParamsV3_56_0;
|
|
1256
|
-
}
|
|
1257
|
-
/**
|
|
1258
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1259
|
-
* via the `definition` "salsifyResolver".
|
|
1260
|
-
*/
|
|
1261
|
-
export interface SalsifyResolverV3_56_0 {
|
|
1262
|
-
if?: string;
|
|
1263
|
-
id?: string;
|
|
1264
|
-
name: SalsifyResolverNameV3_56_0;
|
|
1265
|
-
/**
|
|
1266
|
-
* Configuration for a service to use with this resolver.
|
|
1267
|
-
*/
|
|
1268
|
-
service: string;
|
|
1269
|
-
options?: SalsifyResolverOptionsV3_56_0;
|
|
1270
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
1271
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
1272
|
-
argsMapping?: ArgsMappingV3_56_0;
|
|
1273
|
-
resultsMapping?: ResultsMappingV3_56_0;
|
|
1274
|
-
}
|
|
1275
|
-
export interface SalsifyResolverOptionsV3_56_0 {
|
|
1276
|
-
[k: string]: any;
|
|
1277
|
-
}
|
|
1278
|
-
/**
|
|
1279
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1280
|
-
* via the `definition` "syndigoResolver".
|
|
1281
|
-
*/
|
|
1282
|
-
export interface SyndigoResolverV3_56_0 {
|
|
1283
|
-
if?: string;
|
|
1284
|
-
id?: string;
|
|
1285
|
-
name: SyndigoResolverNameV3_56_0;
|
|
1286
|
-
/**
|
|
1287
|
-
* Configuration for a service to use with this resolver.
|
|
1288
|
-
*/
|
|
1289
|
-
service: string;
|
|
1290
|
-
options?: SyndigoResolverOptionsV3_56_0;
|
|
1291
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
1292
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
1293
|
-
argsMapping?: ArgsMappingV3_56_0;
|
|
1294
|
-
resultsMapping?: ResultsMappingV3_56_0;
|
|
1295
|
-
}
|
|
1296
|
-
export interface SyndigoResolverOptionsV3_56_0 {
|
|
1297
|
-
[k: string]: any;
|
|
1298
|
-
}
|
|
1299
|
-
/**
|
|
1300
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1301
|
-
* via the `definition` "functionResolver".
|
|
1302
|
-
*/
|
|
1303
|
-
export interface FunctionResolverV3_56_0 {
|
|
1304
|
-
if?: string;
|
|
1305
|
-
id?: string;
|
|
1306
|
-
name: FunctionResolverNameV3_56_0;
|
|
1307
|
-
options?: FunctionResolverOptionsV3_56_0;
|
|
1308
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
1309
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
1310
|
-
argsMapping?: ArgsMappingV3_56_0;
|
|
1311
|
-
resultsMapping?: ResultsMappingV3_56_0;
|
|
1312
|
-
javascript?: FunctionResolverJavascriptV3_56_0;
|
|
1313
|
-
}
|
|
1314
|
-
export interface FunctionResolverOptionsV3_56_0 {
|
|
1315
|
-
[k: string]: any;
|
|
1316
|
-
}
|
|
1317
|
-
/**
|
|
1318
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1319
|
-
* via the `definition` "aiGenerateTextResolver".
|
|
1320
|
-
*/
|
|
1321
|
-
export interface AIGenerateTextResolverV3_56_0 {
|
|
1322
|
-
if?: string;
|
|
1323
|
-
id?: string;
|
|
1324
|
-
name: AIResolverNameV3_56_0;
|
|
1325
|
-
/**
|
|
1326
|
-
* Configuration for a service to use with this resolver.
|
|
1327
|
-
*/
|
|
1328
|
-
service: string;
|
|
1329
|
-
options?: AIGenerateTextResolverOptionsV3_56_0;
|
|
1330
|
-
systemPrompt: string;
|
|
1331
|
-
inputTemplate?: string;
|
|
1332
|
-
model: string;
|
|
1333
|
-
tools?: (string | AIToolConfigV3_56_0)[];
|
|
1334
|
-
guardrails?: AIGuardrailV3_56_0[];
|
|
1335
|
-
context?: ParameterConfigForJsonV3_56_0;
|
|
1336
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
1337
|
-
}
|
|
1338
|
-
/**
|
|
1339
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1340
|
-
* via the `definition` "aiGenerateTextResolverOptions".
|
|
1341
|
-
*/
|
|
1342
|
-
export interface AIGenerateTextResolverOptionsV3_56_0 {
|
|
1343
|
-
history?: HistoryV3_56_0;
|
|
1344
|
-
maxTokens?: MaximumTokensV3_56_0;
|
|
1345
|
-
temperature?: TemperatureV3_56_0;
|
|
1346
|
-
topP?: TopPV3_56_0;
|
|
1347
|
-
topK?: TopKV3_56_0;
|
|
1348
|
-
presencePenalty?: PresencePenaltySettingV3_56_0;
|
|
1349
|
-
frequencyPenalty?: FrequencyPenaltySettingV3_56_0;
|
|
1350
|
-
stopSequences?: StopSequencesV3_56_0;
|
|
1351
|
-
seed?: SeedV3_56_0;
|
|
1352
|
-
/**
|
|
1353
|
-
* Maximum number of retries. Set to 0 to disable retries. Defaults to 2
|
|
1354
|
-
*/
|
|
1355
|
-
maxRetries?: number;
|
|
1356
|
-
/**
|
|
1357
|
-
* The tool choice strategy. Default: 'auto'
|
|
1358
|
-
*/
|
|
1359
|
-
toolChoice?: (('auto' | 'none' | 'required') | string) & string;
|
|
1360
|
-
/**
|
|
1361
|
-
* Maximal number of automatic roundtrips for tool calls.
|
|
1362
|
-
*/
|
|
1363
|
-
maxToolRoundtrips?: number;
|
|
1364
|
-
[k: string]: any;
|
|
1365
|
-
}
|
|
1366
|
-
/**
|
|
1367
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1368
|
-
* via the `definition` "aiToolConfig".
|
|
1369
|
-
*/
|
|
1370
|
-
export interface AIToolConfigV3_56_0 {
|
|
1371
|
-
ref: string;
|
|
1372
|
-
selectionSet?: string;
|
|
1373
|
-
}
|
|
1374
|
-
/**
|
|
1375
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1376
|
-
* via the `definition` "aiSimilarityGuardrail".
|
|
1377
|
-
*/
|
|
1378
|
-
export interface AISimilarityGuardrailV3_56_0 {
|
|
1379
|
-
name: 'similarity';
|
|
1380
|
-
shape: string;
|
|
1381
|
-
defaultResponse: string;
|
|
1382
|
-
threshold?: number;
|
|
1383
|
-
}
|
|
1384
|
-
/**
|
|
1385
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1386
|
-
* via the `definition` "aiGeneratePropertyResolver".
|
|
1387
|
-
*/
|
|
1388
|
-
export interface AIGeneratePropertyResolverV3_56_0 {
|
|
1389
|
-
id?: string;
|
|
1390
|
-
name: AIResolverNameV3_56_01;
|
|
1391
|
-
/**
|
|
1392
|
-
* Configuration for a service to use with this resolver.
|
|
1393
|
-
*/
|
|
1394
|
-
service: string;
|
|
1395
|
-
model: string;
|
|
1396
|
-
systemPrompt?: string;
|
|
1397
|
-
}
|
|
1398
|
-
/**
|
|
1399
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1400
|
-
* via the `definition` "aiEmbeddingResolver".
|
|
1401
|
-
*/
|
|
1402
|
-
export interface AIEmbeddingResolverV3_56_0 {
|
|
1403
|
-
if?: string;
|
|
1404
|
-
id?: string;
|
|
1405
|
-
name: AIResolverNameV3_56_02;
|
|
1406
|
-
/**
|
|
1407
|
-
* Configuration for a service to use with this resolver.
|
|
1408
|
-
*/
|
|
1409
|
-
service: string;
|
|
1410
|
-
options?: AIEmbeddingResolverOptionsV3_56_0;
|
|
1411
|
-
model: string;
|
|
1412
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
1413
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
1414
|
-
}
|
|
1415
|
-
/**
|
|
1416
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1417
|
-
* via the `definition` "aiEmbeddingResolverOptions".
|
|
1418
|
-
*/
|
|
1419
|
-
export interface AIEmbeddingResolverOptionsV3_56_0 {
|
|
1420
|
-
useDependencies?: boolean;
|
|
1421
|
-
[k: string]: any;
|
|
1422
|
-
}
|
|
1423
|
-
/**
|
|
1424
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1425
|
-
* via the `definition` "aiEmbeddingSearchResolver".
|
|
1426
|
-
*/
|
|
1427
|
-
export interface AIEmbeddingSearchResolverV3_56_0 {
|
|
1428
|
-
if?: string;
|
|
1429
|
-
id?: string;
|
|
1430
|
-
name: AIResolverNameV3_56_03;
|
|
1431
|
-
/**
|
|
1432
|
-
* A vector property ref to use for the query.
|
|
1433
|
-
*/
|
|
1434
|
-
vectorProperty: string;
|
|
1435
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
1436
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
1437
|
-
}
|
|
1438
|
-
/**
|
|
1439
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1440
|
-
* via the `definition` "aiParseFileResolver".
|
|
1441
|
-
*/
|
|
1442
|
-
export interface AIParseFileResolverV3_56_0 {
|
|
1443
|
-
if?: string;
|
|
1444
|
-
id?: string;
|
|
1445
|
-
name: AIResolverNameV3_56_04;
|
|
1446
|
-
/**
|
|
1447
|
-
* Configuration for a service to use with this resolver.
|
|
1448
|
-
*/
|
|
1449
|
-
service: string;
|
|
1450
|
-
options?: AIEmbeddingResolverOptionsV3_56_0;
|
|
1451
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
1452
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
1453
|
-
}
|
|
1454
|
-
/**
|
|
1455
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1456
|
-
* via the `definition` "utilChunkResolver".
|
|
1457
|
-
*/
|
|
1458
|
-
export interface ChunkResolverV3_56_0 {
|
|
1459
|
-
if?: string;
|
|
1460
|
-
id?: string;
|
|
1461
|
-
name: UtilResolverNameV3_56_01;
|
|
1462
|
-
options: UtilChunkResolverOptionsV3_56_0;
|
|
1463
|
-
args?: ParameterConfigForJsonV3_56_0;
|
|
1464
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
1465
|
-
}
|
|
1466
|
-
/**
|
|
1467
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1468
|
-
* via the `definition` "utilChunkResolverOptionsCharacterCount".
|
|
1469
|
-
*/
|
|
1470
|
-
export interface UtilChunkResolverOptionsCharacterCountV3_56_0 {
|
|
1471
|
-
type: 'characterCount';
|
|
1472
|
-
characterCount: number;
|
|
1473
|
-
}
|
|
1474
|
-
/**
|
|
1475
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1476
|
-
* via the `definition` "utilChunkResolverOptionsSeparators".
|
|
1477
|
-
*/
|
|
1478
|
-
export interface UtilChunkResolverOptionsSeparatorsV3_56_0 {
|
|
1479
|
-
type: 'separators';
|
|
1480
|
-
separators: string[];
|
|
1481
|
-
}
|
|
1482
|
-
/**
|
|
1483
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1484
|
-
* via the `definition` "utilChunkResolverOptionsMarkdown".
|
|
1485
|
-
*/
|
|
1486
|
-
export interface UtilChunkResolverOptionsMarkdownV3_56_0 {
|
|
1487
|
-
type: 'markdown';
|
|
1488
|
-
/**
|
|
1489
|
-
* New chunks will be created at headers for this level or lower. Default 2.
|
|
1490
|
-
*/
|
|
1491
|
-
headerLevel?: number;
|
|
1492
|
-
/**
|
|
1493
|
-
* A new chunk will be started when this number of characters is reached, regardless of markup.
|
|
1494
|
-
*/
|
|
1495
|
-
maxCharacters?: number;
|
|
1496
|
-
}
|
|
1497
|
-
/**
|
|
1498
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1499
|
-
* via the `definition` "utilChunkResolverOptionsSemantic".
|
|
1500
|
-
*/
|
|
1501
|
-
export interface UtilChunkResolverOptionsSemanticV3_56_0 {
|
|
1502
|
-
type: 'semantic';
|
|
1503
|
-
serviceId: string;
|
|
1504
|
-
modelId: string;
|
|
1505
|
-
/**
|
|
1506
|
-
* Similarity below which two embeddings are considered different.
|
|
1507
|
-
*/
|
|
1508
|
-
similarityThreshold?: number;
|
|
1509
|
-
/**
|
|
1510
|
-
* Advanced. How many sentences to advance when grouping sentences to create embeddings. Default 1.
|
|
1511
|
-
*/
|
|
1512
|
-
stride?: number;
|
|
1513
|
-
/**
|
|
1514
|
-
* Advanced. How many sentences are grouped together to create embeddings. Default 3.
|
|
1515
|
-
*/
|
|
1516
|
-
sentenceCount?: number;
|
|
1517
|
-
/**
|
|
1518
|
-
* The maximum number of characters in a chunk.
|
|
1519
|
-
*/
|
|
1520
|
-
maxCharacters?: number;
|
|
1521
|
-
/**
|
|
1522
|
-
* The maximum number of tokens in a chunk.
|
|
1523
|
-
*/
|
|
1524
|
-
maxTokens?: number;
|
|
1525
|
-
}
|
|
1526
|
-
export interface AISendAgentMessageResolverV3_56_0 {
|
|
1527
|
-
id?: string;
|
|
1528
|
-
name: AIResolverNameV3_56_05;
|
|
1529
|
-
agentName: string;
|
|
1530
|
-
inputName: string;
|
|
1531
|
-
}
|
|
1532
|
-
export interface AIInspectAgentResolverV3_56_0 {
|
|
1533
|
-
id?: string;
|
|
1534
|
-
name: AIResolverNameV3_56_06;
|
|
1535
|
-
agentName: string;
|
|
1536
|
-
}
|
|
1537
|
-
export interface AICreateAgentSessionResolverV3_56_0 {
|
|
1538
|
-
id?: string;
|
|
1539
|
-
name: AIResolverNameV3_56_07;
|
|
1540
|
-
agentName: string;
|
|
1541
|
-
}
|
|
1542
|
-
export interface AIGetAgentMessageResolverV3_56_0 {
|
|
1543
|
-
id?: string;
|
|
1544
|
-
name: AIResolverNameV3_56_08;
|
|
1545
|
-
agentName: string;
|
|
1546
|
-
}
|
|
1547
|
-
export interface AIAbortAgentMessageResolverV3_56_0 {
|
|
1548
|
-
id?: string;
|
|
1549
|
-
name: AIResolverNameV3_56_09;
|
|
1550
|
-
agentName: string;
|
|
1551
|
-
}
|
|
1552
|
-
export interface AISendAgentFeedbackResolverV3_56_0 {
|
|
1553
|
-
id?: string;
|
|
1554
|
-
name: AIResolverNameV3_56_010;
|
|
1555
|
-
agentName: string;
|
|
1556
|
-
}
|
|
1557
|
-
/**
|
|
1558
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1559
|
-
* via the `definition` "composeResolver".
|
|
1560
|
-
*/
|
|
1561
|
-
export interface ComposeResolverV3_56_0 {
|
|
1562
|
-
compose: BasicResolverV3_56_0[];
|
|
1563
|
-
resultsMapping?: DirectiveMappingMapV3_56_0 | DirectiveConfigV3_56_0;
|
|
1564
|
-
results?: ParameterConfigForJsonV3_56_0;
|
|
1565
|
-
}
|
|
1566
|
-
/**
|
|
1567
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1568
|
-
* via the `definition` "indexed".
|
|
1569
|
-
*/
|
|
1570
|
-
export interface IndexedV3_56_0 {
|
|
1571
|
-
nested?: boolean;
|
|
1572
|
-
}
|
|
1573
|
-
/**
|
|
1574
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1575
|
-
* via the `definition` "graphql".
|
|
1576
|
-
*/
|
|
1577
|
-
export interface GraphQLConfigV3_56_0 {
|
|
1578
|
-
json?: boolean;
|
|
1579
|
-
}
|
|
1580
|
-
/**
|
|
1581
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1582
|
-
* via the `definition` "shapeMap".
|
|
1583
|
-
*/
|
|
1584
|
-
export interface ShapeMapV3_56_0 {
|
|
1585
|
-
[k: string]: ShapeJSONV3_56_0;
|
|
1586
|
-
}
|
|
1587
|
-
/**
|
|
1588
|
-
* A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
|
|
1589
|
-
*
|
|
1590
|
-
* This interface was referenced by `ShapeMapV3_56_0`'s JSON-Schema definition
|
|
1591
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1592
|
-
*
|
|
1593
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1594
|
-
* via the `definition` "shape".
|
|
1595
|
-
*/
|
|
1596
|
-
export interface ShapeJSONV3_56_0 {
|
|
1597
|
-
/**
|
|
1598
|
-
* 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
|
|
1599
|
-
*/
|
|
1600
|
-
name: string;
|
|
1601
|
-
/**
|
|
1602
|
-
* 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.
|
|
1603
|
-
*/
|
|
1604
|
-
id: string;
|
|
1605
|
-
/**
|
|
1606
|
-
* The human-readable name for a Shape for use in a UI.
|
|
1607
|
-
*/
|
|
1608
|
-
title: string;
|
|
1609
|
-
description?: string;
|
|
1610
|
-
type?: 'interface' | 'input' | 'output';
|
|
1611
|
-
interfaces?: string[];
|
|
1612
|
-
/**
|
|
1613
|
-
* Specifying a model type allows Shape data to be stored in TakeShape's built-in database
|
|
1614
|
-
*/
|
|
1615
|
-
model?: {
|
|
1616
|
-
type: ModelTypeV3_56_0;
|
|
1617
|
-
};
|
|
1618
|
-
workflow?: string;
|
|
1619
|
-
loaders?: ShapeLoadersV3_56_0;
|
|
1620
|
-
joins?: ShapeJoinsV3_56_0;
|
|
1621
|
-
cache?: ShapeCacheConfigV3_56_0;
|
|
1622
|
-
schema: ShapeSchemaV3_56_0;
|
|
1623
|
-
}
|
|
1624
|
-
/**
|
|
1625
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1626
|
-
* via the `definition` "shapeLoaders".
|
|
1627
|
-
*/
|
|
1628
|
-
export interface ShapeLoadersV3_56_0 {
|
|
1629
|
-
list: StoredListQueryLoaderConfigV3_56_0 | StoredListQueryLoaderConfigV3_56_0[];
|
|
1630
|
-
get?: GetQueryLoaderConfigV3_56_0;
|
|
1631
|
-
}
|
|
1632
|
-
/**
|
|
1633
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1634
|
-
* via the `definition` "storedListQueryLoaderConfig".
|
|
1635
|
-
*/
|
|
1636
|
-
export interface StoredListQueryLoaderConfigV3_56_0 {
|
|
1637
|
-
query: string;
|
|
1638
|
-
args?: {
|
|
1639
|
-
[k: string]: any;
|
|
1640
|
-
} | {
|
|
1641
|
-
[k: string]: any;
|
|
1642
|
-
}[];
|
|
1643
|
-
pagination?: PaginationConfigV3_56_0;
|
|
1644
|
-
}
|
|
1645
|
-
/**
|
|
1646
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1647
|
-
* via the `definition` "paginationCursorConfig".
|
|
1648
|
-
*/
|
|
1649
|
-
export interface PaginationCursorConfigV3_56_0 {
|
|
1650
|
-
type: 'cursor';
|
|
1651
|
-
cursorArg: string;
|
|
1652
|
-
cursorPath: string;
|
|
1653
|
-
pageSize?: number;
|
|
1654
|
-
pageSizeArg: string;
|
|
1655
|
-
hasMorePath: string;
|
|
1656
|
-
itemsPath: string;
|
|
1657
|
-
}
|
|
1658
|
-
/**
|
|
1659
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1660
|
-
* via the `definition` "paginationPageConfig".
|
|
1661
|
-
*/
|
|
1662
|
-
export interface PaginationPageConfigV3_56_0 {
|
|
1663
|
-
type: 'page';
|
|
1664
|
-
pageArg: string;
|
|
1665
|
-
pageSize?: number;
|
|
1666
|
-
pageSizeArg?: string;
|
|
1667
|
-
itemsPath: string;
|
|
1668
|
-
pageTotalPath: string;
|
|
1669
|
-
}
|
|
1670
|
-
/**
|
|
1671
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1672
|
-
* via the `definition` "paginationOffsetConfig".
|
|
1673
|
-
*/
|
|
1674
|
-
export interface PaginationOffsetConfigV3_56_0 {
|
|
1675
|
-
type: 'offset';
|
|
1676
|
-
offsetArg: string;
|
|
1677
|
-
pageSize?: number;
|
|
1678
|
-
pageSizeArg?: string;
|
|
1679
|
-
itemsPath: string;
|
|
1680
|
-
itemTotalPath: string;
|
|
1681
|
-
}
|
|
1682
|
-
/**
|
|
1683
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1684
|
-
* via the `definition` "getQueryLoaderConfig".
|
|
1685
|
-
*/
|
|
1686
|
-
export interface GetQueryLoaderConfigV3_56_0 {
|
|
1687
|
-
query: string;
|
|
1688
|
-
args?: {
|
|
1689
|
-
[k: string]: any;
|
|
1690
|
-
};
|
|
1691
|
-
idArg?: string;
|
|
1692
|
-
}
|
|
1693
|
-
/**
|
|
1694
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1695
|
-
* via the `definition` "shapeJoins".
|
|
1696
|
-
*/
|
|
1697
|
-
export interface ShapeJoinsV3_56_0 {
|
|
1698
|
-
[k: string]: ShapeJoinV3_56_0;
|
|
1699
|
-
}
|
|
1700
|
-
/**
|
|
1701
|
-
* This interface was referenced by `ShapeJoinsV3_56_0`'s JSON-Schema definition
|
|
1702
|
-
* via the `patternProperty` "[:0-9A-Za-z_-]+".
|
|
1703
|
-
*
|
|
1704
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1705
|
-
* via the `definition` "shapeJoin".
|
|
1706
|
-
*/
|
|
1707
|
-
export interface ShapeJoinV3_56_0 {
|
|
1708
|
-
resolver: DelegateResolverV3_56_0 | ShapedbResolverV3_56_0;
|
|
1709
|
-
dependencies?: string;
|
|
1710
|
-
}
|
|
1711
|
-
/**
|
|
1712
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1713
|
-
* via the `definition` "shapeCacheConfig".
|
|
1714
|
-
*/
|
|
1715
|
-
export interface ShapeCacheConfigV3_56_0 {
|
|
1716
|
-
enabled: boolean;
|
|
1717
|
-
idField?: string;
|
|
1718
|
-
searchSummaryField?: string;
|
|
1719
|
-
fragment?: CachedFragmentConfigV3_56_0;
|
|
1720
|
-
triggers?: CacheTriggerConfigV3_56_0[];
|
|
1721
|
-
/**
|
|
1722
|
-
* Number of seconds this Shape should be cached. Default 0.
|
|
1723
|
-
*/
|
|
1724
|
-
maxAge?: number;
|
|
1725
|
-
}
|
|
1726
|
-
/**
|
|
1727
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1728
|
-
* via the `definition` "cachedFragmentConfig".
|
|
1729
|
-
*/
|
|
1730
|
-
export interface CachedFragmentConfigV3_56_0 {
|
|
1731
|
-
ignoreFields?: string[];
|
|
1732
|
-
maxDepth?: number;
|
|
1733
|
-
selectionSet?: string;
|
|
1734
|
-
includeDeprecated?: boolean;
|
|
1735
|
-
}
|
|
1736
|
-
/**
|
|
1737
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1738
|
-
* via the `definition` "cacheScheduleTriggerConfig".
|
|
1739
|
-
*/
|
|
1740
|
-
export interface CacheScheduleTriggerConfigV3_56_0 {
|
|
1741
|
-
type: 'schedule';
|
|
1742
|
-
loader: 'get' | 'list';
|
|
1743
|
-
interval: number;
|
|
1744
|
-
}
|
|
1745
|
-
/**
|
|
1746
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1747
|
-
* via the `definition` "cacheWebhookTriggerConfig".
|
|
1748
|
-
*/
|
|
1749
|
-
export interface CacheWebhookTriggerConfigV3_56_0 {
|
|
1750
|
-
type: 'webhook';
|
|
1751
|
-
loader: 'get' | 'list';
|
|
1752
|
-
service: string;
|
|
1753
|
-
events: string[];
|
|
1754
|
-
}
|
|
1755
|
-
/**
|
|
1756
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1757
|
-
* via the `definition` "shapeSchemaAllOf".
|
|
1758
|
-
*/
|
|
1759
|
-
export interface ShapeSchemaAllOfV3_56_0 {
|
|
1760
|
-
allOf: ObjectOrRefArrayV3_56_0;
|
|
1761
|
-
}
|
|
1762
|
-
/**
|
|
1763
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1764
|
-
* via the `definition` "shapeSchemaExtends".
|
|
1765
|
-
*/
|
|
1766
|
-
export interface ShapeSchemaExtendsV3_56_0 {
|
|
1767
|
-
extends: ObjectOrRefArrayV3_56_0;
|
|
1768
|
-
}
|
|
1769
|
-
/**
|
|
1770
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1771
|
-
* via the `definition` "shapeSchemaOneOf".
|
|
1772
|
-
*/
|
|
1773
|
-
export interface ShapeSchemaOneOfV3_56_0 {
|
|
1774
|
-
oneOf: ObjectOrRefArrayV3_56_0;
|
|
1775
|
-
}
|
|
1776
|
-
/**
|
|
1777
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1778
|
-
* via the `definition` "shapeSchemaEnum".
|
|
1779
|
-
*/
|
|
1780
|
-
export interface ShapeSchemaEnumV3_56_0 {
|
|
1781
|
-
enum: any[];
|
|
1782
|
-
}
|
|
1783
|
-
/**
|
|
1784
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
1785
|
-
* via the `definition` "shapeSchemaAny".
|
|
1786
|
-
*/
|
|
1787
|
-
export interface ShapeSchemaAnyV3_56_0 {
|
|
1788
|
-
}
|
|
1789
|
-
export interface AIExperimentalV3_56_0 {
|
|
1790
|
-
agents?: AgentMapV3_56_0;
|
|
1791
|
-
guards?: GuardMapV3_56_0;
|
|
1792
|
-
mcp?: MCPServerConfigurationV3_56_0;
|
|
1793
|
-
}
|
|
1794
|
-
export interface AgentMapV3_56_0 {
|
|
1795
|
-
[k: string]: AgentJSONV3_56_0;
|
|
1796
|
-
}
|
|
1797
|
-
/**
|
|
1798
|
-
* An Agent is a configuration for an AI service such as a chat bot or a search engine.
|
|
1799
|
-
*
|
|
1800
|
-
* This interface was referenced by `AgentMapV3_56_0`'s JSON-Schema definition
|
|
1801
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1802
|
-
*/
|
|
1803
|
-
export interface AgentJSONV3_56_0 {
|
|
1804
|
-
description?: string;
|
|
1805
|
-
systemPrompt?: string;
|
|
1806
|
-
api: AgentAPIV3_56_0;
|
|
1807
|
-
memory?: AgentMemoryV3_56_0;
|
|
1808
|
-
start: AgentStartV3_56_0;
|
|
1809
|
-
states: AgentStatesV3_56_0;
|
|
1810
|
-
guards?: AgentGuardV3_56_0[];
|
|
1811
|
-
historyStrategies?: HistoryStrategyMapV3_56_0;
|
|
1812
|
-
}
|
|
1813
|
-
export interface AgentAPIV3_56_0 {
|
|
1814
|
-
inputs: AgentAPIInputV3_56_0[];
|
|
1815
|
-
}
|
|
1816
|
-
export interface AgentAPIMutationInputV3_56_0 {
|
|
1817
|
-
type: 'mutation';
|
|
1818
|
-
name: string;
|
|
1819
|
-
args: string;
|
|
1820
|
-
interactionTimeout?: InteractionTimeoutMillisecondsV3_56_0;
|
|
1821
|
-
}
|
|
1822
|
-
export interface AgentMemoryV3_56_0 {
|
|
1823
|
-
sessionMemory: AgentSessionMemoryV3_56_0;
|
|
1824
|
-
}
|
|
1825
|
-
export interface AgentSessionMemoryV3_56_0 {
|
|
1826
|
-
shape?: string;
|
|
1827
|
-
}
|
|
1828
|
-
/**
|
|
1829
|
-
* Configuration for the start of an agent's execution
|
|
1830
|
-
*/
|
|
1831
|
-
export interface AgentStartV3_56_0 {
|
|
1832
|
-
transitions: AgentTransitionSuspendV3_56_0[];
|
|
1833
|
-
}
|
|
1834
|
-
export interface AgentTransitionSuspendV3_56_0 {
|
|
1835
|
-
type: 'suspend';
|
|
1836
|
-
destination: string;
|
|
1837
|
-
input: string;
|
|
1838
|
-
condition?: string;
|
|
1839
|
-
limit?: number;
|
|
1840
|
-
sessionMemory?: AgentStateSessionMemoryV3_56_0;
|
|
1841
|
-
historyStrategy?: string;
|
|
1842
|
-
}
|
|
1843
|
-
export interface AgentStateSessionMemoryAssignmentV3_56_0 {
|
|
1844
|
-
memoryPath?: string;
|
|
1845
|
-
expression: string;
|
|
1846
|
-
}
|
|
1847
|
-
/**
|
|
1848
|
-
* States that are traversed during the execution of an agent.
|
|
1849
|
-
*/
|
|
1850
|
-
export interface AgentStatesV3_56_0 {
|
|
1851
|
-
[k: string]: AgentStateV3_56_0;
|
|
1852
|
-
}
|
|
1853
|
-
/**
|
|
1854
|
-
* One step of an agent's execution.
|
|
1855
|
-
*
|
|
1856
|
-
* This interface was referenced by `AgentStatesV3_56_0`'s JSON-Schema definition
|
|
1857
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1858
|
-
*/
|
|
1859
|
-
export interface AgentStateV3_56_0 {
|
|
1860
|
-
name: string;
|
|
1861
|
-
variables?: VariablesV3_56_0;
|
|
1862
|
-
execution: AgentExecutionV3_56_0;
|
|
1863
|
-
transitions?: AgentTransitionV3_56_0[];
|
|
1864
|
-
}
|
|
1865
|
-
export interface AgentVariableV3_56_0 {
|
|
1866
|
-
name: string;
|
|
1867
|
-
/**
|
|
1868
|
-
* These are evaluated in order until a value is found.
|
|
1869
|
-
*/
|
|
1870
|
-
steps: AgentVariableStepV3_56_0[];
|
|
1871
|
-
}
|
|
1872
|
-
export interface AgentVariableStepV3_56_0 {
|
|
1873
|
-
condition?: string;
|
|
1874
|
-
expression: string;
|
|
1875
|
-
}
|
|
1876
|
-
export interface AgentExecutionGraphQLV3_56_0 {
|
|
1877
|
-
type: 'graphql';
|
|
1878
|
-
query: string;
|
|
1879
|
-
path?: string;
|
|
1880
|
-
}
|
|
1881
|
-
export interface AgentExecutionGenerateV3_56_0 {
|
|
1882
|
-
type: 'generate';
|
|
1883
|
-
service: string;
|
|
1884
|
-
model: string;
|
|
1885
|
-
systemPrompt?: string;
|
|
1886
|
-
input: AgentAIStateInputV3_56_0;
|
|
1887
|
-
outputShape?: string;
|
|
1888
|
-
tools?: AgentToolConfigV3_56_0[];
|
|
1889
|
-
options?: AgentGenerateOptionsV3_56_0;
|
|
1890
|
-
}
|
|
1891
|
-
export interface AgentAIStateInputArgumentV3_56_0 {
|
|
1892
|
-
type: 'arg';
|
|
1893
|
-
}
|
|
1894
|
-
export interface AgentAIStateInputTemplateV3_56_0 {
|
|
1895
|
-
type: 'template';
|
|
1896
|
-
inputTemplate: string;
|
|
1897
|
-
}
|
|
1898
|
-
export interface AgentToolConfigV3_56_0 {
|
|
1899
|
-
name: string;
|
|
1900
|
-
ref: string;
|
|
1901
|
-
description?: string;
|
|
1902
|
-
args?: AgentToolConfigArgV3_56_0[];
|
|
1903
|
-
selectionSet?: string;
|
|
1904
|
-
}
|
|
1905
|
-
export interface AgentControlledV3_56_0 {
|
|
1906
|
-
type: 'agent';
|
|
1907
|
-
argName: ToolArgumentNameV3_56_0;
|
|
1908
|
-
}
|
|
1909
|
-
export interface VariableValueV3_56_0 {
|
|
1910
|
-
type: 'variable';
|
|
1911
|
-
argName: ToolArgumentNameV3_56_01;
|
|
1912
|
-
variableName: StateVariableNameV3_56_0;
|
|
1913
|
-
}
|
|
1914
|
-
export interface AgentGenerateOptionsV3_56_0 {
|
|
1915
|
-
history?: HistoryV3_56_01;
|
|
1916
|
-
maxTokens?: MaximumTokensV3_56_01;
|
|
1917
|
-
temperature?: TemperatureV3_56_01;
|
|
1918
|
-
topP?: TopPV3_56_01;
|
|
1919
|
-
topK?: TopKV3_56_01;
|
|
1920
|
-
presencePenalty?: PresencePenaltySettingV3_56_01;
|
|
1921
|
-
frequencyPenalty?: FrequencyPenaltySettingV3_56_01;
|
|
1922
|
-
stopSequences?: StopSequencesV3_56_01;
|
|
1923
|
-
seed?: SeedV3_56_01;
|
|
1924
|
-
/**
|
|
1925
|
-
* Maximum number of retries. Set to 0 to disable retries. Defaults to 2
|
|
1926
|
-
*/
|
|
1927
|
-
maxRetries?: number;
|
|
1928
|
-
/**
|
|
1929
|
-
* The tool choice strategy. Default: 'auto'
|
|
1930
|
-
*/
|
|
1931
|
-
toolChoice?: (('auto' | 'none' | 'required') | string) & string;
|
|
1932
|
-
maxToolRoundtrips?: MaxToolRoundtripsV3_56_0;
|
|
1933
|
-
structuredOutputs?: StructuredOutputsV3_56_0;
|
|
1934
|
-
enableOpenAIFormat?: EnableOpenAISchemaFormatV3_56_0;
|
|
1935
|
-
removePropertyKeyPatterns?: RemovePropertyKeyPatternsV3_56_0;
|
|
1936
|
-
stripMarkdown?: StripMarkdownV3_56_0;
|
|
1937
|
-
}
|
|
1938
|
-
export interface AgentExecutionChatV3_56_0 {
|
|
1939
|
-
type: 'chat';
|
|
1940
|
-
service: string;
|
|
1941
|
-
model: string;
|
|
1942
|
-
systemPrompt?: string;
|
|
1943
|
-
input: AgentAIStateInputV3_56_0;
|
|
1944
|
-
artifact?: string;
|
|
1945
|
-
tools?: AgentToolConfigV3_56_0[];
|
|
1946
|
-
options?: AgentGenerateOptionsV3_56_0;
|
|
1947
|
-
}
|
|
1948
|
-
export interface AgentTransitionImmediateV3_56_0 {
|
|
1949
|
-
type: 'immediate';
|
|
1950
|
-
destination: string;
|
|
1951
|
-
condition?: string;
|
|
1952
|
-
limit?: number;
|
|
1953
|
-
sessionMemory?: AgentStateSessionMemoryV3_56_01;
|
|
1954
|
-
historyStrategy?: string;
|
|
1955
|
-
}
|
|
1956
|
-
export interface AgentGuardV3_56_0 {
|
|
1957
|
-
guardId: GuardIDV3_56_0;
|
|
1958
|
-
}
|
|
1959
|
-
export interface HistoryStrategyMapV3_56_0 {
|
|
1960
|
-
[k: string]: HistoryStrategyV3_56_0;
|
|
1961
|
-
}
|
|
1962
|
-
/**
|
|
1963
|
-
* This interface was referenced by `HistoryStrategyMapV3_56_0`'s JSON-Schema definition
|
|
1964
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1965
|
-
*/
|
|
1966
|
-
export interface HistoryStrategyV3_56_0 {
|
|
1967
|
-
name: string;
|
|
1968
|
-
variables?: VariablesV3_56_01;
|
|
1969
|
-
filter?: HistoryStrategyFilterV3_56_0;
|
|
1970
|
-
transform: HistoryStrategyTransformV3_56_0;
|
|
1971
|
-
}
|
|
1972
|
-
export interface HistoryStrategyFilterV3_56_0 {
|
|
1973
|
-
toolCalls?: 'retain' | 'clear';
|
|
1974
|
-
}
|
|
1975
|
-
export interface HistoryStrategyTransformNoneV3_56_0 {
|
|
1976
|
-
type: 'none';
|
|
1977
|
-
}
|
|
1978
|
-
export interface HistoryStrategyTransformReplaceV3_56_0 {
|
|
1979
|
-
type: 'replace';
|
|
1980
|
-
template: string;
|
|
1981
|
-
}
|
|
1982
|
-
export interface HistoryStrategyTransformSummarizeV3_56_0 {
|
|
1983
|
-
type: 'generate';
|
|
1984
|
-
service: string;
|
|
1985
|
-
model: string;
|
|
1986
|
-
systemPrompt: string;
|
|
1987
|
-
tools?: AgentToolConfigV3_56_0[];
|
|
1988
|
-
options?: AgentGenerateOptionsV3_56_0;
|
|
1989
|
-
}
|
|
1990
|
-
export interface GuardMapV3_56_0 {
|
|
1991
|
-
[k: string]: GuardJSONV3_56_0;
|
|
1992
|
-
}
|
|
1993
|
-
/**
|
|
1994
|
-
* A Guard is a configuration for an AI guardrail that can check inputs and outputs and provide safety and compliance.
|
|
1995
|
-
*
|
|
1996
|
-
* This interface was referenced by `GuardMapV3_56_0`'s JSON-Schema definition
|
|
1997
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
1998
|
-
*/
|
|
1999
|
-
export interface GuardJSONV3_56_0 {
|
|
2000
|
-
name: NameV3_56_0;
|
|
2001
|
-
description?: DescriptionV3_56_0;
|
|
2002
|
-
enabled?: EnabledV3_56_0;
|
|
2003
|
-
guardrailIdentifier?: GuardrailIdentifierV3_56_0;
|
|
2004
|
-
guardrailVersion?: GuardrailVersionV3_56_0;
|
|
2005
|
-
blockedInputMessaging?: BlockedInputMessagingV3_56_0;
|
|
2006
|
-
blockedOutputsMessaging?: BlockedOutputsMessagingV3_56_0;
|
|
2007
|
-
topicPolicyConfig?: TopicPolicyV3_56_0;
|
|
2008
|
-
contentPolicyConfig?: ContentPolicyV3_56_0;
|
|
2009
|
-
wordPolicyConfig?: WordPolicyV3_56_0;
|
|
2010
|
-
sensitiveInformationPolicyConfig?: SensitiveInformationPolicyV3_56_0;
|
|
2011
|
-
contextualGroundingPolicyConfig?: ContextualGroundingPolicyV3_56_0;
|
|
2012
|
-
}
|
|
2013
|
-
/**
|
|
2014
|
-
* Topics to identify and block.
|
|
2015
|
-
*/
|
|
2016
|
-
export interface TopicPolicyV3_56_0 {
|
|
2017
|
-
topicsConfig: TopicV3_56_0;
|
|
2018
|
-
}
|
|
2019
|
-
/**
|
|
2020
|
-
* Types of content to filter and strength configuration.
|
|
2021
|
-
*/
|
|
2022
|
-
export interface ContentPolicyV3_56_0 {
|
|
2023
|
-
filtersConfig: FilterV3_56_0;
|
|
2024
|
-
}
|
|
2025
|
-
/**
|
|
2026
|
-
* Specific words to identify and block.
|
|
2027
|
-
*/
|
|
2028
|
-
export interface WordPolicyV3_56_0 {
|
|
2029
|
-
wordsConfig?: WordListV3_56_0;
|
|
2030
|
-
managedWordListsConfig?: ManagedWordListV3_56_0;
|
|
2031
|
-
}
|
|
2032
|
-
/**
|
|
2033
|
-
* Filter out and block or obscure sensitive information. Matching text will be handled per the policy.
|
|
2034
|
-
*/
|
|
2035
|
-
export interface SensitiveInformationPolicyV3_56_0 {
|
|
2036
|
-
piiEntitiesConfig?: PIIEntityV3_56_0;
|
|
2037
|
-
regexesConfig?: RegularExpressionV3_56_0;
|
|
2038
|
-
}
|
|
2039
|
-
/**
|
|
2040
|
-
* Provides evaluations based on grounding text supplied by your in-context agent variables. Off-topic conversations can then be blocked.
|
|
2041
|
-
*/
|
|
2042
|
-
export interface ContextualGroundingPolicyV3_56_0 {
|
|
2043
|
-
filtersConfig: FilterV3_56_01;
|
|
2044
|
-
}
|
|
2045
|
-
export interface MCPServerConfigurationV3_56_0 {
|
|
2046
|
-
tools?: ToolMapV3_56_0;
|
|
2047
|
-
}
|
|
2048
|
-
export interface ToolMapV3_56_0 {
|
|
2049
|
-
[k: string]: ToolJSONV3_56_0;
|
|
2050
|
-
}
|
|
2051
|
-
/**
|
|
2052
|
-
* This interface was referenced by `ToolMapV3_56_0`'s JSON-Schema definition
|
|
2053
|
-
* via the `patternProperty` "^[0-9A-Za-z_]+$".
|
|
2054
|
-
*/
|
|
2055
|
-
export interface ToolJSONV3_56_0 {
|
|
2056
|
-
name: string;
|
|
2057
|
-
ref: string;
|
|
2058
|
-
description?: string;
|
|
2059
|
-
args?: ToolArgV3_56_0[];
|
|
2060
|
-
selectionSet?: string;
|
|
2061
|
-
}
|
|
2062
|
-
/**
|
|
2063
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2064
|
-
* via the `definition` "formMap".
|
|
2065
|
-
*/
|
|
2066
|
-
export interface FormMapV3_56_0 {
|
|
2067
|
-
[k: string]: FormsConfigV3_56_0;
|
|
2068
|
-
}
|
|
2069
|
-
/**
|
|
2070
|
-
* This interface was referenced by `FormMapV3_56_0`'s JSON-Schema definition
|
|
2071
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
2072
|
-
*
|
|
2073
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2074
|
-
* via the `definition` "formsConfig".
|
|
2075
|
-
*/
|
|
2076
|
-
export interface FormsConfigV3_56_0 {
|
|
2077
|
-
default: FormConfigV3_56_0;
|
|
2078
|
-
[k: string]: FormConfigV3_56_0;
|
|
2079
|
-
}
|
|
2080
|
-
/**
|
|
2081
|
-
* This interface was referenced by `FormsConfigV3_56_0`'s JSON-Schema definition
|
|
2082
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
2083
|
-
*
|
|
2084
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
2085
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
2086
|
-
*
|
|
2087
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2088
|
-
* via the `definition` "formConfig".
|
|
2089
|
-
*/
|
|
2090
|
-
export interface FormConfigV3_56_0 {
|
|
2091
|
-
[k: string]: any;
|
|
2092
|
-
}
|
|
2093
|
-
/**
|
|
2094
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2095
|
-
* via the `definition` "workflowMap".
|
|
2096
|
-
*/
|
|
2097
|
-
export interface WorkflowMapV3_56_0 {
|
|
2098
|
-
[k: string]: WorkflowV3_56_0;
|
|
2099
|
-
}
|
|
2100
|
-
/**
|
|
2101
|
-
* This interface was referenced by `WorkflowMapV3_56_0`'s JSON-Schema definition
|
|
2102
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
2103
|
-
*
|
|
2104
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2105
|
-
* via the `definition` "workflow".
|
|
2106
|
-
*/
|
|
2107
|
-
export interface WorkflowV3_56_0 {
|
|
2108
|
-
/**
|
|
2109
|
-
* machine-readable id
|
|
2110
|
-
*/
|
|
2111
|
-
name: string;
|
|
2112
|
-
title: WorkflowNameV3_56_0;
|
|
2113
|
-
steps: StepsV3_56_0;
|
|
2114
|
-
[k: string]: any;
|
|
2115
|
-
}
|
|
2116
|
-
/**
|
|
2117
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2118
|
-
* via the `definition` "workflowStep".
|
|
2119
|
-
*/
|
|
2120
|
-
export interface WorkflowStepV3_56_0 {
|
|
2121
|
-
name: NameV3_56_01;
|
|
2122
|
-
title: TitleV3_56_0;
|
|
2123
|
-
description?: DescriptionV3_56_01;
|
|
2124
|
-
color: ColorV3_56_0;
|
|
2125
|
-
live: LiveV3_56_0;
|
|
2126
|
-
key: KeyV3_56_0;
|
|
2127
|
-
}
|
|
2128
|
-
/**
|
|
2129
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2130
|
-
* via the `definition` "storedServiceMap".
|
|
2131
|
-
*/
|
|
2132
|
-
export interface ServiceMapJSONV3_56_0 {
|
|
2133
|
-
[k: string]: ServiceConfigJSONV3_56_0;
|
|
2134
|
-
}
|
|
2135
|
-
/**
|
|
2136
|
-
* This interface was referenced by `ServiceMapJSONV3_56_0`'s JSON-Schema definition
|
|
2137
|
-
* via the `patternProperty` "[0-9A-Za-z_-]+".
|
|
2138
|
-
*
|
|
2139
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2140
|
-
* via the `definition` "storedServiceConfig".
|
|
2141
|
-
*/
|
|
2142
|
-
export interface ServiceConfigJSONV3_56_0 {
|
|
2143
|
-
/**
|
|
2144
|
-
* Machine-readable identifier, should typically be the same as the property name on the services object.
|
|
2145
|
-
*/
|
|
2146
|
-
id: string;
|
|
2147
|
-
/**
|
|
2148
|
-
* Human-readable name for this service.
|
|
2149
|
-
*/
|
|
2150
|
-
title: string;
|
|
2151
|
-
/**
|
|
2152
|
-
* The service provider id.
|
|
2153
|
-
*/
|
|
2154
|
-
provider: string;
|
|
2155
|
-
/**
|
|
2156
|
-
* A namespace to use for the imported types tied to this service.
|
|
2157
|
-
*/
|
|
2158
|
-
namespace?: string;
|
|
2159
|
-
serviceType: ServiceTypeV3_56_0;
|
|
2160
|
-
authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
|
|
2161
|
-
authentication?: string;
|
|
2162
|
-
healthCheck?: ServiceHealthCheckV3_56_0;
|
|
2163
|
-
webhookId?: string;
|
|
2164
|
-
/**
|
|
2165
|
-
* Configuration options passed to and handled by the provider.
|
|
2166
|
-
*/
|
|
2167
|
-
options?: {
|
|
2168
|
-
[k: string]: any;
|
|
2169
|
-
};
|
|
2170
|
-
}
|
|
2171
|
-
/**
|
|
2172
|
-
* Configuration for ping health checks.
|
|
2173
|
-
*
|
|
2174
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2175
|
-
* via the `definition` "serviceHealthCheck".
|
|
2176
|
-
*/
|
|
2177
|
-
export interface ServiceHealthCheckV3_56_0 {
|
|
2178
|
-
checkName: CheckNameV3_56_0;
|
|
2179
|
-
endpoint?: EndpointV3_56_0;
|
|
2180
|
-
requestMethod?: RequestMethodV3_56_0;
|
|
2181
|
-
requestHeaders?: RequestHeadersV3_56_0;
|
|
2182
|
-
requestSearchParams?: RequestSearchParamsV3_56_0;
|
|
2183
|
-
requestBody?: RequestBodyV3_56_0;
|
|
2184
|
-
requestBodyFormat?: RequestBodyFormatV3_56_0;
|
|
2185
|
-
requestTimeout?: RequestTimeoutV3_56_0;
|
|
2186
|
-
healthyResponseStatusCode?: HealthyResponseStatusCodeV3_56_0;
|
|
2187
|
-
triggers?: ServiceHealthCheckTriggerV3_56_0[];
|
|
2188
|
-
}
|
|
2189
|
-
/**
|
|
2190
|
-
* Any custom headers to set with the health check request.
|
|
2191
|
-
*/
|
|
2192
|
-
export interface RequestHeadersV3_56_0 {
|
|
2193
|
-
[k: string]: any;
|
|
2194
|
-
}
|
|
2195
|
-
/**
|
|
2196
|
-
* Any custom search params to set with the health check request.
|
|
2197
|
-
*/
|
|
2198
|
-
export interface RequestSearchParamsV3_56_0 {
|
|
2199
|
-
[k: string]: any;
|
|
2200
|
-
}
|
|
2201
|
-
/**
|
|
2202
|
-
* All possible options for the more specific ParameterSerializeStyleOptions types.
|
|
2203
|
-
*
|
|
2204
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2205
|
-
* via the `definition` "parameterSerializeStyleOptions".
|
|
2206
|
-
*/
|
|
2207
|
-
export interface ParameterSerializeStyleOptionsV3_56_0 {
|
|
2208
|
-
style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
|
|
2209
|
-
explode?: boolean;
|
|
2210
|
-
allowEmptyValue?: boolean;
|
|
2211
|
-
/**
|
|
2212
|
-
* The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
|
|
2213
|
-
*/
|
|
2214
|
-
allowReserved?: boolean;
|
|
2215
|
-
skipEncoding?: boolean;
|
|
2216
|
-
}
|
|
2217
|
-
/**
|
|
2218
|
-
* All possible options for the more specific ParameterSerializeConfig types.
|
|
2219
|
-
*
|
|
2220
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2221
|
-
* via the `definition` "parameterSerializeConfig".
|
|
2222
|
-
*/
|
|
2223
|
-
export interface ParameterSerializeConfigV3_56_0 {
|
|
2224
|
-
content?: ParameterSerializeContentOptionsV3_56_0;
|
|
2225
|
-
defaults?: ParameterSerializeOptionsV3_56_0;
|
|
2226
|
-
paths?: {
|
|
2227
|
-
[k: string]: ParameterSerializeOptionsV3_56_0;
|
|
2228
|
-
};
|
|
2229
|
-
}
|
|
2230
|
-
/**
|
|
2231
|
-
* All possible options for the more specific ParameterConfig types.
|
|
2232
|
-
*
|
|
2233
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2234
|
-
* via the `definition` "parameterConfig".
|
|
2235
|
-
*/
|
|
2236
|
-
export interface ParameterConfigV3_56_0 {
|
|
2237
|
-
ops: ParameterOpListV3_56_0;
|
|
2238
|
-
serialize?: ParameterSerializeConfigV3_56_0;
|
|
2239
|
-
}
|
|
2240
|
-
/**
|
|
2241
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2242
|
-
* via the `definition` "aiParseFileResolverOptions".
|
|
2243
|
-
*/
|
|
2244
|
-
export interface AIParseFileResolverOptionsV3_56_0 {
|
|
2245
|
-
[k: string]: any;
|
|
2246
|
-
}
|
|
2247
|
-
/**
|
|
2248
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2249
|
-
* via the `definition` "listQueryLoaderConfig".
|
|
2250
|
-
*/
|
|
2251
|
-
export interface ListQueryLoaderConfigV3_56_0 {
|
|
2252
|
-
query: string;
|
|
2253
|
-
args?: {
|
|
2254
|
-
[k: string]: any;
|
|
2255
|
-
};
|
|
2256
|
-
pagination?: PaginationConfigV3_56_0;
|
|
2257
|
-
}
|
|
2258
|
-
/**
|
|
2259
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2260
|
-
* via the `definition` "formScalarConfig".
|
|
2261
|
-
*/
|
|
2262
|
-
export interface FormScalarConfigV3_56_0 {
|
|
2263
|
-
widget: string;
|
|
2264
|
-
}
|
|
2265
|
-
/**
|
|
2266
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2267
|
-
* via the `definition` "formObjectConfig".
|
|
2268
|
-
*/
|
|
2269
|
-
export interface FormObjectConfigV3_56_0 {
|
|
2270
|
-
widget?: string;
|
|
2271
|
-
order?: string[];
|
|
2272
|
-
properties?: {
|
|
2273
|
-
[k: string]: FormConfigV3_56_0;
|
|
2274
|
-
};
|
|
2275
|
-
}
|
|
2276
|
-
/**
|
|
2277
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2278
|
-
* via the `definition` "formArrayConfig".
|
|
2279
|
-
*/
|
|
2280
|
-
export interface FormArrayConfigV3_56_0 {
|
|
2281
|
-
widget: string;
|
|
2282
|
-
items: FormConfigV3_56_0;
|
|
2283
|
-
}
|
|
2284
|
-
/**
|
|
2285
|
-
* For use with a custom auth handler on a service provider.
|
|
2286
|
-
*
|
|
2287
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2288
|
-
* via the `definition` "customAuthentication".
|
|
2289
|
-
*/
|
|
2290
|
-
export interface CustomAuthenticationV3_56_0 {
|
|
2291
|
-
type: 'custom';
|
|
2292
|
-
[k: string]: any;
|
|
2293
|
-
}
|
|
2294
|
-
/**
|
|
2295
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2296
|
-
* via the `definition` "searchParamsAuthentication".
|
|
2297
|
-
*/
|
|
2298
|
-
export interface SearchParamsAuthenticationV3_56_0 {
|
|
2299
|
-
type: 'searchParams';
|
|
2300
|
-
params: {
|
|
2301
|
-
name: string;
|
|
2302
|
-
value: string;
|
|
2303
|
-
}[];
|
|
2304
|
-
}
|
|
2305
|
-
/**
|
|
2306
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2307
|
-
* via the `definition` "bearerAuthentication".
|
|
2308
|
-
*/
|
|
2309
|
-
export interface BearerAuthenticationV3_56_0 {
|
|
2310
|
-
type: 'bearer';
|
|
2311
|
-
token: string;
|
|
2312
|
-
prefix?: string;
|
|
2313
|
-
header?: string;
|
|
2314
|
-
}
|
|
2315
|
-
/**
|
|
2316
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2317
|
-
* via the `definition` "oauth2BearerAuthentication".
|
|
2318
|
-
*/
|
|
2319
|
-
export interface OAuth2BearerAuthenticationV3_56_0 {
|
|
2320
|
-
type: 'oauth2Bearer';
|
|
2321
|
-
token: string;
|
|
2322
|
-
prefix?: string;
|
|
2323
|
-
header?: string;
|
|
2324
|
-
scope?: string;
|
|
2325
|
-
expiresAt?: string;
|
|
2326
|
-
}
|
|
2327
|
-
/**
|
|
2328
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2329
|
-
* via the `definition` "basicAuthentication".
|
|
2330
|
-
*/
|
|
2331
|
-
export interface BasicAuthenticationV3_56_0 {
|
|
2332
|
-
type: 'basic';
|
|
2333
|
-
username: string;
|
|
2334
|
-
password: string;
|
|
2335
|
-
useIso8859?: boolean;
|
|
2336
|
-
}
|
|
2337
|
-
/**
|
|
2338
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2339
|
-
* via the `definition` "oauth2Authentication".
|
|
2340
|
-
*/
|
|
2341
|
-
export interface OAuth2AuthenticationV3_56_0 {
|
|
2342
|
-
type: 'oauth2';
|
|
2343
|
-
grantType: 'authorizationCode' | 'clientCredentials';
|
|
2344
|
-
authorizationUrl?: string;
|
|
2345
|
-
accessTokenUrl?: string;
|
|
2346
|
-
clientId: string;
|
|
2347
|
-
clientSecret?: string;
|
|
2348
|
-
scope?: string;
|
|
2349
|
-
usePkce?: boolean;
|
|
2350
|
-
redirectUrl?: string;
|
|
2351
|
-
headerPrefix?: string;
|
|
2352
|
-
audience?: string;
|
|
2353
|
-
resource?: string;
|
|
2354
|
-
}
|
|
2355
|
-
/**
|
|
2356
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2357
|
-
* via the `definition` "awsAuthentication".
|
|
2358
|
-
*/
|
|
2359
|
-
export interface AWSAuthenticationV3_56_0 {
|
|
2360
|
-
type: 'aws';
|
|
2361
|
-
awsAccessKeyId: string;
|
|
2362
|
-
awsSecretAccessKey: string;
|
|
2363
|
-
}
|
|
2364
|
-
/**
|
|
2365
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2366
|
-
* via the `definition` "googleAuthentication".
|
|
2367
|
-
*/
|
|
2368
|
-
export interface GoogleAuthenticationV3_56_0 {
|
|
2369
|
-
type: 'google';
|
|
2370
|
-
clientEmail: string;
|
|
2371
|
-
privateKey: string;
|
|
2372
|
-
}
|
|
2373
|
-
/**
|
|
2374
|
-
* This interface was referenced by `ProjectSchemaJSONV3_56_0`'s JSON-Schema
|
|
2375
|
-
* via the `definition` "serviceConfig".
|
|
2376
|
-
*/
|
|
2377
|
-
export interface ServiceConfigV3_56_0 {
|
|
2378
|
-
/**
|
|
2379
|
-
* Machine-readable identifier, should typically be the same as the property name on the services object.
|
|
2380
|
-
*/
|
|
2381
|
-
id: string;
|
|
2382
|
-
/**
|
|
2383
|
-
* Human-readable name for this service.
|
|
2384
|
-
*/
|
|
2385
|
-
title: string;
|
|
2386
|
-
/**
|
|
2387
|
-
* The service provider id.
|
|
2388
|
-
*/
|
|
2389
|
-
provider: string;
|
|
2390
|
-
/**
|
|
2391
|
-
* A namespace to use for the imported types tied to this service.
|
|
2392
|
-
*/
|
|
2393
|
-
namespace?: string;
|
|
2394
|
-
serviceType: ServiceTypeV3_56_0;
|
|
2395
|
-
authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'google' | 'none' | 'unknown';
|
|
2396
|
-
authentication?: ServiceAuthenticationV3_56_0;
|
|
2397
|
-
healthCheck?: ServiceHealthCheckV3_56_0;
|
|
2398
|
-
webhookId?: string;
|
|
2399
|
-
/**
|
|
2400
|
-
* Configuration options passed to and handled by the provider.
|
|
2401
|
-
*/
|
|
2402
|
-
options?: {
|
|
2403
|
-
[k: string]: any;
|
|
2404
|
-
};
|
|
2405
|
-
}
|