@epilot/sdk 2.18.14 → 2.18.15
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.
- package/definitions/calendar.json +25 -25
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.d.cts +2 -2
- package/dist/apis/calendar.d.ts +2 -2
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/{calendar-GJ7UX6PX.cjs → calendar-EMNHW6ME.cjs} +1 -1
- package/dist/{calendar-W42TSLFV.js → calendar-PZFEAXYE.js} +1 -1
- package/dist/{calendar.d-Cinz1Vzo.d.cts → calendar.d-Cz8R-GJ5.d.cts} +22 -7
- package/dist/{calendar.d-Cinz1Vzo.d.ts → calendar.d-Cz8R-GJ5.d.ts} +22 -7
- package/dist/{chunk-S7UE54HY.cjs → chunk-22LE7Q52.cjs} +1 -1
- package/dist/{chunk-6X7EGWOK.js → chunk-GSQI3C2W.js} +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/calendar.md +16 -2
- package/package.json +1 -1
|
@@ -120,7 +120,7 @@ declare namespace Components {
|
|
|
120
120
|
*/
|
|
121
121
|
is_default: boolean;
|
|
122
122
|
/**
|
|
123
|
-
* True if the caller cannot
|
|
123
|
+
* True if the caller cannot create, update, or delete events in this calendar
|
|
124
124
|
*/
|
|
125
125
|
read_only: boolean;
|
|
126
126
|
owner_email?: string | null; // email
|
|
@@ -179,7 +179,14 @@ declare namespace Components {
|
|
|
179
179
|
* Convenience flag, true when status is busy/oof/tentative
|
|
180
180
|
*/
|
|
181
181
|
busy: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* Whether the event was cancelled but still exists
|
|
184
|
+
*/
|
|
182
185
|
is_cancelled: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Whether the event is saved as a draft
|
|
188
|
+
*/
|
|
189
|
+
is_draft: boolean;
|
|
183
190
|
sensitivity: Sensitivity;
|
|
184
191
|
importance: Importance;
|
|
185
192
|
is_online_meeting: boolean;
|
|
@@ -197,6 +204,9 @@ declare namespace Components {
|
|
|
197
204
|
* Null when sensitivity is private or confidential
|
|
198
205
|
*/
|
|
199
206
|
attendees?: Attendee[] | null;
|
|
207
|
+
metadata?: {
|
|
208
|
+
[name: string]: any;
|
|
209
|
+
} | null;
|
|
200
210
|
is_recurring: boolean;
|
|
201
211
|
/**
|
|
202
212
|
* ID of the recurring series this occurrence belongs to
|
|
@@ -231,6 +241,9 @@ declare namespace Components {
|
|
|
231
241
|
location?: string | null;
|
|
232
242
|
status: /* Free/busy state derived from provider `showAs` */ EventStatus;
|
|
233
243
|
sensitivity: Sensitivity;
|
|
244
|
+
metadata?: {
|
|
245
|
+
[name: string]: any;
|
|
246
|
+
} | null;
|
|
234
247
|
_title: string;
|
|
235
248
|
}
|
|
236
249
|
export interface CalendarEventPatchBody {
|
|
@@ -253,6 +266,10 @@ declare namespace Components {
|
|
|
253
266
|
is_all_day?: boolean;
|
|
254
267
|
location?: string | null;
|
|
255
268
|
status?: /* Free/busy state derived from provider `showAs` */ EventStatus;
|
|
269
|
+
/**
|
|
270
|
+
* Whether the event was cancelled but still exists
|
|
271
|
+
*/
|
|
272
|
+
is_cancelled?: boolean;
|
|
256
273
|
sensitivity?: Sensitivity;
|
|
257
274
|
_title?: string;
|
|
258
275
|
}
|
|
@@ -1251,7 +1268,6 @@ declare namespace Paths {
|
|
|
1251
1268
|
namespace Responses {
|
|
1252
1269
|
export interface $204 {
|
|
1253
1270
|
}
|
|
1254
|
-
export type $403 = Components.Schemas.Error;
|
|
1255
1271
|
export type $404 = Components.Schemas.Error;
|
|
1256
1272
|
}
|
|
1257
1273
|
}
|
|
@@ -1658,7 +1674,6 @@ declare namespace Paths {
|
|
|
1658
1674
|
namespace Responses {
|
|
1659
1675
|
export type $200 = Components.Schemas.Calendar;
|
|
1660
1676
|
export type $400 = Components.Schemas.Error;
|
|
1661
|
-
export type $403 = Components.Schemas.Error;
|
|
1662
1677
|
export type $404 = Components.Schemas.Error;
|
|
1663
1678
|
}
|
|
1664
1679
|
}
|
|
@@ -1893,7 +1908,7 @@ interface OperationMethods {
|
|
|
1893
1908
|
/**
|
|
1894
1909
|
* updateCalendar - updateCalendar
|
|
1895
1910
|
*
|
|
1896
|
-
* Update
|
|
1911
|
+
* Update local calendar details. Changes to synced calendars do not modify the provider calendar.
|
|
1897
1912
|
*/
|
|
1898
1913
|
'updateCalendar'(
|
|
1899
1914
|
parameters?: Parameters<Paths.UpdateCalendar.PathParameters> | null,
|
|
@@ -1903,7 +1918,7 @@ interface OperationMethods {
|
|
|
1903
1918
|
/**
|
|
1904
1919
|
* deleteCalendar - deleteCalendar
|
|
1905
1920
|
*
|
|
1906
|
-
* Delete a native epilot calendar
|
|
1921
|
+
* Delete a native epilot calendar or disconnect a synced calendar, including its locally stored events.
|
|
1907
1922
|
*/
|
|
1908
1923
|
'deleteCalendar'(
|
|
1909
1924
|
parameters?: Parameters<Paths.DeleteCalendar.PathParameters> | null,
|
|
@@ -2220,7 +2235,7 @@ interface PathsDictionary {
|
|
|
2220
2235
|
/**
|
|
2221
2236
|
* updateCalendar - updateCalendar
|
|
2222
2237
|
*
|
|
2223
|
-
* Update
|
|
2238
|
+
* Update local calendar details. Changes to synced calendars do not modify the provider calendar.
|
|
2224
2239
|
*/
|
|
2225
2240
|
'patch'(
|
|
2226
2241
|
parameters?: Parameters<Paths.UpdateCalendar.PathParameters> | null,
|
|
@@ -2230,7 +2245,7 @@ interface PathsDictionary {
|
|
|
2230
2245
|
/**
|
|
2231
2246
|
* deleteCalendar - deleteCalendar
|
|
2232
2247
|
*
|
|
2233
|
-
* Delete a native epilot calendar
|
|
2248
|
+
* Delete a native epilot calendar or disconnect a synced calendar, including its locally stored events.
|
|
2234
2249
|
*/
|
|
2235
2250
|
'delete'(
|
|
2236
2251
|
parameters?: Parameters<Paths.DeleteCalendar.PathParameters> | null,
|
|
@@ -120,7 +120,7 @@ declare namespace Components {
|
|
|
120
120
|
*/
|
|
121
121
|
is_default: boolean;
|
|
122
122
|
/**
|
|
123
|
-
* True if the caller cannot
|
|
123
|
+
* True if the caller cannot create, update, or delete events in this calendar
|
|
124
124
|
*/
|
|
125
125
|
read_only: boolean;
|
|
126
126
|
owner_email?: string | null; // email
|
|
@@ -179,7 +179,14 @@ declare namespace Components {
|
|
|
179
179
|
* Convenience flag, true when status is busy/oof/tentative
|
|
180
180
|
*/
|
|
181
181
|
busy: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* Whether the event was cancelled but still exists
|
|
184
|
+
*/
|
|
182
185
|
is_cancelled: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Whether the event is saved as a draft
|
|
188
|
+
*/
|
|
189
|
+
is_draft: boolean;
|
|
183
190
|
sensitivity: Sensitivity;
|
|
184
191
|
importance: Importance;
|
|
185
192
|
is_online_meeting: boolean;
|
|
@@ -197,6 +204,9 @@ declare namespace Components {
|
|
|
197
204
|
* Null when sensitivity is private or confidential
|
|
198
205
|
*/
|
|
199
206
|
attendees?: Attendee[] | null;
|
|
207
|
+
metadata?: {
|
|
208
|
+
[name: string]: any;
|
|
209
|
+
} | null;
|
|
200
210
|
is_recurring: boolean;
|
|
201
211
|
/**
|
|
202
212
|
* ID of the recurring series this occurrence belongs to
|
|
@@ -231,6 +241,9 @@ declare namespace Components {
|
|
|
231
241
|
location?: string | null;
|
|
232
242
|
status: /* Free/busy state derived from provider `showAs` */ EventStatus;
|
|
233
243
|
sensitivity: Sensitivity;
|
|
244
|
+
metadata?: {
|
|
245
|
+
[name: string]: any;
|
|
246
|
+
} | null;
|
|
234
247
|
_title: string;
|
|
235
248
|
}
|
|
236
249
|
export interface CalendarEventPatchBody {
|
|
@@ -253,6 +266,10 @@ declare namespace Components {
|
|
|
253
266
|
is_all_day?: boolean;
|
|
254
267
|
location?: string | null;
|
|
255
268
|
status?: /* Free/busy state derived from provider `showAs` */ EventStatus;
|
|
269
|
+
/**
|
|
270
|
+
* Whether the event was cancelled but still exists
|
|
271
|
+
*/
|
|
272
|
+
is_cancelled?: boolean;
|
|
256
273
|
sensitivity?: Sensitivity;
|
|
257
274
|
_title?: string;
|
|
258
275
|
}
|
|
@@ -1251,7 +1268,6 @@ declare namespace Paths {
|
|
|
1251
1268
|
namespace Responses {
|
|
1252
1269
|
export interface $204 {
|
|
1253
1270
|
}
|
|
1254
|
-
export type $403 = Components.Schemas.Error;
|
|
1255
1271
|
export type $404 = Components.Schemas.Error;
|
|
1256
1272
|
}
|
|
1257
1273
|
}
|
|
@@ -1658,7 +1674,6 @@ declare namespace Paths {
|
|
|
1658
1674
|
namespace Responses {
|
|
1659
1675
|
export type $200 = Components.Schemas.Calendar;
|
|
1660
1676
|
export type $400 = Components.Schemas.Error;
|
|
1661
|
-
export type $403 = Components.Schemas.Error;
|
|
1662
1677
|
export type $404 = Components.Schemas.Error;
|
|
1663
1678
|
}
|
|
1664
1679
|
}
|
|
@@ -1893,7 +1908,7 @@ interface OperationMethods {
|
|
|
1893
1908
|
/**
|
|
1894
1909
|
* updateCalendar - updateCalendar
|
|
1895
1910
|
*
|
|
1896
|
-
* Update
|
|
1911
|
+
* Update local calendar details. Changes to synced calendars do not modify the provider calendar.
|
|
1897
1912
|
*/
|
|
1898
1913
|
'updateCalendar'(
|
|
1899
1914
|
parameters?: Parameters<Paths.UpdateCalendar.PathParameters> | null,
|
|
@@ -1903,7 +1918,7 @@ interface OperationMethods {
|
|
|
1903
1918
|
/**
|
|
1904
1919
|
* deleteCalendar - deleteCalendar
|
|
1905
1920
|
*
|
|
1906
|
-
* Delete a native epilot calendar
|
|
1921
|
+
* Delete a native epilot calendar or disconnect a synced calendar, including its locally stored events.
|
|
1907
1922
|
*/
|
|
1908
1923
|
'deleteCalendar'(
|
|
1909
1924
|
parameters?: Parameters<Paths.DeleteCalendar.PathParameters> | null,
|
|
@@ -2220,7 +2235,7 @@ interface PathsDictionary {
|
|
|
2220
2235
|
/**
|
|
2221
2236
|
* updateCalendar - updateCalendar
|
|
2222
2237
|
*
|
|
2223
|
-
* Update
|
|
2238
|
+
* Update local calendar details. Changes to synced calendars do not modify the provider calendar.
|
|
2224
2239
|
*/
|
|
2225
2240
|
'patch'(
|
|
2226
2241
|
parameters?: Parameters<Paths.UpdateCalendar.PathParameters> | null,
|
|
@@ -2230,7 +2245,7 @@ interface PathsDictionary {
|
|
|
2230
2245
|
/**
|
|
2231
2246
|
* deleteCalendar - deleteCalendar
|
|
2232
2247
|
*
|
|
2233
|
-
* Delete a native epilot calendar
|
|
2248
|
+
* Delete a native epilot calendar or disconnect a synced calendar, including its locally stored events.
|
|
2234
2249
|
*/
|
|
2235
2250
|
'delete'(
|
|
2236
2251
|
parameters?: Parameters<Paths.DeleteCalendar.PathParameters> | null,
|
|
@@ -38,7 +38,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
38
38
|
"./docs/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-ZF5ACFVW.cjs"))),
|
|
39
39
|
"./docs/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-C45UEPBV.cjs"))),
|
|
40
40
|
"./docs/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-4DD7CUPX.cjs"))),
|
|
41
|
-
"./docs/calendar.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./calendar-
|
|
41
|
+
"./docs/calendar.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./calendar-EMNHW6ME.cjs"))),
|
|
42
42
|
"./docs/configuration-hub.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-Q5JBYB52.cjs"))),
|
|
43
43
|
"./docs/consent.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./consent-CS2ZBZX4.cjs"))),
|
|
44
44
|
"./docs/customer-portal.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./customer-portal-JDIXJD6C.cjs"))),
|
|
@@ -38,7 +38,7 @@ var globImport_docs = __glob({
|
|
|
38
38
|
"./docs/automation.json": () => import("./automation-UP6J7QIK.js"),
|
|
39
39
|
"./docs/billing.json": () => import("./billing-IV5ABNW4.js"),
|
|
40
40
|
"./docs/blueprint-manifest.json": () => import("./blueprint-manifest-IP2AU3F3.js"),
|
|
41
|
-
"./docs/calendar.json": () => import("./calendar-
|
|
41
|
+
"./docs/calendar.json": () => import("./calendar-PZFEAXYE.js"),
|
|
42
42
|
"./docs/configuration-hub.json": () => import("./configuration-hub-E7S4JB2T.js"),
|
|
43
43
|
"./docs/consent.json": () => import("./consent-NNYHF2N4.js"),
|
|
44
44
|
"./docs/customer-portal.json": () => import("./customer-portal-WIRQ7UCN.js"),
|
package/dist/index.cjs
CHANGED
|
@@ -158,7 +158,7 @@ var _chunkADSWGLIVcjs = require('./chunk-ADSWGLIV.cjs');
|
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
var
|
|
161
|
+
var _chunk22LE7Q52cjs = require('./chunk-22LE7Q52.cjs');
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
@@ -225,7 +225,7 @@ var resolveClient = (params) => {
|
|
|
225
225
|
}
|
|
226
226
|
if (!entry.instance) {
|
|
227
227
|
const definition = entry.loader();
|
|
228
|
-
entry.instance =
|
|
228
|
+
entry.instance = _chunk22LE7Q52cjs.createApiClient.call(void 0, {
|
|
229
229
|
definition,
|
|
230
230
|
token: state.token,
|
|
231
231
|
headers: state.globalHeaders,
|
|
@@ -258,7 +258,7 @@ var resetAllClients = (registry) => {
|
|
|
258
258
|
};
|
|
259
259
|
|
|
260
260
|
// src/apis/_registry.ts
|
|
261
|
-
var expandDef = (mod) =>
|
|
261
|
+
var expandDef = (mod) => _chunk22LE7Q52cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
262
262
|
var registerBuiltinApis = (registry) => {
|
|
263
263
|
registerApi({
|
|
264
264
|
registry,
|
|
@@ -601,9 +601,9 @@ var createSDK = () => {
|
|
|
601
601
|
const available = [...registry.keys()].join(", ");
|
|
602
602
|
throw new Error(`Unknown API: "${name}". Available: ${available}`);
|
|
603
603
|
}
|
|
604
|
-
return
|
|
604
|
+
return _chunk22LE7Q52cjs.createApiHandle.call(void 0, {
|
|
605
605
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
606
|
-
createClient: () =>
|
|
606
|
+
createClient: () => _chunk22LE7Q52cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
|
|
607
607
|
apiName: name
|
|
608
608
|
});
|
|
609
609
|
};
|
|
@@ -651,9 +651,9 @@ var createSDK = () => {
|
|
|
651
651
|
return interceptorUse;
|
|
652
652
|
}
|
|
653
653
|
case "help":
|
|
654
|
-
return (apiName) =>
|
|
654
|
+
return (apiName) => _chunk22LE7Q52cjs.help.call(void 0, apiName);
|
|
655
655
|
case "openapi":
|
|
656
|
-
return (apiName) =>
|
|
656
|
+
return (apiName) => _chunk22LE7Q52cjs.openapi.call(void 0, apiName);
|
|
657
657
|
case "then":
|
|
658
658
|
case "catch":
|
|
659
659
|
case "finally":
|
|
@@ -683,4 +683,4 @@ var epilot = createSDK();
|
|
|
683
683
|
|
|
684
684
|
|
|
685
685
|
|
|
686
|
-
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize =
|
|
686
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunk22LE7Q52cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunk22LE7Q52cjs.help; exports.openapi = _chunk22LE7Q52cjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -12,7 +12,7 @@ import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
|
|
|
12
12
|
import { C as Client$6 } from './automation.d-DiWfPkLs.cjs';
|
|
13
13
|
import { C as Client$7 } from './billing.d-N_1F759g.cjs';
|
|
14
14
|
import { C as Client$8 } from './blueprint-manifest.d-CjsI-JqR.cjs';
|
|
15
|
-
import { C as Client$9 } from './calendar.d-
|
|
15
|
+
import { C as Client$9 } from './calendar.d-Cz8R-GJ5.cjs';
|
|
16
16
|
import { C as Client$a } from './configuration-hub.d-CbSJDa7k.cjs';
|
|
17
17
|
import { C as Client$b } from './consent.d-C2PROHhX.cjs';
|
|
18
18
|
import { C as Client$c } from './customer-portal.d-JVkJjm_e.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
|
|
|
12
12
|
import { C as Client$6 } from './automation.d-DiWfPkLs.js';
|
|
13
13
|
import { C as Client$7 } from './billing.d-N_1F759g.js';
|
|
14
14
|
import { C as Client$8 } from './blueprint-manifest.d-CjsI-JqR.js';
|
|
15
|
-
import { C as Client$9 } from './calendar.d-
|
|
15
|
+
import { C as Client$9 } from './calendar.d-Cz8R-GJ5.js';
|
|
16
16
|
import { C as Client$a } from './configuration-hub.d-CbSJDa7k.js';
|
|
17
17
|
import { C as Client$b } from './consent.d-C2PROHhX.js';
|
|
18
18
|
import { C as Client$c } from './customer-portal.d-JVkJjm_e.js';
|
package/dist/index.js
CHANGED
package/docs/calendar.md
CHANGED
|
@@ -901,7 +901,7 @@ const { data } = await client.getCalendar({
|
|
|
901
901
|
|
|
902
902
|
### `updateCalendar`
|
|
903
903
|
|
|
904
|
-
Update
|
|
904
|
+
Update local calendar details. Changes to synced calendars do not modify the provider calendar.
|
|
905
905
|
|
|
906
906
|
`PATCH /v1/calendar/{calendar_id}`
|
|
907
907
|
|
|
@@ -950,7 +950,7 @@ const { data } = await client.updateCalendar(
|
|
|
950
950
|
|
|
951
951
|
### `deleteCalendar`
|
|
952
952
|
|
|
953
|
-
Delete a native epilot calendar
|
|
953
|
+
Delete a native epilot calendar or disconnect a synced calendar, including its locally stored events.
|
|
954
954
|
|
|
955
955
|
`DELETE /v1/calendar/{calendar_id}`
|
|
956
956
|
|
|
@@ -1001,6 +1001,7 @@ const { data } = await client.listEvents({
|
|
|
1001
1001
|
"status": "free",
|
|
1002
1002
|
"busy": true,
|
|
1003
1003
|
"is_cancelled": true,
|
|
1004
|
+
"is_draft": true,
|
|
1004
1005
|
"sensitivity": "normal",
|
|
1005
1006
|
"importance": "low",
|
|
1006
1007
|
"is_online_meeting": true,
|
|
@@ -1016,6 +1017,7 @@ const { data } = await client.listEvents({
|
|
|
1016
1017
|
"type": "required"
|
|
1017
1018
|
}
|
|
1018
1019
|
],
|
|
1020
|
+
"metadata": {},
|
|
1019
1021
|
"is_recurring": true,
|
|
1020
1022
|
"series_master_id": "string",
|
|
1021
1023
|
"source": {
|
|
@@ -1057,6 +1059,7 @@ const { data } = await client.createEvent(
|
|
|
1057
1059
|
location: 'string',
|
|
1058
1060
|
status: 'free',
|
|
1059
1061
|
sensitivity: 'normal',
|
|
1062
|
+
metadata: {},
|
|
1060
1063
|
_title: 'string'
|
|
1061
1064
|
},
|
|
1062
1065
|
)
|
|
@@ -1083,6 +1086,7 @@ const { data } = await client.createEvent(
|
|
|
1083
1086
|
"status": "free",
|
|
1084
1087
|
"busy": true,
|
|
1085
1088
|
"is_cancelled": true,
|
|
1089
|
+
"is_draft": true,
|
|
1086
1090
|
"sensitivity": "normal",
|
|
1087
1091
|
"importance": "low",
|
|
1088
1092
|
"is_online_meeting": true,
|
|
@@ -1098,6 +1102,7 @@ const { data } = await client.createEvent(
|
|
|
1098
1102
|
"type": "required"
|
|
1099
1103
|
}
|
|
1100
1104
|
],
|
|
1105
|
+
"metadata": {},
|
|
1101
1106
|
"is_recurring": true,
|
|
1102
1107
|
"series_master_id": "string",
|
|
1103
1108
|
"source": {
|
|
@@ -1150,6 +1155,7 @@ const { data } = await client.getEvent({
|
|
|
1150
1155
|
"status": "free",
|
|
1151
1156
|
"busy": true,
|
|
1152
1157
|
"is_cancelled": true,
|
|
1158
|
+
"is_draft": true,
|
|
1153
1159
|
"sensitivity": "normal",
|
|
1154
1160
|
"importance": "low",
|
|
1155
1161
|
"is_online_meeting": true,
|
|
@@ -1165,6 +1171,7 @@ const { data } = await client.getEvent({
|
|
|
1165
1171
|
"type": "required"
|
|
1166
1172
|
}
|
|
1167
1173
|
],
|
|
1174
|
+
"metadata": {},
|
|
1168
1175
|
"is_recurring": true,
|
|
1169
1176
|
"series_master_id": "string",
|
|
1170
1177
|
"source": {
|
|
@@ -1203,6 +1210,7 @@ const { data } = await client.updateEvent(
|
|
|
1203
1210
|
is_all_day: true,
|
|
1204
1211
|
location: 'string',
|
|
1205
1212
|
status: 'free',
|
|
1213
|
+
is_cancelled: true,
|
|
1206
1214
|
sensitivity: 'normal',
|
|
1207
1215
|
_title: 'string'
|
|
1208
1216
|
},
|
|
@@ -1230,6 +1238,7 @@ const { data } = await client.updateEvent(
|
|
|
1230
1238
|
"status": "free",
|
|
1231
1239
|
"busy": true,
|
|
1232
1240
|
"is_cancelled": true,
|
|
1241
|
+
"is_draft": true,
|
|
1233
1242
|
"sensitivity": "normal",
|
|
1234
1243
|
"importance": "low",
|
|
1235
1244
|
"is_online_meeting": true,
|
|
@@ -1245,6 +1254,7 @@ const { data } = await client.updateEvent(
|
|
|
1245
1254
|
"type": "required"
|
|
1246
1255
|
}
|
|
1247
1256
|
],
|
|
1257
|
+
"metadata": {},
|
|
1248
1258
|
"is_recurring": true,
|
|
1249
1259
|
"series_master_id": "string",
|
|
1250
1260
|
"source": {
|
|
@@ -1633,6 +1643,7 @@ type CalendarEvent = {
|
|
|
1633
1643
|
status: "free" | "tentative" | "busy" | "oof" | "workingElsewhere" | "unknown"
|
|
1634
1644
|
busy: boolean
|
|
1635
1645
|
is_cancelled: boolean
|
|
1646
|
+
is_draft: boolean
|
|
1636
1647
|
sensitivity: "normal" | "personal" | "private" | "confidential"
|
|
1637
1648
|
importance: "low" | "normal" | "high"
|
|
1638
1649
|
is_online_meeting: boolean
|
|
@@ -1646,6 +1657,7 @@ type CalendarEvent = {
|
|
|
1646
1657
|
response: "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded"
|
|
1647
1658
|
type: "required" | "optional" | "resource"
|
|
1648
1659
|
}>
|
|
1660
|
+
metadata?: Record<string, unknown>
|
|
1649
1661
|
is_recurring: boolean
|
|
1650
1662
|
series_master_id?: string
|
|
1651
1663
|
source: {
|
|
@@ -1732,6 +1744,7 @@ type CalendarEventCreateBody = {
|
|
|
1732
1744
|
location?: string
|
|
1733
1745
|
status: "free" | "tentative" | "busy" | "oof" | "workingElsewhere" | "unknown"
|
|
1734
1746
|
sensitivity: "normal" | "personal" | "private" | "confidential"
|
|
1747
|
+
metadata?: Record<string, unknown>
|
|
1735
1748
|
_title: string
|
|
1736
1749
|
}
|
|
1737
1750
|
```
|
|
@@ -1747,6 +1760,7 @@ type CalendarEventPatchBody = {
|
|
|
1747
1760
|
is_all_day?: boolean
|
|
1748
1761
|
location?: string
|
|
1749
1762
|
status?: "free" | "tentative" | "busy" | "oof" | "workingElsewhere" | "unknown"
|
|
1763
|
+
is_cancelled?: boolean
|
|
1750
1764
|
sensitivity?: "normal" | "personal" | "private" | "confidential"
|
|
1751
1765
|
_title?: string
|
|
1752
1766
|
}
|