@epilot/sdk 2.4.3 → 2.4.4

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 (136) hide show
  1. package/README.md +1 -0
  2. package/definitions/app-runtime.json +1 -1
  3. package/definitions/app.json +346 -10
  4. package/definitions/calendar-runtime.json +1 -0
  5. package/definitions/calendar.json +675 -0
  6. package/definitions/customer-portal.json +29 -0
  7. package/definitions/notes.json +175 -130
  8. package/definitions/pricing.json +5 -1
  9. package/dist/README-46VYEGGW.js +7 -0
  10. package/dist/README-IVBISSWB.cjs +7 -0
  11. package/dist/{_index-HE4B6FOA.js → _index-5FB6F5YY.js} +3 -0
  12. package/dist/{_index-55HAH24D.cjs → _index-DB2VV4PQ.cjs} +4 -1
  13. package/dist/apis/access-token.cjs +6 -6
  14. package/dist/apis/access-token.js +1 -1
  15. package/dist/apis/address-suggestions.cjs +6 -6
  16. package/dist/apis/address-suggestions.js +1 -1
  17. package/dist/apis/address.cjs +6 -6
  18. package/dist/apis/address.js +1 -1
  19. package/dist/apis/ai-agents.cjs +6 -6
  20. package/dist/apis/ai-agents.js +1 -1
  21. package/dist/apis/app.cjs +6 -6
  22. package/dist/apis/app.js +1 -1
  23. package/dist/apis/audit-logs.cjs +6 -6
  24. package/dist/apis/audit-logs.js +1 -1
  25. package/dist/apis/automation.cjs +6 -6
  26. package/dist/apis/automation.js +1 -1
  27. package/dist/apis/billing.cjs +6 -6
  28. package/dist/apis/billing.js +1 -1
  29. package/dist/apis/blueprint-manifest.cjs +6 -6
  30. package/dist/apis/blueprint-manifest.js +1 -1
  31. package/dist/apis/calendar.cjs +38 -0
  32. package/dist/apis/calendar.d.cts +18 -0
  33. package/dist/apis/calendar.d.ts +18 -0
  34. package/dist/apis/calendar.js +38 -0
  35. package/dist/apis/configuration-hub.cjs +6 -6
  36. package/dist/apis/configuration-hub.js +1 -1
  37. package/dist/apis/consent.cjs +6 -6
  38. package/dist/apis/consent.js +1 -1
  39. package/dist/apis/customer-portal.cjs +6 -6
  40. package/dist/apis/customer-portal.js +1 -1
  41. package/dist/apis/dashboard.cjs +6 -6
  42. package/dist/apis/dashboard.js +1 -1
  43. package/dist/apis/data-governance.cjs +6 -6
  44. package/dist/apis/data-governance.js +1 -1
  45. package/dist/apis/deduplication.cjs +6 -6
  46. package/dist/apis/deduplication.js +1 -1
  47. package/dist/apis/design.cjs +6 -6
  48. package/dist/apis/design.js +1 -1
  49. package/dist/apis/document.cjs +6 -6
  50. package/dist/apis/document.js +1 -1
  51. package/dist/apis/email-settings.cjs +6 -6
  52. package/dist/apis/email-settings.js +1 -1
  53. package/dist/apis/email-template.cjs +6 -6
  54. package/dist/apis/email-template.js +1 -1
  55. package/dist/apis/entity-mapping.cjs +6 -6
  56. package/dist/apis/entity-mapping.js +1 -1
  57. package/dist/apis/entity.cjs +6 -6
  58. package/dist/apis/entity.js +1 -1
  59. package/dist/apis/environments.cjs +6 -6
  60. package/dist/apis/environments.js +1 -1
  61. package/dist/apis/event-catalog.cjs +6 -6
  62. package/dist/apis/event-catalog.js +1 -1
  63. package/dist/apis/file.cjs +6 -6
  64. package/dist/apis/file.js +1 -1
  65. package/dist/apis/iban.cjs +6 -6
  66. package/dist/apis/iban.js +1 -1
  67. package/dist/apis/integration-toolkit.cjs +6 -6
  68. package/dist/apis/integration-toolkit.js +1 -1
  69. package/dist/apis/journey.cjs +6 -6
  70. package/dist/apis/journey.js +1 -1
  71. package/dist/apis/kanban.cjs +6 -6
  72. package/dist/apis/kanban.js +1 -1
  73. package/dist/apis/message.cjs +6 -6
  74. package/dist/apis/message.js +1 -1
  75. package/dist/apis/metering.cjs +6 -6
  76. package/dist/apis/metering.js +1 -1
  77. package/dist/apis/notes.cjs +6 -6
  78. package/dist/apis/notes.js +1 -1
  79. package/dist/apis/notification.cjs +6 -6
  80. package/dist/apis/notification.js +1 -1
  81. package/dist/apis/organization.cjs +6 -6
  82. package/dist/apis/organization.js +1 -1
  83. package/dist/apis/partner-directory.cjs +6 -6
  84. package/dist/apis/partner-directory.js +1 -1
  85. package/dist/apis/permissions.cjs +6 -6
  86. package/dist/apis/permissions.js +1 -1
  87. package/dist/apis/pricing-tier.cjs +6 -6
  88. package/dist/apis/pricing-tier.js +1 -1
  89. package/dist/apis/pricing.cjs +6 -6
  90. package/dist/apis/pricing.js +1 -1
  91. package/dist/apis/purpose.cjs +6 -6
  92. package/dist/apis/purpose.js +1 -1
  93. package/dist/apis/query.cjs +6 -6
  94. package/dist/apis/query.js +1 -1
  95. package/dist/apis/sandbox.cjs +6 -6
  96. package/dist/apis/sandbox.js +1 -1
  97. package/dist/apis/sharing.cjs +6 -6
  98. package/dist/apis/sharing.js +1 -1
  99. package/dist/apis/submission.cjs +6 -6
  100. package/dist/apis/submission.js +1 -1
  101. package/dist/apis/target.cjs +6 -6
  102. package/dist/apis/target.js +1 -1
  103. package/dist/apis/targeting.cjs +6 -6
  104. package/dist/apis/targeting.js +1 -1
  105. package/dist/apis/template-variables.cjs +6 -6
  106. package/dist/apis/template-variables.js +1 -1
  107. package/dist/apis/user.cjs +6 -6
  108. package/dist/apis/user.js +1 -1
  109. package/dist/apis/validation-rules.cjs +6 -6
  110. package/dist/apis/validation-rules.js +1 -1
  111. package/dist/apis/webhooks.cjs +6 -6
  112. package/dist/apis/webhooks.js +1 -1
  113. package/dist/apis/workflow-definition.cjs +6 -6
  114. package/dist/apis/workflow-definition.js +1 -1
  115. package/dist/apis/workflow.cjs +6 -6
  116. package/dist/apis/workflow.js +1 -1
  117. package/dist/bin/cli.js +1 -1
  118. package/dist/calendar-2YDAYG7S.cjs +7 -0
  119. package/dist/calendar-ACFIHQ2N.js +7 -0
  120. package/dist/calendar-runtime-6CMMEQMG.js +5 -0
  121. package/dist/calendar-runtime-G4SN5PDY.cjs +5 -0
  122. package/dist/calendar.d-BEjLDagH.d.cts +353 -0
  123. package/dist/calendar.d-BEjLDagH.d.ts +353 -0
  124. package/dist/{chunk-AM5TSEMU.cjs → chunk-CD4OX2U6.cjs} +4 -2
  125. package/dist/chunk-CKLEBO4K.cjs +14 -0
  126. package/dist/chunk-JNH37UUH.js +14 -0
  127. package/dist/{chunk-M25MI6ZX.js → chunk-TSV242UN.js} +4 -2
  128. package/dist/index.cjs +25 -17
  129. package/dist/index.d.cts +82 -80
  130. package/dist/index.d.ts +82 -80
  131. package/dist/index.js +21 -13
  132. package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
  133. package/docs/calendar.md +441 -0
  134. package/package.json +10 -1
  135. package/dist/README-6MG272KM.cjs +0 -7
  136. package/dist/README-7N542PBL.js +0 -7
