@breign/client 1.0.178 → 1.0.180
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 +116 -1
- package/dist/apis/ScheduledTasksApi.js +286 -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/ScheduledTaskCreateUio.d.ts +1 -1
- package/dist/models/ScheduledTaskRunTriggerUio.d.ts +37 -12
- package/dist/models/ScheduledTaskRunTriggerUio.js +21 -34
- package/dist/models/ScheduledTaskUio.d.ts +8 -1
- package/dist/models/ScheduledTaskUio.js +3 -0
- package/dist/models/TaskTriggerUio.d.ts +8 -1
- package/dist/models/TaskTriggerUio.js +4 -1
- package/dist/models/WebhookEndpointUio.d.ts +82 -0
- package/dist/models/WebhookEndpointUio.js +84 -0
- package/dist/models/WebhookEndpointUpdateUio.d.ts +46 -0
- package/dist/models/WebhookEndpointUpdateUio.js +58 -0
- package/dist/models/WebhookEventListUio.d.ts +33 -0
- package/dist/models/WebhookEventListUio.js +51 -0
- package/dist/models/WebhookEventUio.d.ts +87 -0
- package/dist/models/WebhookEventUio.js +87 -0
- package/dist/models/WebhookTestRequestUio.d.ts +38 -0
- package/dist/models/WebhookTestRequestUio.js +50 -0
- package/dist/models/WebhookTestResponseUio.d.ts +32 -0
- package/dist/models/WebhookTestResponseUio.js +50 -0
- package/dist/models/index.d.ts +17 -0
- package/dist/models/index.js +17 -0
- package/dist/openapi.json +1121 -154
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -3067,10 +3067,9 @@
|
|
|
3067
3067
|
"tags" : [ "scheduledTasks" ]
|
|
3068
3068
|
}
|
|
3069
3069
|
},
|
|
3070
|
-
"/agents/{agentId}/
|
|
3070
|
+
"/agents/{agentId}/scheduled-tasks/{taskId}/webhook" : {
|
|
3071
3071
|
"get" : {
|
|
3072
|
-
"
|
|
3073
|
-
"operationId" : "getAppsForAgentId",
|
|
3072
|
+
"operationId" : "getScheduledTaskWebhook",
|
|
3074
3073
|
"parameters" : [ {
|
|
3075
3074
|
"description" : "ID of the agent",
|
|
3076
3075
|
"in" : "path",
|
|
@@ -3080,34 +3079,55 @@
|
|
|
3080
3079
|
"format" : "uuid",
|
|
3081
3080
|
"type" : "string"
|
|
3082
3081
|
}
|
|
3082
|
+
}, {
|
|
3083
|
+
"description" : "ID of the scheduled task",
|
|
3084
|
+
"in" : "path",
|
|
3085
|
+
"name" : "taskId",
|
|
3086
|
+
"required" : true,
|
|
3087
|
+
"schema" : {
|
|
3088
|
+
"type" : "string"
|
|
3089
|
+
}
|
|
3083
3090
|
} ],
|
|
3084
3091
|
"responses" : {
|
|
3085
|
-
"
|
|
3092
|
+
"200" : {
|
|
3086
3093
|
"content" : {
|
|
3087
3094
|
"application/json" : {
|
|
3088
3095
|
"schema" : {
|
|
3089
|
-
"
|
|
3090
|
-
"$ref" : "#/components/schemas/AppLight"
|
|
3091
|
-
},
|
|
3092
|
-
"type" : "array"
|
|
3096
|
+
"$ref" : "#/components/schemas/WebhookEndpoint"
|
|
3093
3097
|
}
|
|
3094
3098
|
}
|
|
3095
3099
|
},
|
|
3096
|
-
"description" : "
|
|
3100
|
+
"description" : "The webhook, without its secret"
|
|
3101
|
+
},
|
|
3102
|
+
"401" : {
|
|
3103
|
+
"description" : "Unauthorized"
|
|
3104
|
+
},
|
|
3105
|
+
"403" : {
|
|
3106
|
+
"description" : "Forbidden"
|
|
3107
|
+
},
|
|
3108
|
+
"404" : {
|
|
3109
|
+
"description" : "Task not found, or not triggered by a webhook"
|
|
3097
3110
|
}
|
|
3098
3111
|
},
|
|
3099
|
-
"summary" : "
|
|
3100
|
-
"tags" : [ "
|
|
3101
|
-
}
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
"post" : {
|
|
3105
|
-
"description" : "Creates a new app",
|
|
3106
|
-
"operationId" : "createApp",
|
|
3112
|
+
"summary" : "The webhook of an automation triggered by a webhook",
|
|
3113
|
+
"tags" : [ "scheduledTasks" ]
|
|
3114
|
+
},
|
|
3115
|
+
"patch" : {
|
|
3116
|
+
"operationId" : "updateScheduledTaskWebhook",
|
|
3107
3117
|
"parameters" : [ {
|
|
3108
|
-
"description" : "
|
|
3109
|
-
"in" : "
|
|
3110
|
-
"name" : "
|
|
3118
|
+
"description" : "ID of the agent",
|
|
3119
|
+
"in" : "path",
|
|
3120
|
+
"name" : "agentId",
|
|
3121
|
+
"required" : true,
|
|
3122
|
+
"schema" : {
|
|
3123
|
+
"format" : "uuid",
|
|
3124
|
+
"type" : "string"
|
|
3125
|
+
}
|
|
3126
|
+
}, {
|
|
3127
|
+
"description" : "ID of the scheduled task",
|
|
3128
|
+
"in" : "path",
|
|
3129
|
+
"name" : "taskId",
|
|
3130
|
+
"required" : true,
|
|
3111
3131
|
"schema" : {
|
|
3112
3132
|
"type" : "string"
|
|
3113
3133
|
}
|
|
@@ -3116,59 +3136,59 @@
|
|
|
3116
3136
|
"content" : {
|
|
3117
3137
|
"application/json" : {
|
|
3118
3138
|
"schema" : {
|
|
3119
|
-
"$ref" : "#/components/schemas/
|
|
3139
|
+
"$ref" : "#/components/schemas/WebhookEndpointUpdate"
|
|
3120
3140
|
}
|
|
3121
3141
|
}
|
|
3122
3142
|
},
|
|
3123
3143
|
"required" : true
|
|
3124
3144
|
},
|
|
3125
3145
|
"responses" : {
|
|
3126
|
-
"
|
|
3146
|
+
"200" : {
|
|
3127
3147
|
"content" : {
|
|
3128
3148
|
"application/json" : {
|
|
3129
3149
|
"schema" : {
|
|
3130
|
-
"$ref" : "#/components/schemas/
|
|
3150
|
+
"$ref" : "#/components/schemas/WebhookEndpoint"
|
|
3131
3151
|
}
|
|
3132
3152
|
}
|
|
3133
3153
|
},
|
|
3134
|
-
"description" : "
|
|
3154
|
+
"description" : "The updated webhook"
|
|
3155
|
+
},
|
|
3156
|
+
"400" : {
|
|
3157
|
+
"description" : "Invalid body"
|
|
3158
|
+
},
|
|
3159
|
+
"401" : {
|
|
3160
|
+
"description" : "Unauthorized"
|
|
3161
|
+
},
|
|
3162
|
+
"403" : {
|
|
3163
|
+
"description" : "Forbidden (another service user requires an organization admin)"
|
|
3164
|
+
},
|
|
3165
|
+
"404" : {
|
|
3166
|
+
"description" : "Task not found, or not triggered by a webhook"
|
|
3167
|
+
},
|
|
3168
|
+
"422" : {
|
|
3169
|
+
"description" : "The service user is not a member of the organization"
|
|
3135
3170
|
}
|
|
3136
3171
|
},
|
|
3137
|
-
"summary" : "
|
|
3138
|
-
"tags" : [ "
|
|
3172
|
+
"summary" : "Disable the webhook or change its service user",
|
|
3173
|
+
"tags" : [ "scheduledTasks" ]
|
|
3139
3174
|
}
|
|
3140
3175
|
},
|
|
3141
|
-
"/
|
|
3142
|
-
"
|
|
3143
|
-
"
|
|
3144
|
-
"operationId" : "deleteAppById",
|
|
3176
|
+
"/agents/{agentId}/scheduled-tasks/{taskId}/webhook/rotate-secret" : {
|
|
3177
|
+
"post" : {
|
|
3178
|
+
"operationId" : "rotateScheduledTaskWebhookSecret",
|
|
3145
3179
|
"parameters" : [ {
|
|
3146
|
-
"description" : "ID of the
|
|
3180
|
+
"description" : "ID of the agent",
|
|
3147
3181
|
"in" : "path",
|
|
3148
|
-
"name" : "
|
|
3182
|
+
"name" : "agentId",
|
|
3149
3183
|
"required" : true,
|
|
3150
3184
|
"schema" : {
|
|
3185
|
+
"format" : "uuid",
|
|
3151
3186
|
"type" : "string"
|
|
3152
3187
|
}
|
|
3153
|
-
}
|
|
3154
|
-
|
|
3155
|
-
"204" : {
|
|
3156
|
-
"description" : "App deleted successfully"
|
|
3157
|
-
},
|
|
3158
|
-
"404" : {
|
|
3159
|
-
"description" : "App not found"
|
|
3160
|
-
}
|
|
3161
|
-
},
|
|
3162
|
-
"summary" : "Delete an app",
|
|
3163
|
-
"tags" : [ "app" ]
|
|
3164
|
-
},
|
|
3165
|
-
"get" : {
|
|
3166
|
-
"description" : "Get an app",
|
|
3167
|
-
"operationId" : "getAppById",
|
|
3168
|
-
"parameters" : [ {
|
|
3169
|
-
"description" : "ID of the app",
|
|
3188
|
+
}, {
|
|
3189
|
+
"description" : "ID of the scheduled task",
|
|
3170
3190
|
"in" : "path",
|
|
3171
|
-
"name" : "
|
|
3191
|
+
"name" : "taskId",
|
|
3172
3192
|
"required" : true,
|
|
3173
3193
|
"schema" : {
|
|
3174
3194
|
"type" : "string"
|
|
@@ -3179,110 +3199,145 @@
|
|
|
3179
3199
|
"content" : {
|
|
3180
3200
|
"application/json" : {
|
|
3181
3201
|
"schema" : {
|
|
3182
|
-
"$ref" : "#/components/schemas/
|
|
3202
|
+
"$ref" : "#/components/schemas/WebhookEndpoint"
|
|
3183
3203
|
}
|
|
3184
3204
|
}
|
|
3185
3205
|
},
|
|
3186
|
-
"description" : "
|
|
3206
|
+
"description" : "The webhook, with its new secret (shown once)"
|
|
3207
|
+
},
|
|
3208
|
+
"401" : {
|
|
3209
|
+
"description" : "Unauthorized"
|
|
3210
|
+
},
|
|
3211
|
+
"403" : {
|
|
3212
|
+
"description" : "Forbidden"
|
|
3213
|
+
},
|
|
3214
|
+
"404" : {
|
|
3215
|
+
"description" : "Task not found, or not triggered by a webhook"
|
|
3187
3216
|
}
|
|
3188
3217
|
},
|
|
3189
|
-
"summary" : "
|
|
3190
|
-
"tags" : [ "
|
|
3191
|
-
}
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3218
|
+
"summary" : "Rotate the webhook secret (the old one stops working)",
|
|
3219
|
+
"tags" : [ "scheduledTasks" ]
|
|
3220
|
+
}
|
|
3221
|
+
},
|
|
3222
|
+
"/agents/{agentId}/scheduled-tasks/{taskId}/webhook/regenerate-url" : {
|
|
3223
|
+
"post" : {
|
|
3224
|
+
"operationId" : "regenerateScheduledTaskWebhookUrl",
|
|
3195
3225
|
"parameters" : [ {
|
|
3196
|
-
"description" : "ID of the
|
|
3226
|
+
"description" : "ID of the agent",
|
|
3197
3227
|
"in" : "path",
|
|
3198
|
-
"name" : "
|
|
3228
|
+
"name" : "agentId",
|
|
3229
|
+
"required" : true,
|
|
3230
|
+
"schema" : {
|
|
3231
|
+
"format" : "uuid",
|
|
3232
|
+
"type" : "string"
|
|
3233
|
+
}
|
|
3234
|
+
}, {
|
|
3235
|
+
"description" : "ID of the scheduled task",
|
|
3236
|
+
"in" : "path",
|
|
3237
|
+
"name" : "taskId",
|
|
3199
3238
|
"required" : true,
|
|
3200
3239
|
"schema" : {
|
|
3201
3240
|
"type" : "string"
|
|
3202
3241
|
}
|
|
3203
3242
|
} ],
|
|
3204
|
-
"requestBody" : {
|
|
3205
|
-
"content" : {
|
|
3206
|
-
"application/json" : {
|
|
3207
|
-
"schema" : {
|
|
3208
|
-
"$ref" : "#/components/schemas/AppUpdateRequest"
|
|
3209
|
-
}
|
|
3210
|
-
}
|
|
3211
|
-
},
|
|
3212
|
-
"required" : true
|
|
3213
|
-
},
|
|
3214
3243
|
"responses" : {
|
|
3215
3244
|
"200" : {
|
|
3216
3245
|
"content" : {
|
|
3217
3246
|
"application/json" : {
|
|
3218
3247
|
"schema" : {
|
|
3219
|
-
"$ref" : "#/components/schemas/
|
|
3248
|
+
"$ref" : "#/components/schemas/WebhookEndpoint"
|
|
3220
3249
|
}
|
|
3221
3250
|
}
|
|
3222
3251
|
},
|
|
3223
|
-
"description" : "
|
|
3252
|
+
"description" : "The webhook at its new URL"
|
|
3253
|
+
},
|
|
3254
|
+
"401" : {
|
|
3255
|
+
"description" : "Unauthorized"
|
|
3256
|
+
},
|
|
3257
|
+
"403" : {
|
|
3258
|
+
"description" : "Forbidden"
|
|
3224
3259
|
},
|
|
3225
3260
|
"404" : {
|
|
3226
|
-
"description" : "
|
|
3261
|
+
"description" : "Task not found, or not triggered by a webhook"
|
|
3227
3262
|
}
|
|
3228
3263
|
},
|
|
3229
|
-
"summary" : "
|
|
3230
|
-
"tags" : [ "
|
|
3231
|
-
}
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3264
|
+
"summary" : "Give the webhook a new URL (the old one answers 404)",
|
|
3265
|
+
"tags" : [ "scheduledTasks" ]
|
|
3266
|
+
}
|
|
3267
|
+
},
|
|
3268
|
+
"/agents/{agentId}/scheduled-tasks/{taskId}/webhook/events" : {
|
|
3269
|
+
"get" : {
|
|
3270
|
+
"operationId" : "listScheduledTaskWebhookEvents",
|
|
3235
3271
|
"parameters" : [ {
|
|
3236
|
-
"description" : "ID of the
|
|
3272
|
+
"description" : "ID of the agent",
|
|
3237
3273
|
"in" : "path",
|
|
3238
|
-
"name" : "
|
|
3274
|
+
"name" : "agentId",
|
|
3275
|
+
"required" : true,
|
|
3276
|
+
"schema" : {
|
|
3277
|
+
"format" : "uuid",
|
|
3278
|
+
"type" : "string"
|
|
3279
|
+
}
|
|
3280
|
+
}, {
|
|
3281
|
+
"description" : "ID of the scheduled task",
|
|
3282
|
+
"in" : "path",
|
|
3283
|
+
"name" : "taskId",
|
|
3239
3284
|
"required" : true,
|
|
3240
3285
|
"schema" : {
|
|
3241
3286
|
"type" : "string"
|
|
3242
3287
|
}
|
|
3288
|
+
}, {
|
|
3289
|
+
"in" : "query",
|
|
3290
|
+
"name" : "limit",
|
|
3291
|
+
"required" : false,
|
|
3292
|
+
"schema" : {
|
|
3293
|
+
"default" : 20,
|
|
3294
|
+
"maximum" : 100,
|
|
3295
|
+
"minimum" : 1,
|
|
3296
|
+
"type" : "integer"
|
|
3297
|
+
}
|
|
3243
3298
|
} ],
|
|
3244
|
-
"requestBody" : {
|
|
3245
|
-
"content" : {
|
|
3246
|
-
"application/json" : {
|
|
3247
|
-
"schema" : {
|
|
3248
|
-
"$ref" : "#/components/schemas/AppReplaceRequest"
|
|
3249
|
-
}
|
|
3250
|
-
}
|
|
3251
|
-
},
|
|
3252
|
-
"required" : true
|
|
3253
|
-
},
|
|
3254
3299
|
"responses" : {
|
|
3255
3300
|
"200" : {
|
|
3256
3301
|
"content" : {
|
|
3257
3302
|
"application/json" : {
|
|
3258
3303
|
"schema" : {
|
|
3259
|
-
"$ref" : "#/components/schemas/
|
|
3304
|
+
"$ref" : "#/components/schemas/WebhookEventList"
|
|
3260
3305
|
}
|
|
3261
3306
|
}
|
|
3262
3307
|
},
|
|
3263
|
-
"description" : "
|
|
3308
|
+
"description" : "The latest calls, most recent first"
|
|
3264
3309
|
},
|
|
3265
|
-
"
|
|
3266
|
-
"description" : "
|
|
3310
|
+
"401" : {
|
|
3311
|
+
"description" : "Unauthorized"
|
|
3267
3312
|
},
|
|
3268
|
-
"
|
|
3269
|
-
"description" : "
|
|
3313
|
+
"403" : {
|
|
3314
|
+
"description" : "Forbidden"
|
|
3270
3315
|
},
|
|
3271
|
-
"
|
|
3272
|
-
"description" : "
|
|
3316
|
+
"404" : {
|
|
3317
|
+
"description" : "Task not found, or not triggered by a webhook"
|
|
3273
3318
|
}
|
|
3274
3319
|
},
|
|
3275
|
-
"summary" : "
|
|
3276
|
-
"tags" : [ "
|
|
3320
|
+
"summary" : "The latest calls received on the webhook",
|
|
3321
|
+
"tags" : [ "scheduledTasks" ]
|
|
3277
3322
|
}
|
|
3278
3323
|
},
|
|
3279
|
-
"/
|
|
3324
|
+
"/agents/{agentId}/scheduled-tasks/{taskId}/webhook/test" : {
|
|
3280
3325
|
"post" : {
|
|
3281
|
-
"
|
|
3326
|
+
"description" : "The call goes through the same ingestion as a real one, and the agent runs for real.",
|
|
3327
|
+
"operationId" : "testScheduledTaskWebhook",
|
|
3282
3328
|
"parameters" : [ {
|
|
3283
|
-
"description" : "ID of the
|
|
3329
|
+
"description" : "ID of the agent",
|
|
3284
3330
|
"in" : "path",
|
|
3285
|
-
"name" : "
|
|
3331
|
+
"name" : "agentId",
|
|
3332
|
+
"required" : true,
|
|
3333
|
+
"schema" : {
|
|
3334
|
+
"format" : "uuid",
|
|
3335
|
+
"type" : "string"
|
|
3336
|
+
}
|
|
3337
|
+
}, {
|
|
3338
|
+
"description" : "ID of the scheduled task",
|
|
3339
|
+
"in" : "path",
|
|
3340
|
+
"name" : "taskId",
|
|
3286
3341
|
"required" : true,
|
|
3287
3342
|
"schema" : {
|
|
3288
3343
|
"type" : "string"
|
|
@@ -3292,30 +3347,295 @@
|
|
|
3292
3347
|
"content" : {
|
|
3293
3348
|
"application/json" : {
|
|
3294
3349
|
"schema" : {
|
|
3295
|
-
"$ref" : "#/components/schemas/
|
|
3350
|
+
"$ref" : "#/components/schemas/WebhookTestRequest"
|
|
3296
3351
|
}
|
|
3297
3352
|
}
|
|
3298
3353
|
},
|
|
3299
|
-
"required" :
|
|
3354
|
+
"required" : false
|
|
3300
3355
|
},
|
|
3301
3356
|
"responses" : {
|
|
3302
|
-
"
|
|
3357
|
+
"202" : {
|
|
3303
3358
|
"content" : {
|
|
3304
3359
|
"application/json" : {
|
|
3305
3360
|
"schema" : {
|
|
3306
|
-
"$ref" : "#/components/schemas/
|
|
3361
|
+
"$ref" : "#/components/schemas/WebhookTestResponse"
|
|
3307
3362
|
}
|
|
3308
3363
|
}
|
|
3309
3364
|
},
|
|
3310
|
-
"description" : "
|
|
3365
|
+
"description" : "The test call is queued"
|
|
3366
|
+
},
|
|
3367
|
+
"400" : {
|
|
3368
|
+
"description" : "Invalid body"
|
|
3369
|
+
},
|
|
3370
|
+
"401" : {
|
|
3371
|
+
"description" : "Unauthorized"
|
|
3372
|
+
},
|
|
3373
|
+
"403" : {
|
|
3374
|
+
"description" : "Forbidden"
|
|
3375
|
+
},
|
|
3376
|
+
"404" : {
|
|
3377
|
+
"description" : "Task not found, or not triggered by a webhook"
|
|
3378
|
+
},
|
|
3379
|
+
"422" : {
|
|
3380
|
+
"description" : "The webhook or the automation is not active"
|
|
3381
|
+
},
|
|
3382
|
+
"429" : {
|
|
3383
|
+
"description" : "Too many calls this minute"
|
|
3311
3384
|
}
|
|
3312
3385
|
},
|
|
3313
|
-
"summary" : "
|
|
3314
|
-
"tags" : [ "
|
|
3386
|
+
"summary" : "Send a test call to the webhook, signed by the server",
|
|
3387
|
+
"tags" : [ "scheduledTasks" ]
|
|
3315
3388
|
}
|
|
3316
3389
|
},
|
|
3317
|
-
"/
|
|
3318
|
-
"
|
|
3390
|
+
"/agents/{agentId}/apps" : {
|
|
3391
|
+
"get" : {
|
|
3392
|
+
"description" : "Get apps for agent id",
|
|
3393
|
+
"operationId" : "getAppsForAgentId",
|
|
3394
|
+
"parameters" : [ {
|
|
3395
|
+
"description" : "ID of the agent",
|
|
3396
|
+
"in" : "path",
|
|
3397
|
+
"name" : "agentId",
|
|
3398
|
+
"required" : true,
|
|
3399
|
+
"schema" : {
|
|
3400
|
+
"format" : "uuid",
|
|
3401
|
+
"type" : "string"
|
|
3402
|
+
}
|
|
3403
|
+
} ],
|
|
3404
|
+
"responses" : {
|
|
3405
|
+
"206" : {
|
|
3406
|
+
"content" : {
|
|
3407
|
+
"application/json" : {
|
|
3408
|
+
"schema" : {
|
|
3409
|
+
"items" : {
|
|
3410
|
+
"$ref" : "#/components/schemas/AppLight"
|
|
3411
|
+
},
|
|
3412
|
+
"type" : "array"
|
|
3413
|
+
}
|
|
3414
|
+
}
|
|
3415
|
+
},
|
|
3416
|
+
"description" : "Apps retrieved successfully"
|
|
3417
|
+
}
|
|
3418
|
+
},
|
|
3419
|
+
"summary" : "Get apps for agent id",
|
|
3420
|
+
"tags" : [ "app" ]
|
|
3421
|
+
}
|
|
3422
|
+
},
|
|
3423
|
+
"/apps" : {
|
|
3424
|
+
"post" : {
|
|
3425
|
+
"description" : "Creates a new app",
|
|
3426
|
+
"operationId" : "createApp",
|
|
3427
|
+
"parameters" : [ {
|
|
3428
|
+
"description" : "Instance id",
|
|
3429
|
+
"in" : "query",
|
|
3430
|
+
"name" : "instanceId",
|
|
3431
|
+
"schema" : {
|
|
3432
|
+
"type" : "string"
|
|
3433
|
+
}
|
|
3434
|
+
} ],
|
|
3435
|
+
"requestBody" : {
|
|
3436
|
+
"content" : {
|
|
3437
|
+
"application/json" : {
|
|
3438
|
+
"schema" : {
|
|
3439
|
+
"$ref" : "#/components/schemas/AppCreateRequest"
|
|
3440
|
+
}
|
|
3441
|
+
}
|
|
3442
|
+
},
|
|
3443
|
+
"required" : true
|
|
3444
|
+
},
|
|
3445
|
+
"responses" : {
|
|
3446
|
+
"201" : {
|
|
3447
|
+
"content" : {
|
|
3448
|
+
"application/json" : {
|
|
3449
|
+
"schema" : {
|
|
3450
|
+
"$ref" : "#/components/schemas/App"
|
|
3451
|
+
}
|
|
3452
|
+
}
|
|
3453
|
+
},
|
|
3454
|
+
"description" : "App created successfully"
|
|
3455
|
+
}
|
|
3456
|
+
},
|
|
3457
|
+
"summary" : "Create an app",
|
|
3458
|
+
"tags" : [ "app" ]
|
|
3459
|
+
}
|
|
3460
|
+
},
|
|
3461
|
+
"/apps/{appId}" : {
|
|
3462
|
+
"delete" : {
|
|
3463
|
+
"description" : "Delete an app by ID",
|
|
3464
|
+
"operationId" : "deleteAppById",
|
|
3465
|
+
"parameters" : [ {
|
|
3466
|
+
"description" : "ID of the app",
|
|
3467
|
+
"in" : "path",
|
|
3468
|
+
"name" : "appId",
|
|
3469
|
+
"required" : true,
|
|
3470
|
+
"schema" : {
|
|
3471
|
+
"type" : "string"
|
|
3472
|
+
}
|
|
3473
|
+
} ],
|
|
3474
|
+
"responses" : {
|
|
3475
|
+
"204" : {
|
|
3476
|
+
"description" : "App deleted successfully"
|
|
3477
|
+
},
|
|
3478
|
+
"404" : {
|
|
3479
|
+
"description" : "App not found"
|
|
3480
|
+
}
|
|
3481
|
+
},
|
|
3482
|
+
"summary" : "Delete an app",
|
|
3483
|
+
"tags" : [ "app" ]
|
|
3484
|
+
},
|
|
3485
|
+
"get" : {
|
|
3486
|
+
"description" : "Get an app",
|
|
3487
|
+
"operationId" : "getAppById",
|
|
3488
|
+
"parameters" : [ {
|
|
3489
|
+
"description" : "ID of the app",
|
|
3490
|
+
"in" : "path",
|
|
3491
|
+
"name" : "appId",
|
|
3492
|
+
"required" : true,
|
|
3493
|
+
"schema" : {
|
|
3494
|
+
"type" : "string"
|
|
3495
|
+
}
|
|
3496
|
+
} ],
|
|
3497
|
+
"responses" : {
|
|
3498
|
+
"200" : {
|
|
3499
|
+
"content" : {
|
|
3500
|
+
"application/json" : {
|
|
3501
|
+
"schema" : {
|
|
3502
|
+
"$ref" : "#/components/schemas/App"
|
|
3503
|
+
}
|
|
3504
|
+
}
|
|
3505
|
+
},
|
|
3506
|
+
"description" : "App retrieved successfully"
|
|
3507
|
+
}
|
|
3508
|
+
},
|
|
3509
|
+
"summary" : "Get an app",
|
|
3510
|
+
"tags" : [ "app" ]
|
|
3511
|
+
},
|
|
3512
|
+
"patch" : {
|
|
3513
|
+
"description" : "Update an app",
|
|
3514
|
+
"operationId" : "updateAppById",
|
|
3515
|
+
"parameters" : [ {
|
|
3516
|
+
"description" : "ID of the app",
|
|
3517
|
+
"in" : "path",
|
|
3518
|
+
"name" : "appId",
|
|
3519
|
+
"required" : true,
|
|
3520
|
+
"schema" : {
|
|
3521
|
+
"type" : "string"
|
|
3522
|
+
}
|
|
3523
|
+
} ],
|
|
3524
|
+
"requestBody" : {
|
|
3525
|
+
"content" : {
|
|
3526
|
+
"application/json" : {
|
|
3527
|
+
"schema" : {
|
|
3528
|
+
"$ref" : "#/components/schemas/AppUpdateRequest"
|
|
3529
|
+
}
|
|
3530
|
+
}
|
|
3531
|
+
},
|
|
3532
|
+
"required" : true
|
|
3533
|
+
},
|
|
3534
|
+
"responses" : {
|
|
3535
|
+
"200" : {
|
|
3536
|
+
"content" : {
|
|
3537
|
+
"application/json" : {
|
|
3538
|
+
"schema" : {
|
|
3539
|
+
"$ref" : "#/components/schemas/App"
|
|
3540
|
+
}
|
|
3541
|
+
}
|
|
3542
|
+
},
|
|
3543
|
+
"description" : "App updated successfully"
|
|
3544
|
+
},
|
|
3545
|
+
"404" : {
|
|
3546
|
+
"description" : "App not found"
|
|
3547
|
+
}
|
|
3548
|
+
},
|
|
3549
|
+
"summary" : "Update an app",
|
|
3550
|
+
"tags" : [ "app" ]
|
|
3551
|
+
},
|
|
3552
|
+
"put" : {
|
|
3553
|
+
"description" : "Replace an app's full configuration. Contrairement au PATCH, ce corps exige `name`, `agentId`, `streamingEnabled`, `voiceProvider`, `voiceId` et `voiceModelId`, et n'accepte ni `disableFillers`, ni `favoriteOutfit`, ni `ephemeralInstances`.",
|
|
3554
|
+
"operationId" : "replaceAppById",
|
|
3555
|
+
"parameters" : [ {
|
|
3556
|
+
"description" : "ID of the app",
|
|
3557
|
+
"in" : "path",
|
|
3558
|
+
"name" : "appId",
|
|
3559
|
+
"required" : true,
|
|
3560
|
+
"schema" : {
|
|
3561
|
+
"type" : "string"
|
|
3562
|
+
}
|
|
3563
|
+
} ],
|
|
3564
|
+
"requestBody" : {
|
|
3565
|
+
"content" : {
|
|
3566
|
+
"application/json" : {
|
|
3567
|
+
"schema" : {
|
|
3568
|
+
"$ref" : "#/components/schemas/AppReplaceRequest"
|
|
3569
|
+
}
|
|
3570
|
+
}
|
|
3571
|
+
},
|
|
3572
|
+
"required" : true
|
|
3573
|
+
},
|
|
3574
|
+
"responses" : {
|
|
3575
|
+
"200" : {
|
|
3576
|
+
"content" : {
|
|
3577
|
+
"application/json" : {
|
|
3578
|
+
"schema" : {
|
|
3579
|
+
"$ref" : "#/components/schemas/App"
|
|
3580
|
+
}
|
|
3581
|
+
}
|
|
3582
|
+
},
|
|
3583
|
+
"description" : "App replaced successfully"
|
|
3584
|
+
},
|
|
3585
|
+
"400" : {
|
|
3586
|
+
"description" : "Invalid request body"
|
|
3587
|
+
},
|
|
3588
|
+
"404" : {
|
|
3589
|
+
"description" : "App not found"
|
|
3590
|
+
},
|
|
3591
|
+
"500" : {
|
|
3592
|
+
"description" : "APP_UPDATE_FAILED — l'app est introuvable après écriture"
|
|
3593
|
+
}
|
|
3594
|
+
},
|
|
3595
|
+
"summary" : "Replace an app",
|
|
3596
|
+
"tags" : [ "app" ]
|
|
3597
|
+
}
|
|
3598
|
+
},
|
|
3599
|
+
"/apps/{appId}/profile-picture" : {
|
|
3600
|
+
"post" : {
|
|
3601
|
+
"operationId" : "updateAppProfilePicture",
|
|
3602
|
+
"parameters" : [ {
|
|
3603
|
+
"description" : "ID of the app",
|
|
3604
|
+
"in" : "path",
|
|
3605
|
+
"name" : "appId",
|
|
3606
|
+
"required" : true,
|
|
3607
|
+
"schema" : {
|
|
3608
|
+
"type" : "string"
|
|
3609
|
+
}
|
|
3610
|
+
} ],
|
|
3611
|
+
"requestBody" : {
|
|
3612
|
+
"content" : {
|
|
3613
|
+
"application/json" : {
|
|
3614
|
+
"schema" : {
|
|
3615
|
+
"$ref" : "#/components/schemas/FileCreationRequest"
|
|
3616
|
+
}
|
|
3617
|
+
}
|
|
3618
|
+
},
|
|
3619
|
+
"required" : true
|
|
3620
|
+
},
|
|
3621
|
+
"responses" : {
|
|
3622
|
+
"201" : {
|
|
3623
|
+
"content" : {
|
|
3624
|
+
"application/json" : {
|
|
3625
|
+
"schema" : {
|
|
3626
|
+
"$ref" : "#/components/schemas/S3UploadBody"
|
|
3627
|
+
}
|
|
3628
|
+
}
|
|
3629
|
+
},
|
|
3630
|
+
"description" : "Profile picture updated successfully"
|
|
3631
|
+
}
|
|
3632
|
+
},
|
|
3633
|
+
"summary" : "Update profile picture for an app",
|
|
3634
|
+
"tags" : [ "app" ]
|
|
3635
|
+
}
|
|
3636
|
+
},
|
|
3637
|
+
"/apps/{appId}/flows" : {
|
|
3638
|
+
"post" : {
|
|
3319
3639
|
"description" : "Start a conversation with a flow.",
|
|
3320
3640
|
"operationId" : "createAppFlow",
|
|
3321
3641
|
"parameters" : [ {
|
|
@@ -19379,9 +19699,10 @@
|
|
|
19379
19699
|
"tags" : [ "tickets" ]
|
|
19380
19700
|
}
|
|
19381
19701
|
},
|
|
19382
|
-
"/organizations/{organizationId}/
|
|
19702
|
+
"/organizations/{organizationId}/automations" : {
|
|
19383
19703
|
"get" : {
|
|
19384
|
-
"
|
|
19704
|
+
"description" : "Every member of the organization can read them, as they can read its agents.",
|
|
19705
|
+
"operationId" : "listOrganizationAutomations",
|
|
19385
19706
|
"parameters" : [ {
|
|
19386
19707
|
"description" : "ID of the organization",
|
|
19387
19708
|
"in" : "path",
|
|
@@ -19390,11 +19711,186 @@
|
|
|
19390
19711
|
"schema" : {
|
|
19391
19712
|
"type" : "string"
|
|
19392
19713
|
}
|
|
19393
|
-
}
|
|
19394
|
-
|
|
19395
|
-
"
|
|
19396
|
-
|
|
19397
|
-
|
|
19714
|
+
}, {
|
|
19715
|
+
"in" : "query",
|
|
19716
|
+
"name" : "agentId",
|
|
19717
|
+
"required" : false,
|
|
19718
|
+
"schema" : {
|
|
19719
|
+
"type" : "string"
|
|
19720
|
+
}
|
|
19721
|
+
}, {
|
|
19722
|
+
"in" : "query",
|
|
19723
|
+
"name" : "trigger",
|
|
19724
|
+
"required" : false,
|
|
19725
|
+
"schema" : {
|
|
19726
|
+
"$ref" : "#/components/schemas/AutomationTriggerKind"
|
|
19727
|
+
}
|
|
19728
|
+
}, {
|
|
19729
|
+
"description" : "Comma-separated statuses among active, paused, done (default active,paused).",
|
|
19730
|
+
"in" : "query",
|
|
19731
|
+
"name" : "status",
|
|
19732
|
+
"required" : false,
|
|
19733
|
+
"schema" : {
|
|
19734
|
+
"type" : "string"
|
|
19735
|
+
}
|
|
19736
|
+
}, {
|
|
19737
|
+
"in" : "query",
|
|
19738
|
+
"name" : "q",
|
|
19739
|
+
"required" : false,
|
|
19740
|
+
"schema" : {
|
|
19741
|
+
"type" : "string"
|
|
19742
|
+
}
|
|
19743
|
+
}, {
|
|
19744
|
+
"in" : "query",
|
|
19745
|
+
"name" : "limit",
|
|
19746
|
+
"required" : false,
|
|
19747
|
+
"schema" : {
|
|
19748
|
+
"default" : 50,
|
|
19749
|
+
"maximum" : 100,
|
|
19750
|
+
"minimum" : 1,
|
|
19751
|
+
"type" : "integer"
|
|
19752
|
+
}
|
|
19753
|
+
}, {
|
|
19754
|
+
"in" : "query",
|
|
19755
|
+
"name" : "offset",
|
|
19756
|
+
"required" : false,
|
|
19757
|
+
"schema" : {
|
|
19758
|
+
"default" : 0,
|
|
19759
|
+
"minimum" : 0,
|
|
19760
|
+
"type" : "integer"
|
|
19761
|
+
}
|
|
19762
|
+
} ],
|
|
19763
|
+
"responses" : {
|
|
19764
|
+
"200" : {
|
|
19765
|
+
"content" : {
|
|
19766
|
+
"application/json" : {
|
|
19767
|
+
"schema" : {
|
|
19768
|
+
"$ref" : "#/components/schemas/AutomationList"
|
|
19769
|
+
}
|
|
19770
|
+
}
|
|
19771
|
+
},
|
|
19772
|
+
"description" : "The automations, newest first, with their key figures"
|
|
19773
|
+
},
|
|
19774
|
+
"400" : {
|
|
19775
|
+
"description" : "Invalid query"
|
|
19776
|
+
},
|
|
19777
|
+
"401" : {
|
|
19778
|
+
"description" : "Unauthorized"
|
|
19779
|
+
},
|
|
19780
|
+
"403" : {
|
|
19781
|
+
"description" : "Not a member of the organization"
|
|
19782
|
+
},
|
|
19783
|
+
"404" : {
|
|
19784
|
+
"description" : "Agent not in the organization"
|
|
19785
|
+
}
|
|
19786
|
+
},
|
|
19787
|
+
"summary" : "The automations of the organization, or of one of its agents",
|
|
19788
|
+
"tags" : [ "scheduledTasks" ]
|
|
19789
|
+
}
|
|
19790
|
+
},
|
|
19791
|
+
"/organizations/{organizationId}/automation-runs" : {
|
|
19792
|
+
"get" : {
|
|
19793
|
+
"description" : "Most recent first. Every member of the organization can read them.",
|
|
19794
|
+
"operationId" : "listOrganizationAutomationRuns",
|
|
19795
|
+
"parameters" : [ {
|
|
19796
|
+
"description" : "ID of the organization",
|
|
19797
|
+
"in" : "path",
|
|
19798
|
+
"name" : "organizationId",
|
|
19799
|
+
"required" : true,
|
|
19800
|
+
"schema" : {
|
|
19801
|
+
"type" : "string"
|
|
19802
|
+
}
|
|
19803
|
+
}, {
|
|
19804
|
+
"in" : "query",
|
|
19805
|
+
"name" : "agentId",
|
|
19806
|
+
"required" : false,
|
|
19807
|
+
"schema" : {
|
|
19808
|
+
"type" : "string"
|
|
19809
|
+
}
|
|
19810
|
+
}, {
|
|
19811
|
+
"in" : "query",
|
|
19812
|
+
"name" : "taskId",
|
|
19813
|
+
"required" : false,
|
|
19814
|
+
"schema" : {
|
|
19815
|
+
"type" : "string"
|
|
19816
|
+
}
|
|
19817
|
+
}, {
|
|
19818
|
+
"in" : "query",
|
|
19819
|
+
"name" : "trigger",
|
|
19820
|
+
"required" : false,
|
|
19821
|
+
"schema" : {
|
|
19822
|
+
"$ref" : "#/components/schemas/AutomationTriggerKind"
|
|
19823
|
+
}
|
|
19824
|
+
}, {
|
|
19825
|
+
"in" : "query",
|
|
19826
|
+
"name" : "status",
|
|
19827
|
+
"required" : false,
|
|
19828
|
+
"schema" : {
|
|
19829
|
+
"$ref" : "#/components/schemas/AutomationRunOutcome"
|
|
19830
|
+
}
|
|
19831
|
+
}, {
|
|
19832
|
+
"in" : "query",
|
|
19833
|
+
"name" : "before",
|
|
19834
|
+
"required" : false,
|
|
19835
|
+
"schema" : {
|
|
19836
|
+
"format" : "date-time",
|
|
19837
|
+
"type" : "string"
|
|
19838
|
+
}
|
|
19839
|
+
}, {
|
|
19840
|
+
"in" : "query",
|
|
19841
|
+
"name" : "limit",
|
|
19842
|
+
"required" : false,
|
|
19843
|
+
"schema" : {
|
|
19844
|
+
"default" : 30,
|
|
19845
|
+
"maximum" : 100,
|
|
19846
|
+
"minimum" : 1,
|
|
19847
|
+
"type" : "integer"
|
|
19848
|
+
}
|
|
19849
|
+
} ],
|
|
19850
|
+
"responses" : {
|
|
19851
|
+
"200" : {
|
|
19852
|
+
"content" : {
|
|
19853
|
+
"application/json" : {
|
|
19854
|
+
"schema" : {
|
|
19855
|
+
"$ref" : "#/components/schemas/AutomationRunList"
|
|
19856
|
+
}
|
|
19857
|
+
}
|
|
19858
|
+
},
|
|
19859
|
+
"description" : "The runs, with what triggered them and what became of their result"
|
|
19860
|
+
},
|
|
19861
|
+
"400" : {
|
|
19862
|
+
"description" : "Invalid query"
|
|
19863
|
+
},
|
|
19864
|
+
"401" : {
|
|
19865
|
+
"description" : "Unauthorized"
|
|
19866
|
+
},
|
|
19867
|
+
"403" : {
|
|
19868
|
+
"description" : "Not a member of the organization"
|
|
19869
|
+
},
|
|
19870
|
+
"404" : {
|
|
19871
|
+
"description" : "Agent not in the organization"
|
|
19872
|
+
}
|
|
19873
|
+
},
|
|
19874
|
+
"summary" : "The runs of the automations of the organization, or of one of its agents",
|
|
19875
|
+
"tags" : [ "scheduledTasks" ]
|
|
19876
|
+
}
|
|
19877
|
+
},
|
|
19878
|
+
"/organizations/{organizationId}/integrations/gitlab" : {
|
|
19879
|
+
"get" : {
|
|
19880
|
+
"operationId" : "listGitlabIntegrations",
|
|
19881
|
+
"parameters" : [ {
|
|
19882
|
+
"description" : "ID of the organization",
|
|
19883
|
+
"in" : "path",
|
|
19884
|
+
"name" : "organizationId",
|
|
19885
|
+
"required" : true,
|
|
19886
|
+
"schema" : {
|
|
19887
|
+
"type" : "string"
|
|
19888
|
+
}
|
|
19889
|
+
} ],
|
|
19890
|
+
"responses" : {
|
|
19891
|
+
"200" : {
|
|
19892
|
+
"content" : {
|
|
19893
|
+
"application/json" : {
|
|
19398
19894
|
"schema" : {
|
|
19399
19895
|
"items" : {
|
|
19400
19896
|
"$ref" : "#/components/schemas/GitlabIntegration"
|
|
@@ -23440,12 +23936,15 @@
|
|
|
23440
23936
|
"allOf" : [ {
|
|
23441
23937
|
"$ref" : "#/components/schemas/TaskSchedule"
|
|
23442
23938
|
} ],
|
|
23443
|
-
"description" : "null for an automation triggered by an event.",
|
|
23939
|
+
"description" : "null for an automation triggered by an event or a webhook.",
|
|
23444
23940
|
"nullable" : true
|
|
23445
23941
|
},
|
|
23446
23942
|
"trigger" : {
|
|
23447
23943
|
"$ref" : "#/components/schemas/TaskTrigger"
|
|
23448
23944
|
},
|
|
23945
|
+
"webhook" : {
|
|
23946
|
+
"$ref" : "#/components/schemas/WebhookEndpoint"
|
|
23947
|
+
},
|
|
23449
23948
|
"cronExpression" : {
|
|
23450
23949
|
"type" : "string"
|
|
23451
23950
|
},
|
|
@@ -23547,10 +24046,14 @@
|
|
|
23547
24046
|
"type" : "object"
|
|
23548
24047
|
},
|
|
23549
24048
|
"TaskTrigger" : {
|
|
23550
|
-
"description" : "What starts the automation. `schedule` (default): its schedule. `event`: a mention of one of the bot accounts in GitLab, in the given kinds of objects and projects (empty: all projects; `groupe/projet` or `groupe/*`).",
|
|
24049
|
+
"description" : "What starts the automation. `schedule` (default): its schedule. `event`: a mention of one of the bot accounts in GitLab, in the given kinds of objects and projects (empty: all projects; `groupe/projet` or `groupe/*`). `webhook`: a call to its webhook (see `ScheduledTask.webhook`); the result goes to `callbackUrl`.",
|
|
23551
24050
|
"properties" : {
|
|
23552
24051
|
"type" : {
|
|
23553
|
-
"enum" : [ "schedule", "event" ],
|
|
24052
|
+
"enum" : [ "schedule", "event", "webhook" ],
|
|
24053
|
+
"type" : "string"
|
|
24054
|
+
},
|
|
24055
|
+
"runAsUserId" : {
|
|
24056
|
+
"description" : "`webhook` only, on create or update: the member the conversations run as (default: the caller; another member requires an organization admin). Not stored on the task.",
|
|
23554
24057
|
"type" : "string"
|
|
23555
24058
|
},
|
|
23556
24059
|
"source" : {
|
|
@@ -23584,7 +24087,7 @@
|
|
|
23584
24087
|
"type" : "object"
|
|
23585
24088
|
},
|
|
23586
24089
|
"ScheduledTaskCreate" : {
|
|
23587
|
-
"description" : "`schedule` is required unless `trigger.type` is `event` (then `mode` must be `recurring`).",
|
|
24090
|
+
"description" : "`schedule` is required unless `trigger.type` is `event` or `webhook` (then `mode` must be `recurring`). A `webhook` trigger creates the webhook, returned in `webhook` with its secret (shown once).",
|
|
23588
24091
|
"properties" : {
|
|
23589
24092
|
"message" : {
|
|
23590
24093
|
"minLength" : 1,
|
|
@@ -23755,15 +24258,31 @@
|
|
|
23755
24258
|
"type" : "object"
|
|
23756
24259
|
},
|
|
23757
24260
|
"ScheduledTaskRunTrigger" : {
|
|
23758
|
-
"description" : "The
|
|
24261
|
+
"description" : "The external event that triggered a run: a GitLab mention (`source: gitlab`, GitLab fields set) or a webhook call (`source: webhook`: `thread`, `contentType`, `payload`).",
|
|
23759
24262
|
"properties" : {
|
|
23760
24263
|
"eventId" : {
|
|
23761
24264
|
"type" : "string"
|
|
23762
24265
|
},
|
|
23763
24266
|
"source" : {
|
|
23764
|
-
"enum" : [ "gitlab" ],
|
|
24267
|
+
"enum" : [ "gitlab", "webhook" ],
|
|
24268
|
+
"type" : "string"
|
|
24269
|
+
},
|
|
24270
|
+
"thread" : {
|
|
24271
|
+
"description" : "webhook only — the `X-Breign-Thread` of the call.",
|
|
24272
|
+
"nullable" : true,
|
|
23765
24273
|
"type" : "string"
|
|
23766
24274
|
},
|
|
24275
|
+
"contentType" : {
|
|
24276
|
+
"description" : "webhook only.",
|
|
24277
|
+
"type" : "string"
|
|
24278
|
+
},
|
|
24279
|
+
"payload" : {
|
|
24280
|
+
"description" : "webhook only — the body received (untrusted caller data), or its start as text."
|
|
24281
|
+
},
|
|
24282
|
+
"payloadTruncated" : {
|
|
24283
|
+
"description" : "webhook only.",
|
|
24284
|
+
"type" : "boolean"
|
|
24285
|
+
},
|
|
23767
24286
|
"status" : {
|
|
23768
24287
|
"$ref" : "#/components/schemas/ExternalEventStatus"
|
|
23769
24288
|
},
|
|
@@ -23820,75 +24339,206 @@
|
|
|
23820
24339
|
"type" : "string"
|
|
23821
24340
|
}
|
|
23822
24341
|
},
|
|
23823
|
-
"required" : [ "
|
|
24342
|
+
"required" : [ "conversationId", "eventId", "receivedAt", "source", "status" ],
|
|
23824
24343
|
"type" : "object"
|
|
23825
24344
|
},
|
|
23826
|
-
"
|
|
24345
|
+
"WebhookEndpoint" : {
|
|
24346
|
+
"description" : "The public address of an automation triggered by a webhook. Callers POST to `url` with `Authorization: Bearer <secret>`, or sign the raw body with HMAC-SHA256 (`X-Breign-Signature: sha256=<hex>`; with `X-Breign-Timestamp: <unix seconds>` the signature covers `<timestamp>.<body>`). Optional headers: `Idempotency-Key`, `X-Breign-Thread`.",
|
|
23827
24347
|
"properties" : {
|
|
23828
24348
|
"id" : {
|
|
23829
24349
|
"type" : "string"
|
|
23830
24350
|
},
|
|
23831
|
-
"
|
|
24351
|
+
"url" : {
|
|
23832
24352
|
"type" : "string"
|
|
23833
24353
|
},
|
|
23834
|
-
"
|
|
24354
|
+
"status" : {
|
|
24355
|
+
"enum" : [ "active", "disabled" ],
|
|
23835
24356
|
"type" : "string"
|
|
23836
24357
|
},
|
|
23837
|
-
"
|
|
24358
|
+
"runAsUserId" : {
|
|
24359
|
+
"description" : "The organization member the conversations run as (user-scoped MCP tools, quotas, history).",
|
|
23838
24360
|
"type" : "string"
|
|
23839
24361
|
},
|
|
23840
|
-
"
|
|
24362
|
+
"lastEventAt" : {
|
|
24363
|
+
"format" : "date-time",
|
|
24364
|
+
"nullable" : true,
|
|
23841
24365
|
"type" : "string"
|
|
23842
24366
|
},
|
|
23843
|
-
"
|
|
23844
|
-
"
|
|
23845
|
-
},
|
|
23846
|
-
"voiceId" : {
|
|
24367
|
+
"createdAt" : {
|
|
24368
|
+
"format" : "date-time",
|
|
23847
24369
|
"type" : "string"
|
|
23848
24370
|
},
|
|
23849
|
-
"
|
|
24371
|
+
"updatedAt" : {
|
|
24372
|
+
"format" : "date-time",
|
|
23850
24373
|
"type" : "string"
|
|
23851
24374
|
},
|
|
23852
|
-
"
|
|
23853
|
-
"
|
|
24375
|
+
"secret" : {
|
|
24376
|
+
"description" : "Only returned when the endpoint is created and after a rotation.",
|
|
24377
|
+
"type" : "string"
|
|
24378
|
+
}
|
|
24379
|
+
},
|
|
24380
|
+
"required" : [ "createdAt", "id", "lastEventAt", "runAsUserId", "status", "updatedAt", "url" ],
|
|
24381
|
+
"type" : "object"
|
|
24382
|
+
},
|
|
24383
|
+
"WebhookEndpointUpdate" : {
|
|
24384
|
+
"minProperties" : 1,
|
|
24385
|
+
"properties" : {
|
|
24386
|
+
"runAsUserId" : {
|
|
24387
|
+
"description" : "Another member than the caller requires an organization admin.",
|
|
24388
|
+
"type" : "string"
|
|
23854
24389
|
},
|
|
23855
|
-
"
|
|
24390
|
+
"status" : {
|
|
24391
|
+
"enum" : [ "active", "disabled" ],
|
|
23856
24392
|
"type" : "string"
|
|
23857
24393
|
}
|
|
23858
24394
|
},
|
|
23859
|
-
"required" : [ "agentId", "authSecret", "connected", "id", "name", "streamingEnabled", "voiceId", "voiceModelId" ],
|
|
23860
24395
|
"type" : "object"
|
|
23861
24396
|
},
|
|
23862
|
-
"
|
|
24397
|
+
"WebhookEventList" : {
|
|
23863
24398
|
"properties" : {
|
|
23864
|
-
"
|
|
24399
|
+
"events" : {
|
|
24400
|
+
"items" : {
|
|
24401
|
+
"$ref" : "#/components/schemas/WebhookEvent"
|
|
24402
|
+
},
|
|
24403
|
+
"type" : "array"
|
|
24404
|
+
}
|
|
24405
|
+
},
|
|
24406
|
+
"required" : [ "events" ],
|
|
24407
|
+
"type" : "object"
|
|
24408
|
+
},
|
|
24409
|
+
"WebhookEvent" : {
|
|
24410
|
+
"description" : "A call received on the webhook, and where it is in the queue.",
|
|
24411
|
+
"properties" : {
|
|
24412
|
+
"id" : {
|
|
23865
24413
|
"type" : "string"
|
|
23866
24414
|
},
|
|
23867
|
-
"
|
|
24415
|
+
"status" : {
|
|
24416
|
+
"$ref" : "#/components/schemas/ExternalEventStatus"
|
|
24417
|
+
},
|
|
24418
|
+
"receivedAt" : {
|
|
24419
|
+
"format" : "date-time",
|
|
23868
24420
|
"type" : "string"
|
|
23869
24421
|
},
|
|
23870
|
-
"
|
|
24422
|
+
"finishedAt" : {
|
|
24423
|
+
"format" : "date-time",
|
|
24424
|
+
"nullable" : true,
|
|
23871
24425
|
"type" : "string"
|
|
23872
24426
|
},
|
|
23873
|
-
"
|
|
23874
|
-
"type" : "
|
|
24427
|
+
"attempts" : {
|
|
24428
|
+
"type" : "integer"
|
|
23875
24429
|
},
|
|
23876
|
-
"
|
|
24430
|
+
"lastError" : {
|
|
24431
|
+
"nullable" : true,
|
|
23877
24432
|
"type" : "string"
|
|
23878
24433
|
},
|
|
23879
|
-
"
|
|
24434
|
+
"thread" : {
|
|
24435
|
+
"nullable" : true,
|
|
23880
24436
|
"type" : "string"
|
|
23881
24437
|
},
|
|
23882
|
-
"
|
|
24438
|
+
"contentType" : {
|
|
23883
24439
|
"type" : "string"
|
|
23884
24440
|
},
|
|
23885
|
-
"
|
|
24441
|
+
"runId" : {
|
|
24442
|
+
"nullable" : true,
|
|
23886
24443
|
"type" : "string"
|
|
23887
24444
|
},
|
|
23888
|
-
"
|
|
24445
|
+
"conversationId" : {
|
|
24446
|
+
"nullable" : true,
|
|
23889
24447
|
"type" : "string"
|
|
24448
|
+
}
|
|
24449
|
+
},
|
|
24450
|
+
"required" : [ "attempts", "contentType", "conversationId", "finishedAt", "id", "lastError", "receivedAt", "runId", "status", "thread" ],
|
|
24451
|
+
"type" : "object"
|
|
24452
|
+
},
|
|
24453
|
+
"WebhookTestRequest" : {
|
|
24454
|
+
"properties" : {
|
|
24455
|
+
"body" : {
|
|
24456
|
+
"description" : "The JSON body of the test call (default `{\"test\": true}`)."
|
|
23890
24457
|
},
|
|
23891
|
-
"
|
|
24458
|
+
"thread" : {
|
|
24459
|
+
"description" : "Sent as `X-Breign-Thread`.",
|
|
24460
|
+
"maxLength" : 200,
|
|
24461
|
+
"type" : "string"
|
|
24462
|
+
}
|
|
24463
|
+
},
|
|
24464
|
+
"type" : "object"
|
|
24465
|
+
},
|
|
24466
|
+
"WebhookTestResponse" : {
|
|
24467
|
+
"properties" : {
|
|
24468
|
+
"eventId" : {
|
|
24469
|
+
"nullable" : true,
|
|
24470
|
+
"type" : "string"
|
|
24471
|
+
}
|
|
24472
|
+
},
|
|
24473
|
+
"required" : [ "eventId" ],
|
|
24474
|
+
"type" : "object"
|
|
24475
|
+
},
|
|
24476
|
+
"AppLight" : {
|
|
24477
|
+
"properties" : {
|
|
24478
|
+
"id" : {
|
|
24479
|
+
"type" : "string"
|
|
24480
|
+
},
|
|
24481
|
+
"name" : {
|
|
24482
|
+
"type" : "string"
|
|
24483
|
+
},
|
|
24484
|
+
"description" : {
|
|
24485
|
+
"type" : "string"
|
|
24486
|
+
},
|
|
24487
|
+
"agentId" : {
|
|
24488
|
+
"type" : "string"
|
|
24489
|
+
},
|
|
24490
|
+
"authSecret" : {
|
|
24491
|
+
"type" : "string"
|
|
24492
|
+
},
|
|
24493
|
+
"streamingEnabled" : {
|
|
24494
|
+
"type" : "boolean"
|
|
24495
|
+
},
|
|
24496
|
+
"voiceId" : {
|
|
24497
|
+
"type" : "string"
|
|
24498
|
+
},
|
|
24499
|
+
"voiceModelId" : {
|
|
24500
|
+
"type" : "string"
|
|
24501
|
+
},
|
|
24502
|
+
"connected" : {
|
|
24503
|
+
"type" : "boolean"
|
|
24504
|
+
},
|
|
24505
|
+
"profilePicture" : {
|
|
24506
|
+
"type" : "string"
|
|
24507
|
+
}
|
|
24508
|
+
},
|
|
24509
|
+
"required" : [ "agentId", "authSecret", "connected", "id", "name", "streamingEnabled", "voiceId", "voiceModelId" ],
|
|
24510
|
+
"type" : "object"
|
|
24511
|
+
},
|
|
24512
|
+
"AppCreateRequest" : {
|
|
24513
|
+
"properties" : {
|
|
24514
|
+
"name" : {
|
|
24515
|
+
"type" : "string"
|
|
24516
|
+
},
|
|
24517
|
+
"description" : {
|
|
24518
|
+
"type" : "string"
|
|
24519
|
+
},
|
|
24520
|
+
"agentId" : {
|
|
24521
|
+
"type" : "string"
|
|
24522
|
+
},
|
|
24523
|
+
"streamingEnabled" : {
|
|
24524
|
+
"type" : "boolean"
|
|
24525
|
+
},
|
|
24526
|
+
"voiceProvider" : {
|
|
24527
|
+
"type" : "string"
|
|
24528
|
+
},
|
|
24529
|
+
"voiceProviderApiKey" : {
|
|
24530
|
+
"type" : "string"
|
|
24531
|
+
},
|
|
24532
|
+
"voiceProviderOrganization" : {
|
|
24533
|
+
"type" : "string"
|
|
24534
|
+
},
|
|
24535
|
+
"voiceId" : {
|
|
24536
|
+
"type" : "string"
|
|
24537
|
+
},
|
|
24538
|
+
"voiceModelId" : {
|
|
24539
|
+
"type" : "string"
|
|
24540
|
+
},
|
|
24541
|
+
"speechToText" : {
|
|
23892
24542
|
"$ref" : "#/components/schemas/SpeechToTextConfig"
|
|
23893
24543
|
},
|
|
23894
24544
|
"lipsync" : {
|
|
@@ -31788,6 +32438,323 @@
|
|
|
31788
32438
|
"required" : [ "assignees", "description", "priority", "reviewer", "startMode", "title", "workspacePaths" ],
|
|
31789
32439
|
"type" : "object"
|
|
31790
32440
|
},
|
|
32441
|
+
"AutomationTriggerKind" : {
|
|
32442
|
+
"description" : "What starts the automation, as shown in lists — its schedule, a GitLab mention, or its webhook.",
|
|
32443
|
+
"enum" : [ "schedule", "gitlab", "webhook" ],
|
|
32444
|
+
"type" : "string"
|
|
32445
|
+
},
|
|
32446
|
+
"AutomationList" : {
|
|
32447
|
+
"properties" : {
|
|
32448
|
+
"items" : {
|
|
32449
|
+
"items" : {
|
|
32450
|
+
"$ref" : "#/components/schemas/AutomationSummary"
|
|
32451
|
+
},
|
|
32452
|
+
"type" : "array"
|
|
32453
|
+
},
|
|
32454
|
+
"total" : {
|
|
32455
|
+
"type" : "integer"
|
|
32456
|
+
},
|
|
32457
|
+
"stats" : {
|
|
32458
|
+
"$ref" : "#/components/schemas/AutomationStats"
|
|
32459
|
+
}
|
|
32460
|
+
},
|
|
32461
|
+
"required" : [ "items", "stats", "total" ],
|
|
32462
|
+
"type" : "object"
|
|
32463
|
+
},
|
|
32464
|
+
"AutomationSummary" : {
|
|
32465
|
+
"properties" : {
|
|
32466
|
+
"id" : {
|
|
32467
|
+
"type" : "string"
|
|
32468
|
+
},
|
|
32469
|
+
"name" : {
|
|
32470
|
+
"nullable" : true,
|
|
32471
|
+
"type" : "string"
|
|
32472
|
+
},
|
|
32473
|
+
"message" : {
|
|
32474
|
+
"type" : "string"
|
|
32475
|
+
},
|
|
32476
|
+
"agentId" : {
|
|
32477
|
+
"type" : "string"
|
|
32478
|
+
},
|
|
32479
|
+
"agentName" : {
|
|
32480
|
+
"nullable" : true,
|
|
32481
|
+
"type" : "string"
|
|
32482
|
+
},
|
|
32483
|
+
"mode" : {
|
|
32484
|
+
"enum" : [ "once", "recurring" ],
|
|
32485
|
+
"type" : "string"
|
|
32486
|
+
},
|
|
32487
|
+
"status" : {
|
|
32488
|
+
"enum" : [ "active", "paused", "done" ],
|
|
32489
|
+
"type" : "string"
|
|
32490
|
+
},
|
|
32491
|
+
"trigger" : {
|
|
32492
|
+
"$ref" : "#/components/schemas/AutomationTriggerKind"
|
|
32493
|
+
},
|
|
32494
|
+
"schedule" : {
|
|
32495
|
+
"allOf" : [ {
|
|
32496
|
+
"$ref" : "#/components/schemas/TaskSchedule"
|
|
32497
|
+
} ],
|
|
32498
|
+
"nullable" : true
|
|
32499
|
+
},
|
|
32500
|
+
"timezone" : {
|
|
32501
|
+
"type" : "string"
|
|
32502
|
+
},
|
|
32503
|
+
"nextRunAt" : {
|
|
32504
|
+
"format" : "date-time",
|
|
32505
|
+
"nullable" : true,
|
|
32506
|
+
"type" : "string"
|
|
32507
|
+
},
|
|
32508
|
+
"callbackUrl" : {
|
|
32509
|
+
"nullable" : true,
|
|
32510
|
+
"type" : "string"
|
|
32511
|
+
},
|
|
32512
|
+
"lastRun" : {
|
|
32513
|
+
"allOf" : [ {
|
|
32514
|
+
"$ref" : "#/components/schemas/AutomationLastRun"
|
|
32515
|
+
} ],
|
|
32516
|
+
"nullable" : true
|
|
32517
|
+
},
|
|
32518
|
+
"days" : {
|
|
32519
|
+
"description" : "The last 7 UTC days, oldest first.",
|
|
32520
|
+
"items" : {
|
|
32521
|
+
"$ref" : "#/components/schemas/AutomationDayCount"
|
|
32522
|
+
},
|
|
32523
|
+
"type" : "array"
|
|
32524
|
+
},
|
|
32525
|
+
"runs7d" : {
|
|
32526
|
+
"type" : "integer"
|
|
32527
|
+
}
|
|
32528
|
+
},
|
|
32529
|
+
"required" : [ "agentId", "agentName", "callbackUrl", "days", "id", "lastRun", "message", "mode", "name", "nextRunAt", "runs7d", "schedule", "status", "timezone", "trigger" ],
|
|
32530
|
+
"type" : "object"
|
|
32531
|
+
},
|
|
32532
|
+
"AutomationLastRun" : {
|
|
32533
|
+
"properties" : {
|
|
32534
|
+
"id" : {
|
|
32535
|
+
"type" : "string"
|
|
32536
|
+
},
|
|
32537
|
+
"status" : {
|
|
32538
|
+
"$ref" : "#/components/schemas/AutomationRunOutcome"
|
|
32539
|
+
},
|
|
32540
|
+
"triggeredAt" : {
|
|
32541
|
+
"format" : "date-time",
|
|
32542
|
+
"type" : "string"
|
|
32543
|
+
},
|
|
32544
|
+
"finishedAt" : {
|
|
32545
|
+
"format" : "date-time",
|
|
32546
|
+
"nullable" : true,
|
|
32547
|
+
"type" : "string"
|
|
32548
|
+
}
|
|
32549
|
+
},
|
|
32550
|
+
"required" : [ "finishedAt", "id", "status", "triggeredAt" ],
|
|
32551
|
+
"type" : "object"
|
|
32552
|
+
},
|
|
32553
|
+
"AutomationRunOutcome" : {
|
|
32554
|
+
"enum" : [ "success", "error", "running" ],
|
|
32555
|
+
"type" : "string"
|
|
32556
|
+
},
|
|
32557
|
+
"AutomationDayCount" : {
|
|
32558
|
+
"properties" : {
|
|
32559
|
+
"date" : {
|
|
32560
|
+
"description" : "UTC day, YYYY-MM-DD.",
|
|
32561
|
+
"type" : "string"
|
|
32562
|
+
},
|
|
32563
|
+
"success" : {
|
|
32564
|
+
"type" : "integer"
|
|
32565
|
+
},
|
|
32566
|
+
"error" : {
|
|
32567
|
+
"type" : "integer"
|
|
32568
|
+
}
|
|
32569
|
+
},
|
|
32570
|
+
"required" : [ "date", "error", "success" ],
|
|
32571
|
+
"type" : "object"
|
|
32572
|
+
},
|
|
32573
|
+
"AutomationStats" : {
|
|
32574
|
+
"properties" : {
|
|
32575
|
+
"active" : {
|
|
32576
|
+
"type" : "integer"
|
|
32577
|
+
},
|
|
32578
|
+
"event" : {
|
|
32579
|
+
"description" : "Active automations triggered by a GitLab mention or a webhook.",
|
|
32580
|
+
"type" : "integer"
|
|
32581
|
+
},
|
|
32582
|
+
"runs24h" : {
|
|
32583
|
+
"type" : "integer"
|
|
32584
|
+
},
|
|
32585
|
+
"runs7d" : {
|
|
32586
|
+
"type" : "integer"
|
|
32587
|
+
},
|
|
32588
|
+
"failures7d" : {
|
|
32589
|
+
"type" : "integer"
|
|
32590
|
+
},
|
|
32591
|
+
"pending" : {
|
|
32592
|
+
"description" : "Mentions and webhook calls of the organization not handled yet.",
|
|
32593
|
+
"type" : "integer"
|
|
32594
|
+
}
|
|
32595
|
+
},
|
|
32596
|
+
"required" : [ "active", "event", "failures7d", "pending", "runs24h", "runs7d" ],
|
|
32597
|
+
"type" : "object"
|
|
32598
|
+
},
|
|
32599
|
+
"AutomationRunList" : {
|
|
32600
|
+
"properties" : {
|
|
32601
|
+
"runs" : {
|
|
32602
|
+
"items" : {
|
|
32603
|
+
"$ref" : "#/components/schemas/AutomationRun"
|
|
32604
|
+
},
|
|
32605
|
+
"type" : "array"
|
|
32606
|
+
},
|
|
32607
|
+
"nextBefore" : {
|
|
32608
|
+
"description" : "Pass as `before` to get the next page; null on the last one.",
|
|
32609
|
+
"format" : "date-time",
|
|
32610
|
+
"nullable" : true,
|
|
32611
|
+
"type" : "string"
|
|
32612
|
+
}
|
|
32613
|
+
},
|
|
32614
|
+
"required" : [ "nextBefore", "runs" ],
|
|
32615
|
+
"type" : "object"
|
|
32616
|
+
},
|
|
32617
|
+
"AutomationRun" : {
|
|
32618
|
+
"properties" : {
|
|
32619
|
+
"id" : {
|
|
32620
|
+
"type" : "string"
|
|
32621
|
+
},
|
|
32622
|
+
"taskId" : {
|
|
32623
|
+
"type" : "string"
|
|
32624
|
+
},
|
|
32625
|
+
"taskName" : {
|
|
32626
|
+
"nullable" : true,
|
|
32627
|
+
"type" : "string"
|
|
32628
|
+
},
|
|
32629
|
+
"agentId" : {
|
|
32630
|
+
"type" : "string"
|
|
32631
|
+
},
|
|
32632
|
+
"agentName" : {
|
|
32633
|
+
"nullable" : true,
|
|
32634
|
+
"type" : "string"
|
|
32635
|
+
},
|
|
32636
|
+
"status" : {
|
|
32637
|
+
"$ref" : "#/components/schemas/AutomationRunOutcome"
|
|
32638
|
+
},
|
|
32639
|
+
"triggeredAt" : {
|
|
32640
|
+
"format" : "date-time",
|
|
32641
|
+
"type" : "string"
|
|
32642
|
+
},
|
|
32643
|
+
"startedAt" : {
|
|
32644
|
+
"format" : "date-time",
|
|
32645
|
+
"nullable" : true,
|
|
32646
|
+
"type" : "string"
|
|
32647
|
+
},
|
|
32648
|
+
"finishedAt" : {
|
|
32649
|
+
"format" : "date-time",
|
|
32650
|
+
"nullable" : true,
|
|
32651
|
+
"type" : "string"
|
|
32652
|
+
},
|
|
32653
|
+
"durationMs" : {
|
|
32654
|
+
"nullable" : true,
|
|
32655
|
+
"type" : "integer"
|
|
32656
|
+
},
|
|
32657
|
+
"conversationId" : {
|
|
32658
|
+
"nullable" : true,
|
|
32659
|
+
"type" : "string"
|
|
32660
|
+
},
|
|
32661
|
+
"trigger" : {
|
|
32662
|
+
"$ref" : "#/components/schemas/AutomationTriggerKind"
|
|
32663
|
+
},
|
|
32664
|
+
"source" : {
|
|
32665
|
+
"$ref" : "#/components/schemas/AutomationRunSource"
|
|
32666
|
+
},
|
|
32667
|
+
"delivery" : {
|
|
32668
|
+
"$ref" : "#/components/schemas/AutomationRunDelivery"
|
|
32669
|
+
},
|
|
32670
|
+
"reply" : {
|
|
32671
|
+
"description" : "Start of the agent answer (500 characters at most).",
|
|
32672
|
+
"nullable" : true,
|
|
32673
|
+
"type" : "string"
|
|
32674
|
+
},
|
|
32675
|
+
"error" : {
|
|
32676
|
+
"nullable" : true,
|
|
32677
|
+
"type" : "string"
|
|
32678
|
+
}
|
|
32679
|
+
},
|
|
32680
|
+
"required" : [ "agentId", "agentName", "conversationId", "delivery", "durationMs", "error", "finishedAt", "id", "reply", "source", "startedAt", "status", "taskId", "taskName", "trigger", "triggeredAt" ],
|
|
32681
|
+
"type" : "object"
|
|
32682
|
+
},
|
|
32683
|
+
"AutomationRunSource" : {
|
|
32684
|
+
"description" : "What triggered the run. `schedule`: `schedule`, `timezone`, `mode`. `gitlab`: `author`, `authorUsername`, `ref`, `title`, `url`, `text` (untrusted user content). `webhook`: `thread`, `contentType`.",
|
|
32685
|
+
"properties" : {
|
|
32686
|
+
"kind" : {
|
|
32687
|
+
"$ref" : "#/components/schemas/AutomationTriggerKind"
|
|
32688
|
+
},
|
|
32689
|
+
"schedule" : {
|
|
32690
|
+
"allOf" : [ {
|
|
32691
|
+
"$ref" : "#/components/schemas/TaskSchedule"
|
|
32692
|
+
} ],
|
|
32693
|
+
"nullable" : true
|
|
32694
|
+
},
|
|
32695
|
+
"timezone" : {
|
|
32696
|
+
"type" : "string"
|
|
32697
|
+
},
|
|
32698
|
+
"mode" : {
|
|
32699
|
+
"enum" : [ "once", "recurring" ],
|
|
32700
|
+
"type" : "string"
|
|
32701
|
+
},
|
|
32702
|
+
"author" : {
|
|
32703
|
+
"type" : "string"
|
|
32704
|
+
},
|
|
32705
|
+
"authorUsername" : {
|
|
32706
|
+
"type" : "string"
|
|
32707
|
+
},
|
|
32708
|
+
"ref" : {
|
|
32709
|
+
"type" : "string"
|
|
32710
|
+
},
|
|
32711
|
+
"title" : {
|
|
32712
|
+
"nullable" : true,
|
|
32713
|
+
"type" : "string"
|
|
32714
|
+
},
|
|
32715
|
+
"url" : {
|
|
32716
|
+
"nullable" : true,
|
|
32717
|
+
"type" : "string"
|
|
32718
|
+
},
|
|
32719
|
+
"text" : {
|
|
32720
|
+
"type" : "string"
|
|
32721
|
+
},
|
|
32722
|
+
"thread" : {
|
|
32723
|
+
"nullable" : true,
|
|
32724
|
+
"type" : "string"
|
|
32725
|
+
},
|
|
32726
|
+
"contentType" : {
|
|
32727
|
+
"type" : "string"
|
|
32728
|
+
}
|
|
32729
|
+
},
|
|
32730
|
+
"required" : [ "kind" ],
|
|
32731
|
+
"type" : "object"
|
|
32732
|
+
},
|
|
32733
|
+
"AutomationRunDelivery" : {
|
|
32734
|
+
"description" : "What became of the result — the reply in the GitLab thread, the caller's callback, or nothing.",
|
|
32735
|
+
"properties" : {
|
|
32736
|
+
"kind" : {
|
|
32737
|
+
"enum" : [ "gitlab_reply", "callback", "none" ],
|
|
32738
|
+
"type" : "string"
|
|
32739
|
+
},
|
|
32740
|
+
"eventStatus" : {
|
|
32741
|
+
"allOf" : [ {
|
|
32742
|
+
"$ref" : "#/components/schemas/ExternalEventStatus"
|
|
32743
|
+
} ],
|
|
32744
|
+
"nullable" : true
|
|
32745
|
+
},
|
|
32746
|
+
"url" : {
|
|
32747
|
+
"nullable" : true,
|
|
32748
|
+
"type" : "string"
|
|
32749
|
+
},
|
|
32750
|
+
"error" : {
|
|
32751
|
+
"nullable" : true,
|
|
32752
|
+
"type" : "string"
|
|
32753
|
+
}
|
|
32754
|
+
},
|
|
32755
|
+
"required" : [ "error", "eventStatus", "kind", "url" ],
|
|
32756
|
+
"type" : "object"
|
|
32757
|
+
},
|
|
31791
32758
|
"GitlabIntegration" : {
|
|
31792
32759
|
"description" : "A GitLab instance linked to an organization. Its projects send webhooks to `webhookUrl`.",
|
|
31793
32760
|
"properties" : {
|