@breign/client 1.0.185 → 1.0.186
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/FleetsApi.d.ts +153 -0
- package/dist/apis/FleetsApi.js +370 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/FleetAnswersUpdateResultUio.d.ts +41 -0
- package/dist/models/FleetAnswersUpdateResultUio.js +55 -0
- package/dist/models/FleetAnswersUpdateUio.d.ts +34 -0
- package/dist/models/FleetAnswersUpdateUio.js +50 -0
- package/dist/models/FleetApplyUio.d.ts +41 -0
- package/dist/models/FleetApplyUio.js +54 -0
- package/dist/models/FleetChoiceOptionUio.d.ts +51 -0
- package/dist/models/FleetChoiceOptionUio.js +59 -0
- package/dist/models/FleetConflictDecisionUio.d.ts +25 -0
- package/dist/models/FleetConflictDecisionUio.js +51 -0
- package/dist/models/FleetGroupFieldUio.d.ts +67 -0
- package/dist/models/FleetGroupFieldUio.js +71 -0
- package/dist/models/FleetInputUio.d.ts +119 -0
- package/dist/models/FleetInputUio.js +98 -0
- package/dist/models/FleetInstallationStartUio.d.ts +32 -0
- package/dist/models/FleetInstallationStartUio.js +50 -0
- package/dist/models/FleetInstallationStatusUio.d.ts +28 -0
- package/dist/models/FleetInstallationStatusUio.js +54 -0
- package/dist/models/FleetInstallationUio.d.ts +152 -0
- package/dist/models/FleetInstallationUio.js +129 -0
- package/dist/models/FleetInstalledResourceUio.d.ts +59 -0
- package/dist/models/FleetInstalledResourceUio.js +65 -0
- package/dist/models/FleetKnowledgeSourceUio.d.ts +64 -0
- package/dist/models/FleetKnowledgeSourceUio.js +66 -0
- package/dist/models/FleetManualStepUio.d.ts +44 -0
- package/dist/models/FleetManualStepUio.js +58 -0
- package/dist/models/FleetManualStepUpdateUio.d.ts +32 -0
- package/dist/models/FleetManualStepUpdateUio.js +50 -0
- package/dist/models/FleetPlanActionUio.d.ts +30 -0
- package/dist/models/FleetPlanActionUio.js +56 -0
- package/dist/models/FleetPlanBlockingUio.d.ts +38 -0
- package/dist/models/FleetPlanBlockingUio.js +52 -0
- package/dist/models/FleetPlanItemUio.d.ts +70 -0
- package/dist/models/FleetPlanItemUio.js +70 -0
- package/dist/models/FleetPlanUio.d.ts +68 -0
- package/dist/models/FleetPlanUio.js +72 -0
- package/dist/models/FleetResourceTypeUio.d.ts +31 -0
- package/dist/models/FleetResourceTypeUio.js +57 -0
- package/dist/models/FleetSecretsUio.d.ts +33 -0
- package/dist/models/FleetSecretsUio.js +51 -0
- package/dist/models/FleetStepLogUio.d.ts +65 -0
- package/dist/models/FleetStepLogUio.js +73 -0
- package/dist/models/FleetStepUio.d.ts +50 -0
- package/dist/models/FleetStepUio.js +60 -0
- package/dist/models/FleetTemplateAgentUio.d.ts +50 -0
- package/dist/models/FleetTemplateAgentUio.js +62 -0
- package/dist/models/FleetTemplateCountsUio.d.ts +56 -0
- package/dist/models/FleetTemplateCountsUio.js +66 -0
- package/dist/models/FleetTemplateInstallationRefUio.d.ts +45 -0
- package/dist/models/FleetTemplateInstallationRefUio.js +59 -0
- package/dist/models/FleetTemplateSummaryUio.d.ts +82 -0
- package/dist/models/FleetTemplateSummaryUio.js +84 -0
- package/dist/models/FleetTemplateUio.d.ts +104 -0
- package/dist/models/FleetTemplateUio.js +99 -0
- package/dist/models/FleetToolBindingUio.d.ts +44 -0
- package/dist/models/FleetToolBindingUio.js +52 -0
- package/dist/models/FleetWebhookSecretUio.d.ts +50 -0
- package/dist/models/FleetWebhookSecretUio.js +62 -0
- package/dist/models/index.d.ts +29 -0
- package/dist/models/index.js +29 -0
- package/dist/openapi.json +1061 -0
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -102,6 +102,9 @@
|
|
|
102
102
|
}, {
|
|
103
103
|
"description" : "Support page of an organization, its settings and the requests sent from it",
|
|
104
104
|
"name" : "support"
|
|
105
|
+
}, {
|
|
106
|
+
"description" : "Fleet templates and the wizard that installs them in an organization",
|
|
107
|
+
"name" : "fleets"
|
|
105
108
|
}, {
|
|
106
109
|
"description" : "Breign as an OAuth provider for third-party apps: the authorization bridge used by breign-app, the OAuth clients of an organization and the user's connected applications",
|
|
107
110
|
"name" : "oauth-provider"
|
|
@@ -19787,6 +19790,410 @@
|
|
|
19787
19790
|
"tags" : [ "support" ]
|
|
19788
19791
|
}
|
|
19789
19792
|
},
|
|
19793
|
+
"/organizations/{organizationId}/fleet-templates" : {
|
|
19794
|
+
"get" : {
|
|
19795
|
+
"description" : "Les modèles de flotte livrés avec l'API, avec l'installation de l'organisation pour chacun. Lisible par les membres.",
|
|
19796
|
+
"operationId" : "listFleetTemplates",
|
|
19797
|
+
"parameters" : [ {
|
|
19798
|
+
"description" : "ID of the organization",
|
|
19799
|
+
"in" : "path",
|
|
19800
|
+
"name" : "organizationId",
|
|
19801
|
+
"required" : true,
|
|
19802
|
+
"schema" : {
|
|
19803
|
+
"type" : "string"
|
|
19804
|
+
}
|
|
19805
|
+
} ],
|
|
19806
|
+
"responses" : {
|
|
19807
|
+
"200" : {
|
|
19808
|
+
"content" : {
|
|
19809
|
+
"application/json" : {
|
|
19810
|
+
"schema" : {
|
|
19811
|
+
"items" : {
|
|
19812
|
+
"$ref" : "#/components/schemas/FleetTemplateSummary"
|
|
19813
|
+
},
|
|
19814
|
+
"type" : "array"
|
|
19815
|
+
}
|
|
19816
|
+
}
|
|
19817
|
+
},
|
|
19818
|
+
"description" : "OK"
|
|
19819
|
+
},
|
|
19820
|
+
"401" : {
|
|
19821
|
+
"description" : "Unauthenticated"
|
|
19822
|
+
},
|
|
19823
|
+
"403" : {
|
|
19824
|
+
"description" : "Not a member of the organization"
|
|
19825
|
+
}
|
|
19826
|
+
},
|
|
19827
|
+
"summary" : "List the fleet templates",
|
|
19828
|
+
"tags" : [ "fleets" ]
|
|
19829
|
+
}
|
|
19830
|
+
},
|
|
19831
|
+
"/fleet-templates/{slug}" : {
|
|
19832
|
+
"get" : {
|
|
19833
|
+
"description" : "Les questions et les étapes de l'assistant d'un modèle de flotte.",
|
|
19834
|
+
"operationId" : "getFleetTemplate",
|
|
19835
|
+
"parameters" : [ {
|
|
19836
|
+
"description" : "Slug of the fleet template",
|
|
19837
|
+
"in" : "path",
|
|
19838
|
+
"name" : "slug",
|
|
19839
|
+
"required" : true,
|
|
19840
|
+
"schema" : {
|
|
19841
|
+
"type" : "string"
|
|
19842
|
+
}
|
|
19843
|
+
} ],
|
|
19844
|
+
"responses" : {
|
|
19845
|
+
"200" : {
|
|
19846
|
+
"content" : {
|
|
19847
|
+
"application/json" : {
|
|
19848
|
+
"schema" : {
|
|
19849
|
+
"$ref" : "#/components/schemas/FleetTemplate"
|
|
19850
|
+
}
|
|
19851
|
+
}
|
|
19852
|
+
},
|
|
19853
|
+
"description" : "OK"
|
|
19854
|
+
},
|
|
19855
|
+
"404" : {
|
|
19856
|
+
"description" : "Unknown template"
|
|
19857
|
+
}
|
|
19858
|
+
},
|
|
19859
|
+
"summary" : "Get a fleet template",
|
|
19860
|
+
"tags" : [ "fleets" ]
|
|
19861
|
+
}
|
|
19862
|
+
},
|
|
19863
|
+
"/organizations/{organizationId}/fleet-installations" : {
|
|
19864
|
+
"get" : {
|
|
19865
|
+
"description" : "Lisible par les membres.",
|
|
19866
|
+
"operationId" : "listFleetInstallations",
|
|
19867
|
+
"parameters" : [ {
|
|
19868
|
+
"description" : "ID of the organization",
|
|
19869
|
+
"in" : "path",
|
|
19870
|
+
"name" : "organizationId",
|
|
19871
|
+
"required" : true,
|
|
19872
|
+
"schema" : {
|
|
19873
|
+
"type" : "string"
|
|
19874
|
+
}
|
|
19875
|
+
} ],
|
|
19876
|
+
"responses" : {
|
|
19877
|
+
"200" : {
|
|
19878
|
+
"content" : {
|
|
19879
|
+
"application/json" : {
|
|
19880
|
+
"schema" : {
|
|
19881
|
+
"items" : {
|
|
19882
|
+
"$ref" : "#/components/schemas/FleetInstallation"
|
|
19883
|
+
},
|
|
19884
|
+
"type" : "array"
|
|
19885
|
+
}
|
|
19886
|
+
}
|
|
19887
|
+
},
|
|
19888
|
+
"description" : "OK"
|
|
19889
|
+
},
|
|
19890
|
+
"401" : {
|
|
19891
|
+
"description" : "Unauthenticated"
|
|
19892
|
+
},
|
|
19893
|
+
"403" : {
|
|
19894
|
+
"description" : "Not a member of the organization"
|
|
19895
|
+
}
|
|
19896
|
+
},
|
|
19897
|
+
"summary" : "List the fleet installations of an organization",
|
|
19898
|
+
"tags" : [ "fleets" ]
|
|
19899
|
+
},
|
|
19900
|
+
"post" : {
|
|
19901
|
+
"description" : "Crée le brouillon de l'organisation pour ce modèle, avec les réponses par défaut, ou rend l'installation existante (une seule par organisation et par modèle). Réservé aux administrateurs de l'organisation.",
|
|
19902
|
+
"operationId" : "startFleetInstallation",
|
|
19903
|
+
"parameters" : [ {
|
|
19904
|
+
"description" : "ID of the organization",
|
|
19905
|
+
"in" : "path",
|
|
19906
|
+
"name" : "organizationId",
|
|
19907
|
+
"required" : true,
|
|
19908
|
+
"schema" : {
|
|
19909
|
+
"type" : "string"
|
|
19910
|
+
}
|
|
19911
|
+
} ],
|
|
19912
|
+
"requestBody" : {
|
|
19913
|
+
"content" : {
|
|
19914
|
+
"application/json" : {
|
|
19915
|
+
"schema" : {
|
|
19916
|
+
"$ref" : "#/components/schemas/FleetInstallationStart"
|
|
19917
|
+
}
|
|
19918
|
+
}
|
|
19919
|
+
},
|
|
19920
|
+
"required" : true
|
|
19921
|
+
},
|
|
19922
|
+
"responses" : {
|
|
19923
|
+
"200" : {
|
|
19924
|
+
"content" : {
|
|
19925
|
+
"application/json" : {
|
|
19926
|
+
"schema" : {
|
|
19927
|
+
"$ref" : "#/components/schemas/FleetInstallation"
|
|
19928
|
+
}
|
|
19929
|
+
}
|
|
19930
|
+
},
|
|
19931
|
+
"description" : "The existing installation"
|
|
19932
|
+
},
|
|
19933
|
+
"201" : {
|
|
19934
|
+
"content" : {
|
|
19935
|
+
"application/json" : {
|
|
19936
|
+
"schema" : {
|
|
19937
|
+
"$ref" : "#/components/schemas/FleetInstallation"
|
|
19938
|
+
}
|
|
19939
|
+
}
|
|
19940
|
+
},
|
|
19941
|
+
"description" : "A new draft"
|
|
19942
|
+
},
|
|
19943
|
+
"403" : {
|
|
19944
|
+
"description" : "Not an admin of the organization"
|
|
19945
|
+
},
|
|
19946
|
+
"404" : {
|
|
19947
|
+
"description" : "Unknown template"
|
|
19948
|
+
}
|
|
19949
|
+
},
|
|
19950
|
+
"summary" : "Start installing a fleet template",
|
|
19951
|
+
"tags" : [ "fleets" ]
|
|
19952
|
+
}
|
|
19953
|
+
},
|
|
19954
|
+
"/fleet-installations/{installationId}" : {
|
|
19955
|
+
"get" : {
|
|
19956
|
+
"description" : "Ses réponses, son dernier plan, son statut et le journal de son déploiement. Lisible par les membres.",
|
|
19957
|
+
"operationId" : "getFleetInstallation",
|
|
19958
|
+
"parameters" : [ {
|
|
19959
|
+
"description" : "ID of the fleet installation",
|
|
19960
|
+
"in" : "path",
|
|
19961
|
+
"name" : "installationId",
|
|
19962
|
+
"required" : true,
|
|
19963
|
+
"schema" : {
|
|
19964
|
+
"type" : "string"
|
|
19965
|
+
}
|
|
19966
|
+
} ],
|
|
19967
|
+
"responses" : {
|
|
19968
|
+
"200" : {
|
|
19969
|
+
"content" : {
|
|
19970
|
+
"application/json" : {
|
|
19971
|
+
"schema" : {
|
|
19972
|
+
"$ref" : "#/components/schemas/FleetInstallation"
|
|
19973
|
+
}
|
|
19974
|
+
}
|
|
19975
|
+
},
|
|
19976
|
+
"description" : "OK"
|
|
19977
|
+
},
|
|
19978
|
+
"404" : {
|
|
19979
|
+
"description" : "Unknown installation"
|
|
19980
|
+
}
|
|
19981
|
+
},
|
|
19982
|
+
"summary" : "Get a fleet installation",
|
|
19983
|
+
"tags" : [ "fleets" ]
|
|
19984
|
+
},
|
|
19985
|
+
"patch" : {
|
|
19986
|
+
"description" : "Enregistre les réponses d'un écran (seules les questions du modèle sont gardées) et rend les erreurs restantes. Refusé pendant un déploiement. Réservé aux administrateurs.",
|
|
19987
|
+
"operationId" : "updateFleetInstallationAnswers",
|
|
19988
|
+
"parameters" : [ {
|
|
19989
|
+
"description" : "ID of the fleet installation",
|
|
19990
|
+
"in" : "path",
|
|
19991
|
+
"name" : "installationId",
|
|
19992
|
+
"required" : true,
|
|
19993
|
+
"schema" : {
|
|
19994
|
+
"type" : "string"
|
|
19995
|
+
}
|
|
19996
|
+
} ],
|
|
19997
|
+
"requestBody" : {
|
|
19998
|
+
"content" : {
|
|
19999
|
+
"application/json" : {
|
|
20000
|
+
"schema" : {
|
|
20001
|
+
"$ref" : "#/components/schemas/FleetAnswersUpdate"
|
|
20002
|
+
}
|
|
20003
|
+
}
|
|
20004
|
+
},
|
|
20005
|
+
"required" : true
|
|
20006
|
+
},
|
|
20007
|
+
"responses" : {
|
|
20008
|
+
"200" : {
|
|
20009
|
+
"content" : {
|
|
20010
|
+
"application/json" : {
|
|
20011
|
+
"schema" : {
|
|
20012
|
+
"$ref" : "#/components/schemas/FleetAnswersUpdateResult"
|
|
20013
|
+
}
|
|
20014
|
+
}
|
|
20015
|
+
},
|
|
20016
|
+
"description" : "OK"
|
|
20017
|
+
},
|
|
20018
|
+
"403" : {
|
|
20019
|
+
"description" : "Not an admin of the organization"
|
|
20020
|
+
},
|
|
20021
|
+
"409" : {
|
|
20022
|
+
"description" : "A deployment is running (FLEET_INSTALLATION_RUNNING)"
|
|
20023
|
+
}
|
|
20024
|
+
},
|
|
20025
|
+
"summary" : "Save answers of the fleet wizard",
|
|
20026
|
+
"tags" : [ "fleets" ]
|
|
20027
|
+
}
|
|
20028
|
+
},
|
|
20029
|
+
"/fleet-installations/{installationId}/plan" : {
|
|
20030
|
+
"post" : {
|
|
20031
|
+
"description" : "Compare la flotte voulue à l'organisation telle qu'elle est maintenant, sans rien y écrire. Le plan est enregistré sur l'installation. Réservé aux administrateurs.",
|
|
20032
|
+
"operationId" : "planFleetInstallation",
|
|
20033
|
+
"parameters" : [ {
|
|
20034
|
+
"description" : "ID of the fleet installation",
|
|
20035
|
+
"in" : "path",
|
|
20036
|
+
"name" : "installationId",
|
|
20037
|
+
"required" : true,
|
|
20038
|
+
"schema" : {
|
|
20039
|
+
"type" : "string"
|
|
20040
|
+
}
|
|
20041
|
+
} ],
|
|
20042
|
+
"responses" : {
|
|
20043
|
+
"200" : {
|
|
20044
|
+
"content" : {
|
|
20045
|
+
"application/json" : {
|
|
20046
|
+
"schema" : {
|
|
20047
|
+
"$ref" : "#/components/schemas/FleetPlan"
|
|
20048
|
+
}
|
|
20049
|
+
}
|
|
20050
|
+
},
|
|
20051
|
+
"description" : "OK"
|
|
20052
|
+
},
|
|
20053
|
+
"403" : {
|
|
20054
|
+
"description" : "Not an admin of the organization"
|
|
20055
|
+
},
|
|
20056
|
+
"409" : {
|
|
20057
|
+
"description" : "A deployment is running (FLEET_INSTALLATION_RUNNING)"
|
|
20058
|
+
}
|
|
20059
|
+
},
|
|
20060
|
+
"summary" : "Plan a fleet installation",
|
|
20061
|
+
"tags" : [ "fleets" ]
|
|
20062
|
+
}
|
|
20063
|
+
},
|
|
20064
|
+
"/fleet-installations/{installationId}/apply" : {
|
|
20065
|
+
"post" : {
|
|
20066
|
+
"description" : "Lance en tâche de fond le déploiement du plan vu par l'administrateur, en son nom. Refusé si le plan est périmé (409 FLEET_PLAN_OUTDATED, le nouveau plan dans `details`), bloqué (422 FLEET_PLAN_BLOCKED) ou si un conflit n'a pas de décision (422 FLEET_DECISIONS_MISSING).",
|
|
20067
|
+
"operationId" : "applyFleetInstallation",
|
|
20068
|
+
"parameters" : [ {
|
|
20069
|
+
"description" : "ID of the fleet installation",
|
|
20070
|
+
"in" : "path",
|
|
20071
|
+
"name" : "installationId",
|
|
20072
|
+
"required" : true,
|
|
20073
|
+
"schema" : {
|
|
20074
|
+
"type" : "string"
|
|
20075
|
+
}
|
|
20076
|
+
} ],
|
|
20077
|
+
"requestBody" : {
|
|
20078
|
+
"content" : {
|
|
20079
|
+
"application/json" : {
|
|
20080
|
+
"schema" : {
|
|
20081
|
+
"$ref" : "#/components/schemas/FleetApply"
|
|
20082
|
+
}
|
|
20083
|
+
}
|
|
20084
|
+
},
|
|
20085
|
+
"required" : true
|
|
20086
|
+
},
|
|
20087
|
+
"responses" : {
|
|
20088
|
+
"202" : {
|
|
20089
|
+
"content" : {
|
|
20090
|
+
"application/json" : {
|
|
20091
|
+
"schema" : {
|
|
20092
|
+
"$ref" : "#/components/schemas/FleetInstallation"
|
|
20093
|
+
}
|
|
20094
|
+
}
|
|
20095
|
+
},
|
|
20096
|
+
"description" : "Deployment queued"
|
|
20097
|
+
},
|
|
20098
|
+
"403" : {
|
|
20099
|
+
"description" : "Not an admin of the organization"
|
|
20100
|
+
},
|
|
20101
|
+
"409" : {
|
|
20102
|
+
"description" : "Outdated plan"
|
|
20103
|
+
},
|
|
20104
|
+
"422" : {
|
|
20105
|
+
"description" : "Blocked plan"
|
|
20106
|
+
}
|
|
20107
|
+
},
|
|
20108
|
+
"summary" : "Deploy a fleet installation",
|
|
20109
|
+
"tags" : [ "fleets" ]
|
|
20110
|
+
}
|
|
20111
|
+
},
|
|
20112
|
+
"/fleet-installations/{installationId}/secrets" : {
|
|
20113
|
+
"get" : {
|
|
20114
|
+
"description" : "Les URL et secrets des webhooks créés par le déploiement. Rendus une seule fois, puis effacés. Réservé aux administrateurs.",
|
|
20115
|
+
"operationId" : "readFleetInstallationSecrets",
|
|
20116
|
+
"parameters" : [ {
|
|
20117
|
+
"description" : "ID of the fleet installation",
|
|
20118
|
+
"in" : "path",
|
|
20119
|
+
"name" : "installationId",
|
|
20120
|
+
"required" : true,
|
|
20121
|
+
"schema" : {
|
|
20122
|
+
"type" : "string"
|
|
20123
|
+
}
|
|
20124
|
+
} ],
|
|
20125
|
+
"responses" : {
|
|
20126
|
+
"200" : {
|
|
20127
|
+
"content" : {
|
|
20128
|
+
"application/json" : {
|
|
20129
|
+
"schema" : {
|
|
20130
|
+
"$ref" : "#/components/schemas/FleetSecrets"
|
|
20131
|
+
}
|
|
20132
|
+
}
|
|
20133
|
+
},
|
|
20134
|
+
"description" : "OK"
|
|
20135
|
+
},
|
|
20136
|
+
"403" : {
|
|
20137
|
+
"description" : "Not an admin of the organization"
|
|
20138
|
+
}
|
|
20139
|
+
},
|
|
20140
|
+
"summary" : "Read the webhook secrets of a fleet installation",
|
|
20141
|
+
"tags" : [ "fleets" ]
|
|
20142
|
+
}
|
|
20143
|
+
},
|
|
20144
|
+
"/fleet-installations/{installationId}/manual-steps/{key}" : {
|
|
20145
|
+
"patch" : {
|
|
20146
|
+
"description" : "Réservé aux administrateurs.",
|
|
20147
|
+
"operationId" : "setFleetInstallationManualStep",
|
|
20148
|
+
"parameters" : [ {
|
|
20149
|
+
"description" : "ID of the fleet installation",
|
|
20150
|
+
"in" : "path",
|
|
20151
|
+
"name" : "installationId",
|
|
20152
|
+
"required" : true,
|
|
20153
|
+
"schema" : {
|
|
20154
|
+
"type" : "string"
|
|
20155
|
+
}
|
|
20156
|
+
}, {
|
|
20157
|
+
"description" : "Key of the manual step",
|
|
20158
|
+
"in" : "path",
|
|
20159
|
+
"name" : "key",
|
|
20160
|
+
"required" : true,
|
|
20161
|
+
"schema" : {
|
|
20162
|
+
"type" : "string"
|
|
20163
|
+
}
|
|
20164
|
+
} ],
|
|
20165
|
+
"requestBody" : {
|
|
20166
|
+
"content" : {
|
|
20167
|
+
"application/json" : {
|
|
20168
|
+
"schema" : {
|
|
20169
|
+
"$ref" : "#/components/schemas/FleetManualStepUpdate"
|
|
20170
|
+
}
|
|
20171
|
+
}
|
|
20172
|
+
},
|
|
20173
|
+
"required" : true
|
|
20174
|
+
},
|
|
20175
|
+
"responses" : {
|
|
20176
|
+
"200" : {
|
|
20177
|
+
"content" : {
|
|
20178
|
+
"application/json" : {
|
|
20179
|
+
"schema" : {
|
|
20180
|
+
"$ref" : "#/components/schemas/FleetInstallation"
|
|
20181
|
+
}
|
|
20182
|
+
}
|
|
20183
|
+
},
|
|
20184
|
+
"description" : "OK"
|
|
20185
|
+
},
|
|
20186
|
+
"403" : {
|
|
20187
|
+
"description" : "Not an admin of the organization"
|
|
20188
|
+
},
|
|
20189
|
+
"404" : {
|
|
20190
|
+
"description" : "Unknown manual step"
|
|
20191
|
+
}
|
|
20192
|
+
},
|
|
20193
|
+
"summary" : "Check or uncheck a manual step of a fleet installation",
|
|
20194
|
+
"tags" : [ "fleets" ]
|
|
20195
|
+
}
|
|
20196
|
+
},
|
|
19790
20197
|
"/organizations/{organizationId}/oauth-clients" : {
|
|
19791
20198
|
"get" : {
|
|
19792
20199
|
"description" : "Réservé aux admins de l'organisation et aux superadmins.",
|
|
@@ -22379,6 +22786,15 @@
|
|
|
22379
22786
|
"type" : "string"
|
|
22380
22787
|
}
|
|
22381
22788
|
},
|
|
22789
|
+
"fleetInstallationIdPath" : {
|
|
22790
|
+
"description" : "ID of the fleet installation",
|
|
22791
|
+
"in" : "path",
|
|
22792
|
+
"name" : "installationId",
|
|
22793
|
+
"required" : true,
|
|
22794
|
+
"schema" : {
|
|
22795
|
+
"type" : "string"
|
|
22796
|
+
}
|
|
22797
|
+
},
|
|
22382
22798
|
"nodeSessionIdPath" : {
|
|
22383
22799
|
"description" : "ID of a turn run on an execution node (the taskId of the node channel)",
|
|
22384
22800
|
"in" : "path",
|
|
@@ -33435,6 +33851,651 @@
|
|
|
33435
33851
|
"required" : [ "duplicate", "eventId" ],
|
|
33436
33852
|
"type" : "object"
|
|
33437
33853
|
},
|
|
33854
|
+
"FleetTemplateSummary" : {
|
|
33855
|
+
"properties" : {
|
|
33856
|
+
"slug" : {
|
|
33857
|
+
"type" : "string"
|
|
33858
|
+
},
|
|
33859
|
+
"version" : {
|
|
33860
|
+
"type" : "string"
|
|
33861
|
+
},
|
|
33862
|
+
"name" : {
|
|
33863
|
+
"type" : "string"
|
|
33864
|
+
},
|
|
33865
|
+
"description" : {
|
|
33866
|
+
"type" : "string"
|
|
33867
|
+
},
|
|
33868
|
+
"icon" : {
|
|
33869
|
+
"nullable" : true,
|
|
33870
|
+
"type" : "string"
|
|
33871
|
+
},
|
|
33872
|
+
"color" : {
|
|
33873
|
+
"nullable" : true,
|
|
33874
|
+
"type" : "string"
|
|
33875
|
+
},
|
|
33876
|
+
"category" : {
|
|
33877
|
+
"nullable" : true,
|
|
33878
|
+
"type" : "string"
|
|
33879
|
+
},
|
|
33880
|
+
"counts" : {
|
|
33881
|
+
"$ref" : "#/components/schemas/FleetTemplateCounts"
|
|
33882
|
+
},
|
|
33883
|
+
"installation" : {
|
|
33884
|
+
"allOf" : [ {
|
|
33885
|
+
"$ref" : "#/components/schemas/FleetTemplateInstallationRef"
|
|
33886
|
+
} ],
|
|
33887
|
+
"nullable" : true
|
|
33888
|
+
}
|
|
33889
|
+
},
|
|
33890
|
+
"required" : [ "category", "color", "counts", "description", "icon", "installation", "name", "slug", "version" ],
|
|
33891
|
+
"type" : "object"
|
|
33892
|
+
},
|
|
33893
|
+
"FleetTemplateCounts" : {
|
|
33894
|
+
"properties" : {
|
|
33895
|
+
"agents" : {
|
|
33896
|
+
"type" : "integer"
|
|
33897
|
+
},
|
|
33898
|
+
"skills" : {
|
|
33899
|
+
"type" : "integer"
|
|
33900
|
+
},
|
|
33901
|
+
"projects" : {
|
|
33902
|
+
"type" : "integer"
|
|
33903
|
+
},
|
|
33904
|
+
"knowledgeBases" : {
|
|
33905
|
+
"type" : "integer"
|
|
33906
|
+
},
|
|
33907
|
+
"automations" : {
|
|
33908
|
+
"type" : "integer"
|
|
33909
|
+
}
|
|
33910
|
+
},
|
|
33911
|
+
"required" : [ "agents", "automations", "knowledgeBases", "projects", "skills" ],
|
|
33912
|
+
"type" : "object"
|
|
33913
|
+
},
|
|
33914
|
+
"FleetTemplateInstallationRef" : {
|
|
33915
|
+
"description" : "L'installation de ce modèle dans l'organisation.",
|
|
33916
|
+
"properties" : {
|
|
33917
|
+
"id" : {
|
|
33918
|
+
"type" : "string"
|
|
33919
|
+
},
|
|
33920
|
+
"status" : {
|
|
33921
|
+
"$ref" : "#/components/schemas/FleetInstallationStatus"
|
|
33922
|
+
},
|
|
33923
|
+
"version" : {
|
|
33924
|
+
"description" : "Version du modèle installée ; à comparer à celle du modèle pour proposer la mise à jour.",
|
|
33925
|
+
"type" : "string"
|
|
33926
|
+
}
|
|
33927
|
+
},
|
|
33928
|
+
"required" : [ "id", "status", "version" ],
|
|
33929
|
+
"type" : "object"
|
|
33930
|
+
},
|
|
33931
|
+
"FleetInstallationStatus" : {
|
|
33932
|
+
"enum" : [ "draft", "pending", "running", "done", "error" ],
|
|
33933
|
+
"type" : "string"
|
|
33934
|
+
},
|
|
33935
|
+
"FleetTemplate" : {
|
|
33936
|
+
"description" : "Un modèle de flotte, avec les questions et les étapes de son assistant.",
|
|
33937
|
+
"properties" : {
|
|
33938
|
+
"slug" : {
|
|
33939
|
+
"type" : "string"
|
|
33940
|
+
},
|
|
33941
|
+
"version" : {
|
|
33942
|
+
"type" : "string"
|
|
33943
|
+
},
|
|
33944
|
+
"name" : {
|
|
33945
|
+
"type" : "string"
|
|
33946
|
+
},
|
|
33947
|
+
"description" : {
|
|
33948
|
+
"type" : "string"
|
|
33949
|
+
},
|
|
33950
|
+
"icon" : {
|
|
33951
|
+
"nullable" : true,
|
|
33952
|
+
"type" : "string"
|
|
33953
|
+
},
|
|
33954
|
+
"color" : {
|
|
33955
|
+
"nullable" : true,
|
|
33956
|
+
"type" : "string"
|
|
33957
|
+
},
|
|
33958
|
+
"category" : {
|
|
33959
|
+
"nullable" : true,
|
|
33960
|
+
"type" : "string"
|
|
33961
|
+
},
|
|
33962
|
+
"counts" : {
|
|
33963
|
+
"$ref" : "#/components/schemas/FleetTemplateCounts"
|
|
33964
|
+
},
|
|
33965
|
+
"readme" : {
|
|
33966
|
+
"nullable" : true,
|
|
33967
|
+
"type" : "string"
|
|
33968
|
+
},
|
|
33969
|
+
"inputs" : {
|
|
33970
|
+
"additionalProperties" : {
|
|
33971
|
+
"$ref" : "#/components/schemas/FleetInput"
|
|
33972
|
+
},
|
|
33973
|
+
"type" : "object"
|
|
33974
|
+
},
|
|
33975
|
+
"steps" : {
|
|
33976
|
+
"items" : {
|
|
33977
|
+
"$ref" : "#/components/schemas/FleetStep"
|
|
33978
|
+
},
|
|
33979
|
+
"type" : "array"
|
|
33980
|
+
},
|
|
33981
|
+
"agents" : {
|
|
33982
|
+
"items" : {
|
|
33983
|
+
"$ref" : "#/components/schemas/FleetTemplateAgent"
|
|
33984
|
+
},
|
|
33985
|
+
"type" : "array"
|
|
33986
|
+
}
|
|
33987
|
+
},
|
|
33988
|
+
"required" : [ "agents", "category", "color", "counts", "description", "icon", "inputs", "name", "readme", "slug", "steps", "version" ],
|
|
33989
|
+
"type" : "object"
|
|
33990
|
+
},
|
|
33991
|
+
"FleetInput" : {
|
|
33992
|
+
"description" : "Une question de l'assistant. La forme de la réponse dépend de `type`.",
|
|
33993
|
+
"properties" : {
|
|
33994
|
+
"type" : {
|
|
33995
|
+
"enum" : [ "choice", "multi", "boolean", "text", "textarea", "email", "url-list", "tool", "knowledge-base", "members", "member", "engine", "agents", "business-hours", "group" ],
|
|
33996
|
+
"type" : "string"
|
|
33997
|
+
},
|
|
33998
|
+
"label" : {
|
|
33999
|
+
"type" : "string"
|
|
34000
|
+
},
|
|
34001
|
+
"help" : {
|
|
34002
|
+
"type" : "string"
|
|
34003
|
+
},
|
|
34004
|
+
"when" : {
|
|
34005
|
+
"description" : "Condition sur les autres réponses ; la question n'est posée que si elle est vraie.",
|
|
34006
|
+
"type" : "string"
|
|
34007
|
+
},
|
|
34008
|
+
"required" : {
|
|
34009
|
+
"type" : "boolean"
|
|
34010
|
+
},
|
|
34011
|
+
"default" : { },
|
|
34012
|
+
"options" : {
|
|
34013
|
+
"items" : {
|
|
34014
|
+
"$ref" : "#/components/schemas/FleetChoiceOption"
|
|
34015
|
+
},
|
|
34016
|
+
"type" : "array"
|
|
34017
|
+
},
|
|
34018
|
+
"tool" : {
|
|
34019
|
+
"$ref" : "#/components/schemas/FleetToolBinding"
|
|
34020
|
+
},
|
|
34021
|
+
"min" : {
|
|
34022
|
+
"type" : "integer"
|
|
34023
|
+
},
|
|
34024
|
+
"fields" : {
|
|
34025
|
+
"additionalProperties" : {
|
|
34026
|
+
"$ref" : "#/components/schemas/FleetGroupField"
|
|
34027
|
+
},
|
|
34028
|
+
"type" : "object"
|
|
34029
|
+
},
|
|
34030
|
+
"suggestedSources" : {
|
|
34031
|
+
"items" : {
|
|
34032
|
+
"$ref" : "#/components/schemas/FleetKnowledgeSource"
|
|
34033
|
+
},
|
|
34034
|
+
"type" : "array"
|
|
34035
|
+
}
|
|
34036
|
+
},
|
|
34037
|
+
"required" : [ "label", "type" ],
|
|
34038
|
+
"type" : "object"
|
|
34039
|
+
},
|
|
34040
|
+
"FleetChoiceOption" : {
|
|
34041
|
+
"properties" : {
|
|
34042
|
+
"value" : {
|
|
34043
|
+
"type" : "string"
|
|
34044
|
+
},
|
|
34045
|
+
"label" : {
|
|
34046
|
+
"type" : "string"
|
|
34047
|
+
},
|
|
34048
|
+
"hint" : {
|
|
34049
|
+
"type" : "string"
|
|
34050
|
+
},
|
|
34051
|
+
"tool" : {
|
|
34052
|
+
"$ref" : "#/components/schemas/FleetToolBinding"
|
|
34053
|
+
}
|
|
34054
|
+
},
|
|
34055
|
+
"required" : [ "label", "value" ],
|
|
34056
|
+
"type" : "object"
|
|
34057
|
+
},
|
|
34058
|
+
"FleetToolBinding" : {
|
|
34059
|
+
"description" : "L'outil MCP qu'attend une question ou une option.",
|
|
34060
|
+
"properties" : {
|
|
34061
|
+
"preset" : {
|
|
34062
|
+
"description" : "Preset d'outil proposé pour en créer un nouveau.",
|
|
34063
|
+
"type" : "string"
|
|
34064
|
+
},
|
|
34065
|
+
"match" : {
|
|
34066
|
+
"description" : "Une partie du nom qui reconnaît un outil existant de l'organisation.",
|
|
34067
|
+
"type" : "string"
|
|
34068
|
+
},
|
|
34069
|
+
"methods" : {
|
|
34070
|
+
"description" : "Méthodes autorisées aux agents ; absentes, celles de l'outil.",
|
|
34071
|
+
"items" : {
|
|
34072
|
+
"type" : "string"
|
|
34073
|
+
},
|
|
34074
|
+
"type" : "array"
|
|
34075
|
+
}
|
|
34076
|
+
},
|
|
34077
|
+
"type" : "object"
|
|
34078
|
+
},
|
|
34079
|
+
"FleetGroupField" : {
|
|
34080
|
+
"properties" : {
|
|
34081
|
+
"type" : {
|
|
34082
|
+
"enum" : [ "text", "textarea", "number", "choice" ],
|
|
34083
|
+
"type" : "string"
|
|
34084
|
+
},
|
|
34085
|
+
"label" : {
|
|
34086
|
+
"type" : "string"
|
|
34087
|
+
},
|
|
34088
|
+
"options" : {
|
|
34089
|
+
"items" : {
|
|
34090
|
+
"$ref" : "#/components/schemas/FleetChoiceOption"
|
|
34091
|
+
},
|
|
34092
|
+
"type" : "array"
|
|
34093
|
+
},
|
|
34094
|
+
"default" : { },
|
|
34095
|
+
"required" : {
|
|
34096
|
+
"type" : "boolean"
|
|
34097
|
+
}
|
|
34098
|
+
},
|
|
34099
|
+
"required" : [ "label", "type" ],
|
|
34100
|
+
"type" : "object"
|
|
34101
|
+
},
|
|
34102
|
+
"FleetKnowledgeSource" : {
|
|
34103
|
+
"properties" : {
|
|
34104
|
+
"type" : {
|
|
34105
|
+
"enum" : [ "website", "files" ],
|
|
34106
|
+
"type" : "string"
|
|
34107
|
+
},
|
|
34108
|
+
"url" : {
|
|
34109
|
+
"description" : "Pour un site web.",
|
|
34110
|
+
"type" : "string"
|
|
34111
|
+
},
|
|
34112
|
+
"onlyThisSite" : {
|
|
34113
|
+
"type" : "boolean"
|
|
34114
|
+
},
|
|
34115
|
+
"path" : {
|
|
34116
|
+
"description" : "Pour des fichiers livrés avec le modèle.",
|
|
34117
|
+
"type" : "string"
|
|
34118
|
+
},
|
|
34119
|
+
"label" : {
|
|
34120
|
+
"type" : "string"
|
|
34121
|
+
}
|
|
34122
|
+
},
|
|
34123
|
+
"required" : [ "type" ],
|
|
34124
|
+
"type" : "object"
|
|
34125
|
+
},
|
|
34126
|
+
"FleetStep" : {
|
|
34127
|
+
"properties" : {
|
|
34128
|
+
"id" : {
|
|
34129
|
+
"type" : "string"
|
|
34130
|
+
},
|
|
34131
|
+
"title" : {
|
|
34132
|
+
"type" : "string"
|
|
34133
|
+
},
|
|
34134
|
+
"description" : {
|
|
34135
|
+
"type" : "string"
|
|
34136
|
+
},
|
|
34137
|
+
"inputs" : {
|
|
34138
|
+
"items" : {
|
|
34139
|
+
"type" : "string"
|
|
34140
|
+
},
|
|
34141
|
+
"type" : "array"
|
|
34142
|
+
}
|
|
34143
|
+
},
|
|
34144
|
+
"required" : [ "id", "inputs", "title" ],
|
|
34145
|
+
"type" : "object"
|
|
34146
|
+
},
|
|
34147
|
+
"FleetTemplateAgent" : {
|
|
34148
|
+
"properties" : {
|
|
34149
|
+
"dir" : {
|
|
34150
|
+
"type" : "string"
|
|
34151
|
+
},
|
|
34152
|
+
"name" : {
|
|
34153
|
+
"type" : "string"
|
|
34154
|
+
},
|
|
34155
|
+
"description" : {
|
|
34156
|
+
"type" : "string"
|
|
34157
|
+
},
|
|
34158
|
+
"optional" : {
|
|
34159
|
+
"type" : "boolean"
|
|
34160
|
+
}
|
|
34161
|
+
},
|
|
34162
|
+
"required" : [ "description", "dir", "name", "optional" ],
|
|
34163
|
+
"type" : "object"
|
|
34164
|
+
},
|
|
34165
|
+
"FleetInstallation" : {
|
|
34166
|
+
"description" : "L'installation d'un modèle dans une organisation ; rejouer l'assistant la met à jour.",
|
|
34167
|
+
"properties" : {
|
|
34168
|
+
"id" : {
|
|
34169
|
+
"type" : "string"
|
|
34170
|
+
},
|
|
34171
|
+
"organizationId" : {
|
|
34172
|
+
"type" : "string"
|
|
34173
|
+
},
|
|
34174
|
+
"templateSlug" : {
|
|
34175
|
+
"type" : "string"
|
|
34176
|
+
},
|
|
34177
|
+
"templateVersion" : {
|
|
34178
|
+
"type" : "string"
|
|
34179
|
+
},
|
|
34180
|
+
"status" : {
|
|
34181
|
+
"$ref" : "#/components/schemas/FleetInstallationStatus"
|
|
34182
|
+
},
|
|
34183
|
+
"answers" : {
|
|
34184
|
+
"additionalProperties" : true,
|
|
34185
|
+
"description" : "Les réponses, par question ; jamais de secret.",
|
|
34186
|
+
"type" : "object"
|
|
34187
|
+
},
|
|
34188
|
+
"plan" : {
|
|
34189
|
+
"allOf" : [ {
|
|
34190
|
+
"$ref" : "#/components/schemas/FleetPlan"
|
|
34191
|
+
} ],
|
|
34192
|
+
"nullable" : true
|
|
34193
|
+
},
|
|
34194
|
+
"decisions" : {
|
|
34195
|
+
"additionalProperties" : {
|
|
34196
|
+
"$ref" : "#/components/schemas/FleetConflictDecision"
|
|
34197
|
+
},
|
|
34198
|
+
"type" : "object"
|
|
34199
|
+
},
|
|
34200
|
+
"resources" : {
|
|
34201
|
+
"additionalProperties" : {
|
|
34202
|
+
"$ref" : "#/components/schemas/FleetInstalledResource"
|
|
34203
|
+
},
|
|
34204
|
+
"type" : "object"
|
|
34205
|
+
},
|
|
34206
|
+
"steps" : {
|
|
34207
|
+
"items" : {
|
|
34208
|
+
"$ref" : "#/components/schemas/FleetStepLog"
|
|
34209
|
+
},
|
|
34210
|
+
"type" : "array"
|
|
34211
|
+
},
|
|
34212
|
+
"manualSteps" : {
|
|
34213
|
+
"items" : {
|
|
34214
|
+
"$ref" : "#/components/schemas/FleetManualStep"
|
|
34215
|
+
},
|
|
34216
|
+
"type" : "array"
|
|
34217
|
+
},
|
|
34218
|
+
"error" : {
|
|
34219
|
+
"nullable" : true,
|
|
34220
|
+
"type" : "string"
|
|
34221
|
+
},
|
|
34222
|
+
"attempts" : {
|
|
34223
|
+
"type" : "integer"
|
|
34224
|
+
},
|
|
34225
|
+
"claimedAt" : {
|
|
34226
|
+
"format" : "date-time",
|
|
34227
|
+
"nullable" : true,
|
|
34228
|
+
"type" : "string"
|
|
34229
|
+
},
|
|
34230
|
+
"installedBy" : {
|
|
34231
|
+
"description" : "L'administrateur qui a lancé le dernier déploiement.",
|
|
34232
|
+
"type" : "string"
|
|
34233
|
+
},
|
|
34234
|
+
"createdAt" : {
|
|
34235
|
+
"format" : "date-time",
|
|
34236
|
+
"type" : "string"
|
|
34237
|
+
},
|
|
34238
|
+
"updatedAt" : {
|
|
34239
|
+
"format" : "date-time",
|
|
34240
|
+
"type" : "string"
|
|
34241
|
+
},
|
|
34242
|
+
"appliedAt" : {
|
|
34243
|
+
"format" : "date-time",
|
|
34244
|
+
"nullable" : true,
|
|
34245
|
+
"type" : "string"
|
|
34246
|
+
},
|
|
34247
|
+
"hasSecrets" : {
|
|
34248
|
+
"description" : "Des secrets de webhook attendent d'être lus (une seule fois).",
|
|
34249
|
+
"type" : "boolean"
|
|
34250
|
+
}
|
|
34251
|
+
},
|
|
34252
|
+
"required" : [ "answers", "appliedAt", "attempts", "claimedAt", "createdAt", "decisions", "error", "hasSecrets", "id", "installedBy", "manualSteps", "organizationId", "plan", "resources", "status", "steps", "templateSlug", "templateVersion", "updatedAt" ],
|
|
34253
|
+
"type" : "object"
|
|
34254
|
+
},
|
|
34255
|
+
"FleetPlan" : {
|
|
34256
|
+
"description" : "Ce que le déploiement ferait maintenant. Un `conflict` attend une décision (garder ou écraser) ; un `blocking` empêche de lancer.",
|
|
34257
|
+
"properties" : {
|
|
34258
|
+
"id" : {
|
|
34259
|
+
"description" : "À renvoyer au lancement ; un plan périmé est refusé.",
|
|
34260
|
+
"type" : "string"
|
|
34261
|
+
},
|
|
34262
|
+
"computedAt" : {
|
|
34263
|
+
"format" : "date-time",
|
|
34264
|
+
"type" : "string"
|
|
34265
|
+
},
|
|
34266
|
+
"items" : {
|
|
34267
|
+
"items" : {
|
|
34268
|
+
"$ref" : "#/components/schemas/FleetPlanItem"
|
|
34269
|
+
},
|
|
34270
|
+
"type" : "array"
|
|
34271
|
+
},
|
|
34272
|
+
"blocking" : {
|
|
34273
|
+
"items" : {
|
|
34274
|
+
"$ref" : "#/components/schemas/FleetPlanBlocking"
|
|
34275
|
+
},
|
|
34276
|
+
"type" : "array"
|
|
34277
|
+
},
|
|
34278
|
+
"answerErrors" : {
|
|
34279
|
+
"additionalProperties" : {
|
|
34280
|
+
"type" : "string"
|
|
34281
|
+
},
|
|
34282
|
+
"description" : "Les réponses invalides, par question.",
|
|
34283
|
+
"type" : "object"
|
|
34284
|
+
},
|
|
34285
|
+
"counts" : {
|
|
34286
|
+
"additionalProperties" : {
|
|
34287
|
+
"type" : "integer"
|
|
34288
|
+
},
|
|
34289
|
+
"type" : "object"
|
|
34290
|
+
}
|
|
34291
|
+
},
|
|
34292
|
+
"required" : [ "answerErrors", "blocking", "computedAt", "counts", "id", "items" ],
|
|
34293
|
+
"type" : "object"
|
|
34294
|
+
},
|
|
34295
|
+
"FleetPlanItem" : {
|
|
34296
|
+
"properties" : {
|
|
34297
|
+
"key" : {
|
|
34298
|
+
"description" : "Clé du modèle (`agents.accueil`) ou de l'outil réutilisé (`tools.<id>`).",
|
|
34299
|
+
"type" : "string"
|
|
34300
|
+
},
|
|
34301
|
+
"type" : {
|
|
34302
|
+
"$ref" : "#/components/schemas/FleetResourceType"
|
|
34303
|
+
},
|
|
34304
|
+
"label" : {
|
|
34305
|
+
"type" : "string"
|
|
34306
|
+
},
|
|
34307
|
+
"action" : {
|
|
34308
|
+
"$ref" : "#/components/schemas/FleetPlanAction"
|
|
34309
|
+
},
|
|
34310
|
+
"resourceId" : {
|
|
34311
|
+
"type" : "string"
|
|
34312
|
+
},
|
|
34313
|
+
"reason" : {
|
|
34314
|
+
"type" : "string"
|
|
34315
|
+
},
|
|
34316
|
+
"adopted" : {
|
|
34317
|
+
"description" : "Trouvée par son nom sans appartenir à la flotte ; l'écraser la fait reprendre.",
|
|
34318
|
+
"type" : "boolean"
|
|
34319
|
+
}
|
|
34320
|
+
},
|
|
34321
|
+
"required" : [ "action", "key", "label", "type" ],
|
|
34322
|
+
"type" : "object"
|
|
34323
|
+
},
|
|
34324
|
+
"FleetResourceType" : {
|
|
34325
|
+
"enum" : [ "role", "skill", "knowledgeBase", "agent", "project", "automation", "supportPage", "tool" ],
|
|
34326
|
+
"type" : "string"
|
|
34327
|
+
},
|
|
34328
|
+
"FleetPlanAction" : {
|
|
34329
|
+
"enum" : [ "create", "reuse", "update", "unchanged", "skip", "conflict", "orphan" ],
|
|
34330
|
+
"type" : "string"
|
|
34331
|
+
},
|
|
34332
|
+
"FleetPlanBlocking" : {
|
|
34333
|
+
"properties" : {
|
|
34334
|
+
"key" : {
|
|
34335
|
+
"type" : "string"
|
|
34336
|
+
},
|
|
34337
|
+
"message" : {
|
|
34338
|
+
"type" : "string"
|
|
34339
|
+
}
|
|
34340
|
+
},
|
|
34341
|
+
"required" : [ "message" ],
|
|
34342
|
+
"type" : "object"
|
|
34343
|
+
},
|
|
34344
|
+
"FleetConflictDecision" : {
|
|
34345
|
+
"enum" : [ "keep", "overwrite" ],
|
|
34346
|
+
"type" : "string"
|
|
34347
|
+
},
|
|
34348
|
+
"FleetInstalledResource" : {
|
|
34349
|
+
"properties" : {
|
|
34350
|
+
"type" : {
|
|
34351
|
+
"$ref" : "#/components/schemas/FleetResourceType"
|
|
34352
|
+
},
|
|
34353
|
+
"id" : {
|
|
34354
|
+
"type" : "string"
|
|
34355
|
+
},
|
|
34356
|
+
"desiredHash" : {
|
|
34357
|
+
"type" : "string"
|
|
34358
|
+
},
|
|
34359
|
+
"observedHash" : {
|
|
34360
|
+
"type" : "string"
|
|
34361
|
+
},
|
|
34362
|
+
"meta" : {
|
|
34363
|
+
"additionalProperties" : true,
|
|
34364
|
+
"type" : "object"
|
|
34365
|
+
}
|
|
34366
|
+
},
|
|
34367
|
+
"required" : [ "desiredHash", "id", "observedHash", "type" ],
|
|
34368
|
+
"type" : "object"
|
|
34369
|
+
},
|
|
34370
|
+
"FleetStepLog" : {
|
|
34371
|
+
"properties" : {
|
|
34372
|
+
"key" : {
|
|
34373
|
+
"type" : "string"
|
|
34374
|
+
},
|
|
34375
|
+
"label" : {
|
|
34376
|
+
"type" : "string"
|
|
34377
|
+
},
|
|
34378
|
+
"status" : {
|
|
34379
|
+
"enum" : [ "done", "skipped", "error" ],
|
|
34380
|
+
"type" : "string"
|
|
34381
|
+
},
|
|
34382
|
+
"message" : {
|
|
34383
|
+
"type" : "string"
|
|
34384
|
+
},
|
|
34385
|
+
"at" : {
|
|
34386
|
+
"format" : "date-time",
|
|
34387
|
+
"type" : "string"
|
|
34388
|
+
}
|
|
34389
|
+
},
|
|
34390
|
+
"required" : [ "at", "key", "label", "status" ],
|
|
34391
|
+
"type" : "object"
|
|
34392
|
+
},
|
|
34393
|
+
"FleetManualStep" : {
|
|
34394
|
+
"properties" : {
|
|
34395
|
+
"key" : {
|
|
34396
|
+
"type" : "string"
|
|
34397
|
+
},
|
|
34398
|
+
"text" : {
|
|
34399
|
+
"type" : "string"
|
|
34400
|
+
},
|
|
34401
|
+
"done" : {
|
|
34402
|
+
"type" : "boolean"
|
|
34403
|
+
}
|
|
34404
|
+
},
|
|
34405
|
+
"required" : [ "done", "key", "text" ],
|
|
34406
|
+
"type" : "object"
|
|
34407
|
+
},
|
|
34408
|
+
"FleetInstallationStart" : {
|
|
34409
|
+
"properties" : {
|
|
34410
|
+
"templateSlug" : {
|
|
34411
|
+
"type" : "string"
|
|
34412
|
+
}
|
|
34413
|
+
},
|
|
34414
|
+
"required" : [ "templateSlug" ],
|
|
34415
|
+
"type" : "object"
|
|
34416
|
+
},
|
|
34417
|
+
"FleetAnswersUpdate" : {
|
|
34418
|
+
"properties" : {
|
|
34419
|
+
"answers" : {
|
|
34420
|
+
"additionalProperties" : true,
|
|
34421
|
+
"description" : "Les réponses d'un écran ; elles remplacent celles des mêmes questions.",
|
|
34422
|
+
"type" : "object"
|
|
34423
|
+
}
|
|
34424
|
+
},
|
|
34425
|
+
"required" : [ "answers" ],
|
|
34426
|
+
"type" : "object"
|
|
34427
|
+
},
|
|
34428
|
+
"FleetAnswersUpdateResult" : {
|
|
34429
|
+
"properties" : {
|
|
34430
|
+
"installation" : {
|
|
34431
|
+
"$ref" : "#/components/schemas/FleetInstallation"
|
|
34432
|
+
},
|
|
34433
|
+
"errors" : {
|
|
34434
|
+
"additionalProperties" : {
|
|
34435
|
+
"type" : "string"
|
|
34436
|
+
},
|
|
34437
|
+
"description" : "Les réponses invalides ou manquantes, par question.",
|
|
34438
|
+
"type" : "object"
|
|
34439
|
+
}
|
|
34440
|
+
},
|
|
34441
|
+
"required" : [ "errors", "installation" ],
|
|
34442
|
+
"type" : "object"
|
|
34443
|
+
},
|
|
34444
|
+
"FleetApply" : {
|
|
34445
|
+
"properties" : {
|
|
34446
|
+
"planId" : {
|
|
34447
|
+
"type" : "string"
|
|
34448
|
+
},
|
|
34449
|
+
"decisions" : {
|
|
34450
|
+
"additionalProperties" : {
|
|
34451
|
+
"$ref" : "#/components/schemas/FleetConflictDecision"
|
|
34452
|
+
},
|
|
34453
|
+
"description" : "Une décision par conflit du plan.",
|
|
34454
|
+
"type" : "object"
|
|
34455
|
+
}
|
|
34456
|
+
},
|
|
34457
|
+
"required" : [ "planId" ],
|
|
34458
|
+
"type" : "object"
|
|
34459
|
+
},
|
|
34460
|
+
"FleetSecrets" : {
|
|
34461
|
+
"properties" : {
|
|
34462
|
+
"secrets" : {
|
|
34463
|
+
"items" : {
|
|
34464
|
+
"$ref" : "#/components/schemas/FleetWebhookSecret"
|
|
34465
|
+
},
|
|
34466
|
+
"type" : "array"
|
|
34467
|
+
}
|
|
34468
|
+
},
|
|
34469
|
+
"required" : [ "secrets" ],
|
|
34470
|
+
"type" : "object"
|
|
34471
|
+
},
|
|
34472
|
+
"FleetWebhookSecret" : {
|
|
34473
|
+
"properties" : {
|
|
34474
|
+
"automation" : {
|
|
34475
|
+
"type" : "string"
|
|
34476
|
+
},
|
|
34477
|
+
"name" : {
|
|
34478
|
+
"type" : "string"
|
|
34479
|
+
},
|
|
34480
|
+
"url" : {
|
|
34481
|
+
"type" : "string"
|
|
34482
|
+
},
|
|
34483
|
+
"secret" : {
|
|
34484
|
+
"type" : "string"
|
|
34485
|
+
}
|
|
34486
|
+
},
|
|
34487
|
+
"required" : [ "automation", "name", "secret", "url" ],
|
|
34488
|
+
"type" : "object"
|
|
34489
|
+
},
|
|
34490
|
+
"FleetManualStepUpdate" : {
|
|
34491
|
+
"properties" : {
|
|
34492
|
+
"done" : {
|
|
34493
|
+
"type" : "boolean"
|
|
34494
|
+
}
|
|
34495
|
+
},
|
|
34496
|
+
"required" : [ "done" ],
|
|
34497
|
+
"type" : "object"
|
|
34498
|
+
},
|
|
33438
34499
|
"OAuthClient" : {
|
|
33439
34500
|
"description" : "Une application tierce autorisée à connecter les utilisateurs de l'organisation.",
|
|
33440
34501
|
"properties" : {
|