@renai-labs/sdk 0.1.17 → 0.1.19

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.
@@ -135,6 +135,7 @@ export type BlueprintProjectEntry = {
135
135
  timezone: string | null;
136
136
  cronTriggerId: string;
137
137
  agentId: string | null;
138
+ until?: string | null;
138
139
  }>;
139
140
  };
140
141
  export type BlueprintTemplate = {
@@ -225,6 +226,11 @@ export type CredentialAuth = {
225
226
  type: "basic";
226
227
  username: string;
227
228
  password: string;
229
+ } | {
230
+ type: "mcp_provider";
231
+ provider: "composio";
232
+ userId: string;
233
+ url: string;
228
234
  };
229
235
  export type Credential = {
230
236
  id: string;
@@ -256,6 +262,10 @@ export type CredentialAuthPublic = {
256
262
  } | {
257
263
  type: "basic";
258
264
  username: string;
265
+ } | {
266
+ type: "mcp_provider";
267
+ provider: "composio";
268
+ userId: string;
259
269
  };
260
270
  export type Vault = {
261
271
  id: string;
@@ -268,6 +278,39 @@ export type Vault = {
268
278
  updatedAt: string;
269
279
  archivedAt: string | null;
270
280
  };
281
+ export type LinearMapping = {
282
+ id: string;
283
+ renProjectId: string;
284
+ renProjectName: string | null;
285
+ linearProjectId: string | null;
286
+ senderUserId: string;
287
+ projectAgentId: string | null;
288
+ isEnabled: boolean;
289
+ };
290
+ export type LinearProject = {
291
+ id: string;
292
+ name: string;
293
+ };
294
+ export type LinearStatus = {
295
+ hasInstallation: boolean;
296
+ installations: Array<LinearInstallation>;
297
+ };
298
+ export type LinearInstallation = {
299
+ id: string;
300
+ orgId: string;
301
+ installedById: string;
302
+ workspaceId: string;
303
+ workspaceName: string | null;
304
+ appUserId: string;
305
+ accessTokenExpiresAt: string | null;
306
+ scope: string;
307
+ createdAt: string;
308
+ updatedAt: string;
309
+ archivedAt: string | null;
310
+ };
311
+ export type LinearOAuthStartResult = {
312
+ url: string;
313
+ };
271
314
  export type TelegramChatMapping = {
272
315
  id: string;
273
316
  chatId: string;
@@ -358,10 +401,11 @@ export type WebhookTrigger = {
358
401
  projectId: string;
359
402
  projectAgentId: string | null;
360
403
  senderUserId: string;
361
- provider: "generic";
404
+ provider: "generic" | "linear";
362
405
  providerInstallId: string | null;
363
406
  scopeFilter: {
364
407
  channelId?: string;
408
+ linearProjectId?: string;
365
409
  } | null;
366
410
  secretHash: string | null;
367
411
  isEnabled: boolean;
@@ -377,6 +421,7 @@ export type CronTrigger = {
377
421
  inputMessage: string;
378
422
  schedule: string;
379
423
  timezone: string | null;
424
+ until: string | null;
380
425
  isEnabled: boolean;
381
426
  syncedAt: string | null;
382
427
  createdAt: string;
@@ -427,7 +472,7 @@ export type Topology = {
427
472
  slug: string;
428
473
  name: string;
429
474
  /**
430
- * Ren model id, e.g. opus-4-8, sonnet-4-6, haiku-4-5.
475
+ * Ren model id, e.g. opus-4-8, sonnet-5, haiku-4-5.
431
476
  */
432
477
  model?: string;
433
478
  /**
@@ -470,7 +515,7 @@ export type Topology = {
470
515
  * For a custom (non-registry) remote MCP server.
471
516
  */
472
517
  remoteUrl?: string;
473
- auth?: "oauth" | "basic" | "api_key" | "none";
518
+ auth?: "oauth" | "basic" | "api_key" | "none" | "mcp_provider";
474
519
  /**
475
520
  * Slug of the credential this MCP needs.
476
521
  */
@@ -510,7 +555,7 @@ export type Topology = {
510
555
  * What the credential is for, e.g. "github", "apollo".
511
556
  */
512
557
  provider: string;
513
- authType?: "oauth" | "basic" | "api_key" | "env";
558
+ authType?: "oauth" | "basic" | "api_key" | "env" | "mcp_provider";
514
559
  /**
515
560
  * Slug of the vault this credential lives in.
516
561
  */
@@ -723,6 +768,10 @@ export type Topology = {
723
768
  * IANA tz, e.g. "Asia/Kolkata".
724
769
  */
725
770
  timezone?: string;
771
+ /**
772
+ * Inclusive UTC end time for scheduled occurrences.
773
+ */
774
+ until?: string;
726
775
  /**
727
776
  * Fixed prompt delivered to the primary agent on each fire.
728
777
  */
@@ -841,13 +890,18 @@ export type McpAuthConfig = {
841
890
  type: "basic";
842
891
  } | {
843
892
  type: "none";
893
+ } | {
894
+ type: "mcp_provider";
895
+ provider: "composio";
896
+ toolkit: string;
897
+ authConfigId: string;
844
898
  };
845
899
  export type AuthRequirementMcp = {
846
900
  mcpId: string;
847
901
  slug: string;
848
902
  name: string;
849
903
  icon: string | null;
850
- authType: "none" | "oauth" | "api_key" | "basic";
904
+ authType: "none" | "oauth" | "api_key" | "basic" | "mcp_provider";
851
905
  authConfig: McpAuthConfig | null;
852
906
  satisfied: boolean;
853
907
  neededByAgentIds: Array<string>;
@@ -1168,7 +1222,7 @@ export type Mcp = {
1168
1222
  repository: Repository | null;
1169
1223
  tools: Array<string>;
1170
1224
  prompts: Array<string>;
1171
- auth: "none" | "oauth" | "api_key" | "basic";
1225
+ auth: "none" | "oauth" | "api_key" | "basic" | "mcp_provider";
1172
1226
  authConfig: McpAuthConfig | null;
1173
1227
  env: {
1174
1228
  [key: string]: string;
@@ -1198,6 +1252,23 @@ export type GoogleWorkspaceStatus = {
1198
1252
  scopes: Array<string>;
1199
1253
  redirectUri: string;
1200
1254
  };
1255
+ export type GithubRepoMapping = {
1256
+ installationId: string;
1257
+ accountLogin: string;
1258
+ repoId: string;
1259
+ repoFullName: string;
1260
+ projectId: string;
1261
+ projectName: string | null;
1262
+ fallbackSenderUserId: string | null;
1263
+ prListenerEnabled: boolean;
1264
+ prListenerPrompt: string | null;
1265
+ };
1266
+ export type GithubRepo = {
1267
+ installationId: string;
1268
+ accountLogin: string;
1269
+ repoId: string;
1270
+ fullName: string;
1271
+ };
1201
1272
  export type GithubStatus = {
1202
1273
  hasInstallation: boolean;
1203
1274
  hasUserCredential: boolean;
@@ -1217,6 +1288,15 @@ export type GithubInstallationResponse = {
1217
1288
  appPermissions: {
1218
1289
  [key: string]: string;
1219
1290
  } | null;
1291
+ repoMappings: {
1292
+ [key: string]: {
1293
+ repoFullName: string;
1294
+ projectId: string;
1295
+ fallbackSenderUserId: string | null;
1296
+ prListenerEnabled: boolean;
1297
+ prListenerPrompt: string | null;
1298
+ };
1299
+ };
1220
1300
  createdAt: string;
1221
1301
  updatedAt: string;
1222
1302
  archivedAt: string | null;
@@ -1783,6 +1863,62 @@ export type AgentPublishResponses = {
1783
1863
  200: Agent;
1784
1864
  };
1785
1865
  export type AgentPublishResponse = AgentPublishResponses[keyof AgentPublishResponses];
1866
+ export type AgentCopyToOrgData = {
1867
+ body?: {
1868
+ name?: string;
1869
+ version?: string;
1870
+ };
1871
+ path: {
1872
+ id: string;
1873
+ };
1874
+ query?: {
1875
+ /**
1876
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
1877
+ */
1878
+ scope?: "user";
1879
+ };
1880
+ url: "/api/agents/{id}/copy-to-org";
1881
+ };
1882
+ export type AgentCopyToOrgErrors = {
1883
+ /**
1884
+ * Bad request
1885
+ */
1886
+ 400: {
1887
+ error: string;
1888
+ };
1889
+ /**
1890
+ * Unauthorized
1891
+ */
1892
+ 401: {
1893
+ error: string;
1894
+ };
1895
+ /**
1896
+ * Forbidden
1897
+ */
1898
+ 403: {
1899
+ error: string;
1900
+ };
1901
+ /**
1902
+ * Not found
1903
+ */
1904
+ 404: {
1905
+ error: string;
1906
+ };
1907
+ /**
1908
+ * Conflict
1909
+ */
1910
+ 409: {
1911
+ error: string;
1912
+ };
1913
+ };
1914
+ export type AgentCopyToOrgError = AgentCopyToOrgErrors[keyof AgentCopyToOrgErrors];
1915
+ export type AgentCopyToOrgResponses = {
1916
+ /**
1917
+ * Copied agent
1918
+ */
1919
+ 200: Agent;
1920
+ };
1921
+ export type AgentCopyToOrgResponse = AgentCopyToOrgResponses[keyof AgentCopyToOrgResponses];
1786
1922
  export type AgentDeprecateData = {
1787
1923
  body?: {
1788
1924
  message?: string | null;
@@ -3583,11 +3719,138 @@ export type GithubReposResponses = {
3583
3719
  /**
3584
3720
  * Repositories
3585
3721
  */
3586
- 200: Array<{
3587
- fullName: string;
3588
- }>;
3722
+ 200: Array<GithubRepo>;
3589
3723
  };
3590
3724
  export type GithubReposResponse = GithubReposResponses[keyof GithubReposResponses];
3725
+ export type GithubMappingsListData = {
3726
+ body?: never;
3727
+ path?: never;
3728
+ query?: {
3729
+ /**
3730
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
3731
+ */
3732
+ scope?: "user";
3733
+ };
3734
+ url: "/api/github/mappings";
3735
+ };
3736
+ export type GithubMappingsListErrors = {
3737
+ /**
3738
+ * Unauthorized
3739
+ */
3740
+ 401: {
3741
+ error: string;
3742
+ };
3743
+ /**
3744
+ * Forbidden
3745
+ */
3746
+ 403: {
3747
+ error: string;
3748
+ };
3749
+ };
3750
+ export type GithubMappingsListError = GithubMappingsListErrors[keyof GithubMappingsListErrors];
3751
+ export type GithubMappingsListResponses = {
3752
+ /**
3753
+ * Repo mappings
3754
+ */
3755
+ 200: Array<GithubRepoMapping>;
3756
+ };
3757
+ export type GithubMappingsListResponse = GithubMappingsListResponses[keyof GithubMappingsListResponses];
3758
+ export type GithubMappingUnsetData = {
3759
+ body?: never;
3760
+ path: {
3761
+ repoId: string;
3762
+ };
3763
+ query: {
3764
+ /**
3765
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
3766
+ */
3767
+ scope?: "user";
3768
+ installationId: string;
3769
+ };
3770
+ url: "/api/github/repos/{repoId}/mapping";
3771
+ };
3772
+ export type GithubMappingUnsetErrors = {
3773
+ /**
3774
+ * Unauthorized
3775
+ */
3776
+ 401: {
3777
+ error: string;
3778
+ };
3779
+ /**
3780
+ * Forbidden
3781
+ */
3782
+ 403: {
3783
+ error: string;
3784
+ };
3785
+ /**
3786
+ * Not found
3787
+ */
3788
+ 404: {
3789
+ error: string;
3790
+ };
3791
+ };
3792
+ export type GithubMappingUnsetError = GithubMappingUnsetErrors[keyof GithubMappingUnsetErrors];
3793
+ export type GithubMappingUnsetResponses = {
3794
+ /**
3795
+ * Removed
3796
+ */
3797
+ 204: void;
3798
+ };
3799
+ export type GithubMappingUnsetResponse = GithubMappingUnsetResponses[keyof GithubMappingUnsetResponses];
3800
+ export type GithubMappingSetData = {
3801
+ body?: {
3802
+ installationId: string;
3803
+ repoFullName: string;
3804
+ projectId: string;
3805
+ fallbackSenderUserId?: string | null;
3806
+ prListenerEnabled?: boolean;
3807
+ prListenerPrompt?: string | null;
3808
+ };
3809
+ path: {
3810
+ repoId: string;
3811
+ };
3812
+ query?: {
3813
+ /**
3814
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
3815
+ */
3816
+ scope?: "user";
3817
+ };
3818
+ url: "/api/github/repos/{repoId}/mapping";
3819
+ };
3820
+ export type GithubMappingSetErrors = {
3821
+ /**
3822
+ * Bad request
3823
+ */
3824
+ 400: {
3825
+ error: string;
3826
+ };
3827
+ /**
3828
+ * Unauthorized
3829
+ */
3830
+ 401: {
3831
+ error: string;
3832
+ };
3833
+ /**
3834
+ * Forbidden
3835
+ */
3836
+ 403: {
3837
+ error: string;
3838
+ };
3839
+ /**
3840
+ * Not found
3841
+ */
3842
+ 404: {
3843
+ error: string;
3844
+ };
3845
+ };
3846
+ export type GithubMappingSetError = GithubMappingSetErrors[keyof GithubMappingSetErrors];
3847
+ export type GithubMappingSetResponses = {
3848
+ /**
3849
+ * Mapped
3850
+ */
3851
+ 204: void;
3852
+ };
3853
+ export type GithubMappingSetResponse = GithubMappingSetResponses[keyof GithubMappingSetResponses];
3591
3854
  export type GoogleStatusData = {
3592
3855
  body?: never;
3593
3856
  path?: never;
@@ -3843,7 +4106,7 @@ export type McpCreateData = {
3843
4106
  repository?: Repository | null;
3844
4107
  tools?: Array<string>;
3845
4108
  prompts?: Array<string>;
3846
- auth?: "none" | "oauth" | "api_key" | "basic";
4109
+ auth?: "none" | "oauth" | "api_key" | "basic" | "mcp_provider";
3847
4110
  authConfig?: McpAuthConfig | null;
3848
4111
  tags?: Array<string>;
3849
4112
  };
@@ -3875,6 +4138,12 @@ export type McpCreateErrors = {
3875
4138
  403: {
3876
4139
  error: string;
3877
4140
  };
4141
+ /**
4142
+ * Conflict
4143
+ */
4144
+ 409: {
4145
+ error: string;
4146
+ };
3878
4147
  };
3879
4148
  export type McpCreateError = McpCreateErrors[keyof McpCreateErrors];
3880
4149
  export type McpCreateResponses = {
@@ -4031,7 +4300,7 @@ export type McpUpdateData = {
4031
4300
  repository?: Repository | null;
4032
4301
  tools?: Array<string>;
4033
4302
  prompts?: Array<string>;
4034
- auth?: "none" | "oauth" | "api_key" | "basic";
4303
+ auth?: "none" | "oauth" | "api_key" | "basic" | "mcp_provider";
4035
4304
  authConfig?: McpAuthConfig | null;
4036
4305
  websiteMetadata?: WebsiteMetadata | null;
4037
4306
  tags?: Array<string>;
@@ -4163,6 +4432,61 @@ export type McpPublishResponses = {
4163
4432
  200: Mcp;
4164
4433
  };
4165
4434
  export type McpPublishResponse = McpPublishResponses[keyof McpPublishResponses];
4435
+ export type McpCopyToOrgData = {
4436
+ body?: {
4437
+ name?: string;
4438
+ };
4439
+ path: {
4440
+ id: string;
4441
+ };
4442
+ query?: {
4443
+ /**
4444
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4445
+ */
4446
+ scope?: "user";
4447
+ };
4448
+ url: "/api/mcps/{id}/copy-to-org";
4449
+ };
4450
+ export type McpCopyToOrgErrors = {
4451
+ /**
4452
+ * Bad request
4453
+ */
4454
+ 400: {
4455
+ error: string;
4456
+ };
4457
+ /**
4458
+ * Unauthorized
4459
+ */
4460
+ 401: {
4461
+ error: string;
4462
+ };
4463
+ /**
4464
+ * Forbidden
4465
+ */
4466
+ 403: {
4467
+ error: string;
4468
+ };
4469
+ /**
4470
+ * Not found
4471
+ */
4472
+ 404: {
4473
+ error: string;
4474
+ };
4475
+ /**
4476
+ * Conflict
4477
+ */
4478
+ 409: {
4479
+ error: string;
4480
+ };
4481
+ };
4482
+ export type McpCopyToOrgError = McpCopyToOrgErrors[keyof McpCopyToOrgErrors];
4483
+ export type McpCopyToOrgResponses = {
4484
+ /**
4485
+ * Copied MCP
4486
+ */
4487
+ 200: Mcp;
4488
+ };
4489
+ export type McpCopyToOrgResponse = McpCopyToOrgResponses[keyof McpCopyToOrgResponses];
4166
4490
  export type McpDeprecateData = {
4167
4491
  body?: {
4168
4492
  message?: string | null;
@@ -7891,6 +8215,62 @@ export type SkillCopyResponses = {
7891
8215
  200: Skill;
7892
8216
  };
7893
8217
  export type SkillCopyResponse = SkillCopyResponses[keyof SkillCopyResponses];
8218
+ export type SkillCopyToOrgData = {
8219
+ body?: {
8220
+ name?: string;
8221
+ version?: string;
8222
+ };
8223
+ path: {
8224
+ id: string;
8225
+ };
8226
+ query?: {
8227
+ /**
8228
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
8229
+ */
8230
+ scope?: "user";
8231
+ };
8232
+ url: "/api/skills/{id}/copy-to-org";
8233
+ };
8234
+ export type SkillCopyToOrgErrors = {
8235
+ /**
8236
+ * Bad request
8237
+ */
8238
+ 400: {
8239
+ error: string;
8240
+ };
8241
+ /**
8242
+ * Unauthorized
8243
+ */
8244
+ 401: {
8245
+ error: string;
8246
+ };
8247
+ /**
8248
+ * Forbidden
8249
+ */
8250
+ 403: {
8251
+ error: string;
8252
+ };
8253
+ /**
8254
+ * Not found
8255
+ */
8256
+ 404: {
8257
+ error: string;
8258
+ };
8259
+ /**
8260
+ * Conflict
8261
+ */
8262
+ 409: {
8263
+ error: string;
8264
+ };
8265
+ };
8266
+ export type SkillCopyToOrgError = SkillCopyToOrgErrors[keyof SkillCopyToOrgErrors];
8267
+ export type SkillCopyToOrgResponses = {
8268
+ /**
8269
+ * Copied skill
8270
+ */
8271
+ 200: Skill;
8272
+ };
8273
+ export type SkillCopyToOrgResponse = SkillCopyToOrgResponses[keyof SkillCopyToOrgResponses];
7894
8274
  export type SkillVersionListData = {
7895
8275
  body?: never;
7896
8276
  path: {
@@ -8343,6 +8723,7 @@ export type TriggerCreateData = {
8343
8723
  inputMessage: string;
8344
8724
  schedule: string;
8345
8725
  timezone?: string | null;
8726
+ until?: string | null;
8346
8727
  isEnabled?: boolean;
8347
8728
  };
8348
8729
  path?: never;
@@ -8437,6 +8818,7 @@ export type TriggerUpdateData = {
8437
8818
  inputMessage?: string;
8438
8819
  schedule?: string;
8439
8820
  timezone?: string | null;
8821
+ until?: string | null;
8440
8822
  isEnabled?: boolean;
8441
8823
  projectId: string;
8442
8824
  };
@@ -8576,10 +8958,11 @@ export type WebhookTriggerCreateData = {
8576
8958
  projectId: string;
8577
8959
  projectAgentId?: string | null;
8578
8960
  senderUserId: string;
8579
- provider: "generic";
8961
+ provider: "generic" | "linear";
8580
8962
  providerInstallId: string | null;
8581
8963
  scopeFilter: {
8582
8964
  channelId?: string;
8965
+ linearProjectId?: string;
8583
8966
  } | null;
8584
8967
  isEnabled?: boolean;
8585
8968
  };
@@ -8674,6 +9057,7 @@ export type WebhookTriggerUpdateData = {
8674
9057
  senderUserId?: string;
8675
9058
  scopeFilter?: {
8676
9059
  channelId?: string;
9060
+ linearProjectId?: string;
8677
9061
  } | null;
8678
9062
  isEnabled?: boolean;
8679
9063
  projectId: string;
@@ -9400,6 +9784,269 @@ export type TelegramChatSetResponses = {
9400
9784
  200: TelegramChatMapping;
9401
9785
  };
9402
9786
  export type TelegramChatSetResponse = TelegramChatSetResponses[keyof TelegramChatSetResponses];
9787
+ export type LinearUninstallData = {
9788
+ body?: never;
9789
+ path?: never;
9790
+ query?: {
9791
+ /**
9792
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
9793
+ */
9794
+ scope?: "user";
9795
+ };
9796
+ url: "/api/linear/install";
9797
+ };
9798
+ export type LinearUninstallErrors = {
9799
+ /**
9800
+ * Unauthorized
9801
+ */
9802
+ 401: {
9803
+ error: string;
9804
+ };
9805
+ /**
9806
+ * Forbidden
9807
+ */
9808
+ 403: {
9809
+ error: string;
9810
+ };
9811
+ /**
9812
+ * Not found
9813
+ */
9814
+ 404: {
9815
+ error: string;
9816
+ };
9817
+ };
9818
+ export type LinearUninstallError = LinearUninstallErrors[keyof LinearUninstallErrors];
9819
+ export type LinearUninstallResponses = {
9820
+ /**
9821
+ * Removed
9822
+ */
9823
+ 204: void;
9824
+ };
9825
+ export type LinearUninstallResponse = LinearUninstallResponses[keyof LinearUninstallResponses];
9826
+ export type LinearInstallData = {
9827
+ body?: never;
9828
+ path?: never;
9829
+ query?: {
9830
+ /**
9831
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
9832
+ */
9833
+ scope?: "user";
9834
+ returnTo?: string;
9835
+ };
9836
+ url: "/api/linear/install";
9837
+ };
9838
+ export type LinearInstallErrors = {
9839
+ /**
9840
+ * Unauthorized
9841
+ */
9842
+ 401: {
9843
+ error: string;
9844
+ };
9845
+ /**
9846
+ * Forbidden
9847
+ */
9848
+ 403: {
9849
+ error: string;
9850
+ };
9851
+ };
9852
+ export type LinearInstallError = LinearInstallErrors[keyof LinearInstallErrors];
9853
+ export type LinearInstallResponses = {
9854
+ /**
9855
+ * Authorization URL for the user to visit
9856
+ */
9857
+ 200: LinearOAuthStartResult;
9858
+ };
9859
+ export type LinearInstallResponse = LinearInstallResponses[keyof LinearInstallResponses];
9860
+ export type LinearStatusData = {
9861
+ body?: never;
9862
+ path?: never;
9863
+ query?: {
9864
+ /**
9865
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
9866
+ */
9867
+ scope?: "user";
9868
+ };
9869
+ url: "/api/linear/status";
9870
+ };
9871
+ export type LinearStatusErrors = {
9872
+ /**
9873
+ * Unauthorized
9874
+ */
9875
+ 401: {
9876
+ error: string;
9877
+ };
9878
+ /**
9879
+ * Forbidden
9880
+ */
9881
+ 403: {
9882
+ error: string;
9883
+ };
9884
+ };
9885
+ export type LinearStatusError = LinearStatusErrors[keyof LinearStatusErrors];
9886
+ export type LinearStatusResponses = {
9887
+ /**
9888
+ * Linear installation status
9889
+ */
9890
+ 200: LinearStatus;
9891
+ };
9892
+ export type LinearStatusResponse = LinearStatusResponses[keyof LinearStatusResponses];
9893
+ export type LinearProjectsData = {
9894
+ body?: never;
9895
+ path?: never;
9896
+ query?: {
9897
+ /**
9898
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
9899
+ */
9900
+ scope?: "user";
9901
+ };
9902
+ url: "/api/linear/projects";
9903
+ };
9904
+ export type LinearProjectsErrors = {
9905
+ /**
9906
+ * Unauthorized
9907
+ */
9908
+ 401: {
9909
+ error: string;
9910
+ };
9911
+ /**
9912
+ * Forbidden
9913
+ */
9914
+ 403: {
9915
+ error: string;
9916
+ };
9917
+ };
9918
+ export type LinearProjectsError = LinearProjectsErrors[keyof LinearProjectsErrors];
9919
+ export type LinearProjectsResponses = {
9920
+ /**
9921
+ * Linear projects (with a __global__ entry for issues without a project)
9922
+ */
9923
+ 200: Array<LinearProject>;
9924
+ };
9925
+ export type LinearProjectsResponse = LinearProjectsResponses[keyof LinearProjectsResponses];
9926
+ export type LinearMappingsListData = {
9927
+ body?: never;
9928
+ path?: never;
9929
+ query?: {
9930
+ /**
9931
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
9932
+ */
9933
+ scope?: "user";
9934
+ };
9935
+ url: "/api/linear/mappings";
9936
+ };
9937
+ export type LinearMappingsListErrors = {
9938
+ /**
9939
+ * Unauthorized
9940
+ */
9941
+ 401: {
9942
+ error: string;
9943
+ };
9944
+ /**
9945
+ * Forbidden
9946
+ */
9947
+ 403: {
9948
+ error: string;
9949
+ };
9950
+ };
9951
+ export type LinearMappingsListError = LinearMappingsListErrors[keyof LinearMappingsListErrors];
9952
+ export type LinearMappingsListResponses = {
9953
+ /**
9954
+ * Linear project mappings
9955
+ */
9956
+ 200: Array<LinearMapping>;
9957
+ };
9958
+ export type LinearMappingsListResponse = LinearMappingsListResponses[keyof LinearMappingsListResponses];
9959
+ export type LinearMappingsCreateData = {
9960
+ body?: {
9961
+ renProjectId: string;
9962
+ linearProjectId: string;
9963
+ senderUserId: string;
9964
+ projectAgentId?: string | null;
9965
+ };
9966
+ path?: never;
9967
+ query?: {
9968
+ /**
9969
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
9970
+ */
9971
+ scope?: "user";
9972
+ };
9973
+ url: "/api/linear/mappings";
9974
+ };
9975
+ export type LinearMappingsCreateErrors = {
9976
+ /**
9977
+ * Bad request
9978
+ */
9979
+ 400: {
9980
+ error: string;
9981
+ };
9982
+ /**
9983
+ * Unauthorized
9984
+ */
9985
+ 401: {
9986
+ error: string;
9987
+ };
9988
+ /**
9989
+ * Forbidden
9990
+ */
9991
+ 403: {
9992
+ error: string;
9993
+ };
9994
+ /**
9995
+ * Not found
9996
+ */
9997
+ 404: {
9998
+ error: string;
9999
+ };
10000
+ };
10001
+ export type LinearMappingsCreateError = LinearMappingsCreateErrors[keyof LinearMappingsCreateErrors];
10002
+ export type LinearMappingsCreateResponses = {
10003
+ /**
10004
+ * Created mapping
10005
+ */
10006
+ 200: LinearMapping;
10007
+ };
10008
+ export type LinearMappingsCreateResponse = LinearMappingsCreateResponses[keyof LinearMappingsCreateResponses];
10009
+ export type LinearMappingsRemoveData = {
10010
+ body?: never;
10011
+ path: {
10012
+ triggerId: string;
10013
+ };
10014
+ query?: {
10015
+ /**
10016
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
10017
+ */
10018
+ scope?: "user";
10019
+ };
10020
+ url: "/api/linear/mappings/{triggerId}";
10021
+ };
10022
+ export type LinearMappingsRemoveErrors = {
10023
+ /**
10024
+ * Unauthorized
10025
+ */
10026
+ 401: {
10027
+ error: string;
10028
+ };
10029
+ /**
10030
+ * Forbidden
10031
+ */
10032
+ 403: {
10033
+ error: string;
10034
+ };
10035
+ /**
10036
+ * Not found
10037
+ */
10038
+ 404: {
10039
+ error: string;
10040
+ };
10041
+ };
10042
+ export type LinearMappingsRemoveError = LinearMappingsRemoveErrors[keyof LinearMappingsRemoveErrors];
10043
+ export type LinearMappingsRemoveResponses = {
10044
+ /**
10045
+ * Removed
10046
+ */
10047
+ 204: void;
10048
+ };
10049
+ export type LinearMappingsRemoveResponse = LinearMappingsRemoveResponses[keyof LinearMappingsRemoveResponses];
9403
10050
  export type VaultListData = {
9404
10051
  body?: never;
9405
10052
  path?: never;