sim 2.1.27-dev.160.1 → 2.1.27-preview.162.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.
@@ -11034,11 +11034,11 @@ export declare const V2_OPERATIONS: {
11034
11034
  };
11035
11035
  readonly credentialId: {
11036
11036
  readonly kind: 'string';
11037
- readonly describe: 'OAuth credential identifier for connectors that require OAuth.';
11037
+ readonly describe: 'OAuth credential identifier for connector types whose `auth.mode` is `oauth` (see connector types); omit it for `apiKey` connectors.';
11038
11038
  };
11039
11039
  readonly apiKey: {
11040
11040
  readonly kind: 'string';
11041
- readonly describe: 'Write-only API key for connectors that use API-key authentication.';
11041
+ readonly describe: 'Write-only API key for connector types whose `auth.mode` is `apiKey` (see connector types), or a personal access token for an OAuth connector that also accepts one, such as GitHub. Send it instead of `credentialId`. Pass a raw key, or a secret reference written as the whole value `{{SECRET_NAME}}`, which the server resolves; `$SECRET_NAME` is not a reference.';
11042
11042
  };
11043
11043
  readonly sourceConfig: {
11044
11044
  readonly kind: 'object';
@@ -16501,7 +16501,7 @@ export declare const V2_OPERATIONS: {
16501
16501
  };
16502
16502
  readonly password: {
16503
16503
  readonly kind: 'string';
16504
- readonly describe: 'Write-only password. Required whenever `authType` is `password`, and rejected otherwise. Never readable back.';
16504
+ readonly describe: 'Write-only password of 15 to 1024 characters, not only whitespace. Required whenever `authType` is `password`, and rejected otherwise. Never readable back. Taken literally, except that a request from the Sim agent resolves a whole-value `{{ENV_VAR}}` reference to that variable before the rules apply.';
16505
16505
  };
16506
16506
  readonly allowedEmails: {
16507
16507
  readonly kind: 'array';
@@ -18161,7 +18161,7 @@ export declare const V2_OPERATIONS: {
18161
18161
  };
18162
18162
  readonly password: {
18163
18163
  readonly kind: 'string';
18164
- readonly describe: 'Password for a password-gated share. Kept when omitted; enabling `password` with neither a supplied nor a stored password is a 400.';
18164
+ readonly describe: 'Password of 15 to 1024 characters for a password-gated share. Kept when omitted; enabling `password` with neither a supplied nor a stored password is a 400. Taken literally, except that a request from the Sim agent resolves a whole-value `{{ENV_VAR}}` reference to that variable before the rules apply.';
18165
18165
  };
18166
18166
  readonly allowedEmails: {
18167
18167
  readonly kind: 'array';
package/dist/index.js CHANGED
@@ -10219,11 +10219,11 @@ var V2_OPERATIONS = {
10219
10219
  connectorType: { kind: "string", required: true, describe: "Registered connector type." },
10220
10220
  credentialId: {
10221
10221
  kind: "string",
10222
- describe: "OAuth credential identifier for connectors that require OAuth."
10222
+ describe: "OAuth credential identifier for connector types whose `auth.mode` is `oauth` (see connector types); omit it for `apiKey` connectors."
10223
10223
  },
10224
10224
  apiKey: {
10225
10225
  kind: "string",
10226
- describe: "Write-only API key for connectors that use API-key authentication."
10226
+ describe: "Write-only API key for connector types whose `auth.mode` is `apiKey` (see connector types), or a personal access token for an OAuth connector that also accepts one, such as GitHub. Send it instead of `credentialId`. Pass a raw key, or a secret reference written as the whole value `{{SECRET_NAME}}`, which the server resolves; `$SECRET_NAME` is not a reference."
10227
10227
  },
10228
10228
  sourceConfig: {
10229
10229
  kind: "object",
@@ -15391,7 +15391,7 @@ var V2_OPERATIONS = {
15391
15391
  },
15392
15392
  password: {
15393
15393
  kind: "string",
15394
- describe: "Write-only password. Required whenever `authType` is `password`, and rejected otherwise. Never readable back."
15394
+ describe: "Write-only password of 15 to 1024 characters, not only whitespace. Required whenever `authType` is `password`, and rejected otherwise. Never readable back. Taken literally, except that a request from the Sim agent resolves a whole-value `{{ENV_VAR}}` reference to that variable before the rules apply."
15395
15395
  },
15396
15396
  allowedEmails: {
15397
15397
  kind: "array",
@@ -16714,7 +16714,7 @@ var V2_OPERATIONS = {
16714
16714
  },
16715
16715
  password: {
16716
16716
  kind: "string",
16717
- describe: "Password for a password-gated share. Kept when omitted; enabling `password` with neither a supplied nor a stored password is a 400."
16717
+ describe: "Password of 15 to 1024 characters for a password-gated share. Kept when omitted; enabling `password` with neither a supplied nor a stored password is a 400. Taken literally, except that a request from the Sim agent resolves a whole-value `{{ENV_VAR}}` reference to that variable before the rules apply."
16718
16718
  },
16719
16719
  allowedEmails: {
16720
16720
  kind: "array",
package/dist/runtime.js CHANGED
@@ -10270,11 +10270,11 @@ var V2_OPERATIONS = {
10270
10270
  connectorType: { kind: "string", required: true, describe: "Registered connector type." },
10271
10271
  credentialId: {
10272
10272
  kind: "string",
10273
- describe: "OAuth credential identifier for connectors that require OAuth."
10273
+ describe: "OAuth credential identifier for connector types whose `auth.mode` is `oauth` (see connector types); omit it for `apiKey` connectors."
10274
10274
  },
10275
10275
  apiKey: {
10276
10276
  kind: "string",
10277
- describe: "Write-only API key for connectors that use API-key authentication."
10277
+ describe: "Write-only API key for connector types whose `auth.mode` is `apiKey` (see connector types), or a personal access token for an OAuth connector that also accepts one, such as GitHub. Send it instead of `credentialId`. Pass a raw key, or a secret reference written as the whole value `{{SECRET_NAME}}`, which the server resolves; `$SECRET_NAME` is not a reference."
10278
10278
  },
10279
10279
  sourceConfig: {
10280
10280
  kind: "object",
@@ -15442,7 +15442,7 @@ var V2_OPERATIONS = {
15442
15442
  },
15443
15443
  password: {
15444
15444
  kind: "string",
15445
- describe: "Write-only password. Required whenever `authType` is `password`, and rejected otherwise. Never readable back."
15445
+ describe: "Write-only password of 15 to 1024 characters, not only whitespace. Required whenever `authType` is `password`, and rejected otherwise. Never readable back. Taken literally, except that a request from the Sim agent resolves a whole-value `{{ENV_VAR}}` reference to that variable before the rules apply."
15446
15446
  },
15447
15447
  allowedEmails: {
15448
15448
  kind: "array",
@@ -16765,7 +16765,7 @@ var V2_OPERATIONS = {
16765
16765
  },
16766
16766
  password: {
16767
16767
  kind: "string",
16768
- describe: "Password for a password-gated share. Kept when omitted; enabling `password` with neither a supplied nor a stored password is a 400."
16768
+ describe: "Password of 15 to 1024 characters for a password-gated share. Kept when omitted; enabling `password` with neither a supplied nor a stored password is a 400. Taken literally, except that a request from the Sim agent resolves a whole-value `{{ENV_VAR}}` reference to that variable before the rules apply."
16769
16769
  },
16770
16770
  allowedEmails: {
16771
16771
  kind: "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sim",
3
- "version": "2.1.27-dev.160.1",
3
+ "version": "2.1.27-preview.162.1",
4
4
  "description": "Sim CLI - talk to the Sim API from your terminal",
5
5
  "type": "module",
6
6
  "imports": {