@opengeni/contracts 1.4.0 → 1.4.2

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/dist/connect.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  IntegrationInstanceKey,
3
3
  IntegrationSource
4
- } from "./chunk-YFEAAOBX.js";
4
+ } from "./chunk-LGT7XRX7.js";
5
5
  import "./chunk-4JGHSSB7.js";
6
6
  import "./chunk-5IXYF6XN.js";
7
7
  import "./chunk-NRMCVHAU.js";
@@ -6,8 +6,8 @@ import {
6
6
  ConnectionUseAuthorizationResult,
7
7
  ConnectionUseDenialReason,
8
8
  ConnectionUseSelectionSource
9
- } from "./chunk-UDKWSRES.js";
10
- import "./chunk-YFEAAOBX.js";
9
+ } from "./chunk-IBQ2IDBV.js";
10
+ import "./chunk-LGT7XRX7.js";
11
11
  import "./chunk-4JGHSSB7.js";
12
12
  import "./chunk-5IXYF6XN.js";
13
13
  import "./chunk-NRMCVHAU.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ConnectionMetadata
3
- } from "./chunk-YFEAAOBX.js";
3
+ } from "./chunk-LGT7XRX7.js";
4
4
  import "./chunk-4JGHSSB7.js";
5
5
  import "./chunk-5IXYF6XN.js";
6
6
  import "./chunk-NRMCVHAU.js";
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-KR2V42UZ.js";
4
4
  import {
5
5
  ConnectionUseAuthoritySnapshot
6
- } from "./chunk-UDKWSRES.js";
6
+ } from "./chunk-IBQ2IDBV.js";
7
7
  import {
8
8
  HostMcpCreateSelections,
9
9
  ManagedUserResourceGrantMode,
10
10
  McpServerConnectionRef,
11
11
  SessionTenancyVisibility,
12
12
  stableJson
13
- } from "./chunk-YFEAAOBX.js";
13
+ } from "./chunk-LGT7XRX7.js";
14
14
  import "./chunk-4JGHSSB7.js";
15
15
  import "./chunk-5IXYF6XN.js";
16
16
  import "./chunk-NRMCVHAU.js";
package/dist/index.d.ts CHANGED
@@ -6521,6 +6521,7 @@ export declare const PromotionalCreditBalance: z.ZodObject<{
6521
6521
  eligibleModelIds: z.ZodArray<z.ZodString>;
6522
6522
  grantId: z.ZodString;
6523
6523
  remainingMicros: z.ZodNumber;
6524
+ coversVoice: z.ZodOptional<z.ZodBoolean>;
6524
6525
  }, z.core.$strip>;
6525
6526
  export type PromotionalCreditBalance = z.infer<typeof PromotionalCreditBalance>;
6526
6527
  export declare const BillingBalance: z.ZodObject<{
@@ -6534,6 +6535,7 @@ export declare const BillingBalance: z.ZodObject<{
6534
6535
  eligibleModelIds: z.ZodArray<z.ZodString>;
6535
6536
  grantId: z.ZodString;
6536
6537
  remainingMicros: z.ZodNumber;
6538
+ coversVoice: z.ZodOptional<z.ZodBoolean>;
6537
6539
  }, z.core.$strip>>>;
6538
6540
  }, z.core.$strip>;
6539
6541
  export type BillingBalance = z.infer<typeof BillingBalance>;
@@ -6591,6 +6593,7 @@ export declare const BillingCheckoutStatus: z.ZodObject<{
6591
6593
  eligibleModelIds: z.ZodArray<z.ZodString>;
6592
6594
  grantId: z.ZodString;
6593
6595
  remainingMicros: z.ZodNumber;
6596
+ coversVoice: z.ZodOptional<z.ZodBoolean>;
6594
6597
  }, z.core.$strip>>>;
6595
6598
  }, z.core.$strip>>;
6596
6599
  }, z.core.$strip>;
@@ -26300,6 +26303,9 @@ export declare const CapabilityRuntime: z.ZodObject<{
26300
26303
  verified_probe: "verified_probe";
26301
26304
  }>;
26302
26305
  }, z.core.$strip>>;
26306
+ operatorOAuthClient: z.ZodOptional<z.ZodObject<{
26307
+ configured: z.ZodBoolean;
26308
+ }, z.core.$strip>>;
26303
26309
  }, z.core.$strip>;