@@ -0,0 +1,353 @@
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 };
@@ -18,8 +18,8 @@ var authorize = (client, token) => {
18
18
 
19
19
  // import("./docs/**/*") in src/help.ts
20
20
  var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
21
- "./docs/README.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./README-6MG272KM.cjs"))),
22
- "./docs/_index.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./_index-55HAH24D.cjs"))),
21
+ "./docs/README.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./README-IVBISSWB.cjs"))),
22
+ "./docs/_index.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./_index-DB2VV4PQ.cjs"))),
23
23
  "./docs/access-token.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./access-token-6BJDZSFE.cjs"))),
24
24
  "./docs/address-suggestions.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./address-suggestions-IUQMYF27.cjs"))),
25
25
  "./docs/address.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./address-HA4RMRNQ.cjs"))),
@@ -29,6 +29,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
29
29
  "./docs/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-BMO7ZFTN.cjs"))),
30
30
  "./docs/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-DUWDISHP.cjs"))),
31
31
  "./docs/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-IEQ6YBY7.cjs"))),
32
+ "./docs/calendar.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./calendar-2YDAYG7S.cjs"))),
32
33
  "./docs/configuration-hub.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-A3S6ND6R.cjs"))),
33
34
  "./docs/consent.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./consent-CS2ZBZX4.cjs"))),
