@epilot/cli 0.1.91 → 0.1.93

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.
@@ -3947,7 +3947,7 @@
3947
3947
  "description": "ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).",
3948
3948
  "type": "string",
3949
3949
  "format": "date-time",
3950
- "example": "2023-01-01T00:00:00.000Z"
3950
+ "example": "2023-01-01T00:00:00Z"
3951
3951
  }
3952
3952
  },
3953
3953
  {
@@ -7405,6 +7405,24 @@
7405
7405
  "pattern": "^[a-zA-Z0-9_-]+$",
7406
7406
  "example": "contact"
7407
7407
  },
7408
+ "AdjustInstallmentCapabilityConfig": {
7409
+ "description": "Configuration for adjusting a contract installment through a Journey.",
7410
+ "type": "object",
7411
+ "additionalProperties": false,
7412
+ "example": {
7413
+ "journey_id": "adjust-installment-flow"
7414
+ },
7415
+ "required": [
7416
+ "journey_id"
7417
+ ],
7418
+ "properties": {
7419
+ "journey_id": {
7420
+ "type": "string",
7421
+ "minLength": 1,
7422
+ "description": "ID of the Flow Journey to open when adjusting the installment."
7423
+ }
7424
+ }
7425
+ },
7408
7426
  "EntityCapability": {
7409
7427
  "description": "Capabilities the Entity has. Turn features on/off for entities.",
7410
7428
  "type": "object",
@@ -7451,6 +7469,9 @@
7451
7469
  "description": "ID of the app if the capability is provided by an app",
7452
7470
  "example": "123e4567-e89b-12d3-a456-426614174000"
7453
7471
  },
7472
+ "adjust_installment": {
7473
+ "$ref": "#/components/schemas/AdjustInstallmentCapabilityConfig"
7474
+ },
7454
7475
  "ui_config": {
7455
7476
  "type": "object",
7456
7477
  "properties": {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  API_LIST
4
- } from "../chunk-MDWPNAOH.js";
4
+ } from "../chunk-SOTT5WKJ.js";
5
5
 
6
6
  // bin/epilot.ts
7
7
  import { runMain } from "citty";
@@ -11,7 +11,7 @@ import { defineCommand } from "citty";
11
11
  var main = defineCommand({
12
12
  meta: {
13
13
  name: "epilot",
14
- version: "0.1.91",
14
+ version: "0.1.93",
15
15
  description: "CLI for epilot APIs"
16
16
  },
17
17
  args: {
@@ -30,8 +30,8 @@ var main = defineCommand({
30
30
  auth: () => import("../auth-4HG7B2GC.js").then((m) => m.default),
31
31
  profile: () => import("../profile-OZJL5ZPT.js").then((m) => m.default),
32
32
  config: () => import("../config-DGZIMLZK.js").then((m) => m.default),
33
- completion: () => import("../completion-5ZPLEFT7.js").then((m) => m.default),
34
- upgrade: () => import("../upgrade-S7WKPMSU.js").then((m) => m.default),
33
+ completion: () => import("../completion-IGVIBAFM.js").then((m) => m.default),
34
+ upgrade: () => import("../upgrade-EMXIHRN3.js").then((m) => m.default),
35
35
  "access-token": () => import("../access-token-WWE6BDJH.js").then((m) => m.default),
36
36
  address: () => import("../address-EH3C4CVB.js").then((m) => m.default),
37
37
  "address-suggestions": () => import("../address-suggestions-RRSLOBFW.js").then((m) => m.default),
@@ -134,13 +134,13 @@ process.stderr.on("error", (err) => {
134
134
  if (err.code === "EPIPE") process.exit(0);
135
135
  throw err;
136
136
  });
137
- var VERSION = true ? "0.1.91" : (await null).default.version;
137
+ var VERSION = true ? "0.1.93" : (await null).default.version;
138
138
  var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
139
139
  process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
140
140
  var args = process.argv.slice(2);
141
141
  var completionsIdx = args.indexOf("--_completions");
142
142
  if (completionsIdx >= 0) {
143
- const { handleCompletions } = await import("../completion-5ZPLEFT7.js");
143
+ const { handleCompletions } = await import("../completion-IGVIBAFM.js");
144
144
  handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
145
145
  process.exit(0);
146
146
  }
@@ -250,8 +250,37 @@ var API_LIST = [
250
250
  kebabName: "calendar",
251
251
  title: "Calendar API",
252
252
  serverUrl: "https://calendar.sls.epilot.io",
253
- operationCount: 4,
254
- operationIds: ["listCalendars", "getCalendar", "listEvents", "getEvent"]
253
+ operationCount: 28,
254
+ operationIds: [
255
+ "listUsersAbsence",
256
+ "searchAbsence",
257
+ "searchNowAbsence",
258
+ "listAbsenceAdjustments",
259
+ "createAbsenceAdjustment",
260
+ "getAbsenceAdjustment",
261
+ "patchAbsenceAdjustment",
262
+ "deleteAbsenceAdjustment",
263
+ "getUserAbsence",
264
+ "getWorkingHours",
265
+ "putWorkingHours",
266
+ "deleteWorkingHours",
267
+ "listCalendars",
268
+ "createCalendar",
269
+ "addOutlookCalendar",
270
+ "listOutlookCalendars",
271
+ "deleteOutlookCalendar",
272
+ "outlookWebhook",
273
+ "getCalendar",
274
+ "updateCalendar",
275
+ "deleteCalendar",
276
+ "listEvents",
277
+ "createEvent",
278
+ "getEvent",
279
+ "updateEvent",
280
+ "deleteEvent",
281
+ "shareEvent",
282
+ "unshareEvent"
283
+ ]
255
284
  },
256
285
  {
257
286
  apiName: "configurationHub",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  API_LIST
4
- } from "./chunk-MDWPNAOH.js";
4
+ } from "./chunk-SOTT5WKJ.js";
5
5
  import {
6
6
  DIM,
7
7
  GREEN,
@@ -72,7 +72,7 @@ ${GREEN}${BOLD}Upgraded to @epilot/cli@${latest}${RESET}
72
72
  }
73
73
  });
74
74
  var getCurrentVersion = () => {
75
- if (true) return "0.1.91";
75
+ if (true) return "0.1.93";
76
76
  try {
77
77
  const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
78
78
  encoding: "utf-8",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/cli",
3
- "version": "0.1.91",
3
+ "version": "0.1.93",
4
4
  "description": "CLI for epilot APIs",
5
5
  "type": "module",
6
6
  "bin": {