@breign/client 1.0.214 → 1.0.215

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/apis/AiGatewayApi.d.ts +15 -1
  2. package/dist/apis/AiGatewayApi.js +34 -0
  3. package/dist/apis/MeetingsApi.d.ts +136 -0
  4. package/dist/apis/MeetingsApi.js +329 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/AgentMeetingConfigurationUio.d.ts +62 -0
  8. package/dist/models/AgentMeetingConfigurationUio.js +58 -0
  9. package/dist/models/AgentPatchUio.d.ts +7 -0
  10. package/dist/models/AgentPatchUio.js +3 -0
  11. package/dist/models/AgentUio.d.ts +7 -0
  12. package/dist/models/AgentUio.js +3 -0
  13. package/dist/models/MeetingCreateRequestUio.d.ts +38 -0
  14. package/dist/models/MeetingCreateRequestUio.js +50 -0
  15. package/dist/models/MeetingHighlightKindUio.d.ts +28 -0
  16. package/dist/models/MeetingHighlightKindUio.js +54 -0
  17. package/dist/models/MeetingHighlightUio.d.ts +69 -0
  18. package/dist/models/MeetingHighlightUio.js +69 -0
  19. package/dist/models/MeetingMessageRequestUio.d.ts +32 -0
  20. package/dist/models/MeetingMessageRequestUio.js +50 -0
  21. package/dist/models/MeetingMessageResponseUio.d.ts +38 -0
  22. package/dist/models/MeetingMessageResponseUio.js +54 -0
  23. package/dist/models/MeetingNotesUio.d.ts +50 -0
  24. package/dist/models/MeetingNotesUio.js +62 -0
  25. package/dist/models/MeetingSegmentUio.d.ts +82 -0
  26. package/dist/models/MeetingSegmentUio.js +84 -0
  27. package/dist/models/MeetingSessionResponseUio.d.ts +40 -0
  28. package/dist/models/MeetingSessionResponseUio.js +56 -0
  29. package/dist/models/MeetingSettingsUio.d.ts +38 -0
  30. package/dist/models/MeetingSettingsUio.js +54 -0
  31. package/dist/models/MeetingSpeechToTextUio.d.ts +45 -0
  32. package/dist/models/MeetingSpeechToTextUio.js +59 -0
  33. package/dist/models/MeetingUio.d.ts +134 -0
  34. package/dist/models/MeetingUio.js +120 -0
  35. package/dist/models/ModelDefinitionUio.d.ts +12 -0
  36. package/dist/models/ModelDefinitionUio.js +4 -0
  37. package/dist/models/RealtimeTranscriptionModeUio.d.ts +25 -0
  38. package/dist/models/RealtimeTranscriptionModeUio.js +51 -0
  39. package/dist/models/RealtimeTranscriptionPurposeUio.d.ts +26 -0
  40. package/dist/models/RealtimeTranscriptionPurposeUio.js +52 -0
  41. package/dist/models/SpeechToTextProviderModelsInnerUio.d.ts +6 -0
  42. package/dist/models/SpeechToTextProviderModelsInnerUio.js +2 -0
  43. package/dist/models/TranscriptionSessionRequestUio.d.ts +51 -0
  44. package/dist/models/TranscriptionSessionRequestUio.js +57 -0
  45. package/dist/models/TranscriptionSessionUio.d.ts +63 -0
  46. package/dist/models/TranscriptionSessionUio.js +71 -0
  47. package/dist/models/index.d.ts +16 -0
  48. package/dist/models/index.js +16 -0
  49. package/dist/openapi.json +818 -0
  50. package/package.json +1 -1
package/dist/openapi.json CHANGED
@@ -105,6 +105,9 @@
105
105
  }, {
106
106
  "description" : "Actions and mentions waiting for the current user",
107
107
  "name" : "inbox"
108
+ }, {
109
+ "description" : "Live transcribed meetings followed by an agent (answers when addressed, keeps the notes)",
110
+ "name" : "meetings"
108
111
  }, {
109
112
  "description" : "Support page of an organization, its settings and the requests sent from it",
110
113
  "name" : "support"
@@ -18081,6 +18084,60 @@
18081
18084
  "tags" : [ "admin" ]
18082
18085
  }
18083
18086
  },
