@winning-sales/nexo 0.7.1 → 0.9.0
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 +53 -3
- package/assets/connect/connect-sdk.d.ts +294 -11
- package/assets/connect/manifest.schema.json +598 -9
- package/assets/docs/pages.json +1 -1
- package/assets/skills/nexo-api/SKILL.md +8 -0
- package/assets/skills/nexo-automations/SKILL.md +10 -0
- package/assets/skills/nexo-connect/SKILL.md +15 -4
- package/assets/skills/nexo-dashboards/SKILL.md +2 -0
- package/dist/commands/agents.js +241 -0
- package/dist/commands/automations.js +32 -17
- package/dist/commands/brain.js +16 -1
- package/dist/commands/connect-access.js +64 -23
- package/dist/commands/context-company.js +137 -0
- package/dist/commands/knowledge.js +261 -0
- package/dist/connect/access.js +81 -7
- package/dist/connect/changes.js +12 -1
- package/dist/connect/runs.js +1 -1
- package/dist/program-agents.js +65 -0
- package/dist/program-brain.js +1 -0
- package/dist/program-connect-access.js +16 -9
- package/dist/program-context.js +61 -0
- package/dist/program-knowledge.js +130 -0
- package/dist/program.js +10 -1
- package/dist/tools/tool-manifest.js +30 -1
- package/package.json +1 -1
- package/reference.json +945 -132
package/reference.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.9.0",
|
|
3
3
|
"program": {
|
|
4
4
|
"name": "nexo",
|
|
5
5
|
"path": "nexo",
|
|
@@ -1622,7 +1622,7 @@
|
|
|
1622
1622
|
"name": "webhook",
|
|
1623
1623
|
"path": "nexo connect webhook",
|
|
1624
1624
|
"aliases": [],
|
|
1625
|
-
"description": "O webhook do conector: a
|
|
1625
|
+
"description": "O webhook do conector: o endereço (que é a credencial), a autenticação declarada e os segredos que faltam",
|
|
1626
1626
|
"arguments": [
|
|
1627
1627
|
{
|
|
1628
1628
|
"name": "pasta",
|
|
@@ -1635,46 +1635,68 @@
|
|
|
1635
1635
|
"options": [],
|
|
1636
1636
|
"commands": [
|
|
1637
1637
|
{
|
|
1638
|
-
"name": "
|
|
1639
|
-
"path": "nexo connect webhook
|
|
1638
|
+
"name": "deliveries",
|
|
1639
|
+
"path": "nexo connect webhook deliveries",
|
|
1640
1640
|
"aliases": [],
|
|
1641
|
-
"description": "
|
|
1642
|
-
"arguments": [
|
|
1643
|
-
"options": [],
|
|
1644
|
-
"commands": [
|
|
1641
|
+
"description": "As últimas chamadas que o outro sistema fez ao webhook, da mais nova à mais antiga, com o desfecho e o motivo",
|
|
1642
|
+
"arguments": [
|
|
1645
1643
|
{
|
|
1646
|
-
"name": "
|
|
1647
|
-
"
|
|
1648
|
-
"
|
|
1649
|
-
"
|
|
1650
|
-
"
|
|
1651
|
-
{
|
|
1652
|
-
"name": "pasta",
|
|
1653
|
-
"description": "pasta do conector",
|
|
1654
|
-
"required": false,
|
|
1655
|
-
"variadic": false,
|
|
1656
|
-
"default": "."
|
|
1657
|
-
}
|
|
1658
|
-
],
|
|
1659
|
-
"options": [
|
|
1660
|
-
{
|
|
1661
|
-
"flags": "--stdin",
|
|
1662
|
-
"description": "lê o valor do stdin (para script)",
|
|
1663
|
-
"required": false,
|
|
1664
|
-
"default": null,
|
|
1665
|
-
"choices": null
|
|
1666
|
-
},
|
|
1667
|
-
{
|
|
1668
|
-
"flags": "--generate",
|
|
1669
|
-
"description": "gera 32 bytes em hexadecimal nesta máquina e mostra o valor uma vez",
|
|
1670
|
-
"required": false,
|
|
1671
|
-
"default": null,
|
|
1672
|
-
"choices": null
|
|
1673
|
-
}
|
|
1674
|
-
],
|
|
1675
|
-
"commands": []
|
|
1644
|
+
"name": "pasta",
|
|
1645
|
+
"description": "pasta do conector",
|
|
1646
|
+
"required": false,
|
|
1647
|
+
"variadic": false,
|
|
1648
|
+
"default": "."
|
|
1676
1649
|
}
|
|
1677
|
-
]
|
|
1650
|
+
],
|
|
1651
|
+
"options": [
|
|
1652
|
+
{
|
|
1653
|
+
"flags": "--limit <n>",
|
|
1654
|
+
"description": "quantas entregas por página (1 a 100; padrão 25)",
|
|
1655
|
+
"required": false,
|
|
1656
|
+
"default": null,
|
|
1657
|
+
"choices": null
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"flags": "--before <id>",
|
|
1661
|
+
"description": "a próxima página: o id que a página anterior mostrou em \"Há mais\"",
|
|
1662
|
+
"required": false,
|
|
1663
|
+
"default": null,
|
|
1664
|
+
"choices": null
|
|
1665
|
+
}
|
|
1666
|
+
],
|
|
1667
|
+
"commands": []
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"name": "rotate",
|
|
1671
|
+
"path": "nexo connect webhook rotate",
|
|
1672
|
+
"aliases": [],
|
|
1673
|
+
"description": "Troca o token do endereço: mostra o que muda e pede o sim; o endereço antigo para de valer na hora",
|
|
1674
|
+
"arguments": [
|
|
1675
|
+
{
|
|
1676
|
+
"name": "pasta",
|
|
1677
|
+
"description": "pasta do conector",
|
|
1678
|
+
"required": false,
|
|
1679
|
+
"variadic": false,
|
|
1680
|
+
"default": "."
|
|
1681
|
+
}
|
|
1682
|
+
],
|
|
1683
|
+
"options": [
|
|
1684
|
+
{
|
|
1685
|
+
"flags": "--confirm <token>",
|
|
1686
|
+
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
1687
|
+
"required": false,
|
|
1688
|
+
"default": null,
|
|
1689
|
+
"choices": null
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
"flags": "-y, --yes",
|
|
1693
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
1694
|
+
"required": false,
|
|
1695
|
+
"default": null,
|
|
1696
|
+
"choices": null
|
|
1697
|
+
}
|
|
1698
|
+
],
|
|
1699
|
+
"commands": []
|
|
1678
1700
|
}
|
|
1679
1701
|
]
|
|
1680
1702
|
},
|
|
@@ -3637,6 +3659,13 @@
|
|
|
3637
3659
|
"default": null,
|
|
3638
3660
|
"choices": null
|
|
3639
3661
|
},
|
|
3662
|
+
{
|
|
3663
|
+
"flags": "--agent-role <papel>",
|
|
3664
|
+
"description": "só com o momento attendance_agent_turn: sdr (o padrão) ou cs",
|
|
3665
|
+
"required": false,
|
|
3666
|
+
"default": null,
|
|
3667
|
+
"choices": null
|
|
3668
|
+
},
|
|
3640
3669
|
{
|
|
3641
3670
|
"flags": "--always <texto>",
|
|
3642
3671
|
"description": "o que fazer sempre (repita para mais de um)",
|
|
@@ -3845,110 +3874,745 @@
|
|
|
3845
3874
|
]
|
|
3846
3875
|
},
|
|
3847
3876
|
{
|
|
3848
|
-
"name": "
|
|
3849
|
-
"path": "nexo
|
|
3850
|
-
"aliases": [
|
|
3851
|
-
|
|
3877
|
+
"name": "knowledge",
|
|
3878
|
+
"path": "nexo knowledge",
|
|
3879
|
+
"aliases": [
|
|
3880
|
+
"base"
|
|
3881
|
+
],
|
|
3882
|
+
"description": "A Base de conhecimento: itens e temas. Só admin, com o escopo calibration:write para escrever",
|
|
3852
3883
|
"arguments": [],
|
|
3853
3884
|
"options": [],
|
|
3854
3885
|
"commands": [
|
|
3855
3886
|
{
|
|
3856
|
-
"name": "
|
|
3857
|
-
"path": "nexo
|
|
3887
|
+
"name": "items",
|
|
3888
|
+
"path": "nexo knowledge items",
|
|
3858
3889
|
"aliases": [],
|
|
3859
|
-
"description": "
|
|
3860
|
-
"arguments": [
|
|
3861
|
-
{
|
|
3862
|
-
"name": "busca",
|
|
3863
|
-
"description": "palavras da chave, do nome ou do conector",
|
|
3864
|
-
"required": false,
|
|
3865
|
-
"variadic": false,
|
|
3866
|
-
"default": null
|
|
3867
|
-
}
|
|
3868
|
-
],
|
|
3890
|
+
"description": "Os itens da Base: lista, cria, edita (texto, tipo, tema) e move de tema",
|
|
3891
|
+
"arguments": [],
|
|
3869
3892
|
"options": [],
|
|
3870
|
-
"commands": [
|
|
3871
|
-
},
|
|
3872
|
-
{
|
|
3873
|
-
"name": "query",
|
|
3874
|
-
"path": "nexo erp query",
|
|
3875
|
-
"aliases": [],
|
|
3876
|
-
"description": "Roda uma consulta e mostra o resultado (--json traz tudo)",
|
|
3877
|
-
"arguments": [
|
|
3878
|
-
{
|
|
3879
|
-
"name": "operação",
|
|
3880
|
-
"description": "id (<conector>:<chave>) ou chave da operação (veja `nexo erp list`)",
|
|
3881
|
-
"required": true,
|
|
3882
|
-
"variadic": false,
|
|
3883
|
-
"default": null
|
|
3884
|
-
}
|
|
3885
|
-
],
|
|
3886
|
-
"options": [
|
|
3887
|
-
{
|
|
3888
|
-
"flags": "--args <json|@arquivo>",
|
|
3889
|
-
"description": "argumentos da operação: um objeto JSON, ou @arquivo",
|
|
3890
|
-
"required": false,
|
|
3891
|
-
"default": null,
|
|
3892
|
-
"choices": null
|
|
3893
|
-
}
|
|
3894
|
-
],
|
|
3895
|
-
"commands": []
|
|
3896
|
-
},
|
|
3897
|
-
{
|
|
3898
|
-
"name": "action",
|
|
3899
|
-
"path": "nexo erp action",
|
|
3900
|
-
"aliases": [],
|
|
3901
|
-
"description": "Roda uma ação: mostra a prévia do que seria gravado no outro sistema e só aplica depois do sim",
|
|
3902
|
-
"arguments": [
|
|
3903
|
-
{
|
|
3904
|
-
"name": "operação",
|
|
3905
|
-
"description": "id (<conector>:<chave>) ou chave da operação (veja `nexo erp list`)",
|
|
3906
|
-
"required": true,
|
|
3907
|
-
"variadic": false,
|
|
3908
|
-
"default": null
|
|
3909
|
-
}
|
|
3910
|
-
],
|
|
3911
|
-
"options": [
|
|
3893
|
+
"commands": [
|
|
3912
3894
|
{
|
|
3913
|
-
"
|
|
3914
|
-
"
|
|
3915
|
-
"
|
|
3916
|
-
"
|
|
3917
|
-
"
|
|
3895
|
+
"name": "list",
|
|
3896
|
+
"path": "nexo knowledge items list",
|
|
3897
|
+
"aliases": [],
|
|
3898
|
+
"description": "Lista os itens, com o tema de cada um",
|
|
3899
|
+
"arguments": [],
|
|
3900
|
+
"options": [
|
|
3901
|
+
{
|
|
3902
|
+
"flags": "--type <tipo>",
|
|
3903
|
+
"description": "só os itens deste tipo (rule, practice, product_fact, price, proof ou standard)",
|
|
3904
|
+
"required": false,
|
|
3905
|
+
"default": null,
|
|
3906
|
+
"choices": null
|
|
3907
|
+
},
|
|
3908
|
+
{
|
|
3909
|
+
"flags": "--theme <id>",
|
|
3910
|
+
"description": "só os itens deste tema (a CLI percorre as páginas e filtra)",
|
|
3911
|
+
"required": false,
|
|
3912
|
+
"default": null,
|
|
3913
|
+
"choices": null
|
|
3914
|
+
},
|
|
3915
|
+
{
|
|
3916
|
+
"flags": "--needs-you",
|
|
3917
|
+
"description": "só os pendentes",
|
|
3918
|
+
"required": false,
|
|
3919
|
+
"default": null,
|
|
3920
|
+
"choices": null
|
|
3921
|
+
},
|
|
3922
|
+
{
|
|
3923
|
+
"flags": "--page <n>",
|
|
3924
|
+
"description": "a página",
|
|
3925
|
+
"required": false,
|
|
3926
|
+
"default": null,
|
|
3927
|
+
"choices": null
|
|
3928
|
+
},
|
|
3929
|
+
{
|
|
3930
|
+
"flags": "--page-size <n>",
|
|
3931
|
+
"description": "itens por página (até 100)",
|
|
3932
|
+
"required": false,
|
|
3933
|
+
"default": null,
|
|
3934
|
+
"choices": null
|
|
3935
|
+
}
|
|
3936
|
+
],
|
|
3937
|
+
"commands": []
|
|
3918
3938
|
},
|
|
3919
3939
|
{
|
|
3920
|
-
"
|
|
3921
|
-
"
|
|
3922
|
-
"
|
|
3923
|
-
"
|
|
3924
|
-
"
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3940
|
+
"name": "create",
|
|
3941
|
+
"path": "nexo knowledge items create",
|
|
3942
|
+
"aliases": [],
|
|
3943
|
+
"description": "Escreve um item à mão; entra em uso na hora",
|
|
3944
|
+
"arguments": [],
|
|
3945
|
+
"options": [
|
|
3946
|
+
{
|
|
3947
|
+
"flags": "--type <tipo>",
|
|
3948
|
+
"description": "rule, practice, product_fact, price, proof ou standard",
|
|
3949
|
+
"required": false,
|
|
3950
|
+
"default": null,
|
|
3951
|
+
"choices": null
|
|
3952
|
+
},
|
|
3953
|
+
{
|
|
3954
|
+
"flags": "--text <texto>",
|
|
3955
|
+
"description": "o texto curto do item",
|
|
3956
|
+
"required": false,
|
|
3957
|
+
"default": null,
|
|
3958
|
+
"choices": null
|
|
3959
|
+
},
|
|
3960
|
+
{
|
|
3961
|
+
"flags": "--theme <id>",
|
|
3962
|
+
"description": "o tema do item (sem ele, o tema padrão)",
|
|
3963
|
+
"required": false,
|
|
3964
|
+
"default": null,
|
|
3965
|
+
"choices": null
|
|
3966
|
+
},
|
|
3967
|
+
{
|
|
3968
|
+
"flags": "--subject <assunto>",
|
|
3969
|
+
"description": "campos da regra (type rule): discount, minimum_price, deadline, payment_terms, integration, scope ou implementation",
|
|
3970
|
+
"required": false,
|
|
3971
|
+
"default": null,
|
|
3972
|
+
"choices": null
|
|
3973
|
+
},
|
|
3974
|
+
{
|
|
3975
|
+
"flags": "--condition <texto>",
|
|
3976
|
+
"description": "regra: a condição que ativa",
|
|
3977
|
+
"required": false,
|
|
3978
|
+
"default": null,
|
|
3979
|
+
"choices": null
|
|
3980
|
+
},
|
|
3981
|
+
{
|
|
3982
|
+
"flags": "--limit <texto>",
|
|
3983
|
+
"description": "regra: o valor do limite",
|
|
3984
|
+
"required": false,
|
|
3985
|
+
"default": null,
|
|
3986
|
+
"choices": null
|
|
3987
|
+
},
|
|
3988
|
+
{
|
|
3989
|
+
"flags": "--exception <texto>",
|
|
3990
|
+
"description": "regra: a exceção conhecida",
|
|
3991
|
+
"required": false,
|
|
3992
|
+
"default": null,
|
|
3993
|
+
"choices": null
|
|
3994
|
+
},
|
|
3995
|
+
{
|
|
3996
|
+
"flags": "--approver <texto>",
|
|
3997
|
+
"description": "regra: quem aprova a exceção",
|
|
3998
|
+
"required": false,
|
|
3999
|
+
"default": null,
|
|
4000
|
+
"choices": null
|
|
4001
|
+
}
|
|
4002
|
+
],
|
|
4003
|
+
"commands": []
|
|
3941
4004
|
},
|
|
3942
4005
|
{
|
|
3943
|
-
"name": "
|
|
3944
|
-
"
|
|
3945
|
-
"
|
|
3946
|
-
"
|
|
3947
|
-
"
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
4006
|
+
"name": "edit",
|
|
4007
|
+
"path": "nexo knowledge items edit",
|
|
4008
|
+
"aliases": [],
|
|
4009
|
+
"description": "Edita um item: texto, tipo, tema ou campos da regra",
|
|
4010
|
+
"arguments": [
|
|
4011
|
+
{
|
|
4012
|
+
"name": "item",
|
|
4013
|
+
"description": "id do item",
|
|
4014
|
+
"required": true,
|
|
4015
|
+
"variadic": false,
|
|
4016
|
+
"default": null
|
|
4017
|
+
}
|
|
4018
|
+
],
|
|
4019
|
+
"options": [
|
|
4020
|
+
{
|
|
4021
|
+
"flags": "--text <texto>",
|
|
4022
|
+
"description": "o texto novo",
|
|
4023
|
+
"required": false,
|
|
4024
|
+
"default": null,
|
|
4025
|
+
"choices": null
|
|
4026
|
+
},
|
|
4027
|
+
{
|
|
4028
|
+
"flags": "--type <tipo>",
|
|
4029
|
+
"description": "o tipo novo (rule, practice, product_fact, price, proof ou standard)",
|
|
4030
|
+
"required": false,
|
|
4031
|
+
"default": null,
|
|
4032
|
+
"choices": null
|
|
4033
|
+
},
|
|
4034
|
+
{
|
|
4035
|
+
"flags": "--theme <id>",
|
|
4036
|
+
"description": "o tema novo (nexo knowledge themes list)",
|
|
4037
|
+
"required": false,
|
|
4038
|
+
"default": null,
|
|
4039
|
+
"choices": null
|
|
4040
|
+
},
|
|
4041
|
+
{
|
|
4042
|
+
"flags": "--subject <assunto>",
|
|
4043
|
+
"description": "campos da regra (type rule): discount, minimum_price, deadline, payment_terms, integration, scope ou implementation",
|
|
4044
|
+
"required": false,
|
|
4045
|
+
"default": null,
|
|
4046
|
+
"choices": null
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
"flags": "--condition <texto>",
|
|
4050
|
+
"description": "regra: a condição que ativa",
|
|
4051
|
+
"required": false,
|
|
4052
|
+
"default": null,
|
|
4053
|
+
"choices": null
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
"flags": "--limit <texto>",
|
|
4057
|
+
"description": "regra: o valor do limite",
|
|
4058
|
+
"required": false,
|
|
4059
|
+
"default": null,
|
|
4060
|
+
"choices": null
|
|
4061
|
+
},
|
|
4062
|
+
{
|
|
4063
|
+
"flags": "--exception <texto>",
|
|
4064
|
+
"description": "regra: a exceção conhecida",
|
|
4065
|
+
"required": false,
|
|
4066
|
+
"default": null,
|
|
4067
|
+
"choices": null
|
|
4068
|
+
},
|
|
4069
|
+
{
|
|
4070
|
+
"flags": "--approver <texto>",
|
|
4071
|
+
"description": "regra: quem aprova a exceção",
|
|
4072
|
+
"required": false,
|
|
4073
|
+
"default": null,
|
|
4074
|
+
"choices": null
|
|
4075
|
+
}
|
|
4076
|
+
],
|
|
4077
|
+
"commands": []
|
|
4078
|
+
},
|
|
4079
|
+
{
|
|
4080
|
+
"name": "on",
|
|
4081
|
+
"path": "nexo knowledge items on",
|
|
4082
|
+
"aliases": [],
|
|
4083
|
+
"description": "Liga um item desligado: volta a ficar em uso",
|
|
4084
|
+
"arguments": [
|
|
4085
|
+
{
|
|
4086
|
+
"name": "item",
|
|
4087
|
+
"description": "id do item",
|
|
4088
|
+
"required": true,
|
|
4089
|
+
"variadic": false,
|
|
4090
|
+
"default": null
|
|
4091
|
+
}
|
|
4092
|
+
],
|
|
4093
|
+
"options": [],
|
|
4094
|
+
"commands": []
|
|
4095
|
+
},
|
|
4096
|
+
{
|
|
4097
|
+
"name": "off",
|
|
4098
|
+
"path": "nexo knowledge items off",
|
|
4099
|
+
"aliases": [],
|
|
4100
|
+
"description": "Desliga um item: sai de uso, sem apagar",
|
|
4101
|
+
"arguments": [
|
|
4102
|
+
{
|
|
4103
|
+
"name": "item",
|
|
4104
|
+
"description": "id do item",
|
|
4105
|
+
"required": true,
|
|
4106
|
+
"variadic": false,
|
|
4107
|
+
"default": null
|
|
4108
|
+
}
|
|
4109
|
+
],
|
|
4110
|
+
"options": [],
|
|
4111
|
+
"commands": []
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
"name": "resolve",
|
|
4115
|
+
"path": "nexo knowledge items resolve",
|
|
4116
|
+
"aliases": [],
|
|
4117
|
+
"description": "Resolve uma pendência: choose (este lado do conflito), approve (aprova a prova), use (aceita como está), rewrite, discard",
|
|
4118
|
+
"arguments": [
|
|
4119
|
+
{
|
|
4120
|
+
"name": "item",
|
|
4121
|
+
"description": "id do item",
|
|
4122
|
+
"required": true,
|
|
4123
|
+
"variadic": false,
|
|
4124
|
+
"default": null
|
|
4125
|
+
}
|
|
4126
|
+
],
|
|
4127
|
+
"options": [
|
|
4128
|
+
{
|
|
4129
|
+
"flags": "--action <ação>",
|
|
4130
|
+
"description": "choose, approve, use, rewrite ou discard",
|
|
4131
|
+
"required": false,
|
|
4132
|
+
"default": null,
|
|
4133
|
+
"choices": null
|
|
4134
|
+
},
|
|
4135
|
+
{
|
|
4136
|
+
"flags": "--text <texto>",
|
|
4137
|
+
"description": "o texto novo (só com rewrite)",
|
|
4138
|
+
"required": false,
|
|
4139
|
+
"default": null,
|
|
4140
|
+
"choices": null
|
|
4141
|
+
},
|
|
4142
|
+
{
|
|
4143
|
+
"flags": "-y, --yes",
|
|
4144
|
+
"description": "descarta sem perguntar (só depois do sim da pessoa)",
|
|
4145
|
+
"required": false,
|
|
4146
|
+
"default": null,
|
|
4147
|
+
"choices": null
|
|
4148
|
+
}
|
|
4149
|
+
],
|
|
4150
|
+
"commands": []
|
|
4151
|
+
},
|
|
4152
|
+
{
|
|
4153
|
+
"name": "remove",
|
|
4154
|
+
"path": "nexo knowledge items remove",
|
|
4155
|
+
"aliases": [],
|
|
4156
|
+
"description": "Remove um item de vez; para tirar de uso por um tempo, use off",
|
|
4157
|
+
"arguments": [
|
|
4158
|
+
{
|
|
4159
|
+
"name": "item",
|
|
4160
|
+
"description": "id do item",
|
|
4161
|
+
"required": true,
|
|
4162
|
+
"variadic": false,
|
|
4163
|
+
"default": null
|
|
4164
|
+
}
|
|
4165
|
+
],
|
|
4166
|
+
"options": [
|
|
4167
|
+
{
|
|
4168
|
+
"flags": "-y, --yes",
|
|
4169
|
+
"description": "remove sem perguntar (só depois do sim da pessoa)",
|
|
4170
|
+
"required": false,
|
|
4171
|
+
"default": null,
|
|
4172
|
+
"choices": null
|
|
4173
|
+
}
|
|
4174
|
+
],
|
|
4175
|
+
"commands": []
|
|
4176
|
+
},
|
|
4177
|
+
{
|
|
4178
|
+
"name": "move",
|
|
4179
|
+
"path": "nexo knowledge items move",
|
|
4180
|
+
"aliases": [],
|
|
4181
|
+
"description": "Move até 100 itens para um tema; um id que não existe recusa tudo",
|
|
4182
|
+
"arguments": [
|
|
4183
|
+
{
|
|
4184
|
+
"name": "item",
|
|
4185
|
+
"description": "ids dos itens",
|
|
4186
|
+
"required": true,
|
|
4187
|
+
"variadic": true,
|
|
4188
|
+
"default": null
|
|
4189
|
+
}
|
|
4190
|
+
],
|
|
4191
|
+
"options": [
|
|
4192
|
+
{
|
|
4193
|
+
"flags": "--theme <id>",
|
|
4194
|
+
"description": "o tema de destino",
|
|
4195
|
+
"required": false,
|
|
4196
|
+
"default": null,
|
|
4197
|
+
"choices": null
|
|
4198
|
+
}
|
|
4199
|
+
],
|
|
4200
|
+
"commands": []
|
|
4201
|
+
}
|
|
4202
|
+
]
|
|
4203
|
+
},
|
|
4204
|
+
{
|
|
4205
|
+
"name": "themes",
|
|
4206
|
+
"path": "nexo knowledge themes",
|
|
4207
|
+
"aliases": [],
|
|
4208
|
+
"description": "Os temas da Base",
|
|
4209
|
+
"arguments": [],
|
|
4210
|
+
"options": [],
|
|
4211
|
+
"commands": [
|
|
4212
|
+
{
|
|
4213
|
+
"name": "list",
|
|
4214
|
+
"path": "nexo knowledge themes list",
|
|
4215
|
+
"aliases": [],
|
|
4216
|
+
"description": "Lista os temas, com o que cada um guarda",
|
|
4217
|
+
"arguments": [],
|
|
4218
|
+
"options": [],
|
|
4219
|
+
"commands": []
|
|
4220
|
+
},
|
|
4221
|
+
{
|
|
4222
|
+
"name": "create",
|
|
4223
|
+
"path": "nexo knowledge themes create",
|
|
4224
|
+
"aliases": [],
|
|
4225
|
+
"description": "Cria um tema",
|
|
4226
|
+
"arguments": [
|
|
4227
|
+
{
|
|
4228
|
+
"name": "nome",
|
|
4229
|
+
"description": "o nome do tema",
|
|
4230
|
+
"required": true,
|
|
4231
|
+
"variadic": false,
|
|
4232
|
+
"default": null
|
|
4233
|
+
}
|
|
4234
|
+
],
|
|
4235
|
+
"options": [],
|
|
4236
|
+
"commands": []
|
|
4237
|
+
},
|
|
4238
|
+
{
|
|
4239
|
+
"name": "rename",
|
|
4240
|
+
"path": "nexo knowledge themes rename",
|
|
4241
|
+
"aliases": [],
|
|
4242
|
+
"description": "Renomeia um tema",
|
|
4243
|
+
"arguments": [
|
|
4244
|
+
{
|
|
4245
|
+
"name": "tema",
|
|
4246
|
+
"description": "id do tema",
|
|
4247
|
+
"required": true,
|
|
4248
|
+
"variadic": false,
|
|
4249
|
+
"default": null
|
|
4250
|
+
},
|
|
4251
|
+
{
|
|
4252
|
+
"name": "nome",
|
|
4253
|
+
"description": "o nome novo",
|
|
4254
|
+
"required": true,
|
|
4255
|
+
"variadic": false,
|
|
4256
|
+
"default": null
|
|
4257
|
+
}
|
|
4258
|
+
],
|
|
4259
|
+
"options": [],
|
|
4260
|
+
"commands": []
|
|
4261
|
+
},
|
|
4262
|
+
{
|
|
4263
|
+
"name": "remove",
|
|
4264
|
+
"path": "nexo knowledge themes remove",
|
|
4265
|
+
"aliases": [],
|
|
4266
|
+
"description": "Apaga um tema vazio (com conteúdo, a API recusa com 409)",
|
|
4267
|
+
"arguments": [
|
|
4268
|
+
{
|
|
4269
|
+
"name": "tema",
|
|
4270
|
+
"description": "id do tema",
|
|
4271
|
+
"required": true,
|
|
4272
|
+
"variadic": false,
|
|
4273
|
+
"default": null
|
|
4274
|
+
}
|
|
4275
|
+
],
|
|
4276
|
+
"options": [
|
|
4277
|
+
{
|
|
4278
|
+
"flags": "-y, --yes",
|
|
4279
|
+
"description": "apaga sem perguntar (só depois do sim da pessoa)",
|
|
4280
|
+
"required": false,
|
|
4281
|
+
"default": null,
|
|
4282
|
+
"choices": null
|
|
4283
|
+
}
|
|
4284
|
+
],
|
|
4285
|
+
"commands": []
|
|
4286
|
+
}
|
|
4287
|
+
]
|
|
4288
|
+
}
|
|
4289
|
+
]
|
|
4290
|
+
},
|
|
4291
|
+
{
|
|
4292
|
+
"name": "context",
|
|
4293
|
+
"path": "nexo context",
|
|
4294
|
+
"aliases": [
|
|
4295
|
+
"contexto"
|
|
4296
|
+
],
|
|
4297
|
+
"description": "O contexto da empresa (empresa, ICP, persona, proposta de valor, posicionamento, oferta e prova): ler e editar",
|
|
4298
|
+
"arguments": [],
|
|
4299
|
+
"options": [],
|
|
4300
|
+
"commands": [
|
|
4301
|
+
{
|
|
4302
|
+
"name": "show",
|
|
4303
|
+
"path": "nexo context show",
|
|
4304
|
+
"aliases": [],
|
|
4305
|
+
"description": "Lê o contexto, bloco por bloco, com a origem de cada campo (precisa de context:read)",
|
|
4306
|
+
"arguments": [
|
|
4307
|
+
{
|
|
4308
|
+
"name": "bloco",
|
|
4309
|
+
"description": "só um bloco: empresa, icp, persona, proposta_de_valor, posicionamento, oferta ou prova",
|
|
4310
|
+
"required": false,
|
|
4311
|
+
"variadic": false,
|
|
4312
|
+
"default": null
|
|
4313
|
+
}
|
|
4314
|
+
],
|
|
4315
|
+
"options": [],
|
|
4316
|
+
"commands": []
|
|
4317
|
+
},
|
|
4318
|
+
{
|
|
4319
|
+
"name": "set",
|
|
4320
|
+
"path": "nexo context set",
|
|
4321
|
+
"aliases": [],
|
|
4322
|
+
"description": "Muda um campo, com a prévia de antes e depois e o sim. Só admin, com o escopo context:write, que precisa ser pedido pelo nome no login (nexo login --scopes <os que você usa>,context:write)",
|
|
4323
|
+
"arguments": [
|
|
4324
|
+
{
|
|
4325
|
+
"name": "bloco",
|
|
4326
|
+
"description": "empresa, icp, persona, proposta_de_valor, posicionamento, oferta ou prova",
|
|
4327
|
+
"required": true,
|
|
4328
|
+
"variadic": false,
|
|
4329
|
+
"default": null
|
|
4330
|
+
},
|
|
4331
|
+
{
|
|
4332
|
+
"name": "campo",
|
|
4333
|
+
"description": "caminho do campo, como offerings.0.whatItIs (veja `nexo context show`)",
|
|
4334
|
+
"required": true,
|
|
4335
|
+
"variadic": false,
|
|
4336
|
+
"default": null
|
|
4337
|
+
},
|
|
4338
|
+
{
|
|
4339
|
+
"name": "valor",
|
|
4340
|
+
"description": "o texto novo inteiro",
|
|
4341
|
+
"required": true,
|
|
4342
|
+
"variadic": false,
|
|
4343
|
+
"default": null
|
|
4344
|
+
}
|
|
4345
|
+
],
|
|
4346
|
+
"options": [
|
|
4347
|
+
{
|
|
4348
|
+
"flags": "--value-json",
|
|
4349
|
+
"description": "o valor é JSON (objeto, lista, número); sem isso é texto",
|
|
4350
|
+
"required": false,
|
|
4351
|
+
"default": null,
|
|
4352
|
+
"choices": null
|
|
4353
|
+
},
|
|
4354
|
+
{
|
|
4355
|
+
"flags": "--change-confirmed",
|
|
4356
|
+
"description": "confirma que quer mudar um bloco que a empresa já confirmou",
|
|
4357
|
+
"required": false,
|
|
4358
|
+
"default": null,
|
|
4359
|
+
"choices": null
|
|
4360
|
+
},
|
|
4361
|
+
{
|
|
4362
|
+
"flags": "-y, --yes",
|
|
4363
|
+
"description": "grava logo depois de mostrar a prévia",
|
|
4364
|
+
"required": false,
|
|
4365
|
+
"default": null,
|
|
4366
|
+
"choices": null
|
|
4367
|
+
}
|
|
4368
|
+
],
|
|
4369
|
+
"commands": []
|
|
4370
|
+
},
|
|
4371
|
+
{
|
|
4372
|
+
"name": "add",
|
|
4373
|
+
"path": "nexo context add",
|
|
4374
|
+
"aliases": [],
|
|
4375
|
+
"description": "Soma um item a uma lista, com a prévia e o sim. Só admin, com o escopo context:write, que precisa ser pedido pelo nome no login (nexo login --scopes <os que você usa>,context:write)",
|
|
4376
|
+
"arguments": [
|
|
4377
|
+
{
|
|
4378
|
+
"name": "bloco",
|
|
4379
|
+
"description": "empresa, icp, persona, proposta_de_valor, posicionamento, oferta ou prova",
|
|
4380
|
+
"required": true,
|
|
4381
|
+
"variadic": false,
|
|
4382
|
+
"default": null
|
|
4383
|
+
},
|
|
4384
|
+
{
|
|
4385
|
+
"name": "lista",
|
|
4386
|
+
"description": "caminho da lista, como offerings",
|
|
4387
|
+
"required": true,
|
|
4388
|
+
"variadic": false,
|
|
4389
|
+
"default": null
|
|
4390
|
+
},
|
|
4391
|
+
{
|
|
4392
|
+
"name": "valor",
|
|
4393
|
+
"description": "o item: um texto, ou com --value-json o objeto inteiro",
|
|
4394
|
+
"required": true,
|
|
4395
|
+
"variadic": false,
|
|
4396
|
+
"default": null
|
|
4397
|
+
}
|
|
4398
|
+
],
|
|
4399
|
+
"options": [
|
|
4400
|
+
{
|
|
4401
|
+
"flags": "--value-json",
|
|
4402
|
+
"description": "o valor é JSON (objeto, lista, número); sem isso é texto",
|
|
4403
|
+
"required": false,
|
|
4404
|
+
"default": null,
|
|
4405
|
+
"choices": null
|
|
4406
|
+
},
|
|
4407
|
+
{
|
|
4408
|
+
"flags": "--change-confirmed",
|
|
4409
|
+
"description": "confirma que quer mudar um bloco que a empresa já confirmou",
|
|
4410
|
+
"required": false,
|
|
4411
|
+
"default": null,
|
|
4412
|
+
"choices": null
|
|
4413
|
+
},
|
|
4414
|
+
{
|
|
4415
|
+
"flags": "-y, --yes",
|
|
4416
|
+
"description": "grava logo depois de mostrar a prévia",
|
|
4417
|
+
"required": false,
|
|
4418
|
+
"default": null,
|
|
4419
|
+
"choices": null
|
|
4420
|
+
}
|
|
4421
|
+
],
|
|
4422
|
+
"commands": []
|
|
4423
|
+
},
|
|
4424
|
+
{
|
|
4425
|
+
"name": "remove",
|
|
4426
|
+
"path": "nexo context remove",
|
|
4427
|
+
"aliases": [],
|
|
4428
|
+
"description": "Tira um item de uma lista, com a prévia e o sim. Só admin, com o escopo context:write, que precisa ser pedido pelo nome no login (nexo login --scopes <os que você usa>,context:write)",
|
|
4429
|
+
"arguments": [
|
|
4430
|
+
{
|
|
4431
|
+
"name": "bloco",
|
|
4432
|
+
"description": "empresa, icp, persona, proposta_de_valor, posicionamento, oferta ou prova",
|
|
4433
|
+
"required": true,
|
|
4434
|
+
"variadic": false,
|
|
4435
|
+
"default": null
|
|
4436
|
+
},
|
|
4437
|
+
{
|
|
4438
|
+
"name": "lista",
|
|
4439
|
+
"description": "caminho da lista, como offerings",
|
|
4440
|
+
"required": true,
|
|
4441
|
+
"variadic": false,
|
|
4442
|
+
"default": null
|
|
4443
|
+
},
|
|
4444
|
+
{
|
|
4445
|
+
"name": "item",
|
|
4446
|
+
"description": "o texto exato do item (para uma posição, use --index)",
|
|
4447
|
+
"required": false,
|
|
4448
|
+
"variadic": false,
|
|
4449
|
+
"default": null
|
|
4450
|
+
}
|
|
4451
|
+
],
|
|
4452
|
+
"options": [
|
|
4453
|
+
{
|
|
4454
|
+
"flags": "--index <n>",
|
|
4455
|
+
"description": "a posição do item na lista, a partir de 0, no lugar do texto",
|
|
4456
|
+
"required": false,
|
|
4457
|
+
"default": null,
|
|
4458
|
+
"choices": null
|
|
4459
|
+
},
|
|
4460
|
+
{
|
|
4461
|
+
"flags": "--change-confirmed",
|
|
4462
|
+
"description": "confirma que quer mudar um bloco que a empresa já confirmou",
|
|
4463
|
+
"required": false,
|
|
4464
|
+
"default": null,
|
|
4465
|
+
"choices": null
|
|
4466
|
+
},
|
|
4467
|
+
{
|
|
4468
|
+
"flags": "-y, --yes",
|
|
4469
|
+
"description": "grava logo depois de mostrar a prévia",
|
|
4470
|
+
"required": false,
|
|
4471
|
+
"default": null,
|
|
4472
|
+
"choices": null
|
|
4473
|
+
}
|
|
4474
|
+
],
|
|
4475
|
+
"commands": []
|
|
4476
|
+
},
|
|
4477
|
+
{
|
|
4478
|
+
"name": "confirm",
|
|
4479
|
+
"path": "nexo context confirm",
|
|
4480
|
+
"aliases": [],
|
|
4481
|
+
"description": "Confirma o rascunho de um bloco como está, com a prévia e o sim. Só admin, com o escopo context:write, que precisa ser pedido pelo nome no login (nexo login --scopes <os que você usa>,context:write)",
|
|
4482
|
+
"arguments": [
|
|
4483
|
+
{
|
|
4484
|
+
"name": "bloco",
|
|
4485
|
+
"description": "empresa, icp, persona, proposta_de_valor, posicionamento, oferta ou prova",
|
|
4486
|
+
"required": true,
|
|
4487
|
+
"variadic": false,
|
|
4488
|
+
"default": null
|
|
4489
|
+
}
|
|
4490
|
+
],
|
|
4491
|
+
"options": [
|
|
4492
|
+
{
|
|
4493
|
+
"flags": "--change-confirmed",
|
|
4494
|
+
"description": "confirma que quer mudar um bloco que a empresa já confirmou",
|
|
4495
|
+
"required": false,
|
|
4496
|
+
"default": null,
|
|
4497
|
+
"choices": null
|
|
4498
|
+
},
|
|
4499
|
+
{
|
|
4500
|
+
"flags": "-y, --yes",
|
|
4501
|
+
"description": "grava logo depois de mostrar a prévia",
|
|
4502
|
+
"required": false,
|
|
4503
|
+
"default": null,
|
|
4504
|
+
"choices": null
|
|
4505
|
+
}
|
|
4506
|
+
],
|
|
4507
|
+
"commands": []
|
|
4508
|
+
}
|
|
4509
|
+
]
|
|
4510
|
+
},
|
|
4511
|
+
{
|
|
4512
|
+
"name": "erp",
|
|
4513
|
+
"path": "nexo erp",
|
|
4514
|
+
"aliases": [],
|
|
4515
|
+
"description": "Operações de ERP dos conectores: consultar e agir no outro sistema, como a pessoa que pede",
|
|
4516
|
+
"arguments": [],
|
|
4517
|
+
"options": [],
|
|
4518
|
+
"commands": [
|
|
4519
|
+
{
|
|
4520
|
+
"name": "list",
|
|
4521
|
+
"path": "nexo erp list",
|
|
4522
|
+
"aliases": [],
|
|
4523
|
+
"description": "As operações de ERP que você alcança: id, chave, tipo, conector e argumentos",
|
|
4524
|
+
"arguments": [
|
|
4525
|
+
{
|
|
4526
|
+
"name": "busca",
|
|
4527
|
+
"description": "palavras da chave, do nome ou do conector",
|
|
4528
|
+
"required": false,
|
|
4529
|
+
"variadic": false,
|
|
4530
|
+
"default": null
|
|
4531
|
+
}
|
|
4532
|
+
],
|
|
4533
|
+
"options": [],
|
|
4534
|
+
"commands": []
|
|
4535
|
+
},
|
|
4536
|
+
{
|
|
4537
|
+
"name": "query",
|
|
4538
|
+
"path": "nexo erp query",
|
|
4539
|
+
"aliases": [],
|
|
4540
|
+
"description": "Roda uma consulta e mostra o resultado (--json traz tudo)",
|
|
4541
|
+
"arguments": [
|
|
4542
|
+
{
|
|
4543
|
+
"name": "operação",
|
|
4544
|
+
"description": "id (<conector>:<chave>) ou chave da operação (veja `nexo erp list`)",
|
|
4545
|
+
"required": true,
|
|
4546
|
+
"variadic": false,
|
|
4547
|
+
"default": null
|
|
4548
|
+
}
|
|
4549
|
+
],
|
|
4550
|
+
"options": [
|
|
4551
|
+
{
|
|
4552
|
+
"flags": "--args <json|@arquivo>",
|
|
4553
|
+
"description": "argumentos da operação: um objeto JSON, ou @arquivo",
|
|
4554
|
+
"required": false,
|
|
4555
|
+
"default": null,
|
|
4556
|
+
"choices": null
|
|
4557
|
+
}
|
|
4558
|
+
],
|
|
4559
|
+
"commands": []
|
|
4560
|
+
},
|
|
4561
|
+
{
|
|
4562
|
+
"name": "action",
|
|
4563
|
+
"path": "nexo erp action",
|
|
4564
|
+
"aliases": [],
|
|
4565
|
+
"description": "Roda uma ação: mostra a prévia do que seria gravado no outro sistema e só aplica depois do sim",
|
|
4566
|
+
"arguments": [
|
|
4567
|
+
{
|
|
4568
|
+
"name": "operação",
|
|
4569
|
+
"description": "id (<conector>:<chave>) ou chave da operação (veja `nexo erp list`)",
|
|
4570
|
+
"required": true,
|
|
4571
|
+
"variadic": false,
|
|
4572
|
+
"default": null
|
|
4573
|
+
}
|
|
4574
|
+
],
|
|
4575
|
+
"options": [
|
|
4576
|
+
{
|
|
4577
|
+
"flags": "--args <json|@arquivo>",
|
|
4578
|
+
"description": "argumentos da operação: um objeto JSON, ou @arquivo",
|
|
4579
|
+
"required": false,
|
|
4580
|
+
"default": null,
|
|
4581
|
+
"choices": null
|
|
4582
|
+
},
|
|
4583
|
+
{
|
|
4584
|
+
"flags": "--confirm <token>",
|
|
4585
|
+
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
4586
|
+
"required": false,
|
|
4587
|
+
"default": null,
|
|
4588
|
+
"choices": null
|
|
4589
|
+
}
|
|
4590
|
+
],
|
|
4591
|
+
"commands": []
|
|
4592
|
+
},
|
|
4593
|
+
{
|
|
4594
|
+
"name": "note",
|
|
4595
|
+
"path": "nexo erp note",
|
|
4596
|
+
"aliases": [],
|
|
4597
|
+
"description": "Grava ou apaga a nota da empresa numa operação ou num campo dela: mostra o antes e o depois e pede o sim",
|
|
4598
|
+
"arguments": [
|
|
4599
|
+
{
|
|
4600
|
+
"name": "operação",
|
|
4601
|
+
"description": "id (<conector>:<chave>) ou chave da operação (veja `nexo erp list`)",
|
|
4602
|
+
"required": true,
|
|
4603
|
+
"variadic": false,
|
|
4604
|
+
"default": null
|
|
4605
|
+
},
|
|
4606
|
+
{
|
|
4607
|
+
"name": "texto",
|
|
4608
|
+
"description": "o texto da nota (até 500 caracteres)",
|
|
4609
|
+
"required": false,
|
|
4610
|
+
"variadic": false,
|
|
4611
|
+
"default": null
|
|
4612
|
+
}
|
|
4613
|
+
],
|
|
4614
|
+
"options": [
|
|
4615
|
+
{
|
|
3952
4616
|
"flags": "--field <campo>",
|
|
3953
4617
|
"description": "o argumento ou o campo de saída da operação; sem ele, a nota é da operação",
|
|
3954
4618
|
"required": false,
|
|
@@ -3973,6 +4637,155 @@
|
|
|
3973
4637
|
"commands": []
|
|
3974
4638
|
}
|
|
3975
4639
|
]
|
|
4640
|
+
},
|
|
4641
|
+
{
|
|
4642
|
+
"name": "agents",
|
|
4643
|
+
"path": "nexo agents",
|
|
4644
|
+
"aliases": [
|
|
4645
|
+
"agentes"
|
|
4646
|
+
],
|
|
4647
|
+
"description": "Os Agentes de atendimento (SDR e CS): o estado, a configuração e o horário de reunião",
|
|
4648
|
+
"arguments": [],
|
|
4649
|
+
"options": [],
|
|
4650
|
+
"commands": [
|
|
4651
|
+
{
|
|
4652
|
+
"name": "show",
|
|
4653
|
+
"path": "nexo agents show",
|
|
4654
|
+
"aliases": [],
|
|
4655
|
+
"description": "Mostra a configuração de um agente",
|
|
4656
|
+
"arguments": [
|
|
4657
|
+
{
|
|
4658
|
+
"name": "agente",
|
|
4659
|
+
"description": "sdr ou cs",
|
|
4660
|
+
"required": true,
|
|
4661
|
+
"variadic": false,
|
|
4662
|
+
"default": null
|
|
4663
|
+
}
|
|
4664
|
+
],
|
|
4665
|
+
"options": [],
|
|
4666
|
+
"commands": []
|
|
4667
|
+
},
|
|
4668
|
+
{
|
|
4669
|
+
"name": "set",
|
|
4670
|
+
"path": "nexo agents set",
|
|
4671
|
+
"aliases": [],
|
|
4672
|
+
"description": "Muda um agente: mostra o que muda e só salva depois do sim (só administrador)",
|
|
4673
|
+
"arguments": [
|
|
4674
|
+
{
|
|
4675
|
+
"name": "agente",
|
|
4676
|
+
"description": "sdr ou cs",
|
|
4677
|
+
"required": true,
|
|
4678
|
+
"variadic": false,
|
|
4679
|
+
"default": null
|
|
4680
|
+
}
|
|
4681
|
+
],
|
|
4682
|
+
"options": [
|
|
4683
|
+
{
|
|
4684
|
+
"flags": "--on",
|
|
4685
|
+
"description": "liga o agente",
|
|
4686
|
+
"required": false,
|
|
4687
|
+
"default": null,
|
|
4688
|
+
"choices": null
|
|
4689
|
+
},
|
|
4690
|
+
{
|
|
4691
|
+
"flags": "--off",
|
|
4692
|
+
"description": "desliga o agente",
|
|
4693
|
+
"required": false,
|
|
4694
|
+
"default": null,
|
|
4695
|
+
"choices": null
|
|
4696
|
+
},
|
|
4697
|
+
{
|
|
4698
|
+
"flags": "--cases <casos>",
|
|
4699
|
+
"description": "after_hours, stalled_queue e covered_by_knowledge, separados por vírgula; none para nenhum",
|
|
4700
|
+
"required": false,
|
|
4701
|
+
"default": null,
|
|
4702
|
+
"choices": null
|
|
4703
|
+
},
|
|
4704
|
+
{
|
|
4705
|
+
"flags": "--book-meeting",
|
|
4706
|
+
"description": "o Agente SDR marca reunião na agenda do vendedor",
|
|
4707
|
+
"required": false,
|
|
4708
|
+
"default": null,
|
|
4709
|
+
"choices": null
|
|
4710
|
+
},
|
|
4711
|
+
{
|
|
4712
|
+
"flags": "--no-book-meeting",
|
|
4713
|
+
"description": "o Agente SDR deixa de marcar reunião",
|
|
4714
|
+
"required": false,
|
|
4715
|
+
"default": null,
|
|
4716
|
+
"choices": null
|
|
4717
|
+
},
|
|
4718
|
+
{
|
|
4719
|
+
"flags": "--meeting-minutes <min>",
|
|
4720
|
+
"description": "duração da reunião: 30, 45 ou 60",
|
|
4721
|
+
"required": false,
|
|
4722
|
+
"default": null,
|
|
4723
|
+
"choices": null
|
|
4724
|
+
},
|
|
4725
|
+
{
|
|
4726
|
+
"flags": "--meeting-lead <min>",
|
|
4727
|
+
"description": "antecedência mínima da reunião: 120, 240 ou 1440",
|
|
4728
|
+
"required": false,
|
|
4729
|
+
"default": null,
|
|
4730
|
+
"choices": null
|
|
4731
|
+
},
|
|
4732
|
+
{
|
|
4733
|
+
"flags": "--name <nome>",
|
|
4734
|
+
"description": "nome do agente nas conversas (até 30 caracteres)",
|
|
4735
|
+
"required": false,
|
|
4736
|
+
"default": null,
|
|
4737
|
+
"choices": null
|
|
4738
|
+
},
|
|
4739
|
+
{
|
|
4740
|
+
"flags": "-y, --yes",
|
|
4741
|
+
"description": "salva logo depois de mostrar o que muda",
|
|
4742
|
+
"required": false,
|
|
4743
|
+
"default": null,
|
|
4744
|
+
"choices": null
|
|
4745
|
+
}
|
|
4746
|
+
],
|
|
4747
|
+
"commands": []
|
|
4748
|
+
},
|
|
4749
|
+
{
|
|
4750
|
+
"name": "hours",
|
|
4751
|
+
"path": "nexo agents hours",
|
|
4752
|
+
"aliases": [],
|
|
4753
|
+
"description": "O horário de reunião: sem vendedor, lê e muda o seu; com o id de um vendedor, só lê (cada um muda o próprio). Mudar mostra o que muda e pede o sim",
|
|
4754
|
+
"arguments": [
|
|
4755
|
+
{
|
|
4756
|
+
"name": "vendedor",
|
|
4757
|
+
"description": "id do vendedor, só para ler",
|
|
4758
|
+
"required": false,
|
|
4759
|
+
"variadic": false,
|
|
4760
|
+
"default": null
|
|
4761
|
+
}
|
|
4762
|
+
],
|
|
4763
|
+
"options": [
|
|
4764
|
+
{
|
|
4765
|
+
"flags": "--day <dias=faixas>",
|
|
4766
|
+
"description": "o horário próprio inteiro, como seg-sex=09:00-12:00,14:00-18:00 (repita por dia ou grupo de dias)",
|
|
4767
|
+
"required": false,
|
|
4768
|
+
"default": null,
|
|
4769
|
+
"choices": null
|
|
4770
|
+
},
|
|
4771
|
+
{
|
|
4772
|
+
"flags": "--company",
|
|
4773
|
+
"description": "apaga o horário próprio e volta ao da empresa",
|
|
4774
|
+
"required": false,
|
|
4775
|
+
"default": null,
|
|
4776
|
+
"choices": null
|
|
4777
|
+
},
|
|
4778
|
+
{
|
|
4779
|
+
"flags": "-y, --yes",
|
|
4780
|
+
"description": "salva logo depois de mostrar o que muda",
|
|
4781
|
+
"required": false,
|
|
4782
|
+
"default": null,
|
|
4783
|
+
"choices": null
|
|
4784
|
+
}
|
|
4785
|
+
],
|
|
4786
|
+
"commands": []
|
|
4787
|
+
}
|
|
4788
|
+
]
|
|
3976
4789
|
}
|
|
3977
4790
|
]
|
|
3978
4791
|
}
|