@unified-api/typescript-sdk 2.73.9 → 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 (48) hide show
  1. package/README.md +3 -3
  2. package/bin/mcp-server.js +47 -12
  3. package/bin/mcp-server.js.map +10 -10
  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 +2 -2
  15. package/lib/config.js +2 -2
  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/unified.d.ts +2 -2
  36. package/sdk/unified.js +2 -2
  37. package/src/funcs/unifiedCreateUnifiedConnection.ts +1 -1
  38. package/src/funcs/unifiedGetUnifiedIntegrationAuth.ts +1 -1
  39. package/src/lib/config.ts +2 -2
  40. package/src/mcp-server/mcp-server.ts +1 -1
  41. package/src/mcp-server/server.ts +1 -1
  42. package/src/mcp-server/tools/unifiedCreateUnifiedConnection.ts +1 -1
  43. package/src/mcp-server/tools/unifiedGetUnifiedIntegrationAuth.ts +1 -1
  44. package/src/sdk/auth.ts +1 -1
  45. package/src/sdk/connection.ts +1 -1
  46. package/src/sdk/integration.ts +1 -1
  47. package/src/sdk/models/shared/calendareventrecurrence.ts +71 -0
  48. 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.9",
34234
+ sdkVersion: "2.73.10",
34235
34235
  genVersion: "2.657.1",
34236
- userAgent: "speakeasy-sdk/typescript 2.73.9 2.657.1 1.0 @unified-api/typescript-sdk"
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$) => {
@@ -122033,7 +122068,7 @@ var init_unifiedCreateUnifiedConnection2 = __esm(() => {
122033
122068
  name: "unified-create-unified-connection",
122034
122069
  description: `Create connection
122035
122070
 
122036
- 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`,
122037
122072
  args: args459,
122038
122073
  tool: async (client, args460, ctx) => {
122039
122074
  const [result, apiCall] = await unifiedCreateUnifiedConnection(client, args460.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -122455,7 +122490,7 @@ var init_unifiedGetUnifiedIntegrationAuth2 = __esm(() => {
122455
122490
  };
122456
122491
  tool$unifiedGetUnifiedIntegrationAuth = {
122457
122492
  name: "unified-get-unified-integration-auth",
122458
- description: `Create connection indirectly
122493
+ description: `Authorize new connection
122459
122494
 
122460
122495
  Returns an authorization URL for the specified integration. Once a successful authorization occurs, a new connection is created.`,
122461
122496
  args: args463,
@@ -124062,7 +124097,7 @@ var init_unifiedUpdateUnifiedWebhookTrigger2 = __esm(() => {
124062
124097
  function createMCPServer(deps) {
124063
124098
  const server = new McpServer({
124064
124099
  name: "UnifiedTo",
124065
- version: "2.73.9"
124100
+ version: "2.73.10"
124066
124101
  });
124067
124102
  const client = new UnifiedToCore({
124068
124103
  security: deps.security,
@@ -126213,7 +126248,7 @@ var routes = an({
126213
126248
  var app = He(routes, {
126214
126249
  name: "mcp",
126215
126250
  versionInfo: {
126216
- currentVersion: "2.73.9"
126251
+ currentVersion: "2.73.10"
126217
126252
  }
126218
126253
  });
126219
126254
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -126221,5 +126256,5 @@ export {
126221
126256
  app
126222
126257
  };
126223
126258
 
126224
- //# debugId=393732A361FF5FFB64756E2164756E21
126259
+ //# debugId=CC1CAB3DEA80C23664756E2164756E21
126225
126260
  //# sourceMappingURL=mcp-server.js.map