@wildix/wilma-copilot-client 1.0.18 → 1.0.19

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.
@@ -23,6 +23,7 @@ export * from "./ListEvaluationsCommand";
23
23
  export * from "./ListIntentsCommand";
24
24
  export * from "./ListProfileVersionsCommand";
25
25
  export * from "./ListProfilesCommand";
26
+ export * from "./ListSubscriptionsCommand";
26
27
  export * from "./PublishProfileVersionCommand";
27
28
  export * from "./RestoreProfileVersionToDraftCommand";
28
29
  export * from "./UpdateAssetCommand";
@@ -17,6 +17,39 @@ export interface Actor {
17
17
  */
18
18
  name?: string | undefined;
19
19
  }
20
+ /**
21
+ * One event type a tenant needs delivered, and the optional prefilter that narrows it.
22
+ * @public
23
+ */
24
+ export interface SubscriptionSelector {
25
+ /**
26
+ * A wda-stream event type, as the webhook envelope names it, e.g. 'call:live:progress',
27
+ * 'call:live:transcription', 'call:completed', 'call:summary:completed', 'chat:live:progress',
28
+ * 'conference:live:transcription'. Open-ended: a new wda-stream type needs no model change here.
29
+ * @public
30
+ */
31
+ event: string;
32
+ /**
33
+ * Producer-side prefilter over the event payload. Omitted means send every occurrence. See SubscriptionConditions.
34
+ * @public
35
+ */
36
+ conditions?: __DocumentType | undefined;
37
+ }
38
+ /**
39
+ * What one tenant needs delivered to the service's queue.
40
+ * @public
41
+ */
42
+ export interface Subscription {
43
+ company: string;
44
+ /**
45
+ * Event types one tenant needs, deduplicated across everything that asked for them. Two
46
+ * selectors never name the same event type: a type wanted both unconditionally and under
47
+ * conditions is returned once, unconditional — the union of what the tenant's configuration
48
+ * requires.
49
+ * @public
50
+ */
51
+ selectors: SubscriptionSelector[];
52
+ }
20
53
  /**
21
54
  * Binds an input variable of an agent or tool invocation to a value or a fill strategy.
22
55
  * @public
@@ -2533,6 +2566,24 @@ export interface ListProfileVersionsOutput {
2533
2566
  */
2534
2567
  nextCursor?: string | undefined;
2535
2568
  }
2569
+ /**
2570
+ * @public
2571
+ */
2572
+ export interface ListSubscriptionsInput {
2573
+ }
2574
+ /**
2575
+ * The answer to 'what should I send you': one entry per tenant that needs anything at all, and
2576
+ * every tenant in one response — the producer holds a single routing table, and a listing it has
2577
+ * to assemble from several requests is one that can be applied half-built, which is
2578
+ * indistinguishable from a set of tenants that unsubscribed.
2579
+ *
2580
+ * A tenant absent from the listing needs nothing, and the producer sends it nothing. Ordering is
2581
+ * unspecified.
2582
+ * @public
2583
+ */
2584
+ export interface ListSubscriptionsOutput {
2585
+ subscriptions: Subscription[];
2586
+ }
2536
2587
  /**
2537
2588
  * @public
2538
2589
  */
@@ -14,6 +14,8 @@ export declare var RevisionConflictException$: StaticErrorSchema;
14
14
  */
15
15
  export declare const errorTypeRegistries: TypeRegistry[];
16
16
  export declare var Actor$: StaticStructureSchema;
17
+ export declare var Subscription$: StaticStructureSchema;
18
+ export declare var SubscriptionSelector$: StaticStructureSchema;
17
19
  export declare var AgentAutomationHandler$: StaticStructureSchema;
18
20
  export declare var Asset$: StaticStructureSchema;
19
21
  export declare var AssetCard$: StaticStructureSchema;
@@ -98,6 +100,8 @@ export declare var ListProfilesInput$: StaticStructureSchema;
98
100
  export declare var ListProfilesOutput$: StaticStructureSchema;
99
101
  export declare var ListProfileVersionsInput$: StaticStructureSchema;
100
102
  export declare var ListProfileVersionsOutput$: StaticStructureSchema;
103
+ export declare var ListSubscriptionsInput$: StaticStructureSchema;
104
+ export declare var ListSubscriptionsOutput$: StaticStructureSchema;
101
105
  export declare var PlaybookManualCompletion$: StaticStructureSchema;
102
106
  export declare var PlaybookSemanticCompletion$: StaticStructureSchema;
103
107
  export declare var PlaybookStep$: StaticStructureSchema;
@@ -163,6 +167,7 @@ export declare var ListEvaluations$: StaticOperationSchema;
163
167
  export declare var ListIntents$: StaticOperationSchema;
164
168
  export declare var ListProfiles$: StaticOperationSchema;
165
169
  export declare var ListProfileVersions$: StaticOperationSchema;
170
+ export declare var ListSubscriptions$: StaticOperationSchema;
166
171
  export declare var PublishProfileVersion$: StaticOperationSchema;
167
172
  export declare var RestoreProfileVersionToDraft$: StaticOperationSchema;
168
173
  export declare var UpdateAsset$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wilma-copilot-client",
3
3
  "description": "@wildix/wilma-copilot-client client",
4
- "version": "1.0.18",
4
+ "version": "1.0.19",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",