@tailor-platform/sdk 1.10.1 → 1.11.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @tailor-platform/sdk
2
2
 
3
+ ## 1.11.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#548](https://github.com/tailor-platform/sdk/pull/548) [`58a8094`](https://github.com/tailor-platform/sdk/commit/58a8094ea66d992e59753f95d9d0457824d67f5c) Thanks [@riku99](https://github.com/riku99)! - Add clone method tests for TailorDBField
8
+
9
+ - [#571](https://github.com/tailor-platform/sdk/pull/571) [`3d030a6`](https://github.com/tailor-platform/sdk/commit/3d030a6437e80fae3007a7ece7d79ac428a27942) Thanks [@remiposo](https://github.com/remiposo)! - Document workflow job input/output type constraints
10
+
11
+ ## 1.11.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#531](https://github.com/tailor-platform/sdk/pull/531) [`a3066a3`](https://github.com/tailor-platform/sdk/commit/a3066a399cb26ef91da1e871da0616311b104c26) Thanks [@toiroakr](https://github.com/toiroakr)! - Add executor list, get, and webhook commands to CLI
16
+
17
+ ### Patch Changes
18
+
19
+ - [#569](https://github.com/tailor-platform/sdk/pull/569) [`cec1970`](https://github.com/tailor-platform/sdk/commit/cec1970581e39caedf84a1c89e0dbdbd5c53c0c0) Thanks [@toiroakr](https://github.com/toiroakr)! - Fix BigInt serialization in error logging for API requests
20
+
3
21
  ## 1.10.1
4
22
 
5
23
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import "../chunk-CIV_ash9.mjs";
3
- import { $t as withCommonArgs, A as generateCommand, Bt as loadWorkspaceId, C as resumeCommand, Ct as getMigrationFiles, Et as loadDiff, F as removeCommand$1, G as generateCommand$1, Gt as initOAuth2Client, H as listCommand$5, Ht as writePlatformConfig, I as listCommand$6, Jt as PATScope, K as triggerCommand, Kt as initOperatorClient, Lt as apiCommand, Mt as trnPrefix, N as showCommand, O as truncateCommand, Pt as loadConfig, Q as startCommand, Qt as jsonArgs, R as getCommand$1, Rt as fetchLatestToken, S as healthCommand, St as getMigrationFilePath, T as listCommand$7, Tt as isValidMigrationNumber, Ut as fetchAll, V as tokenCommand, Vt as readPlatformConfig, Wt as fetchUserInfo, Xt as confirmationArgs, Y as jobsCommand, Yt as commonArgs, Zt as deploymentArgs, _ as createCommand$3, a as listCommand$9, b as listCommand$8, d as listCommand$10, en as workspaceArgs, et as getCommand$2, h as deleteCommand$3, j as logBetaWarning, jt as getNamespacesWithMigrations, l as restoreCommand, nt as executionsCommand, ot as applyCommand, p as getCommand$3, qt as readPackageJson, r as removeCommand, s as inviteCommand, t as updateCommand$2, ut as parseMigrationLabelNumber, yt as formatMigrationNumber, zt as loadAccessToken } from "../update-Exhc9AkY.mjs";
3
+ import { $ as jobsCommand, $t as readPackageJson, A as generateCommand, Bt as loadConfig, C as resumeCommand, F as removeCommand$1, G as generateCommand$1, Gt as loadAccessToken, H as listCommand$6, I as listCommand$7, J as triggerCommand, Jt as writePlatformConfig, Kt as loadWorkspaceId, Lt as getNamespacesWithMigrations, Mt as loadDiff, N as showCommand, O as truncateCommand, Ot as getMigrationFilePath, Qt as initOperatorClient, R as getCommand$2, Rt as trnPrefix, S as healthCommand, T as listCommand$8, Tt as formatMigrationNumber, Ut as apiCommand, V as tokenCommand, Wt as fetchLatestToken, X as listCommand$5, Xt as fetchUserInfo, Yt as fetchAll, Zt as initOAuth2Client, _ as createCommand$3, a as listCommand$10, an as withCommonArgs, b as listCommand$9, d as listCommand$11, en as PATScope, ft as applyCommand, gt as parseMigrationLabelNumber, h as deleteCommand$3, in as jsonArgs, it as getCommand$3, j as logBetaWarning, jt as isValidMigrationNumber, kt as getMigrationFiles, l as restoreCommand, lt as getCommand$1, nn as confirmationArgs, nt as startCommand, on as workspaceArgs, ot as executionsCommand, p as getCommand$4, q as webhookCommand, qt as readPlatformConfig, r as removeCommand, rn as deploymentArgs, s as inviteCommand, t as updateCommand$2, tn as commonArgs } from "../update-D0muqqOP.mjs";
4
4
  import { d as styles, u as logger } from "../application-BKBo5tGD.mjs";
5
5
  import { createRequire, register } from "node:module";
6
6
  import { arg, defineCommand, runCommand, runMain } from "politty";
@@ -24,10 +24,16 @@ import { setTimeout as setTimeout$1 } from "node:timers/promises";
24
24
  //#region src/cli/executor/index.ts
25
25
  const executorCommand = defineCommand({
26
26
  name: "executor",
27
- description: "Manage executors and executor jobs.",
27
+ description: "Manage executors",
28
28
  subCommands: {
29
+ list: listCommand$5,
30
+ get: getCommand$1,
29
31
  jobs: jobsCommand,
30
- trigger: triggerCommand
32
+ trigger: triggerCommand,
33
+ webhook: webhookCommand
34
+ },
35
+ async run() {
36
+ await runCommand(listCommand$5, []);
31
37
  }
32
38
  });
33
39
 
@@ -191,11 +197,11 @@ const machineuserCommand = defineCommand({
191
197
  name: "machineuser",
192
198
  description: "Manage machine users in your Tailor Platform application.",
193
199
  subCommands: {
194
- list: listCommand$5,
200
+ list: listCommand$6,
195
201
  token: tokenCommand
196
202
  },
197
203
  async run() {
198
- await runCommand(listCommand$5, []);
204
+ await runCommand(listCommand$6, []);
199
205
  }
200
206
  });
201
207
 
@@ -205,11 +211,11 @@ const oauth2clientCommand = defineCommand({
205
211
  name: "oauth2client",
206
212
  description: "Manage OAuth2 clients in your Tailor Platform application.",
207
213
  subCommands: {
208
- get: getCommand$1,
209
- list: listCommand$6
214
+ get: getCommand$2,
215
+ list: listCommand$7
210
216
  },
211
217
  async run() {
212
- await runCommand(listCommand$6, []);
218
+ await runCommand(listCommand$7, []);
213
219
  }
214
220
  });
215
221
 
@@ -2088,14 +2094,14 @@ const workflowCommand = defineCommand({
2088
2094
  name: "workflow",
2089
2095
  description: "Manage workflows and workflow executions.",
2090
2096
  subCommands: {
2091
- list: listCommand$7,
2092
- get: getCommand$2,
2097
+ list: listCommand$8,
2098
+ get: getCommand$3,
2093
2099
  start: startCommand,
2094
2100
  executions: executionsCommand,
2095
2101
  resume: resumeCommand
2096
2102
  },
2097
2103
  async run() {
2098
- await runCommand(listCommand$7, []);
2104
+ await runCommand(listCommand$8, []);
2099
2105
  }
2100
2106
  });
2101
2107
 
@@ -2106,10 +2112,10 @@ const appCommand = defineCommand({
2106
2112
  description: "Manage workspace applications",
2107
2113
  subCommands: {
2108
2114
  health: healthCommand,
2109
- list: listCommand$8
2115
+ list: listCommand$9
2110
2116
  },
2111
2117
  async run() {
2112
- await runCommand(listCommand$8, []);
2118
+ await runCommand(listCommand$9, []);
2113
2119
  }
2114
2120
  });
2115
2121
 
@@ -2120,12 +2126,12 @@ const userCommand = defineCommand({
2120
2126
  description: "Manage workspace users",
2121
2127
  subCommands: {
2122
2128
  invite: inviteCommand,
2123
- list: listCommand$9,
2129
+ list: listCommand$10,
2124
2130
  remove: removeCommand,
2125
2131
  update: updateCommand$2
2126
2132
  },
2127
2133
  async run() {
2128
- await runCommand(listCommand$9, []);
2134
+ await runCommand(listCommand$10, []);
2129
2135
  }
2130
2136
  });
2131
2137
 
@@ -2138,13 +2144,13 @@ const workspaceCommand = defineCommand({
2138
2144
  app: appCommand,
2139
2145
  create: createCommand$3,
2140
2146
  delete: deleteCommand$3,
2141
- get: getCommand$3,
2142
- list: listCommand$10,
2147
+ get: getCommand$4,
2148
+ list: listCommand$11,
2143
2149
  restore: restoreCommand,
2144
2150
  user: userCommand
2145
2151
  },
2146
2152
  async run() {
2147
- await runCommand(listCommand$10, []);
2153
+ await runCommand(listCommand$11, []);
2148
2154
  }
2149
2155
  });
2150
2156