@breign/client 1.0.57 → 1.0.59
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/dist/apis/AppApi.d.ts +48 -1
- package/dist/apis/AppApi.js +110 -0
- package/dist/apis/ConversationsApi.d.ts +5 -5
- package/dist/apis/ConversationsApi.js +4 -3
- package/dist/models/AttachmentCreateRequestUio.d.ts +5 -39
- package/dist/models/AttachmentCreateRequestUio.js +22 -32
- package/dist/models/AttachmentCreateResponseUio.d.ts +24 -0
- package/dist/models/AttachmentCreateResponseUio.js +64 -0
- package/dist/models/AttachmentDetailsResponseUio.d.ts +23 -0
- package/dist/models/AttachmentDetailsResponseUio.js +57 -0
- package/dist/models/AttachmentTypeUio.d.ts +1 -0
- package/dist/models/AttachmentTypeUio.js +2 -1
- package/dist/models/AudioFillerExistsResponseUio.d.ts +32 -0
- package/dist/models/AudioFillerExistsResponseUio.js +50 -0
- package/dist/models/ChatContextAttachmentUio.d.ts +23 -0
- package/dist/models/ChatContextAttachmentUio.js +57 -0
- package/dist/models/ContextUio.d.ts +3 -3
- package/dist/models/ContextUio.js +3 -3
- package/dist/models/FileAttachmentCreateRequestUio.d.ts +63 -0
- package/dist/models/FileAttachmentCreateRequestUio.js +73 -0
- package/dist/models/FileAttachmentDetailsResponseUio.d.ts +89 -0
- package/dist/models/FileAttachmentDetailsResponseUio.js +85 -0
- package/dist/models/FileAttachmentProcessedOneOfUio.d.ts +9 -3
- package/dist/models/FileAttachmentProcessedOneOfUio.js +9 -3
- package/dist/models/FileAttachmentUio.d.ts +1 -1
- package/dist/models/FileAttachmentUploadResponseUio.d.ts +103 -0
- package/dist/models/FileAttachmentUploadResponseUio.js +93 -0
- package/dist/models/ImageAttachment1Uio.d.ts +94 -0
- package/dist/models/ImageAttachment1Uio.js +90 -0
- package/dist/models/ImageAttachmentCreateRequestUio.d.ts +69 -0
- package/dist/models/ImageAttachmentCreateRequestUio.js +75 -0
- package/dist/models/ImageAttachmentDetailsResponseUio.d.ts +94 -0
- package/dist/models/ImageAttachmentDetailsResponseUio.js +90 -0
- package/dist/models/ImageAttachmentUio.d.ts +94 -0
- package/dist/models/ImageAttachmentUio.js +90 -0
- package/dist/models/ImageAttachmentUploadResponseUio.d.ts +108 -0
- package/dist/models/ImageAttachmentUploadResponseUio.js +98 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/dist/openapi.json +425 -6
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -3036,6 +3036,16 @@
|
|
|
3036
3036
|
"required" : true
|
|
3037
3037
|
},
|
|
3038
3038
|
"responses" : {
|
|
3039
|
+
"201" : {
|
|
3040
|
+
"content" : {
|
|
3041
|
+
"application/json" : {
|
|
3042
|
+
"schema" : {
|
|
3043
|
+
"$ref" : "#/components/schemas/AttachmentCreateResponse"
|
|
3044
|
+
}
|
|
3045
|
+
}
|
|
3046
|
+
},
|
|
3047
|
+
"description" : "Attachment created"
|
|
3048
|
+
},
|
|
3039
3049
|
"400" : {
|
|
3040
3050
|
"description" : "Invalid request"
|
|
3041
3051
|
},
|
|
@@ -3119,7 +3129,7 @@
|
|
|
3119
3129
|
"content" : {
|
|
3120
3130
|
"application/json" : {
|
|
3121
3131
|
"schema" : {
|
|
3122
|
-
"$ref" : "#/components/schemas/
|
|
3132
|
+
"$ref" : "#/components/schemas/AttachmentDetailsResponse"
|
|
3123
3133
|
}
|
|
3124
3134
|
}
|
|
3125
3135
|
},
|
|
@@ -6116,6 +6126,184 @@
|
|
|
6116
6126
|
"summary" : "Get the status of a message",
|
|
6117
6127
|
"tags" : [ "prompts" ]
|
|
6118
6128
|
}
|
|
6129
|
+
},
|
|
6130
|
+
"/apps/{appId}/languages/{language}/fillers/{fillerId}/audio" : {
|
|
6131
|
+
"get" : {
|
|
6132
|
+
"description" : "Get audio filler by ID",
|
|
6133
|
+
"operationId" : "getAudioFillerById",
|
|
6134
|
+
"parameters" : [ {
|
|
6135
|
+
"description" : "ID of the app",
|
|
6136
|
+
"in" : "path",
|
|
6137
|
+
"name" : "appId",
|
|
6138
|
+
"required" : true,
|
|
6139
|
+
"schema" : {
|
|
6140
|
+
"type" : "string"
|
|
6141
|
+
}
|
|
6142
|
+
}, {
|
|
6143
|
+
"description" : "ID of the voice",
|
|
6144
|
+
"in" : "path",
|
|
6145
|
+
"name" : "voiceId",
|
|
6146
|
+
"required" : true,
|
|
6147
|
+
"schema" : {
|
|
6148
|
+
"type" : "string"
|
|
6149
|
+
}
|
|
6150
|
+
}, {
|
|
6151
|
+
"description" : "Language code",
|
|
6152
|
+
"in" : "path",
|
|
6153
|
+
"name" : "language",
|
|
6154
|
+
"required" : true,
|
|
6155
|
+
"schema" : {
|
|
6156
|
+
"type" : "string"
|
|
6157
|
+
}
|
|
6158
|
+
}, {
|
|
6159
|
+
"description" : "ID of the filler",
|
|
6160
|
+
"in" : "path",
|
|
6161
|
+
"name" : "fillerId",
|
|
6162
|
+
"required" : true,
|
|
6163
|
+
"schema" : {
|
|
6164
|
+
"type" : "string"
|
|
6165
|
+
}
|
|
6166
|
+
} ],
|
|
6167
|
+
"responses" : {
|
|
6168
|
+
"200" : {
|
|
6169
|
+
"content" : {
|
|
6170
|
+
"application/json" : {
|
|
6171
|
+
"schema" : {
|
|
6172
|
+
"$ref" : "#/components/schemas/AudioFile"
|
|
6173
|
+
}
|
|
6174
|
+
}
|
|
6175
|
+
},
|
|
6176
|
+
"description" : "Audio filler retrieved successfully"
|
|
6177
|
+
},
|
|
6178
|
+
"401" : {
|
|
6179
|
+
"description" : "Unauthorized"
|
|
6180
|
+
},
|
|
6181
|
+
"403" : {
|
|
6182
|
+
"description" : "Forbidden - User doesn't have access to this app"
|
|
6183
|
+
},
|
|
6184
|
+
"404" : {
|
|
6185
|
+
"description" : "Audio filler not found"
|
|
6186
|
+
},
|
|
6187
|
+
"500" : {
|
|
6188
|
+
"description" : "Server error"
|
|
6189
|
+
}
|
|
6190
|
+
},
|
|
6191
|
+
"summary" : "Get audio filler by ID",
|
|
6192
|
+
"tags" : [ "app" ]
|
|
6193
|
+
}
|
|
6194
|
+
},
|
|
6195
|
+
"/apps/{appId}/fillers" : {
|
|
6196
|
+
"get" : {
|
|
6197
|
+
"description" : "Check if audio filler exists",
|
|
6198
|
+
"operationId" : "checkAudioFillerExists",
|
|
6199
|
+
"parameters" : [ {
|
|
6200
|
+
"description" : "ID of the app",
|
|
6201
|
+
"in" : "path",
|
|
6202
|
+
"name" : "appId",
|
|
6203
|
+
"required" : true,
|
|
6204
|
+
"schema" : {
|
|
6205
|
+
"type" : "string"
|
|
6206
|
+
}
|
|
6207
|
+
}, {
|
|
6208
|
+
"description" : "Language code",
|
|
6209
|
+
"in" : "query",
|
|
6210
|
+
"name" : "lang",
|
|
6211
|
+
"schema" : {
|
|
6212
|
+
"type" : "string"
|
|
6213
|
+
}
|
|
6214
|
+
}, {
|
|
6215
|
+
"description" : "Fillers IDs",
|
|
6216
|
+
"in" : "query",
|
|
6217
|
+
"name" : "fillersIds",
|
|
6218
|
+
"schema" : {
|
|
6219
|
+
"type" : "string"
|
|
6220
|
+
}
|
|
6221
|
+
} ],
|
|
6222
|
+
"responses" : {
|
|
6223
|
+
"200" : {
|
|
6224
|
+
"content" : {
|
|
6225
|
+
"application/json" : {
|
|
6226
|
+
"schema" : {
|
|
6227
|
+
"$ref" : "#/components/schemas/AudioFillerExistsResponse"
|
|
6228
|
+
}
|
|
6229
|
+
}
|
|
6230
|
+
},
|
|
6231
|
+
"description" : "Audio filler exists"
|
|
6232
|
+
},
|
|
6233
|
+
"401" : {
|
|
6234
|
+
"description" : "Unauthorized"
|
|
6235
|
+
},
|
|
6236
|
+
"403" : {
|
|
6237
|
+
"description" : "Forbidden - User doesn't have access to this app"
|
|
6238
|
+
},
|
|
6239
|
+
"404" : {
|
|
6240
|
+
"description" : "Audio filler does not exist"
|
|
6241
|
+
},
|
|
6242
|
+
"500" : {
|
|
6243
|
+
"description" : "Server error"
|
|
6244
|
+
}
|
|
6245
|
+
},
|
|
6246
|
+
"summary" : "Check if audio filler exists",
|
|
6247
|
+
"tags" : [ "app" ]
|
|
6248
|
+
}
|
|
6249
|
+
},
|
|
6250
|
+
"/apps/{appId}/voice/{voiceId}/default-fillers/{fillerId}" : {
|
|
6251
|
+
"delete" : {
|
|
6252
|
+
"description" : "Delete a default filler",
|
|
6253
|
+
"operationId" : "deleteDefaultFiller",
|
|
6254
|
+
"parameters" : [ {
|
|
6255
|
+
"description" : "ID of the app",
|
|
6256
|
+
"in" : "path",
|
|
6257
|
+
"name" : "appId",
|
|
6258
|
+
"required" : true,
|
|
6259
|
+
"schema" : {
|
|
6260
|
+
"type" : "string"
|
|
6261
|
+
}
|
|
6262
|
+
}, {
|
|
6263
|
+
"description" : "ID of the voice",
|
|
6264
|
+
"in" : "path",
|
|
6265
|
+
"name" : "voiceId",
|
|
6266
|
+
"required" : true,
|
|
6267
|
+
"schema" : {
|
|
6268
|
+
"type" : "string"
|
|
6269
|
+
}
|
|
6270
|
+
}, {
|
|
6271
|
+
"description" : "Language code",
|
|
6272
|
+
"in" : "path",
|
|
6273
|
+
"name" : "language",
|
|
6274
|
+
"required" : true,
|
|
6275
|
+
"schema" : {
|
|
6276
|
+
"type" : "string"
|
|
6277
|
+
}
|
|
6278
|
+
}, {
|
|
6279
|
+
"description" : "ID of the filler",
|
|
6280
|
+
"in" : "path",
|
|
6281
|
+
"name" : "fillerId",
|
|
6282
|
+
"required" : true,
|
|
6283
|
+
"schema" : {
|
|
6284
|
+
"type" : "string"
|
|
6285
|
+
}
|
|
6286
|
+
} ],
|
|
6287
|
+
"responses" : {
|
|
6288
|
+
"204" : {
|
|
6289
|
+
"description" : "Default filler deleted successfully"
|
|
6290
|
+
},
|
|
6291
|
+
"401" : {
|
|
6292
|
+
"description" : "Unauthorized"
|
|
6293
|
+
},
|
|
6294
|
+
"403" : {
|
|
6295
|
+
"description" : "Forbidden - User doesn't have access to this app"
|
|
6296
|
+
},
|
|
6297
|
+
"404" : {
|
|
6298
|
+
"description" : "Default filler not found"
|
|
6299
|
+
},
|
|
6300
|
+
"500" : {
|
|
6301
|
+
"description" : "Server error"
|
|
6302
|
+
}
|
|
6303
|
+
},
|
|
6304
|
+
"summary" : "Delete a default filler",
|
|
6305
|
+
"tags" : [ "app" ]
|
|
6306
|
+
}
|
|
6119
6307
|
}
|
|
6120
6308
|
},
|
|
6121
6309
|
"components" : {
|
|
@@ -6425,9 +6613,62 @@
|
|
|
6425
6613
|
"schema" : {
|
|
6426
6614
|
"type" : "string"
|
|
6427
6615
|
}
|
|
6616
|
+
},
|
|
6617
|
+
"voiceIdPath" : {
|
|
6618
|
+
"description" : "ID of the voice",
|
|
6619
|
+
"in" : "path",
|
|
6620
|
+
"name" : "voiceId",
|
|
6621
|
+
"required" : true,
|
|
6622
|
+
"schema" : {
|
|
6623
|
+
"type" : "string"
|
|
6624
|
+
}
|
|
6625
|
+
},
|
|
6626
|
+
"languagePath" : {
|
|
6627
|
+
"description" : "Language code",
|
|
6628
|
+
"in" : "path",
|
|
6629
|
+
"name" : "language",
|
|
6630
|
+
"required" : true,
|
|
6631
|
+
"schema" : {
|
|
6632
|
+
"type" : "string"
|
|
6633
|
+
}
|
|
6634
|
+
},
|
|
6635
|
+
"fillerIdPath" : {
|
|
6636
|
+
"description" : "ID of the filler",
|
|
6637
|
+
"in" : "path",
|
|
6638
|
+
"name" : "fillerId",
|
|
6639
|
+
"required" : true,
|
|
6640
|
+
"schema" : {
|
|
6641
|
+
"type" : "string"
|
|
6642
|
+
}
|
|
6643
|
+
},
|
|
6644
|
+
"languageQuery" : {
|
|
6645
|
+
"description" : "Language code",
|
|
6646
|
+
"in" : "query",
|
|
6647
|
+
"name" : "lang",
|
|
6648
|
+
"schema" : {
|
|
6649
|
+
"type" : "string"
|
|
6650
|
+
}
|
|
6651
|
+
},
|
|
6652
|
+
"fillersIdsQuery" : {
|
|
6653
|
+
"description" : "Fillers IDs",
|
|
6654
|
+
"in" : "query",
|
|
6655
|
+
"name" : "fillersIds",
|
|
6656
|
+
"schema" : {
|
|
6657
|
+
"type" : "string"
|
|
6658
|
+
}
|
|
6428
6659
|
}
|
|
6429
6660
|
},
|
|
6430
6661
|
"schemas" : {
|
|
6662
|
+
"AudioFillerExistsResponse" : {
|
|
6663
|
+
"additionalProperties" : false,
|
|
6664
|
+
"properties" : {
|
|
6665
|
+
"exists" : {
|
|
6666
|
+
"type" : "boolean"
|
|
6667
|
+
}
|
|
6668
|
+
},
|
|
6669
|
+
"required" : [ "exists" ],
|
|
6670
|
+
"type" : "object"
|
|
6671
|
+
},
|
|
6431
6672
|
"ImageKnowledge" : {
|
|
6432
6673
|
"properties" : {
|
|
6433
6674
|
"id" : {
|
|
@@ -7619,7 +7860,6 @@
|
|
|
7619
7860
|
"type" : "string"
|
|
7620
7861
|
},
|
|
7621
7862
|
"url" : {
|
|
7622
|
-
"description" : "URL to access the attachment",
|
|
7623
7863
|
"type" : "string"
|
|
7624
7864
|
},
|
|
7625
7865
|
"status" : {
|
|
@@ -8496,7 +8736,7 @@
|
|
|
8496
8736
|
"properties" : {
|
|
8497
8737
|
"attachments" : {
|
|
8498
8738
|
"items" : {
|
|
8499
|
-
"$ref" : "#/components/schemas/
|
|
8739
|
+
"$ref" : "#/components/schemas/ChatContextAttachment"
|
|
8500
8740
|
},
|
|
8501
8741
|
"type" : "array"
|
|
8502
8742
|
}
|
|
@@ -8505,9 +8745,17 @@
|
|
|
8505
8745
|
"type" : "object"
|
|
8506
8746
|
},
|
|
8507
8747
|
"AttachmentCreateRequest" : {
|
|
8748
|
+
"oneOf" : [ {
|
|
8749
|
+
"$ref" : "#/components/schemas/FileAttachmentCreateRequest"
|
|
8750
|
+
}, {
|
|
8751
|
+
"$ref" : "#/components/schemas/ImageAttachmentCreateRequest"
|
|
8752
|
+
} ]
|
|
8753
|
+
},
|
|
8754
|
+
"FileAttachmentCreateRequest" : {
|
|
8508
8755
|
"properties" : {
|
|
8509
8756
|
"type" : {
|
|
8510
|
-
"
|
|
8757
|
+
"enum" : [ "file" ],
|
|
8758
|
+
"type" : "string"
|
|
8511
8759
|
},
|
|
8512
8760
|
"name" : {
|
|
8513
8761
|
"type" : "string"
|
|
@@ -8515,16 +8763,140 @@
|
|
|
8515
8763
|
"mimeType" : {
|
|
8516
8764
|
"type" : "string"
|
|
8517
8765
|
},
|
|
8766
|
+
"ext" : {
|
|
8767
|
+
"type" : "string"
|
|
8768
|
+
},
|
|
8518
8769
|
"size" : {
|
|
8519
8770
|
"type" : "number"
|
|
8771
|
+
}
|
|
8772
|
+
},
|
|
8773
|
+
"required" : [ "ext", "mimeType", "name", "size", "type" ],
|
|
8774
|
+
"type" : "object"
|
|
8775
|
+
},
|
|
8776
|
+
"ImageAttachmentCreateRequest" : {
|
|
8777
|
+
"properties" : {
|
|
8778
|
+
"type" : {
|
|
8779
|
+
"enum" : [ "image" ],
|
|
8780
|
+
"type" : "string"
|
|
8781
|
+
},
|
|
8782
|
+
"name" : {
|
|
8783
|
+
"type" : "string"
|
|
8784
|
+
},
|
|
8785
|
+
"mimeType" : {
|
|
8786
|
+
"type" : "string"
|
|
8520
8787
|
},
|
|
8521
8788
|
"ext" : {
|
|
8522
8789
|
"type" : "string"
|
|
8790
|
+
},
|
|
8791
|
+
"size" : {
|
|
8792
|
+
"type" : "number"
|
|
8793
|
+
},
|
|
8794
|
+
"dataUrl" : {
|
|
8795
|
+
"description" : "Optional inline base64 image data",
|
|
8796
|
+
"type" : "string"
|
|
8523
8797
|
}
|
|
8524
8798
|
},
|
|
8525
8799
|
"required" : [ "ext", "mimeType", "name", "size", "type" ],
|
|
8526
8800
|
"type" : "object"
|
|
8527
8801
|
},
|
|
8802
|
+
"AttachmentCreateResponse" : {
|
|
8803
|
+
"oneOf" : [ {
|
|
8804
|
+
"$ref" : "#/components/schemas/FileAttachmentUploadResponse"
|
|
8805
|
+
}, {
|
|
8806
|
+
"$ref" : "#/components/schemas/ImageAttachmentUploadResponse"
|
|
8807
|
+
}, {
|
|
8808
|
+
"$ref" : "#/components/schemas/ImageAttachmentInlineResponse"
|
|
8809
|
+
} ]
|
|
8810
|
+
},
|
|
8811
|
+
"FileAttachmentUploadResponse" : {
|
|
8812
|
+
"allOf" : [ {
|
|
8813
|
+
"$ref" : "#/components/schemas/FileAttachment"
|
|
8814
|
+
}, {
|
|
8815
|
+
"$ref" : "#/components/schemas/S3UploadBody"
|
|
8816
|
+
} ]
|
|
8817
|
+
},
|
|
8818
|
+
"ImageAttachmentUploadResponse" : {
|
|
8819
|
+
"allOf" : [ {
|
|
8820
|
+
"$ref" : "#/components/schemas/ImageAttachment_1"
|
|
8821
|
+
}, {
|
|
8822
|
+
"$ref" : "#/components/schemas/S3UploadBody"
|
|
8823
|
+
} ]
|
|
8824
|
+
},
|
|
8825
|
+
"ImageAttachmentInlineResponse" : {
|
|
8826
|
+
"$ref" : "#/components/schemas/ImageAttachment"
|
|
8827
|
+
},
|
|
8828
|
+
"ImageAttachment" : {
|
|
8829
|
+
"properties" : {
|
|
8830
|
+
"type" : {
|
|
8831
|
+
"enum" : [ "image" ],
|
|
8832
|
+
"type" : "string"
|
|
8833
|
+
},
|
|
8834
|
+
"id" : {
|
|
8835
|
+
"type" : "string"
|
|
8836
|
+
},
|
|
8837
|
+
"name" : {
|
|
8838
|
+
"type" : "string"
|
|
8839
|
+
},
|
|
8840
|
+
"mimeType" : {
|
|
8841
|
+
"type" : "string"
|
|
8842
|
+
},
|
|
8843
|
+
"ext" : {
|
|
8844
|
+
"type" : "string"
|
|
8845
|
+
},
|
|
8846
|
+
"size" : {
|
|
8847
|
+
"type" : "number"
|
|
8848
|
+
},
|
|
8849
|
+
"key" : {
|
|
8850
|
+
"type" : "string"
|
|
8851
|
+
},
|
|
8852
|
+
"url" : {
|
|
8853
|
+
"description" : "Presigned URL to access the image",
|
|
8854
|
+
"type" : "string"
|
|
8855
|
+
},
|
|
8856
|
+
"inlineDataUrl" : {
|
|
8857
|
+
"description" : "Base64 inline data URL (optional)",
|
|
8858
|
+
"type" : "string"
|
|
8859
|
+
},
|
|
8860
|
+
"status" : {
|
|
8861
|
+
"$ref" : "#/components/schemas/FileAttachmentStatus"
|
|
8862
|
+
}
|
|
8863
|
+
},
|
|
8864
|
+
"required" : [ "ext", "id", "key", "mimeType", "name", "size", "status", "type" ],
|
|
8865
|
+
"type" : "object"
|
|
8866
|
+
},
|
|
8867
|
+
"AttachmentDetailsResponse" : {
|
|
8868
|
+
"oneOf" : [ {
|
|
8869
|
+
"$ref" : "#/components/schemas/FileAttachmentDetailsResponse"
|
|
8870
|
+
}, {
|
|
8871
|
+
"$ref" : "#/components/schemas/ImageAttachmentDetailsResponse"
|
|
8872
|
+
} ]
|
|
8873
|
+
},
|
|
8874
|
+
"FileAttachmentDetailsResponse" : {
|
|
8875
|
+
"allOf" : [ {
|
|
8876
|
+
"$ref" : "#/components/schemas/FileAttachment"
|
|
8877
|
+
}, {
|
|
8878
|
+
"properties" : {
|
|
8879
|
+
"url" : {
|
|
8880
|
+
"description" : "Presigned download URL (if available)",
|
|
8881
|
+
"type" : "string"
|
|
8882
|
+
}
|
|
8883
|
+
},
|
|
8884
|
+
"type" : "object"
|
|
8885
|
+
} ]
|
|
8886
|
+
},
|
|
8887
|
+
"ImageAttachmentDetailsResponse" : {
|
|
8888
|
+
"allOf" : [ {
|
|
8889
|
+
"$ref" : "#/components/schemas/ImageAttachment_1"
|
|
8890
|
+
}, {
|
|
8891
|
+
"properties" : {
|
|
8892
|
+
"url" : {
|
|
8893
|
+
"description" : "Presigned download URL (if available)",
|
|
8894
|
+
"type" : "string"
|
|
8895
|
+
}
|
|
8896
|
+
},
|
|
8897
|
+
"type" : "object"
|
|
8898
|
+
} ]
|
|
8899
|
+
},
|
|
8528
8900
|
"BodyWithMessage" : {
|
|
8529
8901
|
"properties" : {
|
|
8530
8902
|
"message" : {
|
|
@@ -9409,7 +9781,7 @@
|
|
|
9409
9781
|
"type" : "string"
|
|
9410
9782
|
},
|
|
9411
9783
|
"AttachmentType" : {
|
|
9412
|
-
"enum" : [ "file" ],
|
|
9784
|
+
"enum" : [ "file", "image" ],
|
|
9413
9785
|
"type" : "string"
|
|
9414
9786
|
},
|
|
9415
9787
|
"FileAttachmentStatus" : {
|
|
@@ -9484,6 +9856,52 @@
|
|
|
9484
9856
|
"enum" : [ "reference" ],
|
|
9485
9857
|
"type" : "string"
|
|
9486
9858
|
},
|
|
9859
|
+
"ChatContextAttachment" : {
|
|
9860
|
+
"oneOf" : [ {
|
|
9861
|
+
"$ref" : "#/components/schemas/FileAttachment"
|
|
9862
|
+
}, {
|
|
9863
|
+
"$ref" : "#/components/schemas/ImageAttachment_1"
|
|
9864
|
+
} ]
|
|
9865
|
+
},
|
|
9866
|
+
"ImageAttachment_1" : {
|
|
9867
|
+
"properties" : {
|
|
9868
|
+
"type" : {
|
|
9869
|
+
"enum" : [ "image" ],
|
|
9870
|
+
"type" : "string"
|
|
9871
|
+
},
|
|
9872
|
+
"id" : {
|
|
9873
|
+
"type" : "string"
|
|
9874
|
+
},
|
|
9875
|
+
"name" : {
|
|
9876
|
+
"type" : "string"
|
|
9877
|
+
},
|
|
9878
|
+
"mimeType" : {
|
|
9879
|
+
"type" : "string"
|
|
9880
|
+
},
|
|
9881
|
+
"ext" : {
|
|
9882
|
+
"type" : "string"
|
|
9883
|
+
},
|
|
9884
|
+
"size" : {
|
|
9885
|
+
"type" : "number"
|
|
9886
|
+
},
|
|
9887
|
+
"key" : {
|
|
9888
|
+
"type" : "string"
|
|
9889
|
+
},
|
|
9890
|
+
"url" : {
|
|
9891
|
+
"description" : "Presigned URL to access the image",
|
|
9892
|
+
"type" : "string"
|
|
9893
|
+
},
|
|
9894
|
+
"inlineDataUrl" : {
|
|
9895
|
+
"description" : "Base64 inline data URL (optional)",
|
|
9896
|
+
"type" : "string"
|
|
9897
|
+
},
|
|
9898
|
+
"status" : {
|
|
9899
|
+
"$ref" : "#/components/schemas/FileAttachmentStatus"
|
|
9900
|
+
}
|
|
9901
|
+
},
|
|
9902
|
+
"required" : [ "ext", "id", "key", "mimeType", "name", "size", "status", "type" ],
|
|
9903
|
+
"type" : "object"
|
|
9904
|
+
},
|
|
9487
9905
|
"ProviderType" : {
|
|
9488
9906
|
"enum" : [ "ollama", "openai", "mistral", "other" ],
|
|
9489
9907
|
"type" : "string"
|
|
@@ -9754,7 +10172,8 @@
|
|
|
9754
10172
|
"FileAttachment_processed_oneOf" : {
|
|
9755
10173
|
"properties" : {
|
|
9756
10174
|
"type" : {
|
|
9757
|
-
"
|
|
10175
|
+
"enum" : [ "file" ],
|
|
10176
|
+
"type" : "string"
|
|
9758
10177
|
},
|
|
9759
10178
|
"key" : {
|
|
9760
10179
|
"type" : "string"
|