@perpetualsystems/typescript-sdk 0.4.2 → 0.4.3
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/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +1 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/sdk.gen.d.ts +13 -1
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +56 -0
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/spec-source.gen.d.ts +3 -3
- package/dist/generated/spec-source.gen.js +3 -3
- package/dist/generated/types.gen.d.ts +107 -0
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/openapi/openapi.json +422 -0
- package/package.json +1 -1
- package/src/generated/index.ts +2 -2
- package/src/generated/sdk.gen.ts +59 -1
- package/src/generated/spec-source.gen.ts +3 -3
- package/src/generated/types.gen.ts +117 -0
package/openapi/openapi.json
CHANGED
|
@@ -37832,6 +37832,11 @@
|
|
|
37832
37832
|
"name": {
|
|
37833
37833
|
"type": "string"
|
|
37834
37834
|
},
|
|
37835
|
+
"packLinked": {
|
|
37836
|
+
"type": "boolean",
|
|
37837
|
+
"x-filter": false,
|
|
37838
|
+
"x-sort": false
|
|
37839
|
+
},
|
|
37835
37840
|
"parentFolderId": {
|
|
37836
37841
|
"anyOf": [
|
|
37837
37842
|
{
|
|
@@ -38083,6 +38088,19 @@
|
|
|
38083
38088
|
"x-filter": false,
|
|
38084
38089
|
"x-sort": false
|
|
38085
38090
|
},
|
|
38091
|
+
"blockedOnPackReleaseVersion": {
|
|
38092
|
+
"anyOf": [
|
|
38093
|
+
{
|
|
38094
|
+
"exclusiveMinimum": 0,
|
|
38095
|
+
"type": "integer"
|
|
38096
|
+
},
|
|
38097
|
+
{
|
|
38098
|
+
"type": "null"
|
|
38099
|
+
}
|
|
38100
|
+
],
|
|
38101
|
+
"x-filter": false,
|
|
38102
|
+
"x-sort": false
|
|
38103
|
+
},
|
|
38086
38104
|
"changesetId": {
|
|
38087
38105
|
"anyOf": [
|
|
38088
38106
|
{
|
|
@@ -38895,6 +38913,19 @@
|
|
|
38895
38913
|
"x-filter": false,
|
|
38896
38914
|
"x-sort": false
|
|
38897
38915
|
},
|
|
38916
|
+
"blockedOnPackReleaseVersion": {
|
|
38917
|
+
"anyOf": [
|
|
38918
|
+
{
|
|
38919
|
+
"exclusiveMinimum": 0,
|
|
38920
|
+
"type": "integer"
|
|
38921
|
+
},
|
|
38922
|
+
{
|
|
38923
|
+
"type": "null"
|
|
38924
|
+
}
|
|
38925
|
+
],
|
|
38926
|
+
"x-filter": false,
|
|
38927
|
+
"x-sort": false
|
|
38928
|
+
},
|
|
38898
38929
|
"changesetId": {
|
|
38899
38930
|
"anyOf": [
|
|
38900
38931
|
{
|
|
@@ -39424,6 +39455,19 @@
|
|
|
39424
39455
|
"x-filter": false,
|
|
39425
39456
|
"x-sort": false
|
|
39426
39457
|
},
|
|
39458
|
+
"blockedOnPackReleaseVersion": {
|
|
39459
|
+
"anyOf": [
|
|
39460
|
+
{
|
|
39461
|
+
"exclusiveMinimum": 0,
|
|
39462
|
+
"type": "integer"
|
|
39463
|
+
},
|
|
39464
|
+
{
|
|
39465
|
+
"type": "null"
|
|
39466
|
+
}
|
|
39467
|
+
],
|
|
39468
|
+
"x-filter": false,
|
|
39469
|
+
"x-sort": false
|
|
39470
|
+
},
|
|
39427
39471
|
"changesetId": {
|
|
39428
39472
|
"anyOf": [
|
|
39429
39473
|
{
|
|
@@ -39981,6 +40025,19 @@
|
|
|
39981
40025
|
"x-filter": false,
|
|
39982
40026
|
"x-sort": false
|
|
39983
40027
|
},
|
|
40028
|
+
"blockedOnPackReleaseVersion": {
|
|
40029
|
+
"anyOf": [
|
|
40030
|
+
{
|
|
40031
|
+
"exclusiveMinimum": 0,
|
|
40032
|
+
"type": "integer"
|
|
40033
|
+
},
|
|
40034
|
+
{
|
|
40035
|
+
"type": "null"
|
|
40036
|
+
}
|
|
40037
|
+
],
|
|
40038
|
+
"x-filter": false,
|
|
40039
|
+
"x-sort": false
|
|
40040
|
+
},
|
|
39984
40041
|
"changesetId": {
|
|
39985
40042
|
"anyOf": [
|
|
39986
40043
|
{
|
|
@@ -40275,6 +40332,157 @@
|
|
|
40275
40332
|
]
|
|
40276
40333
|
}
|
|
40277
40334
|
},
|
|
40335
|
+
"/org/{orgId}/content-pack-installations/settle-pack-update": {
|
|
40336
|
+
"post": {
|
|
40337
|
+
"description": "Keep local, take the pack version, delete, or detach a linked item. The basis pointer advances and the pending pointer clears together.",
|
|
40338
|
+
"operationId": "contentPackInstallations.settlePackUpdate",
|
|
40339
|
+
"parameters": [
|
|
40340
|
+
{
|
|
40341
|
+
"in": "path",
|
|
40342
|
+
"name": "orgId",
|
|
40343
|
+
"required": true,
|
|
40344
|
+
"schema": {
|
|
40345
|
+
"pattern": "^ORG_[A-Z0-9]{1,7}$",
|
|
40346
|
+
"type": "string"
|
|
40347
|
+
}
|
|
40348
|
+
}
|
|
40349
|
+
],
|
|
40350
|
+
"requestBody": {
|
|
40351
|
+
"content": {
|
|
40352
|
+
"application/json": {
|
|
40353
|
+
"schema": {
|
|
40354
|
+
"anyOf": [
|
|
40355
|
+
{
|
|
40356
|
+
"properties": {
|
|
40357
|
+
"action": {
|
|
40358
|
+
"enum": [
|
|
40359
|
+
"keep-local",
|
|
40360
|
+
"take-pack",
|
|
40361
|
+
"delete",
|
|
40362
|
+
"detach"
|
|
40363
|
+
],
|
|
40364
|
+
"type": "string"
|
|
40365
|
+
},
|
|
40366
|
+
"changesetId": {
|
|
40367
|
+
"pattern": "^CHG_[A-Z0-9]{1,7}$",
|
|
40368
|
+
"type": "string"
|
|
40369
|
+
},
|
|
40370
|
+
"resolvedFields": {
|
|
40371
|
+
"propertyNames": {
|
|
40372
|
+
"type": "string"
|
|
40373
|
+
},
|
|
40374
|
+
"type": "object"
|
|
40375
|
+
},
|
|
40376
|
+
"resourceId": {
|
|
40377
|
+
"type": "string"
|
|
40378
|
+
}
|
|
40379
|
+
},
|
|
40380
|
+
"required": [
|
|
40381
|
+
"changesetId",
|
|
40382
|
+
"resourceId",
|
|
40383
|
+
"action"
|
|
40384
|
+
],
|
|
40385
|
+
"type": "object"
|
|
40386
|
+
},
|
|
40387
|
+
{
|
|
40388
|
+
"properties": {
|
|
40389
|
+
"action": {
|
|
40390
|
+
"const": "resolve-fields"
|
|
40391
|
+
},
|
|
40392
|
+
"changesetId": {
|
|
40393
|
+
"pattern": "^CHG_[A-Z0-9]{1,7}$",
|
|
40394
|
+
"type": "string"
|
|
40395
|
+
},
|
|
40396
|
+
"resolvedFields": {
|
|
40397
|
+
"propertyNames": {
|
|
40398
|
+
"type": "string"
|
|
40399
|
+
},
|
|
40400
|
+
"type": "object"
|
|
40401
|
+
},
|
|
40402
|
+
"resourceId": {
|
|
40403
|
+
"type": "string"
|
|
40404
|
+
}
|
|
40405
|
+
},
|
|
40406
|
+
"required": [
|
|
40407
|
+
"changesetId",
|
|
40408
|
+
"resourceId",
|
|
40409
|
+
"action",
|
|
40410
|
+
"resolvedFields"
|
|
40411
|
+
],
|
|
40412
|
+
"type": "object"
|
|
40413
|
+
}
|
|
40414
|
+
]
|
|
40415
|
+
}
|
|
40416
|
+
}
|
|
40417
|
+
},
|
|
40418
|
+
"required": true
|
|
40419
|
+
},
|
|
40420
|
+
"responses": {
|
|
40421
|
+
"200": {
|
|
40422
|
+
"content": {
|
|
40423
|
+
"application/json": {
|
|
40424
|
+
"schema": {
|
|
40425
|
+
"properties": {
|
|
40426
|
+
"ok": {
|
|
40427
|
+
"const": true
|
|
40428
|
+
}
|
|
40429
|
+
},
|
|
40430
|
+
"required": [
|
|
40431
|
+
"ok"
|
|
40432
|
+
],
|
|
40433
|
+
"type": "object"
|
|
40434
|
+
}
|
|
40435
|
+
}
|
|
40436
|
+
},
|
|
40437
|
+
"description": "OK"
|
|
40438
|
+
},
|
|
40439
|
+
"400": {
|
|
40440
|
+
"content": {
|
|
40441
|
+
"application/json": {
|
|
40442
|
+
"schema": {
|
|
40443
|
+
"$ref": "#/components/schemas/BadRequestError"
|
|
40444
|
+
}
|
|
40445
|
+
}
|
|
40446
|
+
},
|
|
40447
|
+
"description": "400"
|
|
40448
|
+
},
|
|
40449
|
+
"401": {
|
|
40450
|
+
"content": {
|
|
40451
|
+
"application/json": {
|
|
40452
|
+
"schema": {
|
|
40453
|
+
"$ref": "#/components/schemas/UnauthorizedError"
|
|
40454
|
+
}
|
|
40455
|
+
}
|
|
40456
|
+
},
|
|
40457
|
+
"description": "401"
|
|
40458
|
+
},
|
|
40459
|
+
"403": {
|
|
40460
|
+
"content": {
|
|
40461
|
+
"application/json": {
|
|
40462
|
+
"schema": {
|
|
40463
|
+
"$ref": "#/components/schemas/ForbiddenError"
|
|
40464
|
+
}
|
|
40465
|
+
}
|
|
40466
|
+
},
|
|
40467
|
+
"description": "403"
|
|
40468
|
+
},
|
|
40469
|
+
"404": {
|
|
40470
|
+
"content": {
|
|
40471
|
+
"application/json": {
|
|
40472
|
+
"schema": {
|
|
40473
|
+
"$ref": "#/components/schemas/NotFoundError"
|
|
40474
|
+
}
|
|
40475
|
+
}
|
|
40476
|
+
},
|
|
40477
|
+
"description": "404"
|
|
40478
|
+
}
|
|
40479
|
+
},
|
|
40480
|
+
"summary": "Resolve one item in a pack merge changeset",
|
|
40481
|
+
"tags": [
|
|
40482
|
+
"content-pack-installations"
|
|
40483
|
+
]
|
|
40484
|
+
}
|
|
40485
|
+
},
|
|
40278
40486
|
"/org/{orgId}/content-pack-installations/{id}": {
|
|
40279
40487
|
"get": {
|
|
40280
40488
|
"description": "Retrieves a specific content pack installation by its resource ID.",
|
|
@@ -40327,6 +40535,19 @@
|
|
|
40327
40535
|
"x-filter": false,
|
|
40328
40536
|
"x-sort": false
|
|
40329
40537
|
},
|
|
40538
|
+
"blockedOnPackReleaseVersion": {
|
|
40539
|
+
"anyOf": [
|
|
40540
|
+
{
|
|
40541
|
+
"exclusiveMinimum": 0,
|
|
40542
|
+
"type": "integer"
|
|
40543
|
+
},
|
|
40544
|
+
{
|
|
40545
|
+
"type": "null"
|
|
40546
|
+
}
|
|
40547
|
+
],
|
|
40548
|
+
"x-filter": false,
|
|
40549
|
+
"x-sort": false
|
|
40550
|
+
},
|
|
40330
40551
|
"changesetId": {
|
|
40331
40552
|
"anyOf": [
|
|
40332
40553
|
{
|
|
@@ -40644,6 +40865,19 @@
|
|
|
40644
40865
|
"x-filter": false,
|
|
40645
40866
|
"x-sort": false
|
|
40646
40867
|
},
|
|
40868
|
+
"blockedOnPackReleaseVersion": {
|
|
40869
|
+
"anyOf": [
|
|
40870
|
+
{
|
|
40871
|
+
"exclusiveMinimum": 0,
|
|
40872
|
+
"type": "integer"
|
|
40873
|
+
},
|
|
40874
|
+
{
|
|
40875
|
+
"type": "null"
|
|
40876
|
+
}
|
|
40877
|
+
],
|
|
40878
|
+
"x-filter": false,
|
|
40879
|
+
"x-sort": false
|
|
40880
|
+
},
|
|
40647
40881
|
"changesetId": {
|
|
40648
40882
|
"anyOf": [
|
|
40649
40883
|
{
|
|
@@ -40980,6 +41214,19 @@
|
|
|
40980
41214
|
"x-filter": false,
|
|
40981
41215
|
"x-sort": false
|
|
40982
41216
|
},
|
|
41217
|
+
"blockedOnPackReleaseVersion": {
|
|
41218
|
+
"anyOf": [
|
|
41219
|
+
{
|
|
41220
|
+
"exclusiveMinimum": 0,
|
|
41221
|
+
"type": "integer"
|
|
41222
|
+
},
|
|
41223
|
+
{
|
|
41224
|
+
"type": "null"
|
|
41225
|
+
}
|
|
41226
|
+
],
|
|
41227
|
+
"x-filter": false,
|
|
41228
|
+
"x-sort": false
|
|
41229
|
+
},
|
|
40983
41230
|
"changesetId": {
|
|
40984
41231
|
"anyOf": [
|
|
40985
41232
|
{
|
|
@@ -42044,6 +42291,19 @@
|
|
|
42044
42291
|
"x-filter": false,
|
|
42045
42292
|
"x-sort": false
|
|
42046
42293
|
},
|
|
42294
|
+
"blockedOnPackReleaseVersion": {
|
|
42295
|
+
"anyOf": [
|
|
42296
|
+
{
|
|
42297
|
+
"exclusiveMinimum": 0,
|
|
42298
|
+
"type": "integer"
|
|
42299
|
+
},
|
|
42300
|
+
{
|
|
42301
|
+
"type": "null"
|
|
42302
|
+
}
|
|
42303
|
+
],
|
|
42304
|
+
"x-filter": false,
|
|
42305
|
+
"x-sort": false
|
|
42306
|
+
},
|
|
42047
42307
|
"changesetId": {
|
|
42048
42308
|
"anyOf": [
|
|
42049
42309
|
{
|
|
@@ -43963,6 +44223,11 @@
|
|
|
43963
44223
|
"name": {
|
|
43964
44224
|
"type": "string"
|
|
43965
44225
|
},
|
|
44226
|
+
"packLinked": {
|
|
44227
|
+
"type": "boolean",
|
|
44228
|
+
"x-filter": false,
|
|
44229
|
+
"x-sort": false
|
|
44230
|
+
},
|
|
43966
44231
|
"parentFolderId": {
|
|
43967
44232
|
"anyOf": [
|
|
43968
44233
|
{
|
|
@@ -64814,6 +65079,163 @@
|
|
|
64814
65079
|
]
|
|
64815
65080
|
}
|
|
64816
65081
|
},
|
|
65082
|
+
"/org/{orgId}/content/{type}/{id}/edited-pack-fields": {
|
|
65083
|
+
"get": {
|
|
65084
|
+
"description": "Returns the pack-authored fields on this installed resource that differ from the pack version it was last updated from. Empty when it still matches, or when it was not installed from a pack.",
|
|
65085
|
+
"operationId": "content.editedPackFields",
|
|
65086
|
+
"parameters": [
|
|
65087
|
+
{
|
|
65088
|
+
"in": "path",
|
|
65089
|
+
"name": "orgId",
|
|
65090
|
+
"required": true,
|
|
65091
|
+
"schema": {
|
|
65092
|
+
"pattern": "^ORG_[A-Z0-9]{1,7}$",
|
|
65093
|
+
"type": "string"
|
|
65094
|
+
}
|
|
65095
|
+
},
|
|
65096
|
+
{
|
|
65097
|
+
"in": "path",
|
|
65098
|
+
"name": "type",
|
|
65099
|
+
"required": true,
|
|
65100
|
+
"schema": {
|
|
65101
|
+
"enum": [
|
|
65102
|
+
"Folder",
|
|
65103
|
+
"Detection",
|
|
65104
|
+
"Dashboard",
|
|
65105
|
+
"Integration",
|
|
65106
|
+
"Lookup",
|
|
65107
|
+
"WebhookConfig",
|
|
65108
|
+
"HttpToolConfig",
|
|
65109
|
+
"McpConfig",
|
|
65110
|
+
"Skill",
|
|
65111
|
+
"Parser",
|
|
65112
|
+
"Mapper"
|
|
65113
|
+
],
|
|
65114
|
+
"type": "string"
|
|
65115
|
+
}
|
|
65116
|
+
},
|
|
65117
|
+
{
|
|
65118
|
+
"in": "path",
|
|
65119
|
+
"name": "id",
|
|
65120
|
+
"required": true,
|
|
65121
|
+
"schema": {
|
|
65122
|
+
"minLength": 1,
|
|
65123
|
+
"type": "string"
|
|
65124
|
+
}
|
|
65125
|
+
},
|
|
65126
|
+
{
|
|
65127
|
+
"allowEmptyValue": true,
|
|
65128
|
+
"allowReserved": true,
|
|
65129
|
+
"in": "query",
|
|
65130
|
+
"name": "changesetId",
|
|
65131
|
+
"schema": {
|
|
65132
|
+
"description": "Optional changeset ID to view proposed changes",
|
|
65133
|
+
"pattern": "^CHG_[A-Z0-9]{1,7}$",
|
|
65134
|
+
"type": "string"
|
|
65135
|
+
}
|
|
65136
|
+
}
|
|
65137
|
+
],
|
|
65138
|
+
"responses": {
|
|
65139
|
+
"200": {
|
|
65140
|
+
"content": {
|
|
65141
|
+
"application/json": {
|
|
65142
|
+
"schema": {
|
|
65143
|
+
"properties": {
|
|
65144
|
+
"fields": {
|
|
65145
|
+
"items": {
|
|
65146
|
+
"properties": {
|
|
65147
|
+
"basisValue": {
|
|
65148
|
+
"anyOf": [
|
|
65149
|
+
{
|
|
65150
|
+
"type": [
|
|
65151
|
+
"null",
|
|
65152
|
+
"boolean",
|
|
65153
|
+
"object",
|
|
65154
|
+
"array",
|
|
65155
|
+
"number",
|
|
65156
|
+
"string"
|
|
65157
|
+
]
|
|
65158
|
+
},
|
|
65159
|
+
{
|
|
65160
|
+
"type": "null"
|
|
65161
|
+
}
|
|
65162
|
+
]
|
|
65163
|
+
},
|
|
65164
|
+
"fieldName": {
|
|
65165
|
+
"type": "string"
|
|
65166
|
+
},
|
|
65167
|
+
"installedValue": {
|
|
65168
|
+
"anyOf": [
|
|
65169
|
+
{
|
|
65170
|
+
"type": [
|
|
65171
|
+
"null",
|
|
65172
|
+
"boolean",
|
|
65173
|
+
"object",
|
|
65174
|
+
"array",
|
|
65175
|
+
"number",
|
|
65176
|
+
"string"
|
|
65177
|
+
]
|
|
65178
|
+
},
|
|
65179
|
+
{
|
|
65180
|
+
"type": "null"
|
|
65181
|
+
}
|
|
65182
|
+
]
|
|
65183
|
+
}
|
|
65184
|
+
},
|
|
65185
|
+
"required": [
|
|
65186
|
+
"fieldName"
|
|
65187
|
+
],
|
|
65188
|
+
"type": "object"
|
|
65189
|
+
},
|
|
65190
|
+
"type": "array"
|
|
65191
|
+
}
|
|
65192
|
+
},
|
|
65193
|
+
"required": [
|
|
65194
|
+
"fields"
|
|
65195
|
+
],
|
|
65196
|
+
"type": "object"
|
|
65197
|
+
}
|
|
65198
|
+
}
|
|
65199
|
+
},
|
|
65200
|
+
"description": "OK"
|
|
65201
|
+
},
|
|
65202
|
+
"401": {
|
|
65203
|
+
"content": {
|
|
65204
|
+
"application/json": {
|
|
65205
|
+
"schema": {
|
|
65206
|
+
"$ref": "#/components/schemas/UnauthorizedError"
|
|
65207
|
+
}
|
|
65208
|
+
}
|
|
65209
|
+
},
|
|
65210
|
+
"description": "401"
|
|
65211
|
+
},
|
|
65212
|
+
"403": {
|
|
65213
|
+
"content": {
|
|
65214
|
+
"application/json": {
|
|
65215
|
+
"schema": {
|
|
65216
|
+
"$ref": "#/components/schemas/ForbiddenError"
|
|
65217
|
+
}
|
|
65218
|
+
}
|
|
65219
|
+
},
|
|
65220
|
+
"description": "403"
|
|
65221
|
+
},
|
|
65222
|
+
"404": {
|
|
65223
|
+
"content": {
|
|
65224
|
+
"application/json": {
|
|
65225
|
+
"schema": {
|
|
65226
|
+
"$ref": "#/components/schemas/NotFoundError"
|
|
65227
|
+
}
|
|
65228
|
+
}
|
|
65229
|
+
},
|
|
65230
|
+
"description": "404"
|
|
65231
|
+
}
|
|
65232
|
+
},
|
|
65233
|
+
"summary": "Pack fields that differ on an installed resource",
|
|
65234
|
+
"tags": [
|
|
65235
|
+
"content"
|
|
65236
|
+
]
|
|
65237
|
+
}
|
|
65238
|
+
},
|
|
64817
65239
|
"/org/{orgId}/credentials": {
|
|
64818
65240
|
"get": {
|
|
64819
65241
|
"description": "Returns all credentials for the organization",
|