18087
+ "/organizations/{organizationId}/ai-gateway/realtime/transcription-sessions" : {
18088
+ "post" : {
18089
+ "description" : "Crée une session de transcription en flux sur un modèle speech-to-text de l'organisation. Le client ouvre ensuite le WebSocket `wsUrl`, s'authentifie avec le ticket (premier message `{\"type\":\"auth\",\"ticket\":\"…\"}`) puis envoie l'audio en trames binaires PCM16 mono au format annoncé par `session.ready`. Le texte revient en `transcript.partial` et `transcript.final`. Aussi disponible sous `/ai-gateway/v1/realtime/transcription-sessions`.",
18090
+ "operationId" : "createAiGatewayTranscriptionSession",
18091
+ "parameters" : [ {
18092
+ "description" : "ID of the organization",
18093
+ "in" : "path",
18094
+ "name" : "organizationId",
18095
+ "required" : true,
18096
+ "schema" : {
18097
+ "type" : "string"
18098
+ }
18099
+ } ],
18100
+ "requestBody" : {
18101
+ "content" : {
18102
+ "application/json" : {
18103
+ "schema" : {
18104
+ "$ref" : "#/components/schemas/TranscriptionSessionRequest"
18105
+ }
18106
+ }
18107
+ },
18108
+ "required" : true
18109
+ },
18110
+ "responses" : {
18111
+ "201" : {
18112
+ "content" : {
18113
+ "application/json" : {
18114
+ "schema" : {
18115
+ "$ref" : "#/components/schemas/TranscriptionSession"
18116
+ }
18117
+ }
18118
+ },
18119
+ "description" : "Created"
18120
+ },
18121
+ "400" : {
18122
+ "description" : "Bad request — the model is not a speech-to-text model"
18123
+ },
18124
+ "401" : {
18125
+ "description" : "Unauthenticated"
18126
+ },
18127
+ "403" : {
18128
+ "description" : "Forbidden — AI gateway use or model access denied"
18129
+ },
18130
+ "404" : {
18131
+ "description" : "Model not found"
18132
+ },
18133
+ "429" : {
18134
+ "description" : "AI gateway limits exceeded"
18135
+ }
18136
+ },
18137
+ "summary" : "Open a realtime transcription session",
18138
+ "tags" : [ "ai-gateway" ]
18139
+ }
18140
+ },
18084
18141
  "/organizations/{organizationId}/ai-gateway/v1/models" : {
18085
18142
  "get" : {
18086
18143
  "description" : "Équivalent de `GET /v1/models` de l'AI Gateway Vercel, monté sous le préfixe organisation. Liste les modèles des providers configurés pour l'organisation.",
@@ -24581,6 +24638,408 @@
24581
24638
  "tags" : [ "inbox" ]
24582
24639
  }
24583
24640
  },
