@epilot/sdk 2.16.0 → 2.16.2

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 (141) hide show
  1. package/definitions/calendar-runtime.json +1 -1
  2. package/definitions/calendar.json +2346 -131
  3. package/definitions/entity.json +22 -1
  4. package/dist/apis/access-token.cjs +6 -6
  5. package/dist/apis/access-token.js +1 -1
  6. package/dist/apis/address-suggestions.cjs +6 -6
  7. package/dist/apis/address-suggestions.js +1 -1
  8. package/dist/apis/address.cjs +6 -6
  9. package/dist/apis/address.js +1 -1
  10. package/dist/apis/ai-agents.cjs +6 -6
  11. package/dist/apis/ai-agents.js +1 -1
  12. package/dist/apis/app.cjs +6 -6
  13. package/dist/apis/app.js +1 -1
  14. package/dist/apis/audit-logs.cjs +6 -6
  15. package/dist/apis/audit-logs.js +1 -1
  16. package/dist/apis/automation.cjs +6 -6
  17. package/dist/apis/automation.js +1 -1
  18. package/dist/apis/billing.cjs +6 -6
  19. package/dist/apis/billing.js +1 -1
  20. package/dist/apis/blueprint-manifest.cjs +6 -6
  21. package/dist/apis/blueprint-manifest.js +1 -1
  22. package/dist/apis/calendar.cjs +8 -8
  23. package/dist/apis/calendar.d.cts +2 -2
  24. package/dist/apis/calendar.d.ts +2 -2
  25. package/dist/apis/calendar.js +2 -2
  26. package/dist/apis/configuration-hub.cjs +6 -6
  27. package/dist/apis/configuration-hub.js +1 -1
  28. package/dist/apis/consent.cjs +6 -6
  29. package/dist/apis/consent.js +1 -1
  30. package/dist/apis/customer-portal.cjs +6 -6
  31. package/dist/apis/customer-portal.js +1 -1
  32. package/dist/apis/dashboard.cjs +6 -6
  33. package/dist/apis/dashboard.js +1 -1
  34. package/dist/apis/data-governance.cjs +6 -6
  35. package/dist/apis/data-governance.js +1 -1
  36. package/dist/apis/deduplication.cjs +6 -6
  37. package/dist/apis/deduplication.js +1 -1
  38. package/dist/apis/design.cjs +6 -6
  39. package/dist/apis/design.js +1 -1
  40. package/dist/apis/document.cjs +6 -6
  41. package/dist/apis/document.js +1 -1
  42. package/dist/apis/email-settings.cjs +6 -6
  43. package/dist/apis/email-settings.js +1 -1
  44. package/dist/apis/email-template.cjs +6 -6
  45. package/dist/apis/email-template.js +1 -1
  46. package/dist/apis/entity-mapping.cjs +6 -6
  47. package/dist/apis/entity-mapping.js +1 -1
  48. package/dist/apis/entity.cjs +6 -6
  49. package/dist/apis/entity.d.cts +2 -2
  50. package/dist/apis/entity.d.ts +2 -2
  51. package/dist/apis/entity.js +1 -1
  52. package/dist/apis/environments.cjs +6 -6
  53. package/dist/apis/environments.js +1 -1
  54. package/dist/apis/event-catalog.cjs +6 -6
  55. package/dist/apis/event-catalog.js +1 -1
  56. package/dist/apis/file.cjs +6 -6
  57. package/dist/apis/file.js +1 -1
  58. package/dist/apis/iban.cjs +6 -6
  59. package/dist/apis/iban.js +1 -1
  60. package/dist/apis/integration-toolkit.cjs +6 -6
  61. package/dist/apis/integration-toolkit.js +1 -1
  62. package/dist/apis/journey.cjs +6 -6
  63. package/dist/apis/journey.js +1 -1
  64. package/dist/apis/kanban.cjs +6 -6
  65. package/dist/apis/kanban.js +1 -1
  66. package/dist/apis/message.cjs +6 -6
  67. package/dist/apis/message.js +1 -1
  68. package/dist/apis/metering.cjs +6 -6
  69. package/dist/apis/metering.js +1 -1
  70. package/dist/apis/notes.cjs +6 -6
  71. package/dist/apis/notes.js +1 -1
  72. package/dist/apis/notification.cjs +6 -6
  73. package/dist/apis/notification.js +1 -1
  74. package/dist/apis/organization.cjs +6 -6
  75. package/dist/apis/organization.js +1 -1
  76. package/dist/apis/partner-directory.cjs +6 -6
  77. package/dist/apis/partner-directory.js +1 -1
  78. package/dist/apis/permissions.cjs +6 -6
  79. package/dist/apis/permissions.js +1 -1
  80. package/dist/apis/pricing-tier.cjs +6 -6
  81. package/dist/apis/pricing-tier.js +1 -1
  82. package/dist/apis/pricing.cjs +6 -6
  83. package/dist/apis/pricing.js +1 -1
  84. package/dist/apis/purpose.cjs +6 -6
  85. package/dist/apis/purpose.js +1 -1
  86. package/dist/apis/query.cjs +6 -6
  87. package/dist/apis/query.js +1 -1
  88. package/dist/apis/sandbox.cjs +6 -6
  89. package/dist/apis/sandbox.js +1 -1
  90. package/dist/apis/sharing.cjs +6 -6
  91. package/dist/apis/sharing.js +1 -1
  92. package/dist/apis/snapshot.cjs +6 -6
  93. package/dist/apis/snapshot.js +1 -1
  94. package/dist/apis/submission.cjs +6 -6
  95. package/dist/apis/submission.js +1 -1
  96. package/dist/apis/target.cjs +6 -6
  97. package/dist/apis/target.js +1 -1
  98. package/dist/apis/targeting.cjs +6 -6
  99. package/dist/apis/targeting.js +1 -1
  100. package/dist/apis/template-variables.cjs +6 -6
  101. package/dist/apis/template-variables.js +1 -1
  102. package/dist/apis/user.cjs +6 -6
  103. package/dist/apis/user.js +1 -1
  104. package/dist/apis/validation-rules.cjs +6 -6
  105. package/dist/apis/validation-rules.js +1 -1
  106. package/dist/apis/webhooks.cjs +6 -6
  107. package/dist/apis/webhooks.js +1 -1
  108. package/dist/apis/workflow-definition.cjs +6 -6
  109. package/dist/apis/workflow-definition.js +1 -1
  110. package/dist/apis/workflow.cjs +6 -6
  111. package/dist/apis/workflow.js +1 -1
  112. package/dist/calendar-GJ7UX6PX.cjs +7 -0
  113. package/dist/calendar-W42TSLFV.js +7 -0
  114. package/dist/{calendar-runtime-6CMMEQMG.js → calendar-runtime-KZPDEYT7.js} +1 -1
  115. package/dist/{calendar-runtime-G4SN5PDY.cjs → calendar-runtime-WMR6GL6I.cjs} +2 -2
  116. package/dist/calendar.d-Cinz1Vzo.d.cts +2357 -0
  117. package/dist/calendar.d-Cinz1Vzo.d.ts +2357 -0
  118. package/dist/chunk-HBJJOW2M.cjs +14 -0
  119. package/dist/{chunk-UCCKYJMU.js → chunk-MK6ZFMSY.js} +3 -3
  120. package/dist/{chunk-X3MPAK4C.cjs → chunk-NBEPUBSZ.cjs} +3 -3
  121. package/dist/chunk-QEAIJQTE.js +14 -0
  122. package/dist/entity-IZHQB3JX.js +7 -0
  123. package/dist/entity-MYDUQBEE.cjs +7 -0
  124. package/dist/{entity.d-CmQvgvyi.d.cts → entity.d-CaFNmDfj.d.cts} +33 -3
  125. package/dist/{entity.d-CmQvgvyi.d.ts → entity.d-CaFNmDfj.d.ts} +33 -3
  126. package/dist/index.cjs +10 -10
  127. package/dist/index.d.cts +2 -2
  128. package/dist/index.d.ts +2 -2
  129. package/dist/index.js +2 -2
  130. package/dist/js-yaml-DLCVPJ7G.js +0 -0
  131. package/docs/calendar.md +1329 -9
  132. package/docs/entity.md +35 -0
  133. package/package.json +11 -12
  134. package/dist/calendar-2YDAYG7S.cjs +0 -7
  135. package/dist/calendar-ACFIHQ2N.js +0 -7
  136. package/dist/calendar.d-BEjLDagH.d.cts +0 -353
  137. package/dist/calendar.d-BEjLDagH.d.ts +0 -353
  138. package/dist/chunk-CKLEBO4K.cjs +0 -14
  139. package/dist/chunk-JNH37UUH.js +0 -14
  140. package/dist/entity-K5HYURU7.js +0 -7
  141. package/dist/entity-V5375UNT.cjs +0 -7
