@breign/client 1.0.179 → 1.0.181
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/ScheduledTasksApi.d.ts +39 -1
- package/dist/apis/ScheduledTasksApi.js +94 -0
- package/dist/apis/SupportApi.d.ts +59 -0
- package/dist/apis/SupportApi.js +154 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AutomationDayCountUio.d.ts +44 -0
- package/dist/models/AutomationDayCountUio.js +58 -0
- package/dist/models/AutomationLastRunUio.d.ts +51 -0
- package/dist/models/AutomationLastRunUio.js +63 -0
- package/dist/models/AutomationListUio.d.ts +46 -0
- package/dist/models/AutomationListUio.js +60 -0
- package/dist/models/AutomationRunDeliveryUio.d.ts +60 -0
- package/dist/models/AutomationRunDeliveryUio.js +72 -0
- package/dist/models/AutomationRunListUio.d.ts +39 -0
- package/dist/models/AutomationRunListUio.js +55 -0
- package/dist/models/AutomationRunOutcomeUio.d.ts +26 -0
- package/dist/models/AutomationRunOutcomeUio.js +52 -0
- package/dist/models/AutomationRunSourceUio.d.ts +108 -0
- package/dist/models/AutomationRunSourceUio.js +82 -0
- package/dist/models/AutomationRunUio.d.ts +126 -0
- package/dist/models/AutomationRunUio.js +114 -0
- package/dist/models/AutomationStatsUio.d.ts +62 -0
- package/dist/models/AutomationStatsUio.js +70 -0
- package/dist/models/AutomationSummaryUio.d.ts +137 -0
- package/dist/models/AutomationSummaryUio.js +126 -0
- package/dist/models/AutomationTriggerKindUio.d.ts +26 -0
- package/dist/models/AutomationTriggerKindUio.js +52 -0
- package/dist/models/SupportRequestAcceptedUio.d.ts +38 -0
- package/dist/models/SupportRequestAcceptedUio.js +54 -0
- package/dist/models/SupportRequestAttachmentUio.d.ts +44 -0
- package/dist/models/SupportRequestAttachmentUio.js +58 -0
- package/dist/models/SupportRequestCreateUio.d.ts +85 -0
- package/dist/models/SupportRequestCreateUio.js +90 -0
- package/dist/models/SupportSettingsUio.d.ts +44 -0
- package/dist/models/SupportSettingsUio.js +58 -0
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.js +15 -0
- package/dist/openapi.json +754 -36
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -99,6 +99,9 @@
|
|
|
99
99
|
}, {
|
|
100
100
|
"description" : "Actions and mentions waiting for the current user",
|
|
101
101
|
"name" : "inbox"
|
|
102
|
+
}, {
|
|
103
|
+
"description" : "Support page of an organization, its settings and the requests sent from it",
|
|
104
|
+
"name" : "support"
|
|
102
105
|
} ],
|
|
103
106
|
"paths" : {
|
|
104
107
|
"/health" : {
|
|
@@ -19182,6 +19185,141 @@
|
|
|
19182
19185
|
"tags" : [ "execution-nodes" ]
|
|
19183
19186
|
}
|
|
19184
19187
|
},
|
|
19188
|
+
"/organizations/{organizationId}/support-settings" : {
|
|
19189
|
+
"get" : {
|
|
19190
|
+
"description" : "Lisibles par les membres de l'organisation, pour afficher la page Support.",
|
|
19191
|
+
"operationId" : "getOrganizationSupportSettings",
|
|
19192
|
+
"parameters" : [ {
|
|
19193
|
+
"description" : "ID of the organization",
|
|
19194
|
+
"in" : "path",
|
|
19195
|
+
"name" : "organizationId",
|
|
19196
|
+
"required" : true,
|
|
19197
|
+
"schema" : {
|
|
19198
|
+
"type" : "string"
|
|
19199
|
+
}
|
|
19200
|
+
} ],
|
|
19201
|
+
"responses" : {
|
|
19202
|
+
"200" : {
|
|
19203
|
+
"content" : {
|
|
19204
|
+
"application/json" : {
|
|
19205
|
+
"schema" : {
|
|
19206
|
+
"$ref" : "#/components/schemas/SupportSettings"
|
|
19207
|
+
}
|
|
19208
|
+
}
|
|
19209
|
+
},
|
|
19210
|
+
"description" : "OK"
|
|
19211
|
+
},
|
|
19212
|
+
"401" : {
|
|
19213
|
+
"description" : "Unauthenticated"
|
|
19214
|
+
},
|
|
19215
|
+
"403" : {
|
|
19216
|
+
"description" : "Not a member of the organization"
|
|
19217
|
+
}
|
|
19218
|
+
},
|
|
19219
|
+
"summary" : "Get the support page settings of an organization",
|
|
19220
|
+
"tags" : [ "support" ]
|
|
19221
|
+
},
|
|
19222
|
+
"put" : {
|
|
19223
|
+
"description" : "Réservé aux superadmins.",
|
|
19224
|
+
"operationId" : "updateOrganizationSupportSettings",
|
|
19225
|
+
"parameters" : [ {
|
|
19226
|
+
"description" : "ID of the organization",
|
|
19227
|
+
"in" : "path",
|
|
19228
|
+
"name" : "organizationId",
|
|
19229
|
+
"required" : true,
|
|
19230
|
+
"schema" : {
|
|
19231
|
+
"type" : "string"
|
|
19232
|
+
}
|
|
19233
|
+
} ],
|
|
19234
|
+
"requestBody" : {
|
|
19235
|
+
"content" : {
|
|
19236
|
+
"application/json" : {
|
|
19237
|
+
"schema" : {
|
|
19238
|
+
"$ref" : "#/components/schemas/SupportSettings"
|
|
19239
|
+
}
|
|
19240
|
+
}
|
|
19241
|
+
},
|
|
19242
|
+
"required" : true
|
|
19243
|
+
},
|
|
19244
|
+
"responses" : {
|
|
19245
|
+
"200" : {
|
|
19246
|
+
"content" : {
|
|
19247
|
+
"application/json" : {
|
|
19248
|
+
"schema" : {
|
|
19249
|
+
"$ref" : "#/components/schemas/SupportSettings"
|
|
19250
|
+
}
|
|
19251
|
+
}
|
|
19252
|
+
},
|
|
19253
|
+
"description" : "OK"
|
|
19254
|
+
},
|
|
19255
|
+
"400" : {
|
|
19256
|
+
"description" : "Unknown agent or automation"
|
|
19257
|
+
},
|
|
19258
|
+
"401" : {
|
|
19259
|
+
"description" : "Unauthenticated"
|
|
19260
|
+
},
|
|
19261
|
+
"403" : {
|
|
19262
|
+
"description" : "Not a superadmin"
|
|
19263
|
+
}
|
|
19264
|
+
},
|
|
19265
|
+
"summary" : "Update the support page settings of an organization",
|
|
19266
|
+
"tags" : [ "support" ]
|
|
19267
|
+
}
|
|
19268
|
+
},
|
|
19269
|
+
"/organizations/{organizationId}/support-requests" : {
|
|
19270
|
+
"post" : {
|
|
19271
|
+
"description" : "Au nom de l'utilisateur connecté, membre de l'organisation : la demande, avec son identité et son organisation, est mise en file sur l'automatisation du formulaire, comme un appel de son webhook.",
|
|
19272
|
+
"operationId" : "createOrganizationSupportRequest",
|
|
19273
|
+
"parameters" : [ {
|
|
19274
|
+
"description" : "ID of the organization",
|
|
19275
|
+
"in" : "path",
|
|
19276
|
+
"name" : "organizationId",
|
|
19277
|
+
"required" : true,
|
|
19278
|
+
"schema" : {
|
|
19279
|
+
"type" : "string"
|
|
19280
|
+
}
|
|
19281
|
+
} ],
|
|
19282
|
+
"requestBody" : {
|
|
19283
|
+
"content" : {
|
|
19284
|
+
"application/json" : {
|
|
19285
|
+
"schema" : {
|
|
19286
|
+
"$ref" : "#/components/schemas/SupportRequestCreate"
|
|
19287
|
+
}
|
|
19288
|
+
}
|
|
19289
|
+
},
|
|
19290
|
+
"required" : true
|
|
19291
|
+
},
|
|
19292
|
+
"responses" : {
|
|
19293
|
+
"202" : {
|
|
19294
|
+
"content" : {
|
|
19295
|
+
"application/json" : {
|
|
19296
|
+
"schema" : {
|
|
19297
|
+
"$ref" : "#/components/schemas/SupportRequestAccepted"
|
|
19298
|
+
}
|
|
19299
|
+
}
|
|
19300
|
+
},
|
|
19301
|
+
"description" : "Accepted"
|
|
19302
|
+
},
|
|
19303
|
+
"400" : {
|
|
19304
|
+
"description" : "Invalid request or attachments too large"
|
|
19305
|
+
},
|
|
19306
|
+
"401" : {
|
|
19307
|
+
"description" : "Unauthenticated"
|
|
19308
|
+
},
|
|
19309
|
+
"403" : {
|
|
19310
|
+
"description" : "Not a member of the organization"
|
|
19311
|
+
},
|
|
19312
|
+
"404" : {
|
|
19313
|
+
"description" : "Support form not enabled for this organization"
|
|
19314
|
+
},
|
|
19315
|
+
"429" : {
|
|
19316
|
+
"description" : "Too many requests"
|
|
19317
|
+
}
|
|
19318
|
+
},
|
|
19319
|
+
"summary" : "Send a support request from the support page form",
|
|
19320
|
+
"tags" : [ "support" ]
|
|
19321
|
+
}
|
|
19322
|
+
},
|
|
19185
19323
|
"/execution-nodes/{nodeId}/sessions/{sessionId}" : {
|
|
19186
19324
|
"get" : {
|
|
19187
19325
|
"operationId" : "getExecutionNodeSession",
|
|
@@ -19699,9 +19837,10 @@
|
|
|
19699
19837
|
"tags" : [ "tickets" ]
|
|
19700
19838
|
}
|
|
19701
19839
|
},
|
|
19702
|
-
"/organizations/{organizationId}/
|
|
19840
|
+
"/organizations/{organizationId}/automations" : {
|
|
19703
19841
|
"get" : {
|
|
19704
|
-
"
|
|
19842
|
+
"description" : "Every member of the organization can read them, as they can read its agents.",
|
|
19843
|
+
"operationId" : "listOrganizationAutomations",
|
|
19705
19844
|
"parameters" : [ {
|
|
19706
19845
|
"description" : "ID of the organization",
|
|
19707
19846
|
"in" : "path",
|
|
@@ -19710,31 +19849,87 @@
|
|
|
19710
19849
|
"schema" : {
|
|
19711
19850
|
"type" : "string"
|
|
19712
19851
|
}
|
|
19852
|
+
}, {
|
|
19853
|
+
"in" : "query",
|
|
19854
|
+
"name" : "agentId",
|
|
19855
|
+
"required" : false,
|
|
19856
|
+
"schema" : {
|
|
19857
|
+
"type" : "string"
|
|
19858
|
+
}
|
|
19859
|
+
}, {
|
|
19860
|
+
"in" : "query",
|
|
19861
|
+
"name" : "trigger",
|
|
19862
|
+
"required" : false,
|
|
19863
|
+
"schema" : {
|
|
19864
|
+
"$ref" : "#/components/schemas/AutomationTriggerKind"
|
|
19865
|
+
}
|
|
19866
|
+
}, {
|
|
19867
|
+
"description" : "Comma-separated statuses among active, paused, done (default active,paused).",
|
|
19868
|
+
"in" : "query",
|
|
19869
|
+
"name" : "status",
|
|
19870
|
+
"required" : false,
|
|
19871
|
+
"schema" : {
|
|
19872
|
+
"type" : "string"
|
|
19873
|
+
}
|
|
19874
|
+
}, {
|
|
19875
|
+
"in" : "query",
|
|
19876
|
+
"name" : "q",
|
|
19877
|
+
"required" : false,
|
|
19878
|
+
"schema" : {
|
|
19879
|
+
"type" : "string"
|
|
19880
|
+
}
|
|
19881
|
+
}, {
|
|
19882
|
+
"in" : "query",
|
|
19883
|
+
"name" : "limit",
|
|
19884
|
+
"required" : false,
|
|
19885
|
+
"schema" : {
|
|
19886
|
+
"default" : 50,
|
|
19887
|
+
"maximum" : 100,
|
|
19888
|
+
"minimum" : 1,
|
|
19889
|
+
"type" : "integer"
|
|
19890
|
+
}
|
|
19891
|
+
}, {
|
|
19892
|
+
"in" : "query",
|
|
19893
|
+
"name" : "offset",
|
|
19894
|
+
"required" : false,
|
|
19895
|
+
"schema" : {
|
|
19896
|
+
"default" : 0,
|
|
19897
|
+
"minimum" : 0,
|
|
19898
|
+
"type" : "integer"
|
|
19899
|
+
}
|
|
19713
19900
|
} ],
|
|
19714
19901
|
"responses" : {
|
|
19715
19902
|
"200" : {
|
|
19716
19903
|
"content" : {
|
|
19717
19904
|
"application/json" : {
|
|
19718
19905
|
"schema" : {
|
|
19719
|
-
"
|
|
19720
|
-
"$ref" : "#/components/schemas/GitlabIntegration"
|
|
19721
|
-
},
|
|
19722
|
-
"type" : "array"
|
|
19906
|
+
"$ref" : "#/components/schemas/AutomationList"
|
|
19723
19907
|
}
|
|
19724
19908
|
}
|
|
19725
19909
|
},
|
|
19726
|
-
"description" : "The
|
|
19910
|
+
"description" : "The automations, newest first, with their key figures"
|
|
19911
|
+
},
|
|
19912
|
+
"400" : {
|
|
19913
|
+
"description" : "Invalid query"
|
|
19914
|
+
},
|
|
19915
|
+
"401" : {
|
|
19916
|
+
"description" : "Unauthorized"
|
|
19727
19917
|
},
|
|
19728
19918
|
"403" : {
|
|
19729
|
-
"description" : "Not
|
|
19919
|
+
"description" : "Not a member of the organization"
|
|
19920
|
+
},
|
|
19921
|
+
"404" : {
|
|
19922
|
+
"description" : "Agent not in the organization"
|
|
19730
19923
|
}
|
|
19731
19924
|
},
|
|
19732
|
-
"summary" : "
|
|
19733
|
-
"tags" : [ "
|
|
19734
|
-
}
|
|
19735
|
-
|
|
19736
|
-
|
|
19737
|
-
|
|
19925
|
+
"summary" : "The automations of the organization, or of one of its agents",
|
|
19926
|
+
"tags" : [ "scheduledTasks" ]
|
|
19927
|
+
}
|
|
19928
|
+
},
|
|
19929
|
+
"/organizations/{organizationId}/automation-runs" : {
|
|
19930
|
+
"get" : {
|
|
19931
|
+
"description" : "Most recent first. Every member of the organization can read them.",
|
|
19932
|
+
"operationId" : "listOrganizationAutomationRuns",
|
|
19738
19933
|
"parameters" : [ {
|
|
19739
19934
|
"description" : "ID of the organization",
|
|
19740
19935
|
"in" : "path",
|
|
@@ -19743,45 +19938,164 @@
|
|
|
19743
19938
|
"schema" : {
|
|
19744
19939
|
"type" : "string"
|
|
19745
19940
|
}
|
|
19941
|
+
}, {
|
|
19942
|
+
"in" : "query",
|
|
19943
|
+
"name" : "agentId",
|
|
19944
|
+
"required" : false,
|
|
19945
|
+
"schema" : {
|
|
19946
|
+
"type" : "string"
|
|
19947
|
+
}
|
|
19948
|
+
}, {
|
|
19949
|
+
"in" : "query",
|
|
19950
|
+
"name" : "taskId",
|
|
19951
|
+
"required" : false,
|
|
19952
|
+
"schema" : {
|
|
19953
|
+
"type" : "string"
|
|
19954
|
+
}
|
|
19955
|
+
}, {
|
|
19956
|
+
"in" : "query",
|
|
19957
|
+
"name" : "trigger",
|
|
19958
|
+
"required" : false,
|
|
19959
|
+
"schema" : {
|
|
19960
|
+
"$ref" : "#/components/schemas/AutomationTriggerKind"
|
|
19961
|
+
}
|
|
19962
|
+
}, {
|
|
19963
|
+
"in" : "query",
|
|
19964
|
+
"name" : "status",
|
|
19965
|
+
"required" : false,
|
|
19966
|
+
"schema" : {
|
|
19967
|
+
"$ref" : "#/components/schemas/AutomationRunOutcome"
|
|
19968
|
+
}
|
|
19969
|
+
}, {
|
|
19970
|
+
"in" : "query",
|
|
19971
|
+
"name" : "before",
|
|
19972
|
+
"required" : false,
|
|
19973
|
+
"schema" : {
|
|
19974
|
+
"format" : "date-time",
|
|
19975
|
+
"type" : "string"
|
|
19976
|
+
}
|
|
19977
|
+
}, {
|
|
19978
|
+
"in" : "query",
|
|
19979
|
+
"name" : "limit",
|
|
19980
|
+
"required" : false,
|
|
19981
|
+
"schema" : {
|
|
19982
|
+
"default" : 30,
|
|
19983
|
+
"maximum" : 100,
|
|
19984
|
+
"minimum" : 1,
|
|
19985
|
+
"type" : "integer"
|
|
19986
|
+
}
|
|
19746
19987
|
} ],
|
|
19747
|
-
"requestBody" : {
|
|
19748
|
-
"content" : {
|
|
19749
|
-
"application/json" : {
|
|
19750
|
-
"schema" : {
|
|
19751
|
-
"$ref" : "#/components/schemas/GitlabIntegrationCreate"
|
|
19752
|
-
}
|
|
19753
|
-
}
|
|
19754
|
-
},
|
|
19755
|
-
"required" : true
|
|
19756
|
-
},
|
|
19757
19988
|
"responses" : {
|
|
19758
|
-
"
|
|
19989
|
+
"200" : {
|
|
19759
19990
|
"content" : {
|
|
19760
19991
|
"application/json" : {
|
|
19761
19992
|
"schema" : {
|
|
19762
|
-
"$ref" : "#/components/schemas/
|
|
19993
|
+
"$ref" : "#/components/schemas/AutomationRunList"
|
|
19763
19994
|
}
|
|
19764
19995
|
}
|
|
19765
19996
|
},
|
|
19766
|
-
"description" : "
|
|
19997
|
+
"description" : "The runs, with what triggered them and what became of their result"
|
|
19767
19998
|
},
|
|
19768
19999
|
"400" : {
|
|
19769
|
-
"description" : "Invalid
|
|
20000
|
+
"description" : "Invalid query"
|
|
20001
|
+
},
|
|
20002
|
+
"401" : {
|
|
20003
|
+
"description" : "Unauthorized"
|
|
19770
20004
|
},
|
|
19771
20005
|
"403" : {
|
|
19772
|
-
"description" : "Not
|
|
20006
|
+
"description" : "Not a member of the organization"
|
|
19773
20007
|
},
|
|
19774
|
-
"
|
|
19775
|
-
"description" : "
|
|
20008
|
+
"404" : {
|
|
20009
|
+
"description" : "Agent not in the organization"
|
|
19776
20010
|
}
|
|
19777
20011
|
},
|
|
19778
|
-
"summary" : "
|
|
19779
|
-
"tags" : [ "
|
|
20012
|
+
"summary" : "The runs of the automations of the organization, or of one of its agents",
|
|
20013
|
+
"tags" : [ "scheduledTasks" ]
|
|
19780
20014
|
}
|
|
19781
20015
|
},
|
|
19782
|
-
"/organizations/{organizationId}/integrations/gitlab
|
|
19783
|
-
"
|
|
19784
|
-
"operationId" : "
|
|
20016
|
+
"/organizations/{organizationId}/integrations/gitlab" : {
|
|
20017
|
+
"get" : {
|
|
20018
|
+
"operationId" : "listGitlabIntegrations",
|
|
20019
|
+
"parameters" : [ {
|
|
20020
|
+
"description" : "ID of the organization",
|
|
20021
|
+
"in" : "path",
|
|
20022
|
+
"name" : "organizationId",
|
|
20023
|
+
"required" : true,
|
|
20024
|
+
"schema" : {
|
|
20025
|
+
"type" : "string"
|
|
20026
|
+
}
|
|
20027
|
+
} ],
|
|
20028
|
+
"responses" : {
|
|
20029
|
+
"200" : {
|
|
20030
|
+
"content" : {
|
|
20031
|
+
"application/json" : {
|
|
20032
|
+
"schema" : {
|
|
20033
|
+
"items" : {
|
|
20034
|
+
"$ref" : "#/components/schemas/GitlabIntegration"
|
|
20035
|
+
},
|
|
20036
|
+
"type" : "array"
|
|
20037
|
+
}
|
|
20038
|
+
}
|
|
20039
|
+
},
|
|
20040
|
+
"description" : "The integrations"
|
|
20041
|
+
},
|
|
20042
|
+
"403" : {
|
|
20043
|
+
"description" : "Not an admin of the organization"
|
|
20044
|
+
}
|
|
20045
|
+
},
|
|
20046
|
+
"summary" : "List the GitLab integrations of an organization",
|
|
20047
|
+
"tags" : [ "integrations" ]
|
|
20048
|
+
},
|
|
20049
|
+
"post" : {
|
|
20050
|
+
"description" : "A webhook secret is generated; it is returned with the integration.",
|
|
20051
|
+
"operationId" : "createGitlabIntegration",
|
|
20052
|
+
"parameters" : [ {
|
|
20053
|
+
"description" : "ID of the organization",
|
|
20054
|
+
"in" : "path",
|
|
20055
|
+
"name" : "organizationId",
|
|
20056
|
+
"required" : true,
|
|
20057
|
+
"schema" : {
|
|
20058
|
+
"type" : "string"
|
|
20059
|
+
}
|
|
20060
|
+
} ],
|
|
20061
|
+
"requestBody" : {
|
|
20062
|
+
"content" : {
|
|
20063
|
+
"application/json" : {
|
|
20064
|
+
"schema" : {
|
|
20065
|
+
"$ref" : "#/components/schemas/GitlabIntegrationCreate"
|
|
20066
|
+
}
|
|
20067
|
+
}
|
|
20068
|
+
},
|
|
20069
|
+
"required" : true
|
|
20070
|
+
},
|
|
20071
|
+
"responses" : {
|
|
20072
|
+
"201" : {
|
|
20073
|
+
"content" : {
|
|
20074
|
+
"application/json" : {
|
|
20075
|
+
"schema" : {
|
|
20076
|
+
"$ref" : "#/components/schemas/GitlabIntegrationDetail"
|
|
20077
|
+
}
|
|
20078
|
+
}
|
|
20079
|
+
},
|
|
20080
|
+
"description" : "Integration created"
|
|
20081
|
+
},
|
|
20082
|
+
"400" : {
|
|
20083
|
+
"description" : "Invalid body"
|
|
20084
|
+
},
|
|
20085
|
+
"403" : {
|
|
20086
|
+
"description" : "Not an admin of the organization"
|
|
20087
|
+
},
|
|
20088
|
+
"422" : {
|
|
20089
|
+
"description" : "Invalid base URL, or GITLAB_HOST_NOT_ALLOWED (private or reserved network)"
|
|
20090
|
+
}
|
|
20091
|
+
},
|
|
20092
|
+
"summary" : "Link a GitLab instance to the organization",
|
|
20093
|
+
"tags" : [ "integrations" ]
|
|
20094
|
+
}
|
|
20095
|
+
},
|
|
20096
|
+
"/organizations/{organizationId}/integrations/gitlab/{integrationId}" : {
|
|
20097
|
+
"delete" : {
|
|
20098
|
+
"operationId" : "deleteGitlabIntegration",
|
|
19785
20099
|
"parameters" : [ {
|
|
19786
20100
|
"description" : "ID of the organization",
|
|
19787
20101
|
"in" : "path",
|
|
@@ -32003,6 +32317,93 @@
|
|
|
32003
32317
|
"enum" : [ "members", "admins", "none" ],
|
|
32004
32318
|
"type" : "string"
|
|
32005
32319
|
},
|
|
32320
|
+
"SupportSettings" : {
|
|
32321
|
+
"description" : "La page Support d'une organisation. Réglée par les superadmins ; lue par les membres pour afficher la page.",
|
|
32322
|
+
"properties" : {
|
|
32323
|
+
"enabled" : {
|
|
32324
|
+
"description" : "La page et son lien dans la barre latérale ne s'affichent que si elle est activée.",
|
|
32325
|
+
"type" : "boolean"
|
|
32326
|
+
},
|
|
32327
|
+
"chatAgentId" : {
|
|
32328
|
+
"description" : "Agent d'accueil de l'onglet Chat, de l'organisation. Null, pas d'onglet Chat.",
|
|
32329
|
+
"nullable" : true,
|
|
32330
|
+
"type" : "string"
|
|
32331
|
+
},
|
|
32332
|
+
"formAutomationId" : {
|
|
32333
|
+
"description" : "Automatisation déclenchée par webhook, de l'organisation, qui reçoit les demandes du formulaire. Null, pas d'onglet Formulaire.",
|
|
32334
|
+
"nullable" : true,
|
|
32335
|
+
"type" : "string"
|
|
32336
|
+
}
|
|
32337
|
+
},
|
|
32338
|
+
"required" : [ "chatAgentId", "enabled", "formAutomationId" ],
|
|
32339
|
+
"type" : "object"
|
|
32340
|
+
},
|
|
32341
|
+
"SupportRequestCreate" : {
|
|
32342
|
+
"description" : "Une demande de support ; le demandeur et son organisation sont ajoutés par l'API.",
|
|
32343
|
+
"properties" : {
|
|
32344
|
+
"requestId" : {
|
|
32345
|
+
"description" : "Tirée par le formulaire. Un second envoi avec la même clé ne crée rien de plus.",
|
|
32346
|
+
"format" : "uuid",
|
|
32347
|
+
"type" : "string"
|
|
32348
|
+
},
|
|
32349
|
+
"category" : {
|
|
32350
|
+
"enum" : [ "question", "bug", "account", "billing", "feature", "other" ],
|
|
32351
|
+
"type" : "string"
|
|
32352
|
+
},
|
|
32353
|
+
"subject" : {
|
|
32354
|
+
"maxLength" : 150,
|
|
32355
|
+
"type" : "string"
|
|
32356
|
+
},
|
|
32357
|
+
"description" : {
|
|
32358
|
+
"maxLength" : 5000,
|
|
32359
|
+
"type" : "string"
|
|
32360
|
+
},
|
|
32361
|
+
"urgency" : {
|
|
32362
|
+
"enum" : [ "low", "normal", "high", "critical" ],
|
|
32363
|
+
"type" : "string"
|
|
32364
|
+
},
|
|
32365
|
+
"attachments" : {
|
|
32366
|
+
"items" : {
|
|
32367
|
+
"$ref" : "#/components/schemas/SupportRequestAttachment"
|
|
32368
|
+
},
|
|
32369
|
+
"maxItems" : 3,
|
|
32370
|
+
"type" : "array"
|
|
32371
|
+
}
|
|
32372
|
+
},
|
|
32373
|
+
"required" : [ "category", "description", "requestId", "subject", "urgency" ],
|
|
32374
|
+
"type" : "object"
|
|
32375
|
+
},
|
|
32376
|
+
"SupportRequestAttachment" : {
|
|
32377
|
+
"properties" : {
|
|
32378
|
+
"name" : {
|
|
32379
|
+
"maxLength" : 255,
|
|
32380
|
+
"type" : "string"
|
|
32381
|
+
},
|
|
32382
|
+
"contentType" : {
|
|
32383
|
+
"maxLength" : 255,
|
|
32384
|
+
"type" : "string"
|
|
32385
|
+
},
|
|
32386
|
+
"contentBase64" : {
|
|
32387
|
+
"type" : "string"
|
|
32388
|
+
}
|
|
32389
|
+
},
|
|
32390
|
+
"required" : [ "contentBase64", "contentType", "name" ],
|
|
32391
|
+
"type" : "object"
|
|
32392
|
+
},
|
|
32393
|
+
"SupportRequestAccepted" : {
|
|
32394
|
+
"properties" : {
|
|
32395
|
+
"eventId" : {
|
|
32396
|
+
"description" : "L'événement mis en file sur l'automatisation, référence de la demande.",
|
|
32397
|
+
"nullable" : true,
|
|
32398
|
+
"type" : "string"
|
|
32399
|
+
},
|
|
32400
|
+
"duplicate" : {
|
|
32401
|
+
"type" : "boolean"
|
|
32402
|
+
}
|
|
32403
|
+
},
|
|
32404
|
+
"required" : [ "duplicate", "eventId" ],
|
|
32405
|
+
"type" : "object"
|
|
32406
|
+
},
|
|
32006
32407
|
"NodeSessionDetail" : {
|
|
32007
32408
|
"allOf" : [ {
|
|
32008
32409
|
"$ref" : "#/components/schemas/NodeSession"
|
|
@@ -32262,6 +32663,323 @@
|
|
|
32262
32663
|
"required" : [ "assignees", "description", "priority", "reviewer", "startMode", "title", "workspacePaths" ],
|
|
32263
32664
|
"type" : "object"
|
|
32264
32665
|
},
|
|
32666
|
+
"AutomationTriggerKind" : {
|
|
32667
|
+
"description" : "What starts the automation, as shown in lists — its schedule, a GitLab mention, or its webhook.",
|
|
32668
|
+
"enum" : [ "schedule", "gitlab", "webhook" ],
|
|
32669
|
+
"type" : "string"
|
|
32670
|
+
},
|
|
32671
|
+
"AutomationList" : {
|
|
32672
|
+
"properties" : {
|
|
32673
|
+
"items" : {
|
|
32674
|
+
"items" : {
|
|
32675
|
+
"$ref" : "#/components/schemas/AutomationSummary"
|
|
32676
|
+
},
|
|
32677
|
+
"type" : "array"
|
|
32678
|
+
},
|
|
32679
|
+
"total" : {
|
|
32680
|
+
"type" : "integer"
|
|
32681
|
+
},
|
|
32682
|
+
"stats" : {
|
|
32683
|
+
"$ref" : "#/components/schemas/AutomationStats"
|
|
32684
|
+
}
|
|
32685
|
+
},
|
|
32686
|
+
"required" : [ "items", "stats", "total" ],
|
|
32687
|
+
"type" : "object"
|
|
32688
|
+
},
|
|
32689
|
+
"AutomationSummary" : {
|
|
32690
|
+
"properties" : {
|
|
32691
|
+
"id" : {
|
|
32692
|
+
"type" : "string"
|
|
32693
|
+
},
|
|
32694
|
+
"name" : {
|
|
32695
|
+
"nullable" : true,
|
|
32696
|
+
"type" : "string"
|
|
32697
|
+
},
|
|
32698
|
+
"message" : {
|
|
32699
|
+
"type" : "string"
|
|
32700
|
+
},
|
|
32701
|
+
"agentId" : {
|
|
32702
|
+
"type" : "string"
|
|
32703
|
+
},
|
|
32704
|
+
"agentName" : {
|
|
32705
|
+
"nullable" : true,
|
|
32706
|
+
"type" : "string"
|
|
32707
|
+
},
|
|
32708
|
+
"mode" : {
|
|
32709
|
+
"enum" : [ "once", "recurring" ],
|
|
32710
|
+
"type" : "string"
|
|
32711
|
+
},
|
|
32712
|
+
"status" : {
|
|
32713
|
+
"enum" : [ "active", "paused", "done" ],
|
|
32714
|
+
"type" : "string"
|
|
32715
|
+
},
|
|
32716
|
+
"trigger" : {
|
|
32717
|
+
"$ref" : "#/components/schemas/AutomationTriggerKind"
|
|
32718
|
+
},
|
|
32719
|
+
"schedule" : {
|
|
32720
|
+
"allOf" : [ {
|
|
32721
|
+
"$ref" : "#/components/schemas/TaskSchedule"
|
|
32722
|
+
} ],
|
|
32723
|
+
"nullable" : true
|
|
32724
|
+
},
|
|
32725
|
+
"timezone" : {
|
|
32726
|
+
"type" : "string"
|
|
32727
|
+
},
|
|
32728
|
+
"nextRunAt" : {
|
|
32729
|
+
"format" : "date-time",
|
|
32730
|
+
"nullable" : true,
|
|
32731
|
+
"type" : "string"
|
|
32732
|
+
},
|
|
32733
|
+
"callbackUrl" : {
|
|
32734
|
+
"nullable" : true,
|
|
32735
|
+
"type" : "string"
|
|
32736
|
+
},
|
|
32737
|
+
"lastRun" : {
|
|
32738
|
+
"allOf" : [ {
|
|
32739
|
+
"$ref" : "#/components/schemas/AutomationLastRun"
|
|
32740
|
+
} ],
|
|
32741
|
+
"nullable" : true
|
|
32742
|
+
},
|
|
32743
|
+
"days" : {
|
|
32744
|
+
"description" : "The last 7 UTC days, oldest first.",
|
|
32745
|
+
"items" : {
|
|
32746
|
+
"$ref" : "#/components/schemas/AutomationDayCount"
|
|
32747
|
+
},
|
|
32748
|
+
"type" : "array"
|
|
32749
|
+
},
|
|
32750
|
+
"runs7d" : {
|
|
32751
|
+
"type" : "integer"
|
|
32752
|
+
}
|
|
32753
|
+
},
|
|
32754
|
+
"required" : [ "agentId", "agentName", "callbackUrl", "days", "id", "lastRun", "message", "mode", "name", "nextRunAt", "runs7d", "schedule", "status", "timezone", "trigger" ],
|
|
32755
|
+
"type" : "object"
|
|
32756
|
+
},
|
|
32757
|
+
"AutomationLastRun" : {
|
|
32758
|
+
"properties" : {
|
|
32759
|
+
"id" : {
|
|
32760
|
+
"type" : "string"
|
|
32761
|
+
},
|
|
32762
|
+
"status" : {
|
|
32763
|
+
"$ref" : "#/components/schemas/AutomationRunOutcome"
|
|
32764
|
+
},
|
|
32765
|
+
"triggeredAt" : {
|
|
32766
|
+
"format" : "date-time",
|
|
32767
|
+
"type" : "string"
|
|
32768
|
+
},
|
|
32769
|
+
"finishedAt" : {
|
|
32770
|
+
"format" : "date-time",
|
|
32771
|
+
"nullable" : true,
|
|
32772
|
+
"type" : "string"
|
|
32773
|
+
}
|
|
32774
|
+
},
|
|
32775
|
+
"required" : [ "finishedAt", "id", "status", "triggeredAt" ],
|
|
32776
|
+
"type" : "object"
|
|
32777
|
+
},
|
|
32778
|
+
"AutomationRunOutcome" : {
|
|
32779
|
+
"enum" : [ "success", "error", "running" ],
|
|
32780
|
+
"type" : "string"
|
|
32781
|
+
},
|
|
32782
|
+
"AutomationDayCount" : {
|
|
32783
|
+
"properties" : {
|
|
32784
|
+
"date" : {
|
|
32785
|
+
"description" : "UTC day, YYYY-MM-DD.",
|
|
32786
|
+
"type" : "string"
|
|
32787
|
+
},
|
|
32788
|
+
"success" : {
|
|
32789
|
+
"type" : "integer"
|
|
32790
|
+
},
|
|
32791
|
+
"error" : {
|
|
32792
|
+
"type" : "integer"
|
|
32793
|
+
}
|
|
32794
|
+
},
|
|
32795
|
+
"required" : [ "date", "error", "success" ],
|
|
32796
|
+
"type" : "object"
|
|
32797
|
+
},
|
|
32798
|
+
"AutomationStats" : {
|
|
32799
|
+
"properties" : {
|
|
32800
|
+
"active" : {
|
|
32801
|
+
"type" : "integer"
|
|
32802
|
+
},
|
|
32803
|
+
"event" : {
|
|
32804
|
+
"description" : "Active automations triggered by a GitLab mention or a webhook.",
|
|
32805
|
+
"type" : "integer"
|
|
32806
|
+
},
|
|
32807
|
+
"runs24h" : {
|
|
32808
|
+
"type" : "integer"
|
|
32809
|
+
},
|
|
32810
|
+
"runs7d" : {
|
|
32811
|
+
"type" : "integer"
|
|
32812
|
+
},
|
|
32813
|
+
"failures7d" : {
|
|
32814
|
+
"type" : "integer"
|
|
32815
|
+
},
|
|
32816
|
+
"pending" : {
|
|
32817
|
+
"description" : "Mentions and webhook calls of the organization not handled yet.",
|
|
32818
|
+
"type" : "integer"
|
|
32819
|
+
}
|
|
32820
|
+
},
|
|
32821
|
+
"required" : [ "active", "event", "failures7d", "pending", "runs24h", "runs7d" ],
|
|
32822
|
+
"type" : "object"
|
|
32823
|
+
},
|
|
32824
|
+
"AutomationRunList" : {
|
|
32825
|
+
"properties" : {
|
|
32826
|
+
"runs" : {
|
|
32827
|
+
"items" : {
|
|
32828
|
+
"$ref" : "#/components/schemas/AutomationRun"
|
|
32829
|
+
},
|
|
32830
|
+
"type" : "array"
|
|
32831
|
+
},
|
|
32832
|
+
"nextBefore" : {
|
|
32833
|
+
"description" : "Pass as `before` to get the next page; null on the last one.",
|
|
32834
|
+
"format" : "date-time",
|
|
32835
|
+
"nullable" : true,
|
|
32836
|
+
"type" : "string"
|
|
32837
|
+
}
|
|
32838
|
+
},
|
|
32839
|
+
"required" : [ "nextBefore", "runs" ],
|
|
32840
|
+
"type" : "object"
|
|
32841
|
+
},
|
|
32842
|
+
"AutomationRun" : {
|
|
32843
|
+
"properties" : {
|
|
32844
|
+
"id" : {
|
|
32845
|
+
"type" : "string"
|
|
32846
|
+
},
|
|
32847
|
+
"taskId" : {
|
|
32848
|
+
"type" : "string"
|
|
32849
|
+
},
|
|
32850
|
+
"taskName" : {
|
|
32851
|
+
"nullable" : true,
|
|
32852
|
+
"type" : "string"
|
|
32853
|
+
},
|
|
32854
|
+
"agentId" : {
|
|
32855
|
+
"type" : "string"
|
|
32856
|
+
},
|
|
32857
|
+
"agentName" : {
|
|
32858
|
+
"nullable" : true,
|
|
32859
|
+
"type" : "string"
|
|
32860
|
+
},
|
|
32861
|
+
"status" : {
|
|
32862
|
+
"$ref" : "#/components/schemas/AutomationRunOutcome"
|
|
32863
|
+
},
|
|
32864
|
+
"triggeredAt" : {
|
|
32865
|
+
"format" : "date-time",
|
|
32866
|
+
"type" : "string"
|
|
32867
|
+
},
|
|
32868
|
+
"startedAt" : {
|
|
32869
|
+
"format" : "date-time",
|
|
32870
|
+
"nullable" : true,
|
|
32871
|
+
"type" : "string"
|
|
32872
|
+
},
|
|
32873
|
+
"finishedAt" : {
|
|
32874
|
+
"format" : "date-time",
|
|
32875
|
+
"nullable" : true,
|
|
32876
|
+
"type" : "string"
|
|
32877
|
+
},
|
|
32878
|
+
"durationMs" : {
|
|
32879
|
+
"nullable" : true,
|
|
32880
|
+
"type" : "integer"
|
|
32881
|
+
},
|
|
32882
|
+
"conversationId" : {
|
|
32883
|
+
"nullable" : true,
|
|
32884
|
+
"type" : "string"
|
|
32885
|
+
},
|
|
32886
|
+
"trigger" : {
|
|
32887
|
+
"$ref" : "#/components/schemas/AutomationTriggerKind"
|
|
32888
|
+
},
|
|
32889
|
+
"source" : {
|
|
32890
|
+
"$ref" : "#/components/schemas/AutomationRunSource"
|
|
32891
|
+
},
|
|
32892
|
+
"delivery" : {
|
|
32893
|
+
"$ref" : "#/components/schemas/AutomationRunDelivery"
|
|
32894
|
+
},
|
|
32895
|
+
"reply" : {
|
|
32896
|
+
"description" : "Start of the agent answer (500 characters at most).",
|
|
32897
|
+
"nullable" : true,
|
|
32898
|
+
"type" : "string"
|
|
32899
|
+
},
|
|
32900
|
+
"error" : {
|
|
32901
|
+
"nullable" : true,
|
|
32902
|
+
"type" : "string"
|
|
32903
|
+
}
|
|
32904
|
+
},
|
|
32905
|
+
"required" : [ "agentId", "agentName", "conversationId", "delivery", "durationMs", "error", "finishedAt", "id", "reply", "source", "startedAt", "status", "taskId", "taskName", "trigger", "triggeredAt" ],
|
|
32906
|
+
"type" : "object"
|
|
32907
|
+
},
|
|
32908
|
+
"AutomationRunSource" : {
|
|
32909
|
+
"description" : "What triggered the run. `schedule`: `schedule`, `timezone`, `mode`. `gitlab`: `author`, `authorUsername`, `ref`, `title`, `url`, `text` (untrusted user content). `webhook`: `thread`, `contentType`.",
|
|
32910
|
+
"properties" : {
|
|
32911
|
+
"kind" : {
|
|
32912
|
+
"$ref" : "#/components/schemas/AutomationTriggerKind"
|
|
32913
|
+
},
|
|
32914
|
+
"schedule" : {
|
|
32915
|
+
"allOf" : [ {
|
|
32916
|
+
"$ref" : "#/components/schemas/TaskSchedule"
|
|
32917
|
+
} ],
|
|
32918
|
+
"nullable" : true
|
|
32919
|
+
},
|
|
32920
|
+
"timezone" : {
|
|
32921
|
+
"type" : "string"
|
|
32922
|
+
},
|
|
32923
|
+
"mode" : {
|
|
32924
|
+
"enum" : [ "once", "recurring" ],
|
|
32925
|
+
"type" : "string"
|
|
32926
|
+
},
|
|
32927
|
+
"author" : {
|
|
32928
|
+
"type" : "string"
|
|
32929
|
+
},
|
|
32930
|
+
"authorUsername" : {
|
|
32931
|
+
"type" : "string"
|
|
32932
|
+
},
|
|
32933
|
+
"ref" : {
|
|
32934
|
+
"type" : "string"
|
|
32935
|
+
},
|
|
32936
|
+
"title" : {
|
|
32937
|
+
"nullable" : true,
|
|
32938
|
+
"type" : "string"
|
|
32939
|
+
},
|
|
32940
|
+
"url" : {
|
|
32941
|
+
"nullable" : true,
|
|
32942
|
+
"type" : "string"
|
|
32943
|
+
},
|
|
32944
|
+
"text" : {
|
|
32945
|
+
"type" : "string"
|
|
32946
|
+
},
|
|
32947
|
+
"thread" : {
|
|
32948
|
+
"nullable" : true,
|
|
32949
|
+
"type" : "string"
|
|
32950
|
+
},
|
|
32951
|
+
"contentType" : {
|
|
32952
|
+
"type" : "string"
|
|
32953
|
+
}
|
|
32954
|
+
},
|
|
32955
|
+
"required" : [ "kind" ],
|
|
32956
|
+
"type" : "object"
|
|
32957
|
+
},
|
|
32958
|
+
"AutomationRunDelivery" : {
|
|
32959
|
+
"description" : "What became of the result — the reply in the GitLab thread, the caller's callback, or nothing.",
|
|
32960
|
+
"properties" : {
|
|
32961
|
+
"kind" : {
|
|
32962
|
+
"enum" : [ "gitlab_reply", "callback", "none" ],
|
|
32963
|
+
"type" : "string"
|
|
32964
|
+
},
|
|
32965
|
+
"eventStatus" : {
|
|
32966
|
+
"allOf" : [ {
|
|
32967
|
+
"$ref" : "#/components/schemas/ExternalEventStatus"
|
|
32968
|
+
} ],
|
|
32969
|
+
"nullable" : true
|
|
32970
|
+
},
|
|
32971
|
+
"url" : {
|
|
32972
|
+
"nullable" : true,
|
|
32973
|
+
"type" : "string"
|
|
32974
|
+
},
|
|
32975
|
+
"error" : {
|
|
32976
|
+
"nullable" : true,
|
|
32977
|
+
"type" : "string"
|
|
32978
|
+
}
|
|
32979
|
+
},
|
|
32980
|
+
"required" : [ "error", "eventStatus", "kind", "url" ],
|
|
32981
|
+
"type" : "object"
|
|
32982
|
+
},
|
|
32265
32983
|
"GitlabIntegration" : {
|
|
32266
32984
|
"description" : "A GitLab instance linked to an organization. Its projects send webhooks to `webhookUrl`.",
|
|
32267
32985
|
"properties" : {
|