24641
+ "/agents/{agentId}/meetings" : {
24642
+ "get" : {
24643
+ "operationId" : "listAgentMeetings",
24644
+ "parameters" : [ {
24645
+ "description" : "ID of the agent",
24646
+ "in" : "path",
24647
+ "name" : "agentId",
24648
+ "required" : true,
24649
+ "schema" : {
24650
+ "format" : "uuid",
24651
+ "type" : "string"
24652
+ }
24653
+ } ],
24654
+ "responses" : {
24655
+ "200" : {
24656
+ "content" : {
24657
+ "application/json" : {
24658
+ "schema" : {
24659
+ "items" : {
24660
+ "$ref" : "#/components/schemas/Meeting"
24661
+ },
24662
+ "type" : "array"
24663
+ }
24664
+ }
24665
+ },
24666
+ "description" : "OK"
24667
+ },
24668
+ "401" : {
24669
+ "description" : "Unauthenticated"
24670
+ },
24671
+ "403" : {
24672
+ "description" : "Forbidden"
24673
+ }
24674
+ },
24675
+ "summary" : "List the current user's meetings with an agent",
24676
+ "tags" : [ "meetings" ]
24677
+ },
24678
+ "post" : {
24679
+ "description" : "Démarre une réunion transcrite avec l'agent (mode réunion activé et `speechToText` configuré) et ouvre la session de transcription associée.",
24680
+ "operationId" : "startMeeting",
24681
+ "parameters" : [ {
24682
+ "description" : "ID of the agent",
24683
+ "in" : "path",
24684
+ "name" : "agentId",
24685
+ "required" : true,
24686
+ "schema" : {
24687
+ "format" : "uuid",
24688
+ "type" : "string"
24689
+ }
24690
+ } ],
24691
+ "requestBody" : {
24692
+ "content" : {
24693
+ "application/json" : {
24694
+ "schema" : {
24695
+ "$ref" : "#/components/schemas/MeetingCreateRequest"
24696
+ }
24697
+ }
24698
+ },
24699
+ "required" : false
24700
+ },
24701
+ "responses" : {
24702
+ "201" : {
24703
+ "content" : {
24704
+ "application/json" : {
24705
+ "schema" : {
24706
+ "$ref" : "#/components/schemas/MeetingSessionResponse"
24707
+ }
24708
+ }
24709
+ },
24710
+ "description" : "Created"
24711
+ },
24712
+ "400" : {
24713
+ "description" : "Bad request — meeting mode disabled or no speech-to-text model"
24714
+ },
24715
+ "401" : {
24716
+ "description" : "Unauthenticated"
24717
+ },
24718
+ "403" : {
24719
+ "description" : "Forbidden"
24720
+ },
24721
+ "404" : {
24722
+ "description" : "Agent not found"
24723
+ },
24724
+ "429" : {
24725
+ "description" : "AI gateway limits exceeded"
24726
+ }
24727
+ },
24728
+ "summary" : "Start a meeting with an agent",
24729
+ "tags" : [ "meetings" ]
24730
+ }
24731
+ },
24732
+ "/organizations/{organizationId}/meetings" : {
24733
+ "get" : {
24734
+ "description" : "Les réunions dont l'utilisateur est l'hôte, les plus récentes d'abord.",
24735
+ "operationId" : "listMeetings",
24736
+ "parameters" : [ {
24737
+ "description" : "ID of the organization",
24738
+ "in" : "path",
24739
+ "name" : "organizationId",
24740
+ "required" : true,
24741
+ "schema" : {
24742
+ "type" : "string"
24743
+ }
24744
+ }, {
24745
+ "in" : "query",
24746
+ "name" : "limit",
24747
+ "required" : false,
24748
+ "schema" : {
24749
+ "maximum" : 100,
24750
+ "minimum" : 1,
24751
+ "type" : "integer"
24752
+ }
24753
+ } ],
24754
+ "responses" : {
24755
+ "200" : {
24756
+ "content" : {
24757
+ "application/json" : {
24758
+ "schema" : {
24759
+ "items" : {
24760
+ "$ref" : "#/components/schemas/Meeting"
24761
+ },
24762
+ "type" : "array"
24763
+ }
24764
+ }
24765
+ },
24766
+ "description" : "OK"
24767
+ },
24768
+ "401" : {
24769
+ "description" : "Unauthenticated"
24770
+ },
24771
+ "403" : {
24772
+ "description" : "Forbidden"
24773
+ }
24774
+ },
24775
+ "summary" : "List the current user's meetings in an organization",
24776
+ "tags" : [ "meetings" ]
24777
+ }
24778
+ },
24779
+ "/meetings/{meetingId}" : {
24780
+ "delete" : {
24781
+ "description" : "Supprime la réunion, sa transcription et ses notes.",
24782
+ "operationId" : "deleteMeeting",
24783
+ "parameters" : [ {
24784
+ "description" : "ID of the meeting",
24785
+ "in" : "path",
24786
+ "name" : "meetingId",
24787
+ "required" : true,
24788
+ "schema" : {
24789
+ "format" : "uuid",
24790
+ "type" : "string"
24791
+ }
24792
+ } ],
24793
+ "responses" : {
24794
+ "204" : {
24795
+ "description" : "Deleted"
24796
+ },
24797
+ "401" : {
24798
+ "description" : "Unauthenticated"
24799
+ },
24800
+ "403" : {
24801
+ "description" : "Forbidden"
24802
+ },
24803
+ "404" : {
24804
+ "description" : "Not found"
24805
+ }
24806
+ },
24807
+ "summary" : "Delete a meeting",
24808
+ "tags" : [ "meetings" ]
24809
+ },
24810
+ "get" : {
24811
+ "description" : "Notes, éléments importants et état de la réunion.",
24812
+ "operationId" : "getMeeting",
24813
+ "parameters" : [ {
24814
+ "description" : "ID of the meeting",
24815
+ "in" : "path",
24816
+ "name" : "meetingId",
24817
+ "required" : true,
24818
+ "schema" : {
24819
+ "format" : "uuid",
24820
+ "type" : "string"
24821
+ }
24822
+ } ],
24823
+ "responses" : {
24824
+ "200" : {
24825
+ "content" : {
24826
+ "application/json" : {
24827
+ "schema" : {
24828
+ "$ref" : "#/components/schemas/Meeting"
24829
+ }
24830
+ }
24831
+ },
24832
+ "description" : "OK"
24833
+ },
24834
+ "401" : {
24835
+ "description" : "Unauthenticated"
24836
+ },
24837
+ "403" : {
24838
+ "description" : "Forbidden"
24839
+ },
24840
+ "404" : {
24841
+ "description" : "Not found"
24842
+ }
24843
+ },
24844
+ "summary" : "Get a meeting",
24845
+ "tags" : [ "meetings" ]
24846
+ }
24847
+ },
24848
+ "/meetings/{meetingId}/end" : {
24849
+ "post" : {
24850
+ "description" : "Termine la réunion ; l'agent rédige ensuite le compte rendu final.",
24851
+ "operationId" : "endMeeting",
24852
+ "parameters" : [ {
24853
+ "description" : "ID of the meeting",
24854
+ "in" : "path",
24855
+ "name" : "meetingId",
24856
+ "required" : true,
24857
+ "schema" : {
24858
+ "format" : "uuid",
24859
+ "type" : "string"
24860
+ }
24861
+ } ],
24862
+ "responses" : {
24863
+ "200" : {
24864
+ "content" : {
24865
+ "application/json" : {
24866
+ "schema" : {
24867
+ "$ref" : "#/components/schemas/Meeting"
24868
+ }
24869
+ }
24870
+ },
24871
+ "description" : "OK"
24872
+ },
24873
+ "401" : {
24874
+ "description" : "Unauthenticated"
24875
+ },
24876
+ "403" : {
24877
+ "description" : "Forbidden"
24878
+ },
24879
+ "404" : {
24880
+ "description" : "Not found"
24881
+ }
24882
+ },
24883
+ "summary" : "End a meeting",
24884
+ "tags" : [ "meetings" ]
24885
+ }
24886
+ },
24887
+ "/meetings/{meetingId}/segments" : {
24888
+ "get" : {
24889
+ "operationId" : "listMeetingSegments",
24890
+ "parameters" : [ {
24891
+ "description" : "ID of the meeting",
24892
+ "in" : "path",
24893
+ "name" : "meetingId",
24894
+ "required" : true,
24895
+ "schema" : {
24896
+ "format" : "uuid",
24897
+ "type" : "string"
24898
+ }
24899
+ }, {
24900
+ "description" : "Premier segment renvoyé (inclus).",
24901
+ "in" : "query",
24902
+ "name" : "fromSeq",
24903
+ "required" : false,
24904
+ "schema" : {
24905
+ "minimum" : 1,
24906
+ "type" : "integer"
24907
+ }
24908
+ }, {
24909
+ "in" : "query",
24910
+ "name" : "limit",
24911
+ "required" : false,
24912
+ "schema" : {
24913
+ "maximum" : 1000,
24914
+ "minimum" : 1,
24915
+ "type" : "integer"
24916
+ }
24917
+ } ],
24918
+ "responses" : {
24919
+ "200" : {
24920
+ "content" : {
24921
+ "application/json" : {
24922
+ "schema" : {
24923
+ "items" : {
24924
+ "$ref" : "#/components/schemas/MeetingSegment"
24925
+ },
24926
+ "type" : "array"
24927
+ }
24928
+ }
24929
+ },
24930
+ "description" : "OK"
24931
+ },
24932
+ "401" : {
24933
+ "description" : "Unauthenticated"
24934
+ },
24935
+ "403" : {
24936
+ "description" : "Forbidden"
24937
+ },
24938
+ "404" : {
24939
+ "description" : "Not found"
24940
+ }
24941
+ },
24942
+ "summary" : "Read a meeting transcript",
24943
+ "tags" : [ "meetings" ]
24944
+ }
24945
+ },
24946
+ "/meetings/{meetingId}/transcription-sessions" : {
24947
+ "post" : {
24948
+ "description" : "Après une coupure, ouvre une nouvelle session de transcription rattachée à la réunion ; les segments reprennent après le dernier segment enregistré.",
24949
+ "operationId" : "resumeMeetingTranscription",
24950
+ "parameters" : [ {
24951
+ "description" : "ID of the meeting",
24952
+ "in" : "path",
24953
+ "name" : "meetingId",
24954
+ "required" : true,
24955
+ "schema" : {
24956
+ "format" : "uuid",
24957
+ "type" : "string"
24958
+ }
24959
+ } ],
24960
+ "responses" : {
24961
+ "201" : {
24962
+ "content" : {
24963
+ "application/json" : {
24964
+ "schema" : {
24965
+ "$ref" : "#/components/schemas/MeetingSessionResponse"
24966
+ }
24967
+ }
24968
+ },
24969
+ "description" : "Created"
24970
+ },
24971
+ "401" : {
24972
+ "description" : "Unauthenticated"
24973
+ },
24974
+ "403" : {
24975
+ "description" : "Forbidden"
24976
+ },
24977
+ "404" : {
24978
+ "description" : "Not found"
24979
+ },
24980
+ "409" : {
24981
+ "description" : "Conflict — the meeting has ended"
24982
+ },
24983
+ "429" : {
24984
+ "description" : "AI gateway limits exceeded"
24985
+ }
24986
+ },
24987
+ "summary" : "Reopen the transcription session of an active meeting",
24988
+ "tags" : [ "meetings" ]
24989
+ }
24990
+ },
24991
+ "/meetings/{meetingId}/messages" : {
24992
+ "post" : {
24993
+ "description" : "Message écrit de l'hôte à l'agent : ajouté à la transcription et traité comme une interpellation orale.",
24994
+ "operationId" : "sendMeetingMessage",
24995
+ "parameters" : [ {
24996
+ "description" : "ID of the meeting",
24997
+ "in" : "path",
24998
+ "name" : "meetingId",
24999
+ "required" : true,
25000
+ "schema" : {
25001
+ "format" : "uuid",
25002
+ "type" : "string"
25003
+ }
25004
+ } ],
25005
+ "requestBody" : {
25006
+ "content" : {
25007
+ "application/json" : {
25008
+ "schema" : {
25009
+ "$ref" : "#/components/schemas/MeetingMessageRequest"
25010
+ }
25011
+ }
25012
+ },
25013
+ "required" : true
25014
+ },
25015
+ "responses" : {
25016
+ "202" : {
25017
+ "content" : {
25018
+ "application/json" : {
25019
+ "schema" : {
25020
+ "$ref" : "#/components/schemas/MeetingMessageResponse"
25021
+ }
25022
+ }
25023
+ },
25024
+ "description" : "Accepted"
25025
+ },
25026
+ "401" : {
25027
+ "description" : "Unauthenticated"
25028
+ },
25029
+ "403" : {
25030
+ "description" : "Forbidden"
25031
+ },
25032
+ "404" : {
25033
+ "description" : "Not found"
25034
+ },
25035
+ "409" : {
25036
+ "description" : "Conflict — the meeting has ended"
25037
+ }
25038
+ },
25039
+ "summary" : "Write to the agent during a meeting",
25040
+ "tags" : [ "meetings" ]
25041
+ }
25042
+ },
24584
25043
  "/admin/tool-presets" : {
24585
25044
  "delete" : {
24586
25045
  "description" : "Clears the shared tool library",
@@ -25606,6 +26065,16 @@
25606
26065
  "type" : "string"
25607
26066
  }
25608
26067
  },
