@proveanything/smartlinks 2.1.39 → 2.1.41
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/README.md +754 -754
- package/dist/README.md +573 -573
- package/dist/adminCardsView.js +55 -55
- package/dist/adminViews.d.ts +1 -1
- package/dist/adminViews.js +3 -1
- package/dist/ai-tools.d.ts +2 -1
- package/dist/ai-tools.js +3 -0
- package/dist/api/ai.d.ts +2 -21
- package/dist/api/ai.js +0 -35
- package/dist/api/collection.d.ts +8 -1
- package/dist/api/collection.js +10 -0
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.js +1 -0
- package/dist/api/knowledge.d.ts +64 -0
- package/dist/api/knowledge.js +97 -0
- package/dist/baseline.css +194 -194
- package/dist/docs/API_SUMMARY.md +1046 -964
- package/dist/docs/admin-cards.md +189 -189
- package/dist/docs/admin-views.md +257 -255
- package/dist/docs/agent-tools.md +156 -156
- package/dist/docs/ai-tools-and-skills.md +180 -180
- package/dist/docs/ai.md +1721 -1834
- package/dist/docs/analytics.md +39 -39
- package/dist/docs/app-data-storage.md +277 -277
- package/dist/docs/app-docs.md +73 -73
- package/dist/docs/app-manifest.md +852 -852
- package/dist/docs/app-records-pattern.md +388 -388
- package/dist/docs/appConfig.md +550 -550
- package/dist/docs/assistant-apps.md +172 -172
- package/dist/docs/assistant-context.md +119 -119
- package/dist/docs/bookings.md +442 -442
- package/dist/docs/comms.md +686 -686
- package/dist/docs/connectors.md +340 -340
- package/dist/docs/css-baseline.md +133 -133
- package/dist/docs/customer-guide.md +70 -70
- package/dist/docs/deploying-apps.md +340 -340
- package/dist/docs/entitlements.md +90 -90
- package/dist/docs/files.md +69 -69
- package/dist/docs/host-dependency-contract.md +210 -210
- package/dist/docs/integrations.md +322 -322
- package/dist/docs/interactions.md +545 -545
- package/dist/docs/item-context.md +181 -181
- package/dist/docs/knowledge.md +102 -0
- package/dist/docs/lots.md +111 -111
- package/dist/docs/loyalty.md +352 -352
- package/dist/docs/members.md +182 -182
- package/dist/docs/mobile-admin-container.md +693 -693
- package/dist/docs/operations.md +281 -281
- package/dist/docs/overview.md +482 -482
- package/dist/docs/proof-comms-triggers.md +142 -142
- package/dist/docs/proof-ownership-transfer.md +155 -155
- package/dist/docs/proof-product-data-scoping.md +462 -462
- package/dist/docs/proof-share-grants.md +305 -305
- package/dist/docs/realtime.md +138 -138
- package/dist/docs/records-admin-pattern.md +304 -304
- package/dist/docs/standard-query.md +187 -187
- package/dist/docs/tag-codes.md +97 -97
- package/dist/docs/theme-tokens.md +252 -252
- package/dist/docs/wallet-passes.md +107 -107
- package/dist/docs/websites.md +123 -123
- package/dist/openapi.yaml +320 -306
- package/dist/theme-boot.js +78 -78
- package/dist/theme.css +75 -75
- package/dist/types/ai.d.ts +9 -91
- package/dist/types/appManifest.d.ts +21 -0
- package/dist/types/collection.d.ts +26 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/knowledge.d.ts +120 -0
- package/dist/types/knowledge.js +2 -0
- package/docs/API_SUMMARY.md +1046 -964
- package/docs/admin-cards.md +189 -189
- package/docs/admin-views.md +257 -255
- package/docs/agent-tools.md +156 -156
- package/docs/ai-tools-and-skills.md +180 -180
- package/docs/ai.md +1721 -1834
- package/docs/analytics.md +39 -39
- package/docs/app-data-storage.md +277 -277
- package/docs/app-docs.md +73 -73
- package/docs/app-manifest.md +852 -852
- package/docs/app-records-pattern.md +388 -388
- package/docs/appConfig.md +550 -550
- package/docs/assistant-apps.md +172 -172
- package/docs/assistant-context.md +119 -119
- package/docs/bookings.md +442 -442
- package/docs/comms.md +686 -686
- package/docs/connectors.md +340 -340
- package/docs/css-baseline.md +133 -133
- package/docs/customer-guide.md +70 -70
- package/docs/deploying-apps.md +340 -340
- package/docs/entitlements.md +90 -90
- package/docs/files.md +69 -69
- package/docs/host-dependency-contract.md +210 -210
- package/docs/integrations.md +322 -322
- package/docs/interactions.md +545 -545
- package/docs/item-context.md +181 -181
- package/docs/knowledge.md +102 -0
- package/docs/lots.md +111 -111
- package/docs/loyalty.md +352 -352
- package/docs/members.md +182 -182
- package/docs/mobile-admin-container.md +693 -693
- package/docs/operations.md +281 -281
- package/docs/overview.md +482 -482
- package/docs/proof-comms-triggers.md +142 -142
- package/docs/proof-ownership-transfer.md +155 -155
- package/docs/proof-product-data-scoping.md +462 -462
- package/docs/proof-share-grants.md +305 -305
- package/docs/realtime.md +138 -138
- package/docs/standard-query.md +187 -187
- package/docs/tag-codes.md +97 -97
- package/docs/theme-lookbook.v1.json +120 -120
- package/docs/theme-tokens.md +252 -252
- package/docs/wallet-passes.md +107 -107
- package/docs/websites.md +123 -123
- package/openapi.yaml +320 -306
- package/package.json +87 -87
- package/scripts/headless-check.mjs +87 -87
- package/scripts/lib/bare-imports.mjs +57 -57
- package/scripts/lib/keyed-app-data.mjs +21 -21
- package/scripts/publish.mjs +272 -272
- package/scripts/register-release.mjs +91 -91
package/dist/openapi.yaml
CHANGED
|
@@ -24,8 +24,6 @@ tags:
|
|
|
24
24
|
description: Reusable agent skills.
|
|
25
25
|
- name: models
|
|
26
26
|
description: Available AI models and their metadata.
|
|
27
|
-
- name: rag
|
|
28
|
-
description: Retrieval-augmented generation and document indexing.
|
|
29
27
|
- name: sessions
|
|
30
28
|
description: Conversation session management.
|
|
31
29
|
- name: podcast
|
|
@@ -810,39 +808,6 @@ paths:
|
|
|
810
808
|
description: Unauthorized
|
|
811
809
|
404:
|
|
812
810
|
description: Not found
|
|
813
|
-
/admin/collection/{collectionId}/ai/configureAssistant:
|
|
814
|
-
post:
|
|
815
|
-
tags:
|
|
816
|
-
- rag
|
|
817
|
-
summary: Configure AI assistant behavior
|
|
818
|
-
operationId: rag_configureAssistant
|
|
819
|
-
security:
|
|
820
|
-
- bearerAuth: []
|
|
821
|
-
parameters:
|
|
822
|
-
- name: collectionId
|
|
823
|
-
in: path
|
|
824
|
-
required: true
|
|
825
|
-
schema:
|
|
826
|
-
type: string
|
|
827
|
-
responses:
|
|
828
|
-
200:
|
|
829
|
-
description: Success
|
|
830
|
-
content:
|
|
831
|
-
application/json:
|
|
832
|
-
schema:
|
|
833
|
-
$ref: "#/components/schemas/ConfigureAssistantResponse"
|
|
834
|
-
400:
|
|
835
|
-
description: Bad request
|
|
836
|
-
401:
|
|
837
|
-
description: Unauthorized
|
|
838
|
-
404:
|
|
839
|
-
description: Not found
|
|
840
|
-
requestBody:
|
|
841
|
-
required: true
|
|
842
|
-
content:
|
|
843
|
-
application/json:
|
|
844
|
-
schema:
|
|
845
|
-
$ref: "#/components/schemas/ConfigureAssistantRequest"
|
|
846
811
|
/admin/collection/{collectionId}/ai/createCache:
|
|
847
812
|
post:
|
|
848
813
|
tags:
|
|
@@ -936,39 +901,6 @@ paths:
|
|
|
936
901
|
application/json:
|
|
937
902
|
schema:
|
|
938
903
|
$ref: "#/components/schemas/GeneratePodcastRequest"
|
|
939
|
-
/admin/collection/{collectionId}/ai/indexDocument:
|
|
940
|
-
post:
|
|
941
|
-
tags:
|
|
942
|
-
- rag
|
|
943
|
-
summary: Index a document for RAG
|
|
944
|
-
operationId: rag_indexDocument
|
|
945
|
-
security:
|
|
946
|
-
- bearerAuth: []
|
|
947
|
-
parameters:
|
|
948
|
-
- name: collectionId
|
|
949
|
-
in: path
|
|
950
|
-
required: true
|
|
951
|
-
schema:
|
|
952
|
-
type: string
|
|
953
|
-
responses:
|
|
954
|
-
200:
|
|
955
|
-
description: Success
|
|
956
|
-
content:
|
|
957
|
-
application/json:
|
|
958
|
-
schema:
|
|
959
|
-
$ref: "#/components/schemas/IndexDocumentResponse"
|
|
960
|
-
400:
|
|
961
|
-
description: Bad request
|
|
962
|
-
401:
|
|
963
|
-
description: Unauthorized
|
|
964
|
-
404:
|
|
965
|
-
description: Not found
|
|
966
|
-
requestBody:
|
|
967
|
-
required: true
|
|
968
|
-
content:
|
|
969
|
-
application/json:
|
|
970
|
-
schema:
|
|
971
|
-
$ref: "#/components/schemas/IndexDocumentRequest"
|
|
972
904
|
/admin/collection/{collectionId}/ai/models:
|
|
973
905
|
get:
|
|
974
906
|
tags:
|
|
@@ -6630,7 +6562,7 @@ paths:
|
|
|
6630
6562
|
post:
|
|
6631
6563
|
tags:
|
|
6632
6564
|
- order
|
|
6633
|
-
summary:
|
|
6565
|
+
summary: order.getAnalytics
|
|
6634
6566
|
operationId: order_getAnalytics
|
|
6635
6567
|
security:
|
|
6636
6568
|
- bearerAuth: []
|
|
@@ -7319,7 +7251,7 @@ paths:
|
|
|
7319
7251
|
post:
|
|
7320
7252
|
tags:
|
|
7321
7253
|
- product
|
|
7322
|
-
summary:
|
|
7254
|
+
summary: product.create
|
|
7323
7255
|
operationId: product_create
|
|
7324
7256
|
security:
|
|
7325
7257
|
- bearerAuth: []
|
|
@@ -8543,7 +8475,7 @@ paths:
|
|
|
8543
8475
|
post:
|
|
8544
8476
|
tags:
|
|
8545
8477
|
- proof
|
|
8546
|
-
summary:
|
|
8478
|
+
summary: proof.query
|
|
8547
8479
|
operationId: proof_query
|
|
8548
8480
|
security:
|
|
8549
8481
|
- bearerAuth: []
|
|
@@ -8572,6 +8504,33 @@ paths:
|
|
|
8572
8504
|
application/json:
|
|
8573
8505
|
schema:
|
|
8574
8506
|
$ref: "#/components/schemas/StandardQuery"
|
|
8507
|
+
/admin/collection/{collectionId}/readiness:
|
|
8508
|
+
get:
|
|
8509
|
+
tags:
|
|
8510
|
+
- collection
|
|
8511
|
+
summary: "What the collection's installed apps need and whether it's there (sign-in, customers, products, something to claim), in plain words, each with the screen that fixes it."
|
|
8512
|
+
operationId: collection_readiness
|
|
8513
|
+
security:
|
|
8514
|
+
- bearerAuth: []
|
|
8515
|
+
parameters:
|
|
8516
|
+
- name: collectionId
|
|
8517
|
+
in: path
|
|
8518
|
+
required: true
|
|
8519
|
+
schema:
|
|
8520
|
+
type: string
|
|
8521
|
+
responses:
|
|
8522
|
+
200:
|
|
8523
|
+
description: Success
|
|
8524
|
+
content:
|
|
8525
|
+
application/json:
|
|
8526
|
+
schema:
|
|
8527
|
+
$ref: "#/components/schemas/CollectionReadiness"
|
|
8528
|
+
400:
|
|
8529
|
+
description: Bad request
|
|
8530
|
+
401:
|
|
8531
|
+
description: Unauthorized
|
|
8532
|
+
404:
|
|
8533
|
+
description: Not found
|
|
8575
8534
|
/admin/collection/{collectionId}/research/fetch:
|
|
8576
8535
|
post:
|
|
8577
8536
|
tags:
|
|
@@ -11750,38 +11709,6 @@ paths:
|
|
|
11750
11709
|
application/json:
|
|
11751
11710
|
schema:
|
|
11752
11711
|
$ref: "#/components/schemas/PublicAgentRunRequest"
|
|
11753
|
-
/public/collection/{collectionId}/ai/chat:
|
|
11754
|
-
post:
|
|
11755
|
-
tags:
|
|
11756
|
-
- publicClient
|
|
11757
|
-
summary: Chat with product assistant (RAG)
|
|
11758
|
-
operationId: publicClient_chat
|
|
11759
|
-
security: []
|
|
11760
|
-
parameters:
|
|
11761
|
-
- name: collectionId
|
|
11762
|
-
in: path
|
|
11763
|
-
required: true
|
|
11764
|
-
schema:
|
|
11765
|
-
type: string
|
|
11766
|
-
responses:
|
|
11767
|
-
200:
|
|
11768
|
-
description: Success
|
|
11769
|
-
content:
|
|
11770
|
-
application/json:
|
|
11771
|
-
schema:
|
|
11772
|
-
$ref: "#/components/schemas/PublicChatResponse"
|
|
11773
|
-
400:
|
|
11774
|
-
description: Bad request
|
|
11775
|
-
401:
|
|
11776
|
-
description: Unauthorized
|
|
11777
|
-
404:
|
|
11778
|
-
description: Not found
|
|
11779
|
-
requestBody:
|
|
11780
|
-
required: true
|
|
11781
|
-
content:
|
|
11782
|
-
application/json:
|
|
11783
|
-
schema:
|
|
11784
|
-
$ref: "#/components/schemas/PublicChatRequest"
|
|
11785
11712
|
/public/collection/{collectionId}/ai/rate-limit/{userId}:
|
|
11786
11713
|
get:
|
|
11787
11714
|
tags:
|
|
@@ -18319,209 +18246,6 @@ components:
|
|
|
18319
18246
|
required:
|
|
18320
18247
|
- object
|
|
18321
18248
|
- data
|
|
18322
|
-
DocumentChunk:
|
|
18323
|
-
type: object
|
|
18324
|
-
properties:
|
|
18325
|
-
text:
|
|
18326
|
-
type: string
|
|
18327
|
-
embedding:
|
|
18328
|
-
type: array
|
|
18329
|
-
items:
|
|
18330
|
-
type: number
|
|
18331
|
-
metadata:
|
|
18332
|
-
type: object
|
|
18333
|
-
additionalProperties: true
|
|
18334
|
-
chunkIndex:
|
|
18335
|
-
type: number
|
|
18336
|
-
documentId:
|
|
18337
|
-
type: string
|
|
18338
|
-
required:
|
|
18339
|
-
- text
|
|
18340
|
-
- embedding
|
|
18341
|
-
- metadata
|
|
18342
|
-
- chunkIndex
|
|
18343
|
-
- documentId
|
|
18344
|
-
IndexDocumentRequest:
|
|
18345
|
-
type: object
|
|
18346
|
-
properties:
|
|
18347
|
-
productId:
|
|
18348
|
-
type: string
|
|
18349
|
-
text:
|
|
18350
|
-
type: string
|
|
18351
|
-
documentUrl:
|
|
18352
|
-
type: string
|
|
18353
|
-
metadata:
|
|
18354
|
-
type: object
|
|
18355
|
-
additionalProperties: true
|
|
18356
|
-
chunkSize:
|
|
18357
|
-
type: number
|
|
18358
|
-
overlap:
|
|
18359
|
-
type: number
|
|
18360
|
-
provider:
|
|
18361
|
-
type: string
|
|
18362
|
-
enum:
|
|
18363
|
-
- openai
|
|
18364
|
-
- gemini
|
|
18365
|
-
required:
|
|
18366
|
-
- productId
|
|
18367
|
-
IndexDocumentResponse:
|
|
18368
|
-
type: object
|
|
18369
|
-
properties:
|
|
18370
|
-
success:
|
|
18371
|
-
type: boolean
|
|
18372
|
-
productId:
|
|
18373
|
-
type: string
|
|
18374
|
-
documentId:
|
|
18375
|
-
type: string
|
|
18376
|
-
chunks:
|
|
18377
|
-
type: number
|
|
18378
|
-
metadata:
|
|
18379
|
-
type: object
|
|
18380
|
-
additionalProperties: true
|
|
18381
|
-
textLength:
|
|
18382
|
-
type: number
|
|
18383
|
-
chunkSize:
|
|
18384
|
-
type: number
|
|
18385
|
-
overlap:
|
|
18386
|
-
type: number
|
|
18387
|
-
embeddingDimensions:
|
|
18388
|
-
type: number
|
|
18389
|
-
sample:
|
|
18390
|
-
type: object
|
|
18391
|
-
additionalProperties: true
|
|
18392
|
-
text:
|
|
18393
|
-
type: string
|
|
18394
|
-
chunkIndex:
|
|
18395
|
-
type: number
|
|
18396
|
-
required:
|
|
18397
|
-
- success
|
|
18398
|
-
- productId
|
|
18399
|
-
- documentId
|
|
18400
|
-
- chunks
|
|
18401
|
-
- metadata
|
|
18402
|
-
- textLength
|
|
18403
|
-
- chunkSize
|
|
18404
|
-
- overlap
|
|
18405
|
-
- embeddingDimensions
|
|
18406
|
-
- text
|
|
18407
|
-
- chunkIndex
|
|
18408
|
-
ConfigureAssistantRequest:
|
|
18409
|
-
type: object
|
|
18410
|
-
properties:
|
|
18411
|
-
productId:
|
|
18412
|
-
type: string
|
|
18413
|
-
systemPrompt:
|
|
18414
|
-
type: string
|
|
18415
|
-
model:
|
|
18416
|
-
type: string
|
|
18417
|
-
maxTokensPerResponse:
|
|
18418
|
-
type: number
|
|
18419
|
-
temperature:
|
|
18420
|
-
type: number
|
|
18421
|
-
rateLimitPerUser:
|
|
18422
|
-
type: number
|
|
18423
|
-
allowedTopics:
|
|
18424
|
-
type: array
|
|
18425
|
-
items:
|
|
18426
|
-
type: string
|
|
18427
|
-
customInstructions:
|
|
18428
|
-
type: object
|
|
18429
|
-
additionalProperties: true
|
|
18430
|
-
tone:
|
|
18431
|
-
type: string
|
|
18432
|
-
additionalRules:
|
|
18433
|
-
type: string
|
|
18434
|
-
required:
|
|
18435
|
-
- productId
|
|
18436
|
-
ConfigureAssistantResponse:
|
|
18437
|
-
type: object
|
|
18438
|
-
properties:
|
|
18439
|
-
success:
|
|
18440
|
-
type: boolean
|
|
18441
|
-
configuration:
|
|
18442
|
-
type: object
|
|
18443
|
-
additionalProperties: true
|
|
18444
|
-
productId:
|
|
18445
|
-
type: string
|
|
18446
|
-
systemPrompt:
|
|
18447
|
-
type: string
|
|
18448
|
-
model:
|
|
18449
|
-
type: string
|
|
18450
|
-
maxTokensPerResponse:
|
|
18451
|
-
type: number
|
|
18452
|
-
temperature:
|
|
18453
|
-
type: number
|
|
18454
|
-
rateLimitPerUser:
|
|
18455
|
-
type: number
|
|
18456
|
-
allowedTopics:
|
|
18457
|
-
type: array
|
|
18458
|
-
items:
|
|
18459
|
-
type: string
|
|
18460
|
-
customInstructions:
|
|
18461
|
-
type: object
|
|
18462
|
-
additionalProperties: true
|
|
18463
|
-
updatedAt:
|
|
18464
|
-
type: string
|
|
18465
|
-
required:
|
|
18466
|
-
- success
|
|
18467
|
-
- configuration
|
|
18468
|
-
- productId
|
|
18469
|
-
- systemPrompt
|
|
18470
|
-
- model
|
|
18471
|
-
- maxTokensPerResponse
|
|
18472
|
-
- temperature
|
|
18473
|
-
- rateLimitPerUser
|
|
18474
|
-
- allowedTopics
|
|
18475
|
-
- updatedAt
|
|
18476
|
-
PublicChatRequest:
|
|
18477
|
-
type: object
|
|
18478
|
-
properties:
|
|
18479
|
-
productId:
|
|
18480
|
-
type: string
|
|
18481
|
-
userId:
|
|
18482
|
-
type: string
|
|
18483
|
-
message:
|
|
18484
|
-
type: string
|
|
18485
|
-
sessionId:
|
|
18486
|
-
type: string
|
|
18487
|
-
stream:
|
|
18488
|
-
type: boolean
|
|
18489
|
-
required:
|
|
18490
|
-
- productId
|
|
18491
|
-
- userId
|
|
18492
|
-
- message
|
|
18493
|
-
PublicChatResponse:
|
|
18494
|
-
type: object
|
|
18495
|
-
properties:
|
|
18496
|
-
message:
|
|
18497
|
-
type: string
|
|
18498
|
-
sessionId:
|
|
18499
|
-
type: string
|
|
18500
|
-
usage:
|
|
18501
|
-
type: object
|
|
18502
|
-
additionalProperties: true
|
|
18503
|
-
prompt_tokens:
|
|
18504
|
-
type: number
|
|
18505
|
-
completion_tokens:
|
|
18506
|
-
type: number
|
|
18507
|
-
total_tokens:
|
|
18508
|
-
type: number
|
|
18509
|
-
context:
|
|
18510
|
-
type: object
|
|
18511
|
-
additionalProperties: true
|
|
18512
|
-
chunksUsed:
|
|
18513
|
-
type: number
|
|
18514
|
-
topSimilarity:
|
|
18515
|
-
type: number
|
|
18516
|
-
required:
|
|
18517
|
-
- message
|
|
18518
|
-
- sessionId
|
|
18519
|
-
- usage
|
|
18520
|
-
- prompt_tokens
|
|
18521
|
-
- completion_tokens
|
|
18522
|
-
- total_tokens
|
|
18523
|
-
- chunksUsed
|
|
18524
|
-
- topSimilarity
|
|
18525
18249
|
Session:
|
|
18526
18250
|
type: object
|
|
18527
18251
|
properties:
|
|
@@ -19772,6 +19496,14 @@ components:
|
|
|
19772
19496
|
- HEAD
|
|
19773
19497
|
required:
|
|
19774
19498
|
- url
|
|
19499
|
+
KnowledgeSearchArgs:
|
|
19500
|
+
type: object
|
|
19501
|
+
properties:
|
|
19502
|
+
query:
|
|
19503
|
+
type: object
|
|
19504
|
+
additionalProperties: true
|
|
19505
|
+
required:
|
|
19506
|
+
- query
|
|
19775
19507
|
TranslateArgs:
|
|
19776
19508
|
type: object
|
|
19777
19509
|
properties:
|
|
@@ -19835,6 +19567,8 @@ components:
|
|
|
19835
19567
|
$ref: "#/components/schemas/HttpRequestArgs"
|
|
19836
19568
|
translate:
|
|
19837
19569
|
$ref: "#/components/schemas/TranslateArgs"
|
|
19570
|
+
knowledge.search:
|
|
19571
|
+
$ref: "#/components/schemas/KnowledgeSearchArgs"
|
|
19838
19572
|
required:
|
|
19839
19573
|
- web.fetchPage
|
|
19840
19574
|
- web.extractSchema
|
|
@@ -19862,6 +19596,7 @@ components:
|
|
|
19862
19596
|
- pdf.printReady
|
|
19863
19597
|
- http.request
|
|
19864
19598
|
- translate
|
|
19599
|
+
- knowledge.search
|
|
19865
19600
|
WebSearchResultItem:
|
|
19866
19601
|
type: object
|
|
19867
19602
|
properties:
|
|
@@ -20293,6 +20028,7 @@ components:
|
|
|
20293
20028
|
- "media:image"
|
|
20294
20029
|
- "media:pdf"
|
|
20295
20030
|
- "net:http"
|
|
20031
|
+
- "knowledge:read"
|
|
20296
20032
|
AiToolName:
|
|
20297
20033
|
type: string
|
|
20298
20034
|
enum:
|
|
@@ -20322,6 +20058,7 @@ components:
|
|
|
20322
20058
|
- pdf.printReady
|
|
20323
20059
|
- http.request
|
|
20324
20060
|
- translate
|
|
20061
|
+
- knowledge.search
|
|
20325
20062
|
PdfColour:
|
|
20326
20063
|
type: object
|
|
20327
20064
|
additionalProperties: true
|
|
@@ -22371,6 +22108,10 @@ components:
|
|
|
22371
22108
|
type: array
|
|
22372
22109
|
items:
|
|
22373
22110
|
$ref: "#/components/schemas/AdminView"
|
|
22111
|
+
requires:
|
|
22112
|
+
type: array
|
|
22113
|
+
items:
|
|
22114
|
+
$ref: "#/components/schemas/AppRequirement"
|
|
22374
22115
|
executor:
|
|
22375
22116
|
$ref: "#/components/schemas/AppManifestExecutor"
|
|
22376
22117
|
functions:
|
|
@@ -22926,6 +22667,16 @@ components:
|
|
|
22926
22667
|
- admin
|
|
22927
22668
|
- customer
|
|
22928
22669
|
- developer
|
|
22670
|
+
AppNeed:
|
|
22671
|
+
type: string
|
|
22672
|
+
enum:
|
|
22673
|
+
- signIn
|
|
22674
|
+
- crm
|
|
22675
|
+
- products
|
|
22676
|
+
- claimableItems
|
|
22677
|
+
AppRequirement:
|
|
22678
|
+
type: object
|
|
22679
|
+
additionalProperties: true
|
|
22929
22680
|
PaginatedResponse:
|
|
22930
22681
|
type: object
|
|
22931
22682
|
properties:
|
|
@@ -28550,6 +28301,42 @@ components:
|
|
|
28550
28301
|
required:
|
|
28551
28302
|
- email
|
|
28552
28303
|
- access
|
|
28304
|
+
ReadinessItem:
|
|
28305
|
+
type: object
|
|
28306
|
+
properties:
|
|
28307
|
+
level:
|
|
28308
|
+
type: string
|
|
28309
|
+
enum:
|
|
28310
|
+
- problem
|
|
28311
|
+
- warning
|
|
28312
|
+
- info
|
|
28313
|
+
code:
|
|
28314
|
+
type: string
|
|
28315
|
+
message:
|
|
28316
|
+
type: string
|
|
28317
|
+
app:
|
|
28318
|
+
type: string
|
|
28319
|
+
appName:
|
|
28320
|
+
type: string
|
|
28321
|
+
fix:
|
|
28322
|
+
type: object
|
|
28323
|
+
additionalProperties: true
|
|
28324
|
+
required:
|
|
28325
|
+
- level
|
|
28326
|
+
- code
|
|
28327
|
+
- message
|
|
28328
|
+
CollectionReadiness:
|
|
28329
|
+
type: object
|
|
28330
|
+
properties:
|
|
28331
|
+
ready:
|
|
28332
|
+
type: boolean
|
|
28333
|
+
items:
|
|
28334
|
+
type: array
|
|
28335
|
+
items:
|
|
28336
|
+
$ref: "#/components/schemas/ReadinessItem"
|
|
28337
|
+
required:
|
|
28338
|
+
- ready
|
|
28339
|
+
- items
|
|
28553
28340
|
CollectionResponse:
|
|
28554
28341
|
$ref: "#/components/schemas/Collection"
|
|
28555
28342
|
CollectionCreateRequest:
|
|
@@ -33404,6 +33191,233 @@ components:
|
|
|
33404
33191
|
type: array
|
|
33405
33192
|
items:
|
|
33406
33193
|
type: string
|
|
33194
|
+
KnowledgeSet:
|
|
33195
|
+
type: object
|
|
33196
|
+
properties:
|
|
33197
|
+
id:
|
|
33198
|
+
type: string
|
|
33199
|
+
key:
|
|
33200
|
+
type: string
|
|
33201
|
+
name:
|
|
33202
|
+
type: string
|
|
33203
|
+
description:
|
|
33204
|
+
type: string
|
|
33205
|
+
visibility:
|
|
33206
|
+
$ref: "#/components/schemas/KnowledgeVisibility"
|
|
33207
|
+
ownerAppId:
|
|
33208
|
+
type: string
|
|
33209
|
+
embedModel:
|
|
33210
|
+
type: string
|
|
33211
|
+
createdAt:
|
|
33212
|
+
type: string
|
|
33213
|
+
updatedAt:
|
|
33214
|
+
type: string
|
|
33215
|
+
sourceCount:
|
|
33216
|
+
type: number
|
|
33217
|
+
passageCount:
|
|
33218
|
+
type: number
|
|
33219
|
+
required:
|
|
33220
|
+
- id
|
|
33221
|
+
- key
|
|
33222
|
+
- name
|
|
33223
|
+
- description
|
|
33224
|
+
- visibility
|
|
33225
|
+
- ownerAppId
|
|
33226
|
+
- embedModel
|
|
33227
|
+
- createdAt
|
|
33228
|
+
- updatedAt
|
|
33229
|
+
SaveKnowledgeSetRequest:
|
|
33230
|
+
type: object
|
|
33231
|
+
properties:
|
|
33232
|
+
key:
|
|
33233
|
+
type: string
|
|
33234
|
+
name:
|
|
33235
|
+
type: string
|
|
33236
|
+
description:
|
|
33237
|
+
type: string
|
|
33238
|
+
visibility:
|
|
33239
|
+
$ref: "#/components/schemas/KnowledgeVisibility"
|
|
33240
|
+
required:
|
|
33241
|
+
- key
|
|
33242
|
+
- name
|
|
33243
|
+
UpdateKnowledgeSetRequest:
|
|
33244
|
+
type: object
|
|
33245
|
+
properties:
|
|
33246
|
+
name:
|
|
33247
|
+
type: string
|
|
33248
|
+
description:
|
|
33249
|
+
type: string
|
|
33250
|
+
visibility:
|
|
33251
|
+
$ref: "#/components/schemas/KnowledgeVisibility"
|
|
33252
|
+
KnowledgeSource:
|
|
33253
|
+
type: object
|
|
33254
|
+
properties:
|
|
33255
|
+
id:
|
|
33256
|
+
type: string
|
|
33257
|
+
setId:
|
|
33258
|
+
type: string
|
|
33259
|
+
kind:
|
|
33260
|
+
$ref: "#/components/schemas/KnowledgeSourceKind"
|
|
33261
|
+
name:
|
|
33262
|
+
type: string
|
|
33263
|
+
config:
|
|
33264
|
+
type: object
|
|
33265
|
+
additionalProperties: true
|
|
33266
|
+
refreshHours:
|
|
33267
|
+
type: number
|
|
33268
|
+
status:
|
|
33269
|
+
type: string
|
|
33270
|
+
enum:
|
|
33271
|
+
- pending
|
|
33272
|
+
- indexing
|
|
33273
|
+
- ready
|
|
33274
|
+
- failed
|
|
33275
|
+
error:
|
|
33276
|
+
type: string
|
|
33277
|
+
passageCount:
|
|
33278
|
+
type: number
|
|
33279
|
+
lastIndexedAt:
|
|
33280
|
+
type: string
|
|
33281
|
+
createdAt:
|
|
33282
|
+
type: string
|
|
33283
|
+
updatedAt:
|
|
33284
|
+
type: string
|
|
33285
|
+
required:
|
|
33286
|
+
- id
|
|
33287
|
+
- setId
|
|
33288
|
+
- kind
|
|
33289
|
+
- name
|
|
33290
|
+
- config
|
|
33291
|
+
- refreshHours
|
|
33292
|
+
- status
|
|
33293
|
+
- error
|
|
33294
|
+
- passageCount
|
|
33295
|
+
- lastIndexedAt
|
|
33296
|
+
- createdAt
|
|
33297
|
+
- updatedAt
|
|
33298
|
+
AddKnowledgeSourceRequest:
|
|
33299
|
+
type: object
|
|
33300
|
+
properties:
|
|
33301
|
+
kind:
|
|
33302
|
+
$ref: "#/components/schemas/KnowledgeSourceKind"
|
|
33303
|
+
config:
|
|
33304
|
+
type: object
|
|
33305
|
+
additionalProperties: true
|
|
33306
|
+
name:
|
|
33307
|
+
type: string
|
|
33308
|
+
refreshHours:
|
|
33309
|
+
type: number
|
|
33310
|
+
required:
|
|
33311
|
+
- kind
|
|
33312
|
+
UpdateKnowledgeSourceRequest:
|
|
33313
|
+
type: object
|
|
33314
|
+
properties:
|
|
33315
|
+
config:
|
|
33316
|
+
type: object
|
|
33317
|
+
additionalProperties: true
|
|
33318
|
+
name:
|
|
33319
|
+
type: string
|
|
33320
|
+
refreshHours:
|
|
33321
|
+
type: number
|
|
33322
|
+
KnowledgeDocument:
|
|
33323
|
+
type: object
|
|
33324
|
+
properties:
|
|
33325
|
+
ref:
|
|
33326
|
+
type: string
|
|
33327
|
+
title:
|
|
33328
|
+
type: string
|
|
33329
|
+
body:
|
|
33330
|
+
type: string
|
|
33331
|
+
url:
|
|
33332
|
+
type: string
|
|
33333
|
+
meta:
|
|
33334
|
+
type: object
|
|
33335
|
+
additionalProperties: true
|
|
33336
|
+
required:
|
|
33337
|
+
- ref
|
|
33338
|
+
- title
|
|
33339
|
+
- body
|
|
33340
|
+
KnowledgeSearchRequest:
|
|
33341
|
+
type: object
|
|
33342
|
+
properties:
|
|
33343
|
+
query:
|
|
33344
|
+
type: string
|
|
33345
|
+
sets:
|
|
33346
|
+
type: array
|
|
33347
|
+
items:
|
|
33348
|
+
type: string
|
|
33349
|
+
filters:
|
|
33350
|
+
type: object
|
|
33351
|
+
additionalProperties: true
|
|
33352
|
+
k:
|
|
33353
|
+
type: number
|
|
33354
|
+
required:
|
|
33355
|
+
- query
|
|
33356
|
+
KnowledgeSearchResult:
|
|
33357
|
+
type: object
|
|
33358
|
+
properties:
|
|
33359
|
+
id:
|
|
33360
|
+
type: string
|
|
33361
|
+
title:
|
|
33362
|
+
type: string
|
|
33363
|
+
heading:
|
|
33364
|
+
type: string
|
|
33365
|
+
url:
|
|
33366
|
+
type: string
|
|
33367
|
+
snippet:
|
|
33368
|
+
type: string
|
|
33369
|
+
text:
|
|
33370
|
+
type: string
|
|
33371
|
+
score:
|
|
33372
|
+
type: number
|
|
33373
|
+
set:
|
|
33374
|
+
type: object
|
|
33375
|
+
additionalProperties: true
|
|
33376
|
+
sourceId:
|
|
33377
|
+
type: string
|
|
33378
|
+
meta:
|
|
33379
|
+
type: object
|
|
33380
|
+
additionalProperties: true
|
|
33381
|
+
required:
|
|
33382
|
+
- id
|
|
33383
|
+
- title
|
|
33384
|
+
- heading
|
|
33385
|
+
- url
|
|
33386
|
+
- snippet
|
|
33387
|
+
- text
|
|
33388
|
+
- score
|
|
33389
|
+
- set
|
|
33390
|
+
- sourceId
|
|
33391
|
+
- meta
|
|
33392
|
+
KnowledgeSearchResponse:
|
|
33393
|
+
type: object
|
|
33394
|
+
properties:
|
|
33395
|
+
query:
|
|
33396
|
+
type: string
|
|
33397
|
+
results:
|
|
33398
|
+
type: array
|
|
33399
|
+
items:
|
|
33400
|
+
$ref: "#/components/schemas/KnowledgeSearchResult"
|
|
33401
|
+
mode:
|
|
33402
|
+
type: string
|
|
33403
|
+
enum:
|
|
33404
|
+
- hybrid
|
|
33405
|
+
- keywords
|
|
33406
|
+
- none
|
|
33407
|
+
required:
|
|
33408
|
+
- query
|
|
33409
|
+
- results
|
|
33410
|
+
- mode
|
|
33411
|
+
KnowledgeVisibility:
|
|
33412
|
+
type: string
|
|
33413
|
+
enum:
|
|
33414
|
+
- public
|
|
33415
|
+
- customer
|
|
33416
|
+
- staff
|
|
33417
|
+
KnowledgeSourceKind:
|
|
33418
|
+
type: string
|
|
33419
|
+
enum:
|
|
33420
|
+
- markdown_feed
|
|
33407
33421
|
Location:
|
|
33408
33422
|
type: object
|
|
33409
33423
|
properties:
|