@boboddy/sdk 0.2.8-alpha → 0.2.9-alpha
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/client.js +68 -0
- package/dist/definitions/pipelines/builder-helpers.d.ts +6 -1
- package/dist/definitions/pipelines/index.js +66 -0
- package/dist/definitions/steps/index.js +66 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/sdk.gen.d.ts +17 -1
- package/dist/generated/types.gen.d.ts +1053 -47
- package/dist/index.js +68 -0
- package/dist/push/index.js +66 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -880,6 +880,9 @@ class Projects extends HeyApiClient {
|
|
|
880
880
|
}
|
|
881
881
|
});
|
|
882
882
|
}
|
|
883
|
+
resolveProjectBySlug(options) {
|
|
884
|
+
return (options.client ?? this.client).get({ url: "/api/projects/resolve", ...options });
|
|
885
|
+
}
|
|
883
886
|
listProjectWorkItems(options) {
|
|
884
887
|
return (options.client ?? this.client).get({ url: "/api/projects/{projectId}/work-items", ...options });
|
|
885
888
|
}
|
|
@@ -1247,6 +1250,45 @@ class WorkItems extends HeyApiClient {
|
|
|
1247
1250
|
}
|
|
1248
1251
|
}
|
|
1249
1252
|
|
|
1253
|
+
class WorkItemComments extends HeyApiClient {
|
|
1254
|
+
listWorkItemComments(options) {
|
|
1255
|
+
return (options.client ?? this.client).get({ url: "/api/work-item-comments", ...options });
|
|
1256
|
+
}
|
|
1257
|
+
createWorkItemComment(options) {
|
|
1258
|
+
return (options.client ?? this.client).post({
|
|
1259
|
+
url: "/api/work-item-comments",
|
|
1260
|
+
...options,
|
|
1261
|
+
headers: {
|
|
1262
|
+
"Content-Type": "application/json",
|
|
1263
|
+
...options.headers
|
|
1264
|
+
}
|
|
1265
|
+
});
|
|
1266
|
+
}
|
|
1267
|
+
deleteWorkItemComment(options) {
|
|
1268
|
+
return (options.client ?? this.client).delete({ url: "/api/work-item-comments/{commentId}", ...options });
|
|
1269
|
+
}
|
|
1270
|
+
editWorkItemComment(options) {
|
|
1271
|
+
return (options.client ?? this.client).patch({
|
|
1272
|
+
url: "/api/work-item-comments/{commentId}",
|
|
1273
|
+
...options,
|
|
1274
|
+
headers: {
|
|
1275
|
+
"Content-Type": "application/json",
|
|
1276
|
+
...options.headers
|
|
1277
|
+
}
|
|
1278
|
+
});
|
|
1279
|
+
}
|
|
1280
|
+
setWorkItemCommentPin(options) {
|
|
1281
|
+
return (options.client ?? this.client).post({
|
|
1282
|
+
url: "/api/work-item-comments/{commentId}/pin",
|
|
1283
|
+
...options,
|
|
1284
|
+
headers: {
|
|
1285
|
+
"Content-Type": "application/json",
|
|
1286
|
+
...options.headers
|
|
1287
|
+
}
|
|
1288
|
+
});
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1250
1292
|
class ProjectContext extends HeyApiClient {
|
|
1251
1293
|
listProjectContextEntries(options) {
|
|
1252
1294
|
return (options.client ?? this.client).get({ url: "/api/projects/{projectId}/context-entries", ...options });
|
|
@@ -1395,6 +1437,22 @@ class Billing extends HeyApiClient {
|
|
|
1395
1437
|
}
|
|
1396
1438
|
}
|
|
1397
1439
|
|
|
1440
|
+
class Username extends HeyApiClient {
|
|
1441
|
+
checkUsernameAvailable(options) {
|
|
1442
|
+
return (options.client ?? this.client).get({ url: "/api/username/available", ...options });
|
|
1443
|
+
}
|
|
1444
|
+
setUsername(options) {
|
|
1445
|
+
return (options.client ?? this.client).post({
|
|
1446
|
+
url: "/api/username",
|
|
1447
|
+
...options,
|
|
1448
|
+
headers: {
|
|
1449
|
+
"Content-Type": "application/json",
|
|
1450
|
+
...options.headers
|
|
1451
|
+
}
|
|
1452
|
+
});
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1398
1456
|
class BoboddyClient extends HeyApiClient {
|
|
1399
1457
|
static __registry = new HeyApiRegistry;
|
|
1400
1458
|
constructor(args) {
|
|
@@ -1429,6 +1487,10 @@ class BoboddyClient extends HeyApiClient {
|
|
|
1429
1487
|
get workItems() {
|
|
1430
1488
|
return this._workItems ??= new WorkItems({ client: this.client });
|
|
1431
1489
|
}
|
|
1490
|
+
_workItemComments;
|
|
1491
|
+
get workItemComments() {
|
|
1492
|
+
return this._workItemComments ??= new WorkItemComments({ client: this.client });
|
|
1493
|
+
}
|
|
1432
1494
|
_projectContext;
|
|
1433
1495
|
get projectContext() {
|
|
1434
1496
|
return this._projectContext ??= new ProjectContext({ client: this.client });
|
|
@@ -1461,6 +1523,10 @@ class BoboddyClient extends HeyApiClient {
|
|
|
1461
1523
|
get billing() {
|
|
1462
1524
|
return this._billing ??= new Billing({ client: this.client });
|
|
1463
1525
|
}
|
|
1526
|
+
_username;
|
|
1527
|
+
get username() {
|
|
1528
|
+
return this._username ??= new Username({ client: this.client });
|
|
1529
|
+
}
|
|
1464
1530
|
}
|
|
1465
1531
|
// src/step-execution-plane-client.ts
|
|
1466
1532
|
function createStepExecutionPlaneClient(baseUrl) {
|
|
@@ -17183,6 +17249,8 @@ export {
|
|
|
17183
17249
|
buildPipelineSpec,
|
|
17184
17250
|
artifactKindSchema,
|
|
17185
17251
|
WorkItems,
|
|
17252
|
+
WorkItemComments,
|
|
17253
|
+
Username,
|
|
17186
17254
|
UserNotifications,
|
|
17187
17255
|
StepExecutions,
|
|
17188
17256
|
StepDefinitions,
|
package/dist/push/index.js
CHANGED
|
@@ -12945,6 +12945,9 @@ class Projects extends HeyApiClient {
|
|
|
12945
12945
|
}
|
|
12946
12946
|
});
|
|
12947
12947
|
}
|
|
12948
|
+
resolveProjectBySlug(options) {
|
|
12949
|
+
return (options.client ?? this.client).get({ url: "/api/projects/resolve", ...options });
|
|
12950
|
+
}
|
|
12948
12951
|
listProjectWorkItems(options) {
|
|
12949
12952
|
return (options.client ?? this.client).get({ url: "/api/projects/{projectId}/work-items", ...options });
|
|
12950
12953
|
}
|
|
@@ -13312,6 +13315,45 @@ class WorkItems extends HeyApiClient {
|
|
|
13312
13315
|
}
|
|
13313
13316
|
}
|
|
13314
13317
|
|
|
13318
|
+
class WorkItemComments extends HeyApiClient {
|
|
13319
|
+
listWorkItemComments(options) {
|
|
13320
|
+
return (options.client ?? this.client).get({ url: "/api/work-item-comments", ...options });
|
|
13321
|
+
}
|
|
13322
|
+
createWorkItemComment(options) {
|
|
13323
|
+
return (options.client ?? this.client).post({
|
|
13324
|
+
url: "/api/work-item-comments",
|
|
13325
|
+
...options,
|
|
13326
|
+
headers: {
|
|
13327
|
+
"Content-Type": "application/json",
|
|
13328
|
+
...options.headers
|
|
13329
|
+
}
|
|
13330
|
+
});
|
|
13331
|
+
}
|
|
13332
|
+
deleteWorkItemComment(options) {
|
|
13333
|
+
return (options.client ?? this.client).delete({ url: "/api/work-item-comments/{commentId}", ...options });
|
|
13334
|
+
}
|
|
13335
|
+
editWorkItemComment(options) {
|
|
13336
|
+
return (options.client ?? this.client).patch({
|
|
13337
|
+
url: "/api/work-item-comments/{commentId}",
|
|
13338
|
+
...options,
|
|
13339
|
+
headers: {
|
|
13340
|
+
"Content-Type": "application/json",
|
|
13341
|
+
...options.headers
|
|
13342
|
+
}
|
|
13343
|
+
});
|
|
13344
|
+
}
|
|
13345
|
+
setWorkItemCommentPin(options) {
|
|
13346
|
+
return (options.client ?? this.client).post({
|
|
13347
|
+
url: "/api/work-item-comments/{commentId}/pin",
|
|
13348
|
+
...options,
|
|
13349
|
+
headers: {
|
|
13350
|
+
"Content-Type": "application/json",
|
|
13351
|
+
...options.headers
|
|
13352
|
+
}
|
|
13353
|
+
});
|
|
13354
|
+
}
|
|
13355
|
+
}
|
|
13356
|
+
|
|
13315
13357
|
class ProjectContext extends HeyApiClient {
|
|
13316
13358
|
listProjectContextEntries(options) {
|
|
13317
13359
|
return (options.client ?? this.client).get({ url: "/api/projects/{projectId}/context-entries", ...options });
|
|
@@ -13460,6 +13502,22 @@ class Billing extends HeyApiClient {
|
|
|
13460
13502
|
}
|
|
13461
13503
|
}
|
|
13462
13504
|
|
|
13505
|
+
class Username extends HeyApiClient {
|
|
13506
|
+
checkUsernameAvailable(options) {
|
|
13507
|
+
return (options.client ?? this.client).get({ url: "/api/username/available", ...options });
|
|
13508
|
+
}
|
|
13509
|
+
setUsername(options) {
|
|
13510
|
+
return (options.client ?? this.client).post({
|
|
13511
|
+
url: "/api/username",
|
|
13512
|
+
...options,
|
|
13513
|
+
headers: {
|
|
13514
|
+
"Content-Type": "application/json",
|
|
13515
|
+
...options.headers
|
|
13516
|
+
}
|
|
13517
|
+
});
|
|
13518
|
+
}
|
|
13519
|
+
}
|
|
13520
|
+
|
|
13463
13521
|
class BoboddyClient extends HeyApiClient {
|
|
13464
13522
|
static __registry = new HeyApiRegistry;
|
|
13465
13523
|
constructor(args) {
|
|
@@ -13494,6 +13552,10 @@ class BoboddyClient extends HeyApiClient {
|
|
|
13494
13552
|
get workItems() {
|
|
13495
13553
|
return this._workItems ??= new WorkItems({ client: this.client });
|
|
13496
13554
|
}
|
|
13555
|
+
_workItemComments;
|
|
13556
|
+
get workItemComments() {
|
|
13557
|
+
return this._workItemComments ??= new WorkItemComments({ client: this.client });
|
|
13558
|
+
}
|
|
13497
13559
|
_projectContext;
|
|
13498
13560
|
get projectContext() {
|
|
13499
13561
|
return this._projectContext ??= new ProjectContext({ client: this.client });
|
|
@@ -13526,6 +13588,10 @@ class BoboddyClient extends HeyApiClient {
|
|
|
13526
13588
|
get billing() {
|
|
13527
13589
|
return this._billing ??= new Billing({ client: this.client });
|
|
13528
13590
|
}
|
|
13591
|
+
_username;
|
|
13592
|
+
get username() {
|
|
13593
|
+
return this._username ??= new Username({ client: this.client });
|
|
13594
|
+
}
|
|
13529
13595
|
}
|
|
13530
13596
|
|
|
13531
13597
|
// src/definitions/steps/step-definitions-client.ts
|