26068
+ "meetingIdPath" : {
26069
+ "description" : "ID of the meeting",
26070
+ "in" : "path",
26071
+ "name" : "meetingId",
26072
+ "required" : true,
26073
+ "schema" : {
26074
+ "format" : "uuid",
26075
+ "type" : "string"
26076
+ }
26077
+ },
25609
26078
  "toolPresetIdPath" : {
25610
26079
  "description" : "Tool preset identifier",
25611
26080
  "in" : "path",
@@ -26004,6 +26473,12 @@
26004
26473
  } ],
26005
26474
  "nullable" : true
26006
26475
  },
26476
+ "meetingConfiguration" : {
26477
+ "allOf" : [ {
26478
+ "$ref" : "#/components/schemas/AgentMeetingConfiguration"
26479
+ } ],
26480
+ "nullable" : true
26481
+ },
26007
26482
  "creator" : {
26008
26483
  "$ref" : "#/components/schemas/Agent_creator"
26009
26484
  },
@@ -26313,6 +26788,46 @@
26313
26788
  },
26314
26789
  "type" : "object"
26315
26790
  },
26791
+ "AgentMeetingConfiguration" : {
26792
+ "description" : "Mode réunion : l'agent suit la transcription en direct d'une réunion (avec le modèle de `speechToText`), répond quand on l'interpelle et tient les notes. Opt-in, et inutilisable sans `speechToText`.",
26793
+ "properties" : {
26794
+ "enabled" : {
26795
+ "type" : "boolean"
26796
+ },
26797
+ "aliases" : {
26798
+ "description" : "Surnoms prononcés qui réveillent l'agent, en plus de son nom et de « Breign ».",
26799
+ "items" : {
26800
+ "maxLength" : 40,
26801
+ "minLength" : 2,
26802
+ "type" : "string"
26803
+ },
26804
+ "maxItems" : 10,
26805
+ "type" : "array"
26806
+ },
26807
+ "genericWakeWords" : {
26808
+ "description" : "« bot » et « agent » réveillent aussi l'agent (vrai par défaut).",
26809
+ "type" : "boolean"
26810
+ },
26811
+ "notesIntervalMinutes" : {
26812
+ "description" : "Intervalle des réveils de prise de notes ; 0 coupe les notes périodiques. Défaut 5.",
26813
+ "maximum" : 60,
26814
+ "minimum" : 0,
26815
+ "type" : "integer"
26816
+ },
26817
+ "contextMinutes" : {
26818
+ "description" : "Minutes de transcription jointes à un réveil sur interpellation. Défaut 3.",
26819
+ "maximum" : 30,
26820
+ "minimum" : 1,
26821
+ "type" : "integer"
26822
+ },
26823
+ "instructions" : {
26824
+ "description" : "Consignes de prise de notes propres à l'agent.",
26825
+ "maxLength" : 4000,
26826
+ "type" : "string"
26827
+ }
26828
+ },
26829
+ "type" : "object"
26830
+ },
26316
26831
  "AgentTool" : {
26317
26832
  "properties" : {
26318
26833
  "id" : {
@@ -26537,6 +27052,12 @@
26537
27052
  "$ref" : "#/components/schemas/AgentCodeModeConfiguration"
26538
27053
  } ],
26539
27054
  "nullable" : true
27055
+ },
27056
+ "meetingConfiguration" : {
27057
+ "allOf" : [ {
27058
+ "$ref" : "#/components/schemas/AgentMeetingConfiguration"
27059
+ } ],
27060
+ "nullable" : true
26540
27061
  }