package/docs/entity.md CHANGED
@@ -190,6 +190,7 @@ const { data } = await entityClient.listSchemas(...)
190
190
  - [`LocationConditionDefinition`](#locationconditiondefinition)
191
191
  - [`ConditionDefinition`](#conditiondefinition)
192
192
  - [`EntitySlug`](#entityslug)
193
+ - [`AdjustInstallmentCapabilityConfig`](#adjustinstallmentcapabilityconfig)
193
194
  - [`EntityCapability`](#entitycapability)
194
195
  - [`EntityCapabilityWithCompositeID`](#entitycapabilitywithcompositeid)
195
196
  - [`EntityViewDisabled`](#entityviewdisabled)
@@ -497,6 +498,7 @@ const { data } = await client.getSchema({
497
498
  "_purpose": ["taxonomy-slug:classification-slug"],
498
499
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
499
500
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
501
+ "adjust_installment": {},
500
502
  "ui_config": {},
501
503
  "ui_hooks": [],
502
504
  "feature_flag": "FF_MY_FEATURE_FLAG",
@@ -649,6 +651,7 @@ const { data } = await client.putSchema(
649
651
  _purpose: ['taxonomy-slug:classification-slug'],
650
652
  _manifest: ['123e4567-e89b-12d3-a456-426614174000'],
651
653
  app_id: '123e4567-e89b-12d3-a456-426614174000',
654
+ adjust_installment: { /* ... */ },
652
655
  ui_config: { /* ... */ },
653
656
  ui_hooks: [ /* ... */ ],
654
657
  feature_flag: 'FF_MY_FEATURE_FLAG',
@@ -801,6 +804,7 @@ const { data } = await client.putSchema(
801
804
  "_purpose": ["taxonomy-slug:classification-slug"],
802
805
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
803
806
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
807
+ "adjust_installment": {},
804
808
  "ui_config": {},
805
809
  "ui_hooks": [],
806
810
  "feature_flag": "FF_MY_FEATURE_FLAG",
@@ -1245,6 +1249,7 @@ const { data } = await client.freezeSchema(
1245
1249
  "_purpose": ["taxonomy-slug:classification-slug"],
1246
1250
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
1247
1251
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
1252
+ "adjust_installment": {},
1248
1253
  "ui_config": {},
1249
1254
  "ui_hooks": [],
1250
1255
  "feature_flag": "FF_MY_FEATURE_FLAG",
@@ -1411,6 +1416,7 @@ const { data } = await client.unfreezeSchema({
1411
1416
  "_purpose": ["taxonomy-slug:classification-slug"],
1412
1417
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
1413
1418
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
1419
+ "adjust_installment": {},
1414
1420
  "ui_config": {},
1415
1421
  "ui_hooks": [],
1416
1422
  "feature_flag": "FF_MY_FEATURE_FLAG",
@@ -1515,6 +1521,7 @@ const { data } = await client.listAvailableCapabilities({
1515
1521
  "_purpose": ["taxonomy-slug:classification-slug"],
1516
1522
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
1517
1523
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
1524
+ "adjust_installment": {},
1518
1525
  "ui_config": {},
1519
1526
  "ui_hooks": [],
1520
1527
  "feature_flag": "FF_MY_FEATURE_FLAG",
@@ -5160,6 +5167,9 @@ const { data } = await client.createSchemaCapability(
5160
5167
  _purpose: ['taxonomy-slug:classification-slug'],
5161
5168
  _manifest: ['123e4567-e89b-12d3-a456-426614174000'],
5162
5169
  app_id: '123e4567-e89b-12d3-a456-426614174000',
5170
+ adjust_installment: {
5171
+ journey_id: 'adjust-installment-flow'
5172
+ },
5163
5173
  ui_config: {
5164
5174
  is_filterable: true
5165
5175
  },
@@ -5289,6 +5299,9 @@ const { data } = await client.createSchemaCapability(
5289
5299
  "_purpose": ["taxonomy-slug:classification-slug"],
5290
5300
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
5291
5301
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
5302
+ "adjust_installment": {
5303
+ "journey_id": "adjust-installment-flow"
5304
+ },
5292
5305
  "ui_config": {
5293
5306
  "is_filterable": true
5294
5307
  },
@@ -5433,6 +5446,9 @@ const { data } = await client.getSchemaCapability({
5433
5446
  "_purpose": ["taxonomy-slug:classification-slug"],
5434
5447
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
5435
5448
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
5449
+ "adjust_installment": {
5450
+ "journey_id": "adjust-installment-flow"
5451
+ },
5436
5452
  "ui_config": {
5437
5453
  "is_filterable": true
5438
5454
  },
@@ -5573,6 +5589,9 @@ const { data } = await client.putSchemaCapability(
5573
5589
  _purpose: ['taxonomy-slug:classification-slug'],
5574
5590
  _manifest: ['123e4567-e89b-12d3-a456-426614174000'],
5575
5591
  app_id: '123e4567-e89b-12d3-a456-426614174000',
5592
+ adjust_installment: {
5593
+ journey_id: 'adjust-installment-flow'
5594
+ },
5576
5595
  ui_config: {
5577
5596
  is_filterable: true
5578
5597
  },
@@ -5702,6 +5721,9 @@ const { data } = await client.putSchemaCapability(
5702
5721
  "_purpose": ["taxonomy-slug:classification-slug"],
5703
5722
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
5704
5723
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
5724
+ "adjust_installment": {
5725
+ "journey_id": "adjust-installment-flow"
5726
+ },
5705
5727
  "ui_config": {
5706
5728
  "is_filterable": true
5707
5729
  },
@@ -5846,6 +5868,9 @@ const { data } = await client.deleteSchemaCapability({
5846
5868
  "_purpose": ["taxonomy-slug:classification-slug"],
5847
5869
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
5848
5870
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
5871
+ "adjust_installment": {
5872
+ "journey_id": "adjust-installment-flow"
5873
+ },
5849
5874
  "ui_config": {
5850
5875
  "is_filterable": true
5851
5876
  },
@@ -9511,6 +9536,16 @@ URL-friendly identifier for the entity schema
9511
9536
  type EntitySlug = string
9512
9537
  ```
9513
9538
 
9539
+ ### `AdjustInstallmentCapabilityConfig`
9540
+
9541
+ Configuration for adjusting a contract installment through a Journey.
9542
+
9543
+ ```ts
9544
+ type AdjustInstallmentCapabilityConfig = {
9545
+ journey_id: string
9546
+ }
9547
+ ```
9548
+
9514
9549
  ### `EntityCapability`
9515
9550
 
9516
9551
  Capabilities the Entity has. Turn features on/off for entities.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.16.0",
3
+ "version": "2.16.2",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -322,16 +322,6 @@
322
322
  },
323
323
  "./workflow-definition/openapi.json": "./definitions/workflow-definition.json"
324
324
  },
325
- "scripts": {
326
- "generate": "tsx ../../scripts/generate-sdk-v2.ts && pnpm lint:fix",
327
- "build": "tsup",
328
- "build:watch": "tsup --watch",
329
- "test": "vitest run",
330
- "test:watch": "vitest",
331
- "lint": "biome check src",
332
- "lint:fix": "biome check src --fix",
333
- "prepublishOnly": "npm run build"
334
- },
335
325
  "keywords": [
336
326
  "epilot",
337
327
  "sdk",
@@ -525,5 +515,14 @@
525
515
  "./dist/apis/workflow-definition.d.ts"
526
516
  ]
527
517
  }
518
+ },
519
+ "scripts": {
520
+ "generate": "tsx ../../scripts/generate-sdk-v2.ts && pnpm lint:fix",
521
+ "build": "tsup",
522
+ "build:watch": "tsup --watch",
523
+ "test": "vitest run",
524
+ "test:watch": "vitest",
525
+ "lint": "biome check src",
526
+ "lint:fix": "biome check src --fix"
528
527
  }
529
- }
528
+ }
@@ -1,7 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
2
-
3
- // src/docs/calendar.json
4
- var calendar_default = '# Calendar API\n\n- **Base URL:** `https://calendar.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/calendar](https://docs.epilot.io/api/calendar)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.calendar.listCalendars(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/calendar\'\n\nconst calendarClient = getClient()\nauthorize(calendarClient, () => \'<token>\')\nconst { data } = await calendarClient.listCalendars(...)\n```\n\n## Operations\n\n**Calendars**\n- [`listCalendars`](#listcalendars)\n- [`getCalendar`](#getcalendar)\n\n**Events**\n- [`listEvents`](#listevents)\n- [`getEvent`](#getevent)\n\n**Schemas**\n- [`Calendar`](#calendar)\n- [`CalendarSource`](#calendarsource)\n- [`Provider`](#provider)\n- [`Error`](#error)\n- [`CalendarEvent`](#calendarevent)\n- [`EventType`](#eventtype)\n- [`EventStatus`](#eventstatus)\n- [`Sensitivity`](#sensitivity)\n- [`Importance`](#importance)\n- [`ResponseStatus`](#responsestatus)\n- [`Attendee`](#attendee)\n- [`EventSource`](#eventsource)\n\n### `listCalendars`\n\nList calendars visible to the caller.\n\n`GET /v1/calendar`\n\n```ts\nconst { data } = await client.listCalendars({\n size: 1,\n cursor: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "_id": "string",\n "_schema": "calendar",\n "_org": "string",\n "_title": "string",\n "name": "string",\n "description": "string",\n "color": "string",\n "is_default": true,\n "read_only": true,\n "owner_email": "user@example.com",\n "source": {\n "type": "native",\n "provider": "outlook",\n "provider_calendar_id": "string",\n "last_synced_at": "1970-01-01T00:00:00.000Z"\n },\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z"\n }\n ],\n "next_cursor": "string"\n}\n```\n\n</details>\n\n---\n\n### `getCalendar`\n\nGet a single calendar by its epilot ID.\n\n`GET /v1/calendar/{calendar_id}`\n\n```ts\nconst { data } = await client.getCalendar({\n calendar_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "_id": "string",\n "_schema": "calendar",\n "_org": "string",\n "_title": "string",\n "name": "string",\n "description": "string",\n "color": "string",\n "is_default": true,\n "read_only": true,\n "owner_email": "user@example.com",\n "source": {\n "type": "native",\n "provider": "outlook",\n "provider_calendar_id": "string",\n "last_synced_at": "1970-01-01T00:00:00.000Z"\n },\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `listEvents`\n\nList events in a time window. Recurring events are returned as expanded occurrences \u2013 each instance appears as its own event.\n\n`GET /v1/calendar/events`\n\n```ts\nconst { data } = await client.listEvents({\n from: \'example\',\n to: \'example\',\n calendar_id: \'example\',\n size: 1,\n cursor: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "_id": "string",\n "_schema": "calendar_event",\n "_org": "string",\n "_title": "string",\n "_tags": ["string"],\n "calendar_id": "string",\n "event_type": "singleInstance",\n "description": "string",\n "start_time": "1970-01-01T00:00:00.000Z",\n "end_time": "1970-01-01T00:00:00.000Z",\n "timezone": "string",\n "is_all_day": true,\n "location": "string",\n "status": "free",\n "busy": true,\n "is_cancelled": true,\n "sensitivity": "normal",\n "importance": "low",\n "is_online_meeting": true,\n "online_meeting_url": "https://example.com/path",\n "web_link": "https://example.com/path",\n "response_status": "none",\n "organizer_email": "user@example.com",\n "attendees": [\n {\n "email": "user@example.com",\n "name": "string",\n "response": "none",\n "type": "required"\n }\n ],\n "is_recurring": true,\n "series_master_id": "string",\n "source": {\n "type": "native",\n "provider": "outlook",\n "provider_event_id": "string",\n "provider_event_url": "https://example.com/path",\n "last_synced_at": "1970-01-01T00:00:00.000Z",\n "etag": "string"\n },\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z"\n }\n ],\n "next_cursor": "string"\n}\n```\n\n</details>\n\n---\n\n### `getEvent`\n\nGet a single event by its epilot ID.\n\n`GET /v1/calendar/events/{event_id}`\n\n```ts\nconst { data } = await client.getEvent({\n event_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "_id": "string",\n "_schema": "calendar_event",\n "_org": "string",\n "_title": "string",\n "_tags": ["string"],\n "calendar_id": "string",\n "event_type": "singleInstance",\n "description": "string",\n "start_time": "1970-01-01T00:00:00.000Z",\n "end_time": "1970-01-01T00:00:00.000Z",\n "timezone": "string",\n "is_all_day": true,\n "location": "string",\n "status": "free",\n "busy": true,\n "is_cancelled": true,\n "sensitivity": "normal",\n "importance": "low",\n "is_online_meeting": true,\n "online_meeting_url": "https://example.com/path",\n "web_link": "https://example.com/path",\n "response_status": "none",\n "organizer_email": "user@example.com",\n "attendees": [\n {\n "email": "user@example.com",\n "name": "string",\n "response": "none",\n "type": "required"\n }\n ],\n "is_recurring": true,\n "series_master_id": "string",\n "source": {\n "type": "native",\n "provider": "outlook",\n "provider_event_id": "string",\n "provider_event_url": "https://example.com/path",\n "last_synced_at": "1970-01-01T00:00:00.000Z",\n "etag": "string"\n },\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `Calendar`\n\n```ts\ntype Calendar = {\n _id: string\n _schema: "calendar"\n _org: string\n _title?: string\n name: string\n description?: string\n color?: string\n is_default: boolean\n read_only: boolean\n owner_email?: string // email\n source: {\n type: "native" | "synced"\n provider?: "outlook" | "google" | null\n provider_calendar_id?: string\n last_synced_at?: string // date-time\n }\n _created_at?: string // date-time\n _updated_at?: string // date-time\n}\n```\n\n### `CalendarSource`\n\n```ts\ntype CalendarSource = {\n type: "native" | "synced"\n provider?: "outlook" | "google" | null\n provider_calendar_id?: string\n last_synced_at?: string // date-time\n}\n```\n\n### `Provider`\n\nNull for native epilot calendars\n\n```ts\ntype Provider = "outlook" | "google" | null\n```\n\n### `Error`\n\n```ts\ntype Error = {\n message: string\n code?: string\n}\n```\n\n### `CalendarEvent`\n\n```ts\ntype CalendarEvent = {\n _id: string\n _schema: "calendar_event"\n _org: string\n _title?: string\n _tags?: string[]\n calendar_id: string\n event_type: "singleInstance" | "occurrence" | "exception" | "seriesMaster"\n description?: string\n start_time: string // date-time\n end_time: string // date-time\n timezone: string\n is_all_day: boolean\n location?: string\n status: "free" | "tentative" | "busy" | "oof" | "workingElsewhere" | "unknown"\n busy: boolean\n is_cancelled: boolean\n sensitivity: "normal" | "personal" | "private" | "confidential"\n importance: "low" | "normal" | "high"\n is_online_meeting: boolean\n online_meeting_url?: string // uri\n web_link?: string // uri\n response_status: "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded"\n organizer_email?: string // email\n attendees?: Array<{\n email: string // email\n name?: string\n response: "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded"\n type: "required" | "optional" | "resource"\n }>\n is_recurring: boolean\n series_master_id?: string\n source: {\n type: "native" | "synced"\n provider?: "outlook" | "google" | null\n provider_event_id?: string\n provider_event_url?: string // uri\n last_synced_at?: string // date-time\n etag?: string\n }\n _created_at?: string // date-time\n _updated_at?: string // date-time\n}\n```\n\n### `EventType`\n\n```ts\ntype EventType = "singleInstance" | "occurrence" | "exception" | "seriesMaster"\n```\n\n### `EventStatus`\n\nFree/busy state derived from provider `showAs`\n\n```ts\ntype EventStatus = "free" | "tentative" | "busy" | "oof" | "workingElsewhere" | "unknown"\n```\n\n### `Sensitivity`\n\n```ts\ntype Sensitivity = "normal" | "personal" | "private" | "confidential"\n```\n\n### `Importance`\n\n```ts\ntype Importance = "low" | "normal" | "high"\n```\n\n### `ResponseStatus`\n\nCaller\'s response to the invite\n\n```ts\ntype ResponseStatus = "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded"\n```\n\n### `Attendee`\n\n```ts\ntype Attendee = {\n email: string // email\n name?: string\n response: "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded"\n type: "required" | "optional" | "resource"\n}\n```\n\n### `EventSource`\n\n```ts\ntype EventSource = {\n type: "native" | "synced"\n provider?: "outlook" | "google" | null\n provider_event_id?: string\n provider_event_url?: string // uri\n last_synced_at?: string // date-time\n etag?: string\n}\n```\n';
5
-
6
-
7
- exports.default = calendar_default;
@@ -1,7 +0,0 @@
1
- import "./chunk-YPSWSI3M.js";
2
-
3
- // src/docs/calendar.json
4
- var calendar_default = '# Calendar API\n\n- **Base URL:** `https://calendar.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/calendar](https://docs.epilot.io/api/calendar)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.calendar.listCalendars(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/calendar\'\n\nconst calendarClient = getClient()\nauthorize(calendarClient, () => \'<token>\')\nconst { data } = await calendarClient.listCalendars(...)\n```\n\n## Operations\n\n**Calendars**\n- [`listCalendars`](#listcalendars)\n- [`getCalendar`](#getcalendar)\n\n**Events**\n- [`listEvents`](#listevents)\n- [`getEvent`](#getevent)\n\n**Schemas**\n- [`Calendar`](#calendar)\n- [`CalendarSource`](#calendarsource)\n- [`Provider`](#provider)\n- [`Error`](#error)\n- [`CalendarEvent`](#calendarevent)\n- [`EventType`](#eventtype)\n- [`EventStatus`](#eventstatus)\n- [`Sensitivity`](#sensitivity)\n- [`Importance`](#importance)\n- [`ResponseStatus`](#responsestatus)\n- [`Attendee`](#attendee)\n- [`EventSource`](#eventsource)\n\n### `listCalendars`\n\nList calendars visible to the caller.\n\n`GET /v1/calendar`\n\n```ts\nconst { data } = await client.listCalendars({\n size: 1,\n cursor: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "_id": "string",\n "_schema": "calendar",\n "_org": "string",\n "_title": "string",\n "name": "string",\n "description": "string",\n "color": "string",\n "is_default": true,\n "read_only": true,\n "owner_email": "user@example.com",\n "source": {\n "type": "native",\n "provider": "outlook",\n "provider_calendar_id": "string",\n "last_synced_at": "1970-01-01T00:00:00.000Z"\n },\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z"\n }\n ],\n "next_cursor": "string"\n}\n```\n\n</details>\n\n---\n\n### `getCalendar`\n\nGet a single calendar by its epilot ID.\n\n`GET /v1/calendar/{calendar_id}`\n\n```ts\nconst { data } = await client.getCalendar({\n calendar_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "_id": "string",\n "_schema": "calendar",\n "_org": "string",\n "_title": "string",\n "name": "string",\n "description": "string",\n "color": "string",\n "is_default": true,\n "read_only": true,\n "owner_email": "user@example.com",\n "source": {\n "type": "native",\n "provider": "outlook",\n "provider_calendar_id": "string",\n "last_synced_at": "1970-01-01T00:00:00.000Z"\n },\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `listEvents`\n\nList events in a time window. Recurring events are returned as expanded occurrences \u2013 each instance appears as its own event.\n\n`GET /v1/calendar/events`\n\n```ts\nconst { data } = await client.listEvents({\n from: \'example\',\n to: \'example\',\n calendar_id: \'example\',\n size: 1,\n cursor: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "_id": "string",\n "_schema": "calendar_event",\n "_org": "string",\n "_title": "string",\n "_tags": ["string"],\n "calendar_id": "string",\n "event_type": "singleInstance",\n "description": "string",\n "start_time": "1970-01-01T00:00:00.000Z",\n "end_time": "1970-01-01T00:00:00.000Z",\n "timezone": "string",\n "is_all_day": true,\n "location": "string",\n "status": "free",\n "busy": true,\n "is_cancelled": true,\n "sensitivity": "normal",\n "importance": "low",\n "is_online_meeting": true,\n "online_meeting_url": "https://example.com/path",\n "web_link": "https://example.com/path",\n "response_status": "none",\n "organizer_email": "user@example.com",\n "attendees": [\n {\n "email": "user@example.com",\n "name": "string",\n "response": "none",\n "type": "required"\n }\n ],\n "is_recurring": true,\n "series_master_id": "string",\n "source": {\n "type": "native",\n "provider": "outlook",\n "provider_event_id": "string",\n "provider_event_url": "https://example.com/path",\n "last_synced_at": "1970-01-01T00:00:00.000Z",\n "etag": "string"\n },\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z"\n }\n ],\n "next_cursor": "string"\n}\n```\n\n</details>\n\n---\n\n### `getEvent`\n\nGet a single event by its epilot ID.\n\n`GET /v1/calendar/events/{event_id}`\n\n```ts\nconst { data } = await client.getEvent({\n event_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "_id": "string",\n "_schema": "calendar_event",\n "_org": "string",\n "_title": "string",\n "_tags": ["string"],\n "calendar_id": "string",\n "event_type": "singleInstance",\n "description": "string",\n "start_time": "1970-01-01T00:00:00.000Z",\n "end_time": "1970-01-01T00:00:00.000Z",\n "timezone": "string",\n "is_all_day": true,\n "location": "string",\n "status": "free",\n "busy": true,\n "is_cancelled": true,\n "sensitivity": "normal",\n "importance": "low",\n "is_online_meeting": true,\n "online_meeting_url": "https://example.com/path",\n "web_link": "https://example.com/path",\n "response_status": "none",\n "organizer_email": "user@example.com",\n "attendees": [\n {\n "email": "user@example.com",\n "name": "string",\n "response": "none",\n "type": "required"\n }\n ],\n "is_recurring": true,\n "series_master_id": "string",\n "source": {\n "type": "native",\n "provider": "outlook",\n "provider_event_id": "string",\n "provider_event_url": "https://example.com/path",\n "last_synced_at": "1970-01-01T00:00:00.000Z",\n "etag": "string"\n },\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `Calendar`\n\n```ts\ntype Calendar = {\n _id: string\n _schema: "calendar"\n _org: string\n _title?: string\n name: string\n description?: string\n color?: string\n is_default: boolean\n read_only: boolean\n owner_email?: string // email\n source: {\n type: "native" | "synced"\n provider?: "outlook" | "google" | null\n provider_calendar_id?: string\n last_synced_at?: string // date-time\n }\n _created_at?: string // date-time\n _updated_at?: string // date-time\n}\n```\n\n### `CalendarSource`\n\n```ts\ntype CalendarSource = {\n type: "native" | "synced"\n provider?: "outlook" | "google" | null\n provider_calendar_id?: string\n last_synced_at?: string // date-time\n}\n```\n\n### `Provider`\n\nNull for native epilot calendars\n\n```ts\ntype Provider = "outlook" | "google" | null\n```\n\n### `Error`\n\n```ts\ntype Error = {\n message: string\n code?: string\n}\n```\n\n### `CalendarEvent`\n\n```ts\ntype CalendarEvent = {\n _id: string\n _schema: "calendar_event"\n _org: string\n _title?: string\n _tags?: string[]\n calendar_id: string\n event_type: "singleInstance" | "occurrence" | "exception" | "seriesMaster"\n description?: string\n start_time: string // date-time\n end_time: string // date-time\n timezone: string\n is_all_day: boolean\n location?: string\n status: "free" | "tentative" | "busy" | "oof" | "workingElsewhere" | "unknown"\n busy: boolean\n is_cancelled: boolean\n sensitivity: "normal" | "personal" | "private" | "confidential"\n importance: "low" | "normal" | "high"\n is_online_meeting: boolean\n online_meeting_url?: string // uri\n web_link?: string // uri\n response_status: "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded"\n organizer_email?: string // email\n attendees?: Array<{\n email: string // email\n name?: string\n response: "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded"\n type: "required" | "optional" | "resource"\n }>\n is_recurring: boolean\n series_master_id?: string\n source: {\n type: "native" | "synced"\n provider?: "outlook" | "google" | null\n provider_event_id?: string\n provider_event_url?: string // uri\n last_synced_at?: string // date-time\n etag?: string\n }\n _created_at?: string // date-time\n _updated_at?: string // date-time\n}\n```\n\n### `EventType`\n\n```ts\ntype EventType = "singleInstance" | "occurrence" | "exception" | "seriesMaster"\n```\n\n### `EventStatus`\n\nFree/busy state derived from provider `showAs`\n\n```ts\ntype EventStatus = "free" | "tentative" | "busy" | "oof" | "workingElsewhere" | "unknown"\n```\n\n### `Sensitivity`\n\n```ts\ntype Sensitivity = "normal" | "personal" | "private" | "confidential"\n```\n\n### `Importance`\n\n```ts\ntype Importance = "low" | "normal" | "high"\n```\n\n### `ResponseStatus`\n\nCaller\'s response to the invite\n\n```ts\ntype ResponseStatus = "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded"\n```\n\n### `Attendee`\n\n```ts\ntype Attendee = {\n email: string // email\n name?: string\n response: "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded"\n type: "required" | "optional" | "resource"\n}\n```\n\n### `EventSource`\n\n```ts\ntype EventSource = {\n type: "native" | "synced"\n provider?: "outlook" | "google" | null\n provider_event_id?: string\n provider_event_url?: string // uri\n last_synced_at?: string // date-time\n etag?: string\n}\n```\n';
5
- export {
6
- calendar_default as default
7
- };
@@ -1,353 +0,0 @@
1
- import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
-
3
- /* Auto-copied from calendar-client */
4
-
5
-
6
- declare namespace Components {
7
- namespace Schemas {
8
- export interface Attendee {
9
- email: string; // email
10
- name?: string | null;
11
- response: /* Caller's response to the invite */ ResponseStatus;
12
- type: "required" | "optional" | "resource";
13
- }
14
- export interface Calendar {
15
- /**
16
- * epilot calendar ID
17
- */
18
- _id: string;
19
- _schema: "calendar";
20
- /**
21
- * Organization the calendar belongs to
22
- */
23
- _org: string;
24
- /**
25
- * Computed display title
26
- */
27
- _title?: string;
28
- name: string;
29
- description?: string | null;
30
- /**
31
- * Hex color (e.g. "#3b82f6") or provider-defined named color
32
- */
33
- color?: string | null;
34
- /**
35
- * True if this is the user's primary calendar
36
- */
37
- is_default: boolean;
38
- /**
39
- * True if the caller cannot modify events in this calendar
40
- */
41
- read_only: boolean;
42
- owner_email?: string | null; // email
43
- source: CalendarSource;
44
- _created_at?: string; // date-time
45
- _updated_at?: string; // date-time
46
- }
47
- export interface CalendarEvent {
48
- /**
49
- * epilot event ID
50
- */
51
- _id: string;
52
- _schema: "calendar_event";
53
- _org: string;
54
- /**
55
- * Null when sensitivity is private or confidential
56
- */
57
- _title?: string | null;
58
- /**
59
- * Provider categories (Outlook) or colours (Google) as epilot tags
60
- */
61
- _tags?: string[];
62
- /**
63
- * epilot calendar this event belongs to
64
- */
65
- calendar_id: string;
66
- event_type: EventType;
67
- /**
68
- * Preview of the event body, truncated to 255 chars
69
- */
70
- description?: string | null;
71
- /**
72
- * Event start in UTC
73
- */
74
- start_time: string; // date-time
75
- /**
76
- * Event end in UTC
77
- */
78
- end_time: string; // date-time
79
- /**
80
- * IANA timezone of the original event (for display)
81
- */
82
- timezone: string;
83
- is_all_day: boolean;
84
- location?: string | null;
85
- status: /* Free/busy state derived from provider `showAs` */ EventStatus;
86
- /**
87
- * Convenience flag, true when status is busy/oof/tentative
88
- */
89
- busy: boolean;
90
- is_cancelled: boolean;
91
- sensitivity: Sensitivity;
92
- importance: Importance;
93
- is_online_meeting: boolean;
94
- /**
95
- * Teams, Meet, Zoom, or similar join URL
96
- */
97
- online_meeting_url?: string | null; // uri
98
- /**
99
- * Deep link to open the event in the originating provider
100
- */
101
- web_link?: string | null; // uri
102
- response_status: /* Caller's response to the invite */ ResponseStatus;
103
- organizer_email?: string | null; // email
104
- /**
105
- * Null when sensitivity is private or confidential
106
- */
107
- attendees?: Attendee[] | null;
108
- is_recurring: boolean;
109
- /**
110
- * ID of the recurring series this occurrence belongs to
111
- */
112
- series_master_id?: string | null;
113
- source: EventSource;
114
- _created_at?: string; // date-time
115
- _updated_at?: string; // date-time
116
- }
117
- export interface CalendarSource {
118
- /**
119
- * `native` = hosted by epilot. `synced` = mirrored from an external provider.
120
- */
121
- type: "native" | "synced";
122
- provider?: /* Null for native epilot calendars */ Provider;
123
- provider_calendar_id?: string | null;
124
- last_synced_at?: string | null; // date-time
125
- }
126
- export interface Error {
127
- message: string;
128
- code?: string;
129
- }
130
- export interface EventSource {
131
- /**
132
- * `native` = hosted by epilot. `synced` = mirrored from an external provider.
133
- */
134
- type: "native" | "synced";
135
- provider?: /* Null for native epilot calendars */ Provider;
136
- provider_event_id?: string | null;
137
- /**
138
- * Deep link to open the event in the originating provider
139
- */
140
- provider_event_url?: string | null; // uri
141
- last_synced_at?: string | null; // date-time
142
- /**
143
- * Provider-supplied version tag used for conflict detection
144
- */
145
- etag?: string | null;
146
- }
147
- /**
148
- * Free/busy state derived from provider `showAs`
149
- */
150
- export type EventStatus = "free" | "tentative" | "busy" | "oof" | "workingElsewhere" | "unknown";
151
- export type EventType = "singleInstance" | "occurrence" | "exception" | "seriesMaster";
152
- export type Importance = "low" | "normal" | "high";
153
- /**
154
- * Null for native epilot calendars
155
- */
156
- export type Provider = "outlook" | "google" | null;
157
- /**
158
- * Caller's response to the invite
159
- */
160
- export type ResponseStatus = "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded";
161
- export type Sensitivity = "normal" | "personal" | "private" | "confidential";
162
- }
163
- }
164
- declare namespace Paths {
165
- namespace GetCalendar {
166
- namespace Parameters {
167
- export type CalendarId = string;
168
- }
169
- export interface PathParameters {
170
- calendar_id: Parameters.CalendarId;
171
- }
172
- namespace Responses {
173
- export type $200 = Components.Schemas.Calendar;
174
- export type $404 = Components.Schemas.Error;
175
- }
176
- }
177
- namespace GetEvent {
178
- namespace Parameters {
179
- export type EventId = string;
180
- }
181
- export interface PathParameters {
182
- event_id: Parameters.EventId;
183
- }
184
- namespace Responses {
185
- export type $200 = Components.Schemas.CalendarEvent;
186
- export type $404 = Components.Schemas.Error;
187
- }
188
- }
189
- namespace ListCalendars {
190
- namespace Parameters {
191
- /**
192
- * Opaque cursor from a previous response
193
- */
194
- export type Cursor = string;
195
- export type Size = number;
196
- }
197
- export interface QueryParameters {
198
- size?: Parameters.Size;
199
- cursor?: /* Opaque cursor from a previous response */ Parameters.Cursor;
200
- }
201
- namespace Responses {
202
- export interface $200 {
203
- results: Components.Schemas.Calendar[];
204
- next_cursor?: string | null;
205
- }
206
- }
207
- }
208
- namespace ListEvents {
209
- namespace Parameters {
210
- /**
211
- * Filter to a single calendar. Omit to query across all accessible calendars.
212
- */
213
- export type CalendarId = string;
214
- export type Cursor = string;
215
- /**
216
- * Start of the time window (inclusive)
217
- */
218
- export type From = string; // date-time
219
- export type Size = number;
220
- /**
221
- * End of the time window (exclusive)
222
- */
223
- export type To = string; // date-time
224
- }
225
- export interface QueryParameters {
226
- from: /* Start of the time window (inclusive) */ Parameters.From /* date-time */;
227
- to: /* End of the time window (exclusive) */ Parameters.To /* date-time */;
228
- calendar_id?: /* Filter to a single calendar. Omit to query across all accessible calendars. */ Parameters.CalendarId;
229
- size?: Parameters.Size;
230
- cursor?: Parameters.Cursor;
231
- }
232
- namespace Responses {
233
- export interface $200 {
234
- results: Components.Schemas.CalendarEvent[];
235
- next_cursor?: string | null;
236
- }
237
- export type $400 = Components.Schemas.Error;
238
- }
239
- }
240
- }
241
-
242
-
243
- interface OperationMethods {
244
- /**
245
- * listCalendars - listCalendars
246
- *
247
- * List calendars visible to the caller.
248
- */
249
- 'listCalendars'(
250
- parameters?: Parameters<Paths.ListCalendars.QueryParameters> | null,
251
- data?: any,
252
- config?: AxiosRequestConfig
253
- ): OperationResponse<Paths.ListCalendars.Responses.$200>
254
- /**
255
- * getCalendar - getCalendar
256
- *
257
- * Get a single calendar by its epilot ID.
258
- */
259
- 'getCalendar'(
260
- parameters?: Parameters<Paths.GetCalendar.PathParameters> | null,
261
- data?: any,
262
- config?: AxiosRequestConfig
263
- ): OperationResponse<Paths.GetCalendar.Responses.$200>
264
- /**
265
- * listEvents - listEvents
266
- *
267
- * List events in a time window. Recurring events are returned as expanded occurrences – each instance appears as its own event.
268
- */
269
- 'listEvents'(
270
- parameters?: Parameters<Paths.ListEvents.QueryParameters> | null,
271
- data?: any,
272
- config?: AxiosRequestConfig
273
- ): OperationResponse<Paths.ListEvents.Responses.$200>
274
- /**
275
- * getEvent - getEvent
276
- *
277
- * Get a single event by its epilot ID.
278
- */
279
- 'getEvent'(
280
- parameters?: Parameters<Paths.GetEvent.PathParameters> | null,
281
- data?: any,
282
- config?: AxiosRequestConfig
283
- ): OperationResponse<Paths.GetEvent.Responses.$200>
284
- }
285
-
286
- interface PathsDictionary {
287
- ['/v1/calendar']: {
288
- /**
289
- * listCalendars - listCalendars
290
- *
291
- * List calendars visible to the caller.
292
- */
293
- 'get'(
294
- parameters?: Parameters<Paths.ListCalendars.QueryParameters> | null,
295
- data?: any,
296
- config?: AxiosRequestConfig
297
- ): OperationResponse<Paths.ListCalendars.Responses.$200>
298
- }
299
- ['/v1/calendar/{calendar_id}']: {
300
- /**
301
- * getCalendar - getCalendar
302
- *
303
- * Get a single calendar by its epilot ID.
304
- */
305
- 'get'(
306
- parameters?: Parameters<Paths.GetCalendar.PathParameters> | null,
307
- data?: any,
308
- config?: AxiosRequestConfig
309
- ): OperationResponse<Paths.GetCalendar.Responses.$200>
310
- }
311
- ['/v1/calendar/events']: {
312
- /**
313
- * listEvents - listEvents
314
- *
315
- * List events in a time window. Recurring events are returned as expanded occurrences – each instance appears as its own event.
316
- */
317
- 'get'(
318
- parameters?: Parameters<Paths.ListEvents.QueryParameters> | null,
319
- data?: any,
320
- config?: AxiosRequestConfig
321
- ): OperationResponse<Paths.ListEvents.Responses.$200>
322
- }
323
- ['/v1/calendar/events/{event_id}']: {
324
- /**
325
- * getEvent - getEvent
326
- *
327
- * Get a single event by its epilot ID.
328
- */
329
- 'get'(
330
- parameters?: Parameters<Paths.GetEvent.PathParameters> | null,
331
- data?: any,
332
- config?: AxiosRequestConfig
333
- ): OperationResponse<Paths.GetEvent.Responses.$200>
334
- }
335
- }
336
-
337
- type Client = OpenAPIClient<OperationMethods, PathsDictionary>
338
-
339
-
340
- type Attendee = Components.Schemas.Attendee;
341
- type Calendar = Components.Schemas.Calendar;
342
- type CalendarEvent = Components.Schemas.CalendarEvent;
343
- type CalendarSource = Components.Schemas.CalendarSource;
344
- type Error = Components.Schemas.Error;
345
- type EventSource = Components.Schemas.EventSource;
346
- type EventStatus = Components.Schemas.EventStatus;
347
- type EventType = Components.Schemas.EventType;
348
- type Importance = Components.Schemas.Importance;
349
- type Provider = Components.Schemas.Provider;
350
- type ResponseStatus = Components.Schemas.ResponseStatus;
351
- type Sensitivity = Components.Schemas.Sensitivity;
352
-
353
- export { type Attendee as A, type Client as C, type Error as E, type Importance as I, type OperationMethods as O, Paths as P, type ResponseStatus as R, type Sensitivity as S, Components as a, type PathsDictionary as b, type Calendar as c, type CalendarEvent as d, type CalendarSource as e, type EventSource as f, type EventStatus as g, type EventType as h, type Provider as i };