@soat/cli 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +16 -58
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import yaml from "js-yaml";
|
|
|
11
11
|
import * as os from "node:os";
|
|
12
12
|
|
|
13
13
|
//#region package.json
|
|
14
|
-
var version = "0.
|
|
14
|
+
var version = "0.12.0";
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -3937,31 +3937,31 @@ var routes = {
|
|
|
3937
3937
|
"list-webhooks": {
|
|
3938
3938
|
serviceClass: "Webhooks",
|
|
3939
3939
|
operationId: "listWebhooks",
|
|
3940
|
-
description: "Lists
|
|
3940
|
+
description: "Lists webhooks. Use the project_id query parameter to filter by project.",
|
|
3941
3941
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/webhooks",
|
|
3942
|
-
pathParams: [
|
|
3943
|
-
queryParams: [],
|
|
3942
|
+
pathParams: [],
|
|
3943
|
+
queryParams: ["project_id"],
|
|
3944
3944
|
flags: [{
|
|
3945
3945
|
"name": "project_id",
|
|
3946
3946
|
"description": "",
|
|
3947
|
-
"required":
|
|
3947
|
+
"required": false,
|
|
3948
3948
|
"type": "string",
|
|
3949
|
-
"in": "
|
|
3949
|
+
"in": "query"
|
|
3950
3950
|
}]
|
|
3951
3951
|
},
|
|
3952
3952
|
"create-webhook": {
|
|
3953
3953
|
serviceClass: "Webhooks",
|
|
3954
3954
|
operationId: "createWebhook",
|
|
3955
|
-
description: "Creates a new webhook for
|
|
3955
|
+
description: "Creates a new webhook for a project",
|
|
3956
3956
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/webhooks",
|
|
3957
|
-
pathParams: [
|
|
3957
|
+
pathParams: [],
|
|
3958
3958
|
queryParams: [],
|
|
3959
3959
|
flags: [{
|
|
3960
3960
|
"name": "project_id",
|
|
3961
3961
|
"description": "",
|
|
3962
3962
|
"required": true,
|
|
3963
3963
|
"type": "string",
|
|
3964
|
-
"in": "
|
|
3964
|
+
"in": "body"
|
|
3965
3965
|
}, {
|
|
3966
3966
|
"name": "name",
|
|
3967
3967
|
"description": "",
|
|
@@ -3999,15 +3999,9 @@ var routes = {
|
|
|
3999
3999
|
operationId: "getWebhook",
|
|
4000
4000
|
description: "Retrieves the details of a specific webhook",
|
|
4001
4001
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/webhooks",
|
|
4002
|
-
pathParams: ["
|
|
4002
|
+
pathParams: ["webhook_id"],
|
|
4003
4003
|
queryParams: [],
|
|
4004
4004
|
flags: [{
|
|
4005
|
-
"name": "project_id",
|
|
4006
|
-
"description": "",
|
|
4007
|
-
"required": true,
|
|
4008
|
-
"type": "string",
|
|
4009
|
-
"in": "path"
|
|
4010
|
-
}, {
|
|
4011
4005
|
"name": "webhook_id",
|
|
4012
4006
|
"description": "",
|
|
4013
4007
|
"required": true,
|
|
@@ -4020,15 +4014,9 @@ var routes = {
|
|
|
4020
4014
|
operationId: "updateWebhook",
|
|
4021
4015
|
description: "Updates an existing webhook's configuration",
|
|
4022
4016
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/webhooks",
|
|
4023
|
-
pathParams: ["
|
|
4017
|
+
pathParams: ["webhook_id"],
|
|
4024
4018
|
queryParams: [],
|
|
4025
4019
|
flags: [{
|
|
4026
|
-
"name": "project_id",
|
|
4027
|
-
"description": "",
|
|
4028
|
-
"required": true,
|
|
4029
|
-
"type": "string",
|
|
4030
|
-
"in": "path"
|
|
4031
|
-
}, {
|
|
4032
4020
|
"name": "webhook_id",
|
|
4033
4021
|
"description": "",
|
|
4034
4022
|
"required": true,
|
|
@@ -4077,15 +4065,9 @@ var routes = {
|
|
|
4077
4065
|
operationId: "deleteWebhook",
|
|
4078
4066
|
description: "Deletes a webhook and stops all event deliveries",
|
|
4079
4067
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/webhooks",
|
|
4080
|
-
pathParams: ["
|
|
4068
|
+
pathParams: ["webhook_id"],
|
|
4081
4069
|
queryParams: [],
|
|
4082
4070
|
flags: [{
|
|
4083
|
-
"name": "project_id",
|
|
4084
|
-
"description": "",
|
|
4085
|
-
"required": true,
|
|
4086
|
-
"type": "string",
|
|
4087
|
-
"in": "path"
|
|
4088
|
-
}, {
|
|
4089
4071
|
"name": "webhook_id",
|
|
4090
4072
|
"description": "",
|
|
4091
4073
|
"required": true,
|
|
@@ -4098,15 +4080,9 @@ var routes = {
|
|
|
4098
4080
|
operationId: "listWebhookDeliveries",
|
|
4099
4081
|
description: "Lists all event deliveries for a specific webhook",
|
|
4100
4082
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/webhooks",
|
|
4101
|
-
pathParams: ["
|
|
4083
|
+
pathParams: ["webhook_id"],
|
|
4102
4084
|
queryParams: ["limit", "offset"],
|
|
4103
4085
|
flags: [{
|
|
4104
|
-
"name": "project_id",
|
|
4105
|
-
"description": "",
|
|
4106
|
-
"required": true,
|
|
4107
|
-
"type": "string",
|
|
4108
|
-
"in": "path"
|
|
4109
|
-
}, {
|
|
4110
4086
|
"name": "webhook_id",
|
|
4111
4087
|
"description": "",
|
|
4112
4088
|
"required": true,
|
|
@@ -4131,15 +4107,9 @@ var routes = {
|
|
|
4131
4107
|
operationId: "getWebhookDelivery",
|
|
4132
4108
|
description: "Retrieves the details of a specific webhook delivery",
|
|
4133
4109
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/webhooks",
|
|
4134
|
-
pathParams: ["
|
|
4110
|
+
pathParams: ["webhook_id", "delivery_id"],
|
|
4135
4111
|
queryParams: [],
|
|
4136
4112
|
flags: [{
|
|
4137
|
-
"name": "project_id",
|
|
4138
|
-
"description": "",
|
|
4139
|
-
"required": true,
|
|
4140
|
-
"type": "string",
|
|
4141
|
-
"in": "path"
|
|
4142
|
-
}, {
|
|
4143
4113
|
"name": "webhook_id",
|
|
4144
4114
|
"description": "",
|
|
4145
4115
|
"required": true,
|
|
@@ -4158,15 +4128,9 @@ var routes = {
|
|
|
4158
4128
|
operationId: "getWebhookSecret",
|
|
4159
4129
|
description: "Retrieves the signing secret for the specified webhook",
|
|
4160
4130
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/webhooks",
|
|
4161
|
-
pathParams: ["
|
|
4131
|
+
pathParams: ["webhook_id"],
|
|
4162
4132
|
queryParams: [],
|
|
4163
4133
|
flags: [{
|
|
4164
|
-
"name": "project_id",
|
|
4165
|
-
"description": "",
|
|
4166
|
-
"required": true,
|
|
4167
|
-
"type": "string",
|
|
4168
|
-
"in": "path"
|
|
4169
|
-
}, {
|
|
4170
4134
|
"name": "webhook_id",
|
|
4171
4135
|
"description": "",
|
|
4172
4136
|
"required": true,
|
|
@@ -4179,15 +4143,9 @@ var routes = {
|
|
|
4179
4143
|
operationId: "rotateWebhookSecret",
|
|
4180
4144
|
description: "Rotates the secret key for the specified webhook",
|
|
4181
4145
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/webhooks",
|
|
4182
|
-
pathParams: ["
|
|
4146
|
+
pathParams: ["webhook_id"],
|
|
4183
4147
|
queryParams: [],
|
|
4184
4148
|
flags: [{
|
|
4185
|
-
"name": "project_id",
|
|
4186
|
-
"description": "",
|
|
4187
|
-
"required": true,
|
|
4188
|
-
"type": "string",
|
|
4189
|
-
"in": "path"
|
|
4190
|
-
}, {
|
|
4191
4149
|
"name": "webhook_id",
|
|
4192
4150
|
"description": "",
|
|
4193
4151
|
"required": true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@inquirer/input": "^5.1.2",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"@ttoss/logger": "^0.8.16",
|
|
9
9
|
"commander": "^15.0.0",
|
|
10
10
|
"js-yaml": "^4.2.0",
|
|
11
|
-
"@soat/sdk": "0.
|
|
11
|
+
"@soat/sdk": "0.12.0"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@ttoss/config": "^1.37.15",
|