26541
27062
  },
26542
27063
  "type" : "object"
@@ -31166,6 +31687,15 @@
31166
31687
  "hasSpeechToText" : {
31167
31688
  "type" : "boolean"
31168
31689
  },
31690
+ "hasRealtimeSpeechToText" : {
31691
+ "description" : "Le modèle de transcription accepte un flux audio continu et renvoie le texte au fil de l'eau (ex. gpt-4o-transcribe en session realtime). Sans cette capacité, un modèle `hasSpeechToText` reste utilisable en temps réel en mode segmenté.",
31692
+ "type" : "boolean"
31693
+ },
31694
+ "audioInputPricePerMinute" : {
31695
+ "description" : "Prix d'une minute d'audio transcrite, dans la devise `currency`.",
31696
+ "minimum" : 0,
31697
+ "type" : "number"
31698
+ },
31169
31699
  "hasAudioInput" : {
31170
31700
  "description" : "Le modèle accepte de l'audio en entrée dans un message de chat. Sans cette capacité, une pièce jointe audio lui parvient sous forme de transcription.",
31171
31701
  "type" : "boolean"
@@ -36001,6 +36531,66 @@
36001
36531
  "type" : "object"
36002
36532
  } ]
36003
36533
  },
36534
+ "TranscriptionSessionRequest" : {
36535
+ "additionalProperties" : false,
36536
+ "properties" : {
36537
+ "model" : {
36538
+ "description" : "Modèle de transcription, `providerId/modelId` ou `modelId`.",
36539
+ "type" : "string"
36540
+ },
36541
+ "language" : {
36542
+ "description" : "Langue ISO 639-1 attendue (ex. fr). Détection automatique si absente.",
36543
+ "type" : "string"
36544
+ },
36545
+ "prompt" : {
36546
+ "description" : "Vocabulaire et noms propres qui aident la transcription.",
36547
+ "maxLength" : 1000,
36548
+ "type" : "string"
36549
+ },
36550
+ "purpose" : {
36551
+ "$ref" : "#/components/schemas/RealtimeTranscriptionPurpose"
36552
+ }
36553
+ },
36554
+ "required" : [ "model" ],
36555
+ "type" : "object"
36556
+ },
36557
+ "RealtimeTranscriptionPurpose" : {
36558
+ "enum" : [ "api", "dictation", "meeting" ],
36559
+ "type" : "string"
36560
+ },
36561
+ "TranscriptionSession" : {
36562
+ "description" : "Session de transcription en flux. Ouvrir `wsUrl` en WebSocket puis envoyer `{\"type\":\"auth\",\"ticket\":\"…\"}` comme premier message. Le ticket ne sert qu'une fois et expire à `expiresAt`.",
36563
+ "properties" : {
36564
+ "sessionId" : {
36565
+ "type" : "string"
36566
+ },
36567
+ "wsUrl" : {
36568
+ "description" : "Chemin du WebSocket, relatif à l'endpoint WebSocket de l'API.",
36569
+ "type" : "string"
36570
+ },
36571
+ "ticket" : {
36572
+ "type" : "string"
36573
+ },
36574
+ "expiresAt" : {
36575
+ "format" : "date-time",
36576
+ "type" : "string"
36577
+ },
36578
+ "mode" : {
36579
+ "$ref" : "#/components/schemas/RealtimeTranscriptionMode"
36580
+ },
36581
+ "model" : {
36582
+ "description" : "Modèle résolu, `providerId/modelId`.",
36583
+ "type" : "string"
36584
+ }
36585
+ },
36586
+ "required" : [ "expiresAt", "mode", "model", "sessionId", "ticket", "wsUrl" ],
36587
+ "type" : "object"
36588
+ },
36589
+ "RealtimeTranscriptionMode" : {
36590
+ "description" : "native : modèle temps réel (texte partiel puis final) ; segmented : l'audio est découpé sur les silences puis chaque segment est transcrit par le modèle (finaux seulement).",
36591
+ "enum" : [ "native", "segmented" ],
36592
+ "type" : "string"
36593
+ },
36004
36594
  "AiGatewayV1ModelList" : {
36005
36595
  "properties" : {
36006
36596
  "object" : {
@@ -40900,6 +41490,219 @@
40900
41490
  "required" : [ "mentions", "todo" ],
40901
41491
  "type" : "object"
40902
41492
  },
41493
+ "Meeting" : {
41494
+ "properties" : {
41495
+ "id" : {
41496
+ "type" : "string"
41497
+ },
41498
+ "organizationId" : {
41499
+ "type" : "string"
41500
+ },
41501
+ "agentId" : {
41502
+ "type" : "string"
41503
+ },
41504
+ "agentName" : {
41505
+ "type" : "string"
41506
+ },
41507
+ "userId" : {
41508
+ "type" : "string"
41509
+ },
41510
+ "title" : {
41511
+ "nullable" : true,
41512
+ "type" : "string"
41513
+ },
41514
+ "status" : {
41515
+ "enum" : [ "active", "ended" ],
41516
+ "type" : "string"
41517
+ },
41518
+ "language" : {
41519
+ "nullable" : true,
41520
+ "type" : "string"
41521
+ },
41522
+ "speechToText" : {
41523
+ "$ref" : "#/components/schemas/MeetingSpeechToText"
41524
+ },
41525
+ "conversationId" : {
41526
+ "type" : "string"
41527
+ },
41528
+ "startedAt" : {
41529
+ "format" : "date-time",
41530
+ "type" : "string"
41531
+ },
41532
+ "endedAt" : {
41533
+ "format" : "date-time",
41534
+ "nullable" : true,
41535
+ "type" : "string"
41536
+ },
41537
+ "lastSegmentSeq" : {
41538
+ "type" : "integer"
41539
+ },
41540
+ "notes" : {
41541
+ "$ref" : "#/components/schemas/MeetingNotes"
41542
+ },
41543
+ "highlights" : {
41544
+ "items" : {
41545
+ "$ref" : "#/components/schemas/MeetingHighlight"
41546
+ },
41547
+ "type" : "array"
41548
+ },
41549
+ "settings" : {
41550
+ "$ref" : "#/components/schemas/Meeting_settings"
41551
+ }
41552
+ },
41553
+ "required" : [ "agentId", "conversationId", "endedAt", "highlights", "id", "language", "lastSegmentSeq", "notes", "organizationId", "settings", "speechToText", "startedAt", "status", "title", "userId" ],
41554
+ "type" : "object"
41555
+ },
41556
+ "MeetingSpeechToText" : {
41557
+ "properties" : {
41558
+ "providerId" : {
41559
+ "type" : "string"
41560
+ },
41561
+ "modelId" : {
41562
+ "type" : "string"
41563
+ },
41564
+ "mode" : {
41565
+ "$ref" : "#/components/schemas/RealtimeTranscriptionMode"
41566
+ }
41567
+ },
41568
+ "required" : [ "mode", "modelId", "providerId" ],
41569
+ "type" : "object"
41570
+ },
41571
+ "MeetingNotes" : {
41572
+ "properties" : {
41573
+ "markdown" : {
41574
+ "type" : "string"
41575
+ },
41576
+ "version" : {
41577
+ "type" : "integer"
41578
+ },
41579
+ "updatedAt" : {
41580
+ "format" : "date-time",
41581
+ "nullable" : true,
41582
+ "type" : "string"
41583
+ },
41584
+ "coveredUntilSeq" : {
41585
+ "type" : "integer"
41586
+ }
41587
+ },
41588
+ "required" : [ "coveredUntilSeq", "markdown", "updatedAt", "version" ],
41589
+ "type" : "object"
41590
+ },
41591
+ "MeetingHighlight" : {
41592
+ "properties" : {
41593
+ "id" : {
41594
+ "type" : "string"
41595
+ },
41596
+ "kind" : {
41597
+ "$ref" : "#/components/schemas/MeetingHighlightKind"
41598
+ },
41599
+ "text" : {
41600
+ "type" : "string"
41601
+ },
41602
+ "owner" : {
41603
+ "type" : "string"
41604
+ },
41605
+ "dueDate" : {
41606
+ "type" : "string"
41607
+ },
41608
+ "seq" : {
41609
+ "type" : "integer"
41610
+ },
41611
+ "createdAt" : {
41612
+ "format" : "date-time",
41613
+ "type" : "string"
41614
+ }
41615
+ },
41616
+ "required" : [ "createdAt", "id", "kind", "text" ],
41617
+ "type" : "object"
41618
+ },
41619
+ "MeetingHighlightKind" : {
41620
+ "enum" : [ "decision", "action_item", "risk", "question", "info" ],
41621
+ "type" : "string"
41622
+ },
41623
+ "MeetingCreateRequest" : {
41624
+ "additionalProperties" : false,
41625
+ "properties" : {
41626
+ "title" : {
41627
+ "maxLength" : 200,
41628
+ "type" : "string"
41629
+ },
41630
+ "language" : {
41631
+ "maxLength" : 10,
41632
+ "type" : "string"
41633
+ }
41634
+ },
41635
+ "type" : "object"
41636
+ },
41637
+ "MeetingSessionResponse" : {
41638
+ "properties" : {
41639
+ "meeting" : {
41640
+ "$ref" : "#/components/schemas/Meeting"
41641
+ },
41642
+ "session" : {
41643
+ "$ref" : "#/components/schemas/TranscriptionSession"
41644
+ }
41645
+ },
41646
+ "required" : [ "meeting", "session" ],
41647
+ "type" : "object"
41648
+ },
41649
+ "MeetingSegment" : {
41650
+ "properties" : {
41651
+ "seq" : {
41652
+ "type" : "integer"
41653
+ },
41654
+ "startMs" : {
41655
+ "type" : "integer"
41656
+ },
41657
+ "endMs" : {
41658
+ "type" : "integer"
41659
+ },
41660
+ "text" : {
41661
+ "type" : "string"
41662
+ },
41663
+ "speaker" : {
41664
+ "nullable" : true,
41665
+ "type" : "string"
41666
+ },
41667
+ "source" : {
41668
+ "enum" : [ "transcript", "agent" ],
41669
+ "type" : "string"
41670
+ },
41671
+ "addressed" : {
41672
+ "type" : "boolean"
41673
+ },
41674
+ "ignored" : {
41675
+ "description" : "Le segment a réveillé l'agent, qui a jugé que la demande ne lui était pas adressée.",
41676
+ "type" : "boolean"
41677
+ }
41678
+ },
41679
+ "required" : [ "addressed", "endMs", "seq", "source", "speaker", "startMs", "text" ],
41680
+ "type" : "object"
41681
+ },
41682
+ "MeetingMessageRequest" : {
41683
+ "additionalProperties" : false,
41684
+ "properties" : {
41685
+ "message" : {
41686
+ "maxLength" : 4000,
41687
+ "minLength" : 1,
41688
+ "type" : "string"
41689
+ }
41690
+ },
41691
+ "required" : [ "message" ],
41692
+ "type" : "object"
41693
+ },
41694
+ "MeetingMessageResponse" : {
41695
+ "properties" : {
41696
+ "wakeupId" : {
41697
+ "type" : "string"
41698
+ },
41699
+ "seq" : {
41700
+ "type" : "integer"
41701
+ }
41702
+ },
41703
+ "required" : [ "seq", "wakeupId" ],
41704
+ "type" : "object"
41705
+ },
40903
41706
  "ToolPresetPage" : {
40904
41707
  "properties" : {
40905
41708
  "data" : {
@@ -43376,6 +44179,9 @@
43376
44179
  },
43377
44180
  "name" : {
43378
44181
  "type" : "string"
44182
+ },
44183
+ "hasRealtimeSpeechToText" : {
44184
+ "type" : "boolean"
43379
44185
  }
43380
44186
  },
43381
44187
  "required" : [ "modelId", "name" ],
@@ -44420,6 +45226,18 @@
44420
45226
  "required" : [ "id", "key", "title" ],
44421
45227
  "type" : "object"
44422
45228
  },
45229
+ "Meeting_settings" : {
45230
+ "properties" : {
45231
+ "notesIntervalMinutes" : {
45232
+ "type" : "integer"
45233
+ },
45234
+ "contextMinutes" : {
45235
+ "type" : "integer"
45236
+ }
45237
+ },
45238
+ "required" : [ "contextMinutes", "notesIntervalMinutes" ],
45239
+ "type" : "object"
45240
+ },
44423
45241
  "Engine_options" : {
44424
45242
  "additionalProperties" : false,
44425
45243
  "properties" : {