34
35
  "./docs/customer-portal.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./customer-portal-5LMHNBMD.cjs"))),
@@ -107,6 +108,7 @@ var globImport_definitions_json = _chunkNJK5F5TFcjs.__glob.call(void 0, {
107
108
  "./definitions/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-3VZPNG6M.cjs"))),
108
109
  "./definitions/blueprint-manifest-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-runtime-QN2IECSA.cjs"))),
109
110
  "./definitions/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-5TNVSDKC.cjs"))),
111
+ "./definitions/calendar-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./calendar-runtime-G4SN5PDY.cjs"))),
110
112
  "./definitions/configuration-hub-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-runtime-I5Y67CXD.cjs"))),
111
113
  "./definitions/consent-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./consent-runtime-KZ5D4XZU.cjs"))),
112
114
  "./definitions/consent.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./consent-6SIH4NQS.cjs"))),
@@ -0,0 +1,14 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
4
+
5
+ // src/definitions/calendar-runtime.json
6
+ var require_calendar_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
7
+ "src/definitions/calendar-runtime.json"(exports, module) {
8
+ module.exports = { s: "https://calendar.sls.epilot.io", o: [["listCalendars", "get", "/v1/calendar", [["size", "q"], ["cursor", "q"]]], ["getCalendar", "get", "/v1/calendar/{calendar_id}", [["calendar_id", "p", true]]], ["listEvents", "get", "/v1/calendar/events", [["from", "q", true], ["to", "q", true], ["calendar_id", "q"], ["size", "q"], ["cursor", "q"]]], ["getEvent", "get", "/v1/calendar/events/{event_id}", [["event_id", "p", true]]]], v: "3.0.3" };
9
+ }
10
+ });
11
+
12
+
13
+
14
+ exports.require_calendar_runtime = require_calendar_runtime;
@@ -0,0 +1,14 @@
1
+ import {
2
+ __commonJS
3
+ } from "./chunk-YPSWSI3M.js";
4
+
5
+ // src/definitions/calendar-runtime.json
6
+ var require_calendar_runtime = __commonJS({
7
+ "src/definitions/calendar-runtime.json"(exports, module) {
8
+ module.exports = { s: "https://calendar.sls.epilot.io", o: [["listCalendars", "get", "/v1/calendar", [["size", "q"], ["cursor", "q"]]], ["getCalendar", "get", "/v1/calendar/{calendar_id}", [["calendar_id", "p", true]]], ["listEvents", "get", "/v1/calendar/events", [["from", "q", true], ["to", "q", true], ["calendar_id", "q"], ["size", "q"], ["cursor", "q"]]], ["getEvent", "get", "/v1/calendar/events/{event_id}", [["event_id", "p", true]]]], v: "3.0.3" };
9
+ }
10
+ });
11
+
12
+ export {
13
+ require_calendar_runtime
14
+ };
@@ -18,8 +18,8 @@ var authorize = (client, token) => {
18
18
 
19
19
  // import("./docs/**/*") in src/help.ts
20
20
  var globImport_docs = __glob({
21
- "./docs/README.json": () => import("./README-7N542PBL.js"),
22
- "./docs/_index.json": () => import("./_index-HE4B6FOA.js"),
21
+ "./docs/README.json": () => import("./README-46VYEGGW.js"),
22
+ "./docs/_index.json": () => import("./_index-5FB6F5YY.js"),
23
23
  "./docs/access-token.json": () => import("./access-token-GSQZLDXR.js"),
24
24
  "./docs/address-suggestions.json": () => import("./address-suggestions-74244BAJ.js"),
25
25
  "./docs/address.json": () => import("./address-QVJUGMOG.js"),
@@ -29,6 +29,7 @@ var globImport_docs = __glob({
29
29
  "./docs/automation.json": () => import("./automation-MEZTSUR3.js"),
30
30
  "./docs/billing.json": () => import("./billing-IPALEAG2.js"),
31
31
  "./docs/blueprint-manifest.json": () => import("./blueprint-manifest-DBEY5PPI.js"),
32
+ "./docs/calendar.json": () => import("./calendar-ACFIHQ2N.js"),
32
33
  "./docs/configuration-hub.json": () => import("./configuration-hub-PMAW44U5.js"),
33
34
  "./docs/consent.json": () => import("./consent-NNYHF2N4.js"),
34
35
  "./docs/customer-portal.json": () => import("./customer-portal-RZACUF4N.js"),
@@ -107,6 +108,7 @@ var globImport_definitions_json = __glob({
107
108
  "./definitions/billing.json": () => import("./billing-ASWY7HC3.js"),
108
109
  "./definitions/blueprint-manifest-runtime.json": () => import("./blueprint-manifest-runtime-5UN52LW5.js"),
109
110
  "./definitions/blueprint-manifest.json": () => import("./blueprint-manifest-UGGYWGRZ.js"),
111
+ "./definitions/calendar-runtime.json": () => import("./calendar-runtime-6CMMEQMG.js"),
110
112
  "./definitions/configuration-hub-runtime.json": () => import("./configuration-hub-runtime-L6IOERSP.js"),
111
113
  "./definitions/consent-runtime.json": () => import("./consent-runtime-OAPXBJH2.js"),
112
114
  "./definitions/consent.json": () => import("./consent-7MNRAINV.js"),
package/dist/index.cjs CHANGED
@@ -1,5 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
+ var _chunkJIUTCNTBcjs = require('./chunk-JIUTCNTB.cjs');
4
+
5
+
3
6
  var _chunkHHMXS5NCcjs = require('./chunk-HHMXS5NC.cjs');
4
7
 
5
8
 
@@ -9,6 +12,9 @@ var _chunkCYS6QBW6cjs = require('./chunk-CYS6QBW6.cjs');
9
12
  var _chunkQNZPOA54cjs = require('./chunk-QNZPOA54.cjs');
10
13
 
11
14
 
15
+ var _chunkXDZ2JKJ4cjs = require('./chunk-XDZ2JKJ4.cjs');
16
+
17
+
12
18
  var _chunkNEVFKRDUcjs = require('./chunk-NEVFKRDU.cjs');
13
19
 
14
20
 
@@ -27,7 +33,7 @@ var _chunk4QCVVDTAcjs = require('./chunk-4QCVVDTA.cjs');
27
33
  var _chunkZ5TVWG3Icjs = require('./chunk-Z5TVWG3I.cjs');
28
34
 
29
35
 
30
- var _chunkJIUTCNTBcjs = require('./chunk-JIUTCNTB.cjs');
36
+ var _chunkM2SSGV7Kcjs = require('./chunk-M2SSGV7K.cjs');
31
37
 
32
38
 
33
39
  var _chunkGWKHOJGDcjs = require('./chunk-GWKHOJGD.cjs');
@@ -51,7 +57,7 @@ var _chunkKP7H52BFcjs = require('./chunk-KP7H52BF.cjs');
51
57
  var _chunkWQBBB6BNcjs = require('./chunk-WQBBB6BN.cjs');
52
58
 
53
59
 
54
- var _chunkXDZ2JKJ4cjs = require('./chunk-XDZ2JKJ4.cjs');
60
+ var _chunkBLNXQAMXcjs = require('./chunk-BLNXQAMX.cjs');
55
61
 
56
62
 
57
63
  var _chunk4W22EIRFcjs = require('./chunk-4W22EIRF.cjs');
@@ -75,7 +81,7 @@ var _chunkDUHAG5COcjs = require('./chunk-DUHAG5CO.cjs');
75
81
  var _chunk4ZMLRFDXcjs = require('./chunk-4ZMLRFDX.cjs');
76
82
 
77
83
 
78
- var _chunkM2SSGV7Kcjs = require('./chunk-M2SSGV7K.cjs');
84
+ var _chunkIAHSYVYBcjs = require('./chunk-IAHSYVYB.cjs');
79
85
 
80
86
 
81
87
  var _chunkEIIIKDOJcjs = require('./chunk-EIIIKDOJ.cjs');
@@ -99,15 +105,15 @@ var _chunkUBQCDPW6cjs = require('./chunk-UBQCDPW6.cjs');
99
105
  var _chunkI6DG26UJcjs = require('./chunk-I6DG26UJ.cjs');
100
106
 
101
107
 
102
- var _chunkBLNXQAMXcjs = require('./chunk-BLNXQAMX.cjs');
103
-
104
-
105
108
  var _chunkG5FKTWUCcjs = require('./chunk-G5FKTWUC.cjs');
106
109
 
107
110
 
108
111
  var _chunkL544VG3Bcjs = require('./chunk-L544VG3B.cjs');
109
112
 
110
113
 
114
+ var _chunkCKLEBO4Kcjs = require('./chunk-CKLEBO4K.cjs');
115
+
116
+
111
117
  var _chunkZSONBZIFcjs = require('./chunk-ZSONBZIF.cjs');
112
118
 
113
119
 
@@ -123,9 +129,6 @@ var _chunkM2UDF7PYcjs = require('./chunk-M2UDF7PY.cjs');
123
129
  var _chunkZL6KDJFTcjs = require('./chunk-ZL6KDJFT.cjs');
124
130
 
125
131
 
126
- var _chunkIAHSYVYBcjs = require('./chunk-IAHSYVYB.cjs');
127
-
128
-
129
132
  var _chunkOXJOO2YFcjs = require('./chunk-OXJOO2YF.cjs');
130
133
 
131
134
 
@@ -152,7 +155,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
152
155
 
153
156
 
154
157
 
155
- var _chunkAM5TSEMUcjs = require('./chunk-AM5TSEMU.cjs');
158
+ var _chunkCD4OX2U6cjs = require('./chunk-CD4OX2U6.cjs');
156
159
 
157
160
 
158
161
  var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
@@ -219,7 +222,7 @@ var resolveClient = (params) => {
219
222
  }
220
223
  if (!entry.instance) {
221
224
  const definition = entry.loader();
222
- entry.instance = _chunkAM5TSEMUcjs.createApiClient.call(void 0, {
225
+ entry.instance = _chunkCD4OX2U6cjs.createApiClient.call(void 0, {
223
226
  definition,
224
227
  token: state.token,
225
228
  headers: state.globalHeaders,
@@ -252,7 +255,7 @@ var resetAllClients = (registry) => {
252
255
  };
253
256
 
254
257
  // src/apis/_registry.ts
255
- var expandDef = (mod) => _chunkAM5TSEMUcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
258
+ var expandDef = (mod) => _chunkCD4OX2U6cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
256
259
  var registerBuiltinApis = (registry) => {
257
260
  registerApi({
258
261
  registry,
@@ -299,6 +302,11 @@ var registerBuiltinApis = (registry) => {
299
302
  name: "blueprintManifest",
300
303
  loader: () => expandDef(_chunkL544VG3Bcjs.require_blueprint_manifest_runtime.call(void 0, ))
301
304
  });
305
+ registerApi({
306
+ registry,
307
+ name: "calendar",
308
+ loader: () => expandDef(_chunkCKLEBO4Kcjs.require_calendar_runtime.call(void 0, ))
309
+ });
302
310
  registerApi({
303
311
  registry,
304
312
  name: "configurationHub",
@@ -585,9 +593,9 @@ var createSDK = () => {
585
593
  const available = [...registry.keys()].join(", ");
586
594
  throw new Error(`Unknown API: "${name}". Available: ${available}`);
587
595
  }
588
- return _chunkAM5TSEMUcjs.createApiHandle.call(void 0, {
596
+ return _chunkCD4OX2U6cjs.createApiHandle.call(void 0, {
589
597
  resolveClient: () => resolveClient({ registry, name, state }),
590
- createClient: () => _chunkAM5TSEMUcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
598
+ createClient: () => _chunkCD4OX2U6cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
591
599
  apiName: name
592
600
  });
593
601
  };
@@ -635,9 +643,9 @@ var createSDK = () => {
635
643
  return interceptorUse;
636
644
  }
637
645
  case "help":
638
- return (apiName) => _chunkAM5TSEMUcjs.help.call(void 0, apiName);
646
+ return (apiName) => _chunkCD4OX2U6cjs.help.call(void 0, apiName);
639
647
  case "openapi":
640
- return (apiName) => _chunkAM5TSEMUcjs.openapi.call(void 0, apiName);
648
+ return (apiName) => _chunkCD4OX2U6cjs.openapi.call(void 0, apiName);
641
649
  case "then":
642
650
  case "catch":
643
651
  case "finally":
@@ -667,4 +675,4 @@ var epilot = createSDK();
667
675
 
668
676
 
669
677
 
670
- exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkAM5TSEMUcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkAM5TSEMUcjs.help; exports.openapi = _chunkAM5TSEMUcjs.openapi;
678
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkCD4OX2U6cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkCD4OX2U6cjs.help; exports.openapi = _chunkCD4OX2U6cjs.openapi;