26304
26310
  export type CapabilityRuntime = z.infer<typeof CapabilityRuntime>;
26305
26311
  export declare const CapabilityCatalogItem: z.ZodObject<{
@@ -26372,6 +26378,9 @@ export declare const CapabilityCatalogItem: z.ZodObject<{
26372
26378
  verified_probe: "verified_probe";
26373
26379
  }>;
26374
26380
  }, z.core.$strip>>;
26381
+ operatorOAuthClient: z.ZodOptional<z.ZodObject<{
26382
+ configured: z.ZodBoolean;
26383
+ }, z.core.$strip>>;
26375
26384
  }, z.core.$strip>>;
26376
26385
  lifecycle: z.ZodDefault<z.ZodObject<{
26377
26386
  status: z.ZodEnum<{
@@ -26582,6 +26591,9 @@ export declare const CapabilityCatalogResponse: z.ZodObject<{
26582
26591
  verified_probe: "verified_probe";
26583
26592
  }>;
26584
26593
  }, z.core.$strip>>;
26594
+ operatorOAuthClient: z.ZodOptional<z.ZodObject<{
26595
+ configured: z.ZodBoolean;
26596
+ }, z.core.$strip>>;
26585
26597
  }, z.core.$strip>>;
26586
26598
  lifecycle: z.ZodDefault<z.ZodObject<{
26587
26599
  status: z.ZodEnum<{
@@ -26726,6 +26738,9 @@ export declare const DiscoverMcpCapabilitiesResponse: z.ZodObject<{
26726
26738
  verified_probe: "verified_probe";
26727
26739
  }>;
26728
26740
  }, z.core.$strip>>;
26741
+ operatorOAuthClient: z.ZodOptional<z.ZodObject<{
26742
+ configured: z.ZodBoolean;
26743
+ }, z.core.$strip>>;
26729
26744
  }, z.core.$strip>>;
26730
26745
  lifecycle: z.ZodDefault<z.ZodObject<{
26731
26746
  status: z.ZodEnum<{
package/dist/index.js CHANGED
@@ -2187,7 +2187,7 @@ import {
2187
2187
  workspaceLearningPolicyRouterContext,
2188
2188
  workspaceLearningSourceKey,
2189
2189
  workspaceSlackReactionChannelAllowed
2190
- } from "./chunk-YFEAAOBX.js";
2190
+ } from "./chunk-LGT7XRX7.js";
2191
2191
  import {
2192
2192
  EPHEMERAL_CHROMIUM_DRIVER_ID,
2193
2193
  browserSessionStorageMode
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ConnectionMetadata
3
- } from "./chunk-YFEAAOBX.js";
3
+ } from "./chunk-LGT7XRX7.js";
4
4
  import "./chunk-4JGHSSB7.js";
5
5
  import "./chunk-5IXYF6XN.js";
6
6
  import "./chunk-NRMCVHAU.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeni/contracts",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "description": "Shared zod schemas and wire-contract types for the OpenGeni API.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/src/index.ts CHANGED
@@ -5021,6 +5021,8 @@ export type PromotionalCreditScope = z.infer<typeof PromotionalCreditScope>;
5021
5021
  export const PromotionalCreditBalance = PromotionalCreditScope.extend({
5022
5022
  grantId: z.string().uuid(),
5023
5023
  remainingMicros: z.number().int().nonnegative(),
5024
+ /** Also pays for dictation and live voice, like general credits (signup credits). */
5025
+ coversVoice: z.boolean().optional(),
5024
5026
  });
5025
5027
  export type PromotionalCreditBalance = z.infer<typeof PromotionalCreditBalance>;
5026
5028
 
@@ -12106,6 +12108,11 @@ export const CapabilityRuntime = z.object({
12106
12108
  ]),
12107
12109
  })
12108
12110
  .optional(),
12111
+ // Server-derived connectability: present when the connector's OAuth
12112
+ // authorization server refuses self-registration, so connecting needs an
12113
+ // operator-registered client. `configured` is whether this deployment has
12114
+ // one; connector surfaces offer the row only when it is true.
12115
+ operatorOAuthClient: z.object({ configured: z.boolean() }).optional(),
12109
12116
  });
12110
12117
  export type CapabilityRuntime = z.infer<typeof CapabilityRuntime>;
12111
12118