@boboddy/sdk 0.1.12-alpha → 0.1.13-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/index.js CHANGED
@@ -839,29 +839,38 @@ class HeyApiRegistry {
839
839
  }
840
840
 
841
841
  class Api extends HeyApiClient {
842
- "allApiApiAuth*"(options) {
843
- return (options?.client ?? this.client).delete({ url: "/api/api/auth/*", ...options });
842
+ "allApiAuth*"(options) {
843
+ return (options?.client ?? this.client).delete({ url: "/api/auth/*", ...options });
844
844
  }
845
- "allApiApiAuth*2"(options) {
846
- return (options?.client ?? this.client).get({ url: "/api/api/auth/*", ...options });
845
+ "allApiAuth*2"(options) {
846
+ return (options?.client ?? this.client).get({ url: "/api/auth/*", ...options });
847
847
  }
848
- "allApiApiAuth*3"(options) {
849
- return (options?.client ?? this.client).head({ url: "/api/api/auth/*", ...options });
848
+ "allApiAuth*3"(options) {
849
+ return (options?.client ?? this.client).head({ url: "/api/auth/*", ...options });
850
850
  }
851
- "allApiApiAuth*4"(options) {
852
- return (options?.client ?? this.client).options({ url: "/api/api/auth/*", ...options });
851
+ "allApiAuth*4"(options) {
852
+ return (options?.client ?? this.client).options({ url: "/api/auth/*", ...options });
853
853
  }
854
- "allApiApiAuth*5"(options) {
855
- return (options?.client ?? this.client).patch({ url: "/api/api/auth/*", ...options });
854
+ "allApiAuth*5"(options) {
855
+ return (options?.client ?? this.client).patch({ url: "/api/auth/*", ...options });
856
856
  }
857
- "allApiApiAuth*6"(options) {
858
- return (options?.client ?? this.client).post({ url: "/api/api/auth/*", ...options });
857
+ "allApiAuth*6"(options) {
858
+ return (options?.client ?? this.client).post({ url: "/api/auth/*", ...options });
859
859
  }
860
- "allApiApiAuth*7"(options) {
861
- return (options?.client ?? this.client).put({ url: "/api/api/auth/*", ...options });
860
+ "allApiAuth*7"(options) {
861
+ return (options?.client ?? this.client).put({ url: "/api/auth/*", ...options });
862
862
  }
863
- "allApiApiAuth*8"(options) {
864
- return (options?.client ?? this.client).trace({ url: "/api/api/auth/*", ...options });
863
+ "allApiAuth*8"(options) {
864
+ return (options?.client ?? this.client).trace({ url: "/api/auth/*", ...options });
865
+ }
866
+ getApiIntegrationsGithubInstall(options) {
867
+ return (options?.client ?? this.client).get({ url: "/api/integrations/github/install", ...options });
868
+ }
869
+ getApiIntegrationsGithubCallback(options) {
870
+ return (options?.client ?? this.client).get({ url: "/api/integrations/github/callback", ...options });
871
+ }
872
+ postApiIntegrationsGithubWebhook(options) {
873
+ return (options?.client ?? this.client).post({ url: "/api/integrations/github/webhook", ...options });
865
874
  }
866
875
  }
867
876
 
@@ -999,7 +1008,7 @@ class StepExecutions extends HeyApiClient {
999
1008
 
1000
1009
  class PipelineDefinitions extends HeyApiClient {
1001
1010
  listPipelineDefinitions(options) {
1002
- return (options.client ?? this.client).get({ url: "/api/linear-pipeline-definitions", ...options });
1011
+ return (options?.client ?? this.client).get({ url: "/api/linear-pipeline-definitions", ...options });
1003
1012
  }
1004
1013
  createPipelineDefinition(options) {
1005
1014
  return (options.client ?? this.client).post({
@@ -1027,6 +1036,9 @@ class PipelineDefinitions extends HeyApiClient {
1027
1036
  archivePipelineDefinition(options) {
1028
1037
  return (options.client ?? this.client).put({ url: "/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/archive", ...options });
1029
1038
  }
1039
+ unarchivePipelineDefinition(options) {
1040
+ return (options.client ?? this.client).put({ url: "/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/unarchive", ...options });
1041
+ }
1030
1042
  addPipelineStep(options) {
1031
1043
  return (options.client ?? this.client).post({
1032
1044
  url: "/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/steps",
@@ -1235,6 +1247,28 @@ class StepDefinitionTemplates extends HeyApiClient {
1235
1247
  }
1236
1248
  }
1237
1249
 
1250
+ class ProjectIntegrations extends HeyApiClient {
1251
+ listProjectIntegrations(options) {
1252
+ return (options.client ?? this.client).get({ url: "/api/projects/{projectId}/integrations", ...options });
1253
+ }
1254
+ createProjectIntegration(options) {
1255
+ return (options.client ?? this.client).post({
1256
+ url: "/api/projects/{projectId}/integrations",
1257
+ ...options,
1258
+ headers: {
1259
+ "Content-Type": "application/json",
1260
+ ...options.headers
1261
+ }
1262
+ });
1263
+ }
1264
+ syncProjectIntegration(options) {
1265
+ return (options.client ?? this.client).post({ url: "/api/projects/{projectId}/integrations/{integrationId}/sync", ...options });
1266
+ }
1267
+ deleteProjectIntegration(options) {
1268
+ return (options.client ?? this.client).delete({ url: "/api/projects/{projectId}/integrations/{integrationId}", ...options });
1269
+ }
1270
+ }
1271
+
1238
1272
  class BoboddyClient extends HeyApiClient {
1239
1273
  static __registry = new HeyApiRegistry;
1240
1274
  constructor(args) {
@@ -1281,6 +1315,10 @@ class BoboddyClient extends HeyApiClient {
1281
1315
  get stepDefinitionTemplates() {
1282
1316
  return this._stepDefinitionTemplates ??= new StepDefinitionTemplates({ client: this.client });
1283
1317
  }
1318
+ _projectIntegrations;
1319
+ get projectIntegrations() {
1320
+ return this._projectIntegrations ??= new ProjectIntegrations({ client: this.client });
1321
+ }
1284
1322
  }
1285
1323
  // src/step-execution-plane-client.ts
1286
1324
  function createStepExecutionPlaneClient(baseUrl) {
@@ -16709,6 +16747,7 @@ export {
16709
16747
  StepDefinitionTemplates,
16710
16748
  Rule,
16711
16749
  Projects,
16750
+ ProjectIntegrations,
16712
16751
  ProjectContext,
16713
16752
  PipelineExecutions,
16714
16753
  PipelineDefinitions,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@boboddy/sdk",
4
- "version": "0.1.12-alpha",
4
+ "version": "0.1.13-alpha",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
@@ -43,7 +43,7 @@
43
43
  ],
44
44
  "repository": {
45
45
  "type": "git",
46
- "url": "https://github.com/connorivy/boboddy"
46
+ "url": "https://github.com/boboddy-dev/boboddy"
47
47
  },
48
48
  "scripts": {
49
49
  "generate": "openapi-ts",