@unified-api/typescript-sdk 2.73.8 → 2.73.10

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.
Files changed (58) hide show
  1. package/README.md +3 -3
  2. package/bin/mcp-server.js +53 -15
  3. package/bin/mcp-server.js.map +12 -12
  4. package/docs/sdks/auth/README.md +1 -1
  5. package/docs/sdks/connection/README.md +1 -1
  6. package/docs/sdks/integration/README.md +1 -1
  7. package/docs/sdks/unified/README.md +2 -2
  8. package/examples/package-lock.json +1 -1
  9. package/funcs/unifiedCreateUnifiedConnection.d.ts +1 -1
  10. package/funcs/unifiedCreateUnifiedConnection.js +1 -1
  11. package/funcs/unifiedGetUnifiedIntegrationAuth.d.ts +1 -1
  12. package/funcs/unifiedGetUnifiedIntegrationAuth.js +1 -1
  13. package/jsr.json +1 -1
  14. package/lib/config.d.ts +3 -3
  15. package/lib/config.js +3 -3
  16. package/lib/config.js.map +1 -1
  17. package/mcp-server/mcp-server.js +1 -1
  18. package/mcp-server/mcp-server.js.map +1 -1
  19. package/mcp-server/server.js +1 -1
  20. package/mcp-server/server.js.map +1 -1
  21. package/mcp-server/tools/unifiedCreateUnifiedConnection.js +1 -1
  22. package/mcp-server/tools/unifiedCreateUnifiedConnection.js.map +1 -1
  23. package/mcp-server/tools/unifiedGetUnifiedIntegrationAuth.js +1 -1
  24. package/package.json +1 -1
  25. package/sdk/auth.d.ts +1 -1
  26. package/sdk/auth.js +1 -1
  27. package/sdk/connection.d.ts +1 -1
  28. package/sdk/connection.js +1 -1
  29. package/sdk/integration.d.ts +1 -1
  30. package/sdk/integration.js +1 -1
  31. package/sdk/models/shared/calendareventrecurrence.d.ts +38 -0
  32. package/sdk/models/shared/calendareventrecurrence.d.ts.map +1 -1
  33. package/sdk/models/shared/calendareventrecurrence.js +46 -1
  34. package/sdk/models/shared/calendareventrecurrence.js.map +1 -1
  35. package/sdk/models/shared/issue.d.ts +0 -1
  36. package/sdk/models/shared/issue.d.ts.map +1 -1
  37. package/sdk/models/shared/issue.js +0 -1
  38. package/sdk/models/shared/issue.js.map +1 -1
  39. package/sdk/models/shared/tasktask.d.ts +2 -0
  40. package/sdk/models/shared/tasktask.d.ts.map +1 -1
  41. package/sdk/models/shared/tasktask.js +4 -0
  42. package/sdk/models/shared/tasktask.js.map +1 -1
  43. package/sdk/unified.d.ts +2 -2
  44. package/sdk/unified.js +2 -2
  45. package/src/funcs/unifiedCreateUnifiedConnection.ts +1 -1
  46. package/src/funcs/unifiedGetUnifiedIntegrationAuth.ts +1 -1
  47. package/src/lib/config.ts +3 -3
  48. package/src/mcp-server/mcp-server.ts +1 -1
  49. package/src/mcp-server/server.ts +1 -1
  50. package/src/mcp-server/tools/unifiedCreateUnifiedConnection.ts +1 -1
  51. package/src/mcp-server/tools/unifiedGetUnifiedIntegrationAuth.ts +1 -1
  52. package/src/sdk/auth.ts +1 -1
  53. package/src/sdk/connection.ts +1 -1
  54. package/src/sdk/integration.ts +1 -1
  55. package/src/sdk/models/shared/calendareventrecurrence.ts +71 -0
  56. package/src/sdk/models/shared/issue.ts +0 -1
  57. package/src/sdk/models/shared/tasktask.ts +6 -0
  58. package/src/sdk/unified.ts +2 -2
