@arbol-ai/cli 3.71.0 → 3.71.1
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 +3 -2
- package/dist/index.js +624 -352
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -267545,8 +267545,8 @@ async function logout(credentials) {
|
|
|
267545
267545
|
// src/operator/account-connections.json
|
|
267546
267546
|
var account_connections_default = {
|
|
267547
267547
|
source: "project-arbol-account/src/api/connections/operations.ts",
|
|
267548
|
-
sourceCommit: "
|
|
267549
|
-
sourceSha256: "
|
|
267548
|
+
sourceCommit: "91336bc946884a0335ad187cb796d7b6687bc827",
|
|
267549
|
+
sourceSha256: "b3af6aafaf52702cf654d9f5cbb47cd8ff29b6a4c074bd6fd2398a95d763cf26",
|
|
267550
267550
|
operations: [
|
|
267551
267551
|
{
|
|
267552
267552
|
operationId: "createConnection",
|
|
@@ -267557,7 +267557,6 @@ var account_connections_default = {
|
|
|
267557
267557
|
input: {
|
|
267558
267558
|
anyOf: [
|
|
267559
267559
|
{
|
|
267560
|
-
additionalProperties: false,
|
|
267561
267560
|
type: "object",
|
|
267562
267561
|
required: [
|
|
267563
267562
|
"kind",
|
|
@@ -267567,34 +267566,35 @@ var account_connections_default = {
|
|
|
267567
267566
|
],
|
|
267568
267567
|
properties: {
|
|
267569
267568
|
kind: {
|
|
267570
|
-
|
|
267571
|
-
|
|
267569
|
+
type: "string",
|
|
267570
|
+
const: "arbol"
|
|
267572
267571
|
},
|
|
267573
267572
|
integration: {
|
|
267574
267573
|
anyOf: [
|
|
267575
267574
|
{
|
|
267576
|
-
|
|
267577
|
-
|
|
267575
|
+
type: "string",
|
|
267576
|
+
const: "adres"
|
|
267578
267577
|
},
|
|
267579
267578
|
{
|
|
267580
|
-
|
|
267581
|
-
|
|
267579
|
+
type: "string",
|
|
267580
|
+
const: "sisben"
|
|
267582
267581
|
}
|
|
267583
267582
|
]
|
|
267584
267583
|
},
|
|
267585
267584
|
clientId: {
|
|
267586
|
-
|
|
267587
|
-
|
|
267585
|
+
type: "string",
|
|
267586
|
+
pattern: "^[A-Za-z0-9_-]{8,128}$"
|
|
267588
267587
|
},
|
|
267589
267588
|
clientSecret: {
|
|
267589
|
+
type: "string",
|
|
267590
267590
|
minLength: 16,
|
|
267591
267591
|
maxLength: 512,
|
|
267592
|
-
|
|
267592
|
+
secret: true
|
|
267593
267593
|
}
|
|
267594
|
-
}
|
|
267594
|
+
},
|
|
267595
|
+
additionalProperties: false
|
|
267595
267596
|
},
|
|
267596
267597
|
{
|
|
267597
|
-
additionalProperties: false,
|
|
267598
267598
|
type: "object",
|
|
267599
267599
|
required: [
|
|
267600
267600
|
"kind",
|
|
@@ -267605,42 +267605,38 @@ var account_connections_default = {
|
|
|
267605
267605
|
],
|
|
267606
267606
|
properties: {
|
|
267607
267607
|
kind: {
|
|
267608
|
-
|
|
267609
|
-
|
|
267608
|
+
type: "string",
|
|
267609
|
+
const: "arbol"
|
|
267610
267610
|
},
|
|
267611
267611
|
integration: {
|
|
267612
|
-
|
|
267613
|
-
|
|
267612
|
+
type: "string",
|
|
267613
|
+
const: "sura"
|
|
267614
267614
|
},
|
|
267615
267615
|
name: {
|
|
267616
|
-
|
|
267617
|
-
|
|
267616
|
+
type: "string",
|
|
267617
|
+
description: "The connection's name, as an agent's builder sees it and an agent picks it: 'Sede Norte'."
|
|
267618
267618
|
},
|
|
267619
267619
|
portal: {
|
|
267620
267620
|
anyOf: [
|
|
267621
267621
|
{
|
|
267622
|
-
|
|
267623
|
-
|
|
267622
|
+
type: "string",
|
|
267623
|
+
const: "agenda"
|
|
267624
267624
|
},
|
|
267625
267625
|
{
|
|
267626
|
-
|
|
267627
|
-
|
|
267626
|
+
type: "string",
|
|
267627
|
+
const: "saludweb"
|
|
267628
267628
|
}
|
|
267629
267629
|
],
|
|
267630
267630
|
description: "SURA's portal: agenda (Aliado de Salud, books and cancels) or saludweb (read-only)."
|
|
267631
267631
|
},
|
|
267632
267632
|
institutionId: {
|
|
267633
|
+
type: "string",
|
|
267633
267634
|
pattern: "^\\d{1,32}$",
|
|
267634
|
-
description: "The institution (IPS) the connection schedules in, as SURA listed it."
|
|
267635
|
-
type: "string"
|
|
267635
|
+
description: "The institution (IPS) the connection schedules in, as SURA listed it."
|
|
267636
267636
|
},
|
|
267637
267637
|
logins: {
|
|
267638
|
-
minItems: 1,
|
|
267639
|
-
maxItems: 5,
|
|
267640
|
-
description: "One to five distinct portal users, all able to schedule in the same institution.",
|
|
267641
267638
|
type: "array",
|
|
267642
267639
|
items: {
|
|
267643
|
-
additionalProperties: false,
|
|
267644
267640
|
type: "object",
|
|
267645
267641
|
required: [
|
|
267646
267642
|
"username",
|
|
@@ -267649,32 +267645,38 @@ var account_connections_default = {
|
|
|
267649
267645
|
],
|
|
267650
267646
|
properties: {
|
|
267651
267647
|
username: {
|
|
267652
|
-
|
|
267653
|
-
|
|
267648
|
+
type: "string",
|
|
267649
|
+
description: "A username the clinic signs in to the SURA portal with."
|
|
267654
267650
|
},
|
|
267655
267651
|
password: {
|
|
267652
|
+
type: "string",
|
|
267653
|
+
secret: true,
|
|
267656
267654
|
minLength: 1,
|
|
267657
267655
|
maxLength: 512,
|
|
267658
267656
|
pattern: "^[^\\r\\n]+$",
|
|
267659
|
-
description: "Its password, exactly as typed."
|
|
267660
|
-
type: "string"
|
|
267657
|
+
description: "Its password, exactly as typed."
|
|
267661
267658
|
},
|
|
267662
267659
|
totpSecret: {
|
|
267663
|
-
|
|
267664
|
-
|
|
267660
|
+
type: "string",
|
|
267661
|
+
secret: true,
|
|
267662
|
+
description: "The account's authenticator setup key: the Base32 text SURA shows when an authenticator app is added."
|
|
267665
267663
|
}
|
|
267666
|
-
}
|
|
267667
|
-
|
|
267664
|
+
},
|
|
267665
|
+
additionalProperties: false
|
|
267666
|
+
},
|
|
267667
|
+
minItems: 1,
|
|
267668
|
+
maxItems: 5,
|
|
267669
|
+
description: "One to five distinct portal users, all able to schedule in the same institution."
|
|
267668
267670
|
},
|
|
267669
267671
|
connectionId: {
|
|
267672
|
+
type: "string",
|
|
267670
267673
|
pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
|
|
267671
|
-
description: "The connection an institution_required answer named: send it back with the same logins and the institution chosen."
|
|
267672
|
-
type: "string"
|
|
267674
|
+
description: "The connection an institution_required answer named: send it back with the same logins and the institution chosen."
|
|
267673
267675
|
}
|
|
267674
|
-
}
|
|
267676
|
+
},
|
|
267677
|
+
additionalProperties: false
|
|
267675
267678
|
},
|
|
267676
267679
|
{
|
|
267677
|
-
additionalProperties: false,
|
|
267678
267680
|
type: "object",
|
|
267679
267681
|
required: [
|
|
267680
267682
|
"kind",
|
|
@@ -267686,38 +267688,40 @@ var account_connections_default = {
|
|
|
267686
267688
|
],
|
|
267687
267689
|
properties: {
|
|
267688
267690
|
kind: {
|
|
267689
|
-
|
|
267690
|
-
|
|
267691
|
+
type: "string",
|
|
267692
|
+
const: "arbol"
|
|
267691
267693
|
},
|
|
267692
267694
|
integration: {
|
|
267693
|
-
|
|
267694
|
-
|
|
267695
|
+
type: "string",
|
|
267696
|
+
const: "visoft"
|
|
267695
267697
|
},
|
|
267696
267698
|
name: {
|
|
267697
|
-
|
|
267698
|
-
|
|
267699
|
+
type: "string",
|
|
267700
|
+
description: "The connection's name, as an agent's builder sees it and an agent picks it: 'Sede Norte'."
|
|
267699
267701
|
},
|
|
267700
267702
|
clinicId: {
|
|
267703
|
+
type: "string",
|
|
267701
267704
|
minLength: 1,
|
|
267702
267705
|
maxLength: 64,
|
|
267703
267706
|
pattern: "^[A-Za-z0-9_-]+$",
|
|
267704
|
-
description: "The clinic whose SIIPS the login belongs to, as visoft.clinics.list names it."
|
|
267705
|
-
type: "string"
|
|
267707
|
+
description: "The clinic whose SIIPS the login belongs to, as visoft.clinics.list names it."
|
|
267706
267708
|
},
|
|
267707
267709
|
username: {
|
|
267708
|
-
|
|
267709
|
-
|
|
267710
|
+
type: "string",
|
|
267711
|
+
secret: true,
|
|
267712
|
+
description: "The username the clinic's team signs in to SIIPS with."
|
|
267710
267713
|
},
|
|
267711
267714
|
password: {
|
|
267715
|
+
type: "string",
|
|
267716
|
+
secret: true,
|
|
267712
267717
|
minLength: 1,
|
|
267713
267718
|
maxLength: 4096,
|
|
267714
|
-
description: "Its password, exactly as typed."
|
|
267715
|
-
type: "string"
|
|
267719
|
+
description: "Its password, exactly as typed."
|
|
267716
267720
|
}
|
|
267717
|
-
}
|
|
267721
|
+
},
|
|
267722
|
+
additionalProperties: false
|
|
267718
267723
|
},
|
|
267719
267724
|
{
|
|
267720
|
-
additionalProperties: false,
|
|
267721
267725
|
type: "object",
|
|
267722
267726
|
required: [
|
|
267723
267727
|
"kind",
|
|
@@ -267730,43 +267734,44 @@ var account_connections_default = {
|
|
|
267730
267734
|
],
|
|
267731
267735
|
properties: {
|
|
267732
267736
|
kind: {
|
|
267733
|
-
|
|
267734
|
-
|
|
267737
|
+
type: "string",
|
|
267738
|
+
const: "arbol"
|
|
267735
267739
|
},
|
|
267736
267740
|
integration: {
|
|
267737
|
-
|
|
267738
|
-
|
|
267741
|
+
type: "string",
|
|
267742
|
+
const: "axxa"
|
|
267739
267743
|
},
|
|
267740
267744
|
name: {
|
|
267741
|
-
|
|
267742
|
-
|
|
267745
|
+
type: "string",
|
|
267746
|
+
description: "The connection's name, as an agent's builder sees it and an agent picks it: 'Sede Norte'."
|
|
267743
267747
|
},
|
|
267744
267748
|
username: {
|
|
267749
|
+
type: "string",
|
|
267745
267750
|
minLength: 1,
|
|
267746
267751
|
maxLength: 100,
|
|
267747
|
-
pattern: "^[^\\r\\n]+$"
|
|
267748
|
-
type: "string"
|
|
267752
|
+
pattern: "^[^\\r\\n]+$"
|
|
267749
267753
|
},
|
|
267750
267754
|
password: {
|
|
267755
|
+
type: "string",
|
|
267751
267756
|
minLength: 1,
|
|
267752
267757
|
maxLength: 200,
|
|
267753
267758
|
writeOnly: true,
|
|
267754
|
-
|
|
267759
|
+
secret: true
|
|
267755
267760
|
},
|
|
267756
267761
|
documentType: {
|
|
267762
|
+
type: "string",
|
|
267757
267763
|
minLength: 2,
|
|
267758
267764
|
maxLength: 4,
|
|
267759
|
-
pattern: "^[A-Z]+$"
|
|
267760
|
-
type: "string"
|
|
267765
|
+
pattern: "^[A-Z]+$"
|
|
267761
267766
|
},
|
|
267762
267767
|
providerCode: {
|
|
267763
|
-
|
|
267764
|
-
|
|
267768
|
+
type: "string",
|
|
267769
|
+
pattern: "^[0-9]{1,20}$"
|
|
267765
267770
|
}
|
|
267766
|
-
}
|
|
267771
|
+
},
|
|
267772
|
+
additionalProperties: false
|
|
267767
267773
|
},
|
|
267768
267774
|
{
|
|
267769
|
-
additionalProperties: false,
|
|
267770
267775
|
type: "object",
|
|
267771
267776
|
required: [
|
|
267772
267777
|
"kind",
|
|
@@ -267778,51 +267783,52 @@ var account_connections_default = {
|
|
|
267778
267783
|
],
|
|
267779
267784
|
properties: {
|
|
267780
267785
|
kind: {
|
|
267781
|
-
|
|
267782
|
-
|
|
267786
|
+
type: "string",
|
|
267787
|
+
const: "arbol"
|
|
267783
267788
|
},
|
|
267784
267789
|
integration: {
|
|
267785
|
-
|
|
267786
|
-
|
|
267790
|
+
type: "string",
|
|
267791
|
+
const: "nueva-eps"
|
|
267787
267792
|
},
|
|
267788
267793
|
portal: {
|
|
267789
267794
|
anyOf: [
|
|
267790
267795
|
{
|
|
267791
|
-
|
|
267792
|
-
|
|
267796
|
+
type: "string",
|
|
267797
|
+
const: "affiliations"
|
|
267793
267798
|
},
|
|
267794
267799
|
{
|
|
267795
|
-
|
|
267796
|
-
|
|
267800
|
+
type: "string",
|
|
267801
|
+
const: "precursoras"
|
|
267797
267802
|
}
|
|
267798
267803
|
]
|
|
267799
267804
|
},
|
|
267800
267805
|
name: {
|
|
267801
|
-
|
|
267802
|
-
|
|
267806
|
+
type: "string",
|
|
267807
|
+
description: "The connection's name, as an agent's builder sees it and an agent picks it: 'Sede Norte'."
|
|
267803
267808
|
},
|
|
267804
267809
|
username: {
|
|
267810
|
+
type: "string",
|
|
267805
267811
|
minLength: 1,
|
|
267806
267812
|
maxLength: 100,
|
|
267807
|
-
pattern: "^[^\\r\\n]+$"
|
|
267808
|
-
type: "string"
|
|
267813
|
+
pattern: "^[^\\r\\n]+$"
|
|
267809
267814
|
},
|
|
267810
267815
|
password: {
|
|
267816
|
+
type: "string",
|
|
267811
267817
|
minLength: 1,
|
|
267812
267818
|
maxLength: 200,
|
|
267813
267819
|
writeOnly: true,
|
|
267814
|
-
|
|
267820
|
+
secret: true
|
|
267815
267821
|
},
|
|
267816
267822
|
documentType: {
|
|
267823
|
+
type: "string",
|
|
267817
267824
|
minLength: 2,
|
|
267818
267825
|
maxLength: 4,
|
|
267819
|
-
pattern: "^[A-Z]+$"
|
|
267820
|
-
type: "string"
|
|
267826
|
+
pattern: "^[A-Z]+$"
|
|
267821
267827
|
}
|
|
267822
|
-
}
|
|
267828
|
+
},
|
|
267829
|
+
additionalProperties: false
|
|
267823
267830
|
},
|
|
267824
267831
|
{
|
|
267825
|
-
additionalProperties: false,
|
|
267826
267832
|
type: "object",
|
|
267827
267833
|
required: [
|
|
267828
267834
|
"kind",
|
|
@@ -267834,42 +267840,88 @@ var account_connections_default = {
|
|
|
267834
267840
|
],
|
|
267835
267841
|
properties: {
|
|
267836
267842
|
kind: {
|
|
267837
|
-
|
|
267838
|
-
|
|
267843
|
+
type: "string",
|
|
267844
|
+
const: "arbol"
|
|
267839
267845
|
},
|
|
267840
267846
|
integration: {
|
|
267841
|
-
|
|
267842
|
-
|
|
267847
|
+
type: "string",
|
|
267848
|
+
const: "comfachoco"
|
|
267843
267849
|
},
|
|
267844
267850
|
name: {
|
|
267845
|
-
|
|
267846
|
-
|
|
267851
|
+
type: "string",
|
|
267852
|
+
description: "The connection's name, as an agent's builder sees it and an agent picks it: 'Sede Norte'."
|
|
267847
267853
|
},
|
|
267848
267854
|
username: {
|
|
267855
|
+
type: "string",
|
|
267849
267856
|
minLength: 1,
|
|
267850
267857
|
maxLength: 100,
|
|
267851
|
-
pattern: "^[^\\r\\n]+$"
|
|
267852
|
-
type: "string"
|
|
267858
|
+
pattern: "^[^\\r\\n]+$"
|
|
267853
267859
|
},
|
|
267854
267860
|
password: {
|
|
267861
|
+
type: "string",
|
|
267855
267862
|
minLength: 1,
|
|
267856
267863
|
maxLength: 200,
|
|
267857
267864
|
writeOnly: true,
|
|
267858
|
-
|
|
267865
|
+
secret: true
|
|
267859
267866
|
},
|
|
267860
267867
|
documentType: {
|
|
267861
|
-
|
|
267862
|
-
|
|
267868
|
+
type: "string",
|
|
267869
|
+
const: "CC"
|
|
267863
267870
|
},
|
|
267864
267871
|
saveOnFailure: {
|
|
267872
|
+
type: "boolean",
|
|
267865
267873
|
description: "Comfachoco: explicitly retain refused credentials sealed in a failed connection. No verification timestamp or agent access is granted.",
|
|
267866
|
-
default: false
|
|
267867
|
-
type: "boolean"
|
|
267874
|
+
default: false
|
|
267868
267875
|
}
|
|
267869
|
-
}
|
|
267876
|
+
},
|
|
267877
|
+
additionalProperties: false
|
|
267878
|
+
},
|
|
267879
|
+
{
|
|
267880
|
+
type: "object",
|
|
267881
|
+
required: [
|
|
267882
|
+
"kind",
|
|
267883
|
+
"integration",
|
|
267884
|
+
"name",
|
|
267885
|
+
"nit",
|
|
267886
|
+
"username",
|
|
267887
|
+
"password"
|
|
267888
|
+
],
|
|
267889
|
+
properties: {
|
|
267890
|
+
kind: {
|
|
267891
|
+
type: "string",
|
|
267892
|
+
const: "arbol"
|
|
267893
|
+
},
|
|
267894
|
+
integration: {
|
|
267895
|
+
type: "string",
|
|
267896
|
+
const: "pijaos-salud"
|
|
267897
|
+
},
|
|
267898
|
+
name: {
|
|
267899
|
+
type: "string",
|
|
267900
|
+
description: "The connection's name, as an agent's builder sees it and an agent picks it: 'Sede Norte'."
|
|
267901
|
+
},
|
|
267902
|
+
nit: {
|
|
267903
|
+
type: "string",
|
|
267904
|
+
pattern: "^[0-9]{5,15}$",
|
|
267905
|
+
secret: true
|
|
267906
|
+
},
|
|
267907
|
+
username: {
|
|
267908
|
+
type: "string",
|
|
267909
|
+
minLength: 1,
|
|
267910
|
+
maxLength: 100,
|
|
267911
|
+
pattern: "^[^\\r\\n]+$",
|
|
267912
|
+
secret: true
|
|
267913
|
+
},
|
|
267914
|
+
password: {
|
|
267915
|
+
type: "string",
|
|
267916
|
+
minLength: 1,
|
|
267917
|
+
maxLength: 200,
|
|
267918
|
+
writeOnly: true,
|
|
267919
|
+
secret: true
|
|
267920
|
+
}
|
|
267921
|
+
},
|
|
267922
|
+
additionalProperties: false
|
|
267870
267923
|
},
|
|
267871
267924
|
{
|
|
267872
|
-
additionalProperties: false,
|
|
267873
267925
|
type: "object",
|
|
267874
267926
|
required: [
|
|
267875
267927
|
"kind",
|
|
@@ -267883,51 +267935,52 @@ var account_connections_default = {
|
|
|
267883
267935
|
],
|
|
267884
267936
|
properties: {
|
|
267885
267937
|
kind: {
|
|
267886
|
-
|
|
267887
|
-
|
|
267938
|
+
type: "string",
|
|
267939
|
+
const: "arbol"
|
|
267888
267940
|
},
|
|
267889
267941
|
integration: {
|
|
267890
|
-
|
|
267891
|
-
|
|
267942
|
+
type: "string",
|
|
267943
|
+
const: "salud-total"
|
|
267892
267944
|
},
|
|
267893
267945
|
name: {
|
|
267894
|
-
|
|
267895
|
-
|
|
267946
|
+
type: "string",
|
|
267947
|
+
description: "The connection's name, as an agent's builder sees it and an agent picks it: 'Sede Norte'."
|
|
267896
267948
|
},
|
|
267897
267949
|
username: {
|
|
267898
|
-
|
|
267899
|
-
|
|
267950
|
+
type: "string",
|
|
267951
|
+
pattern: "^[0-9]{4,20}$"
|
|
267900
267952
|
},
|
|
267901
267953
|
password: {
|
|
267954
|
+
type: "string",
|
|
267902
267955
|
minLength: 1,
|
|
267903
267956
|
maxLength: 200,
|
|
267904
267957
|
writeOnly: true,
|
|
267905
|
-
|
|
267958
|
+
secret: true
|
|
267906
267959
|
},
|
|
267907
267960
|
documentType: {
|
|
267908
|
-
|
|
267909
|
-
|
|
267961
|
+
type: "string",
|
|
267962
|
+
const: "CC"
|
|
267910
267963
|
},
|
|
267911
267964
|
nit: {
|
|
267912
|
-
|
|
267913
|
-
|
|
267965
|
+
type: "string",
|
|
267966
|
+
pattern: "^[0-9]{5,15}$"
|
|
267914
267967
|
},
|
|
267915
267968
|
tag: {
|
|
267916
267969
|
anyOf: [
|
|
267917
267970
|
{
|
|
267918
|
-
|
|
267919
|
-
|
|
267971
|
+
type: "string",
|
|
267972
|
+
const: "postconsulta"
|
|
267920
267973
|
},
|
|
267921
267974
|
{
|
|
267922
|
-
|
|
267923
|
-
|
|
267975
|
+
type: "string",
|
|
267976
|
+
const: "facturacion"
|
|
267924
267977
|
}
|
|
267925
267978
|
]
|
|
267926
267979
|
}
|
|
267927
|
-
}
|
|
267980
|
+
},
|
|
267981
|
+
additionalProperties: false
|
|
267928
267982
|
},
|
|
267929
267983
|
{
|
|
267930
|
-
additionalProperties: false,
|
|
267931
267984
|
type: "object",
|
|
267932
267985
|
required: [
|
|
267933
267986
|
"kind",
|
|
@@ -267937,27 +267990,28 @@ var account_connections_default = {
|
|
|
267937
267990
|
],
|
|
267938
267991
|
properties: {
|
|
267939
267992
|
kind: {
|
|
267940
|
-
|
|
267941
|
-
|
|
267993
|
+
type: "string",
|
|
267994
|
+
const: "arbol"
|
|
267942
267995
|
},
|
|
267943
267996
|
integration: {
|
|
267944
|
-
|
|
267945
|
-
|
|
267997
|
+
type: "string",
|
|
267998
|
+
const: "gmedic"
|
|
267946
267999
|
},
|
|
267947
268000
|
name: {
|
|
267948
|
-
|
|
267949
|
-
|
|
268001
|
+
type: "string",
|
|
268002
|
+
description: "The connection's name, as an agent's builder sees it and an agent picks it: 'Sede Norte'."
|
|
267950
268003
|
},
|
|
267951
268004
|
apiToken: {
|
|
268005
|
+
type: "string",
|
|
267952
268006
|
minLength: 8,
|
|
267953
268007
|
maxLength: 512,
|
|
267954
268008
|
writeOnly: true,
|
|
267955
|
-
|
|
268009
|
+
secret: true
|
|
267956
268010
|
}
|
|
267957
|
-
}
|
|
268011
|
+
},
|
|
268012
|
+
additionalProperties: false
|
|
267958
268013
|
},
|
|
267959
268014
|
{
|
|
267960
|
-
additionalProperties: false,
|
|
267961
268015
|
type: "object",
|
|
267962
268016
|
required: [
|
|
267963
268017
|
"kind",
|
|
@@ -267973,69 +268027,66 @@ var account_connections_default = {
|
|
|
267973
268027
|
],
|
|
267974
268028
|
properties: {
|
|
267975
268029
|
kind: {
|
|
267976
|
-
|
|
267977
|
-
|
|
268030
|
+
type: "string",
|
|
268031
|
+
const: "arbol"
|
|
267978
268032
|
},
|
|
267979
268033
|
integration: {
|
|
267980
|
-
|
|
267981
|
-
|
|
268034
|
+
type: "string",
|
|
268035
|
+
const: "oficlinic"
|
|
267982
268036
|
},
|
|
267983
268037
|
name: {
|
|
267984
|
-
|
|
267985
|
-
|
|
268038
|
+
type: "string",
|
|
268039
|
+
description: "The connection's name, as an agent's builder sees it and an agent picks it: 'Sede Norte'."
|
|
267986
268040
|
},
|
|
267987
268041
|
generalUsername: {
|
|
268042
|
+
type: "string",
|
|
267988
268043
|
minLength: 1,
|
|
267989
268044
|
maxLength: 64,
|
|
267990
|
-
pattern: "^\\S+$"
|
|
267991
|
-
type: "string"
|
|
268045
|
+
pattern: "^\\S+$"
|
|
267992
268046
|
},
|
|
267993
268047
|
generalPassword: {
|
|
268048
|
+
type: "string",
|
|
267994
268049
|
minLength: 1,
|
|
267995
268050
|
maxLength: 128,
|
|
267996
268051
|
pattern: "^[^\\x00-\\x1F\\x7F]+$",
|
|
267997
268052
|
writeOnly: true,
|
|
267998
|
-
|
|
268053
|
+
secret: true
|
|
267999
268054
|
},
|
|
268000
268055
|
username: {
|
|
268056
|
+
type: "string",
|
|
268001
268057
|
minLength: 1,
|
|
268002
268058
|
maxLength: 64,
|
|
268003
|
-
pattern: "^\\S+$"
|
|
268004
|
-
type: "string"
|
|
268059
|
+
pattern: "^\\S+$"
|
|
268005
268060
|
},
|
|
268006
268061
|
password: {
|
|
268062
|
+
type: "string",
|
|
268007
268063
|
minLength: 1,
|
|
268008
268064
|
maxLength: 128,
|
|
268009
268065
|
pattern: "^[^\\x00-\\x1F\\x7F]+$",
|
|
268010
268066
|
writeOnly: true,
|
|
268011
|
-
|
|
268067
|
+
secret: true
|
|
268012
268068
|
},
|
|
268013
268069
|
companyId: {
|
|
268014
|
-
|
|
268015
|
-
|
|
268070
|
+
type: "string",
|
|
268071
|
+
pattern: "^[0-9]{1,9}$"
|
|
268016
268072
|
},
|
|
268017
268073
|
siteId: {
|
|
268018
|
-
|
|
268019
|
-
|
|
268074
|
+
type: "string",
|
|
268075
|
+
pattern: "^[0-9]{1,9}$"
|
|
268020
268076
|
},
|
|
268021
268077
|
ipsId: {
|
|
268022
|
-
|
|
268023
|
-
|
|
268078
|
+
type: "string",
|
|
268079
|
+
pattern: "^[0-9]{1,9}$"
|
|
268024
268080
|
},
|
|
268025
268081
|
session: {
|
|
268026
|
-
additionalProperties: false,
|
|
268027
|
-
writeOnly: true,
|
|
268028
268082
|
type: "object",
|
|
268029
268083
|
required: [
|
|
268030
268084
|
"cookies"
|
|
268031
268085
|
],
|
|
268032
268086
|
properties: {
|
|
268033
268087
|
cookies: {
|
|
268034
|
-
minItems: 1,
|
|
268035
|
-
maxItems: 12,
|
|
268036
268088
|
type: "array",
|
|
268037
268089
|
items: {
|
|
268038
|
-
additionalProperties: false,
|
|
268039
268090
|
type: "object",
|
|
268040
268091
|
required: [
|
|
268041
268092
|
"name",
|
|
@@ -268046,37 +268097,38 @@ var account_connections_default = {
|
|
|
268046
268097
|
],
|
|
268047
268098
|
properties: {
|
|
268048
268099
|
name: {
|
|
268049
|
-
|
|
268050
|
-
|
|
268100
|
+
type: "string",
|
|
268101
|
+
pattern: "^[A-Za-z0-9!#$%&*+.^_|~-]{1,128}$"
|
|
268051
268102
|
},
|
|
268052
268103
|
value: {
|
|
268104
|
+
type: "string",
|
|
268053
268105
|
pattern: "^[\\x21\\x23-\\x3A\\x3C-\\x5B\\x5D-\\x7E]{0,1024}$",
|
|
268054
268106
|
writeOnly: true,
|
|
268055
|
-
|
|
268107
|
+
secret: true
|
|
268056
268108
|
},
|
|
268057
268109
|
domain: {
|
|
268058
268110
|
anyOf: [
|
|
268059
268111
|
{
|
|
268060
|
-
|
|
268061
|
-
|
|
268112
|
+
type: "string",
|
|
268113
|
+
const: "v0.oficlinic.com.co"
|
|
268062
268114
|
},
|
|
268063
268115
|
{
|
|
268064
|
-
|
|
268065
|
-
|
|
268116
|
+
type: "string",
|
|
268117
|
+
const: ".v0.oficlinic.com.co"
|
|
268066
268118
|
},
|
|
268067
268119
|
{
|
|
268068
|
-
|
|
268069
|
-
|
|
268120
|
+
type: "string",
|
|
268121
|
+
const: "oficlinic.com.co"
|
|
268070
268122
|
},
|
|
268071
268123
|
{
|
|
268072
|
-
|
|
268073
|
-
|
|
268124
|
+
type: "string",
|
|
268125
|
+
const: ".oficlinic.com.co"
|
|
268074
268126
|
}
|
|
268075
268127
|
]
|
|
268076
268128
|
},
|
|
268077
268129
|
path: {
|
|
268078
|
-
|
|
268079
|
-
|
|
268130
|
+
type: "string",
|
|
268131
|
+
pattern: "^/[\\x21-\\x3A\\x3C-\\x7E]{0,255}$"
|
|
268080
268132
|
},
|
|
268081
268133
|
secure: {
|
|
268082
268134
|
type: "boolean"
|
|
@@ -268087,23 +268139,28 @@ var account_connections_default = {
|
|
|
268087
268139
|
expiresAt: {
|
|
268088
268140
|
anyOf: [
|
|
268089
268141
|
{
|
|
268090
|
-
|
|
268091
|
-
|
|
268142
|
+
type: "string",
|
|
268143
|
+
format: "date-time"
|
|
268092
268144
|
},
|
|
268093
268145
|
{
|
|
268094
268146
|
type: "null"
|
|
268095
268147
|
}
|
|
268096
268148
|
]
|
|
268097
268149
|
}
|
|
268098
|
-
}
|
|
268099
|
-
|
|
268150
|
+
},
|
|
268151
|
+
additionalProperties: false
|
|
268152
|
+
},
|
|
268153
|
+
minItems: 1,
|
|
268154
|
+
maxItems: 12
|
|
268100
268155
|
}
|
|
268101
|
-
}
|
|
268156
|
+
},
|
|
268157
|
+
additionalProperties: false,
|
|
268158
|
+
writeOnly: true
|
|
268102
268159
|
}
|
|
268103
|
-
}
|
|
268160
|
+
},
|
|
268161
|
+
additionalProperties: false
|
|
268104
268162
|
},
|
|
268105
268163
|
{
|
|
268106
|
-
additionalProperties: false,
|
|
268107
268164
|
type: "object",
|
|
268108
268165
|
required: [
|
|
268109
268166
|
"kind",
|
|
@@ -268115,37 +268172,89 @@ var account_connections_default = {
|
|
|
268115
268172
|
],
|
|
268116
268173
|
properties: {
|
|
268117
268174
|
kind: {
|
|
268118
|
-
|
|
268119
|
-
|
|
268175
|
+
type: "string",
|
|
268176
|
+
const: "arbol"
|
|
268120
268177
|
},
|
|
268121
268178
|
integration: {
|
|
268122
|
-
|
|
268123
|
-
|
|
268179
|
+
type: "string",
|
|
268180
|
+
const: "famisanar"
|
|
268124
268181
|
},
|
|
268125
268182
|
name: {
|
|
268126
|
-
|
|
268127
|
-
|
|
268183
|
+
type: "string",
|
|
268184
|
+
description: "The connection's name, as an agent's builder sees it and an agent picks it: 'Sede Norte'."
|
|
268128
268185
|
},
|
|
268129
268186
|
username: {
|
|
268187
|
+
type: "string",
|
|
268130
268188
|
minLength: 1,
|
|
268131
268189
|
maxLength: 100,
|
|
268132
|
-
pattern: "^[^\\r\\n]+$"
|
|
268133
|
-
type: "string"
|
|
268190
|
+
pattern: "^[^\\r\\n]+$"
|
|
268134
268191
|
},
|
|
268135
268192
|
password: {
|
|
268193
|
+
type: "string",
|
|
268136
268194
|
minLength: 1,
|
|
268137
268195
|
maxLength: 200,
|
|
268138
268196
|
writeOnly: true,
|
|
268139
|
-
|
|
268197
|
+
secret: true
|
|
268140
268198
|
},
|
|
268141
268199
|
documentType: {
|
|
268142
|
-
|
|
268143
|
-
|
|
268200
|
+
anyOf: [
|
|
268201
|
+
{
|
|
268202
|
+
type: "string",
|
|
268203
|
+
const: "CC"
|
|
268204
|
+
},
|
|
268205
|
+
{
|
|
268206
|
+
type: "string",
|
|
268207
|
+
const: "NT"
|
|
268208
|
+
}
|
|
268209
|
+
]
|
|
268144
268210
|
}
|
|
268145
|
-
}
|
|
268211
|
+
},
|
|
268212
|
+
additionalProperties: false
|
|
268213
|
+
},
|
|
268214
|
+
{
|
|
268215
|
+
type: "object",
|
|
268216
|
+
required: [
|
|
268217
|
+
"kind",
|
|
268218
|
+
"integration",
|
|
268219
|
+
"name",
|
|
268220
|
+
"username",
|
|
268221
|
+
"password",
|
|
268222
|
+
"documentType"
|
|
268223
|
+
],
|
|
268224
|
+
properties: {
|
|
268225
|
+
kind: {
|
|
268226
|
+
type: "string",
|
|
268227
|
+
const: "arbol"
|
|
268228
|
+
},
|
|
268229
|
+
integration: {
|
|
268230
|
+
type: "string",
|
|
268231
|
+
const: "sanitas"
|
|
268232
|
+
},
|
|
268233
|
+
name: {
|
|
268234
|
+
type: "string",
|
|
268235
|
+
description: "The connection's name, as an agent's builder sees it and an agent picks it: 'Sede Norte'."
|
|
268236
|
+
},
|
|
268237
|
+
username: {
|
|
268238
|
+
type: "string",
|
|
268239
|
+
minLength: 1,
|
|
268240
|
+
maxLength: 100,
|
|
268241
|
+
pattern: "^[^\\r\\n]+$"
|
|
268242
|
+
},
|
|
268243
|
+
password: {
|
|
268244
|
+
type: "string",
|
|
268245
|
+
minLength: 1,
|
|
268246
|
+
maxLength: 200,
|
|
268247
|
+
writeOnly: true,
|
|
268248
|
+
secret: true
|
|
268249
|
+
},
|
|
268250
|
+
documentType: {
|
|
268251
|
+
type: "string",
|
|
268252
|
+
const: "CC"
|
|
268253
|
+
}
|
|
268254
|
+
},
|
|
268255
|
+
additionalProperties: false
|
|
268146
268256
|
},
|
|
268147
268257
|
{
|
|
268148
|
-
additionalProperties: false,
|
|
268149
268258
|
type: "object",
|
|
268150
268259
|
required: [
|
|
268151
268260
|
"kind",
|
|
@@ -268157,71 +268266,73 @@ var account_connections_default = {
|
|
|
268157
268266
|
],
|
|
268158
268267
|
properties: {
|
|
268159
268268
|
kind: {
|
|
268160
|
-
|
|
268161
|
-
|
|
268269
|
+
type: "string",
|
|
268270
|
+
const: "custom"
|
|
268162
268271
|
},
|
|
268163
268272
|
name: {
|
|
268164
|
-
|
|
268165
|
-
|
|
268273
|
+
type: "string",
|
|
268274
|
+
description: "The connection's name, as an agent's builder sees it and an agent picks it: 'Sede Norte'."
|
|
268166
268275
|
},
|
|
268167
268276
|
transport: {
|
|
268168
268277
|
anyOf: [
|
|
268169
268278
|
{
|
|
268170
|
-
|
|
268171
|
-
|
|
268279
|
+
type: "string",
|
|
268280
|
+
const: "http"
|
|
268172
268281
|
},
|
|
268173
268282
|
{
|
|
268174
|
-
|
|
268175
|
-
|
|
268283
|
+
type: "string",
|
|
268284
|
+
const: "mcp"
|
|
268176
268285
|
}
|
|
268177
268286
|
],
|
|
268178
268287
|
description: "http: an OpenAPI 3 document (or a server whose /openapi.json serves one). mcp: an MCP endpoint (Streamable HTTP)."
|
|
268179
268288
|
},
|
|
268180
268289
|
url: {
|
|
268290
|
+
type: "string",
|
|
268181
268291
|
format: "uri",
|
|
268182
268292
|
maxLength: 2048,
|
|
268183
268293
|
pattern: "^https://[^?#]+$",
|
|
268184
|
-
description: "The OpenAPI document, or the MCP endpoint: https, without a query or a fragment."
|
|
268185
|
-
type: "string"
|
|
268294
|
+
description: "The OpenAPI document, or the MCP endpoint: https, without a query or a fragment."
|
|
268186
268295
|
},
|
|
268187
268296
|
authHeader: {
|
|
268297
|
+
type: "string",
|
|
268188
268298
|
pattern: "^[A-Za-z][A-Za-z0-9-]{0,63}$",
|
|
268189
|
-
description: "The header that carries the secret; without it the secret is sent as Authorization: Bearer."
|
|
268190
|
-
type: "string"
|
|
268299
|
+
description: "The header that carries the secret; without it the secret is sent as Authorization: Bearer."
|
|
268191
268300
|
},
|
|
268192
268301
|
secret: {
|
|
268302
|
+
type: "string",
|
|
268303
|
+
secret: true,
|
|
268193
268304
|
minLength: 1,
|
|
268194
268305
|
maxLength: 4096,
|
|
268195
268306
|
pattern: "^[^\\r\\n]+$",
|
|
268196
|
-
description: "The server's secret. It is sealed and only ever sent to the registered server."
|
|
268197
|
-
type: "string"
|
|
268307
|
+
description: "The server's secret. It is sealed and only ever sent to the registered server."
|
|
268198
268308
|
},
|
|
268199
268309
|
fileArgument: {
|
|
268310
|
+
type: "string",
|
|
268200
268311
|
pattern: "^[A-Za-z_][A-Za-z0-9_]{0,63}$",
|
|
268201
|
-
description: "The tool argument that receives files, if any: Raíz puts short-lived signed URLs there."
|
|
268202
|
-
type: "string"
|
|
268312
|
+
description: "The tool argument that receives files, if any: Raíz puts short-lived signed URLs there."
|
|
268203
268313
|
},
|
|
268204
268314
|
writesThrough: {
|
|
268205
|
-
additionalProperties: false,
|
|
268206
|
-
maxProperties: 100,
|
|
268207
|
-
description: "Per write tool, the Arbol integrations it writes through (sura, agenda), when its document does not say: Raíz fences them together.",
|
|
268208
268315
|
type: "object",
|
|
268209
268316
|
patternProperties: {
|
|
268210
268317
|
"^[A-Za-z][A-Za-z0-9_-]{0,63}$": {
|
|
268211
|
-
maxItems: 10,
|
|
268212
268318
|
type: "array",
|
|
268213
268319
|
items: {
|
|
268214
|
-
|
|
268215
|
-
|
|
268216
|
-
}
|
|
268320
|
+
type: "string",
|
|
268321
|
+
pattern: "^[a-z][a-z0-9-]{1,63}$"
|
|
268322
|
+
},
|
|
268323
|
+
maxItems: 10
|
|
268217
268324
|
}
|
|
268218
|
-
}
|
|
268325
|
+
},
|
|
268326
|
+
additionalProperties: false,
|
|
268327
|
+
maxProperties: 100,
|
|
268328
|
+
description: "Per write tool, the Arbol integrations it writes through (sura, agenda), when its document does not say: Raíz fences them together."
|
|
268219
268329
|
},
|
|
268220
268330
|
writesEnabled: {
|
|
268221
|
-
|
|
268222
|
-
|
|
268331
|
+
type: "boolean",
|
|
268332
|
+
description: "Staff verified the server's domain belongs to the organization: its write tools are offered. Turning it on records who verified which domain and when; turning it off holds them again."
|
|
268223
268333
|
}
|
|
268224
|
-
}
|
|
268334
|
+
},
|
|
268335
|
+
additionalProperties: false
|
|
268225
268336
|
}
|
|
268226
268337
|
]
|
|
268227
268338
|
},
|
|
@@ -268240,35 +268351,30 @@ var account_connections_default = {
|
|
|
268240
268351
|
operationId: "updateConnection",
|
|
268241
268352
|
name: "account.connections.update",
|
|
268242
268353
|
command: "account connections update",
|
|
268243
|
-
title: "Change a connection
|
|
268244
|
-
description: "
|
|
268354
|
+
title: "Change a connection",
|
|
268355
|
+
description: "Arbol staff: rename, disable or enable a connection, or change its credentials. Only new or changed logins are verified, each with one real sign-in; a refused one changes nothing and the previous credentials stay. SURA: add logins, change one by its login number, or remove some (one always stays). Send suraLogin on its own with the login number and the password or authenticator key that changed. Account uses the stored username and any omitted credential. A custom server's settings are Arbol staff's; turning its writesEnabled on verifies its domain and offers its held writes. With connection write access, only a connection's WhatsApp appointment reminders (reminders) or whether Arbi may use it (arbi), each sent on its own, or the name alone of a server the organization registered: nothing is verified and its credentials and tools stay as they are.",
|
|
268245
268356
|
input: {
|
|
268246
|
-
additionalProperties: false,
|
|
268247
268357
|
type: "object",
|
|
268248
268358
|
required: [
|
|
268249
268359
|
"connectionId"
|
|
268250
268360
|
],
|
|
268251
268361
|
properties: {
|
|
268252
268362
|
connectionId: {
|
|
268363
|
+
type: "string",
|
|
268253
268364
|
pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
|
|
268254
|
-
description: "A connection's id: con_ and 26 characters, stable and unique across the platform."
|
|
268255
|
-
type: "string"
|
|
268365
|
+
description: "A connection's id: con_ and 26 characters, stable and unique across the platform."
|
|
268256
268366
|
},
|
|
268257
268367
|
name: {
|
|
268258
|
-
|
|
268259
|
-
|
|
268368
|
+
type: "string",
|
|
268369
|
+
description: "The connection's name, as an agent's builder sees it and an agent picks it: 'Sede Norte'."
|
|
268260
268370
|
},
|
|
268261
268371
|
enabled: {
|
|
268262
|
-
|
|
268263
|
-
|
|
268372
|
+
type: "boolean",
|
|
268373
|
+
description: "false disables the connection (its owner refuses it); true enables it again."
|
|
268264
268374
|
},
|
|
268265
268375
|
logins: {
|
|
268266
|
-
minItems: 1,
|
|
268267
|
-
maxItems: 5,
|
|
268268
|
-
description: "SURA: logins to add or to change; only these are verified.",
|
|
268269
268376
|
type: "array",
|
|
268270
268377
|
items: {
|
|
268271
|
-
additionalProperties: false,
|
|
268272
268378
|
type: "object",
|
|
268273
268379
|
required: [
|
|
268274
268380
|
"username",
|
|
@@ -268277,134 +268383,229 @@ var account_connections_default = {
|
|
|
268277
268383
|
],
|
|
268278
268384
|
properties: {
|
|
268279
268385
|
login: {
|
|
268386
|
+
type: "integer",
|
|
268280
268387
|
minimum: 0,
|
|
268281
268388
|
maximum: 1000,
|
|
268282
|
-
description: "SURA: the login whose password or key changes; without it, a new login."
|
|
268283
|
-
type: "integer"
|
|
268389
|
+
description: "SURA: the login whose password or key changes; without it, a new login."
|
|
268284
268390
|
},
|
|
268285
268391
|
username: {
|
|
268286
|
-
|
|
268287
|
-
|
|
268392
|
+
type: "string",
|
|
268393
|
+
description: "A username the clinic signs in to the SURA portal with."
|
|
268288
268394
|
},
|
|
268289
268395
|
password: {
|
|
268396
|
+
type: "string",
|
|
268397
|
+
secret: true,
|
|
268290
268398
|
minLength: 1,
|
|
268291
268399
|
maxLength: 512,
|
|
268292
268400
|
pattern: "^[^\\r\\n]+$",
|
|
268293
|
-
description: "Its password, exactly as typed."
|
|
268294
|
-
type: "string"
|
|
268401
|
+
description: "Its password, exactly as typed."
|
|
268295
268402
|
},
|
|
268296
268403
|
totpSecret: {
|
|
268297
|
-
|
|
268298
|
-
|
|
268404
|
+
type: "string",
|
|
268405
|
+
secret: true,
|
|
268406
|
+
description: "The account's authenticator setup key: the Base32 text SURA shows when an authenticator app is added."
|
|
268299
268407
|
}
|
|
268300
|
-
}
|
|
268301
|
-
|
|
268302
|
-
|
|
268303
|
-
removeLogins: {
|
|
268408
|
+
},
|
|
268409
|
+
additionalProperties: false
|
|
268410
|
+
},
|
|
268304
268411
|
minItems: 1,
|
|
268305
268412
|
maxItems: 5,
|
|
268306
|
-
description: "SURA:
|
|
268413
|
+
description: "SURA: logins to add or to change; only these are verified."
|
|
268414
|
+
},
|
|
268415
|
+
removeLogins: {
|
|
268307
268416
|
type: "array",
|
|
268308
268417
|
items: {
|
|
268418
|
+
type: "integer",
|
|
268309
268419
|
minimum: 0,
|
|
268310
|
-
maximum: 1000
|
|
268311
|
-
|
|
268312
|
-
|
|
268420
|
+
maximum: 1000
|
|
268421
|
+
},
|
|
268422
|
+
minItems: 1,
|
|
268423
|
+
maxItems: 5,
|
|
268424
|
+
description: "SURA: the logins to remove; at least one login stays."
|
|
268425
|
+
},
|
|
268426
|
+
suraLoginPassword: {
|
|
268427
|
+
type: "object",
|
|
268428
|
+
required: [
|
|
268429
|
+
"login",
|
|
268430
|
+
"password"
|
|
268431
|
+
],
|
|
268432
|
+
properties: {
|
|
268433
|
+
login: {
|
|
268434
|
+
type: "integer",
|
|
268435
|
+
minimum: 0,
|
|
268436
|
+
maximum: 1000
|
|
268437
|
+
},
|
|
268438
|
+
username: {
|
|
268439
|
+
type: "string",
|
|
268440
|
+
description: "A username the clinic signs in to the SURA portal with.",
|
|
268441
|
+
secret: true
|
|
268442
|
+
},
|
|
268443
|
+
password: {
|
|
268444
|
+
type: "string",
|
|
268445
|
+
secret: true,
|
|
268446
|
+
minLength: 1,
|
|
268447
|
+
maxLength: 512,
|
|
268448
|
+
pattern: "^[^\\r\\n]+$",
|
|
268449
|
+
description: "Its password, exactly as typed."
|
|
268450
|
+
}
|
|
268451
|
+
},
|
|
268452
|
+
additionalProperties: false,
|
|
268453
|
+
description: "Update only the password of an existing SURA login, using its stored authenticator key."
|
|
268454
|
+
},
|
|
268455
|
+
suraLogin: {
|
|
268456
|
+
anyOf: [
|
|
268457
|
+
{
|
|
268458
|
+
type: "object",
|
|
268459
|
+
required: [
|
|
268460
|
+
"login",
|
|
268461
|
+
"password"
|
|
268462
|
+
],
|
|
268463
|
+
properties: {
|
|
268464
|
+
login: {
|
|
268465
|
+
type: "integer",
|
|
268466
|
+
minimum: 0,
|
|
268467
|
+
maximum: 1000
|
|
268468
|
+
},
|
|
268469
|
+
password: {
|
|
268470
|
+
type: "string",
|
|
268471
|
+
secret: true,
|
|
268472
|
+
minLength: 1,
|
|
268473
|
+
maxLength: 512,
|
|
268474
|
+
pattern: "^[^\\r\\n]+$",
|
|
268475
|
+
description: "Its password, exactly as typed."
|
|
268476
|
+
},
|
|
268477
|
+
totpSecret: {
|
|
268478
|
+
type: "string",
|
|
268479
|
+
secret: true,
|
|
268480
|
+
description: "The account's authenticator setup key: the Base32 text SURA shows when an authenticator app is added."
|
|
268481
|
+
}
|
|
268482
|
+
},
|
|
268483
|
+
additionalProperties: false
|
|
268484
|
+
},
|
|
268485
|
+
{
|
|
268486
|
+
type: "object",
|
|
268487
|
+
required: [
|
|
268488
|
+
"login",
|
|
268489
|
+
"totpSecret"
|
|
268490
|
+
],
|
|
268491
|
+
properties: {
|
|
268492
|
+
login: {
|
|
268493
|
+
type: "integer",
|
|
268494
|
+
minimum: 0,
|
|
268495
|
+
maximum: 1000
|
|
268496
|
+
},
|
|
268497
|
+
password: {
|
|
268498
|
+
type: "string",
|
|
268499
|
+
secret: true,
|
|
268500
|
+
minLength: 1,
|
|
268501
|
+
maxLength: 512,
|
|
268502
|
+
pattern: "^[^\\r\\n]+$",
|
|
268503
|
+
description: "Its password, exactly as typed."
|
|
268504
|
+
},
|
|
268505
|
+
totpSecret: {
|
|
268506
|
+
type: "string",
|
|
268507
|
+
secret: true,
|
|
268508
|
+
description: "The account's authenticator setup key: the Base32 text SURA shows when an authenticator app is added."
|
|
268509
|
+
}
|
|
268510
|
+
},
|
|
268511
|
+
additionalProperties: false
|
|
268512
|
+
}
|
|
268513
|
+
],
|
|
268514
|
+
description: "Update a saved SURA login's password, authenticator key, or both. Omitted values stay saved."
|
|
268313
268515
|
},
|
|
268314
268516
|
apiToken: {
|
|
268517
|
+
type: "string",
|
|
268315
268518
|
minLength: 8,
|
|
268316
268519
|
maxLength: 512,
|
|
268317
268520
|
writeOnly: true,
|
|
268318
|
-
|
|
268521
|
+
secret: true
|
|
268319
268522
|
},
|
|
268320
268523
|
portal: {
|
|
268524
|
+
type: "string",
|
|
268321
268525
|
minLength: 1,
|
|
268322
268526
|
maxLength: 64,
|
|
268323
|
-
pattern: "^[a-z][a-z0-9-]*$"
|
|
268324
|
-
type: "string"
|
|
268527
|
+
pattern: "^[a-z][a-z0-9-]*$"
|
|
268325
268528
|
},
|
|
268326
268529
|
documentType: {
|
|
268530
|
+
type: "string",
|
|
268327
268531
|
minLength: 2,
|
|
268328
268532
|
maxLength: 4,
|
|
268329
|
-
pattern: "^[A-Z]+$"
|
|
268330
|
-
type: "string"
|
|
268533
|
+
pattern: "^[A-Z]+$"
|
|
268331
268534
|
},
|
|
268332
268535
|
providerCode: {
|
|
268333
|
-
|
|
268334
|
-
|
|
268536
|
+
type: "string",
|
|
268537
|
+
pattern: "^[0-9]{1,20}$"
|
|
268335
268538
|
},
|
|
268336
268539
|
nit: {
|
|
268337
|
-
|
|
268338
|
-
|
|
268540
|
+
type: "string",
|
|
268541
|
+
pattern: "^[0-9]{5,15}$"
|
|
268339
268542
|
},
|
|
268340
268543
|
tag: {
|
|
268341
268544
|
anyOf: [
|
|
268342
268545
|
{
|
|
268343
|
-
|
|
268344
|
-
|
|
268546
|
+
type: "string",
|
|
268547
|
+
const: "postconsulta"
|
|
268345
268548
|
},
|
|
268346
268549
|
{
|
|
268347
|
-
|
|
268348
|
-
|
|
268550
|
+
type: "string",
|
|
268551
|
+
const: "facturacion"
|
|
268349
268552
|
}
|
|
268350
268553
|
]
|
|
268351
268554
|
},
|
|
268352
268555
|
clinicId: {
|
|
268556
|
+
type: "string",
|
|
268353
268557
|
minLength: 1,
|
|
268354
268558
|
maxLength: 64,
|
|
268355
268559
|
pattern: "^[A-Za-z0-9_-]+$",
|
|
268356
|
-
description: "The clinic whose SIIPS the login belongs to, as visoft.clinics.list names it."
|
|
268357
|
-
type: "string"
|
|
268560
|
+
description: "The clinic whose SIIPS the login belongs to, as visoft.clinics.list names it."
|
|
268358
268561
|
},
|
|
268359
268562
|
username: {
|
|
268360
|
-
|
|
268361
|
-
|
|
268563
|
+
type: "string",
|
|
268564
|
+
secret: true,
|
|
268565
|
+
description: "The username the clinic's team signs in to SIIPS with."
|
|
268362
268566
|
},
|
|
268363
268567
|
password: {
|
|
268568
|
+
type: "string",
|
|
268569
|
+
secret: true,
|
|
268364
268570
|
minLength: 1,
|
|
268365
268571
|
maxLength: 4096,
|
|
268366
|
-
description: "Its password, exactly as typed."
|
|
268367
|
-
type: "string"
|
|
268572
|
+
description: "Its password, exactly as typed."
|
|
268368
268573
|
},
|
|
268369
268574
|
generalUsername: {
|
|
268575
|
+
type: "string",
|
|
268370
268576
|
minLength: 1,
|
|
268371
268577
|
maxLength: 64,
|
|
268372
|
-
pattern: "^\\S+$"
|
|
268373
|
-
type: "string"
|
|
268578
|
+
pattern: "^\\S+$"
|
|
268374
268579
|
},
|
|
268375
268580
|
generalPassword: {
|
|
268581
|
+
type: "string",
|
|
268376
268582
|
minLength: 1,
|
|
268377
268583
|
maxLength: 128,
|
|
268378
268584
|
pattern: "^[^\\x00-\\x1F\\x7F]+$",
|
|
268379
268585
|
writeOnly: true,
|
|
268380
|
-
|
|
268586
|
+
secret: true
|
|
268381
268587
|
},
|
|
268382
268588
|
companyId: {
|
|
268383
|
-
|
|
268384
|
-
|
|
268589
|
+
type: "string",
|
|
268590
|
+
pattern: "^[0-9]{1,9}$"
|
|
268385
268591
|
},
|
|
268386
268592
|
siteId: {
|
|
268387
|
-
|
|
268388
|
-
|
|
268593
|
+
type: "string",
|
|
268594
|
+
pattern: "^[0-9]{1,9}$"
|
|
268389
268595
|
},
|
|
268390
268596
|
ipsId: {
|
|
268391
|
-
|
|
268392
|
-
|
|
268597
|
+
type: "string",
|
|
268598
|
+
pattern: "^[0-9]{1,9}$"
|
|
268393
268599
|
},
|
|
268394
268600
|
session: {
|
|
268395
|
-
additionalProperties: false,
|
|
268396
|
-
writeOnly: true,
|
|
268397
268601
|
type: "object",
|
|
268398
268602
|
required: [
|
|
268399
268603
|
"cookies"
|
|
268400
268604
|
],
|
|
268401
268605
|
properties: {
|
|
268402
268606
|
cookies: {
|
|
268403
|
-
minItems: 1,
|
|
268404
|
-
maxItems: 12,
|
|
268405
268607
|
type: "array",
|
|
268406
268608
|
items: {
|
|
268407
|
-
additionalProperties: false,
|
|
268408
268609
|
type: "object",
|
|
268409
268610
|
required: [
|
|
268410
268611
|
"name",
|
|
@@ -268415,37 +268616,38 @@ var account_connections_default = {
|
|
|
268415
268616
|
],
|
|
268416
268617
|
properties: {
|
|
268417
268618
|
name: {
|
|
268418
|
-
|
|
268419
|
-
|
|
268619
|
+
type: "string",
|
|
268620
|
+
pattern: "^[A-Za-z0-9!#$%&*+.^_|~-]{1,128}$"
|
|
268420
268621
|
},
|
|
268421
268622
|
value: {
|
|
268623
|
+
type: "string",
|
|
268422
268624
|
pattern: "^[\\x21\\x23-\\x3A\\x3C-\\x5B\\x5D-\\x7E]{0,1024}$",
|
|
268423
268625
|
writeOnly: true,
|
|
268424
|
-
|
|
268626
|
+
secret: true
|
|
268425
268627
|
},
|
|
268426
268628
|
domain: {
|
|
268427
268629
|
anyOf: [
|
|
268428
268630
|
{
|
|
268429
|
-
|
|
268430
|
-
|
|
268631
|
+
type: "string",
|
|
268632
|
+
const: "v0.oficlinic.com.co"
|
|
268431
268633
|
},
|
|
268432
268634
|
{
|
|
268433
|
-
|
|
268434
|
-
|
|
268635
|
+
type: "string",
|
|
268636
|
+
const: ".v0.oficlinic.com.co"
|
|
268435
268637
|
},
|
|
268436
268638
|
{
|
|
268437
|
-
|
|
268438
|
-
|
|
268639
|
+
type: "string",
|
|
268640
|
+
const: "oficlinic.com.co"
|
|
268439
268641
|
},
|
|
268440
268642
|
{
|
|
268441
|
-
|
|
268442
|
-
|
|
268643
|
+
type: "string",
|
|
268644
|
+
const: ".oficlinic.com.co"
|
|
268443
268645
|
}
|
|
268444
268646
|
]
|
|
268445
268647
|
},
|
|
268446
268648
|
path: {
|
|
268447
|
-
|
|
268448
|
-
|
|
268649
|
+
type: "string",
|
|
268650
|
+
pattern: "^/[\\x21-\\x3A\\x3C-\\x7E]{0,255}$"
|
|
268449
268651
|
},
|
|
268450
268652
|
secure: {
|
|
268451
268653
|
type: "boolean"
|
|
@@ -268456,45 +268658,50 @@ var account_connections_default = {
|
|
|
268456
268658
|
expiresAt: {
|
|
268457
268659
|
anyOf: [
|
|
268458
268660
|
{
|
|
268459
|
-
|
|
268460
|
-
|
|
268661
|
+
type: "string",
|
|
268662
|
+
format: "date-time"
|
|
268461
268663
|
},
|
|
268462
268664
|
{
|
|
268463
268665
|
type: "null"
|
|
268464
268666
|
}
|
|
268465
268667
|
]
|
|
268466
268668
|
}
|
|
268467
|
-
}
|
|
268468
|
-
|
|
268669
|
+
},
|
|
268670
|
+
additionalProperties: false
|
|
268671
|
+
},
|
|
268672
|
+
minItems: 1,
|
|
268673
|
+
maxItems: 12
|
|
268469
268674
|
}
|
|
268470
|
-
}
|
|
268675
|
+
},
|
|
268676
|
+
additionalProperties: false,
|
|
268677
|
+
writeOnly: true
|
|
268471
268678
|
},
|
|
268472
268679
|
transport: {
|
|
268473
268680
|
anyOf: [
|
|
268474
268681
|
{
|
|
268475
|
-
|
|
268476
|
-
|
|
268682
|
+
type: "string",
|
|
268683
|
+
const: "http"
|
|
268477
268684
|
},
|
|
268478
268685
|
{
|
|
268479
|
-
|
|
268480
|
-
|
|
268686
|
+
type: "string",
|
|
268687
|
+
const: "mcp"
|
|
268481
268688
|
}
|
|
268482
268689
|
],
|
|
268483
268690
|
description: "http: an OpenAPI 3 document (or a server whose /openapi.json serves one). mcp: an MCP endpoint (Streamable HTTP)."
|
|
268484
268691
|
},
|
|
268485
268692
|
url: {
|
|
268693
|
+
type: "string",
|
|
268486
268694
|
format: "uri",
|
|
268487
268695
|
maxLength: 2048,
|
|
268488
268696
|
pattern: "^https://[^?#]+$",
|
|
268489
|
-
description: "The OpenAPI document, or the MCP endpoint: https, without a query or a fragment."
|
|
268490
|
-
type: "string"
|
|
268697
|
+
description: "The OpenAPI document, or the MCP endpoint: https, without a query or a fragment."
|
|
268491
268698
|
},
|
|
268492
268699
|
authHeader: {
|
|
268493
268700
|
anyOf: [
|
|
268494
268701
|
{
|
|
268702
|
+
type: "string",
|
|
268495
268703
|
pattern: "^[A-Za-z][A-Za-z0-9-]{0,63}$",
|
|
268496
|
-
description: "The header that carries the secret; without it the secret is sent as Authorization: Bearer."
|
|
268497
|
-
type: "string"
|
|
268704
|
+
description: "The header that carries the secret; without it the secret is sent as Authorization: Bearer."
|
|
268498
268705
|
},
|
|
268499
268706
|
{
|
|
268500
268707
|
type: "null"
|
|
@@ -268502,18 +268709,19 @@ var account_connections_default = {
|
|
|
268502
268709
|
]
|
|
268503
268710
|
},
|
|
268504
268711
|
secret: {
|
|
268712
|
+
type: "string",
|
|
268713
|
+
secret: true,
|
|
268505
268714
|
minLength: 1,
|
|
268506
268715
|
maxLength: 4096,
|
|
268507
268716
|
pattern: "^[^\\r\\n]+$",
|
|
268508
|
-
description: "The server's secret. It is sealed and only ever sent to the registered server."
|
|
268509
|
-
type: "string"
|
|
268717
|
+
description: "The server's secret. It is sealed and only ever sent to the registered server."
|
|
268510
268718
|
},
|
|
268511
268719
|
fileArgument: {
|
|
268512
268720
|
anyOf: [
|
|
268513
268721
|
{
|
|
268722
|
+
type: "string",
|
|
268514
268723
|
pattern: "^[A-Za-z_][A-Za-z0-9_]{0,63}$",
|
|
268515
|
-
description: "The tool argument that receives files, if any: Raíz puts short-lived signed URLs there."
|
|
268516
|
-
type: "string"
|
|
268724
|
+
description: "The tool argument that receives files, if any: Raíz puts short-lived signed URLs there."
|
|
268517
268725
|
},
|
|
268518
268726
|
{
|
|
268519
268727
|
type: "null"
|
|
@@ -268521,26 +268729,81 @@ var account_connections_default = {
|
|
|
268521
268729
|
]
|
|
268522
268730
|
},
|
|
268523
268731
|
writesThrough: {
|
|
268524
|
-
additionalProperties: false,
|
|
268525
|
-
maxProperties: 100,
|
|
268526
|
-
description: "Per write tool, the Arbol integrations it writes through (sura, agenda), when its document does not say: Raíz fences them together.",
|
|
268527
268732
|
type: "object",
|
|
268528
268733
|
patternProperties: {
|
|
268529
268734
|
"^[A-Za-z][A-Za-z0-9_-]{0,63}$": {
|
|
268530
|
-
maxItems: 10,
|
|
268531
268735
|
type: "array",
|
|
268532
268736
|
items: {
|
|
268533
|
-
|
|
268534
|
-
|
|
268535
|
-
}
|
|
268737
|
+
type: "string",
|
|
268738
|
+
pattern: "^[a-z][a-z0-9-]{1,63}$"
|
|
268739
|
+
},
|
|
268740
|
+
maxItems: 10
|
|
268536
268741
|
}
|
|
268537
|
-
}
|
|
268742
|
+
},
|
|
268743
|
+
additionalProperties: false,
|
|
268744
|
+
maxProperties: 100,
|
|
268745
|
+
description: "Per write tool, the Arbol integrations it writes through (sura, agenda), when its document does not say: Raíz fences them together."
|
|
268538
268746
|
},
|
|
268539
268747
|
writesEnabled: {
|
|
268540
|
-
|
|
268541
|
-
|
|
268748
|
+
type: "boolean",
|
|
268749
|
+
description: "Staff verified the server's domain belongs to the organization: its write tools are offered. Turning it on records who verified which domain and when; turning it off holds them again."
|
|
268750
|
+
},
|
|
268751
|
+
reminders: {
|
|
268752
|
+
type: "object",
|
|
268753
|
+
required: [
|
|
268754
|
+
"mode",
|
|
268755
|
+
"sendAt",
|
|
268756
|
+
"daysBefore"
|
|
268757
|
+
],
|
|
268758
|
+
properties: {
|
|
268759
|
+
mode: {
|
|
268760
|
+
anyOf: [
|
|
268761
|
+
{
|
|
268762
|
+
type: "string",
|
|
268763
|
+
const: "off"
|
|
268764
|
+
},
|
|
268765
|
+
{
|
|
268766
|
+
type: "string",
|
|
268767
|
+
const: "review"
|
|
268768
|
+
},
|
|
268769
|
+
{
|
|
268770
|
+
type: "string",
|
|
268771
|
+
const: "automatic"
|
|
268772
|
+
}
|
|
268773
|
+
],
|
|
268774
|
+
description: "off: nothing is prepared or sent. review: each day the list is prepared as a campaign that has not started, for a person to review and start. automatic: each day the list is prepared and sent by itself at sendAt."
|
|
268775
|
+
},
|
|
268776
|
+
sendAt: {
|
|
268777
|
+
type: "string",
|
|
268778
|
+
pattern: "^(?:(?:0[6-9]|1[0-9]):(?:00|15|30|45)|20:00)$",
|
|
268779
|
+
description: "When the day's reminders go out: HH:MM, 24-hour, in the clinic's local time, every 15 minutes from 06:00 to 20:00. Every day, weekends and holidays included."
|
|
268780
|
+
},
|
|
268781
|
+
daysBefore: {
|
|
268782
|
+
type: "integer",
|
|
268783
|
+
minimum: 1,
|
|
268784
|
+
maximum: 7,
|
|
268785
|
+
description: "On a given day, the appointments this many days ahead are reminded: 1 is the day before."
|
|
268786
|
+
}
|
|
268787
|
+
},
|
|
268788
|
+
additionalProperties: false,
|
|
268789
|
+
description: "The connection's WhatsApp appointment reminders, complete, sent on their own: only where its reminders are not null. Changing them verifies nothing and leaves its credentials and tools as they are."
|
|
268790
|
+
},
|
|
268791
|
+
arbi: {
|
|
268792
|
+
type: "object",
|
|
268793
|
+
required: [
|
|
268794
|
+
"enabled"
|
|
268795
|
+
],
|
|
268796
|
+
properties: {
|
|
268797
|
+
enabled: {
|
|
268798
|
+
type: "boolean",
|
|
268799
|
+
description: "true: Arbi may use this connection's tools, within what the person asking may do. false: Arbi neither sees nor uses it. Agents and API keys are not affected."
|
|
268800
|
+
}
|
|
268801
|
+
},
|
|
268802
|
+
additionalProperties: false,
|
|
268803
|
+
description: "Whether Arbi may use the connection, sent on its own. Any connection of the organization, its Agenda, Contactabilidad and Account included. Changing it verifies nothing and leaves the connection's status, credentials and tools as they are."
|
|
268542
268804
|
}
|
|
268543
|
-
}
|
|
268805
|
+
},
|
|
268806
|
+
additionalProperties: false
|
|
268544
268807
|
},
|
|
268545
268808
|
http: {
|
|
268546
268809
|
method: "PATCH",
|
|
@@ -268548,30 +268811,35 @@ var account_connections_default = {
|
|
|
268548
268811
|
},
|
|
268549
268812
|
effect: "write",
|
|
268550
268813
|
actorKinds: [
|
|
268551
|
-
"user"
|
|
268814
|
+
"user",
|
|
268815
|
+
"service"
|
|
268816
|
+
],
|
|
268817
|
+
scope: [
|
|
268818
|
+
"account:connections:operate",
|
|
268819
|
+
"account:connections:write",
|
|
268820
|
+
"account:connections:reconcile"
|
|
268552
268821
|
],
|
|
268553
|
-
scope: "account:connections:operate",
|
|
268554
268822
|
maxOutputBytes: 1048576
|
|
268555
268823
|
},
|
|
268556
268824
|
{
|
|
268557
268825
|
operationId: "deleteConnection",
|
|
268558
268826
|
name: "account.connections.delete",
|
|
268559
268827
|
command: "account connections delete",
|
|
268560
|
-
title: "Remove a connection
|
|
268561
|
-
description: "Remove a connection: its owner drops the session first, then its credentials are destroyed. Agents that used it stop seeing its tools. The organization's Agenda cannot be removed.",
|
|
268828
|
+
title: "Remove a connection",
|
|
268829
|
+
description: "Remove a connection: its owner drops the session first, then its credentials are destroyed. Agents that used it stop seeing its tools. The organization's Agenda cannot be removed. Arbol staff remove any; with connection write access, only a server the organization registered.",
|
|
268562
268830
|
input: {
|
|
268563
|
-
additionalProperties: false,
|
|
268564
268831
|
type: "object",
|
|
268565
268832
|
required: [
|
|
268566
268833
|
"connectionId"
|
|
268567
268834
|
],
|
|
268568
268835
|
properties: {
|
|
268569
268836
|
connectionId: {
|
|
268837
|
+
type: "string",
|
|
268570
268838
|
pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
|
|
268571
|
-
description: "A connection's id: con_ and 26 characters, stable and unique across the platform."
|
|
268572
|
-
type: "string"
|
|
268839
|
+
description: "A connection's id: con_ and 26 characters, stable and unique across the platform."
|
|
268573
268840
|
}
|
|
268574
|
-
}
|
|
268841
|
+
},
|
|
268842
|
+
additionalProperties: false
|
|
268575
268843
|
},
|
|
268576
268844
|
http: {
|
|
268577
268845
|
method: "DELETE",
|
|
@@ -268581,7 +268849,10 @@ var account_connections_default = {
|
|
|
268581
268849
|
actorKinds: [
|
|
268582
268850
|
"user"
|
|
268583
268851
|
],
|
|
268584
|
-
scope:
|
|
268852
|
+
scope: [
|
|
268853
|
+
"account:connections:operate",
|
|
268854
|
+
"account:connections:write"
|
|
268855
|
+
],
|
|
268585
268856
|
maxOutputBytes: 1048576
|
|
268586
268857
|
},
|
|
268587
268858
|
{
|
|
@@ -268591,7 +268862,6 @@ var account_connections_default = {
|
|
|
268591
268862
|
title: "Read a custom server's tools (staff)",
|
|
268592
268863
|
description: "Read a custom server's tools before registering it: its OpenAPI document or its MCP tools/list, with its secret. Nothing is stored. It is a write because it sends a secret to another server.",
|
|
268593
268864
|
input: {
|
|
268594
|
-
additionalProperties: false,
|
|
268595
268865
|
type: "object",
|
|
268596
268866
|
required: [
|
|
268597
268867
|
"transport",
|
|
@@ -268602,52 +268872,54 @@ var account_connections_default = {
|
|
|
268602
268872
|
transport: {
|
|
268603
268873
|
anyOf: [
|
|
268604
268874
|
{
|
|
268605
|
-
|
|
268606
|
-
|
|
268875
|
+
type: "string",
|
|
268876
|
+
const: "http"
|
|
268607
268877
|
},
|
|
268608
268878
|
{
|
|
268609
|
-
|
|
268610
|
-
|
|
268879
|
+
type: "string",
|
|
268880
|
+
const: "mcp"
|
|
268611
268881
|
}
|
|
268612
268882
|
],
|
|
268613
268883
|
description: "http: an OpenAPI 3 document (or a server whose /openapi.json serves one). mcp: an MCP endpoint (Streamable HTTP)."
|
|
268614
268884
|
},
|
|
268615
268885
|
url: {
|
|
268886
|
+
type: "string",
|
|
268616
268887
|
format: "uri",
|
|
268617
268888
|
maxLength: 2048,
|
|
268618
268889
|
pattern: "^https://[^?#]+$",
|
|
268619
|
-
description: "The OpenAPI document, or the MCP endpoint: https, without a query or a fragment."
|
|
268620
|
-
type: "string"
|
|
268890
|
+
description: "The OpenAPI document, or the MCP endpoint: https, without a query or a fragment."
|
|
268621
268891
|
},
|
|
268622
268892
|
authHeader: {
|
|
268893
|
+
type: "string",
|
|
268623
268894
|
pattern: "^[A-Za-z][A-Za-z0-9-]{0,63}$",
|
|
268624
|
-
description: "The header that carries the secret; without it the secret is sent as Authorization: Bearer."
|
|
268625
|
-
type: "string"
|
|
268895
|
+
description: "The header that carries the secret; without it the secret is sent as Authorization: Bearer."
|
|
268626
268896
|
},
|
|
268627
268897
|
secret: {
|
|
268898
|
+
type: "string",
|
|
268899
|
+
secret: true,
|
|
268628
268900
|
minLength: 1,
|
|
268629
268901
|
maxLength: 4096,
|
|
268630
268902
|
pattern: "^[^\\r\\n]+$",
|
|
268631
|
-
description: "The server's secret. It is sealed and only ever sent to the registered server."
|
|
268632
|
-
type: "string"
|
|
268903
|
+
description: "The server's secret. It is sealed and only ever sent to the registered server."
|
|
268633
268904
|
},
|
|
268634
268905
|
writesThrough: {
|
|
268635
|
-
additionalProperties: false,
|
|
268636
|
-
maxProperties: 100,
|
|
268637
|
-
description: "Per write tool, the Arbol integrations it writes through (sura, agenda), when its document does not say: Raíz fences them together.",
|
|
268638
268906
|
type: "object",
|
|
268639
268907
|
patternProperties: {
|
|
268640
268908
|
"^[A-Za-z][A-Za-z0-9_-]{0,63}$": {
|
|
268641
|
-
maxItems: 10,
|
|
268642
268909
|
type: "array",
|
|
268643
268910
|
items: {
|
|
268644
|
-
|
|
268645
|
-
|
|
268646
|
-
}
|
|
268911
|
+
type: "string",
|
|
268912
|
+
pattern: "^[a-z][a-z0-9-]{1,63}$"
|
|
268913
|
+
},
|
|
268914
|
+
maxItems: 10
|
|
268647
268915
|
}
|
|
268648
|
-
}
|
|
268916
|
+
},
|
|
268917
|
+
additionalProperties: false,
|
|
268918
|
+
maxProperties: 100,
|
|
268919
|
+
description: "Per write tool, the Arbol integrations it writes through (sura, agenda), when its document does not say: Raíz fences them together."
|
|
268649
268920
|
}
|
|
268650
|
-
}
|
|
268921
|
+
},
|
|
268922
|
+
additionalProperties: false
|
|
268651
268923
|
},
|
|
268652
268924
|
http: {
|
|
268653
268925
|
method: "POST",
|
|
@@ -268665,20 +268937,20 @@ var account_connections_default = {
|
|
|
268665
268937
|
name: "account.connections.refreshTools",
|
|
268666
268938
|
command: "account connections refresh-tools",
|
|
268667
268939
|
title: "Read a custom server's tools again (staff)",
|
|
268668
|
-
description: "Read a custom server's OpenAPI document or tools/list again, store its tools and their new version, and say which were added, changed or removed.
|
|
268940
|
+
description: "Read a custom server's OpenAPI document or tools/list again, store its tools and their new version, and say which were added, changed or removed. This accepts what Account's own refresh holds back (new tools, and tools with more power); agents use the tools at their next turn.",
|
|
268669
268941
|
input: {
|
|
268670
|
-
additionalProperties: false,
|
|
268671
268942
|
type: "object",
|
|
268672
268943
|
required: [
|
|
268673
268944
|
"connectionId"
|
|
268674
268945
|
],
|
|
268675
268946
|
properties: {
|
|
268676
268947
|
connectionId: {
|
|
268948
|
+
type: "string",
|
|
268677
268949
|
pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
|
|
268678
|
-
description: "A connection's id: con_ and 26 characters, stable and unique across the platform."
|
|
268679
|
-
type: "string"
|
|
268950
|
+
description: "A connection's id: con_ and 26 characters, stable and unique across the platform."
|
|
268680
268951
|
}
|
|
268681
|
-
}
|
|
268952
|
+
},
|
|
268953
|
+
additionalProperties: false
|
|
268682
268954
|
},
|
|
268683
268955
|
http: {
|
|
268684
268956
|
method: "POST",
|
|
@@ -268905,7 +269177,7 @@ ${name}`);
|
|
|
268905
269177
|
}
|
|
268906
269178
|
|
|
268907
269179
|
// src/index.ts
|
|
268908
|
-
var VERSION = "3.71.
|
|
269180
|
+
var VERSION = "3.71.1";
|
|
268909
269181
|
var RELEASE = generation_default.release;
|
|
268910
269182
|
var commands2 = { ...commands, ...accountOperatorCommands };
|
|
268911
269183
|
var SDK_PATHS = new Map(Object.values(commands2).map((command) => [command.operation, command.sdkPath]));
|