@wevion/cli 1.0.3157 → 1.0.3158
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/openapi.json +472 -0
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -227063,6 +227063,478 @@
|
|
|
227063
227063
|
}
|
|
227064
227064
|
}
|
|
227065
227065
|
},
|
|
227066
|
+
"/api/v1/tracker-cloaker/domains/platform-subdomain/config": {
|
|
227067
|
+
"get": {
|
|
227068
|
+
"operationId": "getApiV1TrackerCloakerDomainsPlatformSubdomainConfig",
|
|
227069
|
+
"summary": "Platform subdomain availability",
|
|
227070
|
+
"tags": [
|
|
227071
|
+
"tracker-cloaker"
|
|
227072
|
+
],
|
|
227073
|
+
"description": "Reports whether platform-hosted subdomains are available (base suffix configured) and the base suffix appended to a chosen label.",
|
|
227074
|
+
"parameters": [
|
|
227075
|
+
{
|
|
227076
|
+
"schema": {
|
|
227077
|
+
"format": "uuid",
|
|
227078
|
+
"type": "string"
|
|
227079
|
+
},
|
|
227080
|
+
"in": "header",
|
|
227081
|
+
"name": "x-team-id",
|
|
227082
|
+
"required": false,
|
|
227083
|
+
"description": "Destination workspace team id."
|
|
227084
|
+
}
|
|
227085
|
+
],
|
|
227086
|
+
"security": [
|
|
227087
|
+
{
|
|
227088
|
+
"bearerAuth": []
|
|
227089
|
+
},
|
|
227090
|
+
{
|
|
227091
|
+
"apiKeyAuth": []
|
|
227092
|
+
}
|
|
227093
|
+
],
|
|
227094
|
+
"responses": {
|
|
227095
|
+
"200": {
|
|
227096
|
+
"description": "Successful response",
|
|
227097
|
+
"content": {
|
|
227098
|
+
"application/json": {
|
|
227099
|
+
"schema": {
|
|
227100
|
+
"type": "object",
|
|
227101
|
+
"required": [
|
|
227102
|
+
"available",
|
|
227103
|
+
"base"
|
|
227104
|
+
],
|
|
227105
|
+
"properties": {
|
|
227106
|
+
"available": {
|
|
227107
|
+
"type": "boolean"
|
|
227108
|
+
},
|
|
227109
|
+
"base": {
|
|
227110
|
+
"anyOf": [
|
|
227111
|
+
{
|
|
227112
|
+
"type": "string"
|
|
227113
|
+
},
|
|
227114
|
+
{
|
|
227115
|
+
"type": "null"
|
|
227116
|
+
}
|
|
227117
|
+
]
|
|
227118
|
+
}
|
|
227119
|
+
}
|
|
227120
|
+
}
|
|
227121
|
+
}
|
|
227122
|
+
}
|
|
227123
|
+
},
|
|
227124
|
+
"400": {
|
|
227125
|
+
"description": "Explicit destination workspace required: send the x-team-id header or activate a team scope for this operation.",
|
|
227126
|
+
"content": {
|
|
227127
|
+
"application/json": {
|
|
227128
|
+
"schema": {
|
|
227129
|
+
"description": "Explicit destination workspace required: send the x-team-id header or activate a team scope for this operation.",
|
|
227130
|
+
"additionalProperties": false,
|
|
227131
|
+
"type": "object",
|
|
227132
|
+
"required": [
|
|
227133
|
+
"statusCode",
|
|
227134
|
+
"error",
|
|
227135
|
+
"message"
|
|
227136
|
+
],
|
|
227137
|
+
"properties": {
|
|
227138
|
+
"statusCode": {
|
|
227139
|
+
"type": "number"
|
|
227140
|
+
},
|
|
227141
|
+
"error": {
|
|
227142
|
+
"type": "string"
|
|
227143
|
+
},
|
|
227144
|
+
"message": {
|
|
227145
|
+
"type": "string"
|
|
227146
|
+
},
|
|
227147
|
+
"code": {
|
|
227148
|
+
"type": "string",
|
|
227149
|
+
"enum": [
|
|
227150
|
+
"SCOPE_TEAM_REQUIRED"
|
|
227151
|
+
]
|
|
227152
|
+
}
|
|
227153
|
+
}
|
|
227154
|
+
}
|
|
227155
|
+
}
|
|
227156
|
+
}
|
|
227157
|
+
},
|
|
227158
|
+
"401": {
|
|
227159
|
+
"description": "Unauthorized - missing or invalid bearer token",
|
|
227160
|
+
"content": {
|
|
227161
|
+
"application/json": {
|
|
227162
|
+
"schema": {
|
|
227163
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
227164
|
+
}
|
|
227165
|
+
}
|
|
227166
|
+
}
|
|
227167
|
+
},
|
|
227168
|
+
"403": {
|
|
227169
|
+
"description": "Forbidden - caller lacks the required role/permission",
|
|
227170
|
+
"content": {
|
|
227171
|
+
"application/json": {
|
|
227172
|
+
"schema": {
|
|
227173
|
+
"type": "object",
|
|
227174
|
+
"required": [
|
|
227175
|
+
"statusCode",
|
|
227176
|
+
"error",
|
|
227177
|
+
"message"
|
|
227178
|
+
],
|
|
227179
|
+
"properties": {
|
|
227180
|
+
"statusCode": {
|
|
227181
|
+
"type": "number"
|
|
227182
|
+
},
|
|
227183
|
+
"error": {
|
|
227184
|
+
"type": "string"
|
|
227185
|
+
},
|
|
227186
|
+
"message": {
|
|
227187
|
+
"type": "string"
|
|
227188
|
+
}
|
|
227189
|
+
}
|
|
227190
|
+
}
|
|
227191
|
+
}
|
|
227192
|
+
}
|
|
227193
|
+
}
|
|
227194
|
+
}
|
|
227195
|
+
}
|
|
227196
|
+
},
|
|
227197
|
+
"/api/v1/tracker-cloaker/domains/platform-subdomain": {
|
|
227198
|
+
"post": {
|
|
227199
|
+
"operationId": "postApiV1TrackerCloakerDomainsPlatformSubdomain",
|
|
227200
|
+
"summary": "Claim a platform-hosted subdomain",
|
|
227201
|
+
"tags": [
|
|
227202
|
+
"tracker-cloaker"
|
|
227203
|
+
],
|
|
227204
|
+
"description": "Issues a ready-to-use subdomain under the platform base suffix (e.g. label.wevion.ai) for the team, active immediately with no DNS setup or server IP. The label is validated against a reserved-word list.",
|
|
227205
|
+
"requestBody": {
|
|
227206
|
+
"required": true,
|
|
227207
|
+
"content": {
|
|
227208
|
+
"application/json": {
|
|
227209
|
+
"schema": {
|
|
227210
|
+
"additionalProperties": false,
|
|
227211
|
+
"type": "object",
|
|
227212
|
+
"required": [
|
|
227213
|
+
"label"
|
|
227214
|
+
],
|
|
227215
|
+
"properties": {
|
|
227216
|
+
"label": {
|
|
227217
|
+
"minLength": 3,
|
|
227218
|
+
"maxLength": 63,
|
|
227219
|
+
"type": "string"
|
|
227220
|
+
},
|
|
227221
|
+
"team_id": {
|
|
227222
|
+
"anyOf": [
|
|
227223
|
+
{
|
|
227224
|
+
"format": "uuid",
|
|
227225
|
+
"type": "string"
|
|
227226
|
+
},
|
|
227227
|
+
{
|
|
227228
|
+
"type": "null"
|
|
227229
|
+
}
|
|
227230
|
+
]
|
|
227231
|
+
}
|
|
227232
|
+
}
|
|
227233
|
+
}
|
|
227234
|
+
}
|
|
227235
|
+
}
|
|
227236
|
+
},
|
|
227237
|
+
"parameters": [
|
|
227238
|
+
{
|
|
227239
|
+
"schema": {
|
|
227240
|
+
"format": "uuid",
|
|
227241
|
+
"type": "string"
|
|
227242
|
+
},
|
|
227243
|
+
"in": "header",
|
|
227244
|
+
"name": "x-team-id",
|
|
227245
|
+
"required": false,
|
|
227246
|
+
"description": "Destination workspace team id."
|
|
227247
|
+
}
|
|
227248
|
+
],
|
|
227249
|
+
"security": [
|
|
227250
|
+
{
|
|
227251
|
+
"bearerAuth": []
|
|
227252
|
+
},
|
|
227253
|
+
{
|
|
227254
|
+
"apiKeyAuth": []
|
|
227255
|
+
}
|
|
227256
|
+
],
|
|
227257
|
+
"responses": {
|
|
227258
|
+
"201": {
|
|
227259
|
+
"description": "Resource created",
|
|
227260
|
+
"content": {
|
|
227261
|
+
"application/json": {
|
|
227262
|
+
"schema": {
|
|
227263
|
+
"type": "object",
|
|
227264
|
+
"required": [
|
|
227265
|
+
"id",
|
|
227266
|
+
"teamId",
|
|
227267
|
+
"domain",
|
|
227268
|
+
"importMethod",
|
|
227269
|
+
"status",
|
|
227270
|
+
"zoneId",
|
|
227271
|
+
"nameservers",
|
|
227272
|
+
"serverIp",
|
|
227273
|
+
"expiresAt",
|
|
227274
|
+
"errorMessage",
|
|
227275
|
+
"verificationToken",
|
|
227276
|
+
"verificationRecordName",
|
|
227277
|
+
"verificationRecordValue",
|
|
227278
|
+
"ownershipVerifiedAt",
|
|
227279
|
+
"createdAt"
|
|
227280
|
+
],
|
|
227281
|
+
"properties": {
|
|
227282
|
+
"id": {
|
|
227283
|
+
"format": "uuid",
|
|
227284
|
+
"type": "string"
|
|
227285
|
+
},
|
|
227286
|
+
"teamId": {
|
|
227287
|
+
"format": "uuid",
|
|
227288
|
+
"type": "string"
|
|
227289
|
+
},
|
|
227290
|
+
"domain": {
|
|
227291
|
+
"type": "string"
|
|
227292
|
+
},
|
|
227293
|
+
"importMethod": {
|
|
227294
|
+
"anyOf": [
|
|
227295
|
+
{
|
|
227296
|
+
"type": "string"
|
|
227297
|
+
},
|
|
227298
|
+
{
|
|
227299
|
+
"type": "null"
|
|
227300
|
+
}
|
|
227301
|
+
]
|
|
227302
|
+
},
|
|
227303
|
+
"status": {
|
|
227304
|
+
"type": "string"
|
|
227305
|
+
},
|
|
227306
|
+
"zoneId": {
|
|
227307
|
+
"anyOf": [
|
|
227308
|
+
{
|
|
227309
|
+
"type": "string"
|
|
227310
|
+
},
|
|
227311
|
+
{
|
|
227312
|
+
"type": "null"
|
|
227313
|
+
}
|
|
227314
|
+
]
|
|
227315
|
+
},
|
|
227316
|
+
"nameservers": {
|
|
227317
|
+
"anyOf": [
|
|
227318
|
+
{
|
|
227319
|
+
"$comment": "json-value",
|
|
227320
|
+
"description": "Arbitrary JSON value with nested arrays and objects."
|
|
227321
|
+
},
|
|
227322
|
+
{
|
|
227323
|
+
"type": "null"
|
|
227324
|
+
}
|
|
227325
|
+
]
|
|
227326
|
+
},
|
|
227327
|
+
"serverIp": {
|
|
227328
|
+
"anyOf": [
|
|
227329
|
+
{
|
|
227330
|
+
"type": "string"
|
|
227331
|
+
},
|
|
227332
|
+
{
|
|
227333
|
+
"type": "null"
|
|
227334
|
+
}
|
|
227335
|
+
]
|
|
227336
|
+
},
|
|
227337
|
+
"expiresAt": {
|
|
227338
|
+
"anyOf": [
|
|
227339
|
+
{
|
|
227340
|
+
"format": "date-time",
|
|
227341
|
+
"type": "string"
|
|
227342
|
+
},
|
|
227343
|
+
{
|
|
227344
|
+
"type": "null"
|
|
227345
|
+
}
|
|
227346
|
+
]
|
|
227347
|
+
},
|
|
227348
|
+
"errorMessage": {
|
|
227349
|
+
"anyOf": [
|
|
227350
|
+
{
|
|
227351
|
+
"type": "string"
|
|
227352
|
+
},
|
|
227353
|
+
{
|
|
227354
|
+
"type": "null"
|
|
227355
|
+
}
|
|
227356
|
+
]
|
|
227357
|
+
},
|
|
227358
|
+
"verificationToken": {
|
|
227359
|
+
"type": "string"
|
|
227360
|
+
},
|
|
227361
|
+
"verificationRecordName": {
|
|
227362
|
+
"type": "string"
|
|
227363
|
+
},
|
|
227364
|
+
"verificationRecordValue": {
|
|
227365
|
+
"type": "string"
|
|
227366
|
+
},
|
|
227367
|
+
"ownershipVerifiedAt": {
|
|
227368
|
+
"anyOf": [
|
|
227369
|
+
{
|
|
227370
|
+
"format": "date-time",
|
|
227371
|
+
"type": "string"
|
|
227372
|
+
},
|
|
227373
|
+
{
|
|
227374
|
+
"type": "null"
|
|
227375
|
+
}
|
|
227376
|
+
]
|
|
227377
|
+
},
|
|
227378
|
+
"createdAt": {
|
|
227379
|
+
"format": "date-time",
|
|
227380
|
+
"type": "string"
|
|
227381
|
+
},
|
|
227382
|
+
"campaignCount": {
|
|
227383
|
+
"type": "number"
|
|
227384
|
+
}
|
|
227385
|
+
}
|
|
227386
|
+
}
|
|
227387
|
+
}
|
|
227388
|
+
}
|
|
227389
|
+
},
|
|
227390
|
+
"400": {
|
|
227391
|
+
"description": "Invalid request - schema validation failed",
|
|
227392
|
+
"content": {
|
|
227393
|
+
"application/json": {
|
|
227394
|
+
"schema": {
|
|
227395
|
+
"anyOf": [
|
|
227396
|
+
{
|
|
227397
|
+
"description": "Explicit destination workspace required: send the x-team-id header or activate a team scope for this operation.",
|
|
227398
|
+
"additionalProperties": false,
|
|
227399
|
+
"type": "object",
|
|
227400
|
+
"required": [
|
|
227401
|
+
"statusCode",
|
|
227402
|
+
"error",
|
|
227403
|
+
"message"
|
|
227404
|
+
],
|
|
227405
|
+
"properties": {
|
|
227406
|
+
"statusCode": {
|
|
227407
|
+
"type": "number"
|
|
227408
|
+
},
|
|
227409
|
+
"error": {
|
|
227410
|
+
"type": "string"
|
|
227411
|
+
},
|
|
227412
|
+
"message": {
|
|
227413
|
+
"type": "string"
|
|
227414
|
+
},
|
|
227415
|
+
"code": {
|
|
227416
|
+
"type": "string",
|
|
227417
|
+
"enum": [
|
|
227418
|
+
"SCOPE_TEAM_REQUIRED"
|
|
227419
|
+
]
|
|
227420
|
+
}
|
|
227421
|
+
}
|
|
227422
|
+
},
|
|
227423
|
+
{
|
|
227424
|
+
"type": "object",
|
|
227425
|
+
"required": [
|
|
227426
|
+
"statusCode",
|
|
227427
|
+
"error",
|
|
227428
|
+
"message"
|
|
227429
|
+
],
|
|
227430
|
+
"properties": {
|
|
227431
|
+
"statusCode": {
|
|
227432
|
+
"type": "number"
|
|
227433
|
+
},
|
|
227434
|
+
"error": {
|
|
227435
|
+
"type": "string"
|
|
227436
|
+
},
|
|
227437
|
+
"message": {
|
|
227438
|
+
"type": "string"
|
|
227439
|
+
}
|
|
227440
|
+
}
|
|
227441
|
+
}
|
|
227442
|
+
]
|
|
227443
|
+
}
|
|
227444
|
+
}
|
|
227445
|
+
}
|
|
227446
|
+
},
|
|
227447
|
+
"401": {
|
|
227448
|
+
"description": "Unauthorized - missing or invalid bearer token",
|
|
227449
|
+
"content": {
|
|
227450
|
+
"application/json": {
|
|
227451
|
+
"schema": {
|
|
227452
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
227453
|
+
}
|
|
227454
|
+
}
|
|
227455
|
+
}
|
|
227456
|
+
},
|
|
227457
|
+
"403": {
|
|
227458
|
+
"description": "Forbidden - caller lacks the required role/permission",
|
|
227459
|
+
"content": {
|
|
227460
|
+
"application/json": {
|
|
227461
|
+
"schema": {
|
|
227462
|
+
"type": "object",
|
|
227463
|
+
"required": [
|
|
227464
|
+
"statusCode",
|
|
227465
|
+
"error",
|
|
227466
|
+
"message"
|
|
227467
|
+
],
|
|
227468
|
+
"properties": {
|
|
227469
|
+
"statusCode": {
|
|
227470
|
+
"type": "number"
|
|
227471
|
+
},
|
|
227472
|
+
"error": {
|
|
227473
|
+
"type": "string"
|
|
227474
|
+
},
|
|
227475
|
+
"message": {
|
|
227476
|
+
"type": "string"
|
|
227477
|
+
}
|
|
227478
|
+
}
|
|
227479
|
+
}
|
|
227480
|
+
}
|
|
227481
|
+
}
|
|
227482
|
+
},
|
|
227483
|
+
"409": {
|
|
227484
|
+
"description": "Conflict - resource state prevents the operation",
|
|
227485
|
+
"content": {
|
|
227486
|
+
"application/json": {
|
|
227487
|
+
"schema": {
|
|
227488
|
+
"type": "object",
|
|
227489
|
+
"required": [
|
|
227490
|
+
"statusCode",
|
|
227491
|
+
"error",
|
|
227492
|
+
"message"
|
|
227493
|
+
],
|
|
227494
|
+
"properties": {
|
|
227495
|
+
"statusCode": {
|
|
227496
|
+
"type": "number"
|
|
227497
|
+
},
|
|
227498
|
+
"error": {
|
|
227499
|
+
"type": "string"
|
|
227500
|
+
},
|
|
227501
|
+
"message": {
|
|
227502
|
+
"type": "string"
|
|
227503
|
+
}
|
|
227504
|
+
}
|
|
227505
|
+
}
|
|
227506
|
+
}
|
|
227507
|
+
}
|
|
227508
|
+
},
|
|
227509
|
+
"500": {
|
|
227510
|
+
"description": "Internal server error",
|
|
227511
|
+
"content": {
|
|
227512
|
+
"application/json": {
|
|
227513
|
+
"schema": {
|
|
227514
|
+
"type": "object",
|
|
227515
|
+
"required": [
|
|
227516
|
+
"statusCode",
|
|
227517
|
+
"error",
|
|
227518
|
+
"message"
|
|
227519
|
+
],
|
|
227520
|
+
"properties": {
|
|
227521
|
+
"statusCode": {
|
|
227522
|
+
"type": "number"
|
|
227523
|
+
},
|
|
227524
|
+
"error": {
|
|
227525
|
+
"type": "string"
|
|
227526
|
+
},
|
|
227527
|
+
"message": {
|
|
227528
|
+
"type": "string"
|
|
227529
|
+
}
|
|
227530
|
+
}
|
|
227531
|
+
}
|
|
227532
|
+
}
|
|
227533
|
+
}
|
|
227534
|
+
}
|
|
227535
|
+
}
|
|
227536
|
+
}
|
|
227537
|
+
},
|
|
227066
227538
|
"/api/v1/tracker-cloaker/domains/{id}/verify": {
|
|
227067
227539
|
"post": {
|
|
227068
227540
|
"operationId": "postApiV1TrackerCloakerDomainsByIdVerify",
|