package/README.md CHANGED
@@ -1334,9 +1334,9 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
1334
1334
  - [`unifiedGetUnifiedApicall`](docs/sdks/unified/README.md#getunifiedapicall) - Retrieve specific API Call by its ID
1335
1335
  - [`unifiedGetUnifiedConnection`](docs/sdks/connection/README.md#getunifiedconnection) - Retrieve connection
1336
1336
  - [`unifiedGetUnifiedConnection`](docs/sdks/unified/README.md#getunifiedconnection) - Retrieve connection
1337
- - [`unifiedGetUnifiedIntegrationAuth`](docs/sdks/auth/README.md#getunifiedintegrationauth) - Create connection indirectly
1338
- - [`unifiedGetUnifiedIntegrationAuth`](docs/sdks/integration/README.md#getunifiedintegrationauth) - Create connection indirectly
1339
- - [`unifiedGetUnifiedIntegrationAuth`](docs/sdks/unified/README.md#getunifiedintegrationauth) - Create connection indirectly
1337
+ - [`unifiedGetUnifiedIntegrationAuth`](docs/sdks/auth/README.md#getunifiedintegrationauth) - Authorize new connection
1338
+ - [`unifiedGetUnifiedIntegrationAuth`](docs/sdks/integration/README.md#getunifiedintegrationauth) - Authorize new connection
1339
+ - [`unifiedGetUnifiedIntegrationAuth`](docs/sdks/unified/README.md#getunifiedintegrationauth) - Authorize new connection
1340
1340
  - [`unifiedGetUnifiedWebhook`](docs/sdks/unified/README.md#getunifiedwebhook) - Retrieve webhook by its ID
1341
1341
  - [`unifiedGetUnifiedWebhook`](docs/sdks/webhook/README.md#getunifiedwebhook) - Retrieve webhook by its ID
1342
1342
  - [`unifiedListUnifiedApicalls`](docs/sdks/apicall/README.md#listunifiedapicalls) - Returns API Calls
package/bin/mcp-server.js CHANGED
@@ -34231,9 +34231,9 @@ var init_config = __esm(() => {
34231
34231
  SDK_METADATA = {
34232
34232
  language: "typescript",
34233
34233
  openapiDocVersion: "1.0",
34234
- sdkVersion: "2.73.8",
34235
- genVersion: "2.656.5",
34236
- userAgent: "speakeasy-sdk/typescript 2.73.8 2.656.5 1.0 @unified-api/typescript-sdk"
34234
+ sdkVersion: "2.73.10",
34235
+ genVersion: "2.657.1",
34236
+ userAgent: "speakeasy-sdk/typescript 2.73.10 2.657.1 1.0 @unified-api/typescript-sdk"
34237
34237
  };
34238
34238
  });
34239
34239
 
@@ -40578,7 +40578,7 @@ var init_propertycalendareventrecurrenceondays = __esm(() => {
40578
40578
  });
40579
40579
 
40580
40580
  // src/sdk/models/shared/calendareventrecurrence.ts
40581
- var CalendarEventRecurrenceFrequency, CalendarEventRecurrenceFrequency$inboundSchema, CalendarEventRecurrenceFrequency$outboundSchema, CalendarEventRecurrenceFrequency$, CalendarEventRecurrence$inboundSchema, CalendarEventRecurrence$outboundSchema, CalendarEventRecurrence$;
40581
+ var CalendarEventRecurrenceFrequency, WeekStart, CalendarEventRecurrenceFrequency$inboundSchema, CalendarEventRecurrenceFrequency$outboundSchema, CalendarEventRecurrenceFrequency$, WeekStart$inboundSchema, WeekStart$outboundSchema, WeekStart$, CalendarEventRecurrence$inboundSchema, CalendarEventRecurrence$outboundSchema, CalendarEventRecurrence$;
40582
40582
  var init_calendareventrecurrence = __esm(() => {
40583
40583
  init_esm();
40584
40584
  init_primitives();
@@ -40589,6 +40589,15 @@ var init_calendareventrecurrence = __esm(() => {
40589
40589
  Monthly: "MONTHLY",
40590
40590
  Yearly: "YEARLY"
40591
40591
  };
40592
+ WeekStart = {
40593
+ Su: "SU",
40594
+ Mo: "MO",
40595
+ Tu: "TU",
40596
+ We: "WE",
40597
+ Th: "TH",
40598
+ Fr: "FR",
40599
+ Sa: "SA"
40600
+ };
40592
40601
  CalendarEventRecurrenceFrequency$inboundSchema = unionType([
40593
40602
  nativeEnumType(CalendarEventRecurrenceFrequency),
40594
40603
  stringType().transform(catchUnrecognizedEnum)
@@ -40601,6 +40610,18 @@ var init_calendareventrecurrence = __esm(() => {
40601
40610
  CalendarEventRecurrenceFrequency$.inboundSchema = CalendarEventRecurrenceFrequency$inboundSchema;
40602
40611
  CalendarEventRecurrenceFrequency$.outboundSchema = CalendarEventRecurrenceFrequency$outboundSchema;
40603
40612
  })(CalendarEventRecurrenceFrequency$ ||= {});
40613
+ WeekStart$inboundSchema = unionType([
40614
+ nativeEnumType(WeekStart),
40615
+ stringType().transform(catchUnrecognizedEnum)
40616
+ ]);
40617
+ WeekStart$outboundSchema = unionType([
40618
+ nativeEnumType(WeekStart),
40619
+ stringType().and(custom())
40620
+ ]);
40621
+ ((WeekStart$) => {
40622
+ WeekStart$.inboundSchema = WeekStart$inboundSchema;
40623
+ WeekStart$.outboundSchema = WeekStart$outboundSchema;
40624
+ })(WeekStart$ ||= {});
40604
40625
  CalendarEventRecurrence$inboundSchema = objectType({
40605
40626
  count: numberType().optional(),
40606
40627
  end_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
@@ -40609,14 +40630,21 @@ var init_calendareventrecurrence = __esm(() => {
40609
40630
  interval: numberType().optional(),
40610
40631
  on_days: arrayType(PropertyCalendarEventRecurrenceOnDays$inboundSchema).optional(),
40611
40632
  on_month_days: arrayType(numberType()).optional(),
40612
- on_months: arrayType(numberType()).optional()
40633
+ on_months: arrayType(numberType()).optional(),
40634
+ on_weeks: arrayType(numberType()).optional(),
40635
+ on_year_days: arrayType(numberType()).optional(),
40636
+ timezone: stringType().optional(),
40637
+ week_start: WeekStart$inboundSchema.optional()
40613
40638
  }).transform((v2) => {
40614
40639
  return remap(v2, {
40615
40640
  end_at: "endAt",
40616
40641
  excluded_dates: "excludedDates",
40617
40642
  on_days: "onDays",
40618
40643
  on_month_days: "onMonthDays",
40619
- on_months: "onMonths"
40644
+ on_months: "onMonths",
40645
+ on_weeks: "onWeeks",
40646
+ on_year_days: "onYearDays",
40647
+ week_start: "weekStart"
40620
40648
  });
40621
40649
  });
40622
40650
  CalendarEventRecurrence$outboundSchema = objectType({
@@ -40627,14 +40655,21 @@ var init_calendareventrecurrence = __esm(() => {
40627
40655
  interval: numberType().optional(),
40628
40656
  onDays: arrayType(PropertyCalendarEventRecurrenceOnDays$outboundSchema).optional(),
40629
40657
  onMonthDays: arrayType(numberType()).optional(),
40630
- onMonths: arrayType(numberType()).optional()
40658
+ onMonths: arrayType(numberType()).optional(),
40659
+ onWeeks: arrayType(numberType()).optional(),
40660
+ onYearDays: arrayType(numberType()).optional(),
40661
+ timezone: stringType().optional(),
40662
+ weekStart: WeekStart$outboundSchema.optional()
40631
40663
  }).transform((v2) => {
40632
40664
  return remap(v2, {
40633
40665
  endAt: "end_at",
40634
40666
  excludedDates: "excluded_dates",
40635
40667
  onDays: "on_days",
40636
40668
  onMonthDays: "on_month_days",
40637
- onMonths: "on_months"
40669
+ onMonths: "on_months",
40670
+ onWeeks: "on_weeks",
40671
+ onYearDays: "on_year_days",
40672
+ weekStart: "week_start"
40638
40673
  });
40639
40674
  });
40640
40675
  ((CalendarEventRecurrence$) => {
@@ -46546,8 +46581,7 @@ var init_issue = __esm(() => {
46546
46581
  InProgress: "IN_PROGRESS",
46547
46582
  OnHold: "ON_HOLD",
46548
46583
  Validating: "VALIDATING",
46549
- Rejected: "REJECTED",
46550
- UpNext: "UP_NEXT"
46584
+ Rejected: "REJECTED"
46551
46585
  };
46552
46586
  IssueStatus$inboundSchema = unionType([
46553
46587
  nativeEnumType(IssueStatus),
@@ -50470,6 +50504,7 @@ var init_tasktask = __esm(() => {
50470
50504
  due_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
50471
50505
  follower_user_ids: arrayType(stringType()).optional(),
50472
50506
  group_ids: arrayType(stringType()).optional(),
50507
+ has_children: booleanType().optional(),
50473
50508
  id: stringType().optional(),
50474
50509
  metadata: arrayType(TaskMetadata$inboundSchema).optional(),
50475
50510
  name: stringType().optional(),
@@ -50492,6 +50527,7 @@ var init_tasktask = __esm(() => {
50492
50527
  due_at: "dueAt",
50493
50528
  follower_user_ids: "followerUserIds",
50494
50529
  group_ids: "groupIds",
50530
+ has_children: "hasChildren",
50495
50531
  parent_id: "parentId",
50496
50532
  project_id: "projectId",
50497
50533
  updated_at: "updatedAt"
@@ -50506,6 +50542,7 @@ var init_tasktask = __esm(() => {
50506
50542
  dueAt: dateType().transform((v2) => v2.toISOString()).optional(),
50507
50543
  followerUserIds: arrayType(stringType()).optional(),
50508
50544
  groupIds: arrayType(stringType()).optional(),
50545
+ hasChildren: booleanType().optional(),
50509
50546
  id: stringType().optional(),
50510
50547
  metadata: arrayType(TaskMetadata$outboundSchema).optional(),
50511
50548
  name: stringType().optional(),
@@ -50528,6 +50565,7 @@ var init_tasktask = __esm(() => {
50528
50565
  dueAt: "due_at",
50529
50566
  followerUserIds: "follower_user_ids",
50530
50567
  groupIds: "group_ids",
50568
+ hasChildren: "has_children",
50531
50569
  parentId: "parent_id",
50532
50570
  projectId: "project_id",
50533
50571
  updatedAt: "updated_at"
@@ -122030,7 +122068,7 @@ var init_unifiedCreateUnifiedConnection2 = __esm(() => {
122030
122068
  name: "unified-create-unified-connection",
122031
122069
  description: `Create connection
122032
122070
 
122033
- Used only to import existing customer credentials; use "Create connection indirectly" instead`,
122071
+ Used only to import existing customer credentials; use "Authorize new connection" instead`,
122034
122072
  args: args459,
122035
122073
  tool: async (client, args460, ctx) => {
122036
122074
  const [result, apiCall] = await unifiedCreateUnifiedConnection(client, args460.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -122452,7 +122490,7 @@ var init_unifiedGetUnifiedIntegrationAuth2 = __esm(() => {
122452
122490
  };
122453
122491
  tool$unifiedGetUnifiedIntegrationAuth = {
122454
122492
  name: "unified-get-unified-integration-auth",
122455
- description: `Create connection indirectly
122493
+ description: `Authorize new connection
122456
122494
 
122457
122495
  Returns an authorization URL for the specified integration. Once a successful authorization occurs, a new connection is created.`,
122458
122496
  args: args463,
@@ -124059,7 +124097,7 @@ var init_unifiedUpdateUnifiedWebhookTrigger2 = __esm(() => {
124059
124097
  function createMCPServer(deps) {
124060
124098
  const server = new McpServer({
124061
124099
  name: "UnifiedTo",
124062
- version: "2.73.8"
124100
+ version: "2.73.10"
124063
124101
  });
124064
124102
  const client = new UnifiedToCore({
124065
124103
  security: deps.security,
@@ -126210,7 +126248,7 @@ var routes = an({
126210
126248
  var app = He(routes, {
126211
126249
  name: "mcp",
126212
126250
  versionInfo: {
126213
- currentVersion: "2.73.8"
126251
+ currentVersion: "2.73.10"
126214
126252
  }
126215
126253
  });
126216
126254
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -126218,5 +126256,5 @@ export {
126218
126256
  app
126219
126257
  };
126220
126258
 
126221
- //# debugId=779A44092162A08F64756E2164756E21
126259
+ //# debugId=CC1CAB3DEA80C23664756E2164756E21
126222
126260
  //# sourceMappingURL=mcp-server.js.map